WebAppMajorVersion Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.models.WebAppMajorVersion

Implements

public final class WebAppMajorVersion
implements JsonSerializable<WebAppMajorVersion>

Web App stack major version.

Constructor Summary

Constructor Description
WebAppMajorVersion()

Creates an instance of WebAppMajorVersion class.

Method Summary

Modifier and Type Method and Description
String displayText()

Get the displayText property: Web App stack major version (display only).

static WebAppMajorVersion fromJson(JsonReader jsonReader)

Reads an instance of WebAppMajorVersion from the JsonReader.

List<WebAppMinorVersion> minorVersions()

Get the minorVersions property: Minor versions associated with the major version.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

String value()

Get the value property: Web App stack major version name.

Methods inherited from java.lang.Object

Constructor Details

WebAppMajorVersion

public WebAppMajorVersion()

Creates an instance of WebAppMajorVersion class.

Method Details

displayText

public String displayText()

Get the displayText property: Web App stack major version (display only).

Returns:

the displayText value.

fromJson

public static WebAppMajorVersion fromJson(JsonReader jsonReader)

Reads an instance of WebAppMajorVersion from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

minorVersions

public List minorVersions()

Get the minorVersions property: Minor versions associated with the major version.

Returns:

the minorVersions value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public String value()

Get the value property: Web App stack major version name.

Returns:

the value value.

Applies to