Class UpdateVaultRequest
java.lang.Object
dev.getelements.elements.sdk.model.blockchain.wallet.UpdateVaultRequest
Represents a request to update a vault's properties and optionally change its passphrase.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the display name of the vault.Returns the new passphrase for the vault.Returns the current passphrase for the vault.Returns the user ID that owns the vault.inthashCode()voidsetDisplayName(String displayName) Sets the display name of the vault.voidsetNewPassphrase(String newPassphrase) Sets the new passphrase for the vault.voidsetPassphrase(String passphrase) Sets the current passphrase for the vault.voidSets the user ID that owns the vault.toString()
-
Constructor Details
-
UpdateVaultRequest
public UpdateVaultRequest()Creates a new instance.
-
-
Method Details
-
getDisplayName
Returns the display name of the vault.- Returns:
- the display name
-
setDisplayName
Sets the display name of the vault.- Parameters:
displayName- the display name
-
getUserId
Returns the user ID that owns the vault.- Returns:
- the user ID
-
setUserId
Sets the user ID that owns the vault.- Parameters:
userId- the user ID
-
getPassphrase
Returns the current passphrase for the vault.- Returns:
- the current passphrase
-
setPassphrase
Sets the current passphrase for the vault.- Parameters:
passphrase- the current passphrase
-
getNewPassphrase
Returns the new passphrase for the vault.- Returns:
- the new passphrase
-
setNewPassphrase
Sets the new passphrase for the vault.- Parameters:
newPassphrase- the new passphrase
-
equals
-
hashCode
public int hashCode() -
toString
-