RenewProperties Class

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

Implements

public final class RenewProperties
implements JsonSerializable<RenewProperties>

Properties specific to renew.

Constructor Summary

Constructor Description
RenewProperties()

Creates an instance of RenewProperties class.

Method Summary

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

Reads an instance of RenewProperties from the JsonReader.

PurchaseRequest purchaseProperties()

Get the purchaseProperties property: Purchase request.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

RenewProperties withPurchaseProperties(PurchaseRequest purchaseProperties)

Set the purchaseProperties property: Purchase request.

Methods inherited from java.lang.Object

Constructor Details

RenewProperties

public RenewProperties()

Creates an instance of RenewProperties class.

Method Details

fromJson

public static RenewProperties fromJson(JsonReader jsonReader)

Reads an instance of RenewProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

purchaseProperties

public PurchaseRequest purchaseProperties()

Get the purchaseProperties property: Purchase request.

Returns:

the purchaseProperties value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withPurchaseProperties

public RenewProperties withPurchaseProperties(PurchaseRequest purchaseProperties)

Set the purchaseProperties property: Purchase request.

Parameters:

purchaseProperties - the purchaseProperties value to set.

Returns:

the RenewProperties object itself.

Applies to