/** * 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; }
if (isSetSponsoredGroupRole()) { if (!first) sb.append(", "); sb.append("sponsoredGroupRole:");
if (isSetSponsoredGroupRole()) { if (!first) sb.append(", "); sb.append("sponsoredGroupRole:");
boolean this_present_sponsoredGroupRole = true && this.isSetSponsoredGroupRole(); boolean that_present_sponsoredGroupRole = true && that.isSetSponsoredGroupRole(); if (this_present_sponsoredGroupRole || that_present_sponsoredGroupRole) { if (!(this_present_sponsoredGroupRole && that_present_sponsoredGroupRole))
boolean this_present_sponsoredGroupRole = true && this.isSetSponsoredGroupRole(); boolean that_present_sponsoredGroupRole = true && that.isSetSponsoredGroupRole(); if (this_present_sponsoredGroupRole || that_present_sponsoredGroupRole) { if (!(this_present_sponsoredGroupRole && that_present_sponsoredGroupRole))
lastComparison = Boolean.valueOf(isSetSponsoredGroupRole()).compareTo(typedOther.isSetSponsoredGroupRole()); if (lastComparison != 0) { return lastComparison; if (isSetSponsoredGroupRole()) { lastComparison = TBaseHelper.compareTo(this.sponsoredGroupRole, typedOther.sponsoredGroupRole); if (lastComparison != 0) { return lastComparison;
lastComparison = Boolean.valueOf(isSetSponsoredGroupRole()).compareTo(typedOther.isSetSponsoredGroupRole()); if (lastComparison != 0) { return lastComparison; if (isSetSponsoredGroupRole()) { lastComparison = TBaseHelper.compareTo(this.sponsoredGroupRole, typedOther.sponsoredGroupRole); if (lastComparison != 0) { return lastComparison;
if (isSetSponsoredGroupRole()) { oprot.writeFieldBegin(SPONSORED_GROUP_ROLE_FIELD_DESC); oprot.writeI32(this.sponsoredGroupRole.getValue());
if (isSetSponsoredGroupRole()) { oprot.writeFieldBegin(SPONSORED_GROUP_ROLE_FIELD_DESC); oprot.writeI32(this.sponsoredGroupRole.getValue());