Package com.microsoft.graph.models
Class EditionUpgradeConfiguration
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.DeviceConfiguration
com.microsoft.graph.models.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.
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic EditionUpgradeConfiguration
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueThe deserialization information for the current modelGets the license property value.Gets the licenseType property value.Gets the productKey property value.Gets the targetEdition property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setLicense
(String value) Sets the license property value.void
Sets the licenseType property value.void
setProductKey
(String value) Sets the productKey property value.void
Sets the targetEdition property value.Methods inherited from class com.microsoft.graph.models.DeviceConfiguration
getAssignments, getCreatedDateTime, getDescription, getDeviceSettingStateSummaries, getDeviceStatuses, getDeviceStatusOverview, getDisplayName, getLastModifiedDateTime, getUserStatuses, getUserStatusOverview, getVersion, setAssignments, setCreatedDateTime, setDescription, setDeviceSettingStateSummaries, setDeviceStatuses, setDeviceStatusOverview, setDisplayName, setLastModifiedDateTime, setUserStatuses, setUserStatusOverview, setVersion
Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
EditionUpgradeConfiguration
public EditionUpgradeConfiguration()Instantiates a newEditionUpgradeConfiguration
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 interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classDeviceConfiguration
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getLicense
Gets the license property value. Edition Upgrade License File Content.- Returns:
- a
String
-
getLicenseType
Gets the licenseType property value. Edition Upgrade License type- Returns:
- a
EditionUpgradeLicenseType
-
getProductKey
Gets the productKey property value. Edition Upgrade Product Key.- Returns:
- a
String
-
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 interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
serialize
in classDeviceConfiguration
- Parameters:
writer
- Serialization writer to use to serialize this model
-
setLicense
Sets the license property value. Edition Upgrade License File Content.- Parameters:
value
- Value to set for the license property.
-
setLicenseType
Sets the licenseType property value. Edition Upgrade License type- Parameters:
value
- Value to set for the licenseType property.
-
setProductKey
Sets the productKey property value. Edition Upgrade Product Key.- Parameters:
value
- Value to set for the productKey property.
-
setTargetEdition
Sets the targetEdition property value. Windows 10 Edition type.- Parameters:
value
- Value to set for the targetEdition property.
-