/** * Determine if a user belongs to a business account * * @return the result of a user belonging to a business account */ public boolean isBusinessUser() throws TException, EDAMUserException, EDAMSystemException { return getClient().getUser(getToken()).isSetBusinessUserInfo(); }
/** * Determine if a user belongs to a business account * * @return the result of a user belonging to a business account */ public boolean isBusinessUser() throws TException, EDAMUserException, EDAMSystemException { return getClient().getUser(getToken()).isSetBusinessUserInfo(); }
if (isSetBusinessUserInfo()) { if (!first) sb.append(", "); sb.append("businessUserInfo:");
if (isSetBusinessUserInfo()) { if (!first) sb.append(", "); sb.append("businessUserInfo:");
lastComparison = Boolean.valueOf(isSetBusinessUserInfo()).compareTo(typedOther.isSetBusinessUserInfo()); if (lastComparison != 0) { return lastComparison; if (isSetBusinessUserInfo()) { lastComparison = TBaseHelper.compareTo(this.businessUserInfo, typedOther.businessUserInfo); if (lastComparison != 0) { return lastComparison;
lastComparison = Boolean.valueOf(isSetBusinessUserInfo()).compareTo(typedOther.isSetBusinessUserInfo()); if (lastComparison != 0) { return lastComparison; if (isSetBusinessUserInfo()) { lastComparison = TBaseHelper.compareTo(this.businessUserInfo, typedOther.businessUserInfo); if (lastComparison != 0) { return lastComparison;
this.premiumInfo = new PremiumInfo(other.premiumInfo); if (other.isSetBusinessUserInfo()) { this.businessUserInfo = new BusinessUserInfo(other.businessUserInfo);
this.premiumInfo = new PremiumInfo(other.premiumInfo); if (other.isSetBusinessUserInfo()) { this.businessUserInfo = new BusinessUserInfo(other.businessUserInfo);
boolean this_present_businessUserInfo = true && this.isSetBusinessUserInfo(); boolean that_present_businessUserInfo = true && that.isSetBusinessUserInfo(); if (this_present_businessUserInfo || that_present_businessUserInfo) { if (!(this_present_businessUserInfo && that_present_businessUserInfo))
boolean this_present_businessUserInfo = true && this.isSetBusinessUserInfo(); boolean that_present_businessUserInfo = true && that.isSetBusinessUserInfo(); if (this_present_businessUserInfo || that_present_businessUserInfo) { if (!(this_present_businessUserInfo && that_present_businessUserInfo))
if (isSetBusinessUserInfo()) { oprot.writeFieldBegin(BUSINESS_USER_INFO_FIELD_DESC); this.businessUserInfo.write(oprot);
if (isSetBusinessUserInfo()) { oprot.writeFieldBegin(BUSINESS_USER_INFO_FIELD_DESC); this.businessUserInfo.write(oprot);