
org.pac4j.oauth.profile.yahoo.YahooEmail Maven / Gradle / Ivy
package org.pac4j.oauth.profile.yahoo;
import java.io.Serial;
import java.io.Serializable;
/**
* This class represents a Yahoo email.
*
* @author Jerome Leleu
* @since 1.1.0
*/
public final class YahooEmail implements Serializable {
@Serial
private static final long serialVersionUID = 1195905995057732685L;
private Integer id;
private Boolean primary;
private String handle;
private String type;
/**
* Getter for the field id
.
*
* @return a {@link Integer} object
*/
public Integer getId() {
return id;
}
/**
* Setter for the field id
.
*
* @param id a {@link Integer} object
*/
public void setId(Integer id) {
this.id = id;
}
/**
* Getter for the field primary
.
*
* @return a {@link Boolean} object
*/
public Boolean getPrimary() {
return primary;
}
/**
* Setter for the field primary
.
*
* @param primary a {@link Boolean} object
*/
public void setPrimary(Boolean primary) {
this.primary = primary;
}
/**
* Getter for the field handle
.
*
* @return a {@link String} object
*/
public String getHandle() {
return handle;
}
/**
* Setter for the field handle
.
*
* @param handle a {@link String} object
*/
public void setHandle(String handle) {
this.handle = handle;
}
/**
* Getter for the field type
.
*
* @return a {@link String} object
*/
public String getType() {
return type;
}
/**
* Setter for the field type
.
*
* @param type a {@link String} object
*/
public void setType(String type) {
this.type = type;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy