Package com.daml.ledger.javaapi.data
Class User
- java.lang.Object
-
- com.daml.ledger.javaapi.data.User
-
public class User extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
User.Right
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
static User
fromProto(UserManagementServiceOuterClass.User proto)
@NonNull java.lang.String
getId()
java.util.Optional<java.lang.String>
getPrimaryParty()
int
hashCode()
UserManagementServiceOuterClass.User
toProto()
java.lang.String
toString()
-
-
-
Method Detail
-
toProto
public UserManagementServiceOuterClass.User toProto()
-
fromProto
public static User fromProto(UserManagementServiceOuterClass.User proto)
-
getId
public @NonNull java.lang.String getId()
-
getPrimaryParty
public java.util.Optional<java.lang.String> getPrimaryParty()
-
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
-
-