com.yahoo.athenz.zts.SSHCertificates 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 java.util.List;
import com.yahoo.rdl.*;
//
// SSHCertificates -
//
@JsonIgnoreProperties(ignoreUnknown = true)
public class SSHCertificates {
public List certificates;
@RdlOptional
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public String certificateSigner;
public SSHCertificates setCertificates(List certificates) {
this.certificates = certificates;
return this;
}
public List getCertificates() {
return certificates;
}
public SSHCertificates setCertificateSigner(String certificateSigner) {
this.certificateSigner = certificateSigner;
return this;
}
public String getCertificateSigner() {
return certificateSigner;
}
@Override
public boolean equals(Object another) {
if (this != another) {
if (another == null || another.getClass() != SSHCertificates.class) {
return false;
}
SSHCertificates a = (SSHCertificates) another;
if (certificates == null ? a.certificates != null : !certificates.equals(a.certificates)) {
return false;
}
if (certificateSigner == null ? a.certificateSigner != null : !certificateSigner.equals(a.certificateSigner)) {
return false;
}
}
return true;
}
}