public class VpnDnsRule extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
VpnDnsRule.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
autoTrigger |
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected String |
name |
protected String |
odataType |
protected Boolean |
persistent |
protected String |
proxyServerUri |
protected List<String> |
servers |
protected String |
serversNextLink |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
VpnDnsRule() |
| Modifier and Type | Method and Description |
|---|---|
static VpnDnsRule.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<Boolean> |
getAutoTrigger()
“Automatically connect to the VPN when the device connects to this domain:
Default False.”
|
Optional<String> |
getName()
“Name.”
|
Optional<Boolean> |
getPersistent()
“Keep this rule active even when the VPN is not connected: Default False”
|
Optional<String> |
getProxyServerUri()
“Proxy Server Uri.”
|
com.github.davidmoten.odata.client.CollectionPage<String> |
getServers()
“Servers.”
|
com.github.davidmoten.odata.client.CollectionPage<String> |
getServers(com.github.davidmoten.odata.client.HttpRequestOptions options)
“Servers.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
VpnDnsRule |
withAutoTrigger(Boolean autoTrigger)
Returns an immutable copy of
this with just the autoTrigger
field changed. |
VpnDnsRule |
withName(String name)
Returns an immutable copy of
this with just the name field
changed. |
VpnDnsRule |
withPersistent(Boolean persistent)
Returns an immutable copy of
this with just the persistent field
changed. |
VpnDnsRule |
withProxyServerUri(String proxyServerUri)
Returns an immutable copy of
this with just the proxyServerUri
field changed. |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected String name
protected String serversNextLink
protected String proxyServerUri
protected Boolean autoTrigger
protected Boolean persistent
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic VpnDnsRule withName(String name)
this with just the name 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.
“Name.”
name - new value of name field (as defined in service metadata)this with just the name field changedpublic com.github.davidmoten.odata.client.CollectionPage<String> getServers()
public com.github.davidmoten.odata.client.CollectionPage<String> getServers(com.github.davidmoten.odata.client.HttpRequestOptions options)
public Optional<String> getProxyServerUri()
public VpnDnsRule withProxyServerUri(String proxyServerUri)
this with just the proxyServerUri
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 Server Uri.”
proxyServerUri - new value of proxyServerUri field (as defined in service metadata)this with just the proxyServerUri field changedpublic Optional<Boolean> getAutoTrigger()
public VpnDnsRule withAutoTrigger(Boolean autoTrigger)
this with just the autoTrigger
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.
“Automatically connect to the VPN when the device connects to this domain: Default False.”
autoTrigger - new value of autoTrigger field (as defined in service metadata)this with just the autoTrigger field changedpublic Optional<Boolean> getPersistent()
public VpnDnsRule withPersistent(Boolean persistent)
this with just the persistent 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.
“Keep this rule active even when the VPN is not connected: Default False”
persistent - new value of persistent field (as defined in service metadata)this with just the persistent field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypepublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepublic static VpnDnsRule.Builder builder()
Copyright © 2018–2020. All rights reserved.