Package net.osslabz.lnd.dto
Class LnrpcBakeMacaroonRequest
java.lang.Object
net.osslabz.lnd.dto.LnrpcBakeMacaroonRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-06-07T12:03:34.958542131Z[Etc/UTC]")
public class LnrpcBakeMacaroonRequest
extends Object
LnrpcBakeMacaroonRequest
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddPermissionsItem(LnrpcMacaroonPermission permissionsItem) allowExternalPermissions(Boolean allowExternalPermissions) booleanInforms the RPC on whether to allow external permissions that LND is not aware of.The list of permissions the new macaroon should grant.The root key ID used to create the macaroon, must be a positive integer.inthashCode()permissions(List<LnrpcMacaroonPermission> permissions) voidsetAllowExternalPermissions(Boolean allowExternalPermissions) voidsetPermissions(List<LnrpcMacaroonPermission> permissions) voidsetRootKeyId(String rootKeyId) toString()
-
Field Details
-
SERIALIZED_NAME_PERMISSIONS
- See Also:
-
SERIALIZED_NAME_ROOT_KEY_ID
- See Also:
-
SERIALIZED_NAME_ALLOW_EXTERNAL_PERMISSIONS
- See Also:
-
-
Constructor Details
-
LnrpcBakeMacaroonRequest
public LnrpcBakeMacaroonRequest()
-
-
Method Details
-
permissions
-
addPermissionsItem
-
getPermissions
The list of permissions the new macaroon should grant.- Returns:
- permissions
-
setPermissions
-
rootKeyId
-
getRootKeyId
The root key ID used to create the macaroon, must be a positive integer.- Returns:
- rootKeyId
-
setRootKeyId
-
allowExternalPermissions
-
getAllowExternalPermissions
Informs the RPC on whether to allow external permissions that LND is not aware of.- Returns:
- allowExternalPermissions
-
setAllowExternalPermissions
-
equals
-
hashCode
public int hashCode() -
toString
-