UpgradableVersionPathResultInner Class

  • java.lang.Object
    • com.azure.resourcemanager.servicefabric.fluent.models.UpgradableVersionPathResultInner

Implements

public final class UpgradableVersionPathResultInner
implements JsonSerializable<UpgradableVersionPathResultInner>

The list of intermediate cluster code versions for an upgrade or downgrade. Or minimum and maximum upgradable version if no target was given.

Constructor Summary

Constructor Description
UpgradableVersionPathResultInner()

Creates an instance of UpgradableVersionPathResultInner class.

Method Summary

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

Reads an instance of UpgradableVersionPathResultInner from the JsonReader.

List<String> supportedPath()

Get the supportedPath property: The supportedPath property.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

UpgradableVersionPathResultInner withSupportedPath(List<String> supportedPath)

Set the supportedPath property: The supportedPath property.

Methods inherited from java.lang.Object

Constructor Details

UpgradableVersionPathResultInner

public UpgradableVersionPathResultInner()

Creates an instance of UpgradableVersionPathResultInner class.

Method Details

fromJson

public static UpgradableVersionPathResultInner fromJson(JsonReader jsonReader)

Reads an instance of UpgradableVersionPathResultInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

supportedPath

public List<String> supportedPath()

Get the supportedPath property: The supportedPath property.

Returns:

the supportedPath value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withSupportedPath

public UpgradableVersionPathResultInner withSupportedPath(List<String> supportedPath)

Set the supportedPath property: The supportedPath property.

Parameters:

supportedPath - the supportedPath value to set.

Returns:

the UpgradableVersionPathResultInner object itself.

Applies to