Class WebAppServicePlanUpdatedEventDataSku
java.lang.Object
com.azure.messaging.eventgrid.systemevents.WebAppServicePlanUpdatedEventDataSku
- All Implemented Interfaces:
com.azure.json.JsonSerializable<WebAppServicePlanUpdatedEventDataSku>
public final class WebAppServicePlanUpdatedEventDataSku
extends Object
implements com.azure.json.JsonSerializable<WebAppServicePlanUpdatedEventDataSku>
sku of app service plan.
-
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of WebAppServicePlanUpdatedEventDataSku from the JsonReader.Get the capacity property: capacity of app service plan sku.Get the family property: family of app service plan sku.getName()Get the name property: name of app service plan sku.getSize()Get the size property: size of app service plan sku.getTier()Get the tier property: tier of app service plan sku.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Method Details
-
getName
Get the name property: name of app service plan sku.- Returns:
- the name value.
-
getTier
Get the tier property: tier of app service plan sku.- Returns:
- the tier value.
-
getSize
Get the size property: size of app service plan sku.- Returns:
- the size value.
-
getFamily
Get the family property: family of app service plan sku.- Returns:
- the family value.
-
getCapacity
Get the capacity property: capacity of app service plan sku.- Returns:
- the capacity value.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<WebAppServicePlanUpdatedEventDataSku>- Throws:
IOException
-
fromJson
public static WebAppServicePlanUpdatedEventDataSku fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of WebAppServicePlanUpdatedEventDataSku from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of WebAppServicePlanUpdatedEventDataSku 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 WebAppServicePlanUpdatedEventDataSku.
-