Package odata.msgraph.client.beta.entity
Class AndroidWorkProfileWiFiConfiguration
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DeviceConfiguration
-
- odata.msgraph.client.beta.entity.AndroidWorkProfileWiFiConfiguration
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
- Direct Known Subclasses:
AndroidWorkProfileEnterpriseWiFiConfiguration
public class AndroidWorkProfileWiFiConfiguration extends DeviceConfiguration implements com.github.davidmoten.odata.client.ODataEntityType
“By providing the configurations in this profile you can instruct the Android Work Profile 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 classAndroidWorkProfileWiFiConfiguration.Builder
-
Field Summary
Fields Modifier and Type Field Description protected BooleanconnectAutomaticallyprotected BooleanconnectWhenNetworkNameIsHiddenprotected StringnetworkNameprotected Stringssidprotected AndroidWiFiSecurityTypewiFiSecurityType-
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 protectedAndroidWorkProfileWiFiConfiguration()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AndroidWorkProfileWiFiConfiguration.BuilderbuilderAndroidWorkProfileWiFiConfiguration()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()“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.UnmappedFieldsgetUnmappedFields()Optional<AndroidWiFiSecurityType>getWiFiSecurityType()“Indicates whether Wi-Fi endpoint uses an EAP based security type.”StringodataTypeName()AndroidWorkProfileWiFiConfigurationpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)AndroidWorkProfileWiFiConfigurationput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()AndroidWorkProfileWiFiConfigurationwithConnectAutomatically(Boolean connectAutomatically)Returns an immutable copy ofthiswith just theconnectAutomaticallyfield changed.AndroidWorkProfileWiFiConfigurationwithConnectWhenNetworkNameIsHidden(Boolean connectWhenNetworkNameIsHidden)Returns an immutable copy ofthiswith just theconnectWhenNetworkNameIsHiddenfield changed.AndroidWorkProfileWiFiConfigurationwithNetworkName(String networkName)Returns an immutable copy ofthiswith just thenetworkNamefield changed.AndroidWorkProfileWiFiConfigurationwithSsid(String ssid)Returns an immutable copy ofthiswith just thessidfield changed.AndroidWorkProfileWiFiConfigurationwithUnmappedField(String name, String value)AndroidWorkProfileWiFiConfigurationwithWiFiSecurityType(AndroidWiFiSecurityType 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
-
networkName
protected String networkName
-
ssid
protected String ssid
-
wiFiSecurityType
protected AndroidWiFiSecurityType wiFiSecurityType
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classDeviceConfiguration
-
builderAndroidWorkProfileWiFiConfiguration
public static AndroidWorkProfileWiFiConfiguration.Builder builderAndroidWorkProfileWiFiConfiguration()
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 AndroidWorkProfileWiFiConfiguration 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()
“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 AndroidWorkProfileWiFiConfiguration 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.“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
-
getNetworkName
public Optional<String> getNetworkName()
“Network Name”- Returns:
- property networkName
-
withNetworkName
public AndroidWorkProfileWiFiConfiguration 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
-
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 AndroidWorkProfileWiFiConfiguration 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<AndroidWiFiSecurityType> getWiFiSecurityType()
“Indicates whether Wi-Fi endpoint uses an EAP based security type.”- Returns:
- property wiFiSecurityType
-
withWiFiSecurityType
public AndroidWorkProfileWiFiConfiguration withWiFiSecurityType(AndroidWiFiSecurityType 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 AndroidWorkProfileWiFiConfiguration 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 AndroidWorkProfileWiFiConfiguration 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 AndroidWorkProfileWiFiConfiguration 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
-
-