Class ImportKeyRequest
- java.lang.Object
-
- com.algorand.algosdk.kmd.client.model.ImportKeyRequest
-
public class ImportKeyRequest extends Object
APIV1POSTKeyImportRequest is the request for `POST /v1/key/import`
-
-
Constructor Summary
Constructors Constructor Description ImportKeyRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
byte[]
getPrivateKey()
Get privateKeyString
getWalletHandleToken()
Get walletHandleTokenint
hashCode()
ImportKeyRequest
privateKey(byte[] privateKey)
void
setPrivateKey(byte[] privateKey)
void
setWalletHandleToken(String walletHandleToken)
String
toString()
ImportKeyRequest
walletHandleToken(String walletHandleToken)
-
-
-
Method Detail
-
privateKey
public ImportKeyRequest privateKey(byte[] privateKey)
-
getPrivateKey
public byte[] getPrivateKey()
Get privateKey- Returns:
- privateKey
-
setPrivateKey
public void setPrivateKey(byte[] privateKey)
-
walletHandleToken
public ImportKeyRequest walletHandleToken(String walletHandleToken)
-
getWalletHandleToken
public String getWalletHandleToken()
Get walletHandleToken- Returns:
- walletHandleToken
-
setWalletHandleToken
public void setWalletHandleToken(String walletHandleToken)
-
-