BalancePropertiesAdjustmentDetailsItem Class

  • java.lang.Object
    • com.azure.resourcemanager.consumption.models.BalancePropertiesAdjustmentDetailsItem

Implements

public final class BalancePropertiesAdjustmentDetailsItem
implements JsonSerializable<BalancePropertiesAdjustmentDetailsItem>

The BalancePropertiesAdjustmentDetailsItem model.

Constructor Summary

Constructor Description
BalancePropertiesAdjustmentDetailsItem()

Creates an instance of BalancePropertiesAdjustmentDetailsItem class.

Method Summary

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

Reads an instance of BalancePropertiesAdjustmentDetailsItem from the JsonReader.

String name()

Get the name property: the name of new adjustment.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

BigDecimal value()

Get the value property: the value of new adjustment.

Methods inherited from java.lang.Object

Constructor Details

BalancePropertiesAdjustmentDetailsItem

public BalancePropertiesAdjustmentDetailsItem()

Creates an instance of BalancePropertiesAdjustmentDetailsItem class.

Method Details

fromJson

public static BalancePropertiesAdjustmentDetailsItem fromJson(JsonReader jsonReader)

Reads an instance of BalancePropertiesAdjustmentDetailsItem from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

name

public String name()

Get the name property: the name of new adjustment.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public BigDecimal value()

Get the value property: the value of new adjustment.

Returns:

the value value.

Applies to