com.yahoo.athenz.zts.AthenzJWKConfig 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.*;
//
// AthenzJWKConfig -
//
@JsonIgnoreProperties(ignoreUnknown = true)
public class AthenzJWKConfig {
public JWKList zms;
public JWKList zts;
@RdlOptional
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public Timestamp modified;
public AthenzJWKConfig setZms(JWKList zms) {
this.zms = zms;
return this;
}
public JWKList getZms() {
return zms;
}
public AthenzJWKConfig setZts(JWKList zts) {
this.zts = zts;
return this;
}
public JWKList getZts() {
return zts;
}
public AthenzJWKConfig setModified(Timestamp modified) {
this.modified = modified;
return this;
}
public Timestamp getModified() {
return modified;
}
@Override
public boolean equals(Object another) {
if (this != another) {
if (another == null || another.getClass() != AthenzJWKConfig.class) {
return false;
}
AthenzJWKConfig a = (AthenzJWKConfig) another;
if (zms == null ? a.zms != null : !zms.equals(a.zms)) {
return false;
}
if (zts == null ? a.zts != null : !zts.equals(a.zts)) {
return false;
}
if (modified == null ? a.modified != null : !modified.equals(a.modified)) {
return false;
}
}
return true;
}
}