public UserAttributes deepCopy() { return new UserAttributes(this); }
@Override public boolean equals(Object that) { if (that == null) return false; if (that instanceof UserAttributes) return this.equals((UserAttributes)that); return false; }
boolean this_present_defaultLocationName = true && this.isSetDefaultLocationName(); boolean that_present_defaultLocationName = true && that.isSetDefaultLocationName(); if (this_present_defaultLocationName || that_present_defaultLocationName) { if (!(this_present_defaultLocationName && that_present_defaultLocationName)) boolean this_present_defaultLatitude = true && this.isSetDefaultLatitude(); boolean that_present_defaultLatitude = true && that.isSetDefaultLatitude(); if (this_present_defaultLatitude || that_present_defaultLatitude) { if (!(this_present_defaultLatitude && that_present_defaultLatitude)) boolean this_present_defaultLongitude = true && this.isSetDefaultLongitude(); boolean that_present_defaultLongitude = true && that.isSetDefaultLongitude(); if (this_present_defaultLongitude || that_present_defaultLongitude) { if (!(this_present_defaultLongitude && that_present_defaultLongitude)) boolean this_present_preactivation = true && this.isSetPreactivation(); boolean that_present_preactivation = true && that.isSetPreactivation(); if (this_present_preactivation || that_present_preactivation) { if (!(this_present_preactivation && that_present_preactivation)) boolean this_present_viewedPromotions = true && this.isSetViewedPromotions(); boolean that_present_viewedPromotions = true && that.isSetViewedPromotions(); if (this_present_viewedPromotions || that_present_viewedPromotions) { if (!(this_present_viewedPromotions && that_present_viewedPromotions)) boolean this_present_incomingEmailAddress = true && this.isSetIncomingEmailAddress(); boolean that_present_incomingEmailAddress = true && that.isSetIncomingEmailAddress(); if (this_present_incomingEmailAddress || that_present_incomingEmailAddress) { if (!(this_present_incomingEmailAddress && that_present_incomingEmailAddress))
if (other.isSetDefaultLocationName()) { this.defaultLocationName = other.defaultLocationName; this.defaultLongitude = other.defaultLongitude; this.preactivation = other.preactivation; if (other.isSetViewedPromotions()) { List<String> __this__viewedPromotions = new ArrayList<String>(); for (String other_element : other.viewedPromotions) { if (other.isSetIncomingEmailAddress()) { this.incomingEmailAddress = other.incomingEmailAddress; if (other.isSetRecentMailedAddresses()) { List<String> __this__recentMailedAddresses = new ArrayList<String>(); for (String other_element : other.recentMailedAddresses) { if (other.isSetComments()) { this.comments = other.comments; this.maxReferrals = other.maxReferrals; this.referralCount = other.referralCount; if (other.isSetRefererCode()) { this.refererCode = other.refererCode; this.emailOptOutDate = other.emailOptOutDate; this.partnerEmailOptInDate = other.partnerEmailOptInDate; if (other.isSetPreferredLanguage()) { this.preferredLanguage = other.preferredLanguage;
case 15: // ATTRIBUTES if (field.type == TType.STRUCT) { this.attributes = new UserAttributes(); this.attributes.read(iprot); } else { TProtocolUtil.skip(iprot, field.type);
if (other.isSetDefaultLocationName()) { this.defaultLocationName = other.defaultLocationName; this.defaultLongitude = other.defaultLongitude; this.preactivation = other.preactivation; if (other.isSetViewedPromotions()) { List<String> __this__viewedPromotions = new ArrayList<String>(); for (String other_element : other.viewedPromotions) { if (other.isSetIncomingEmailAddress()) { this.incomingEmailAddress = other.incomingEmailAddress; if (other.isSetRecentMailedAddresses()) { List<String> __this__recentMailedAddresses = new ArrayList<String>(); for (String other_element : other.recentMailedAddresses) { if (other.isSetComments()) { this.comments = other.comments; this.maxReferrals = other.maxReferrals; this.referralCount = other.referralCount; if (other.isSetRefererCode()) { this.refererCode = other.refererCode; this.emailOptOutDate = other.emailOptOutDate; this.partnerEmailOptInDate = other.partnerEmailOptInDate; if (other.isSetPreferredLanguage()) { this.preferredLanguage = other.preferredLanguage;
case 15: // ATTRIBUTES if (field.type == TType.STRUCT) { this.attributes = new UserAttributes(); this.attributes.read(iprot); } else { TProtocolUtil.skip(iprot, field.type);
boolean this_present_defaultLocationName = true && this.isSetDefaultLocationName(); boolean that_present_defaultLocationName = true && that.isSetDefaultLocationName(); if (this_present_defaultLocationName || that_present_defaultLocationName) { if (!(this_present_defaultLocationName && that_present_defaultLocationName)) boolean this_present_defaultLatitude = true && this.isSetDefaultLatitude(); boolean that_present_defaultLatitude = true && that.isSetDefaultLatitude(); if (this_present_defaultLatitude || that_present_defaultLatitude) { if (!(this_present_defaultLatitude && that_present_defaultLatitude)) boolean this_present_defaultLongitude = true && this.isSetDefaultLongitude(); boolean that_present_defaultLongitude = true && that.isSetDefaultLongitude(); if (this_present_defaultLongitude || that_present_defaultLongitude) { if (!(this_present_defaultLongitude && that_present_defaultLongitude)) boolean this_present_preactivation = true && this.isSetPreactivation(); boolean that_present_preactivation = true && that.isSetPreactivation(); if (this_present_preactivation || that_present_preactivation) { if (!(this_present_preactivation && that_present_preactivation)) boolean this_present_viewedPromotions = true && this.isSetViewedPromotions(); boolean that_present_viewedPromotions = true && that.isSetViewedPromotions(); if (this_present_viewedPromotions || that_present_viewedPromotions) { if (!(this_present_viewedPromotions && that_present_viewedPromotions)) boolean this_present_incomingEmailAddress = true && this.isSetIncomingEmailAddress(); boolean that_present_incomingEmailAddress = true && that.isSetIncomingEmailAddress(); if (this_present_incomingEmailAddress || that_present_incomingEmailAddress) { if (!(this_present_incomingEmailAddress && that_present_incomingEmailAddress))
@Override public boolean equals(Object that) { if (that == null) return false; if (that instanceof UserAttributes) return this.equals((UserAttributes)that); return false; }
public UserAttributes deepCopy() { return new UserAttributes(this); }
lastComparison = Boolean.valueOf(isSetDefaultLocationName()).compareTo(typedOther.isSetDefaultLocationName()); if (lastComparison != 0) { return lastComparison; if (isSetDefaultLocationName()) { lastComparison = TBaseHelper.compareTo(this.defaultLocationName, typedOther.defaultLocationName); if (lastComparison != 0) { return lastComparison; lastComparison = Boolean.valueOf(isSetDefaultLatitude()).compareTo(typedOther.isSetDefaultLatitude()); if (lastComparison != 0) { return lastComparison; if (isSetDefaultLatitude()) { lastComparison = TBaseHelper.compareTo(this.defaultLatitude, typedOther.defaultLatitude); if (lastComparison != 0) { return lastComparison; lastComparison = Boolean.valueOf(isSetDefaultLongitude()).compareTo(typedOther.isSetDefaultLongitude()); if (lastComparison != 0) { return lastComparison; if (isSetDefaultLongitude()) { lastComparison = TBaseHelper.compareTo(this.defaultLongitude, typedOther.defaultLongitude); if (lastComparison != 0) { return lastComparison; lastComparison = Boolean.valueOf(isSetPreactivation()).compareTo(typedOther.isSetPreactivation()); if (lastComparison != 0) { return lastComparison; if (isSetPreactivation()) { lastComparison = TBaseHelper.compareTo(this.preactivation, typedOther.preactivation);
if (!(this_present_attributes && that_present_attributes)) return false; if (!this.attributes.equals(that.attributes)) return false;
this.attributes = new UserAttributes(other.attributes);
lastComparison = Boolean.valueOf(isSetDefaultLocationName()).compareTo(typedOther.isSetDefaultLocationName()); if (lastComparison != 0) { return lastComparison; if (isSetDefaultLocationName()) { lastComparison = TBaseHelper.compareTo(this.defaultLocationName, typedOther.defaultLocationName); if (lastComparison != 0) { return lastComparison; lastComparison = Boolean.valueOf(isSetDefaultLatitude()).compareTo(typedOther.isSetDefaultLatitude()); if (lastComparison != 0) { return lastComparison; if (isSetDefaultLatitude()) { lastComparison = TBaseHelper.compareTo(this.defaultLatitude, typedOther.defaultLatitude); if (lastComparison != 0) { return lastComparison; lastComparison = Boolean.valueOf(isSetDefaultLongitude()).compareTo(typedOther.isSetDefaultLongitude()); if (lastComparison != 0) { return lastComparison; if (isSetDefaultLongitude()) { lastComparison = TBaseHelper.compareTo(this.defaultLongitude, typedOther.defaultLongitude); if (lastComparison != 0) { return lastComparison; lastComparison = Boolean.valueOf(isSetPreactivation()).compareTo(typedOther.isSetPreactivation()); if (lastComparison != 0) { return lastComparison; if (isSetPreactivation()) { lastComparison = TBaseHelper.compareTo(this.preactivation, typedOther.preactivation);
if (!(this_present_attributes && that_present_attributes)) return false; if (!this.attributes.equals(that.attributes)) return false;
this.attributes = new UserAttributes(other.attributes);
if (isSetDefaultLocationName()) { sb.append("defaultLocationName:"); if (this.defaultLocationName == null) { if (isSetDefaultLatitude()) { if (!first) sb.append(", "); sb.append("defaultLatitude:"); if (isSetDefaultLongitude()) { if (!first) sb.append(", "); sb.append("defaultLongitude:"); if (isSetPreactivation()) { if (!first) sb.append(", "); sb.append("preactivation:"); if (isSetViewedPromotions()) { if (!first) sb.append(", "); sb.append("viewedPromotions:"); if (isSetIncomingEmailAddress()) { if (!first) sb.append(", "); sb.append("incomingEmailAddress:"); if (isSetRecentMailedAddresses()) { if (!first) sb.append(", "); sb.append("recentMailedAddresses:"); if (isSetComments()) {
if (isSetDefaultLocationName()) { sb.append("defaultLocationName:"); if (this.defaultLocationName == null) { if (isSetDefaultLatitude()) { if (!first) sb.append(", "); sb.append("defaultLatitude:"); if (isSetDefaultLongitude()) { if (!first) sb.append(", "); sb.append("defaultLongitude:"); if (isSetPreactivation()) { if (!first) sb.append(", "); sb.append("preactivation:"); if (isSetViewedPromotions()) { if (!first) sb.append(", "); sb.append("viewedPromotions:"); if (isSetIncomingEmailAddress()) { if (!first) sb.append(", "); sb.append("incomingEmailAddress:"); if (isSetRecentMailedAddresses()) { if (!first) sb.append(", "); sb.append("recentMailedAddresses:"); if (isSetComments()) {
public void write(TProtocol oprot) throws TException { validate(); if (isSetDefaultLocationName()) { oprot.writeFieldBegin(DEFAULT_LOCATION_NAME_FIELD_DESC); oprot.writeString(this.defaultLocationName); if (isSetDefaultLatitude()) { oprot.writeFieldBegin(DEFAULT_LATITUDE_FIELD_DESC); oprot.writeDouble(this.defaultLatitude); oprot.writeFieldEnd(); if (isSetDefaultLongitude()) { oprot.writeFieldBegin(DEFAULT_LONGITUDE_FIELD_DESC); oprot.writeDouble(this.defaultLongitude); oprot.writeFieldEnd(); if (isSetPreactivation()) { oprot.writeFieldBegin(PREACTIVATION_FIELD_DESC); oprot.writeBool(this.preactivation); if (isSetViewedPromotions()) { oprot.writeFieldBegin(VIEWED_PROMOTIONS_FIELD_DESC); if (isSetIncomingEmailAddress()) { oprot.writeFieldBegin(INCOMING_EMAIL_ADDRESS_FIELD_DESC); oprot.writeString(this.incomingEmailAddress); if (isSetRecentMailedAddresses()) { oprot.writeFieldBegin(RECENT_MAILED_ADDRESSES_FIELD_DESC);
public void write(TProtocol oprot) throws TException { validate(); if (isSetDefaultLocationName()) { oprot.writeFieldBegin(DEFAULT_LOCATION_NAME_FIELD_DESC); oprot.writeString(this.defaultLocationName); if (isSetDefaultLatitude()) { oprot.writeFieldBegin(DEFAULT_LATITUDE_FIELD_DESC); oprot.writeDouble(this.defaultLatitude); oprot.writeFieldEnd(); if (isSetDefaultLongitude()) { oprot.writeFieldBegin(DEFAULT_LONGITUDE_FIELD_DESC); oprot.writeDouble(this.defaultLongitude); oprot.writeFieldEnd(); if (isSetPreactivation()) { oprot.writeFieldBegin(PREACTIVATION_FIELD_DESC); oprot.writeBool(this.preactivation); if (isSetViewedPromotions()) { oprot.writeFieldBegin(VIEWED_PROMOTIONS_FIELD_DESC); if (isSetIncomingEmailAddress()) { oprot.writeFieldBegin(INCOMING_EMAIL_ADDRESS_FIELD_DESC); oprot.writeString(this.incomingEmailAddress); if (isSetRecentMailedAddresses()) { oprot.writeFieldBegin(RECENT_MAILED_ADDRESSES_FIELD_DESC);