All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.yahoo.athenz.zms.DomainData Maven / Gradle / Ivy

The newest version!
//
// 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.List;
import java.util.Map;
import com.yahoo.rdl.*;

//
// DomainData - A domain object that includes its roles, policies and services.
//
@JsonIgnoreProperties(ignoreUnknown = true)
public class DomainData {
    @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;
    public List roles;
    public SignedPolicies policies;
    public List services;
    public List entities;
    public List groups;
    public Timestamp modified;

    public DomainData setDescription(String description) {
        this.description = description;
        return this;
    }
    public String getDescription() {
        return description;
    }
    public DomainData setOrg(String org) {
        this.org = org;
        return this;
    }
    public String getOrg() {
        return org;
    }
    public DomainData setEnabled(Boolean enabled) {
        this.enabled = enabled;
        return this;
    }
    public Boolean getEnabled() {
        return enabled;
    }
    public DomainData setAuditEnabled(Boolean auditEnabled) {
        this.auditEnabled = auditEnabled;
        return this;
    }
    public Boolean getAuditEnabled() {
        return auditEnabled;
    }
    public DomainData setAccount(String account) {
        this.account = account;
        return this;
    }
    public String getAccount() {
        return account;
    }
    public DomainData setYpmId(Integer ypmId) {
        this.ypmId = ypmId;
        return this;
    }
    public Integer getYpmId() {
        return ypmId;
    }
    public DomainData setApplicationId(String applicationId) {
        this.applicationId = applicationId;
        return this;
    }
    public String getApplicationId() {
        return applicationId;
    }
    public DomainData setCertDnsDomain(String certDnsDomain) {
        this.certDnsDomain = certDnsDomain;
        return this;
    }
    public String getCertDnsDomain() {
        return certDnsDomain;
    }
    public DomainData setMemberExpiryDays(Integer memberExpiryDays) {
        this.memberExpiryDays = memberExpiryDays;
        return this;
    }
    public Integer getMemberExpiryDays() {
        return memberExpiryDays;
    }
    public DomainData setTokenExpiryMins(Integer tokenExpiryMins) {
        this.tokenExpiryMins = tokenExpiryMins;
        return this;
    }
    public Integer getTokenExpiryMins() {
        return tokenExpiryMins;
    }
    public DomainData setServiceCertExpiryMins(Integer serviceCertExpiryMins) {
        this.serviceCertExpiryMins = serviceCertExpiryMins;
        return this;
    }
    public Integer getServiceCertExpiryMins() {
        return serviceCertExpiryMins;
    }
    public DomainData setRoleCertExpiryMins(Integer roleCertExpiryMins) {
        this.roleCertExpiryMins = roleCertExpiryMins;
        return this;
    }
    public Integer getRoleCertExpiryMins() {
        return roleCertExpiryMins;
    }
    public DomainData setSignAlgorithm(String signAlgorithm) {
        this.signAlgorithm = signAlgorithm;
        return this;
    }
    public String getSignAlgorithm() {
        return signAlgorithm;
    }
    public DomainData setServiceExpiryDays(Integer serviceExpiryDays) {
        this.serviceExpiryDays = serviceExpiryDays;
        return this;
    }
    public Integer getServiceExpiryDays() {
        return serviceExpiryDays;
    }
    public DomainData setGroupExpiryDays(Integer groupExpiryDays) {
        this.groupExpiryDays = groupExpiryDays;
        return this;
    }
    public Integer getGroupExpiryDays() {
        return groupExpiryDays;
    }
    public DomainData setUserAuthorityFilter(String userAuthorityFilter) {
        this.userAuthorityFilter = userAuthorityFilter;
        return this;
    }
    public String getUserAuthorityFilter() {
        return userAuthorityFilter;
    }
    public DomainData setAzureSubscription(String azureSubscription) {
        this.azureSubscription = azureSubscription;
        return this;
    }
    public String getAzureSubscription() {
        return azureSubscription;
    }
    public DomainData setAzureTenant(String azureTenant) {
        this.azureTenant = azureTenant;
        return this;
    }
    public String getAzureTenant() {
        return azureTenant;
    }
    public DomainData setAzureClient(String azureClient) {
        this.azureClient = azureClient;
        return this;
    }
    public String getAzureClient() {
        return azureClient;
    }
    public DomainData setGcpProject(String gcpProject) {
        this.gcpProject = gcpProject;
        return this;
    }
    public String getGcpProject() {
        return gcpProject;
    }
    public DomainData setGcpProjectNumber(String gcpProjectNumber) {
        this.gcpProjectNumber = gcpProjectNumber;
        return this;
    }
    public String getGcpProjectNumber() {
        return gcpProjectNumber;
    }
    public DomainData setTags(Map tags) {
        this.tags = tags;
        return this;
    }
    public Map getTags() {
        return tags;
    }
    public DomainData setBusinessService(String businessService) {
        this.businessService = businessService;
        return this;
    }
    public String getBusinessService() {
        return businessService;
    }
    public DomainData setMemberPurgeExpiryDays(Integer memberPurgeExpiryDays) {
        this.memberPurgeExpiryDays = memberPurgeExpiryDays;
        return this;
    }
    public Integer getMemberPurgeExpiryDays() {
        return memberPurgeExpiryDays;
    }
    public DomainData setProductId(String productId) {
        this.productId = productId;
        return this;
    }
    public String getProductId() {
        return productId;
    }
    public DomainData setFeatureFlags(Integer featureFlags) {
        this.featureFlags = featureFlags;
        return this;
    }
    public Integer getFeatureFlags() {
        return featureFlags;
    }
    public DomainData setContacts(Map contacts) {
        this.contacts = contacts;
        return this;
    }
    public Map getContacts() {
        return contacts;
    }
    public DomainData setEnvironment(String environment) {
        this.environment = environment;
        return this;
    }
    public String getEnvironment() {
        return environment;
    }
    public DomainData setResourceOwnership(ResourceDomainOwnership resourceOwnership) {
        this.resourceOwnership = resourceOwnership;
        return this;
    }
    public ResourceDomainOwnership getResourceOwnership() {
        return resourceOwnership;
    }
    public DomainData setX509CertSignerKeyId(String x509CertSignerKeyId) {
        this.x509CertSignerKeyId = x509CertSignerKeyId;
        return this;
    }
    public String getX509CertSignerKeyId() {
        return x509CertSignerKeyId;
    }
    public DomainData setSshCertSignerKeyId(String sshCertSignerKeyId) {
        this.sshCertSignerKeyId = sshCertSignerKeyId;
        return this;
    }
    public String getSshCertSignerKeyId() {
        return sshCertSignerKeyId;
    }
    public DomainData setName(String name) {
        this.name = name;
        return this;
    }
    public String getName() {
        return name;
    }
    public DomainData setRoles(List roles) {
        this.roles = roles;
        return this;
    }
    public List getRoles() {
        return roles;
    }
    public DomainData setPolicies(SignedPolicies policies) {
        this.policies = policies;
        return this;
    }
    public SignedPolicies getPolicies() {
        return policies;
    }
    public DomainData setServices(List services) {
        this.services = services;
        return this;
    }
    public List getServices() {
        return services;
    }
    public DomainData setEntities(List entities) {
        this.entities = entities;
        return this;
    }
    public List getEntities() {
        return entities;
    }
    public DomainData setGroups(List groups) {
        this.groups = groups;
        return this;
    }
    public List getGroups() {
        return groups;
    }
    public DomainData 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() != DomainData.class) {
                return false;
            }
            DomainData a = (DomainData) 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 (roles == null ? a.roles != null : !roles.equals(a.roles)) {
                return false;
            }
            if (policies == null ? a.policies != null : !policies.equals(a.policies)) {
                return false;
            }
            if (services == null ? a.services != null : !services.equals(a.services)) {
                return false;
            }
            if (entities == null ? a.entities != null : !entities.equals(a.entities)) {
                return false;
            }
            if (groups == null ? a.groups != null : !groups.equals(a.groups)) {
                return false;
            }
            if (modified == null ? a.modified != null : !modified.equals(a.modified)) {
                return false;
            }
        }
        return true;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy