/** * Performs a deep copy on <i>other</i>. */ public BusinessUserInfo(BusinessUserInfo other) { System.arraycopy(other.__isset_vector, 0, __isset_vector, 0, other.__isset_vector.length); this.businessId = other.businessId; if (other.isSetBusinessName()) { this.businessName = other.businessName; } if (other.isSetRole()) { this.role = other.role; } if (other.isSetEmail()) { this.email = other.email; } }
/** * Performs a deep copy on <i>other</i>. */ public BusinessUserInfo(BusinessUserInfo other) { System.arraycopy(other.__isset_vector, 0, __isset_vector, 0, other.__isset_vector.length); this.businessId = other.businessId; if (other.isSetBusinessName()) { this.businessName = other.businessName; } if (other.isSetRole()) { this.role = other.role; } if (other.isSetEmail()) { this.email = other.email; } }
if (isSetRole()) { if (!first) sb.append(", "); sb.append("role:");
if (isSetRole()) { if (!first) sb.append(", "); sb.append("role:");
if (isSetRole()) { oprot.writeFieldBegin(ROLE_FIELD_DESC); oprot.writeI32(this.role.getValue());
if (isSetRole()) { oprot.writeFieldBegin(ROLE_FIELD_DESC); oprot.writeI32(this.role.getValue());