Class DevBoxImageReference

java.lang.Object
com.azure.developer.devcenter.models.DevBoxImageReference
All Implemented Interfaces:
com.azure.json.JsonSerializable<DevBoxImageReference>

public final class DevBoxImageReference extends Object implements com.azure.json.JsonSerializable<DevBoxImageReference>
Specifies information about the image used.
  • Method Details

    • getName

      public String getName()
      Get the name property: The name of the image used.
      Returns:
      the name value.
    • getVersion

      public String getVersion()
      Get the version property: The version of the image.
      Returns:
      the version 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.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<DevBoxImageReference>
      Throws:
      IOException
    • fromJson

      public static DevBoxImageReference fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      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.