public class AndroidWiFiConfiguration extends DeviceConfiguration implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
AndroidWiFiConfiguration.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
connectAutomatically |
protected Boolean |
connectWhenNetworkNameIsHidden |
protected String |
networkName |
protected String |
ssid |
protected AndroidWiFiSecurityType |
wiFiSecurityType |
createdDateTime, description, deviceManagementApplicabilityRuleDeviceMode, deviceManagementApplicabilityRuleOsEdition, deviceManagementApplicabilityRuleOsVersion, displayName, lastModifiedDateTime, roleScopeTagIds, roleScopeTagIdsNextLink, supportsScopeTags, versionchangedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
AndroidWiFiConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
static AndroidWiFiConfiguration.Builder |
builderAndroidWiFiConfiguration()
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<Boolean> |
getConnectAutomatically()
“Connect automatically when this network is in range.
|
Optional<Boolean> |
getConnectWhenNetworkNameIsHidden()
“When set to true, this profile forces the device to connect to a network that
doesn't broadcast its SSID to all devices.”
|
Optional<String> |
getNetworkName()
“Network Name”
|
Optional<String> |
getSsid()
“This is the name of the Wi-Fi network that is broadcast to all devices.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
Optional<AndroidWiFiSecurityType> |
getWiFiSecurityType()
“Indicates whether Wi-Fi endpoint uses an EAP based security type.”
|
String |
odataTypeName() |
AndroidWiFiConfiguration |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
AndroidWiFiConfiguration |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
AndroidWiFiConfiguration |
withConnectAutomatically(Boolean connectAutomatically)
Returns an immutable copy of
this with just the connectAutomatically field changed. |
AndroidWiFiConfiguration |
withConnectWhenNetworkNameIsHidden(Boolean connectWhenNetworkNameIsHidden)
Returns an immutable copy of
this with just the connectWhenNetworkNameIsHidden field changed. |
AndroidWiFiConfiguration |
withNetworkName(String networkName)
Returns an immutable copy of
this with just the networkName
field changed. |
AndroidWiFiConfiguration |
withSsid(String ssid)
Returns an immutable copy of
this with just the ssid field
changed. |
AndroidWiFiConfiguration |
withWiFiSecurityType(AndroidWiFiSecurityType wiFiSecurityType)
Returns an immutable copy of
this with just the wiFiSecurityType
field changed. |
assign, assignedAccessMultiModeProfiles, getAssignments, getCreatedDateTime, getDescription, getDeviceManagementApplicabilityRuleDeviceMode, getDeviceManagementApplicabilityRuleOsEdition, getDeviceManagementApplicabilityRuleOsVersion, getDeviceSettingStateSummaries, getDeviceStatuses, getDeviceStatusOverview, getDisplayName, getGroupAssignments, getLastModifiedDateTime, getRoleScopeTagIds, getSupportsScopeTags, getUserStatuses, getUserStatusOverview, getVersion, windowsPrivacyAccessControls, withCreatedDateTime, withDescription, withDeviceManagementApplicabilityRuleDeviceMode, withDeviceManagementApplicabilityRuleOsEdition, withDeviceManagementApplicabilityRuleOsVersion, withDisplayName, withLastModifiedDateTime, withSupportsScopeTags, withVersionprotected String networkName
protected String ssid
protected Boolean connectAutomatically
protected Boolean connectWhenNetworkNameIsHidden
protected AndroidWiFiSecurityType wiFiSecurityType
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class DeviceConfigurationpublic static AndroidWiFiConfiguration.Builder builderAndroidWiFiConfiguration()
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<String> getNetworkName()
public AndroidWiFiConfiguration withNetworkName(String networkName)
this with just the networkName
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.
“Network Name”
networkName - new value of networkName field (as defined in service metadata)this with just the networkName field changedpublic Optional<String> getSsid()
public AndroidWiFiConfiguration withSsid(String ssid)
this with just the ssid 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.
“This is the name of the Wi-Fi network that is broadcast to all devices.”
ssid - new value of ssid field (as defined in service metadata)this with just the ssid field changedpublic Optional<Boolean> getConnectAutomatically()
public AndroidWiFiConfiguration withConnectAutomatically(Boolean connectAutomatically)
this with just the connectAutomatically 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.
“Connect automatically when this network is in range. Setting this to true will skip the user prompt and automatically connect the device to Wi-Fi network.”
connectAutomatically - new value of connectAutomatically field (as defined in service metadata)this with just the connectAutomatically field changedpublic Optional<Boolean> getConnectWhenNetworkNameIsHidden()
public AndroidWiFiConfiguration withConnectWhenNetworkNameIsHidden(Boolean connectWhenNetworkNameIsHidden)
this with just the connectWhenNetworkNameIsHidden 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.
“When set to true, this profile forces the device to connect to a network that doesn't broadcast its SSID to all devices.”
connectWhenNetworkNameIsHidden - new value of connectWhenNetworkNameIsHidden field (as defined in service metadata)this with just the connectWhenNetworkNameIsHidden field changedpublic Optional<AndroidWiFiSecurityType> getWiFiSecurityType()
public AndroidWiFiConfiguration withWiFiSecurityType(AndroidWiFiSecurityType wiFiSecurityType)
this with just the wiFiSecurityType
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.
“Indicates whether Wi-Fi endpoint uses an EAP based security type.”
wiFiSecurityType - new value of wiFiSecurityType field (as defined in service metadata)this with just the wiFiSecurityType field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class DeviceConfigurationpublic AndroidWiFiConfiguration 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 AndroidWiFiConfiguration 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.