java.lang.Object
com.azure.resourcemanager.informaticadatamanagement.models.MarketplaceDetails
All Implemented Interfaces:
com.azure.json.JsonSerializable<MarketplaceDetails>

public final class MarketplaceDetails extends Object implements com.azure.json.JsonSerializable<MarketplaceDetails>
Marketplace details.
  • Constructor Details

    • MarketplaceDetails

      public MarketplaceDetails()
      Creates an instance of MarketplaceDetails class.
  • Method Details

    • marketplaceSubscriptionId

      public String marketplaceSubscriptionId()
      Get the marketplaceSubscriptionId property: Marketplace Subscription Id.
      Returns:
      the marketplaceSubscriptionId value.
    • withMarketplaceSubscriptionId

      public MarketplaceDetails withMarketplaceSubscriptionId(String marketplaceSubscriptionId)
      Set the marketplaceSubscriptionId property: Marketplace Subscription Id.
      Parameters:
      marketplaceSubscriptionId - the marketplaceSubscriptionId value to set.
      Returns:
      the MarketplaceDetails object itself.
    • offerDetails

      public OfferDetails offerDetails()
      Get the offerDetails property: Marketplace offer details.
      Returns:
      the offerDetails value.
    • withOfferDetails

      public MarketplaceDetails withOfferDetails(OfferDetails offerDetails)
      Set the offerDetails property: Marketplace offer details.
      Parameters:
      offerDetails - the offerDetails value to set.
      Returns:
      the MarketplaceDetails object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<MarketplaceDetails>
      Throws:
      IOException
    • fromJson

      public static MarketplaceDetails fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      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:
      IllegalStateException - If the deserialized JSON object was missing any required properties.
      IOException - If an error occurs while reading the MarketplaceDetails.