public class EditionUpgradeConfiguration extends DeviceConfiguration implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
EditionUpgradeConfiguration.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
license |
protected EditionUpgradeLicenseType |
licenseType |
protected String |
productKey |
protected Windows10EditionType |
targetEdition |
protected WindowsSModeConfiguration |
windowsSMode |
createdDateTime, description, deviceManagementApplicabilityRuleDeviceMode, deviceManagementApplicabilityRuleOsEdition, deviceManagementApplicabilityRuleOsVersion, displayName, lastModifiedDateTime, roleScopeTagIds, roleScopeTagIdsNextLink, supportsScopeTags, versionchangedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
EditionUpgradeConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
static EditionUpgradeConfiguration.Builder |
builderEditionUpgradeConfiguration()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<String> |
getLicense()
“Edition Upgrade License File Content.”
|
Optional<EditionUpgradeLicenseType> |
getLicenseType()
“Edition Upgrade License Type.”
|
Optional<String> |
getProductKey()
“Edition Upgrade Product Key.”
|
Optional<Windows10EditionType> |
getTargetEdition()
“Edition Upgrade Target Edition.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
Optional<WindowsSModeConfiguration> |
getWindowsSMode()
“S mode configuration.”
|
String |
odataTypeName() |
EditionUpgradeConfiguration |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
EditionUpgradeConfiguration |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
EditionUpgradeConfiguration |
withLicense(String license)
Returns an immutable copy of
this with just the license field
changed. |
EditionUpgradeConfiguration |
withLicenseType(EditionUpgradeLicenseType licenseType)
Returns an immutable copy of
this with just the licenseType
field changed. |
EditionUpgradeConfiguration |
withProductKey(String productKey)
Returns an immutable copy of
this with just the productKey field
changed. |
EditionUpgradeConfiguration |
withTargetEdition(Windows10EditionType targetEdition)
Returns an immutable copy of
this with just the targetEdition
field changed. |
EditionUpgradeConfiguration |
withWindowsSMode(WindowsSModeConfiguration windowsSMode)
Returns an immutable copy of
this with just the windowsSMode
field changed. |
assign, assignedAccessMultiModeProfiles, getAssignments, getCreatedDateTime, getDescription, getDeviceManagementApplicabilityRuleDeviceMode, getDeviceManagementApplicabilityRuleOsEdition, getDeviceManagementApplicabilityRuleOsVersion, getDeviceSettingStateSummaries, getDeviceStatuses, getDeviceStatusOverview, getDisplayName, getGroupAssignments, getLastModifiedDateTime, getRoleScopeTagIds, getRoleScopeTagIds, getSupportsScopeTags, getUserStatuses, getUserStatusOverview, getVersion, windowsPrivacyAccessControls, withCreatedDateTime, withDescription, withDeviceManagementApplicabilityRuleDeviceMode, withDeviceManagementApplicabilityRuleOsEdition, withDeviceManagementApplicabilityRuleOsVersion, withDisplayName, withLastModifiedDateTime, withSupportsScopeTags, withVersionprotected EditionUpgradeLicenseType licenseType
protected Windows10EditionType targetEdition
protected String license
protected String productKey
protected WindowsSModeConfiguration windowsSMode
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class DeviceConfigurationpublic static EditionUpgradeConfiguration.Builder builderEditionUpgradeConfiguration()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class DeviceConfigurationpublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class DeviceConfigurationpublic Optional<EditionUpgradeLicenseType> getLicenseType()
public EditionUpgradeConfiguration withLicenseType(EditionUpgradeLicenseType licenseType)
this with just the licenseType
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“Edition Upgrade License Type.”
licenseType - new value of licenseType field (as defined in service metadata)this with just the licenseType field changedpublic Optional<Windows10EditionType> getTargetEdition()
public EditionUpgradeConfiguration withTargetEdition(Windows10EditionType targetEdition)
this with just the targetEdition
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“Edition Upgrade Target Edition.”
targetEdition - new value of targetEdition field (as defined in service metadata)this with just the targetEdition field changedpublic Optional<String> getLicense()
public EditionUpgradeConfiguration withLicense(String license)
this with just the license field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“Edition Upgrade License File Content.”
license - new value of license field (as defined in service metadata)this with just the license field changedpublic Optional<String> getProductKey()
public EditionUpgradeConfiguration withProductKey(String productKey)
this with just the productKey field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“Edition Upgrade Product Key.”
productKey - new value of productKey field (as defined in service metadata)this with just the productKey field changedpublic Optional<WindowsSModeConfiguration> getWindowsSMode()
public EditionUpgradeConfiguration withWindowsSMode(WindowsSModeConfiguration windowsSMode)
this with just the windowsSMode
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“S mode configuration.”
windowsSMode - new value of windowsSMode field (as defined in service metadata)this with just the windowsSMode field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class DeviceConfigurationpublic EditionUpgradeConfiguration patch()
this with changed fields reset.patch in class DeviceConfigurationthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic EditionUpgradeConfiguration put()
this
with changed fields reset (they were ignored anyway).put in class DeviceConfigurationthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic String toString()
toString in class DeviceConfigurationCopyright © 2018–2020. All rights reserved.