public class MacOSWiFiConfiguration extends DeviceConfiguration implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
MacOSWiFiConfiguration.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
connectAutomatically |
protected Boolean |
connectWhenNetworkNameIsHidden |
protected String |
networkName |
protected String |
preSharedKey |
protected String |
proxyAutomaticConfigurationUrl |
protected String |
proxyManualAddress |
protected Integer |
proxyManualPort |
protected WiFiProxySetting |
proxySettings |
protected String |
ssid |
protected WiFiSecurityType |
wiFiSecurityType |
createdDateTime, description, deviceManagementApplicabilityRuleDeviceMode, deviceManagementApplicabilityRuleOsEdition, deviceManagementApplicabilityRuleOsVersion, displayName, lastModifiedDateTime, roleScopeTagIds, roleScopeTagIdsNextLink, supportsScopeTags, versionchangedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
MacOSWiFiConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
static MacOSWiFiConfiguration.Builder |
builderMacOSWiFiConfiguration()
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()
“Connect when the network is not broadcasting its name (SSID).
|
Optional<String> |
getNetworkName()
“Network Name”
|
Optional<String> |
getPreSharedKey()
“This is the pre-shared key for WPA Personal Wi-Fi network.”
|
Optional<String> |
getProxyAutomaticConfigurationUrl()
“URL of the proxy server automatic configuration script when automatic
configuration is selected.
|
Optional<String> |
getProxyManualAddress()
“IP Address or DNS hostname of the proxy server when manual configuration is
selected.”
|
Optional<Integer> |
getProxyManualPort()
“Port of the proxy server when manual configuration is selected.”
|
Optional<WiFiProxySetting> |
getProxySettings()
“Proxy Type for this Wi-Fi connection”
|
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<WiFiSecurityType> |
getWiFiSecurityType()
“Indicates whether Wi-Fi endpoint uses an EAP based security type.”
|
String |
odataTypeName() |
MacOSWiFiConfiguration |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
MacOSWiFiConfiguration |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
MacOSWiFiConfiguration |
withConnectAutomatically(Boolean connectAutomatically)
Returns an immutable copy of
this with just the connectAutomatically field changed. |
MacOSWiFiConfiguration |
withConnectWhenNetworkNameIsHidden(Boolean connectWhenNetworkNameIsHidden)
Returns an immutable copy of
this with just the connectWhenNetworkNameIsHidden field changed. |
MacOSWiFiConfiguration |
withNetworkName(String networkName)
Returns an immutable copy of
this with just the networkName
field changed. |
MacOSWiFiConfiguration |
withPreSharedKey(String preSharedKey)
Returns an immutable copy of
this with just the preSharedKey
field changed. |
MacOSWiFiConfiguration |
withProxyAutomaticConfigurationUrl(String proxyAutomaticConfigurationUrl)
Returns an immutable copy of
this with just the proxyAutomaticConfigurationUrl field changed. |
MacOSWiFiConfiguration |
withProxyManualAddress(String proxyManualAddress)
Returns an immutable copy of
this with just the proxyManualAddress field changed. |
MacOSWiFiConfiguration |
withProxyManualPort(Integer proxyManualPort)
Returns an immutable copy of
this with just the proxyManualPort
field changed. |
MacOSWiFiConfiguration |
withProxySettings(WiFiProxySetting proxySettings)
Returns an immutable copy of
this with just the proxySettings
field changed. |
MacOSWiFiConfiguration |
withSsid(String ssid)
Returns an immutable copy of
this with just the ssid field
changed. |
MacOSWiFiConfiguration |
withWiFiSecurityType(WiFiSecurityType 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, 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 WiFiSecurityType wiFiSecurityType
protected WiFiProxySetting proxySettings
protected String proxyManualAddress
protected Integer proxyManualPort
protected String proxyAutomaticConfigurationUrl
protected String preSharedKey
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class DeviceConfigurationpublic static MacOSWiFiConfiguration.Builder builderMacOSWiFiConfiguration()
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 MacOSWiFiConfiguration 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 MacOSWiFiConfiguration 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 MacOSWiFiConfiguration 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 MacOSWiFiConfiguration 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.
“Connect when the network is not broadcasting its name (SSID). 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<WiFiSecurityType> getWiFiSecurityType()
public MacOSWiFiConfiguration withWiFiSecurityType(WiFiSecurityType 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 Optional<WiFiProxySetting> getProxySettings()
public MacOSWiFiConfiguration withProxySettings(WiFiProxySetting proxySettings)
this with just the proxySettings
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.
“Proxy Type for this Wi-Fi connection”
proxySettings - new value of proxySettings field (as defined in service metadata)this with just the proxySettings field changedpublic Optional<String> getProxyManualAddress()
public MacOSWiFiConfiguration withProxyManualAddress(String proxyManualAddress)
this with just the proxyManualAddress 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.
“IP Address or DNS hostname of the proxy server when manual configuration is selected.”
proxyManualAddress - new value of proxyManualAddress field (as defined in service metadata)this with just the proxyManualAddress field changedpublic Optional<Integer> getProxyManualPort()
public MacOSWiFiConfiguration withProxyManualPort(Integer proxyManualPort)
this with just the proxyManualPort
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.
“Port of the proxy server when manual configuration is selected.”
proxyManualPort - new value of proxyManualPort field (as defined in service metadata)this with just the proxyManualPort field changedpublic Optional<String> getProxyAutomaticConfigurationUrl()
public MacOSWiFiConfiguration withProxyAutomaticConfigurationUrl(String proxyAutomaticConfigurationUrl)
this with just the proxyAutomaticConfigurationUrl 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.
“URL of the proxy server automatic configuration script when automatic configuration is selected. This URL is typically the location of PAC (Proxy Auto Configuration) file.”
proxyAutomaticConfigurationUrl - new value of proxyAutomaticConfigurationUrl field (as defined in service metadata)this with just the proxyAutomaticConfigurationUrl field changedpublic Optional<String> getPreSharedKey()
public MacOSWiFiConfiguration withPreSharedKey(String preSharedKey)
this with just the preSharedKey
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 pre-shared key for WPA Personal Wi-Fi network.”
preSharedKey - new value of preSharedKey field (as defined in service metadata)this with just the preSharedKey field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class DeviceConfigurationpublic MacOSWiFiConfiguration 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 MacOSWiFiConfiguration 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.