Share via


CompatibleVersions Class

  • java.lang.Object
    • com.azure.resourcemanager.containerservice.models.CompatibleVersions

Implements

public final class CompatibleVersions
implements JsonSerializable<CompatibleVersions>

Version information about a product/service that is compatible with a service mesh revision.

Method Summary

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

Reads an instance of CompatibleVersions from the JsonReader.

String name()

Get the name property: The product/service name.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<String> versions()

Get the versions property: Product/service versions compatible with a service mesh add-on revision.

Methods inherited from java.lang.Object

Method Details

fromJson

public static CompatibleVersions fromJson(JsonReader jsonReader)

Reads an instance of CompatibleVersions from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

name

public String name()

Get the name property: The product/service name.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

versions

public List<String> versions()

Get the versions property: Product/service versions compatible with a service mesh add-on revision.

Returns:

the versions value.

Applies to