Share via


ImageVersionProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.devopsinfrastructure.models.ImageVersionProperties

Implements

public final class ImageVersionProperties
implements JsonSerializable<ImageVersionProperties>

Details of the ImageVersionProperties.

Method Summary

Modifier and Type Method and Description
static ImageVersionProperties fromJson(JsonReader jsonReader)

Reads an instance of ImageVersionProperties from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

String version()

Get the version property: Version of the image.

Methods inherited from java.lang.Object

Method Details

fromJson

public static ImageVersionProperties fromJson(JsonReader jsonReader)

Reads an instance of ImageVersionProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ImageVersionProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

version

public String version()

Get the version property: Version of the image.

Returns:

the version value.

Applies to