/** * Performs a deep copy on <i>other</i>. */ public PremiumInfo(PremiumInfo other) { System.arraycopy(other.__isset_vector, 0, __isset_vector, 0, other.__isset_vector.length); this.currentTime = other.currentTime; this.premium = other.premium; this.premiumRecurring = other.premiumRecurring; this.premiumExpirationDate = other.premiumExpirationDate; this.premiumExtendable = other.premiumExtendable; this.premiumPending = other.premiumPending; this.premiumCancellationPending = other.premiumCancellationPending; this.canPurchaseUploadAllowance = other.canPurchaseUploadAllowance; if (other.isSetSponsoredGroupName()) { this.sponsoredGroupName = other.sponsoredGroupName; } if (other.isSetSponsoredGroupRole()) { this.sponsoredGroupRole = other.sponsoredGroupRole; } this.premiumUpgradable = other.premiumUpgradable; }
/** * Performs a deep copy on <i>other</i>. */ public PremiumInfo(PremiumInfo other) { System.arraycopy(other.__isset_vector, 0, __isset_vector, 0, other.__isset_vector.length); this.currentTime = other.currentTime; this.premium = other.premium; this.premiumRecurring = other.premiumRecurring; this.premiumExpirationDate = other.premiumExpirationDate; this.premiumExtendable = other.premiumExtendable; this.premiumPending = other.premiumPending; this.premiumCancellationPending = other.premiumCancellationPending; this.canPurchaseUploadAllowance = other.canPurchaseUploadAllowance; if (other.isSetSponsoredGroupName()) { this.sponsoredGroupName = other.sponsoredGroupName; } if (other.isSetSponsoredGroupRole()) { this.sponsoredGroupRole = other.sponsoredGroupRole; } this.premiumUpgradable = other.premiumUpgradable; }
sb.append(this.canPurchaseUploadAllowance); first = false; if (isSetSponsoredGroupName()) { if (!first) sb.append(", "); sb.append("sponsoredGroupName:");
sb.append(this.canPurchaseUploadAllowance); first = false; if (isSetSponsoredGroupName()) { if (!first) sb.append(", "); sb.append("sponsoredGroupName:");
boolean this_present_sponsoredGroupName = true && this.isSetSponsoredGroupName(); boolean that_present_sponsoredGroupName = true && that.isSetSponsoredGroupName(); if (this_present_sponsoredGroupName || that_present_sponsoredGroupName) { if (!(this_present_sponsoredGroupName && that_present_sponsoredGroupName))
boolean this_present_sponsoredGroupName = true && this.isSetSponsoredGroupName(); boolean that_present_sponsoredGroupName = true && that.isSetSponsoredGroupName(); if (this_present_sponsoredGroupName || that_present_sponsoredGroupName) { if (!(this_present_sponsoredGroupName && that_present_sponsoredGroupName))
lastComparison = Boolean.valueOf(isSetSponsoredGroupName()).compareTo(typedOther.isSetSponsoredGroupName()); if (lastComparison != 0) { return lastComparison; if (isSetSponsoredGroupName()) { lastComparison = TBaseHelper.compareTo(this.sponsoredGroupName, typedOther.sponsoredGroupName); if (lastComparison != 0) { return lastComparison;
lastComparison = Boolean.valueOf(isSetSponsoredGroupName()).compareTo(typedOther.isSetSponsoredGroupName()); if (lastComparison != 0) { return lastComparison; if (isSetSponsoredGroupName()) { lastComparison = TBaseHelper.compareTo(this.sponsoredGroupName, typedOther.sponsoredGroupName); if (lastComparison != 0) { return lastComparison;
oprot.writeFieldEnd(); if (this.sponsoredGroupName != null) { if (isSetSponsoredGroupName()) { oprot.writeFieldBegin(SPONSORED_GROUP_NAME_FIELD_DESC); oprot.writeString(this.sponsoredGroupName);
oprot.writeFieldEnd(); if (this.sponsoredGroupName != null) { if (isSetSponsoredGroupName()) { oprot.writeFieldBegin(SPONSORED_GROUP_NAME_FIELD_DESC); oprot.writeString(this.sponsoredGroupName);