Class User


  • public final class User
    extends java.lang.Object
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  User.Right  
    • Constructor Summary

      Constructors 
      Constructor Description
      User​(@NonNull java.lang.String id)  
      User​(@NonNull java.lang.String id, @NonNull java.lang.String primaryParty)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      static User fromProto​(com.daml.ledger.api.v1.admin.UserManagementServiceOuterClass.User proto)  
      @NonNull java.lang.String getId()  
      java.util.Optional<java.lang.String> getPrimaryParty()  
      int hashCode()  
      com.daml.ledger.api.v1.admin.UserManagementServiceOuterClass.User toProto()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • User

        public User​(@NonNull java.lang.String id)
      • User

        public User​(@NonNull java.lang.String id,
                    @NonNull java.lang.String primaryParty)
    • Method Detail

      • toProto

        public com.daml.ledger.api.v1.admin.UserManagementServiceOuterClass.User toProto()
      • fromProto

        public static User fromProto​(com.daml.ledger.api.v1.admin.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 class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object