Package odata.msgraph.client.beta.entity
Class Windows81WifiImportConfiguration
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DeviceConfiguration
-
- odata.msgraph.client.beta.entity.Windows81WifiImportConfiguration
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Windows81WifiImportConfiguration extends DeviceConfiguration implements com.github.davidmoten.odata.client.ODataEntityType
“Windows 8.1+ Wi-Fi import configuration. By configuring this profile you can instruct Windows 8.1 (and later) devices to connect to desired Wi-Fi endpoint. Connect a Windows 8.1 device to the desired Wi-Fi network and extract the XML from that device to later embed into this Wi-Fi profile.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWindows81WifiImportConfiguration.Builder
-
Field Summary
Fields Modifier and Type Field Description protected byte[]payloadprotected StringpayloadFileNameprotected StringprofileName-
Fields inherited from class odata.msgraph.client.beta.entity.DeviceConfiguration
createdDateTime, description, deviceManagementApplicabilityRuleDeviceMode, deviceManagementApplicabilityRuleOsEdition, deviceManagementApplicabilityRuleOsVersion, displayName, lastModifiedDateTime, roleScopeTagIds, roleScopeTagIdsNextLink, supportsScopeTags, version
-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedWindows81WifiImportConfiguration()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Windows81WifiImportConfiguration.BuilderbuilderWindows81WifiImportConfiguration()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.ChangedFieldsgetChangedFields()Optional<byte[]>getPayload()“Payload.Optional<String>getPayloadFileName()“Payload file name (*.xml).”Optional<String>getProfileName()“Profile name displayed in the UI.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()Windows81WifiImportConfigurationpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)Windows81WifiImportConfigurationput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()Windows81WifiImportConfigurationwithPayload(byte[] payload)Returns an immutable copy ofthiswith just thepayloadfield changed.Windows81WifiImportConfigurationwithPayloadFileName(String payloadFileName)Returns an immutable copy ofthiswith just thepayloadFileNamefield changed.Windows81WifiImportConfigurationwithProfileName(String profileName)Returns an immutable copy ofthiswith just theprofileNamefield changed.Windows81WifiImportConfigurationwithUnmappedField(String name, String value)-
Methods inherited from class odata.msgraph.client.beta.entity.DeviceConfiguration
assign, assignedAccessMultiModeProfiles, getAssignments, getCreatedDateTime, getDescription, getDeviceManagementApplicabilityRuleDeviceMode, getDeviceManagementApplicabilityRuleOsEdition, getDeviceManagementApplicabilityRuleOsVersion, getDeviceSettingStateSummaries, getDeviceStatuses, getDeviceStatusOverview, getDisplayName, getGroupAssignments, getLastModifiedDateTime, getOmaSettingPlainTextValue, getRoleScopeTagIds, getRoleScopeTagIds, getSupportsScopeTags, getUserStatuses, getUserStatusOverview, getVersion, windowsPrivacyAccessControls, withCreatedDateTime, withDescription, withDeviceManagementApplicabilityRuleDeviceMode, withDeviceManagementApplicabilityRuleOsEdition, withDeviceManagementApplicabilityRuleOsVersion, withDisplayName, withLastModifiedDateTime, withRoleScopeTagIds, withSupportsScopeTags, withVersion
-
-
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classDeviceConfiguration
-
builderWindows81WifiImportConfiguration
public static Windows81WifiImportConfiguration.Builder builderWindows81WifiImportConfiguration()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classDeviceConfiguration
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classDeviceConfiguration
-
getPayload
public Optional<byte[]> getPayload()
“Payload. (UTF8 encoded byte array). This is the XML file saved on the device you used to connect to the Wi-Fi endpoint.”- Returns:
- property payload
-
withPayload
public Windows81WifiImportConfiguration withPayload(byte[] payload)
Returns an immutable copy ofthiswith just thepayloadfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Payload. (UTF8 encoded byte array). This is the XML file saved on the device you used to connect to the Wi-Fi endpoint.”
- Parameters:
payload- new value ofpayloadfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepayloadfield changed
-
getPayloadFileName
public Optional<String> getPayloadFileName()
“Payload file name (*.xml).”- Returns:
- property payloadFileName
-
withPayloadFileName
public Windows81WifiImportConfiguration withPayloadFileName(String payloadFileName)
Returns an immutable copy ofthiswith just thepayloadFileNamefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“Payload file name (*.xml).”
- Parameters:
payloadFileName- new value ofpayloadFileNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepayloadFileNamefield changed
-
getProfileName
public Optional<String> getProfileName()
“Profile name displayed in the UI.”- Returns:
- property profileName
-
withProfileName
public Windows81WifiImportConfiguration withProfileName(String profileName)
Returns an immutable copy ofthiswith just theprofileNamefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“Profile name displayed in the UI.”
- Parameters:
profileName- new value ofprofileNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theprofileNamefield changed
-
withUnmappedField
public Windows81WifiImportConfiguration withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classDeviceConfiguration
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classDeviceConfiguration
-
patch
public Windows81WifiImportConfiguration patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classDeviceConfiguration- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public Windows81WifiImportConfiguration put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classDeviceConfiguration- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
toString
public String toString()
- Overrides:
toStringin classDeviceConfiguration
-
-