com.docusign.esign.model.BrandLogos Maven / Gradle / Ivy
package com.docusign.esign.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import java.util.Objects;
/** BrandLogos. */
public class BrandLogos {
@JsonProperty("email")
private String email = null;
@JsonProperty("primary")
private String primary = null;
@JsonProperty("secondary")
private String secondary = null;
/**
* email.
*
* @return BrandLogos
*/
public BrandLogos email(String email) {
this.email = email;
return this;
}
/**
* .
*
* @return email
*/
@ApiModelProperty(value = "")
public String getEmail() {
return email;
}
/** setEmail. */
public void setEmail(String email) {
this.email = email;
}
/**
* primary.
*
* @return BrandLogos
*/
public BrandLogos primary(String primary) {
this.primary = primary;
return this;
}
/**
* .
*
* @return primary
*/
@ApiModelProperty(value = "")
public String getPrimary() {
return primary;
}
/** setPrimary. */
public void setPrimary(String primary) {
this.primary = primary;
}
/**
* secondary.
*
* @return BrandLogos
*/
public BrandLogos secondary(String secondary) {
this.secondary = secondary;
return this;
}
/**
* .
*
* @return secondary
*/
@ApiModelProperty(value = "")
public String getSecondary() {
return secondary;
}
/** setSecondary. */
public void setSecondary(String secondary) {
this.secondary = secondary;
}
/**
* Compares objects.
*
* @return true or false depending on comparison result.
*/
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
BrandLogos brandLogos = (BrandLogos) o;
return Objects.equals(this.email, brandLogos.email)
&& Objects.equals(this.primary, brandLogos.primary)
&& Objects.equals(this.secondary, brandLogos.secondary);
}
/** Returns the HashCode. */
@Override
public int hashCode() {
return Objects.hash(email, primary, secondary);
}
/** Converts the given object to string. */
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BrandLogos {\n");
sb.append(" email: ").append(toIndentedString(email)).append("\n");
sb.append(" primary: ").append(toIndentedString(primary)).append("\n");
sb.append(" secondary: ").append(toIndentedString(secondary)).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 ");
}
}