Поделиться через


MarketplaceDetails Class

  • java.lang.Object
    • com.azure.resourcemanager.mongodbatlas.models.MarketplaceDetails

Implements

public final class MarketplaceDetails
implements JsonSerializable<MarketplaceDetails>

Marketplace details for an organization.

Constructor Summary

Constructor Description
MarketplaceDetails()

Creates an instance of MarketplaceDetails class.

Method Summary

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

Reads an instance of MarketplaceDetails from the JsonReader.

OfferDetails offerDetails()

Get the offerDetails property: Offer details for the marketplace that is selected by the user.

String subscriptionId()

Get the subscriptionId property: Azure subscription id for the the marketplace offer is purchased from.

MarketplaceSubscriptionStatus subscriptionStatus()

Get the subscriptionStatus property: Marketplace subscription status.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MarketplaceDetails withOfferDetails(OfferDetails offerDetails)

Set the offerDetails property: Offer details for the marketplace that is selected by the user.

MarketplaceDetails withSubscriptionId(String subscriptionId)

Set the subscriptionId property: Azure subscription id for the the marketplace offer is purchased from.

Methods inherited from java.lang.Object

Constructor Details

MarketplaceDetails

public MarketplaceDetails()

Creates an instance of MarketplaceDetails class.

Method Details

fromJson

public static MarketplaceDetails fromJson(JsonReader jsonReader)

Reads an instance of MarketplaceDetails from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MarketplaceDetails if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

offerDetails

public OfferDetails offerDetails()

Get the offerDetails property: Offer details for the marketplace that is selected by the user.

Returns:

the offerDetails value.

subscriptionId

public String subscriptionId()

Get the subscriptionId property: Azure subscription id for the the marketplace offer is purchased from.

Returns:

the subscriptionId value.

subscriptionStatus

public MarketplaceSubscriptionStatus subscriptionStatus()

Get the subscriptionStatus property: Marketplace subscription status.

Returns:

the subscriptionStatus value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withOfferDetails

public MarketplaceDetails withOfferDetails(OfferDetails offerDetails)

Set the offerDetails property: Offer details for the marketplace that is selected by the user.

Parameters:

offerDetails - the offerDetails value to set.

Returns:

the MarketplaceDetails object itself.

withSubscriptionId

public MarketplaceDetails withSubscriptionId(String subscriptionId)

Set the subscriptionId property: Azure subscription id for the the marketplace offer is purchased from.

Parameters:

subscriptionId - the subscriptionId value to set.

Returns:

the MarketplaceDetails object itself.

Applies to