Package odata.msgraph.client.beta.entity
Class WindowsPhone81VpnConfiguration
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DeviceConfiguration
-
- odata.msgraph.client.beta.entity.WindowsVpnConfiguration
-
- odata.msgraph.client.beta.entity.Windows81VpnConfiguration
-
- odata.msgraph.client.beta.entity.WindowsPhone81VpnConfiguration
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class WindowsPhone81VpnConfiguration extends Windows81VpnConfiguration implements com.github.davidmoten.odata.client.ODataEntityType
“By providing the configurations in this profile you can instruct the Windows Phone 8.1 to connect to desired VPN endpoint. By specifying the authentication method and security types expected by VPN endpoint you can make the VPN connection seamless for end user.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWindowsPhone81VpnConfiguration.Builder
-
Field Summary
Fields Modifier and Type Field Description protected VpnAuthenticationMethodauthenticationMethodprotected BooleanbypassVpnOnCompanyWifiprotected BooleanbypassVpnOnHomeWifiprotected List<String>dnsSuffixSearchListprotected StringdnsSuffixSearchListNextLinkprotected BooleanrememberUserCredentials-
Fields inherited from class odata.msgraph.client.beta.entity.Windows81VpnConfiguration
applyOnlyToWindows81, connectionType, enableSplitTunneling, loginGroupOrDomain, proxyServer
-
Fields inherited from class odata.msgraph.client.beta.entity.WindowsVpnConfiguration
connectionName, customXml, servers, serversNextLink
-
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 protectedWindowsPhone81VpnConfiguration()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WindowsPhone81VpnConfiguration.BuilderbuilderWindowsPhone81VpnConfiguration()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<VpnAuthenticationMethod>getAuthenticationMethod()“Authentication method.”Optional<Boolean>getBypassVpnOnCompanyWifi()“Bypass VPN on company Wi-Fi.”Optional<Boolean>getBypassVpnOnHomeWifi()“Bypass VPN on home Wi-Fi.”com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()com.github.davidmoten.odata.client.CollectionPage<String>getDnsSuffixSearchList()“DNS suffix search list.”com.github.davidmoten.odata.client.CollectionPage<String>getDnsSuffixSearchList(com.github.davidmoten.odata.client.HttpRequestOptions options)“DNS suffix search list.”WindowsPhone81CertificateProfileBaseRequestgetIdentityCertificate()“Identity certificate for client authentication when authentication method is certificate.”Optional<Boolean>getRememberUserCredentials()“Remember user credentials.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()WindowsPhone81VpnConfigurationpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)WindowsPhone81VpnConfigurationput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()WindowsPhone81VpnConfigurationwithAuthenticationMethod(VpnAuthenticationMethod authenticationMethod)Returns an immutable copy ofthiswith just theauthenticationMethodfield changed.WindowsPhone81VpnConfigurationwithBypassVpnOnCompanyWifi(Boolean bypassVpnOnCompanyWifi)Returns an immutable copy ofthiswith just thebypassVpnOnCompanyWififield changed.WindowsPhone81VpnConfigurationwithBypassVpnOnHomeWifi(Boolean bypassVpnOnHomeWifi)Returns an immutable copy ofthiswith just thebypassVpnOnHomeWififield changed.WindowsPhone81VpnConfigurationwithDnsSuffixSearchList(List<String> dnsSuffixSearchList)Returns an immutable copy ofthiswith just thednsSuffixSearchListfield changed.WindowsPhone81VpnConfigurationwithRememberUserCredentials(Boolean rememberUserCredentials)Returns an immutable copy ofthiswith just therememberUserCredentialsfield changed.WindowsPhone81VpnConfigurationwithUnmappedField(String name, String value)-
Methods inherited from class odata.msgraph.client.beta.entity.Windows81VpnConfiguration
builderWindows81VpnConfiguration, getApplyOnlyToWindows81, getConnectionType, getEnableSplitTunneling, getLoginGroupOrDomain, getProxyServer, withApplyOnlyToWindows81, withConnectionType, withEnableSplitTunneling, withLoginGroupOrDomain, withProxyServer
-
Methods inherited from class odata.msgraph.client.beta.entity.WindowsVpnConfiguration
getConnectionName, getCustomXml, getServers, getServers, withConnectionName, withCustomXml, withServers
-
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
-
authenticationMethod
protected VpnAuthenticationMethod authenticationMethod
-
bypassVpnOnCompanyWifi
protected Boolean bypassVpnOnCompanyWifi
-
bypassVpnOnHomeWifi
protected Boolean bypassVpnOnHomeWifi
-
dnsSuffixSearchListNextLink
protected String dnsSuffixSearchListNextLink
-
rememberUserCredentials
protected Boolean rememberUserCredentials
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classWindows81VpnConfiguration
-
builderWindowsPhone81VpnConfiguration
public static WindowsPhone81VpnConfiguration.Builder builderWindowsPhone81VpnConfiguration()
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 classWindows81VpnConfiguration
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classWindows81VpnConfiguration
-
getAuthenticationMethod
public Optional<VpnAuthenticationMethod> getAuthenticationMethod()
“Authentication method.”- Returns:
- property authenticationMethod
-
withAuthenticationMethod
public WindowsPhone81VpnConfiguration withAuthenticationMethod(VpnAuthenticationMethod authenticationMethod)
Returns an immutable copy ofthiswith just theauthenticationMethodfield 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.“Authentication method.”
- Parameters:
authenticationMethod- new value ofauthenticationMethodfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theauthenticationMethodfield changed
-
getBypassVpnOnCompanyWifi
public Optional<Boolean> getBypassVpnOnCompanyWifi()
“Bypass VPN on company Wi-Fi.”- Returns:
- property bypassVpnOnCompanyWifi
-
withBypassVpnOnCompanyWifi
public WindowsPhone81VpnConfiguration withBypassVpnOnCompanyWifi(Boolean bypassVpnOnCompanyWifi)
Returns an immutable copy ofthiswith just thebypassVpnOnCompanyWififield 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.“Bypass VPN on company Wi-Fi.”
- Parameters:
bypassVpnOnCompanyWifi- new value ofbypassVpnOnCompanyWififield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thebypassVpnOnCompanyWififield changed
-
getBypassVpnOnHomeWifi
public Optional<Boolean> getBypassVpnOnHomeWifi()
“Bypass VPN on home Wi-Fi.”- Returns:
- property bypassVpnOnHomeWifi
-
withBypassVpnOnHomeWifi
public WindowsPhone81VpnConfiguration withBypassVpnOnHomeWifi(Boolean bypassVpnOnHomeWifi)
Returns an immutable copy ofthiswith just thebypassVpnOnHomeWififield 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.“Bypass VPN on home Wi-Fi.”
- Parameters:
bypassVpnOnHomeWifi- new value ofbypassVpnOnHomeWififield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thebypassVpnOnHomeWififield changed
-
getDnsSuffixSearchList
public com.github.davidmoten.odata.client.CollectionPage<String> getDnsSuffixSearchList()
“DNS suffix search list.”- Returns:
- property dnsSuffixSearchList
-
withDnsSuffixSearchList
public WindowsPhone81VpnConfiguration withDnsSuffixSearchList(List<String> dnsSuffixSearchList)
Returns an immutable copy ofthiswith just thednsSuffixSearchListfield 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.“DNS suffix search list.”
- Parameters:
dnsSuffixSearchList- new value ofdnsSuffixSearchListfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thednsSuffixSearchListfield changed
-
getDnsSuffixSearchList
public com.github.davidmoten.odata.client.CollectionPage<String> getDnsSuffixSearchList(com.github.davidmoten.odata.client.HttpRequestOptions options)
“DNS suffix search list.”- Parameters:
options- specify connect and read timeouts- Returns:
- property dnsSuffixSearchList
-
getRememberUserCredentials
public Optional<Boolean> getRememberUserCredentials()
“Remember user credentials.”- Returns:
- property rememberUserCredentials
-
withRememberUserCredentials
public WindowsPhone81VpnConfiguration withRememberUserCredentials(Boolean rememberUserCredentials)
Returns an immutable copy ofthiswith just therememberUserCredentialsfield 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.“Remember user credentials.”
- Parameters:
rememberUserCredentials- new value ofrememberUserCredentialsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just therememberUserCredentialsfield changed
-
withUnmappedField
public WindowsPhone81VpnConfiguration withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classWindows81VpnConfiguration
-
getIdentityCertificate
public WindowsPhone81CertificateProfileBaseRequest getIdentityCertificate()
“Identity certificate for client authentication when authentication method is certificate.”- Returns:
- navigational property identityCertificate
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classWindows81VpnConfiguration
-
patch
public WindowsPhone81VpnConfiguration patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classWindows81VpnConfiguration- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public WindowsPhone81VpnConfiguration put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classWindows81VpnConfiguration- 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 classWindows81VpnConfiguration
-
-