com.jelastic.api.SSLCustom Maven / Gradle / Ivy
The newest version!
package com.jelastic.api;
import java.io.Serializable;
import java.util.Date;
public class SSLCustom implements Serializable {
private int id;
private String certKey;
private String cert;
private String intermediate;
private String domain;
private boolean sslEnable;
private Date expireDate;
public SSLCustom() {
}
public SSLCustom(String certKey, String cert, String intermediate, boolean sslEnable, Date expireDate) {
this.certKey = certKey;
this.cert = cert;
this.intermediate = intermediate;
this.sslEnable = sslEnable;
this.expireDate = expireDate;
}
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getCertKey() {
return certKey;
}
public void setCertKey(String certKey) {
this.certKey = certKey;
}
public String getCert() {
return cert;
}
public void setCert(String cert) {
this.cert = cert;
}
public String getIntermediate() {
return intermediate;
}
public void setIntermediate(String intermediate) {
this.intermediate = intermediate;
}
public String getDomain() {
return domain;
}
public void setDomain(String domain) {
this.domain = domain;
}
public boolean isSslEnable() {
return sslEnable;
}
public void setSslEnable(boolean sslEnable) {
this.sslEnable = sslEnable;
}
public Date getExpireDate() {
return expireDate;
}
public void setExpireDate(Date expireDate) {
this.expireDate = expireDate;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
SSLCustom sslCustom = (SSLCustom) o;
if (sslEnable != sslCustom.sslEnable) return false;
if (id != sslCustom.id) return false;
if (cert != null ? !cert.equals(sslCustom.cert) : sslCustom.cert != null) return false;
if (certKey != null ? !certKey.equals(sslCustom.certKey) : sslCustom.certKey != null) return false;
if (domain != null ? !domain.equals(sslCustom.domain) : sslCustom.domain != null) return false;
if (expireDate != null ? !expireDate.equals(sslCustom.expireDate) : sslCustom.expireDate != null) return false;
if (intermediate != null ? !intermediate.equals(sslCustom.intermediate) : sslCustom.intermediate != null)
return false;
return true;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy