class CloudIdentity {

    @Override
    public boolean equals(final Object other) {
        if (other == null) {
            return false;
        }
        if (!getClass().equals(other.getClass())) {
            return false;
        }
        CloudIdentity castOther = (CloudIdentity) other;
        return new EqualsBuilder().append(getId(), castOther.getId())
                .append(getIdentityUrl(), castOther.getIdentityUrl()).append(getMsoId(), castOther.getMsoId())
                .append(getMsoPass(), castOther.getMsoPass()).append(getAdminTenant(), castOther.getAdminTenant())
                .append(getProjectDomainName(), castOther.getProjectDomainName())
                .append(getUserDomainName(), castOther.getUserDomainName())
                .append(getMemberRole(), castOther.getMemberRole())
                .append(getTenantMetadata(), castOther.getTenantMetadata())
                .append(getIdentityServerType(), castOther.getIdentityServerType())
                .append(getIdentityAuthenticationType(), castOther.getIdentityAuthenticationType()).isEquals();
    }

    public  CloudIdentity();

}