code: public static Depth valueOf(final String value) {
          if (value != null && values.contains(value.toLowerCase())) {
              return new Depth(value);
          }
          return null;
      }
docs: Create a Depth object from a value.
  @param value the value
  @return the Depth object or null