Condividi tramite


PremierAddOnOfferInner Class

public final class PremierAddOnOfferInner
extends ProxyOnlyResource

Premier add-on offer.

Method Summary

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

Reads an instance of PremierAddOnOfferInner from the JsonReader.

String id()

Get the id property: Resource Id.

String legalTermsUrl()

Get the legalTermsUrl property: Legal terms URL.

String marketplaceOffer()

Get the marketplaceOffer property: Marketplace offer.

String marketplacePublisher()

Get the marketplacePublisher property: Marketplace publisher.

String name()

Get the name property: Resource Name.

String privacyPolicyUrl()

Get the privacyPolicyUrl property: Privacy policy URL.

String product()

Get the product property: Premier add on offer Product.

Boolean promoCodeRequired()

Get the promoCodeRequired property: true if promotion code is required; otherwise, false.

Integer quota()

Get the quota property: Premier add on offer Quota.

String sku()

Get the sku property: Premier add on SKU.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Resource type.

void validate()

Validates the instance.

String vendor()

Get the vendor property: Premier add on offer Vendor.

AppServicePlanRestrictions webHostingPlanRestrictions()

Get the webHostingPlanRestrictions property: App Service plans this offer is restricted to.

Methods inherited from ProxyOnlyResource

Methods inherited from java.lang.Object

Method Details

fromJson

public static PremierAddOnOfferInner fromJson(JsonReader jsonReader)

Reads an instance of PremierAddOnOfferInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

id

public String id()

Get the id property: Resource Id.

Overrides:

PremierAddOnOfferInner.id()

Returns:

the id value.

legalTermsUrl

public String legalTermsUrl()

Get the legalTermsUrl property: Legal terms URL.

Returns:

the legalTermsUrl value.

marketplaceOffer

public String marketplaceOffer()

Get the marketplaceOffer property: Marketplace offer.

Returns:

the marketplaceOffer value.

marketplacePublisher

public String marketplacePublisher()

Get the marketplacePublisher property: Marketplace publisher.

Returns:

the marketplacePublisher value.

name

public String name()

Get the name property: Resource Name.

Overrides:

PremierAddOnOfferInner.name()

Returns:

the name value.

privacyPolicyUrl

public String privacyPolicyUrl()

Get the privacyPolicyUrl property: Privacy policy URL.

Returns:

the privacyPolicyUrl value.

product

public String product()

Get the product property: Premier add on offer Product.

Returns:

the product value.

promoCodeRequired

public Boolean promoCodeRequired()

Get the promoCodeRequired property: true if promotion code is required; otherwise, false.

Returns:

the promoCodeRequired value.

quota

public Integer quota()

Get the quota property: Premier add on offer Quota.

Returns:

the quota value.

sku

public String sku()

Get the sku property: Premier add on SKU.

Returns:

the sku value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

PremierAddOnOfferInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Resource type.

Overrides:

PremierAddOnOfferInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

PremierAddOnOfferInner.validate()

vendor

public String vendor()

Get the vendor property: Premier add on offer Vendor.

Returns:

the vendor value.

webHostingPlanRestrictions

public AppServicePlanRestrictions webHostingPlanRestrictions()

Get the webHostingPlanRestrictions property: App Service plans this offer is restricted to.

Returns:

the webHostingPlanRestrictions value.

Applies to