SavingsPlanValidateResponseInner Class

  • java.lang.Object
    • com.azure.resourcemanager.billing.fluent.models.SavingsPlanValidateResponseInner

Implements

public final class SavingsPlanValidateResponseInner
implements JsonSerializable<SavingsPlanValidateResponseInner>

Savings plan update validate response.

Constructor Summary

Constructor Description
SavingsPlanValidateResponseInner()

Creates an instance of SavingsPlanValidateResponseInner class.

Method Summary

Modifier and Type Method and Description
List<SavingsPlanValidResponseProperty> benefits()

Get the benefits property: The benefits property.

static SavingsPlanValidateResponseInner fromJson(JsonReader jsonReader)

Reads an instance of SavingsPlanValidateResponseInner from the JsonReader.

String nextLink()

Get the nextLink property: Url to get the next page.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

SavingsPlanValidateResponseInner withBenefits(List<SavingsPlanValidResponseProperty> benefits)

Set the benefits property: The benefits property.

SavingsPlanValidateResponseInner withNextLink(String nextLink)

Set the nextLink property: Url to get the next page.

Methods inherited from java.lang.Object

Constructor Details

SavingsPlanValidateResponseInner

public SavingsPlanValidateResponseInner()

Creates an instance of SavingsPlanValidateResponseInner class.

Method Details

benefits

public List<SavingsPlanValidResponseProperty> benefits()

Get the benefits property: The benefits property.

Returns:

the benefits value.

fromJson

public static SavingsPlanValidateResponseInner fromJson(JsonReader jsonReader)

Reads an instance of SavingsPlanValidateResponseInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

nextLink

public String nextLink()

Get the nextLink property: Url to get the next page.

Returns:

the nextLink value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withBenefits

public SavingsPlanValidateResponseInner withBenefits(List<SavingsPlanValidResponseProperty> benefits)

Set the benefits property: The benefits property.

Parameters:

benefits - the benefits value to set.

Returns:

the SavingsPlanValidateResponseInner object itself.

withNextLink

public SavingsPlanValidateResponseInner withNextLink(String nextLink)

Set the nextLink property: Url to get the next page.

Parameters:

nextLink - the nextLink value to set.

Returns:

the SavingsPlanValidateResponseInner object itself.

Applies to