ReservationSkuProperty Class

  • java.lang.Object
    • com.azure.resourcemanager.billing.models.ReservationSkuProperty

Implements

public final class ReservationSkuProperty
implements JsonSerializable<ReservationSkuProperty>

The property of reservation sku object.

Constructor Summary

Constructor Description
ReservationSkuProperty()

Creates an instance of ReservationSkuProperty class.

Method Summary

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

Reads an instance of ReservationSkuProperty from the JsonReader.

String name()

Get the name property: The name of the reservation sku.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

ReservationSkuProperty

public ReservationSkuProperty()

Creates an instance of ReservationSkuProperty class.

Method Details

fromJson

public static ReservationSkuProperty fromJson(JsonReader jsonReader)

Reads an instance of ReservationSkuProperty from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

name

public String name()

Get the name property: The name of the reservation sku.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to