com.yahoo.athenz.zts.DomainDetails Maven / Gradle / Ivy
//
// This file generated by rdl 1.5.2. Do not modify!
//
package com.yahoo.athenz.zts;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.yahoo.rdl.*;
//
// DomainDetails -
//
@JsonIgnoreProperties(ignoreUnknown = true)
public class DomainDetails {
public String name;
@RdlOptional
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public String awsAccount;
@RdlOptional
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public String azureSubscription;
@RdlOptional
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public String gcpProjectId;
@RdlOptional
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public String gcpProjectNumber;
public DomainDetails setName(String name) {
this.name = name;
return this;
}
public String getName() {
return name;
}
public DomainDetails setAwsAccount(String awsAccount) {
this.awsAccount = awsAccount;
return this;
}
public String getAwsAccount() {
return awsAccount;
}
public DomainDetails setAzureSubscription(String azureSubscription) {
this.azureSubscription = azureSubscription;
return this;
}
public String getAzureSubscription() {
return azureSubscription;
}
public DomainDetails setGcpProjectId(String gcpProjectId) {
this.gcpProjectId = gcpProjectId;
return this;
}
public String getGcpProjectId() {
return gcpProjectId;
}
public DomainDetails setGcpProjectNumber(String gcpProjectNumber) {
this.gcpProjectNumber = gcpProjectNumber;
return this;
}
public String getGcpProjectNumber() {
return gcpProjectNumber;
}
@Override
public boolean equals(Object another) {
if (this != another) {
if (another == null || another.getClass() != DomainDetails.class) {
return false;
}
DomainDetails a = (DomainDetails) another;
if (name == null ? a.name != null : !name.equals(a.name)) {
return false;
}
if (awsAccount == null ? a.awsAccount != null : !awsAccount.equals(a.awsAccount)) {
return false;
}
if (azureSubscription == null ? a.azureSubscription != null : !azureSubscription.equals(a.azureSubscription)) {
return false;
}
if (gcpProjectId == null ? a.gcpProjectId != null : !gcpProjectId.equals(a.gcpProjectId)) {
return false;
}
if (gcpProjectNumber == null ? a.gcpProjectNumber != null : !gcpProjectNumber.equals(a.gcpProjectNumber)) {
return false;
}
}
return true;
}
}