com.volcengine.organization.model.GetAccountSecureContactInfoResponse Maven / Gradle / Ivy
/*
* organization
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: common-version
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
package com.volcengine.organization.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.IOException;
import javax.validation.constraints.*;
import javax.validation.Valid;
/**
* GetAccountSecureContactInfoResponse
*/
public class GetAccountSecureContactInfoResponse extends com.volcengine.model.AbstractResponse {
@SerializedName("Email")
private String email = null;
@SerializedName("EmailVerified")
private Integer emailVerified = null;
@SerializedName("NewEmail")
private String newEmail = null;
@SerializedName("NewPhone")
private String newPhone = null;
@SerializedName("Phone")
private String phone = null;
@SerializedName("PhoneVerified")
private Integer phoneVerified = null;
public GetAccountSecureContactInfoResponse email(String email) {
this.email = email;
return this;
}
/**
* Get email
* @return email
**/
@Schema(description = "")
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
public GetAccountSecureContactInfoResponse emailVerified(Integer emailVerified) {
this.emailVerified = emailVerified;
return this;
}
/**
* Get emailVerified
* @return emailVerified
**/
@Schema(description = "")
public Integer getEmailVerified() {
return emailVerified;
}
public void setEmailVerified(Integer emailVerified) {
this.emailVerified = emailVerified;
}
public GetAccountSecureContactInfoResponse newEmail(String newEmail) {
this.newEmail = newEmail;
return this;
}
/**
* Get newEmail
* @return newEmail
**/
@Schema(description = "")
public String getNewEmail() {
return newEmail;
}
public void setNewEmail(String newEmail) {
this.newEmail = newEmail;
}
public GetAccountSecureContactInfoResponse newPhone(String newPhone) {
this.newPhone = newPhone;
return this;
}
/**
* Get newPhone
* @return newPhone
**/
@Schema(description = "")
public String getNewPhone() {
return newPhone;
}
public void setNewPhone(String newPhone) {
this.newPhone = newPhone;
}
public GetAccountSecureContactInfoResponse phone(String phone) {
this.phone = phone;
return this;
}
/**
* Get phone
* @return phone
**/
@Schema(description = "")
public String getPhone() {
return phone;
}
public void setPhone(String phone) {
this.phone = phone;
}
public GetAccountSecureContactInfoResponse phoneVerified(Integer phoneVerified) {
this.phoneVerified = phoneVerified;
return this;
}
/**
* Get phoneVerified
* @return phoneVerified
**/
@Schema(description = "")
public Integer getPhoneVerified() {
return phoneVerified;
}
public void setPhoneVerified(Integer phoneVerified) {
this.phoneVerified = phoneVerified;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
GetAccountSecureContactInfoResponse getAccountSecureContactInfoResponse = (GetAccountSecureContactInfoResponse) o;
return Objects.equals(this.email, getAccountSecureContactInfoResponse.email) &&
Objects.equals(this.emailVerified, getAccountSecureContactInfoResponse.emailVerified) &&
Objects.equals(this.newEmail, getAccountSecureContactInfoResponse.newEmail) &&
Objects.equals(this.newPhone, getAccountSecureContactInfoResponse.newPhone) &&
Objects.equals(this.phone, getAccountSecureContactInfoResponse.phone) &&
Objects.equals(this.phoneVerified, getAccountSecureContactInfoResponse.phoneVerified);
}
@Override
public int hashCode() {
return Objects.hash(email, emailVerified, newEmail, newPhone, phone, phoneVerified);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class GetAccountSecureContactInfoResponse {\n");
sb.append(" email: ").append(toIndentedString(email)).append("\n");
sb.append(" emailVerified: ").append(toIndentedString(emailVerified)).append("\n");
sb.append(" newEmail: ").append(toIndentedString(newEmail)).append("\n");
sb.append(" newPhone: ").append(toIndentedString(newPhone)).append("\n");
sb.append(" phone: ").append(toIndentedString(phone)).append("\n");
sb.append(" phoneVerified: ").append(toIndentedString(phoneVerified)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(java.lang.Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy