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: 60.1.3-v202304250417
*
*
* 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("name")
private String name = null;
@JsonProperty("redacted")
private Boolean redacted = null;
@JsonProperty("userId")
private String userId = 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 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;
}
public EmailNotificationRecipientOutputV1 userId(String userId) {
this.userId = userId;
return this;
}
/**
* Get userId
* @return userId
**/
@Schema(description = "")
public String getUserId() {
return userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
@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.name, emailNotificationRecipientOutputV1.name) &&
Objects.equals(this.redacted, emailNotificationRecipientOutputV1.redacted) &&
Objects.equals(this.userId, emailNotificationRecipientOutputV1.userId);
}
@Override
public int hashCode() {
return Objects.hash(emailAddress, name, redacted, userId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class EmailNotificationRecipientOutputV1 {\n");
sb.append(" emailAddress: ").append(toIndentedString(emailAddress)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" redacted: ").append(toIndentedString(redacted)).append("\n");
sb.append(" userId: ").append(toIndentedString(userId)).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 ");
}
}