Class EditionUpgradeConfiguration

All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class EditionUpgradeConfiguration extends DeviceConfiguration implements com.microsoft.kiota.serialization.Parsable
Windows 10 Edition Upgrade configuration.
  • Constructor Details

    • EditionUpgradeConfiguration

      public EditionUpgradeConfiguration()
      Instantiates a new EditionUpgradeConfiguration and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static EditionUpgradeConfiguration createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode)
      Creates a new instance of the appropriate class based on discriminator value
      Parameters:
      parseNode - The parse node to use to read the discriminator value and create the object
      Returns:
      a EditionUpgradeConfiguration
    • getFieldDeserializers

      @Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()
      The deserialization information for the current model
      Specified by:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class DeviceConfiguration
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getLicense

      @Nullable public String getLicense()
      Gets the license property value. Edition Upgrade License File Content.
      Returns:
      a String
    • getLicenseType

      @Nullable public EditionUpgradeLicenseType getLicenseType()
      Gets the licenseType property value. Edition Upgrade License type
      Returns:
      a EditionUpgradeLicenseType
    • getProductKey

      @Nullable public String getProductKey()
      Gets the productKey property value. Edition Upgrade Product Key.
      Returns:
      a String
    • getTargetEdition

      @Nullable public Windows10EditionType getTargetEdition()
      Gets the targetEdition property value. Windows 10 Edition type.
      Returns:
      a Windows10EditionType
    • serialize

      public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer)
      Serializes information the current object
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class DeviceConfiguration
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setLicense

      public void setLicense(@Nullable String value)
      Sets the license property value. Edition Upgrade License File Content.
      Parameters:
      value - Value to set for the license property.
    • setLicenseType

      public void setLicenseType(@Nullable EditionUpgradeLicenseType value)
      Sets the licenseType property value. Edition Upgrade License type
      Parameters:
      value - Value to set for the licenseType property.
    • setProductKey

      public void setProductKey(@Nullable String value)
      Sets the productKey property value. Edition Upgrade Product Key.
      Parameters:
      value - Value to set for the productKey property.
    • setTargetEdition

      public void setTargetEdition(@Nullable Windows10EditionType value)
      Sets the targetEdition property value. Windows 10 Edition type.
      Parameters:
      value - Value to set for the targetEdition property.