public class WindowsVpnConfiguration extends DeviceConfiguration implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Field and Description |
|---|---|
protected String |
connectionName |
protected byte[] |
customXml |
protected List<VpnServer> |
servers |
protected String |
serversNextLink |
createdDateTime, description, deviceManagementApplicabilityRuleDeviceMode, deviceManagementApplicabilityRuleOsEdition, deviceManagementApplicabilityRuleOsVersion, displayName, lastModifiedDateTime, roleScopeTagIds, roleScopeTagIdsNextLink, supportsScopeTags, versionchangedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
WindowsVpnConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<String> |
getConnectionName()
“Connection name displayed to the user.”
|
Optional<byte[]> |
getCustomXml()
“Custom XML commands that configures the VPN connection.
|
com.github.davidmoten.odata.client.CollectionPage<VpnServer> |
getServers()
“List of VPN Servers on the network.
|
com.github.davidmoten.odata.client.CollectionPage<VpnServer> |
getServers(com.github.davidmoten.odata.client.HttpRequestOptions options)
“List of VPN Servers on the network.
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
WindowsVpnConfiguration |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
WindowsVpnConfiguration |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
WindowsVpnConfiguration |
withConnectionName(String connectionName)
Returns an immutable copy of
this with just the connectionName
field changed. |
WindowsVpnConfiguration |
withCustomXml(byte[] customXml)
Returns an immutable copy of
this with just the customXml 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 connectionName
protected String serversNextLink
protected byte[] customXml
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class DeviceConfigurationpublic 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> getConnectionName()
public WindowsVpnConfiguration withConnectionName(String connectionName)
this with just the connectionName
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.
“Connection name displayed to the user.”
connectionName - new value of connectionName field (as defined in service metadata)this with just the connectionName field changedpublic com.github.davidmoten.odata.client.CollectionPage<VpnServer> getServers()
public com.github.davidmoten.odata.client.CollectionPage<VpnServer> getServers(com.github.davidmoten.odata.client.HttpRequestOptions options)
public Optional<byte[]> getCustomXml()
public WindowsVpnConfiguration withCustomXml(byte[] customXml)
this with just the customXml 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.
“Custom XML commands that configures the VPN connection. (UTF8 encoded byte array )”
customXml - new value of customXml field (as defined in service metadata)this with just the customXml field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class DeviceConfigurationpublic WindowsVpnConfiguration 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 WindowsVpnConfiguration 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.