SaasSubscriptionDetails Class

  • java.lang.Object
    • com.azure.resourcemanager.dashboard.models.SaasSubscriptionDetails

Implements

public final class SaasSubscriptionDetails
implements JsonSerializable<SaasSubscriptionDetails>

SaaS subscription details of a Grafana instance.

Method Summary

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

Reads an instance of SaasSubscriptionDetails from the JsonReader.

String offerId()

Get the offerId property: The offer Id of the SaaS subscription.

String planId()

Get the planId property: The plan Id of the SaaS subscription.

String publisherId()

Get the publisherId property: The publisher Id of the SaaS subscription.

SubscriptionTerm term()

Get the term property: The billing term of the SaaS Subscription.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

fromJson

public static SaasSubscriptionDetails fromJson(JsonReader jsonReader)

Reads an instance of SaasSubscriptionDetails from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

offerId

public String offerId()

Get the offerId property: The offer Id of the SaaS subscription.

Returns:

the offerId value.

planId

public String planId()

Get the planId property: The plan Id of the SaaS subscription.

Returns:

the planId value.

publisherId

public String publisherId()

Get the publisherId property: The publisher Id of the SaaS subscription.

Returns:

the publisherId value.

term

public SubscriptionTerm term()

Get the term property: The billing term of the SaaS Subscription.

Returns:

the term value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to