com.seeq.model.EmailNotificationRecipientOutputV1 Maven / Gradle / Ivy
/*
* Seeq REST API
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 65.1.3-v202408082312
*
*
* 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.seeq.model;
import java.util.Objects;
import java.util.Arrays;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.v3.oas.annotations.media.Schema;
/**
* Email addresses or User IDs that will be in the Bcc list of the email
*/
@Schema(description = "Email addresses or User IDs that will be in the Bcc list of the email")
public class EmailNotificationRecipientOutputV1 {
@JsonProperty("emailAddress")
private String emailAddress = null;
@JsonProperty("identityId")
private String identityId = null;
@JsonProperty("name")
private String name = null;
@JsonProperty("redacted")
private Boolean redacted = null;
public EmailNotificationRecipientOutputV1 emailAddress(String emailAddress) {
this.emailAddress = emailAddress;
return this;
}
/**
* Get emailAddress
* @return emailAddress
**/
@Schema(description = "")
public String getEmailAddress() {
return emailAddress;
}
public void setEmailAddress(String emailAddress) {
this.emailAddress = emailAddress;
}
public EmailNotificationRecipientOutputV1 identityId(String identityId) {
this.identityId = identityId;
return this;
}
/**
* Get identityId
* @return identityId
**/
@Schema(description = "")
public String getIdentityId() {
return identityId;
}
public void setIdentityId(String identityId) {
this.identityId = identityId;
}
public EmailNotificationRecipientOutputV1 name(String name) {
this.name = name;
return this;
}
/**
* Get name
* @return name
**/
@Schema(description = "")
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public EmailNotificationRecipientOutputV1 redacted(Boolean redacted) {
this.redacted = redacted;
return this;
}
/**
* Get redacted
* @return redacted
**/
@Schema(description = "")
public Boolean getRedacted() {
return redacted;
}
public void setRedacted(Boolean redacted) {
this.redacted = redacted;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
EmailNotificationRecipientOutputV1 emailNotificationRecipientOutputV1 = (EmailNotificationRecipientOutputV1) o;
return Objects.equals(this.emailAddress, emailNotificationRecipientOutputV1.emailAddress) &&
Objects.equals(this.identityId, emailNotificationRecipientOutputV1.identityId) &&
Objects.equals(this.name, emailNotificationRecipientOutputV1.name) &&
Objects.equals(this.redacted, emailNotificationRecipientOutputV1.redacted);
}
@Override
public int hashCode() {
return Objects.hash(emailAddress, identityId, name, redacted);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class EmailNotificationRecipientOutputV1 {\n");
sb.append(" emailAddress: ").append(toIndentedString(emailAddress)).append("\n");
sb.append(" identityId: ").append(toIndentedString(identityId)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" redacted: ").append(toIndentedString(redacted)).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 ");
}
}