Class GHEmail

java.lang.Object
org.kohsuke.github.GHEmail

public class GHEmail extends Object
Represents an email of GitHub.
Author:
Kelly Campbell
  • Field Details

    • email

      protected String email
      The email.
    • primary

      protected boolean primary
      The primary.
    • verified

      protected boolean verified
      The verified.
  • Constructor Details

    • GHEmail

      public GHEmail()
  • Method Details

    • getEmail

      public String getEmail()
      Gets email.
      Returns:
      the email
    • isPrimary

      public boolean isPrimary()
      Is primary boolean.
      Returns:
      the boolean
    • isVerified

      public boolean isVerified()
      Is verified boolean.
      Returns:
      the boolean
    • toString

      public String toString()
      To string.
      Overrides:
      toString in class Object
      Returns:
      the string
    • hashCode

      public int hashCode()
      Hash code.
      Overrides:
      hashCode in class Object
      Returns:
      the int
    • equals

      public boolean equals(Object obj)
      Equals.
      Overrides:
      equals in class Object
      Parameters:
      obj - the obj
      Returns:
      true, if successful