Class UpdateVaultRequest

java.lang.Object
dev.getelements.elements.sdk.model.blockchain.wallet.UpdateVaultRequest

public class UpdateVaultRequest extends Object
Represents a request to update a vault's properties and optionally change its passphrase.
  • Constructor Details

    • UpdateVaultRequest

      public UpdateVaultRequest()
      Creates a new instance.
  • Method Details

    • getDisplayName

      public String getDisplayName()
      Returns the display name of the vault.
      Returns:
      the display name
    • setDisplayName

      public void setDisplayName(String displayName)
      Sets the display name of the vault.
      Parameters:
      displayName - the display name
    • getUserId

      public String getUserId()
      Returns the user ID that owns the vault.
      Returns:
      the user ID
    • setUserId

      public void setUserId(String userId)
      Sets the user ID that owns the vault.
      Parameters:
      userId - the user ID
    • getPassphrase

      public String getPassphrase()
      Returns the current passphrase for the vault.
      Returns:
      the current passphrase
    • setPassphrase

      public void setPassphrase(String passphrase)
      Sets the current passphrase for the vault.
      Parameters:
      passphrase - the current passphrase
    • getNewPassphrase

      public String getNewPassphrase()
      Returns the new passphrase for the vault.
      Returns:
      the new passphrase
    • setNewPassphrase

      public void setNewPassphrase(String newPassphrase)
      Sets the new passphrase for the vault.
      Parameters:
      newPassphrase - the new passphrase
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object