public class GHEmail
extends Object
Represents an email of GitHub.
- Author:
- Kelly Campbell
-
Field Summary
Fields
protected boolean
protected boolean
-
Constructor Summary
Constructors
Create default GHEmail instance
-
Method Summary
boolean
int
boolean
boolean
-
Field Details
-
-
primary
protected boolean primary
The primary.
-
verified
protected boolean verified
The verified.
-
Constructor Details
-
GHEmail
public GHEmail()
Create default GHEmail instance
-
Method Details
-
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
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