Class UserSettingsApi

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-06-26T20:22:15.850489898+07:00[Asia/Bangkok]", comments="Generator version: 7.13.0") 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(@Nonnull ChangePasswordRequest changePasswordRequest, @Nullable 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(@Nonnull ChangePasswordRequest changePasswordRequest, @Nullable 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(@Nonnull ChangePasswordRequest changePasswordRequest, @Nullable 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<ProfileNonAuthenticatedEntity> showProfile(@Nullable String winkVersion, @Nullable 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:
      ProfileNonAuthenticatedEntity
      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<ProfileNonAuthenticatedEntity>> showProfileWithHttpInfo(@Nullable String winkVersion, @Nullable 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<ProfileNonAuthenticatedEntity>
      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(@Nullable String winkVersion, @Nullable 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(@Nullable String winkVersion, @Nullable 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(@Nullable String winkVersion, @Nullable 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(@Nullable String winkVersion, @Nullable 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<ProfileNonAuthenticatedEntity> updateProfile(@Nonnull UpsertProfileRequestNonAuthenticatedEntity upsertProfileRequestNonAuthenticatedEntity, @Nullable 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:
      ProfileNonAuthenticatedEntity
      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<ProfileNonAuthenticatedEntity>> updateProfileWithHttpInfo(@Nonnull UpsertProfileRequestNonAuthenticatedEntity upsertProfileRequestNonAuthenticatedEntity, @Nullable 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<ProfileNonAuthenticatedEntity>
      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(@Nonnull UpsertProfileRequestNonAuthenticatedEntity upsertProfileRequestNonAuthenticatedEntity, @Nullable 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(@Nonnull UpsertUserProfileRequest upsertUserProfileRequest, @Nullable 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(@Nonnull UpsertUserProfileRequest upsertUserProfileRequest, @Nullable 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(@Nonnull UpsertUserProfileRequest upsertUserProfileRequest, @Nullable 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