com.mx.path.model.mdx.model.profile.Phone Maven / Gradle / Ivy
package com.mx.path.model.mdx.model.profile;
import java.util.List;
import com.google.gson.annotations.SerializedName;
import com.mx.path.model.mdx.model.MdxBase;
import com.mx.path.model.mdx.model.challenges.Challenge;
public final class Phone extends MdxBase {
private String id;
private List challenges;
@SerializedName("phone_number")
private String phoneNumber;
@SerializedName("phone_type")
private PhoneType phoneType;
@SerializedName("rank")
private Rank rank;
@SerializedName("work_extension")
private String workExtension;
public Phone() {
}
public List getChallenges() {
return challenges;
}
public void setChallenges(List challenges) {
this.challenges = challenges;
}
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getPhoneNumber() {
return phoneNumber;
}
public void setPhoneNumber(String phoneNumber) {
this.phoneNumber = phoneNumber;
}
public PhoneType getPhoneType() {
return phoneType;
}
public void setPhoneType(PhoneType phoneType) {
this.phoneType = phoneType;
}
public Rank getRank() {
return rank;
}
public void setRank(Rank rank) {
this.rank = rank;
}
public String getWorkExtension() {
return workExtension;
}
public void setWorkExtension(String workExtension) {
this.workExtension = workExtension;
}
public enum PhoneType {
MOBILE, HOME, WORK, FOREIGN, PERSONAL
}
public enum Rank {
PRIMARY, SECONDARY, TERTIARY
}
}