code: @Deprecated
      public long getPurgeSeq() {
          try {
              JsonPrimitive purgeSeqPrim = purgeSeq.getAsJsonPrimitive();
              return purgeSeqPrim.getAsLong();
          } catch (IllegalStateException e) {
              // Suppress exception if the element is of type JsonArray but contains more than a
              // single element.
          } catch (NumberFormatException e) {
              // Suppress exception if the element is not a JsonPrimitive and is not a valid long
              // value.
          }
          // Return 0 when value cannot be cast as a primitive long value.
          return 0;
      }
docs: Use {@link #getStringPurgeSeq()} instead.
  
  The value 0 is returned if the {@code purged_seq} field cannot be cast as a primitive long.
  In later versions of CouchDB (&gt;=2.3.x) {@code purged_seq} is an opaque string.
  
  @return Number of purge operations on the database.