PriceSheetModel Class

  • java.lang.Object
    • com.azure.resourcemanager.consumption.fluent.models.PriceSheetModel

Implements

public final class PriceSheetModel
implements JsonSerializable<PriceSheetModel>

price sheet result. It contains the pricesheet associated with billing period.

Constructor Summary

Constructor Description
PriceSheetModel()

Creates an instance of PriceSheetModel class.

Method Summary

Modifier and Type Method and Description
MeterDetails download()

Get the download property: Pricesheet download details.

static PriceSheetModel fromJson(JsonReader jsonReader)

Reads an instance of PriceSheetModel from the JsonReader.

String nextLink()

Get the nextLink property: The link (url) to the next page of results.

List<PriceSheetProperties> pricesheets()

Get the pricesheets property: Price sheet.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

PriceSheetModel

public PriceSheetModel()

Creates an instance of PriceSheetModel class.

Method Details

download

public MeterDetails download()

Get the download property: Pricesheet download details.

Returns:

the download value.

fromJson

public static PriceSheetModel fromJson(JsonReader jsonReader)

Reads an instance of PriceSheetModel from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

nextLink

public String nextLink()

Get the nextLink property: The link (url) to the next page of results.

Returns:

the nextLink value.

pricesheets

public List<PriceSheetProperties> pricesheets()

Get the pricesheets property: Price sheet.

Returns:

the pricesheets value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to