lastComparison = Boolean.valueOf(isSetCanPurchaseUploadAllowance()).compareTo(typedOther.isSetCanPurchaseUploadAllowance()); if (lastComparison != 0) { return lastComparison; if (isSetCanPurchaseUploadAllowance()) { lastComparison = TBaseHelper.compareTo(this.canPurchaseUploadAllowance, typedOther.canPurchaseUploadAllowance); if (lastComparison != 0) { return lastComparison;
lastComparison = Boolean.valueOf(isSetCanPurchaseUploadAllowance()).compareTo(typedOther.isSetCanPurchaseUploadAllowance()); if (lastComparison != 0) { return lastComparison; if (isSetCanPurchaseUploadAllowance()) { lastComparison = TBaseHelper.compareTo(this.canPurchaseUploadAllowance, typedOther.canPurchaseUploadAllowance); 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()); } }