class KubernetesUtils {

  public static BigInteger getResourceVersion(V1ObjectMeta metadata) {
    return getResourceVersion(Optional.ofNullable(metadata).map(V1ObjectMeta::getResourceVersion).orElse(null));
  }

}