Class IosWiFiConfiguration
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DeviceConfiguration
-
- odata.msgraph.client.beta.entity.IosWiFiConfiguration
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
- Direct Known Subclasses:
IosEnterpriseWiFiConfiguration
public class IosWiFiConfiguration extends DeviceConfiguration implements com.github.davidmoten.odata.client.ODataEntityType
“By providing the configurations in this profile you can instruct the iOS device to connect to desired Wi-Fi endpoint. By specifying the authentication method and security types expected by Wi-Fi endpoint you can make the Wi-Fi connection seamless for end user. This profile provides limited and simpler security types than Enterprise Wi-Fi profile.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIosWiFiConfiguration.Builder
-
Field Summary
Fields Modifier and Type Field Description protected BooleanconnectAutomaticallyprotected BooleanconnectWhenNetworkNameIsHiddenprotected BooleandisableMacAddressRandomizationprotected StringnetworkNameprotected StringpreSharedKeyprotected StringproxyAutomaticConfigurationUrlprotected StringproxyManualAddressprotected IntegerproxyManualPortprotected WiFiProxySettingproxySettingsprotected Stringssidprotected WiFiSecurityTypewiFiSecurityType-
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 protectedIosWiFiConfiguration()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IosWiFiConfiguration.BuilderbuilderIosWiFiConfiguration()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<Boolean>getConnectAutomatically()“Connect automatically when this network is in range.Optional<Boolean>getConnectWhenNetworkNameIsHidden()“Connect when the network is not broadcasting its name (SSID).Optional<Boolean>getDisableMacAddressRandomization()“If set to true, forces devices connecting using this Wi-Fi profile to present their actual Wi-Fi MAC address instead of a random MAC address.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.UnmappedFieldsgetUnmappedFields()Optional<WiFiSecurityType>getWiFiSecurityType()“Indicates whether Wi-Fi endpoint uses an EAP based security type.”StringodataTypeName()IosWiFiConfigurationpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)IosWiFiConfigurationput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()IosWiFiConfigurationwithConnectAutomatically(Boolean connectAutomatically)Returns an immutable copy ofthiswith just theconnectAutomaticallyfield changed.IosWiFiConfigurationwithConnectWhenNetworkNameIsHidden(Boolean connectWhenNetworkNameIsHidden)Returns an immutable copy ofthiswith just theconnectWhenNetworkNameIsHiddenfield changed.IosWiFiConfigurationwithDisableMacAddressRandomization(Boolean disableMacAddressRandomization)Returns an immutable copy ofthiswith just thedisableMacAddressRandomizationfield changed.IosWiFiConfigurationwithNetworkName(String networkName)Returns an immutable copy ofthiswith just thenetworkNamefield changed.IosWiFiConfigurationwithPreSharedKey(String preSharedKey)Returns an immutable copy ofthiswith just thepreSharedKeyfield changed.IosWiFiConfigurationwithProxyAutomaticConfigurationUrl(String proxyAutomaticConfigurationUrl)Returns an immutable copy ofthiswith just theproxyAutomaticConfigurationUrlfield changed.IosWiFiConfigurationwithProxyManualAddress(String proxyManualAddress)Returns an immutable copy ofthiswith just theproxyManualAddressfield changed.IosWiFiConfigurationwithProxyManualPort(Integer proxyManualPort)Returns an immutable copy ofthiswith just theproxyManualPortfield changed.IosWiFiConfigurationwithProxySettings(WiFiProxySetting proxySettings)Returns an immutable copy ofthiswith just theproxySettingsfield changed.IosWiFiConfigurationwithSsid(String ssid)Returns an immutable copy ofthiswith just thessidfield changed.IosWiFiConfigurationwithUnmappedField(String name, String value)IosWiFiConfigurationwithWiFiSecurityType(WiFiSecurityType wiFiSecurityType)Returns an immutable copy ofthiswith just thewiFiSecurityTypefield changed.-
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
-
-
-
-
Field Detail
-
connectAutomatically
protected Boolean connectAutomatically
-
connectWhenNetworkNameIsHidden
protected Boolean connectWhenNetworkNameIsHidden
-
disableMacAddressRandomization
protected Boolean disableMacAddressRandomization
-
networkName
protected String networkName
-
preSharedKey
protected String preSharedKey
-
proxyAutomaticConfigurationUrl
protected String proxyAutomaticConfigurationUrl
-
proxyManualAddress
protected String proxyManualAddress
-
proxyManualPort
protected Integer proxyManualPort
-
proxySettings
protected WiFiProxySetting proxySettings
-
ssid
protected String ssid
-
wiFiSecurityType
protected WiFiSecurityType wiFiSecurityType
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classDeviceConfiguration
-
builderIosWiFiConfiguration
public static IosWiFiConfiguration.Builder builderIosWiFiConfiguration()
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
-
getConnectAutomatically
public Optional<Boolean> getConnectAutomatically()
“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.”- Returns:
- property connectAutomatically
-
withConnectAutomatically
public IosWiFiConfiguration withConnectAutomatically(Boolean connectAutomatically)
Returns an immutable copy ofthiswith just theconnectAutomaticallyfield 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.“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.”
- Parameters:
connectAutomatically- new value ofconnectAutomaticallyfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theconnectAutomaticallyfield changed
-
getConnectWhenNetworkNameIsHidden
public Optional<Boolean> getConnectWhenNetworkNameIsHidden()
“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.”- Returns:
- property connectWhenNetworkNameIsHidden
-
withConnectWhenNetworkNameIsHidden
public IosWiFiConfiguration withConnectWhenNetworkNameIsHidden(Boolean connectWhenNetworkNameIsHidden)
Returns an immutable copy ofthiswith just theconnectWhenNetworkNameIsHiddenfield 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.“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.”
- Parameters:
connectWhenNetworkNameIsHidden- new value ofconnectWhenNetworkNameIsHiddenfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theconnectWhenNetworkNameIsHiddenfield changed
-
getDisableMacAddressRandomization
public Optional<Boolean> getDisableMacAddressRandomization()
“If set to true, forces devices connecting using this Wi-Fi profile to present their actual Wi-Fi MAC address instead of a random MAC address. Applies to iOS 14 and later.”- Returns:
- property disableMacAddressRandomization
-
withDisableMacAddressRandomization
public IosWiFiConfiguration withDisableMacAddressRandomization(Boolean disableMacAddressRandomization)
Returns an immutable copy ofthiswith just thedisableMacAddressRandomizationfield 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.“If set to true, forces devices connecting using this Wi-Fi profile to present their actual Wi-Fi MAC address instead of a random MAC address. Applies to iOS 14 and later.”
- Parameters:
disableMacAddressRandomization- new value ofdisableMacAddressRandomizationfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedisableMacAddressRandomizationfield changed
-
getNetworkName
public Optional<String> getNetworkName()
“Network Name”- Returns:
- property networkName
-
withNetworkName
public IosWiFiConfiguration withNetworkName(String networkName)
Returns an immutable copy ofthiswith just thenetworkNamefield 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.“Network Name”
- Parameters:
networkName- new value ofnetworkNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thenetworkNamefield changed
-
getPreSharedKey
public Optional<String> getPreSharedKey()
“This is the pre-shared key for WPA Personal Wi-Fi network.”- Returns:
- property preSharedKey
-
withPreSharedKey
public IosWiFiConfiguration withPreSharedKey(String preSharedKey)
Returns an immutable copy ofthiswith just thepreSharedKeyfield 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.“This is the pre-shared key for WPA Personal Wi-Fi network.”
- Parameters:
preSharedKey- new value ofpreSharedKeyfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepreSharedKeyfield changed
-
getProxyAutomaticConfigurationUrl
public Optional<String> getProxyAutomaticConfigurationUrl()
“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.”- Returns:
- property proxyAutomaticConfigurationUrl
-
withProxyAutomaticConfigurationUrl
public IosWiFiConfiguration withProxyAutomaticConfigurationUrl(String proxyAutomaticConfigurationUrl)
Returns an immutable copy ofthiswith just theproxyAutomaticConfigurationUrlfield 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.“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.”
- Parameters:
proxyAutomaticConfigurationUrl- new value ofproxyAutomaticConfigurationUrlfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theproxyAutomaticConfigurationUrlfield changed
-
getProxyManualAddress
public Optional<String> getProxyManualAddress()
“IP Address or DNS hostname of the proxy server when manual configuration is selected.”- Returns:
- property proxyManualAddress
-
withProxyManualAddress
public IosWiFiConfiguration withProxyManualAddress(String proxyManualAddress)
Returns an immutable copy ofthiswith just theproxyManualAddressfield 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.“IP Address or DNS hostname of the proxy server when manual configuration is selected.”
- Parameters:
proxyManualAddress- new value ofproxyManualAddressfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theproxyManualAddressfield changed
-
getProxyManualPort
public Optional<Integer> getProxyManualPort()
“Port of the proxy server when manual configuration is selected.”- Returns:
- property proxyManualPort
-
withProxyManualPort
public IosWiFiConfiguration withProxyManualPort(Integer proxyManualPort)
Returns an immutable copy ofthiswith just theproxyManualPortfield 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.“Port of the proxy server when manual configuration is selected.”
- Parameters:
proxyManualPort- new value ofproxyManualPortfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theproxyManualPortfield changed
-
getProxySettings
public Optional<WiFiProxySetting> getProxySettings()
“Proxy Type for this Wi-Fi connection”- Returns:
- property proxySettings
-
withProxySettings
public IosWiFiConfiguration withProxySettings(WiFiProxySetting proxySettings)
Returns an immutable copy ofthiswith just theproxySettingsfield 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.“Proxy Type for this Wi-Fi connection”
- Parameters:
proxySettings- new value ofproxySettingsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theproxySettingsfield changed
-
getSsid
public Optional<String> getSsid()
“This is the name of the Wi-Fi network that is broadcast to all devices.”- Returns:
- property ssid
-
withSsid
public IosWiFiConfiguration withSsid(String ssid)
Returns an immutable copy ofthiswith just thessidfield 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.“This is the name of the Wi-Fi network that is broadcast to all devices.”
- Parameters:
ssid- new value ofssidfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thessidfield changed
-
getWiFiSecurityType
public Optional<WiFiSecurityType> getWiFiSecurityType()
“Indicates whether Wi-Fi endpoint uses an EAP based security type.”- Returns:
- property wiFiSecurityType
-
withWiFiSecurityType
public IosWiFiConfiguration withWiFiSecurityType(WiFiSecurityType wiFiSecurityType)
Returns an immutable copy ofthiswith just thewiFiSecurityTypefield 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.“Indicates whether Wi-Fi endpoint uses an EAP based security type.”
- Parameters:
wiFiSecurityType- new value ofwiFiSecurityTypefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thewiFiSecurityTypefield changed
-
withUnmappedField
public IosWiFiConfiguration 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 IosWiFiConfiguration 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 IosWiFiConfiguration 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
-
-