All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cicada.userdriver.config.UserInfoAuth Maven / Gradle / Ivy

There is a newer version: 1.0.6.6
Show newest version
/**
 * Autogenerated by Thrift Compiler (0.10.0)
 *
 * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
 *  @generated
 */
package cicada.userdriver.config;

@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.10.0)", date = "2017-08-15")
public class UserInfoAuth implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable {
  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("UserInfoAuth");

  private static final org.apache.thrift.protocol.TField USER_BASE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("userBaseId", org.apache.thrift.protocol.TType.STRING, (short)1);
  private static final org.apache.thrift.protocol.TField TRUE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("trueName", org.apache.thrift.protocol.TType.STRING, (short)2);
  private static final org.apache.thrift.protocol.TField IS_TRUE_NAME_AUTH_FIELD_DESC = new org.apache.thrift.protocol.TField("isTrueNameAuth", org.apache.thrift.protocol.TType.BOOL, (short)3);
  private static final org.apache.thrift.protocol.TField PHONE_FIELD_DESC = new org.apache.thrift.protocol.TField("phone", org.apache.thrift.protocol.TType.STRING, (short)4);
  private static final org.apache.thrift.protocol.TField IS_PHONE_AUTH_FIELD_DESC = new org.apache.thrift.protocol.TField("isPhoneAuth", org.apache.thrift.protocol.TType.BOOL, (short)5);
  private static final org.apache.thrift.protocol.TField IDENTITY_CARD_FIELD_DESC = new org.apache.thrift.protocol.TField("identityCard", org.apache.thrift.protocol.TType.STRING, (short)6);
  private static final org.apache.thrift.protocol.TField IS_IDENTITY_CARD_AUTH_FIELD_DESC = new org.apache.thrift.protocol.TField("IsIdentityCardAuth", org.apache.thrift.protocol.TType.BOOL, (short)7);
  private static final org.apache.thrift.protocol.TField EMAIL_FIELD_DESC = new org.apache.thrift.protocol.TField("email", org.apache.thrift.protocol.TType.STRING, (short)8);
  private static final org.apache.thrift.protocol.TField IS_EMAIL_AUTH_FIELD_DESC = new org.apache.thrift.protocol.TField("isEmailAuth", org.apache.thrift.protocol.TType.BOOL, (short)9);
  private static final org.apache.thrift.protocol.TField EMERGENCY_CALL_FIELD_DESC = new org.apache.thrift.protocol.TField("emergencyCall", org.apache.thrift.protocol.TType.STRING, (short)10);
  private static final org.apache.thrift.protocol.TField IS_EMERGENCY_CALL_AUTH_FIELD_DESC = new org.apache.thrift.protocol.TField("isEmergencyCallAuth", org.apache.thrift.protocol.TType.BOOL, (short)11);
  private static final org.apache.thrift.protocol.TField ADDRESS_FIELD_DESC = new org.apache.thrift.protocol.TField("address", org.apache.thrift.protocol.TType.STRING, (short)12);
  private static final org.apache.thrift.protocol.TField IS_ADDRESS_AUTH_FIELD_DESC = new org.apache.thrift.protocol.TField("isAddressAuth", org.apache.thrift.protocol.TType.BOOL, (short)13);
  private static final org.apache.thrift.protocol.TField IMAGE_FRONT_CARD_FIELD_DESC = new org.apache.thrift.protocol.TField("imageFrontCard", org.apache.thrift.protocol.TType.STRING, (short)14);
  private static final org.apache.thrift.protocol.TField IS_IMAGE_FRONT_CARD_AUTH_FIELD_DESC = new org.apache.thrift.protocol.TField("isImageFrontCardAuth", org.apache.thrift.protocol.TType.BOOL, (short)15);
  private static final org.apache.thrift.protocol.TField IMAGE_BACK_CARD_FIELD_DESC = new org.apache.thrift.protocol.TField("imageBackCard", org.apache.thrift.protocol.TType.STRING, (short)16);
  private static final org.apache.thrift.protocol.TField IS_IMAGE_BACK_CARD_AUTH_FIELD_DESC = new org.apache.thrift.protocol.TField("isImageBackCardAuth", org.apache.thrift.protocol.TType.BOOL, (short)17);
  private static final org.apache.thrift.protocol.TField IMAGE_USER_CARD_FIELD_DESC = new org.apache.thrift.protocol.TField("imageUserCard", org.apache.thrift.protocol.TType.STRING, (short)18);
  private static final org.apache.thrift.protocol.TField IS_IMAGE_USER_CARD_AUTH_FIELD_DESC = new org.apache.thrift.protocol.TField("isImageUserCardAuth", org.apache.thrift.protocol.TType.BOOL, (short)19);
  private static final org.apache.thrift.protocol.TField LOGIN_ACCOUNT_FIELD_DESC = new org.apache.thrift.protocol.TField("loginAccount", org.apache.thrift.protocol.TType.STRING, (short)20);
  private static final org.apache.thrift.protocol.TField AGENT_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("agentType", org.apache.thrift.protocol.TType.I32, (short)21);
  private static final org.apache.thrift.protocol.TField MARKET_ONE_FIELD_DESC = new org.apache.thrift.protocol.TField("marketOne", org.apache.thrift.protocol.TType.STRING, (short)22);
  private static final org.apache.thrift.protocol.TField ADDRESS_REJECT_FIELD_DESC = new org.apache.thrift.protocol.TField("addressReject", org.apache.thrift.protocol.TType.STRING, (short)23);
  private static final org.apache.thrift.protocol.TField EMERGENCY_CALL_REJECT_FIELD_DESC = new org.apache.thrift.protocol.TField("emergencyCallReject", org.apache.thrift.protocol.TType.STRING, (short)24);
  private static final org.apache.thrift.protocol.TField IMAGE_BACK_CARD_REJECT_FIELD_DESC = new org.apache.thrift.protocol.TField("imageBackCardReject", org.apache.thrift.protocol.TType.STRING, (short)25);
  private static final org.apache.thrift.protocol.TField IMAGE_FRONT_CARD_REJECT_FIELD_DESC = new org.apache.thrift.protocol.TField("imageFrontCardReject", org.apache.thrift.protocol.TType.STRING, (short)26);
  private static final org.apache.thrift.protocol.TField IMAGE_USER_CARD_REJECT_FIELD_DESC = new org.apache.thrift.protocol.TField("imageUserCardReject", org.apache.thrift.protocol.TType.STRING, (short)27);
  private static final org.apache.thrift.protocol.TField NICK_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("nickName", org.apache.thrift.protocol.TType.STRING, (short)28);
  private static final org.apache.thrift.protocol.TField CREATE_DATE_TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("createDateTime", org.apache.thrift.protocol.TType.STRING, (short)29);
  private static final org.apache.thrift.protocol.TField IS_CANCEL_FIELD_DESC = new org.apache.thrift.protocol.TField("isCancel", org.apache.thrift.protocol.TType.BOOL, (short)30);
  private static final org.apache.thrift.protocol.TField AUTHED_PERCENT_FIELD_DESC = new org.apache.thrift.protocol.TField("authedPercent", org.apache.thrift.protocol.TType.STRING, (short)31);
  private static final org.apache.thrift.protocol.TField AUTH3_CONDITION_DATE_TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("auth3ConditionDateTime", org.apache.thrift.protocol.TType.STRING, (short)32);
  private static final org.apache.thrift.protocol.TField MEMBER_LEVEL_FIELD_DESC = new org.apache.thrift.protocol.TField("memberLevel", org.apache.thrift.protocol.TType.I32, (short)33);

  private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new UserInfoAuthStandardSchemeFactory();
  private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new UserInfoAuthTupleSchemeFactory();

  public String userBaseId; // required
  public String trueName; // required
  public boolean isTrueNameAuth; // required
  public String phone; // required
  public boolean isPhoneAuth; // required
  public String identityCard; // required
  public boolean IsIdentityCardAuth; // required
  public String email; // required
  public boolean isEmailAuth; // required
  public String emergencyCall; // required
  public boolean isEmergencyCallAuth; // required
  public String address; // required
  public boolean isAddressAuth; // required
  public String imageFrontCard; // required
  public boolean isImageFrontCardAuth; // required
  public String imageBackCard; // required
  public boolean isImageBackCardAuth; // required
  public String imageUserCard; // required
  public boolean isImageUserCardAuth; // required
  public String loginAccount; // required
  public AgentType agentType; // required
  public String marketOne; // required
  public String addressReject; // required
  public String emergencyCallReject; // required
  public String imageBackCardReject; // required
  public String imageFrontCardReject; // required
  public String imageUserCardReject; // required
  public String nickName; // required
  public String createDateTime; // required
  public boolean isCancel; // required
  public String authedPercent; // required
  public String auth3ConditionDateTime; // required
  public int memberLevel; // required

  /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
  public enum _Fields implements org.apache.thrift.TFieldIdEnum {
    USER_BASE_ID((short)1, "userBaseId"),
    TRUE_NAME((short)2, "trueName"),
    IS_TRUE_NAME_AUTH((short)3, "isTrueNameAuth"),
    PHONE((short)4, "phone"),
    IS_PHONE_AUTH((short)5, "isPhoneAuth"),
    IDENTITY_CARD((short)6, "identityCard"),
    IS_IDENTITY_CARD_AUTH((short)7, "IsIdentityCardAuth"),
    EMAIL((short)8, "email"),
    IS_EMAIL_AUTH((short)9, "isEmailAuth"),
    EMERGENCY_CALL((short)10, "emergencyCall"),
    IS_EMERGENCY_CALL_AUTH((short)11, "isEmergencyCallAuth"),
    ADDRESS((short)12, "address"),
    IS_ADDRESS_AUTH((short)13, "isAddressAuth"),
    IMAGE_FRONT_CARD((short)14, "imageFrontCard"),
    IS_IMAGE_FRONT_CARD_AUTH((short)15, "isImageFrontCardAuth"),
    IMAGE_BACK_CARD((short)16, "imageBackCard"),
    IS_IMAGE_BACK_CARD_AUTH((short)17, "isImageBackCardAuth"),
    IMAGE_USER_CARD((short)18, "imageUserCard"),
    IS_IMAGE_USER_CARD_AUTH((short)19, "isImageUserCardAuth"),
    LOGIN_ACCOUNT((short)20, "loginAccount"),
    AGENT_TYPE((short)21, "agentType"),
    MARKET_ONE((short)22, "marketOne"),
    ADDRESS_REJECT((short)23, "addressReject"),
    EMERGENCY_CALL_REJECT((short)24, "emergencyCallReject"),
    IMAGE_BACK_CARD_REJECT((short)25, "imageBackCardReject"),
    IMAGE_FRONT_CARD_REJECT((short)26, "imageFrontCardReject"),
    IMAGE_USER_CARD_REJECT((short)27, "imageUserCardReject"),
    NICK_NAME((short)28, "nickName"),
    CREATE_DATE_TIME((short)29, "createDateTime"),
    IS_CANCEL((short)30, "isCancel"),
    AUTHED_PERCENT((short)31, "authedPercent"),
    AUTH3_CONDITION_DATE_TIME((short)32, "auth3ConditionDateTime"),
    MEMBER_LEVEL((short)33, "memberLevel");

    private static final java.util.Map byName = new java.util.HashMap();

    static {
      for (_Fields field : java.util.EnumSet.allOf(_Fields.class)) {
        byName.put(field.getFieldName(), field);
      }
    }

    /**
     * Find the _Fields constant that matches fieldId, or null if its not found.
     */
    public static _Fields findByThriftId(int fieldId) {
      switch(fieldId) {
        case 1: // USER_BASE_ID
          return USER_BASE_ID;
        case 2: // TRUE_NAME
          return TRUE_NAME;
        case 3: // IS_TRUE_NAME_AUTH
          return IS_TRUE_NAME_AUTH;
        case 4: // PHONE
          return PHONE;
        case 5: // IS_PHONE_AUTH
          return IS_PHONE_AUTH;
        case 6: // IDENTITY_CARD
          return IDENTITY_CARD;
        case 7: // IS_IDENTITY_CARD_AUTH
          return IS_IDENTITY_CARD_AUTH;
        case 8: // EMAIL
          return EMAIL;
        case 9: // IS_EMAIL_AUTH
          return IS_EMAIL_AUTH;
        case 10: // EMERGENCY_CALL
          return EMERGENCY_CALL;
        case 11: // IS_EMERGENCY_CALL_AUTH
          return IS_EMERGENCY_CALL_AUTH;
        case 12: // ADDRESS
          return ADDRESS;
        case 13: // IS_ADDRESS_AUTH
          return IS_ADDRESS_AUTH;
        case 14: // IMAGE_FRONT_CARD
          return IMAGE_FRONT_CARD;
        case 15: // IS_IMAGE_FRONT_CARD_AUTH
          return IS_IMAGE_FRONT_CARD_AUTH;
        case 16: // IMAGE_BACK_CARD
          return IMAGE_BACK_CARD;
        case 17: // IS_IMAGE_BACK_CARD_AUTH
          return IS_IMAGE_BACK_CARD_AUTH;
        case 18: // IMAGE_USER_CARD
          return IMAGE_USER_CARD;
        case 19: // IS_IMAGE_USER_CARD_AUTH
          return IS_IMAGE_USER_CARD_AUTH;
        case 20: // LOGIN_ACCOUNT
          return LOGIN_ACCOUNT;
        case 21: // AGENT_TYPE
          return AGENT_TYPE;
        case 22: // MARKET_ONE
          return MARKET_ONE;
        case 23: // ADDRESS_REJECT
          return ADDRESS_REJECT;
        case 24: // EMERGENCY_CALL_REJECT
          return EMERGENCY_CALL_REJECT;
        case 25: // IMAGE_BACK_CARD_REJECT
          return IMAGE_BACK_CARD_REJECT;
        case 26: // IMAGE_FRONT_CARD_REJECT
          return IMAGE_FRONT_CARD_REJECT;
        case 27: // IMAGE_USER_CARD_REJECT
          return IMAGE_USER_CARD_REJECT;
        case 28: // NICK_NAME
          return NICK_NAME;
        case 29: // CREATE_DATE_TIME
          return CREATE_DATE_TIME;
        case 30: // IS_CANCEL
          return IS_CANCEL;
        case 31: // AUTHED_PERCENT
          return AUTHED_PERCENT;
        case 32: // AUTH3_CONDITION_DATE_TIME
          return AUTH3_CONDITION_DATE_TIME;
        case 33: // MEMBER_LEVEL
          return MEMBER_LEVEL;
        default:
          return null;
      }
    }

    /**
     * Find the _Fields constant that matches fieldId, throwing an exception
     * if it is not found.
     */
    public static _Fields findByThriftIdOrThrow(int fieldId) {
      _Fields fields = findByThriftId(fieldId);
      if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
      return fields;
    }

    /**
     * Find the _Fields constant that matches name, or null if its not found.
     */
    public static _Fields findByName(String name) {
      return byName.get(name);
    }

    private final short _thriftId;
    private final String _fieldName;

    _Fields(short thriftId, String fieldName) {
      _thriftId = thriftId;
      _fieldName = fieldName;
    }

    public short getThriftFieldId() {
      return _thriftId;
    }

    public String getFieldName() {
      return _fieldName;
    }
  }

