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 Details

  • Constructor Details

    • Email

      public Email()
  • Method Details

    • email

      public Email email(@Nonnull String email)
    • getEmail

      @Nonnull @NotNull public @NotNull String getEmail()
      The address.
      Returns:
      email
    • setEmail

      public void setEmail(@Nonnull String email)
    • primary

      public Email primary(@Nonnull Boolean primary)
    • getPrimary

      @Nonnull @NotNull public @NotNull Boolean getPrimary()
      Whether it is the primary address of the account.
      Returns:
      primary
    • setPrimary

      public void setPrimary(@Nonnull Boolean primary)
    • verified

      public Email verified(@Nonnull Boolean verified)
    • getVerified

      @Nonnull @NotNull public @NotNull Boolean getVerified()
      Whether GitHub verified that the user owns the address.
      Returns:
      verified
    • setVerified

      public void setVerified(@Nonnull Boolean verified)
    • visibility

      public Email visibility(@Nullable String visibility)
    • getVisibility

      @Nullable public String getVisibility()
      Whether the address is shown on the public profile (public or private), or null.
      Returns:
      visibility
    • setVisibility

      public void setVisibility(@Nullable String visibility)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toIndentedString

      private String toIndentedString(Object o)
      Convert the given object to string with each line indented by 4 spaces (except the first line).