code: @JsonProperty("duration")
      public Long getDuration() {
          if (start != null && end != null) {
              return start.until(end, ChronoUnit.MILLIS);
          } else {
              return null;
          }
      }
docs: Returns the duration of the deployment.