Class Email
java.lang.Object
com.irurueta.authserver.authorization.infrastructure.github.v1.generated.model.Email
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.27.0")
public class Email
extends Object
An e-mail address of the GitHub user
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean@NotNull StringgetEmail()The address.@NotNull BooleanWhether it is the primary address of the account.@NotNull BooleanWhether GitHub verified that the user owns the address.Whether the address is shown on the public profile (public or private), or null.inthashCode()voidvoidsetPrimary(Boolean primary) voidsetVerified(Boolean verified) voidsetVisibility(String visibility) private StringConvert the given object to string with each line indented by 4 spaces (except the first line).toString()visibility(String visibility)
-
Field Details
-
JSON_PROPERTY_EMAIL
- See Also:
-
email
-
JSON_PROPERTY_PRIMARY
- See Also:
-
-
JSON_PROPERTY_VERIFIED
- See Also:
-
verified
-
JSON_PROPERTY_VISIBILITY
- See Also:
-
visibility
-
-
Constructor Details
-
Email
public Email()
-
-
Method Details
-
email
-
getEmail
The address.- Returns:
-
setEmail
-
primary
-
getPrimary
Whether it is the primary address of the account.- Returns:
- primary
-
setPrimary
-
verified
-
getVerified
Whether GitHub verified that the user owns the address.- Returns:
- verified
-
setVerified
-
visibility
-
getVisibility
Whether the address is shown on the public profile (public or private), or null.- Returns:
- visibility
-
setVisibility
-
equals
-
hashCode
public int hashCode() -
toString
-
toIndentedString
Convert the given object to string with each line indented by 4 spaces (except the first line).
-