Share via


LabServicesSkuCost Class

  • java.lang.Object
    • com.azure.resourcemanager.labservices.models.LabServicesSkuCost

Implements

public final class LabServicesSkuCost
implements JsonSerializable<LabServicesSkuCost>

The array of costs of a lab services SKU.

Constructor Summary

Constructor Description
LabServicesSkuCost()

Creates an instance of LabServicesSkuCost class.

Method Summary

Modifier and Type Method and Description
String extendedUnit()

Get the extendedUnit property: The extended unit.

static LabServicesSkuCost fromJson(JsonReader jsonReader)

Reads an instance of LabServicesSkuCost from the JsonReader.

String meterId()

Get the meterId property: The meter id.

Float quantity()

Get the quantity property: The quantity of units charged.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

LabServicesSkuCost

public LabServicesSkuCost()

Creates an instance of LabServicesSkuCost class.

Method Details

extendedUnit

public String extendedUnit()

Get the extendedUnit property: The extended unit.

Returns:

the extendedUnit value.

fromJson

public static LabServicesSkuCost fromJson(JsonReader jsonReader)

Reads an instance of LabServicesSkuCost from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

meterId

public String meterId()

Get the meterId property: The meter id.

Returns:

the meterId value.

quantity

public Float quantity()

Get the quantity property: The quantity of units charged.

Returns:

the quantity value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to