@JsonCreator
    public static ModelVersion of(String version) {
        Preconditions.checkArgument(StringUtils.isNotBlank(version), "Version must not be blank");
        return new AutoValue_ModelVersion(version);
    }
@Test
    public void ensureVersionIsNotBlank() {
        assertThatThrownBy(() -> ModelVersion.of(null))
                .isInstanceOf(IllegalArgumentException.class)
                .hasMessage("Version must not be blank");
        assertThatThrownBy(() -> ModelVersion.of(""))
                .isInstanceOf(IllegalArgumentException.class)
                .hasMessage("Version must not be blank");
        assertThatThrownBy(() -> ModelVersion.of("    \n\r\t"))
                .isInstanceOf(IllegalArgumentException.class)
                .hasMessage("Version must not be blank");
    }