PremiumInfo typedOther = (PremiumInfo)other; lastComparison = Boolean.valueOf(isSetCurrentTime()).compareTo(typedOther.isSetCurrentTime()); if (lastComparison != 0) { return lastComparison; if (isSetCurrentTime()) { lastComparison = TBaseHelper.compareTo(this.currentTime, typedOther.currentTime); if (lastComparison != 0) { return lastComparison;
PremiumInfo typedOther = (PremiumInfo)other; lastComparison = Boolean.valueOf(isSetCurrentTime()).compareTo(typedOther.isSetCurrentTime()); if (lastComparison != 0) { return lastComparison; if (isSetCurrentTime()) { lastComparison = TBaseHelper.compareTo(this.currentTime, typedOther.currentTime); if (lastComparison != 0) { return lastComparison;
public void validate() throws TException { // check for required fields if (!isSetCurrentTime()) { throw new TProtocolException("Required field 'currentTime' is unset! Struct:" + toString()); } if (!isSetPremium()) { throw new TProtocolException("Required field 'premium' is unset! Struct:" + toString()); } if (!isSetPremiumRecurring()) { throw new TProtocolException("Required field 'premiumRecurring' is unset! Struct:" + toString()); } if (!isSetPremiumExtendable()) { throw new TProtocolException("Required field 'premiumExtendable' is unset! Struct:" + toString()); } if (!isSetPremiumPending()) { throw new TProtocolException("Required field 'premiumPending' is unset! Struct:" + toString()); } if (!isSetPremiumCancellationPending()) { throw new TProtocolException("Required field 'premiumCancellationPending' is unset! Struct:" + toString()); } if (!isSetCanPurchaseUploadAllowance()) { throw new TProtocolException("Required field 'canPurchaseUploadAllowance' is unset! Struct:" + toString()); } }
public void validate() throws TException { // check for required fields if (!isSetCurrentTime()) { throw new TProtocolException("Required field 'currentTime' is unset! Struct:" + toString()); } if (!isSetPremium()) { throw new TProtocolException("Required field 'premium' is unset! Struct:" + toString()); } if (!isSetPremiumRecurring()) { throw new TProtocolException("Required field 'premiumRecurring' is unset! Struct:" + toString()); } if (!isSetPremiumExtendable()) { throw new TProtocolException("Required field 'premiumExtendable' is unset! Struct:" + toString()); } if (!isSetPremiumPending()) { throw new TProtocolException("Required field 'premiumPending' is unset! Struct:" + toString()); } if (!isSetPremiumCancellationPending()) { throw new TProtocolException("Required field 'premiumCancellationPending' is unset! Struct:" + toString()); } if (!isSetCanPurchaseUploadAllowance()) { throw new TProtocolException("Required field 'canPurchaseUploadAllowance' is unset! Struct:" + toString()); } }