com.yahoo.athenz.zms.UserDomain Maven / Gradle / Ivy
//
// This file generated by rdl 1.5.2. Do not modify!
//
package com.yahoo.athenz.zms;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import java.util.Map;
import com.yahoo.rdl.*;
//
// UserDomain - A UserDomain is the user's own top level domain in user - e.g.
// user.hga
//
@JsonIgnoreProperties(ignoreUnknown = true)
public class UserDomain {
@RdlOptional
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public String description;
@RdlOptional
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public String org;
@RdlOptional
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public Boolean enabled;
@RdlOptional
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public Boolean auditEnabled;
@RdlOptional
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public String account;
@RdlOptional
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public Integer ypmId;
@RdlOptional
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public String applicationId;
@RdlOptional
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public String certDnsDomain;
@RdlOptional
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public Integer memberExpiryDays;
@RdlOptional
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public Integer tokenExpiryMins;
@RdlOptional
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public Integer serviceCertExpiryMins;
@RdlOptional
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public Integer roleCertExpiryMins;
@RdlOptional
@JsonInclude(JsonInclude.Include.NON_NULL)
public String signAlgorithm;
@RdlOptional
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public Integer serviceExpiryDays;
@RdlOptional
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public Integer groupExpiryDays;
@RdlOptional
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public String userAuthorityFilter;
@RdlOptional
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public String azureSubscription;
@RdlOptional
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public String azureTenant;
@RdlOptional
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public String azureClient;
@RdlOptional
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public String gcpProject;
@RdlOptional
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public String gcpProjectNumber;
@RdlOptional
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public Map tags;
@RdlOptional
@JsonInclude(JsonInclude.Include.NON_NULL)
public String businessService;
@RdlOptional
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public Integer memberPurgeExpiryDays;
@RdlOptional
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public String productId;
@RdlOptional
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public Integer featureFlags;
@RdlOptional
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public Map contacts;
@RdlOptional
@JsonInclude(JsonInclude.Include.NON_NULL)
public String environment;
@RdlOptional
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public ResourceDomainOwnership resourceOwnership;
@RdlOptional
@JsonInclude(JsonInclude.Include.NON_NULL)
public String x509CertSignerKeyId;
@RdlOptional
@JsonInclude(JsonInclude.Include.NON_NULL)
public String sshCertSignerKeyId;
public String name;
@RdlOptional
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public DomainTemplateList templates;
public UserDomain setDescription(String description) {
this.description = description;
return this;
}
public String getDescription() {
return description;
}
public UserDomain setOrg(String org) {
this.org = org;
return this;
}
public String getOrg() {
return org;
}
public UserDomain setEnabled(Boolean enabled) {
this.enabled = enabled;
return this;
}
public Boolean getEnabled() {
return enabled;
}
public UserDomain setAuditEnabled(Boolean auditEnabled) {
this.auditEnabled = auditEnabled;
return this;
}
public Boolean getAuditEnabled() {
return auditEnabled;
}
public UserDomain setAccount(String account) {
this.account = account;
return this;
}
public String getAccount() {
return account;
}
public UserDomain setYpmId(Integer ypmId) {
this.ypmId = ypmId;
return this;
}
public Integer getYpmId() {
return ypmId;
}
public UserDomain setApplicationId(String applicationId) {
this.applicationId = applicationId;
return this;
}
public String getApplicationId() {
return applicationId;
}
public UserDomain setCertDnsDomain(String certDnsDomain) {
this.certDnsDomain = certDnsDomain;
return this;
}
public String getCertDnsDomain() {
return certDnsDomain;
}
public UserDomain setMemberExpiryDays(Integer memberExpiryDays) {
this.memberExpiryDays = memberExpiryDays;
return this;
}
public Integer getMemberExpiryDays() {
return memberExpiryDays;
}
public UserDomain setTokenExpiryMins(Integer tokenExpiryMins) {
this.tokenExpiryMins = tokenExpiryMins;
return this;
}
public Integer getTokenExpiryMins() {
return tokenExpiryMins;
}
public UserDomain setServiceCertExpiryMins(Integer serviceCertExpiryMins) {
this.serviceCertExpiryMins = serviceCertExpiryMins;
return this;
}
public Integer getServiceCertExpiryMins() {
return serviceCertExpiryMins;
}
public UserDomain setRoleCertExpiryMins(Integer roleCertExpiryMins) {
this.roleCertExpiryMins = roleCertExpiryMins;
return this;
}
public Integer getRoleCertExpiryMins() {
return roleCertExpiryMins;
}
public UserDomain setSignAlgorithm(String signAlgorithm) {
this.signAlgorithm = signAlgorithm;
return this;
}
public String getSignAlgorithm() {
return signAlgorithm;
}
public UserDomain setServiceExpiryDays(Integer serviceExpiryDays) {
this.serviceExpiryDays = serviceExpiryDays;
return this;
}
public Integer getServiceExpiryDays() {
return serviceExpiryDays;
}
public UserDomain setGroupExpiryDays(Integer groupExpiryDays) {
this.groupExpiryDays = groupExpiryDays;
return this;
}
public Integer getGroupExpiryDays() {
return groupExpiryDays;
}
public UserDomain setUserAuthorityFilter(String userAuthorityFilter) {
this.userAuthorityFilter = userAuthorityFilter;
return this;
}
public String getUserAuthorityFilter() {
return userAuthorityFilter;
}
public UserDomain setAzureSubscription(String azureSubscription) {
this.azureSubscription = azureSubscription;
return this;
}
public String getAzureSubscription() {
return azureSubscription;
}
public UserDomain setAzureTenant(String azureTenant) {
this.azureTenant = azureTenant;
return this;
}
public String getAzureTenant() {
return azureTenant;
}
public UserDomain setAzureClient(String azureClient) {
this.azureClient = azureClient;
return this;
}
public String getAzureClient() {
return azureClient;
}
public UserDomain setGcpProject(String gcpProject) {
this.gcpProject = gcpProject;
return this;
}
public String getGcpProject() {
return gcpProject;
}
public UserDomain setGcpProjectNumber(String gcpProjectNumber) {
this.gcpProjectNumber = gcpProjectNumber;
return this;
}
public String getGcpProjectNumber() {
return gcpProjectNumber;
}
public UserDomain setTags(Map tags) {
this.tags = tags;
return this;
}
public Map getTags() {
return tags;
}
public UserDomain setBusinessService(String businessService) {
this.businessService = businessService;
return this;
}
public String getBusinessService() {
return businessService;
}
public UserDomain setMemberPurgeExpiryDays(Integer memberPurgeExpiryDays) {
this.memberPurgeExpiryDays = memberPurgeExpiryDays;
return this;
}
public Integer getMemberPurgeExpiryDays() {
return memberPurgeExpiryDays;
}
public UserDomain setProductId(String productId) {
this.productId = productId;
return this;
}
public String getProductId() {
return productId;
}
public UserDomain setFeatureFlags(Integer featureFlags) {
this.featureFlags = featureFlags;
return this;
}
public Integer getFeatureFlags() {
return featureFlags;
}
public UserDomain setContacts(Map contacts) {
this.contacts = contacts;
return this;
}
public Map getContacts() {
return contacts;
}
public UserDomain setEnvironment(String environment) {
this.environment = environment;
return this;
}
public String getEnvironment() {
return environment;
}
public UserDomain setResourceOwnership(ResourceDomainOwnership resourceOwnership) {
this.resourceOwnership = resourceOwnership;
return this;
}
public ResourceDomainOwnership getResourceOwnership() {
return resourceOwnership;
}
public UserDomain setX509CertSignerKeyId(String x509CertSignerKeyId) {
this.x509CertSignerKeyId = x509CertSignerKeyId;
return this;
}
public String getX509CertSignerKeyId() {
return x509CertSignerKeyId;
}
public UserDomain setSshCertSignerKeyId(String sshCertSignerKeyId) {
this.sshCertSignerKeyId = sshCertSignerKeyId;
return this;
}
public String getSshCertSignerKeyId() {
return sshCertSignerKeyId;
}
public UserDomain setName(String name) {
this.name = name;
return this;
}
public String getName() {
return name;
}
public UserDomain setTemplates(DomainTemplateList templates) {
this.templates = templates;
return this;
}
public DomainTemplateList getTemplates() {
return templates;
}
@Override
public boolean equals(Object another) {
if (this != another) {
if (another == null || another.getClass() != UserDomain.class) {
return false;
}
UserDomain a = (UserDomain) another;
if (description == null ? a.description != null : !description.equals(a.description)) {
return false;
}
if (org == null ? a.org != null : !org.equals(a.org)) {
return false;
}
if (enabled == null ? a.enabled != null : !enabled.equals(a.enabled)) {
return false;
}
if (auditEnabled == null ? a.auditEnabled != null : !auditEnabled.equals(a.auditEnabled)) {
return false;
}
if (account == null ? a.account != null : !account.equals(a.account)) {
return false;
}
if (ypmId == null ? a.ypmId != null : !ypmId.equals(a.ypmId)) {
return false;
}
if (applicationId == null ? a.applicationId != null : !applicationId.equals(a.applicationId)) {
return false;
}
if (certDnsDomain == null ? a.certDnsDomain != null : !certDnsDomain.equals(a.certDnsDomain)) {
return false;
}
if (memberExpiryDays == null ? a.memberExpiryDays != null : !memberExpiryDays.equals(a.memberExpiryDays)) {
return false;
}
if (tokenExpiryMins == null ? a.tokenExpiryMins != null : !tokenExpiryMins.equals(a.tokenExpiryMins)) {
return false;
}
if (serviceCertExpiryMins == null ? a.serviceCertExpiryMins != null : !serviceCertExpiryMins.equals(a.serviceCertExpiryMins)) {
return false;
}
if (roleCertExpiryMins == null ? a.roleCertExpiryMins != null : !roleCertExpiryMins.equals(a.roleCertExpiryMins)) {
return false;
}
if (signAlgorithm == null ? a.signAlgorithm != null : !signAlgorithm.equals(a.signAlgorithm)) {
return false;
}
if (serviceExpiryDays == null ? a.serviceExpiryDays != null : !serviceExpiryDays.equals(a.serviceExpiryDays)) {
return false;
}
if (groupExpiryDays == null ? a.groupExpiryDays != null : !groupExpiryDays.equals(a.groupExpiryDays)) {
return false;
}
if (userAuthorityFilter == null ? a.userAuthorityFilter != null : !userAuthorityFilter.equals(a.userAuthorityFilter)) {
return false;
}
if (azureSubscription == null ? a.azureSubscription != null : !azureSubscription.equals(a.azureSubscription)) {
return false;
}
if (azureTenant == null ? a.azureTenant != null : !azureTenant.equals(a.azureTenant)) {
return false;
}
if (azureClient == null ? a.azureClient != null : !azureClient.equals(a.azureClient)) {
return false;
}
if (gcpProject == null ? a.gcpProject != null : !gcpProject.equals(a.gcpProject)) {
return false;
}
if (gcpProjectNumber == null ? a.gcpProjectNumber != null : !gcpProjectNumber.equals(a.gcpProjectNumber)) {
return false;
}
if (tags == null ? a.tags != null : !tags.equals(a.tags)) {
return false;
}
if (businessService == null ? a.businessService != null : !businessService.equals(a.businessService)) {
return false;
}
if (memberPurgeExpiryDays == null ? a.memberPurgeExpiryDays != null : !memberPurgeExpiryDays.equals(a.memberPurgeExpiryDays)) {
return false;
}
if (productId == null ? a.productId != null : !productId.equals(a.productId)) {
return false;
}
if (featureFlags == null ? a.featureFlags != null : !featureFlags.equals(a.featureFlags)) {
return false;
}
if (contacts == null ? a.contacts != null : !contacts.equals(a.contacts)) {
return false;
}
if (environment == null ? a.environment != null : !environment.equals(a.environment)) {
return false;
}
if (resourceOwnership == null ? a.resourceOwnership != null : !resourceOwnership.equals(a.resourceOwnership)) {
return false;
}
if (x509CertSignerKeyId == null ? a.x509CertSignerKeyId != null : !x509CertSignerKeyId.equals(a.x509CertSignerKeyId)) {
return false;
}
if (sshCertSignerKeyId == null ? a.sshCertSignerKeyId != null : !sshCertSignerKeyId.equals(a.sshCertSignerKeyId)) {
return false;
}
if (name == null ? a.name != null : !name.equals(a.name)) {
return false;
}
if (templates == null ? a.templates != null : !templates.equals(a.templates)) {
return false;
}
}
return true;
}
}