SystemOverrides Class

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

Implements

public final class SystemOverrides
implements JsonSerializable<SystemOverrides>

System imposed policies that regulate behavior of the subscription.

Constructor Summary

Constructor Description
SystemOverrides()

Creates an instance of SystemOverrides class.

Method Summary

Modifier and Type Method and Description
Cancellation cancellation()

Get the cancellation property: The policy override for the subscription indicates whether the self-serve cancellation or seat reduction is allowed.

OffsetDateTime cancellationAllowedEndDate()

Get the cancellationAllowedEndDate property: The end date in UTC time by when the self-serve cancellation ends.

static SystemOverrides fromJson(JsonReader jsonReader)

Reads an instance of SystemOverrides from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

SystemOverrides

public SystemOverrides()

Creates an instance of SystemOverrides class.

Method Details

cancellation

public Cancellation cancellation()

Get the cancellation property: The policy override for the subscription indicates whether the self-serve cancellation or seat reduction is allowed.

Returns:

the cancellation value.

cancellationAllowedEndDate

public OffsetDateTime cancellationAllowedEndDate()

Get the cancellationAllowedEndDate property: The end date in UTC time by when the self-serve cancellation ends.

Returns:

the cancellationAllowedEndDate value.

fromJson

public static SystemOverrides fromJson(JsonReader jsonReader)

Reads an instance of SystemOverrides from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to