AppSkuInfo Class

  • java.lang.Object
    • com.azure.resourcemanager.iotcentral.models.AppSkuInfo

Implements

public final class AppSkuInfo
implements JsonSerializable<AppSkuInfo>

Information about the SKU of the IoT Central application.

Constructor Summary

Constructor Description
AppSkuInfo()

Creates an instance of AppSkuInfo class.

Method Summary

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

Reads an instance of AppSkuInfo from the JsonReader.

AppSku name()

Get the name property: The name of the SKU.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

AppSkuInfo withName(AppSku name)

Set the name property: The name of the SKU.

Methods inherited from java.lang.Object

Constructor Details

AppSkuInfo

public AppSkuInfo()

Creates an instance of AppSkuInfo class.

Method Details

fromJson

public static AppSkuInfo fromJson(JsonReader jsonReader)

Reads an instance of AppSkuInfo from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AppSkuInfo if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

name

public AppSku name()

Get the name property: The name of the SKU.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withName

public AppSkuInfo withName(AppSku name)

Set the name property: The name of the SKU.

Parameters:

name - the name value to set.

Returns:

the AppSkuInfo object itself.

Applies to