smart-core/src/main/java/com/credits/leveldb/client/thrift/PeriodStats.java
public static _Fields findByThriftId(int fieldId) {
      switch(fieldId) {
        case 1: // PERIOD_DURATION
          return PERIOD_DURATION;
        case 2: // POOLS_COUNT
          return POOLS_COUNT;
        case 3: // TRANSACTIONS_COUNT
          return TRANSACTIONS_COUNT;
        case 4: // BALANCE_PER_CURRENCY
          return BALANCE_PER_CURRENCY;
        case 5: // SMART_CONTRACTS_COUNT
          return SMART_CONTRACTS_COUNT;
        default:
          return null;
      }
    }
/**
     * Find the _Fields constant that matches fieldId, or null if its not found.
     */
Find the _Fields constant that matches fieldId, or null if its not found.
Find the _Fields constant that matches fieldId or null if its not found .
public static _Fields findByThriftId(int fieldId) {
      switch(fieldId) {
        case 1: 
          return PERIOD_DURATION;
        case 2: 
          return POOLS_COUNT;
        case 3: 
          return TRANSACTIONS_COUNT;
        case 4: 
          return BALANCE_PER_CURRENCY;
        case 5: 
          return SMART_CONTRACTS_COUNT;
        default:
          return null;
      }
    }
public static _Fields findByThriftId ( int fieldId ) { switch ( fieldId ) { case 1 : return PERIOD_DURATION ; case 2 : return POOLS_COUNT ; case 3 : return TRANSACTIONS_COUNT ; case 4 : return BALANCE_PER_CURRENCY ; case 5 : return SMART_CONTRACTS_COUNT ; default : return null ; } }
Find the _Fields constant that matches fieldId, or null if its not found.
Find the _Fields constant that matches fieldId or null if its not found .
// PERIOD_DURATION // POOLS_COUNT // TRANSACTIONS_COUNT // BALANCE_PER_CURRENCY // SMART_CONTRACTS_COUNT