DevBoxImageReference Class

  • java.lang.Object
    • com.azure.developer.devcenter.models.DevBoxImageReference

Implements

public final class DevBoxImageReference
implements JsonSerializable<DevBoxImageReference>

Specifies information about the image used.

Method Summary

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

Reads an instance of DevBoxImageReference from the JsonReader.

String getName()

Get the name property: The name of the image used.

String getOperatingSystem()

Get the operatingSystem property: The operating system of the image.

String getOsBuildNumber()

Get the osBuildNumber property: The operating system build number of the image.

OffsetDateTime getPublishedDate()

Get the publishedDate property: The datetime that the backing image version was published, in RFC3339 format.

String getVersion()

Get the version property: The version of the image.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

fromJson

public static DevBoxImageReference fromJson(JsonReader jsonReader)

Reads an instance of DevBoxImageReference from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the DevBoxImageReference.

getName

public String getName()

Get the name property: The name of the image used.

Returns:

the name value.

getOperatingSystem

public String getOperatingSystem()

Get the operatingSystem property: The operating system of the image.

Returns:

the operatingSystem value.

getOsBuildNumber

public String getOsBuildNumber()

Get the osBuildNumber property: The operating system build number of the image.

Returns:

the osBuildNumber value.

getPublishedDate

public OffsetDateTime getPublishedDate()

Get the publishedDate property: The datetime that the backing image version was published, in RFC3339 format.

Returns:

the publishedDate value.

getVersion

public String getVersion()

Get the version property: The version of the image.

Returns:

the version value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to