Package com.daml.ledger.javaapi.data
Class GrantUserRightsRequest
- java.lang.Object
-
- com.daml.ledger.javaapi.data.GrantUserRightsRequest
-
public final class GrantUserRightsRequest extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description GrantUserRightsRequest(java.lang.String userId, User.Right right, User.Right... rights)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.util.List<User.Right>
getRights()
java.lang.String
getUserId()
int
hashCode()
com.daml.ledger.api.v1.admin.UserManagementServiceOuterClass.GrantUserRightsRequest
toProto()
java.lang.String
toString()
-
-
-
Constructor Detail
-
GrantUserRightsRequest
public GrantUserRightsRequest(java.lang.String userId, User.Right right, User.Right... rights)
-
-
Method Detail
-
getUserId
public java.lang.String getUserId()
-
getRights
public java.util.List<User.Right> getRights()
-
toProto
public com.daml.ledger.api.v1.admin.UserManagementServiceOuterClass.GrantUserRightsRequest toProto()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-