Class UserLogInfo

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String accountId  
      protected java.lang.String displayName  
      protected java.lang.String email  
    • Constructor Summary

      Constructors 
      Constructor Description
      UserLogInfo()
      User's logged information.
      UserLogInfo​(java.lang.String accountId, java.lang.String displayName, java.lang.String email)
      User's logged information.
    • Field Detail

      • accountId

        protected final java.lang.String accountId
      • displayName

        protected final java.lang.String displayName
      • email

        protected final java.lang.String email
    • Constructor Detail

      • UserLogInfo

        public UserLogInfo​(java.lang.String accountId,
                           java.lang.String displayName,
                           java.lang.String email)
        User's logged information.

        Use newBuilder() to create instances of this class without specifying values for all optional fields.

        Parameters:
        accountId - User unique ID. Must have length of at least 40 and have length of at most 40.
        displayName - User display name.
        email - User email address. Must have length of at most 255.
        Throws:
        java.lang.IllegalArgumentException - If any argument does not meet its preconditions.
      • UserLogInfo

        public UserLogInfo()
        User's logged information.

        The default values for unset fields will be used.

    • Method Detail

      • getAccountId

        public java.lang.String getAccountId()
        User unique ID.
        Returns:
        value for this field, or null if not present.
      • getDisplayName

        public java.lang.String getDisplayName()
        User display name.
        Returns:
        value for this field, or null if not present.
      • getEmail

        public java.lang.String getEmail()
        User email address.
        Returns:
        value for this field, or null if not present.
      • newBuilder

        public static UserLogInfo.Builder newBuilder()
        Returns a new builder for creating an instance of this class.
        Returns:
        builder for this class.
      • hashCode

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

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • toStringMultiline

        public java.lang.String toStringMultiline()
        Returns a String representation of this object formatted for easier readability.

        The returned String may contain newlines.

        Returns:
        Formatted, multiline String representation of this object