  // isset id assignments
  private static final int __ISTRUENAMEAUTH_ISSET_ID = 0;
  private static final int __ISPHONEAUTH_ISSET_ID = 1;
  private static final int __ISIDENTITYCARDAUTH_ISSET_ID = 2;
  private static final int __ISEMAILAUTH_ISSET_ID = 3;
  private static final int __ISEMERGENCYCALLAUTH_ISSET_ID = 4;
  private static final int __ISADDRESSAUTH_ISSET_ID = 5;
  private static final int __ISIMAGEFRONTCARDAUTH_ISSET_ID = 6;
  private static final int __ISIMAGEBACKCARDAUTH_ISSET_ID = 7;
  private static final int __ISIMAGEUSERCARDAUTH_ISSET_ID = 8;
  private static final int __ISCANCEL_ISSET_ID = 9;
  private static final int __MEMBERLEVEL_ISSET_ID = 10;
  private short __isset_bitfield = 0;
  public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
  static {
    java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
    tmpMap.put(_Fields.USER_BASE_ID, new org.apache.thrift.meta_data.FieldMetaData("userBaseId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
    tmpMap.put(_Fields.TRUE_NAME, new org.apache.thrift.meta_data.FieldMetaData("trueName", org.apache.thrift.TFieldRequirementType.DEFAULT, 
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
    tmpMap.put(_Fields.IS_TRUE_NAME_AUTH, new org.apache.thrift.meta_data.FieldMetaData("isTrueNameAuth", org.apache.thrift.TFieldRequirementType.DEFAULT, 
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
    tmpMap.put(_Fields.PHONE, new org.apache.thrift.meta_data.FieldMetaData("phone", org.apache.thrift.TFieldRequirementType.DEFAULT, 
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
    tmpMap.put(_Fields.IS_PHONE_AUTH, new org.apache.thrift.meta_data.FieldMetaData("isPhoneAuth", org.apache.thrift.TFieldRequirementType.DEFAULT, 
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
    tmpMap.put(_Fields.IDENTITY_CARD, new org.apache.thrift.meta_data.FieldMetaData("identityCard", org.apache.thrift.TFieldRequirementType.DEFAULT, 
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
    tmpMap.put(_Fields.IS_IDENTITY_CARD_AUTH, new org.apache.thrift.meta_data.FieldMetaData("IsIdentityCardAuth", org.apache.thrift.TFieldRequirementType.DEFAULT, 
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
    tmpMap.put(_Fields.EMAIL, new org.apache.thrift.meta_data.FieldMetaData("email", org.apache.thrift.TFieldRequirementType.DEFAULT, 
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
    tmpMap.put(_Fields.IS_EMAIL_AUTH, new org.apache.thrift.meta_data.FieldMetaData("isEmailAuth", org.apache.thrift.TFieldRequirementType.DEFAULT, 
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
    tmpMap.put(_Fields.EMERGENCY_CALL, new org.apache.thrift.meta_data.FieldMetaData("emergencyCall", org.apache.thrift.TFieldRequirementType.DEFAULT, 
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
    tmpMap.put(_Fields.IS_EMERGENCY_CALL_AUTH, new org.apache.thrift.meta_data.FieldMetaData("isEmergencyCallAuth", org.apache.thrift.TFieldRequirementType.DEFAULT, 
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
    tmpMap.put(_Fields.ADDRESS, new org.apache.thrift.meta_data.FieldMetaData("address", org.apache.thrift.TFieldRequirementType.DEFAULT, 
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
    tmpMap.put(_Fields.IS_ADDRESS_AUTH, new org.apache.thrift.meta_data.FieldMetaData("isAddressAuth", org.apache.thrift.TFieldRequirementType.DEFAULT, 
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
    tmpMap.put(_Fields.IMAGE_FRONT_CARD, new org.apache.thrift.meta_data.FieldMetaData("imageFrontCard", org.apache.thrift.TFieldRequirementType.DEFAULT, 
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
    tmpMap.put(_Fields.IS_IMAGE_FRONT_CARD_AUTH, new org.apache.thrift.meta_data.FieldMetaData("isImageFrontCardAuth", org.apache.thrift.TFieldRequirementType.DEFAULT, 
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
    tmpMap.put(_Fields.IMAGE_BACK_CARD, new org.apache.thrift.meta_data.FieldMetaData("imageBackCard", org.apache.thrift.TFieldRequirementType.DEFAULT, 
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
    tmpMap.put(_Fields.IS_IMAGE_BACK_CARD_AUTH, new org.apache.thrift.meta_data.FieldMetaData("isImageBackCardAuth", org.apache.thrift.TFieldRequirementType.DEFAULT, 
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
    tmpMap.put(_Fields.IMAGE_USER_CARD, new org.apache.thrift.meta_data.FieldMetaData("imageUserCard", org.apache.thrift.TFieldRequirementType.DEFAULT, 
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
    tmpMap.put(_Fields.IS_IMAGE_USER_CARD_AUTH, new org.apache.thrift.meta_data.FieldMetaData("isImageUserCardAuth", org.apache.thrift.TFieldRequirementType.DEFAULT, 
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
    tmpMap.put(_Fields.LOGIN_ACCOUNT, new org.apache.thrift.meta_data.FieldMetaData("loginAccount", org.apache.thrift.TFieldRequirementType.DEFAULT, 
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
    tmpMap.put(_Fields.AGENT_TYPE, new org.apache.thrift.meta_data.FieldMetaData("agentType", org.apache.thrift.TFieldRequirementType.DEFAULT, 
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.ENUM        , "AgentType")));
    tmpMap.put(_Fields.MARKET_ONE, new org.apache.thrift.meta_data.FieldMetaData("marketOne", org.apache.thrift.TFieldRequirementType.DEFAULT, 
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
    tmpMap.put(_Fields.ADDRESS_REJECT, new org.apache.thrift.meta_data.FieldMetaData("addressReject", org.apache.thrift.TFieldRequirementType.DEFAULT, 
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
    tmpMap.put(_Fields.EMERGENCY_CALL_REJECT, new org.apache.thrift.meta_data.FieldMetaData("emergencyCallReject", org.apache.thrift.TFieldRequirementType.DEFAULT, 
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
    tmpMap.put(_Fields.IMAGE_BACK_CARD_REJECT, new org.apache.thrift.meta_data.FieldMetaData("imageBackCardReject", org.apache.thrift.TFieldRequirementType.DEFAULT, 
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
    tmpMap.put(_Fields.IMAGE_FRONT_CARD_REJECT, new org.apache.thrift.meta_data.FieldMetaData("imageFrontCardReject", org.apache.thrift.TFieldRequirementType.DEFAULT, 
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
    tmpMap.put(_Fields.IMAGE_USER_CARD_REJECT, new org.apache.thrift.meta_data.FieldMetaData("imageUserCardReject", org.apache.thrift.TFieldRequirementType.DEFAULT, 
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
    tmpMap.put(_Fields.NICK_NAME, new org.apache.thrift.meta_data.FieldMetaData("nickName", org.apache.thrift.TFieldRequirementType.DEFAULT, 
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
    tmpMap.put(_Fields.CREATE_DATE_TIME, new org.apache.thrift.meta_data.FieldMetaData("createDateTime", org.apache.thrift.TFieldRequirementType.DEFAULT, 
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
    tmpMap.put(_Fields.IS_CANCEL, new org.apache.thrift.meta_data.FieldMetaData("isCancel", org.apache.thrift.TFieldRequirementType.DEFAULT, 
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
    tmpMap.put(_Fields.AUTHED_PERCENT, new org.apache.thrift.meta_data.FieldMetaData("authedPercent", org.apache.thrift.TFieldRequirementType.DEFAULT, 
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
    tmpMap.put(_Fields.AUTH3_CONDITION_DATE_TIME, new org.apache.thrift.meta_data.FieldMetaData("auth3ConditionDateTime", org.apache.thrift.TFieldRequirementType.DEFAULT, 
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
    tmpMap.put(_Fields.MEMBER_LEVEL, new org.apache.thrift.meta_data.FieldMetaData("memberLevel", org.apache.thrift.TFieldRequirementType.DEFAULT, 
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32)));
    metaDataMap = java.util.Collections.unmodifiableMap(tmpMap);
    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(UserInfoAuth.class, metaDataMap);
  }

  public UserInfoAuth() {
  }

  public UserInfoAuth(
    String userBaseId,
    String trueName,
    boolean isTrueNameAuth,
    String phone,
    boolean isPhoneAuth,
    String identityCard,
    boolean IsIdentityCardAuth,
    String email,
    boolean isEmailAuth,
    String emergencyCall,
    boolean isEmergencyCallAuth,
    String address,
    boolean isAddressAuth,
    String imageFrontCard,
    boolean isImageFrontCardAuth,
    String imageBackCard,
    boolean isImageBackCardAuth,
    String imageUserCard,
    boolean isImageUserCardAuth,
    String loginAccount,
    AgentType agentType,
    String marketOne,
    String addressReject,
    String emergencyCallReject,
    String imageBackCardReject,
    String imageFrontCardReject,
    String imageUserCardReject,
    String nickName,
    String createDateTime,
    boolean isCancel,
    String authedPercent,
    String auth3ConditionDateTime,
    int memberLevel)
  {
    this();
    this.userBaseId = userBaseId;
    this.trueName = trueName;
    this.isTrueNameAuth = isTrueNameAuth;
    setIsTrueNameAuthIsSet(true);
    this.phone = phone;
    this.isPhoneAuth = isPhoneAuth;
    setIsPhoneAuthIsSet(true);
    this.identityCard = identityCard;
    this.IsIdentityCardAuth = IsIdentityCardAuth;
    setIsIdentityCardAuthIsSet(true);
    this.email = email;
    this.isEmailAuth = isEmailAuth;
    setIsEmailAuthIsSet(true);
    this.emergencyCall = emergencyCall;
    this.isEmergencyCallAuth = isEmergencyCallAuth;
    setIsEmergencyCallAuthIsSet(true);
    this.address = address;
    this.isAddressAuth = isAddressAuth;
    setIsAddressAuthIsSet(true);
    this.imageFrontCard = imageFrontCard;
    this.isImageFrontCardAuth = isImageFrontCardAuth;
    setIsImageFrontCardAuthIsSet(true);
    this.imageBackCard = imageBackCard;
    this.isImageBackCardAuth = isImageBackCardAuth;
    setIsImageBackCardAuthIsSet(true);
    this.imageUserCard = imageUserCard;
    this.isImageUserCardAuth = isImageUserCardAuth;
    setIsImageUserCardAuthIsSet(true);
    this.loginAccount = loginAccount;
    this.agentType = agentType;
    this.marketOne = marketOne;
    this.addressReject = addressReject;
    this.emergencyCallReject = emergencyCallReject;
    this.imageBackCardReject = imageBackCardReject;
    this.imageFrontCardReject = imageFrontCardReject;
    this.imageUserCardReject = imageUserCardReject;
    this.nickName = nickName;
    this.createDateTime = createDateTime;
    this.isCancel = isCancel;
    setIsCancelIsSet(true);
    this.authedPercent = authedPercent;
    this.auth3ConditionDateTime = auth3ConditionDateTime;
    this.memberLevel = memberLevel;
    setMemberLevelIsSet(true);
  }

  /**
   * Performs a deep copy on other.
   */
  public UserInfoAuth(UserInfoAuth other) {
    __isset_bitfield = other.__isset_bitfield;
    if (other.isSetUserBaseId()) {
      this.userBaseId = other.userBaseId;
    }
    if (other.isSetTrueName()) {
      this.trueName = other.trueName;
    }
    this.isTrueNameAuth = other.isTrueNameAuth;
    if (other.isSetPhone()) {
      this.phone = other.phone;
    }
    this.isPhoneAuth = other.isPhoneAuth;
    if (other.isSetIdentityCard()) {
      this.identityCard = other.identityCard;
    }
    this.IsIdentityCardAuth = other.IsIdentityCardAuth;
    if (other.isSetEmail()) {
      this.email = other.email;
    }
    this.isEmailAuth = other.isEmailAuth;
    if (other.isSetEmergencyCall()) {
      this.emergencyCall = other.emergencyCall;
    }
    this.isEmergencyCallAuth = other.isEmergencyCallAuth;
    if (other.isSetAddress()) {
      this.address = other.address;
    }
    this.isAddressAuth = other.isAddressAuth;
    if (other.isSetImageFrontCard()) {
      this.imageFrontCard = other.imageFrontCard;
    }
    this.isImageFrontCardAuth = other.isImageFrontCardAuth;
    if (other.isSetImageBackCard()) {
      this.imageBackCard = other.imageBackCard;
    }
    this.isImageBackCardAuth = other.isImageBackCardAuth;
    if (other.isSetImageUserCard()) {
      this.imageUserCard = other.imageUserCard;
    }
    this.isImageUserCardAuth = other.isImageUserCardAuth;
    if (other.isSetLoginAccount()) {
      this.loginAccount = other.loginAccount;
    }
    if (other.isSetAgentType()) {
      this.agentType = other.agentType;
    }
    if (other.isSetMarketOne()) {
      this.marketOne = other.marketOne;
    }
    if (other.isSetAddressReject()) {
      this.addressReject = other.addressReject;
    }
    if (other.isSetEmergencyCallReject()) {
      this.emergencyCallReject = other.emergencyCallReject;
    }
    if (other.isSetImageBackCardReject()) {
      this.imageBackCardReject = other.imageBackCardReject;
    }
    if (other.isSetImageFrontCardReject()) {
      this.imageFrontCardReject = other.imageFrontCardReject;
    }
    if (other.isSetImageUserCardReject()) {
      this.imageUserCardReject = other.imageUserCardReject;
    }
    if (other.isSetNickName()) {
      this.nickName = other.nickName;
    }
    if (other.isSetCreateDateTime()) {
      this.createDateTime = other.createDateTime;
    }
    this.isCancel = other.isCancel;
    if (other.isSetAuthedPercent()) {
      this.authedPercent = other.authedPercent;
    }
    if (other.isSetAuth3ConditionDateTime()) {
      this.auth3ConditionDateTime = other.auth3ConditionDateTime;
    }
    this.memberLevel = other.memberLevel;
  }

  public UserInfoAuth deepCopy() {
    return new UserInfoAuth(this);
  }

  @Override
  public void clear() {
    this.userBaseId = null;
    this.trueName = null;
    setIsTrueNameAuthIsSet(false);
    this.isTrueNameAuth = false;
    this.phone = null;
    setIsPhoneAuthIsSet(false);
    this.isPhoneAuth = false;
    this.identityCard = null;
    setIsIdentityCardAuthIsSet(false);
    this.IsIdentityCardAuth = false;
    this.email = null;
    setIsEmailAuthIsSet(false);
    this.isEmailAuth = false;
    this.emergencyCall = null;
    setIsEmergencyCallAuthIsSet(false);
    this.isEmergencyCallAuth = false;
    this.address = null;
    setIsAddressAuthIsSet(false);
    this.isAddressAuth = false;
    this.imageFrontCard = null;
    setIsImageFrontCardAuthIsSet(false);
    this.isImageFrontCardAuth = false;
    this.imageBackCard = null;
    setIsImageBackCardAuthIsSet(false);
    this.isImageBackCardAuth = false;
    this.imageUserCard = null;
    setIsImageUserCardAuthIsSet(false);
    this.isImageUserCardAuth = false;
    this.loginAccount = null;
    this.agentType = null;
    this.marketOne = null;
    this.addressReject = null;
    this.emergencyCallReject = null;
    this.imageBackCardReject = null;
    this.imageFrontCardReject = null;
    this.imageUserCardReject = null;
    this.nickName = null;
    this.createDateTime = null;
    setIsCancelIsSet(false);
    this.isCancel = false;
    this.authedPercent = null;
    this.auth3ConditionDateTime = null;
    setMemberLevelIsSet(false);
    this.memberLevel = 0;
  }

  public String getUserBaseId() {
    return this.userBaseId;
  }

  public UserInfoAuth setUserBaseId(String userBaseId) {
    this.userBaseId = userBaseId;
    return this;
  }

  public void unsetUserBaseId() {
    this.userBaseId = null;
  }

  /** Returns true if field userBaseId is set (has been assigned a value) and false otherwise */
  public boolean isSetUserBaseId() {
    return this.userBaseId != null;
  }

  public void setUserBaseIdIsSet(boolean value) {
    if (!value) {
      this.userBaseId = null;
    }
  }

  public String getTrueName() {
    return this.trueName;
  }

  public UserInfoAuth setTrueName(String trueName) {
    this.trueName = trueName;
    return this;
  }

  public void unsetTrueName() {
    this.trueName = null;
  }

  /** Returns true if field trueName is set (has been assigned a value) and false otherwise */
  public boolean isSetTrueName() {
    return this.trueName != null;
  }

  public void setTrueNameIsSet(boolean value) {
    if (!value) {
      this.trueName = null;
    }
  }

  public boolean isIsTrueNameAuth() {
    return this.isTrueNameAuth;
  }

  public UserInfoAuth setIsTrueNameAuth(boolean isTrueNameAuth) {
    this.isTrueNameAuth = isTrueNameAuth;
    setIsTrueNameAuthIsSet(true);
    return this;
  }

  public void unsetIsTrueNameAuth() {
    __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __ISTRUENAMEAUTH_ISSET_ID);
  }

  /** Returns true if field isTrueNameAuth is set (has been assigned a value) and false otherwise */
  public boolean isSetIsTrueNameAuth() {
    return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __ISTRUENAMEAUTH_ISSET_ID);
  }

  public void setIsTrueNameAuthIsSet(boolean value) {
    __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __ISTRUENAMEAUTH_ISSET_ID, value);
  }

  public String getPhone() {
    return this.phone;
  }

  public UserInfoAuth setPhone(String phone) {
    this.phone = phone;
    return this;
  }

  public void unsetPhone() {
    this.phone = null;
  }

  /** Returns true if field phone is set (has been assigned a value) and false otherwise */
  public boolean isSetPhone() {
    return this.phone != null;
  }

  public void setPhoneIsSet(boolean value) {
    if (!value) {
      this.phone = null;
    }
  }

  public boolean isIsPhoneAuth() {
    return this.isPhoneAuth;
  }

  public UserInfoAuth setIsPhoneAuth(boolean isPhoneAuth) {
    this.isPhoneAuth = isPhoneAuth;
    setIsPhoneAuthIsSet(true);
    return this;
  }

  public void unsetIsPhoneAuth() {
    __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __ISPHONEAUTH_ISSET_ID);
  }

  /** Returns true if field isPhoneAuth is set (has been assigned a value) and false otherwise */
  public boolean isSetIsPhoneAuth() {
    return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __ISPHONEAUTH_ISSET_ID);
  }

  public void setIsPhoneAuthIsSet(boolean value) {
    __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __ISPHONEAUTH_ISSET_ID, value);
  }

  public String getIdentityCard() {
    return this.identityCard;
  }

  public UserInfoAuth setIdentityCard(String identityCard) {
    this.identityCard = identityCard;
    return this;
  }

  public void unsetIdentityCard() {
    this.identityCard = null;
  }

  /** Returns true if field identityCard is set (has been assigned a value) and false otherwise */
  public boolean isSetIdentityCard() {
    return this.identityCard != null;
  }

  public void setIdentityCardIsSet(boolean value) {
    if (!value) {
      this.identityCard = null;
    }
  }

  public boolean isIsIdentityCardAuth() {
    return this.IsIdentityCardAuth;
  }

  public UserInfoAuth setIsIdentityCardAuth(boolean IsIdentityCardAuth) {
    this.IsIdentityCardAuth = IsIdentityCardAuth;
    setIsIdentityCardAuthIsSet(true);
    return this;
  }

  public void unsetIsIdentityCardAuth() {
    __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __ISIDENTITYCARDAUTH_ISSET_ID);
  }

  /** Returns true if field IsIdentityCardAuth is set (has been assigned a value) and false otherwise */
  public boolean isSetIsIdentityCardAuth() {
    return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __ISIDENTITYCARDAUTH_ISSET_ID);
  }

  public void setIsIdentityCardAuthIsSet(boolean value) {
    __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __ISIDENTITYCARDAUTH_ISSET_ID, value);
  }

  public String getEmail() {
    return this.email;
  }

  public UserInfoAuth setEmail(String email) {
    this.email = email;
    return this;
  }

  public void unsetEmail() {
    this.email = null;
  }

  /** Returns true if field email is set (has been assigned a value) and false otherwise */
  public boolean isSetEmail() {
    return this.email != null;
  }

  public void setEmailIsSet(boolean value) {
    if (!value) {
      this.email = null;
    }
  }

  public boolean isIsEmailAuth() {
    return this.isEmailAuth;
  }

  public UserInfoAuth setIsEmailAuth(boolean isEmailAuth) {
    this.isEmailAuth = isEmailAuth;
    setIsEmailAuthIsSet(true);
    return this;
  }

  public void unsetIsEmailAuth() {
    __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __ISEMAILAUTH_ISSET_ID);
  }

  /** Returns true if field isEmailAuth is set (has been assigned a value) and false otherwise */
  public boolean isSetIsEmailAuth() {
    return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __ISEMAILAUTH_ISSET_ID);
  }

  public void setIsEmailAuthIsSet(boolean value) {
    __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __ISEMAILAUTH_ISSET_ID, value);
  }

  public String getEmergencyCall() {
    return this.emergencyCall;
  }

  public UserInfoAuth setEmergencyCall(String emergencyCall) {
    this.emergencyCall = emergencyCall;
    return this;
  }

  public void unsetEmergencyCall() {
    this.emergencyCall = null;
  }

  /** Returns true if field emergencyCall is set (has been assigned a value) and false otherwise */
  public boolean isSetEmergencyCall() {
    return this.emergencyCall != null;
  }

  public void setEmergencyCallIsSet(boolean value) {
    if (!value) {
      this.emergencyCall = null;
    }
  }

  public boolean isIsEmergencyCallAuth() {
    return this.isEmergencyCallAuth;
  }

  public UserInfoAuth setIsEmergencyCallAuth(boolean isEmergencyCallAuth) {
    this.isEmergencyCallAuth = isEmergencyCallAuth;
    setIsEmergencyCallAuthIsSet(true);
    return this;
  }

  public void unsetIsEmergencyCallAuth() {
    __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __ISEMERGENCYCALLAUTH_ISSET_ID);
  }

  /** Returns true if field isEmergencyCallAuth is set (has been assigned a value) and false otherwise */
  public boolean isSetIsEmergencyCallAuth() {
    return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __ISEMERGENCYCALLAUTH_ISSET_ID);
  }

  public void setIsEmergencyCallAuthIsSet(boolean value) {
    __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __ISEMERGENCYCALLAUTH_ISSET_ID, value);
  }

  public String getAddress() {
    return this.address;
  }

  public UserInfoAuth setAddress(String address) {
    this.address = address;
    return this;
  }

  public void unsetAddress() {
    this.address = null;
  }

  /** Returns true if field address is set (has been assigned a value) and false otherwise */
  public boolean isSetAddress() {
    return this.address != null;
  }

  public void setAddressIsSet(boolean value) {
    if (!value) {
      this.address = null;
    }
  }

  public boolean isIsAddressAuth() {
    return this.isAddressAuth;
  }

  public UserInfoAuth setIsAddressAuth(boolean isAddressAuth) {
    this.isAddressAuth = isAddressAuth;
    setIsAddressAuthIsSet(true);
    return this;
  }

  public void unsetIsAddressAuth() {
    __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __ISADDRESSAUTH_ISSET_ID);
  }

  /** Returns true if field isAddressAuth is set (has been assigned a value) and false otherwise */
  public boolean isSetIsAddressAuth() {
    return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __ISADDRESSAUTH_ISSET_ID);
  }

  public void setIsAddressAuthIsSet(boolean value) {
    __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __ISADDRESSAUTH_ISSET_ID, value);
  }

  public String getImageFrontCard() {
    return this.imageFrontCard;
  }

  public UserInfoAuth setImageFrontCard(String imageFrontCard) {
    this.imageFrontCard = imageFrontCard;
    return this;
  }

  public void unsetImageFrontCard() {
    this.imageFrontCard = null;
  }

  /** Returns true if field imageFrontCard is set (has been assigned a value) and false otherwise */
  public boolean isSetImageFrontCard() {
    return this.imageFrontCard != null;
  }

  public void setImageFrontCardIsSet(boolean value) {
    if (!value) {
      this.imageFrontCard = null;
    }
  }

  public boolean isIsImageFrontCardAuth() {
    return this.isImageFrontCardAuth;
  }

  public UserInfoAuth setIsImageFrontCardAuth(boolean isImageFrontCardAuth) {
    this.isImageFrontCardAuth = isImageFrontCardAuth;
    setIsImageFrontCardAuthIsSet(true);
    return this;
  }

  public void unsetIsImageFrontCardAuth() {
    __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __ISIMAGEFRONTCARDAUTH_ISSET_ID);
  }

  /** Returns true if field isImageFrontCardAuth is set (has been assigned a value) and false otherwise */
  public boolean isSetIsImageFrontCardAuth() {
    return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __ISIMAGEFRONTCARDAUTH_ISSET_ID);
  }

  public void setIsImageFrontCardAuthIsSet(boolean value) {
    __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __ISIMAGEFRONTCARDAUTH_ISSET_ID, value);
  }

  public String getImageBackCard() {
    return this.imageBackCard;
  }

  public UserInfoAuth setImageBackCard(String imageBackCard) {
    this.imageBackCard = imageBackCard;
    return this;
  }

  public void unsetImageBackCard() {
    this.imageBackCard = null;
  }

  /** Returns true if field imageBackCard is set (has been assigned a value) and false otherwise */
  public boolean isSetImageBackCard() {
    return this.imageBackCard != null;
  }

  public void setImageBackCardIsSet(boolean value) {
    if (!value) {
      this.imageBackCard = null;
    }
  }

  public boolean isIsImageBackCardAuth() {
    return this.isImageBackCardAuth;
  }

  public UserInfoAuth setIsImageBackCardAuth(boolean isImageBackCardAuth) {
    this.isImageBackCardAuth = isImageBackCardAuth;
    setIsImageBackCardAuthIsSet(true);
    return this;
  }

  public void unsetIsImageBackCardAuth() {
    __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __ISIMAGEBACKCARDAUTH_ISSET_ID);
  }

  /** Returns true if field isImageBackCardAuth is set (has been assigned a value) and false otherwise */
  public boolean isSetIsImageBackCardAuth() {
    return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __ISIMAGEBACKCARDAUTH_ISSET_ID);
  }

  public void setIsImageBackCardAuthIsSet(boolean value) {
    __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __ISIMAGEBACKCARDAUTH_ISSET_ID, value);
  }

  public String getImageUserCard() {
    return this.imageUserCard;
  }

  public UserInfoAuth setImageUserCard(String imageUserCard) {
    this.imageUserCard = imageUserCard;
    return this;
  }

  public void unsetImageUserCard() {
    this.imageUserCard = null;
  }

  /** Returns true if field imageUserCard is set (has been assigned a value) and false otherwise */
  public boolean isSetImageUserCard() {
    return this.imageUserCard != null;
  }

  public void setImageUserCardIsSet(boolean value) {
    if (!value) {
      this.imageUserCard = null;
    }
  }

  public boolean isIsImageUserCardAuth() {
    return this.isImageUserCardAuth;
  }

  public UserInfoAuth setIsImageUserCardAuth(boolean isImageUserCardAuth) {
    this.isImageUserCardAuth = isImageUserCardAuth;
    setIsImageUserCardAuthIsSet(true);
    return this;
  }

  public void unsetIsImageUserCardAuth() {
    __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __ISIMAGEUSERCARDAUTH_ISSET_ID);
  }

  /** Returns true if field isImageUserCardAuth is set (has been assigned a value) and false otherwise */
  public boolean isSetIsImageUserCardAuth() {
    return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __ISIMAGEUSERCARDAUTH_ISSET_ID);
  }

  public void setIsImageUserCardAuthIsSet(boolean value) {
    __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __ISIMAGEUSERCARDAUTH_ISSET_ID, value);
  }

  public String getLoginAccount() {
    return this.loginAccount;
  }

  public UserInfoAuth setLoginAccount(String loginAccount) {
    this.loginAccount = loginAccount;
    return this;
  }

  public void unsetLoginAccount() {
    this.loginAccount = null;
  }

  /** Returns true if field loginAccount is set (has been assigned a value) and false otherwise */
  public boolean isSetLoginAccount() {
    return this.loginAccount != null;
  }

  public void setLoginAccountIsSet(boolean value) {
    if (!value) {
      this.loginAccount = null;
    }
  }

  public AgentType getAgentType() {
    return this.agentType;
  }

  public UserInfoAuth setAgentType(AgentType agentType) {
    this.agentType = agentType;
    return this;
  }

  public void unsetAgentType() {
    this.agentType = null;
  }

  /** Returns true if field agentType is set (has been assigned a value) and false otherwise */
  public boolean isSetAgentType() {
    return this.agentType != null;
  }

  public void setAgentTypeIsSet(boolean value) {
    if (!value) {
      this.agentType = null;
    }
  }

  public String getMarketOne() {
    return this.marketOne;
  }

  public UserInfoAuth setMarketOne(String marketOne) {
    this.marketOne = marketOne;
    return this;
  }

  public void unsetMarketOne() {
    this.marketOne = null;
  }

  /** Returns true if field marketOne is set (has been assigned a value) and false otherwise */
  public boolean isSetMarketOne() {
    return this.marketOne != null;
  }

  public void setMarketOneIsSet(boolean value) {
    if (!value) {
      this.marketOne = null;
    }
  }

  public String getAddressReject() {
    return this.addressReject;
  }

  public UserInfoAuth setAddressReject(String addressReject) {
    this.addressReject = addressReject;
    return this;
  }

  public void unsetAddressReject() {
    this.addressReject = null;
  }

  /** Returns true if field addressReject is set (has been assigned a value) and false otherwise */
  public boolean isSetAddressReject() {
    return this.addressReject != null;
  }

  public void setAddressRejectIsSet(boolean value) {
    if (!value) {
      this.addressReject = null;
    }
  }

  public String getEmergencyCallReject() {
    return this.emergencyCallReject;
  }

  public UserInfoAuth setEmergencyCallReject(String emergencyCallReject) {
    this.emergencyCallReject = emergencyCallReject;
    return this;
  }

  public void unsetEmergencyCallReject() {
    this.emergencyCallReject = null;
  }

  /** Returns true if field emergencyCallReject is set (has been assigned a value) and false otherwise */
  public boolean isSetEmergencyCallReject() {
    return this.emergencyCallReject != null;
  }

  public void setEmergencyCallRejectIsSet(boolean value) {
    if (!value) {
      this.emergencyCallReject = null;
    }
  }

  public String getImageBackCardReject() {
    return this.imageBackCardReject;
  }

  public UserInfoAuth setImageBackCardReject(String imageBackCardReject) {
    this.imageBackCardReject = imageBackCardReject;
    return this;
  }

  public void unsetImageBackCardReject() {
    this.imageBackCardReject = null;
  }

  /** Returns true if field imageBackCardReject is set (has been assigned a value) and false otherwise */
  public boolean isSetImageBackCardReject() {
    return this.imageBackCardReject != null;
  }

  public void setImageBackCardRejectIsSet(boolean value) {
    if (!value) {
      this.imageBackCardReject = null;
    }
  }

  public String getImageFrontCardReject() {
    return this.imageFrontCardReject;
  }

  public UserInfoAuth setImageFrontCardReject(String imageFrontCardReject) {
    this.imageFrontCardReject = imageFrontCardReject;
    return this;
  }

  public void unsetImageFrontCardReject() {
    this.imageFrontCardReject = null;
  }

  /** Returns true if field imageFrontCardReject is set (has been assigned a value) and false otherwise */
  public boolean isSetImageFrontCardReject() {
    return this.imageFrontCardReject != null;
  }

  public void setImageFrontCardRejectIsSet(boolean value) {
    if (!value) {
      this.imageFrontCardReject = null;
    }
  }

  public String getImageUserCardReject() {
    return this.imageUserCardReject;
  }

  public UserInfoAuth setImageUserCardReject(String imageUserCardReject) {
    this.imageUserCardReject = imageUserCardReject;
    return this;
  }

  public void unsetImageUserCardReject() {
    this.imageUserCardReject = null;
  }

  /** Returns true if field imageUserCardReject is set (has been assigned a value) and false otherwise */
  public boolean isSetImageUserCardReject() {
    return this.imageUserCardReject != null;
  }

  public void setImageUserCardRejectIsSet(boolean value) {
    if (!value) {
      this.imageUserCardReject = null;
    }
  }

  public String getNickName() {
    return this.nickName;
  }

  public UserInfoAuth setNickName(String nickName) {
    this.nickName = nickName;
    return this;
  }

  public void unsetNickName() {
    this.nickName = null;
  }

  /** Returns true if field nickName is set (has been assigned a value) and false otherwise */
  public boolean isSetNickName() {
    return this.nickName != null;
  }

  public void setNickNameIsSet(boolean value) {
    if (!value) {
      this.nickName = null;
    }
  }

  public String getCreateDateTime() {
    return this.createDateTime;
  }

  public UserInfoAuth setCreateDateTime(String createDateTime) {
    this.createDateTime = createDateTime;
    return this;
  }

  public void unsetCreateDateTime() {
    this.createDateTime = null;
  }

  /** Returns true if field createDateTime is set (has been assigned a value) and false otherwise */
  public boolean isSetCreateDateTime() {
    return this.createDateTime != null;
  }

  public void setCreateDateTimeIsSet(boolean value) {
    if (!value) {
      this.createDateTime = null;
    }
  }

  public boolean isIsCancel() {
    return this.isCancel;
  }

  public UserInfoAuth setIsCancel(boolean isCancel) {
    this.isCancel = isCancel;
    setIsCancelIsSet(true);
    return this;
  }

  public void unsetIsCancel() {
    __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __ISCANCEL_ISSET_ID);
  }

  /** Returns true if field isCancel is set (has been assigned a value) and false otherwise */
  public boolean isSetIsCancel() {
    return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __ISCANCEL_ISSET_ID);
  }

  public void setIsCancelIsSet(boolean value) {
    __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __ISCANCEL_ISSET_ID, value);
  }

  public String getAuthedPercent() {
    return this.authedPercent;
  }

  public UserInfoAuth setAuthedPercent(String authedPercent) {
    this.authedPercent = authedPercent;
    return this;
  }

  public void unsetAuthedPercent() {
    this.authedPercent = null;
  }

  /** Returns true if field authedPercent is set (has been assigned a value) and false otherwise */
  public boolean isSetAuthedPercent() {
    return this.authedPercent != null;
  }

  public void setAuthedPercentIsSet(boolean value) {
    if (!value) {
      this.authedPercent = null;
    }
  }

  public String getAuth3ConditionDateTime() {
    return this.auth3ConditionDateTime;
  }

  public UserInfoAuth setAuth3ConditionDateTime(String auth3ConditionDateTime) {
    this.auth3ConditionDateTime = auth3ConditionDateTime;
    return this;
  }

  public void unsetAuth3ConditionDateTime() {
    this.auth3ConditionDateTime = null;
  }

  /** Returns true if field auth3ConditionDateTime is set (has been assigned a value) and false otherwise */
  public boolean isSetAuth3ConditionDateTime() {
    return this.auth3ConditionDateTime != null;
  }

  public void setAuth3ConditionDateTimeIsSet(boolean value) {
    if (!value) {
      this.auth3ConditionDateTime = null;
    }
  }

  public int getMemberLevel() {
    return this.memberLevel;
  }

  public UserInfoAuth setMemberLevel(int memberLevel) {
    this.memberLevel = memberLevel;
    setMemberLevelIsSet(true);
    return this;
  }

  public void unsetMemberLevel() {
    __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __MEMBERLEVEL_ISSET_ID);
  }

  /** Returns true if field memberLevel is set (has been assigned a value) and false otherwise */
  public boolean isSetMemberLevel() {
    return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __MEMBERLEVEL_ISSET_ID);
  }

  public void setMemberLevelIsSet(boolean value) {
    __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __MEMBERLEVEL_ISSET_ID, value);
  }

  public void setFieldValue(_Fields field, Object value) {
    switch (field) {
    case USER_BASE_ID:
      if (value == null) {
        unsetUserBaseId();
      } else {
        setUserBaseId((String)value);
      }
      break;

    case TRUE_NAME:
      if (value == null) {
        unsetTrueName();
      } else {
        setTrueName((String)value);
      }
      break;

    case IS_TRUE_NAME_AUTH:
      if (value == null) {
        unsetIsTrueNameAuth();
      } else {
        setIsTrueNameAuth((Boolean)value);
      }
      break;

    case PHONE:
      if (value == null) {
        unsetPhone();
      } else {
        setPhone((String)value);
      }
      break;

    case IS_PHONE_AUTH:
      if (value == null) {
        unsetIsPhoneAuth();
      } else {
        setIsPhoneAuth((Boolean)value);
      }
      break;

    case IDENTITY_CARD:
      if (value == null) {
        unsetIdentityCard();
      } else {
        setIdentityCard((String)value);
      }
      break;

    case IS_IDENTITY_CARD_AUTH:
      if (value == null) {
        unsetIsIdentityCardAuth();
      } else {
        setIsIdentityCardAuth((Boolean)value);
      }
      break;

    case EMAIL:
      if (value == null) {
        unsetEmail();
      } else {
        setEmail((String)value);
      }
      break;

    case IS_EMAIL_AUTH:
      if (value == null) {
        unsetIsEmailAuth();
      } else {
        setIsEmailAuth((Boolean)value);
      }
      break;

    case EMERGENCY_CALL:
      if (value == null) {
        unsetEmergencyCall();
      } else {
        setEmergencyCall((String)value);
      }
      break;

    case IS_EMERGENCY_CALL_AUTH:
      if (value == null) {
        unsetIsEmergencyCallAuth();
      } else {
        setIsEmergencyCallAuth((Boolean)value);
      }
      break;

    case ADDRESS:
      if (value == null) {
        unsetAddress();
      } else {
        setAddress((String)value);
      }
      break;

    case IS_ADDRESS_AUTH:
      if (value == null) {
        unsetIsAddressAuth();
      } else {
        setIsAddressAuth((Boolean)value);
      }
      break;

    case IMAGE_FRONT_CARD:
      if (value == null) {
        unsetImageFrontCard();
      } else {
        setImageFrontCard((String)value);
      }
      break;

    case IS_IMAGE_FRONT_CARD_AUTH:
      if (value == null) {
        unsetIsImageFrontCardAuth();
      } else {
        setIsImageFrontCardAuth((Boolean)value);
      }
      break;

    case IMAGE_BACK_CARD:
      if (value == null) {
        unsetImageBackCard();
      } else {
        setImageBackCard((String)value);
      }
      break;

    case IS_IMAGE_BACK_CARD_AUTH:
      if (value == null) {
        unsetIsImageBackCardAuth();
      } else {
        setIsImageBackCardAuth((Boolean)value);
      }
      break;

    case IMAGE_USER_CARD:
      if (value == null) {
        unsetImageUserCard();
      } else {
        setImageUserCard((String)value);
      }
      break;

    case IS_IMAGE_USER_CARD_AUTH:
      if (value == null) {
        unsetIsImageUserCardAuth();
      } else {
        setIsImageUserCardAuth((Boolean)value);
      }
      break;

    case LOGIN_ACCOUNT:
      if (value == null) {
        unsetLoginAccount();
      } else {
        setLoginAccount((String)value);
      }
      break;

    case AGENT_TYPE:
      if (value == null) {
        unsetAgentType();
      } else {
        setAgentType((AgentType)value);
      }
      break;

    case MARKET_ONE:
      if (value == null) {
        unsetMarketOne();
      } else {
        setMarketOne((String)value);
      }
      break;

    case ADDRESS_REJECT:
      if (value == null) {
        unsetAddressReject();
      } else {
        setAddressReject((String)value);
      }
      break;

    case EMERGENCY_CALL_REJECT:
      if (value == null) {
        unsetEmergencyCallReject();
      } else {
        setEmergencyCallReject((String)value);
      }
      break;

    case IMAGE_BACK_CARD_REJECT:
      if (value == null) {
        unsetImageBackCardReject();
      } else {
        setImageBackCardReject((String)value);
      }
      break;

    case IMAGE_FRONT_CARD_REJECT:
      if (value == null) {
        unsetImageFrontCardReject();
      } else {
        setImageFrontCardReject((String)value);
      }
      break;

    case IMAGE_USER_CARD_REJECT:
      if (value == null) {
        unsetImageUserCardReject();
      } else {
        setImageUserCardReject((String)value);
      }
      break;

    case NICK_NAME:
      if (value == null) {
        unsetNickName();
      } else {
        setNickName((String)value);
      }
      break;

    case CREATE_DATE_TIME:
      if (value == null) {
        unsetCreateDateTime();
      } else {
        setCreateDateTime((String)value);
      }
      break;

    case IS_CANCEL:
      if (value == null) {
        unsetIsCancel();
      } else {
        setIsCancel((Boolean)value);
      }
      break;

    case AUTHED_PERCENT:
      if (value == null) {
        unsetAuthedPercent();
      } else {
        setAuthedPercent((String)value);
      }
      break;

    case AUTH3_CONDITION_DATE_TIME:
      if (value == null) {
        unsetAuth3ConditionDateTime();
      } else {
        setAuth3ConditionDateTime((String)value);
      }
      break;

    case MEMBER_LEVEL:
      if (value == null) {
        unsetMemberLevel();
      } else {
        setMemberLevel((Integer)value);
      }
      break;

    }
  }

  public Object getFieldValue(_Fields field) {
    switch (field) {
    case USER_BASE_ID:
      return getUserBaseId();

    case TRUE_NAME:
      return getTrueName();

    case IS_TRUE_NAME_AUTH:
      return isIsTrueNameAuth();

    case PHONE:
      return getPhone();

    case IS_PHONE_AUTH:
      return isIsPhoneAuth();

    case IDENTITY_CARD:
      return getIdentityCard();

    case IS_IDENTITY_CARD_AUTH:
      return isIsIdentityCardAuth();

    case EMAIL:
      return getEmail();

    case IS_EMAIL_AUTH:
      return isIsEmailAuth();

    case EMERGENCY_CALL:
      return getEmergencyCall();

    case IS_EMERGENCY_CALL_AUTH:
      return isIsEmergencyCallAuth();

    case ADDRESS:
      return getAddress();

    case IS_ADDRESS_AUTH:
      return isIsAddressAuth();

    case IMAGE_FRONT_CARD:
      return getImageFrontCard();

    case IS_IMAGE_FRONT_CARD_AUTH:
      return isIsImageFrontCardAuth();

    case IMAGE_BACK_CARD:
      return getImageBackCard();

    case IS_IMAGE_BACK_CARD_AUTH:
      return isIsImageBackCardAuth();

    case IMAGE_USER_CARD:
      return getImageUserCard();

    case IS_IMAGE_USER_CARD_AUTH:
      return isIsImageUserCardAuth();

    case LOGIN_ACCOUNT:
      return getLoginAccount();

    case AGENT_TYPE:
      return getAgentType();

    case MARKET_ONE:
      return getMarketOne();

    case ADDRESS_REJECT:
      return getAddressReject();

    case EMERGENCY_CALL_REJECT:
      return getEmergencyCallReject();

    case IMAGE_BACK_CARD_REJECT:
      return getImageBackCardReject();

    case IMAGE_FRONT_CARD_REJECT:
      return getImageFrontCardReject();

    case IMAGE_USER_CARD_REJECT:
      return getImageUserCardReject();

    case NICK_NAME:
      return getNickName();

    case CREATE_DATE_TIME:
      return getCreateDateTime();

    case IS_CANCEL:
      return isIsCancel();

    case AUTHED_PERCENT:
      return getAuthedPercent();

    case AUTH3_CONDITION_DATE_TIME:
      return getAuth3ConditionDateTime();

    case MEMBER_LEVEL:
      return getMemberLevel();

    }
    throw new IllegalStateException();
  }

  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
  public boolean isSet(_Fields field) {
    if (field == null) {
      throw new IllegalArgumentException();
    }

    switch (field) {
    case USER_BASE_ID:
      return isSetUserBaseId();
    case TRUE_NAME:
      return isSetTrueName();
    case IS_TRUE_NAME_AUTH:
      return isSetIsTrueNameAuth();
    case PHONE:
      return isSetPhone();
    case IS_PHONE_AUTH:
      return isSetIsPhoneAuth();
    case IDENTITY_CARD:
      return isSetIdentityCard();
    case IS_IDENTITY_CARD_AUTH:
      return isSetIsIdentityCardAuth();
    case EMAIL:
      return isSetEmail();
    case IS_EMAIL_AUTH:
      return isSetIsEmailAuth();
    case EMERGENCY_CALL:
      return isSetEmergencyCall();
    case IS_EMERGENCY_CALL_AUTH:
      return isSetIsEmergencyCallAuth();
    case ADDRESS:
      return isSetAddress();
    case IS_ADDRESS_AUTH:
      return isSetIsAddressAuth();
    case IMAGE_FRONT_CARD:
      return isSetImageFrontCard();
    case IS_IMAGE_FRONT_CARD_AUTH:
      return isSetIsImageFrontCardAuth();
    case IMAGE_BACK_CARD:
      return isSetImageBackCard();
    case IS_IMAGE_BACK_CARD_AUTH:
      return isSetIsImageBackCardAuth();
    case IMAGE_USER_CARD:
      return isSetImageUserCard();
    case IS_IMAGE_USER_CARD_AUTH:
      return isSetIsImageUserCardAuth();
    case LOGIN_ACCOUNT:
      return isSetLoginAccount();
    case AGENT_TYPE:
      return isSetAgentType();
    case MARKET_ONE:
      return isSetMarketOne();
    case ADDRESS_REJECT:
      return isSetAddressReject();
    case EMERGENCY_CALL_REJECT:
      return isSetEmergencyCallReject();
    case IMAGE_BACK_CARD_REJECT:
      return isSetImageBackCardReject();
    case IMAGE_FRONT_CARD_REJECT:
      return isSetImageFrontCardReject();
    case IMAGE_USER_CARD_REJECT:
      return isSetImageUserCardReject();
    case NICK_NAME:
      return isSetNickName();
    case CREATE_DATE_TIME:
      return isSetCreateDateTime();
    case IS_CANCEL:
      return isSetIsCancel();
    case AUTHED_PERCENT:
      return isSetAuthedPercent();
    case AUTH3_CONDITION_DATE_TIME:
      return isSetAuth3ConditionDateTime();
    case MEMBER_LEVEL:
      return isSetMemberLevel();
    }
    throw new IllegalStateException();
  }

  @Override
  public boolean equals(Object that) {
    if (that == null)
      return false;
    if (that instanceof UserInfoAuth)
      return this.equals((UserInfoAuth)that);
    return false;
  }

  public boolean equals(UserInfoAuth that) {
    if (that == null)
      return false;
    if (this == that)
      return true;

    boolean this_present_userBaseId = true && this.isSetUserBaseId();
    boolean that_present_userBaseId = true && that.isSetUserBaseId();
    if (this_present_userBaseId || that_present_userBaseId) {
      if (!(this_present_userBaseId && that_present_userBaseId))
        return false;
      if (!this.userBaseId.equals(that.userBaseId))
        return false;
    }

    boolean this_present_trueName = true && this.isSetTrueName();
    boolean that_present_trueName = true && that.isSetTrueName();
    if (this_present_trueName || that_present_trueName) {
      if (!(this_present_trueName && that_present_trueName))
        return false;
      if (!this.trueName.equals(that.trueName))
        return false;
    }

    boolean this_present_isTrueNameAuth = true;
    boolean that_present_isTrueNameAuth = true;
    if (this_present_isTrueNameAuth || that_present_isTrueNameAuth) {
      if (!(this_present_isTrueNameAuth && that_present_isTrueNameAuth))
        return false;
      if (this.isTrueNameAuth != that.isTrueNameAuth)
        return false;
    }

    boolean this_present_phone = true && this.isSetPhone();
    boolean that_present_phone = true && that.isSetPhone();
    if (this_present_phone || that_present_phone) {
      if (!(this_present_phone && that_present_phone))
        return false;
      if (!this.phone.equals(that.phone))
        return false;
    }

    boolean this_present_isPhoneAuth = true;
    boolean that_present_isPhoneAuth = true;
    if (this_present_isPhoneAuth || that_present_isPhoneAuth) {
      if (!(this_present_isPhoneAuth && that_present_isPhoneAuth))
        return false;
      if (this.isPhoneAuth != that.isPhoneAuth)
        return false;
    }

    boolean this_present_identityCard = true && this.isSetIdentityCard();
    boolean that_present_identityCard = true && that.isSetIdentityCard();
    if (this_present_identityCard || that_present_identityCard) {
      if (!(this_present_identityCard && that_present_identityCard))
        return false;
      if (!this.identityCard.equals(that.identityCard))
        return false;
    }

    boolean this_present_IsIdentityCardAuth = true;
    boolean that_present_IsIdentityCardAuth = true;
    if (this_present_IsIdentityCardAuth || that_present_IsIdentityCardAuth) {
      if (!(this_present_IsIdentityCardAuth && that_present_IsIdentityCardAuth))
        return false;
      if (this.IsIdentityCardAuth != that.IsIdentityCardAuth)
        return false;
    }

    boolean this_present_email = true && this.isSetEmail();
    boolean that_present_email = true && that.isSetEmail();
    if (this_present_email || that_present_email) {
      if (!(this_present_email && that_present_email))
        return false;
      if (!this.email.equals(that.email))
        return false;
    }

    boolean this_present_isEmailAuth = true;
    boolean that_present_isEmailAuth = true;
    if (this_present_isEmailAuth || that_present_isEmailAuth) {
      if (!(this_present_isEmailAuth && that_present_isEmailAuth))
        return false;
      if (this.isEmailAuth != that.isEmailAuth)
        return false;
    }

    boolean this_present_emergencyCall = true && this.isSetEmergencyCall();
    boolean that_present_emergencyCall = true && that.isSetEmergencyCall();
    if (this_present_emergencyCall || that_present_emergencyCall) {
      if (!(this_present_emergencyCall && that_present_emergencyCall))
        return false;
      if (!this.emergencyCall.equals(that.emergencyCall))
        return false;
    }

    boolean this_present_isEmergencyCallAuth = true;
    boolean that_present_isEmergencyCallAuth = true;
    if (this_present_isEmergencyCallAuth || that_present_isEmergencyCallAuth) {
      if (!(this_present_isEmergencyCallAuth && that_present_isEmergencyCallAuth))
        return false;
      if (this.isEmergencyCallAuth != that.isEmergencyCallAuth)
        return false;
    }

    boolean this_present_address = true && this.isSetAddress();
    boolean that_present_address = true && that.isSetAddress();
    if (this_present_address || that_present_address) {
      if (!(this_present_address && that_present_address))
        return false;
      if (!this.address.equals(that.address))
        return false;
    }

    boolean this_present_isAddressAuth = true;
    boolean that_present_isAddressAuth = true;
    if (this_present_isAddressAuth || that_present_isAddressAuth) {
      if (!(this_present_isAddressAuth && that_present_isAddressAuth))
        return false;
      if (this.isAddressAuth != that.isAddressAuth)
        return false;
    }

    boolean this_present_imageFrontCard = true && this.isSetImageFrontCard();
    boolean that_present_imageFrontCard = true && that.isSetImageFrontCard();
    if (this_present_imageFrontCard || that_present_imageFrontCard) {
      if (!(this_present_imageFrontCard && that_present_imageFrontCard))
        return false;
      if (!this.imageFrontCard.equals(that.imageFrontCard))
        return false;
    }

    boolean this_present_isImageFrontCardAuth = true;
    boolean that_present_isImageFrontCardAuth = true;
    if (this_present_isImageFrontCardAuth || that_present_isImageFrontCardAuth) {
      if (!(this_present_isImageFrontCardAuth && that_present_isImageFrontCardAuth))
        return false;
      if (this.isImageFrontCardAuth != that.isImageFrontCardAuth)
        return false;
    }

    boolean this_present_imageBackCard = true && this.isSetImageBackCard();
    boolean that_present_imageBackCard = true && that.isSetImageBackCard();
    if (this_present_imageBackCard || that_present_imageBackCard) {
      if (!(this_present_imageBackCard && that_present_imageBackCard))
        return false;
      if (!this.imageBackCard.equals(that.imageBackCard))
        return false;
    }

    boolean this_present_isImageBackCardAuth = true;
    boolean that_present_isImageBackCardAuth = true;
    if (this_present_isImageBackCardAuth || that_present_isImageBackCardAuth) {
      if (!(this_present_isImageBackCardAuth && that_present_isImageBackCardAuth))
        return false;
      if (this.isImageBackCardAuth != that.isImageBackCardAuth)
        return false;
    }

    boolean this_present_imageUserCard = true && this.isSetImageUserCard();
    boolean that_present_imageUserCard = true && that.isSetImageUserCard();
    if (this_present_imageUserCard || that_present_imageUserCard) {
      if (!(this_present_imageUserCard && that_present_imageUserCard))
        return false;
      if (!this.imageUserCard.equals(that.imageUserCard))
        return false;
    }

    boolean this_present_isImageUserCardAuth = true;
    boolean that_present_isImageUserCardAuth = true;
    if (this_present_isImageUserCardAuth || that_present_isImageUserCardAuth) {
      if (!(this_present_isImageUserCardAuth && that_present_isImageUserCardAuth))
        return false;
      if (this.isImageUserCardAuth != that.isImageUserCardAuth)
        return false;
    }

    boolean this_present_loginAccount = true && this.isSetLoginAccount();
    boolean that_present_loginAccount = true && that.isSetLoginAccount();
    if (this_present_loginAccount || that_present_loginAccount) {
      if (!(this_present_loginAccount && that_present_loginAccount))
        return false;
      if (!this.loginAccount.equals(that.loginAccount))
        return false;
    }

    boolean this_present_agentType = true && this.isSetAgentType();
    boolean that_present_agentType = true && that.isSetAgentType();
    if (this_present_agentType || that_present_agentType) {
      if (!(this_present_agentType && that_present_agentType))
        return false;
      if (!this.agentType.equals(that.agentType))
        return false;
    }

    boolean this_present_marketOne = true && this.isSetMarketOne();
    boolean that_present_marketOne = true && that.isSetMarketOne();
    if (this_present_marketOne || that_present_marketOne) {
      if (!(this_present_marketOne && that_present_marketOne))
        return false;
      if (!this.marketOne.equals(that.marketOne))
        return false;
    }

    boolean this_present_addressReject = true && this.isSetAddressReject();
    boolean that_present_addressReject = true && that.isSetAddressReject();
    if (this_present_addressReject || that_present_addressReject) {
      if (!(this_present_addressReject && that_present_addressReject))
        return false;
      if (!this.addressReject.equals(that.addressReject))
        return false;
    }

    boolean this_present_emergencyCallReject = true && this.isSetEmergencyCallReject();
    boolean that_present_emergencyCallReject = true && that.isSetEmergencyCallReject();
    if (this_present_emergencyCallReject || that_present_emergencyCallReject) {
      if (!(this_present_emergencyCallReject && that_present_emergencyCallReject))
        return false;
      if (!this.emergencyCallReject.equals(that.emergencyCallReject))
        return false;
    }

    boolean this_present_imageBackCardReject = true && this.isSetImageBackCardReject();
    boolean that_present_imageBackCardReject = true && that.isSetImageBackCardReject();
    if (this_present_imageBackCardReject || that_present_imageBackCardReject) {
      if (!(this_present_imageBackCardReject && that_present_imageBackCardReject))
        return false;
      if (!this.imageBackCardReject.equals(that.imageBackCardReject))
        return false;
    }

    boolean this_present_imageFrontCardReject = true && this.isSetImageFrontCardReject();
    boolean that_present_imageFrontCardReject = true && that.isSetImageFrontCardReject();
    if (this_present_imageFrontCardReject || that_present_imageFrontCardReject) {
      if (!(this_present_imageFrontCardReject && that_present_imageFrontCardReject))
        return false;
      if (!this.imageFrontCardReject.equals(that.imageFrontCardReject))
        return false;
    }

    boolean this_present_imageUserCardReject = true && this.isSetImageUserCardReject();
    boolean that_present_imageUserCardReject = true && that.isSetImageUserCardReject();
    if (this_present_imageUserCardReject || that_present_imageUserCardReject) {
      if (!(this_present_imageUserCardReject && that_present_imageUserCardReject))
        return false;
      if (!this.imageUserCardReject.equals(that.imageUserCardReject))
        return false;
    }

    boolean this_present_nickName = true && this.isSetNickName();
    boolean that_present_nickName = true && that.isSetNickName();
    if (this_present_nickName || that_present_nickName) {
      if (!(this_present_nickName && that_present_nickName))
        return false;
      if (!this.nickName.equals(that.nickName))
        return false;
    }

    boolean this_present_createDateTime = true && this.isSetCreateDateTime();
    boolean that_present_createDateTime = true && that.isSetCreateDateTime();
    if (this_present_createDateTime || that_present_createDateTime) {
      if (!(this_present_createDateTime && that_present_createDateTime))
        return false;
      if (!this.createDateTime.equals(that.createDateTime))
        return false;
    }

    boolean this_present_isCancel = true;
    boolean that_present_isCancel = true;
    if (this_present_isCancel || that_present_isCancel) {
      if (!(this_present_isCancel && that_present_isCancel))
        return false;
      if (this.isCancel != that.isCancel)
        return false;
    }

    boolean this_present_authedPercent = true && this.isSetAuthedPercent();
    boolean that_present_authedPercent = true && that.isSetAuthedPercent();
    if (this_present_authedPercent || that_present_authedPercent) {
      if (!(this_present_authedPercent && that_present_authedPercent))
        return false;
      if (!this.authedPercent.equals(that.authedPercent))
        return false;
    }

    boolean this_present_auth3ConditionDateTime = true && this.isSetAuth3ConditionDateTime();
    boolean that_present_auth3ConditionDateTime = true && that.isSetAuth3ConditionDateTime();
    if (this_present_auth3ConditionDateTime || that_present_auth3ConditionDateTime) {
      if (!(this_present_auth3ConditionDateTime && that_present_auth3ConditionDateTime))
        return false;
      if (!this.auth3ConditionDateTime.equals(that.auth3ConditionDateTime))
        return false;
    }

    boolean this_present_memberLevel = true;
    boolean that_present_memberLevel = true;
    if (this_present_memberLevel || that_present_memberLevel) {
      if (!(this_present_memberLevel && that_present_memberLevel))
        return false;
      if (this.memberLevel != that.memberLevel)
        return false;
    }

    return true;
  }

  @Override
  public int hashCode() {
    int hashCode = 1;

    hashCode = hashCode * 8191 + ((isSetUserBaseId()) ? 131071 : 524287);
    if (isSetUserBaseId())
      hashCode = hashCode * 8191 + userBaseId.hashCode();

    hashCode = hashCode * 8191 + ((isSetTrueName()) ? 131071 : 524287);
    if (isSetTrueName())
      hashCode = hashCode * 8191 + trueName.hashCode();

    hashCode = hashCode * 8191 + ((isTrueNameAuth) ? 131071 : 524287);

    hashCode = hashCode * 8191 + ((isSetPhone()) ? 131071 : 524287);
    if (isSetPhone())
      hashCode = hashCode * 8191 + phone.hashCode();

    hashCode = hashCode * 8191 + ((isPhoneAuth) ? 131071 : 524287);

    hashCode = hashCode * 8191 + ((isSetIdentityCard()) ? 131071 : 524287);
    if (isSetIdentityCard())
      hashCode = hashCode * 8191 + identityCard.hashCode();

    hashCode = hashCode * 8191 + ((IsIdentityCardAuth) ? 131071 : 524287);

    hashCode = hashCode * 8191 + ((isSetEmail()) ? 131071 : 524287);
    if (isSetEmail())
      hashCode = hashCode * 8191 + email.hashCode();

    hashCode = hashCode * 8191 + ((isEmailAuth) ? 131071 : 524287);

    hashCode = hashCode * 8191 + ((isSetEmergencyCall()) ? 131071 : 524287);
    if (isSetEmergencyCall())
      hashCode = hashCode * 8191 + emergencyCall.hashCode();

    hashCode = hashCode * 8191 + ((isEmergencyCallAuth) ? 131071 : 524287);

    hashCode = hashCode * 8191 + ((isSetAddress()) ? 131071 : 524287);
    if (isSetAddress())
      hashCode = hashCode * 8191 + address.hashCode();

    hashCode = hashCode * 8191 + ((isAddressAuth) ? 131071 : 524287);

    hashCode = hashCode * 8191 + ((isSetImageFrontCard()) ? 131071 : 524287);
    if (isSetImageFrontCard())
      hashCode = hashCode * 8191 + imageFrontCard.hashCode();

    hashCode = hashCode * 8191 + ((isImageFrontCardAuth) ? 131071 : 524287);

    hashCode = hashCode * 8191 + ((isSetImageBackCard()) ? 131071 : 524287);
    if (isSetImageBackCard())
      hashCode = hashCode * 8191 + imageBackCard.hashCode();

    hashCode = hashCode * 8191 + ((isImageBackCardAuth) ? 131071 : 524287);

    hashCode = hashCode * 8191 + ((isSetImageUserCard()) ? 131071 : 524287);
    if (isSetImageUserCard())
      hashCode = hashCode * 8191 + imageUserCard.hashCode();

    hashCode = hashCode * 8191 + ((isImageUserCardAuth) ? 131071 : 524287);

    hashCode = hashCode * 8191 + ((isSetLoginAccount()) ? 131071 : 524287);
    if (isSetLoginAccount())
      hashCode = hashCode * 8191 + loginAccount.hashCode();

    hashCode = hashCode * 8191 + ((isSetAgentType()) ? 131071 : 524287);
    if (isSetAgentType())
      hashCode = hashCode * 8191 + agentType.getValue();

    hashCode = hashCode * 8191 + ((isSetMarketOne()) ? 131071 : 524287);
    if (isSetMarketOne())
      hashCode = hashCode * 8191 + marketOne.hashCode();

    hashCode = hashCode * 8191 + ((isSetAddressReject()) ? 131071 : 524287);
    if (isSetAddressReject())
      hashCode = hashCode * 8191 + addressReject.hashCode();

    hashCode = hashCode * 8191 + ((isSetEmergencyCallReject()) ? 131071 : 524287);
    if (isSetEmergencyCallReject())
      hashCode = hashCode * 8191 + emergencyCallReject.hashCode();

    hashCode = hashCode * 8191 + ((isSetImageBackCardReject()) ? 131071 : 524287);
    if (isSetImageBackCardReject())
      hashCode = hashCode * 8191 + imageBackCardReject.hashCode();

    hashCode = hashCode * 8191 + ((isSetImageFrontCardReject()) ? 131071 : 524287);
    if (isSetImageFrontCardReject())
      hashCode = hashCode * 8191 + imageFrontCardReject.hashCode();

    hashCode = hashCode * 8191 + ((isSetImageUserCardReject()) ? 131071 : 524287);
    if (isSetImageUserCardReject())
      hashCode = hashCode * 8191 + imageUserCardReject.hashCode();

    hashCode = hashCode * 8191 + ((isSetNickName()) ? 131071 : 524287);
    if (isSetNickName())
      hashCode = hashCode * 8191 + nickName.hashCode();

    hashCode = hashCode * 8191 + ((isSetCreateDateTime()) ? 131071 : 524287);
    if (isSetCreateDateTime())
      hashCode = hashCode * 8191 + createDateTime.hashCode();

    hashCode = hashCode * 8191 + ((isCancel) ? 131071 : 524287);

    hashCode = hashCode * 8191 + ((isSetAuthedPercent()) ? 131071 : 524287);
    if (isSetAuthedPercent())
      hashCode = hashCode * 8191 + authedPercent.hashCode();

    hashCode = hashCode * 8191 + ((isSetAuth3ConditionDateTime()) ? 131071 : 524287);
    if (isSetAuth3ConditionDateTime())
      hashCode = hashCode * 8191 + auth3ConditionDateTime.hashCode();

    hashCode = hashCode * 8191 + memberLevel;

    return hashCode;
  }

  @Override
  public int compareTo(UserInfoAuth other) {
    if (!getClass().equals(other.getClass())) {
      return getClass().getName().compareTo(other.getClass().getName());
    }

    int lastComparison = 0;

    lastComparison = Boolean.valueOf(isSetUserBaseId()).compareTo(other.isSetUserBaseId());
    if (lastComparison != 0) {
      return lastComparison;
    }
    if (isSetUserBaseId()) {
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.userBaseId, other.userBaseId);
      if (lastComparison != 0) {
        return lastComparison;
      }
    }
    lastComparison = Boolean.valueOf(isSetTrueName()).compareTo(other.isSetTrueName());
    if (lastComparison != 0) {
      return lastComparison;
    }
    if (isSetTrueName()) {
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.trueName, other.trueName);
      if (lastComparison != 0) {
        return lastComparison;
      }
    }
    lastComparison = Boolean.valueOf(isSetIsTrueNameAuth()).compareTo(other.isSetIsTrueNameAuth());
    if (lastComparison != 0) {
      return lastComparison;
    }
    if (isSetIsTrueNameAuth()) {
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isTrueNameAuth, other.isTrueNameAuth);
      if (lastComparison != 0) {
        return lastComparison;
      }
    }
    lastComparison = Boolean.valueOf(isSetPhone()).compareTo(other.isSetPhone());
    if (lastComparison != 0) {
      return lastComparison;
    }
    if (isSetPhone()) {
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.phone, other.phone);
      if (lastComparison != 0) {
        return lastComparison;
      }
    }
    lastComparison = Boolean.valueOf(isSetIsPhoneAuth()).compareTo(other.isSetIsPhoneAuth());
    if (lastComparison != 0) {
      return lastComparison;
    }
    if (isSetIsPhoneAuth()) {
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isPhoneAuth, other.isPhoneAuth);
      if (lastComparison != 0) {
        return lastComparison;
      }
    }
    lastComparison = Boolean.valueOf(isSetIdentityCard()).compareTo(other.isSetIdentityCard());
    if (lastComparison != 0) {
      return lastComparison;
    }
    if (isSetIdentityCard()) {
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.identityCard, other.identityCard);
      if (lastComparison != 0) {
        return lastComparison;
      }
    }
    lastComparison = Boolean.valueOf(isSetIsIdentityCardAuth()).compareTo(other.isSetIsIdentityCardAuth());
    if (lastComparison != 0) {
      return lastComparison;
    }
    if (isSetIsIdentityCardAuth()) {
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.IsIdentityCardAuth, other.IsIdentityCardAuth);
      if (lastComparison != 0) {
        return lastComparison;
      }
    }
    lastComparison = Boolean.valueOf(isSetEmail()).compareTo(other.isSetEmail());
    if (lastComparison != 0) {
      return lastComparison;
    }
    if (isSetEmail()) {
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.email, other.email);
      if (lastComparison != 0) {
        return lastComparison;
      }
    }
    lastComparison = Boolean.valueOf(isSetIsEmailAuth()).compareTo(other.isSetIsEmailAuth());
    if (lastComparison != 0) {
      return lastComparison;
    }
    if (isSetIsEmailAuth()) {
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isEmailAuth, other.isEmailAuth);
      if (lastComparison != 0) {
        return lastComparison;
      }
    }
    lastComparison = Boolean.valueOf(isSetEmergencyCall()).compareTo(other.isSetEmergencyCall());
    if (lastComparison != 0) {
      return lastComparison;
    }
    if (isSetEmergencyCall()) {
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.emergencyCall, other.emergencyCall);
      if (lastComparison != 0) {
        return lastComparison;
      }
    }
    lastComparison = Boolean.valueOf(isSetIsEmergencyCallAuth()).compareTo(other.isSetIsEmergencyCallAuth());
    if (lastComparison != 0) {
      return lastComparison;
    }
    if (isSetIsEmergencyCallAuth()) {
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isEmergencyCallAuth, other.isEmergencyCallAuth);
      if (lastComparison != 0) {
        return lastComparison;
      }
    }
    lastComparison = Boolean.valueOf(isSetAddress()).compareTo(other.isSetAddress());
    if (lastComparison != 0) {
      return lastComparison;
    }
    if (isSetAddress()) {
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.address, other.address);
      if (lastComparison != 0) {
        return lastComparison;
      }
    }
    lastComparison = Boolean.valueOf(isSetIsAddressAuth()).compareTo(other.isSetIsAddressAuth());
    if (lastComparison != 0) {
      return lastComparison;
    }
    if (isSetIsAddressAuth()) {
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isAddressAuth, other.isAddressAuth);
      if (lastComparison != 0) {
        return lastComparison;
      }
    }
    lastComparison = Boolean.valueOf(isSetImageFrontCard()).compareTo(other.isSetImageFrontCard());
    if (lastComparison != 0) {
      return lastComparison;
    }
    if (isSetImageFrontCard()) {
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.imageFrontCard, other.imageFrontCard);
      if (lastComparison != 0) {
        return lastComparison;
      }
    }
    lastComparison = Boolean.valueOf(isSetIsImageFrontCardAuth()).compareTo(other.isSetIsImageFrontCardAuth());
    if (lastComparison != 0) {
      return lastComparison;
    }
    if (isSetIsImageFrontCardAuth()) {
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isImageFrontCardAuth, other.isImageFrontCardAuth);
      if (lastComparison != 0) {
        return lastComparison;
      }
    }
    lastComparison = Boolean.valueOf(isSetImageBackCard()).compareTo(other.isSetImageBackCard());
    if (lastComparison != 0) {
      return lastComparison;
    }
    if (isSetImageBackCard()) {
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.imageBackCard, other.imageBackCard);
      if (lastComparison != 0) {
        return lastComparison;
      }
    }
    lastComparison = Boolean.valueOf(isSetIsImageBackCardAuth()).compareTo(other.isSetIsImageBackCardAuth());
    if (lastComparison != 0) {
      return lastComparison;
    }
    if (isSetIsImageBackCardAuth()) {
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isImageBackCardAuth, other.isImageBackCardAuth);
      if (lastComparison != 0) {
        return lastComparison;
      }
    }
    lastComparison = Boolean.valueOf(isSetImageUserCard()).compareTo(other.isSetImageUserCard());
    if (lastComparison != 0) {
      return lastComparison;
    }
    if (isSetImageUserCard()) {
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.imageUserCard, other.imageUserCard);
      if (lastComparison != 0) {
        return lastComparison;
      }
    }
    lastComparison = Boolean.valueOf(isSetIsImageUserCardAuth()).compareTo(other.isSetIsImageUserCardAuth());
    if (lastComparison != 0) {
      return lastComparison;
    }
    if (isSetIsImageUserCardAuth()) {
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isImageUserCardAuth, other.isImageUserCardAuth);
      if (lastComparison != 0) {
        return lastComparison;
      }
    }
    lastComparison = Boolean.valueOf(isSetLoginAccount()).compareTo(other.isSetLoginAccount());
    if (lastComparison != 0) {
      return lastComparison;
    }
    if (isSetLoginAccount()) {
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.loginAccount, other.loginAccount);
      if (lastComparison != 0) {
        return lastComparison;
      }
    }
    lastComparison = Boolean.valueOf(isSetAgentType()).compareTo(other.isSetAgentType());
    if (lastComparison != 0) {
      return lastComparison;
    }
    if (isSetAgentType()) {
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.agentType, other.agentType);
      if (lastComparison != 0) {
        return lastComparison;
      }
    }
    lastComparison = Boolean.valueOf(isSetMarketOne()).compareTo(other.isSetMarketOne());
    if (lastComparison != 0) {
      return lastComparison;
    }
    if (isSetMarketOne()) {
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.marketOne, other.marketOne);
      if (lastComparison != 0) {
        return lastComparison;
      }
    }
    lastComparison = Boolean.valueOf(isSetAddressReject()).compareTo(other.isSetAddressReject());
    if (lastComparison != 0) {
      return lastComparison;
    }
    if (isSetAddressReject()) {
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.addressReject, other.addressReject);
      if (lastComparison != 0) {
        return lastComparison;
      }
    }
    lastComparison = Boolean.valueOf(isSetEmergencyCallReject()).compareTo(other.isSetEmergencyCallReject());
    if (lastComparison != 0) {
      return lastComparison;
    }
    if (isSetEmergencyCallReject()) {
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.emergencyCallReject, other.emergencyCallReject);
      if (lastComparison != 0) {
        return lastComparison;
      }
    }
    lastComparison = Boolean.valueOf(isSetImageBackCardReject()).compareTo(other.isSetImageBackCardReject());
    if (lastComparison != 0) {
      return lastComparison;
    }
    if (isSetImageBackCardReject()) {
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.imageBackCardReject, other.imageBackCardReject);
      if (lastComparison != 0) {
        return lastComparison;
      }
    }
    lastComparison = Boolean.valueOf(isSetImageFrontCardReject()).compareTo(other.isSetImageFrontCardReject());
    if (lastComparison != 0) {
      return lastComparison;
    }
    if (isSetImageFrontCardReject()) {
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.imageFrontCardReject, other.imageFrontCardReject);
      if (lastComparison != 0) {
        return lastComparison;
      }
    }
    lastComparison = Boolean.valueOf(isSetImageUserCardReject()).compareTo(other.isSetImageUserCardReject());
    if (lastComparison != 0) {
      return lastComparison;
    }
    if (isSetImageUserCardReject()) {
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.imageUserCardReject, other.imageUserCardReject);
      if (lastComparison != 0) {
        return lastComparison;
      }
    }
    lastComparison = Boolean.valueOf(isSetNickName()).compareTo(other.isSetNickName());
    if (lastComparison != 0) {
      return lastComparison;
    }
    if (isSetNickName()) {
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nickName, other.nickName);
      if (lastComparison != 0) {
        return lastComparison;
      }
    }
    lastComparison = Boolean.valueOf(isSetCreateDateTime()).compareTo(other.isSetCreateDateTime());
    if (lastComparison != 0) {
      return lastComparison;
    }
    if (isSetCreateDateTime()) {
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.createDateTime, other.createDateTime);
      if (lastComparison != 0) {
        return lastComparison;
      }
    }
    lastComparison = Boolean.valueOf(isSetIsCancel()).compareTo(other.isSetIsCancel());
    if (lastComparison != 0) {
      return lastComparison;
    }
    if (isSetIsCancel()) {
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isCancel, other.isCancel);
      if (lastComparison != 0) {
        return lastComparison;
      }
    }
    lastComparison = Boolean.valueOf(isSetAuthedPercent()).compareTo(other.isSetAuthedPercent());
    if (lastComparison != 0) {
      return lastComparison;
    }
    if (isSetAuthedPercent()) {
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.authedPercent, other.authedPercent);
      if (lastComparison != 0) {
        return lastComparison;
      }
    }
    lastComparison = Boolean.valueOf(isSetAuth3ConditionDateTime()).compareTo(other.isSetAuth3ConditionDateTime());
    if (lastComparison != 0) {
      return lastComparison;
    }
    if (isSetAuth3ConditionDateTime()) {
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.auth3ConditionDateTime, other.auth3ConditionDateTime);
      if (lastComparison != 0) {
        return lastComparison;
      }
    }
    lastComparison = Boolean.valueOf(isSetMemberLevel()).compareTo(other.isSetMemberLevel());
    if (lastComparison != 0) {
      return lastComparison;
    }
    if (isSetMemberLevel()) {
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.memberLevel, other.memberLevel);
      if (lastComparison != 0) {
        return lastComparison;
      }
    }
    return 0;
  }

  public _Fields fieldForId(int fieldId) {
    return _Fields.findByThriftId(fieldId);
  }

  public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
    scheme(iprot).read(iprot, this);
  }

  public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
    scheme(oprot).write(oprot, this);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder("UserInfoAuth(");
    boolean first = true;

    sb.append("userBaseId:");
    if (this.userBaseId == null) {
      sb.append("null");
    } else {
      sb.append(this.userBaseId);
    }
    first = false;
    if (!first) sb.append(", ");
    sb.append("trueName:");
    if (this.trueName == null) {
      sb.append("null");
    } else {
      sb.append(this.trueName);
    }
    first = false;
    if (!first) sb.append(", ");
    sb.append("isTrueNameAuth:");
    sb.append(this.isTrueNameAuth);
    first = false;
    if (!first) sb.append(", ");
    sb.append("phone:");
    if (this.phone == null) {
      sb.append("null");
    } else {
      sb.append(this.phone);
    }
    first = false;
    if (!first) sb.append(", ");
    sb.append("isPhoneAuth:");
    sb.append(this.isPhoneAuth);
    first = false;
    if (!first) sb.append(", ");
    sb.append("identityCard:");
    if (this.identityCard == null) {
      sb.append("null");
    } else {
      sb.append(this.identityCard);
    }
    first = false;
    if (!first) sb.append(", ");
    sb.append("IsIdentityCardAuth:");
    sb.append(this.IsIdentityCardAuth);
    first = false;
    if (!first) sb.append(", ");
    sb.append("email:");
    if (this.email == null) {
      sb.append("null");
    } else {
      sb.append(this.email);
    }
    first = false;
    if (!first) sb.append(", ");
    sb.append("isEmailAuth:");
    sb.append(this.isEmailAuth);
    first = false;
    if (!first) sb.append(", ");
    sb.append("emergencyCall:");
    if (this.emergencyCall == null) {
      sb.append("null");
    } else {
      sb.append(this.emergencyCall);
    }
    first = false;
    if (!first) sb.append(", ");
    sb.append("isEmergencyCallAuth:");
    sb.append(this.isEmergencyCallAuth);
    first = false;
    if (!first) sb.append(", ");
    sb.append("address:");
    if (this.address == null) {
      sb.append("null");
    } else {
      sb.append(this.address);
    }
    first = false;
    if (!first) sb.append(", ");
    sb.append("isAddressAuth:");
    sb.append(this.isAddressAuth);
    first = false;
    if (!first) sb.append(", ");
    sb.append("imageFrontCard:");
    if (this.imageFrontCard == null) {
      sb.append("null");
    } else {
      sb.append(this.imageFrontCard);
    }
    first = false;
    if (!first) sb.append(", ");
    sb.append("isImageFrontCardAuth:");
    sb.append(this.isImageFrontCardAuth);
    first = false;
    if (!first) sb.append(", ");
    sb.append("imageBackCard:");
    if (this.imageBackCard == null) {
      sb.append("null");
    } else {
      sb.append(this.imageBackCard);
    }
    first = false;
    if (!first) sb.append(", ");
    sb.append("isImageBackCardAuth:");
    sb.append(this.isImageBackCardAuth);
    first = false;
    if (!first) sb.append(", ");
    sb.append("imageUserCard:");
    if (this.imageUserCard == null) {
      sb.append("null");
    } else {
      sb.append(this.imageUserCard);
    }
    first = false;
    if (!first) sb.append(", ");
    sb.append("isImageUserCardAuth:");
    sb.append(this.isImageUserCardAuth);
    first = false;
    if (!first) sb.append(", ");
    sb.append("loginAccount:");
    if (this.loginAccount == null) {
      sb.append("null");
    } else {
      sb.append(this.loginAccount);
    }
    first = false;
    if (!first) sb.append(", ");
    sb.append("agentType:");
    if (this.agentType == null) {
      sb.append("null");
    } else {
      sb.append(this.agentType);
    }
    first = false;
    if (!first) sb.append(", ");
    sb.append("marketOne:");
    if (this.marketOne == null) {
      sb.append("null");
    } else {
      sb.append(this.marketOne);
    }
    first = false;
    if (!first) sb.append(", ");
    sb.append("addressReject:");
    if (this.addressReject == null) {
      sb.append("null");
    } else {
      sb.append(this.addressReject);
    }
    first = false;
    if (!first) sb.append(", ");
    sb.append("emergencyCallReject:");
    if (this.emergencyCallReject == null) {
      sb.append("null");
    } else {
      sb.append(this.emergencyCallReject);
    }
    first = false;
    if (!first) sb.append(", ");
    sb.append("imageBackCardReject:");
    if (this.imageBackCardReject == null) {
      sb.append("null");
    } else {
      sb.append(this.imageBackCardReject);
    }
    first = false;
    if (!first) sb.append(", ");
    sb.append("imageFrontCardReject:");
    if (this.imageFrontCardReject == null) {
      sb.append("null");
    } else {
      sb.append(this.imageFrontCardReject);
    }
    first = false;
    if (!first) sb.append(", ");
    sb.append("imageUserCardReject:");
    if (this.imageUserCardReject == null) {
      sb.append("null");
    } else {
      sb.append(this.imageUserCardReject);
    }
    first = false;
    if (!first) sb.append(", ");
    sb.append("nickName:");
    if (this.nickName == null) {
      sb.append("null");
    } else {
      sb.append(this.nickName);
    }
    first = false;
    if (!first) sb.append(", ");
    sb.append("createDateTime:");
    if (this.createDateTime == null) {
      sb.append("null");
    } else {
      sb.append(this.createDateTime);
    }
    first = false;
    if (!first) sb.append(", ");
    sb.append("isCancel:");
    sb.append(this.isCancel);
    first = false;
    if (!first) sb.append(", ");
    sb.append("authedPercent:");
    if (this.authedPercent == null) {
      sb.append("null");
    } else {
      sb.append(this.authedPercent);
    }
    first = false;
    if (!first) sb.append(", ");
    sb.append("auth3ConditionDateTime:");
    if (this.auth3ConditionDateTime == null) {
      sb.append("null");
    } else {
      sb.append(this.auth3ConditionDateTime);
    }
    first = false;
    if (!first) sb.append(", ");
    sb.append("memberLevel:");
    sb.append(this.memberLevel);
    first = false;
    sb.append(")");
    return sb.toString();
  }

  public void validate() throws org.apache.thrift.TException {
    // check for required fields
    // check for sub-struct validity
  }

  private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
    try {
      write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
    } catch (org.apache.thrift.TException te) {
      throw new java.io.IOException(te);
    }
  }

  private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
    try {
      // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
      __isset_bitfield = 0;
      read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
    } catch (org.apache.thrift.TException te) {
      throw new java.io.IOException(te);
    }
  }

  private static class UserInfoAuthStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
    public UserInfoAuthStandardScheme getScheme() {
      return new UserInfoAuthStandardScheme();
    }
  }

  private static class UserInfoAuthStandardScheme extends org.apache.thrift.scheme.StandardScheme {

    public void read(org.apache.thrift.protocol.TProtocol iprot, UserInfoAuth struct) throws org.apache.thrift.TException {
      org.apache.thrift.protocol.TField schemeField;
      iprot.readStructBegin();
      while (true)
      {
        schemeField = iprot.readFieldBegin();
        if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
          break;
        }
        switch (schemeField.id) {
          case 1: // USER_BASE_ID
            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
              struct.userBaseId = iprot.readString();
              struct.setUserBaseIdIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          case 2: // TRUE_NAME
            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
              struct.trueName = iprot.readString();
              struct.setTrueNameIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          case 3: // IS_TRUE_NAME_AUTH
            if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) {
              struct.isTrueNameAuth = iprot.readBool();
              struct.setIsTrueNameAuthIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          case 4: // PHONE
            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
              struct.phone = iprot.readString();
              struct.setPhoneIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          case 5: // IS_PHONE_AUTH
            if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) {
              struct.isPhoneAuth = iprot.readBool();
              struct.setIsPhoneAuthIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          case 6: // IDENTITY_CARD
            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
              struct.identityCard = iprot.readString();
              struct.setIdentityCardIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          case 7: // IS_IDENTITY_CARD_AUTH
            if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) {
              struct.IsIdentityCardAuth = iprot.readBool();
              struct.setIsIdentityCardAuthIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          case 8: // EMAIL
            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
              struct.email = iprot.readString();
              struct.setEmailIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          case 9: // IS_EMAIL_AUTH
            if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) {
              struct.isEmailAuth = iprot.readBool();
              struct.setIsEmailAuthIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          case 10: // EMERGENCY_CALL
            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
              struct.emergencyCall = iprot.readString();
              struct.setEmergencyCallIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          case 11: // IS_EMERGENCY_CALL_AUTH
            if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) {
              struct.isEmergencyCallAuth = iprot.readBool();
              struct.setIsEmergencyCallAuthIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          case 12: // ADDRESS
            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
              struct.address = iprot.readString();
              struct.setAddressIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          case 13: // IS_ADDRESS_AUTH
            if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) {
              struct.isAddressAuth = iprot.readBool();
              struct.setIsAddressAuthIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          case 14: // IMAGE_FRONT_CARD
            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
              struct.imageFrontCard = iprot.readString();
              struct.setImageFrontCardIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          case 15: // IS_IMAGE_FRONT_CARD_AUTH
            if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) {
              struct.isImageFrontCardAuth = iprot.readBool();
              struct.setIsImageFrontCardAuthIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          case 16: // IMAGE_BACK_CARD
            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
              struct.imageBackCard = iprot.readString();
              struct.setImageBackCardIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          case 17: // IS_IMAGE_BACK_CARD_AUTH
            if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) {
              struct.isImageBackCardAuth = iprot.readBool();
              struct.setIsImageBackCardAuthIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          case 18: // IMAGE_USER_CARD
            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
              struct.imageUserCard = iprot.readString();
              struct.setImageUserCardIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          case 19: // IS_IMAGE_USER_CARD_AUTH
            if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) {
              struct.isImageUserCardAuth = iprot.readBool();
              struct.setIsImageUserCardAuthIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          case 20: // LOGIN_ACCOUNT
            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
              struct.loginAccount = iprot.readString();
              struct.setLoginAccountIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          case 21: // AGENT_TYPE
            if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
              struct.agentType = AgentType.findByValue(iprot.readI32());
              struct.setAgentTypeIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          case 22: // MARKET_ONE
            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
              struct.marketOne = iprot.readString();
              struct.setMarketOneIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          case 23: // ADDRESS_REJECT
            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
              struct.addressReject = iprot.readString();
              struct.setAddressRejectIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          case 24: // EMERGENCY_CALL_REJECT
            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
              struct.emergencyCallReject = iprot.readString();
              struct.setEmergencyCallRejectIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          case 25: // IMAGE_BACK_CARD_REJECT
            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
              struct.imageBackCardReject = iprot.readString();
              struct.setImageBackCardRejectIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          case 26: // IMAGE_FRONT_CARD_REJECT
            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
              struct.imageFrontCardReject = iprot.readString();
              struct.setImageFrontCardRejectIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          case 27: // IMAGE_USER_CARD_REJECT
            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
              struct.imageUserCardReject = iprot.readString();
              struct.setImageUserCardRejectIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          case 28: // NICK_NAME
            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
              struct.nickName = iprot.readString();
              struct.setNickNameIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          case 29: // CREATE_DATE_TIME
            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
              struct.createDateTime = iprot.readString();
              struct.setCreateDateTimeIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          case 30: // IS_CANCEL
            if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) {
              struct.isCancel = iprot.readBool();
              struct.setIsCancelIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          case 31: // AUTHED_PERCENT
            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
              struct.authedPercent = iprot.readString();
              struct.setAuthedPercentIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          case 32: // AUTH3_CONDITION_DATE_TIME
            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
              struct.auth3ConditionDateTime = iprot.readString();
              struct.setAuth3ConditionDateTimeIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          case 33: // MEMBER_LEVEL
            if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
              struct.memberLevel = iprot.readI32();
              struct.setMemberLevelIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          default:
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
        }
        iprot.readFieldEnd();
      }
      iprot.readStructEnd();

      // check for required fields of primitive type, which can't be checked in the validate method
      struct.validate();
    }

    public void write(org.apache.thrift.protocol.TProtocol oprot, UserInfoAuth struct) throws org.apache.thrift.TException {
      struct.validate();

      oprot.writeStructBegin(STRUCT_DESC);
      if (struct.userBaseId != null) {
        oprot.writeFieldBegin(USER_BASE_ID_FIELD_DESC);
        oprot.writeString(struct.userBaseId);
        oprot.writeFieldEnd();
      }
      if (struct.trueName != null) {
        oprot.writeFieldBegin(TRUE_NAME_FIELD_DESC);
        oprot.writeString(struct.trueName);
        oprot.writeFieldEnd();
      }
      oprot.writeFieldBegin(IS_TRUE_NAME_AUTH_FIELD_DESC);
      oprot.writeBool(struct.isTrueNameAuth);
      oprot.writeFieldEnd();
      if (struct.phone != null) {
        oprot.writeFieldBegin(PHONE_FIELD_DESC);
        oprot.writeString(struct.phone);
        oprot.writeFieldEnd();
      }
      oprot.writeFieldBegin(IS_PHONE_AUTH_FIELD_DESC);
      oprot.writeBool(struct.isPhoneAuth);
      oprot.writeFieldEnd();
      if (struct.identityCard != null) {
        oprot.writeFieldBegin(IDENTITY_CARD_FIELD_DESC);
        oprot.writeString(struct.identityCard);
        oprot.writeFieldEnd();
      }
      oprot.writeFieldBegin(IS_IDENTITY_CARD_AUTH_FIELD_DESC);
      oprot.writeBool(struct.IsIdentityCardAuth);
      oprot.writeFieldEnd();
      if (struct.email != null) {
        oprot.writeFieldBegin(EMAIL_FIELD_DESC);
        oprot.writeString(struct.email);
        oprot.writeFieldEnd();
      }
      oprot.writeFieldBegin(IS_EMAIL_AUTH_FIELD_DESC);
      oprot.writeBool(struct.isEmailAuth);
      oprot.writeFieldEnd();
      if (struct.emergencyCall != null) {
        oprot.writeFieldBegin(EMERGENCY_CALL_FIELD_DESC);
        oprot.writeString(struct.emergencyCall);
        oprot.writeFieldEnd();
      }
      oprot.writeFieldBegin(IS_EMERGENCY_CALL_AUTH_FIELD_DESC);
      oprot.writeBool(struct.isEmergencyCallAuth);
      oprot.writeFieldEnd();
      if (struct.address != null) {
        oprot.writeFieldBegin(ADDRESS_FIELD_DESC);
        oprot.writeString(struct.address);
        oprot.writeFieldEnd();
      }
      oprot.writeFieldBegin(IS_ADDRESS_AUTH_FIELD_DESC);
      oprot.writeBool(struct.isAddressAuth);
      oprot.writeFieldEnd();
      if (struct.imageFrontCard != null) {
        oprot.writeFieldBegin(IMAGE_FRONT_CARD_FIELD_DESC);
        oprot.writeString(struct.imageFrontCard);
        oprot.writeFieldEnd();
      }
      oprot.writeFieldBegin(IS_IMAGE_FRONT_CARD_AUTH_FIELD_DESC);
      oprot.writeBool(struct.isImageFrontCardAuth);
      oprot.writeFieldEnd();
      if (struct.imageBackCard != null) {
        oprot.writeFieldBegin(IMAGE_BACK_CARD_FIELD_DESC);
        oprot.writeString(struct.imageBackCard);
        oprot.writeFieldEnd();
      }
      oprot.writeFieldBegin(IS_IMAGE_BACK_CARD_AUTH_FIELD_DESC);
      oprot.writeBool(struct.isImageBackCardAuth);
      oprot.writeFieldEnd();
      if (struct.imageUserCard != null) {
        oprot.writeFieldBegin(IMAGE_USER_CARD_FIELD_DESC);
        oprot.writeString(struct.imageUserCard);
        oprot.writeFieldEnd();
      }
      oprot.writeFieldBegin(IS_IMAGE_USER_CARD_AUTH_FIELD_DESC);
      oprot.writeBool(struct.isImageUserCardAuth);
      oprot.writeFieldEnd();
      if (struct.loginAccount != null) {
        oprot.writeFieldBegin(LOGIN_ACCOUNT_FIELD_DESC);
        oprot.writeString(struct.loginAccount);
        oprot.writeFieldEnd();
      }
      if (struct.agentType != null) {
        oprot.writeFieldBegin(AGENT_TYPE_FIELD_DESC);
        oprot.writeI32(struct.agentType.getValue());
        oprot.writeFieldEnd();
      }
      if (struct.marketOne != null) {
        oprot.writeFieldBegin(MARKET_ONE_FIELD_DESC);
        oprot.writeString(struct.marketOne);
        oprot.writeFieldEnd();
      }
      if (struct.addressReject != null) {
        oprot.writeFieldBegin(ADDRESS_REJECT_FIELD_DESC);
        oprot.writeString(struct.addressReject);
        oprot.writeFieldEnd();
      }
      if (struct.emergencyCallReject != null) {
        oprot.writeFieldBegin(EMERGENCY_CALL_REJECT_FIELD_DESC);
        oprot.writeString(struct.emergencyCallReject);
        oprot.writeFieldEnd();
      }
      if (struct.imageBackCardReject != null) {
        oprot.writeFieldBegin(IMAGE_BACK_CARD_REJECT_FIELD_DESC);
        oprot.writeString(struct.imageBackCardReject);
        oprot.writeFieldEnd();
      }
      if (struct.imageFrontCardReject != null) {
        oprot.writeFieldBegin(IMAGE_FRONT_CARD_REJECT_FIELD_DESC);
        oprot.writeString(struct.imageFrontCardReject);
        oprot.writeFieldEnd();
      }
      if (struct.imageUserCardReject != null) {
        oprot.writeFieldBegin(IMAGE_USER_CARD_REJECT_FIELD_DESC);
        oprot.writeString(struct.imageUserCardReject);
        oprot.writeFieldEnd();
      }
      if (struct.nickName != null) {
        oprot.writeFieldBegin(NICK_NAME_FIELD_DESC);
        oprot.writeString(struct.nickName);
        oprot.writeFieldEnd();
      }
      if (struct.createDateTime != null) {
        oprot.writeFieldBegin(CREATE_DATE_TIME_FIELD_DESC);
        oprot.writeString(struct.createDateTime);
        oprot.writeFieldEnd();
      }
      oprot.writeFieldBegin(IS_CANCEL_FIELD_DESC);
      oprot.writeBool(struct.isCancel);
      oprot.writeFieldEnd();
      if (struct.authedPercent != null) {
        oprot.writeFieldBegin(AUTHED_PERCENT_FIELD_DESC);
        oprot.writeString(struct.authedPercent);
        oprot.writeFieldEnd();
      }
      if (struct.auth3ConditionDateTime != null) {
        oprot.writeFieldBegin(AUTH3_CONDITION_DATE_TIME_FIELD_DESC);
        oprot.writeString(struct.auth3ConditionDateTime);
        oprot.writeFieldEnd();
      }
      oprot.writeFieldBegin(MEMBER_LEVEL_FIELD_DESC);
      oprot.writeI32(struct.memberLevel);
      oprot.writeFieldEnd();
      oprot.writeFieldStop();
      oprot.writeStructEnd();
    }

  }

  private static class UserInfoAuthTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
    public UserInfoAuthTupleScheme getScheme() {
      return new UserInfoAuthTupleScheme();
    }
  }

  private static class UserInfoAuthTupleScheme extends org.apache.thrift.scheme.TupleScheme {

    @Override
    public void write(org.apache.thrift.protocol.TProtocol prot, UserInfoAuth struct) throws org.apache.thrift.TException {
      org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
      java.util.BitSet optionals = new java.util.BitSet();
      if (struct.isSetUserBaseId()) {
        optionals.set(0);
      }
      if (struct.isSetTrueName()) {
        optionals.set(1);
      }
      if (struct.isSetIsTrueNameAuth()) {
        optionals.set(2);
      }
      if (struct.isSetPhone()) {
        optionals.set(3);
      }
      if (struct.isSetIsPhoneAuth()) {
        optionals.set(4);
      }
      if (struct.isSetIdentityCard()) {
        optionals.set(5);
      }
      if (struct.isSetIsIdentityCardAuth()) {
        optionals.set(6);
      }
      if (struct.isSetEmail()) {
        optionals.set(7);
      }
      if (struct.isSetIsEmailAuth()) {
        optionals.set(8);
      }
      if (struct.isSetEmergencyCall()) {
        optionals.set(9);
      }
      if (struct.isSetIsEmergencyCallAuth()) {
        optionals.set(10);
      }
      if (struct.isSetAddress()) {
        optionals.set(11);
      }
      if (struct.isSetIsAddressAuth()) {
        optionals.set(12);
      }
      if (struct.isSetImageFrontCard()) {
        optionals.set(13);
      }
      if (struct.isSetIsImageFrontCardAuth()) {
        optionals.set(14);
      }
      if (struct.isSetImageBackCard()) {
        optionals.set(15);
      }
      if (struct.isSetIsImageBackCardAuth()) {
        optionals.set(16);
      }
      if (struct.isSetImageUserCard()) {
        optionals.set(17);
      }
      if (struct.isSetIsImageUserCardAuth()) {
        optionals.set(18);
      }
      if (struct.isSetLoginAccount()) {
        optionals.set(19);
      }
      if (struct.isSetAgentType()) {
        optionals.set(20);
      }
      if (struct.isSetMarketOne()) {
        optionals.set(21);
      }
      if (struct.isSetAddressReject()) {
        optionals.set(22);
      }
      if (struct.isSetEmergencyCallReject()) {
        optionals.set(23);
      }
      if (struct.isSetImageBackCardReject()) {
        optionals.set(24);
      }
      if (struct.isSetImageFrontCardReject()) {
        optionals.set(25);
      }
      if (struct.isSetImageUserCardReject()) {
        optionals.set(26);
      }
      if (struct.isSetNickName()) {
        optionals.set(27);
      }
      if (struct.isSetCreateDateTime()) {
        optionals.set(28);
      }
      if (struct.isSetIsCancel()) {
        optionals.set(29);
      }
      if (struct.isSetAuthedPercent()) {
        optionals.set(30);
      }
      if (struct.isSetAuth3ConditionDateTime()) {
        optionals.set(31);
      }
      if (struct.isSetMemberLevel()) {
        optionals.set(32);
      }
      oprot.writeBitSet(optionals, 33);
      if (struct.isSetUserBaseId()) {
        oprot.writeString(struct.userBaseId);
      }
      if (struct.isSetTrueName()) {
        oprot.writeString(struct.trueName);
      }
      if (struct.isSetIsTrueNameAuth()) {
        oprot.writeBool(struct.isTrueNameAuth);
      }
      if (struct.isSetPhone()) {
        oprot.writeString(struct.phone);
      }
      if (struct.isSetIsPhoneAuth()) {
        oprot.writeBool(struct.isPhoneAuth);
      }
      if (struct.isSetIdentityCard()) {
        oprot.writeString(struct.identityCard);
      }
      if (struct.isSetIsIdentityCardAuth()) {
        oprot.writeBool(struct.IsIdentityCardAuth);
      }
      if (struct.isSetEmail()) {
        oprot.writeString(struct.email);
      }
      if (struct.isSetIsEmailAuth()) {
        oprot.writeBool(struct.isEmailAuth);
      }
      if (struct.isSetEmergencyCall()) {
        oprot.writeString(struct.emergencyCall);
      }
      if (struct.isSetIsEmergencyCallAuth()) {
        oprot.writeBool(struct.isEmergencyCallAuth);
      }
      if (struct.isSetAddress()) {
        oprot.writeString(struct.address);
      }
      if (struct.isSetIsAddressAuth()) {
        oprot.writeBool(struct.isAddressAuth);
      }
      if (struct.isSetImageFrontCard()) {
        oprot.writeString(struct.imageFrontCard);
      }
      if (struct.isSetIsImageFrontCardAuth()) {
        oprot.writeBool(struct.isImageFrontCardAuth);
      }
      if (struct.isSetImageBackCard()) {
        oprot.writeString(struct.imageBackCard);
      }
      if (struct.isSetIsImageBackCardAuth()) {
        oprot.writeBool(struct.isImageBackCardAuth);
      }
      if (struct.isSetImageUserCard()) {
        oprot.writeString(struct.imageUserCard);
      }
      if (struct.isSetIsImageUserCardAuth()) {
        oprot.writeBool(struct.isImageUserCardAuth);
      }
      if (struct.isSetLoginAccount()) {
        oprot.writeString(struct.loginAccount);
      }
      if (struct.isSetAgentType()) {
        oprot.writeI32(struct.agentType.getValue());
      }
      if (struct.isSetMarketOne()) {
        oprot.writeString(struct.marketOne);
      }
      if (struct.isSetAddressReject()) {
        oprot.writeString(struct.addressReject);
      }
      if (struct.isSetEmergencyCallReject()) {
        oprot.writeString(struct.emergencyCallReject);
      }
      if (struct.isSetImageBackCardReject()) {
        oprot.writeString(struct.imageBackCardReject);
      }
      if (struct.isSetImageFrontCardReject()) {
        oprot.writeString(struct.imageFrontCardReject);
      }
      if (struct.isSetImageUserCardReject()) {
        oprot.writeString(struct.imageUserCardReject);
      }
      if (struct.isSetNickName()) {
        oprot.writeString(struct.nickName);
      }
      if (struct.isSetCreateDateTime()) {
        oprot.writeString(struct.createDateTime);
      }
      if (struct.isSetIsCancel()) {
        oprot.writeBool(struct.isCancel);
      }
      if (struct.isSetAuthedPercent()) {
        oprot.writeString(struct.authedPercent);
      }
      if (struct.isSetAuth3ConditionDateTime()) {
        oprot.writeString(struct.auth3ConditionDateTime);
      }
      if (struct.isSetMemberLevel()) {
        oprot.writeI32(struct.memberLevel);
      }
    }

    @Override
    public void read(org.apache.thrift.protocol.TProtocol prot, UserInfoAuth struct) throws org.apache.thrift.TException {
      org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
      java.util.BitSet incoming = iprot.readBitSet(33);
      if (incoming.get(0)) {
        struct.userBaseId = iprot.readString();
        struct.setUserBaseIdIsSet(true);
      }
      if (incoming.get(1)) {
        struct.trueName = iprot.readString();
        struct.setTrueNameIsSet(true);
      }
      if (incoming.get(2)) {
        struct.isTrueNameAuth = iprot.readBool();
        struct.setIsTrueNameAuthIsSet(true);
      }
      if (incoming.get(3)) {
        struct.phone = iprot.readString();
        struct.setPhoneIsSet(true);
      }
      if (incoming.get(4)) {
        struct.isPhoneAuth = iprot.readBool();
        struct.setIsPhoneAuthIsSet(true);
      }
      if (incoming.get(5)) {
        struct.identityCard = iprot.readString();
        struct.setIdentityCardIsSet(true);
      }
      if (incoming.get(6)) {
        struct.IsIdentityCardAuth = iprot.readBool();
        struct.setIsIdentityCardAuthIsSet(true);
      }
      if (incoming.get(7)) {
        struct.email = iprot.readString();
        struct.setEmailIsSet(true);
      }
      if (incoming.get(8)) {
        struct.isEmailAuth = iprot.readBool();
        struct.setIsEmailAuthIsSet(true);
      }
      if (incoming.get(9)) {
        struct.emergencyCall = iprot.readString();
        struct.setEmergencyCallIsSet(true);
      }
      if (incoming.get(10)) {
        struct.isEmergencyCallAuth = iprot.readBool();
        struct.setIsEmergencyCallAuthIsSet(true);
      }
      if (incoming.get(11)) {
        struct.address = iprot.readString();
        struct.setAddressIsSet(true);
      }
      if (incoming.get(12)) {
        struct.isAddressAuth = iprot.readBool();
        struct.setIsAddressAuthIsSet(true);
      }
      if (incoming.get(13)) {
        struct.imageFrontCard = iprot.readString();
        struct.setImageFrontCardIsSet(true);
      }
      if (incoming.get(14)) {
        struct.isImageFrontCardAuth = iprot.readBool();
        struct.setIsImageFrontCardAuthIsSet(true);
      }
      if (incoming.get(15)) {
        struct.imageBackCard = iprot.readString();
        struct.setImageBackCardIsSet(true);
      }
      if (incoming.get(16)) {
        struct.isImageBackCardAuth = iprot.readBool();
        struct.setIsImageBackCardAuthIsSet(true);
      }
      if (incoming.get(17)) {
        struct.imageUserCard = iprot.readString();
        struct.setImageUserCardIsSet(true);
      }
      if (incoming.get(18)) {
        struct.isImageUserCardAuth = iprot.readBool();
        struct.setIsImageUserCardAuthIsSet(true);
      }
      if (incoming.get(19)) {
        struct.loginAccount = iprot.readString();
        struct.setLoginAccountIsSet(true);
      }
      if (incoming.get(20)) {
        struct.agentType = AgentType.findByValue(iprot.readI32());
        struct.setAgentTypeIsSet(true);
      }
      if (incoming.get(21)) {
        struct.marketOne = iprot.readString();
        struct.setMarketOneIsSet(true);
      }
      if (incoming.get(22)) {
        struct.addressReject = iprot.readString();
        struct.setAddressRejectIsSet(true);
      }
      if (incoming.get(23)) {
        struct.emergencyCallReject = iprot.readString();
        struct.setEmergencyCallRejectIsSet(true);
      }
      if (incoming.get(24)) {
        struct.imageBackCardReject = iprot.readString();
        struct.setImageBackCardRejectIsSet(true);
      }
      if (incoming.get(25)) {
        struct.imageFrontCardReject = iprot.readString();
        struct.setImageFrontCardRejectIsSet(true);
      }
      if (incoming.get(26)) {
        struct.imageUserCardReject = iprot.readString();
        struct.setImageUserCardRejectIsSet(true);
      }
      if (incoming.get(27)) {
        struct.nickName = iprot.readString();
        struct.setNickNameIsSet(true);
      }
      if (incoming.get(28)) {
        struct.createDateTime = iprot.readString();
        struct.setCreateDateTimeIsSet(true);
      }
      if (incoming.get(29)) {
        struct.isCancel = iprot.readBool();
        struct.setIsCancelIsSet(true);
      }
      if (incoming.get(30)) {
        struct.authedPercent = iprot.readString();
        struct.setAuthedPercentIsSet(true);
      }
      if (incoming.get(31)) {
        struct.auth3ConditionDateTime = iprot.readString();
        struct.setAuth3ConditionDateTimeIsSet(true);
      }
      if (incoming.get(32)) {
        struct.memberLevel = iprot.readI32();
        struct.setMemberLevelIsSet(true);
      }
    }
  }

  private static  S scheme(org.apache.thrift.protocol.TProtocol proto) {
    return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme();
  }
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy