Partager via


FunctionAppMajorVersion Class

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

Implements

public final class FunctionAppMajorVersion
implements JsonSerializable<FunctionAppMajorVersion>

Function App stack major version.

Constructor Summary

Constructor Description
FunctionAppMajorVersion()

Creates an instance of FunctionAppMajorVersion class.

Method Summary

Modifier and Type Method and Description
String displayText()

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

static FunctionAppMajorVersion fromJson(JsonReader jsonReader)

Reads an instance of FunctionAppMajorVersion from the JsonReader.

List<FunctionAppMinorVersion> 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: Function App stack major version name.

Methods inherited from java.lang.Object

Constructor Details

FunctionAppMajorVersion

public FunctionAppMajorVersion()

Creates an instance of FunctionAppMajorVersion class.

Method Details

displayText

public String displayText()

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

Returns:

the displayText value.

fromJson

public static FunctionAppMajorVersion fromJson(JsonReader jsonReader)

Reads an instance of FunctionAppMajorVersion from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

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: Function App stack major version name.

Returns:

the value value.

Applies to