ImageInformation Class

  • java.lang.Object
    • com.azure.resourcemanager.edgeorder.models.ImageInformation

Implements

public final class ImageInformation
implements JsonSerializable<ImageInformation>

Image for the product.

Constructor Summary

Constructor Description
ImageInformation()

Creates an instance of ImageInformation class.

Method Summary

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

Reads an instance of ImageInformation from the JsonReader.

ImageType imageType()

Get the imageType property: Type of the image.

String imageUrl()

Get the imageUrl property: Url of the image.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

ImageInformation

public ImageInformation()

Creates an instance of ImageInformation class.

Method Details

fromJson

public static ImageInformation fromJson(JsonReader jsonReader)

Reads an instance of ImageInformation from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ImageInformation 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 ImageInformation.

imageType

public ImageType imageType()

Get the imageType property: Type of the image.

Returns:

the imageType value.

imageUrl

public String imageUrl()

Get the imageUrl property: Url of the image.

Returns:

the imageUrl value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to