public class VpnServer extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
VpnServer.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
address |
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected String |
description |
protected Boolean |
isDefaultServer |
protected String |
odataType |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
VpnServer() |
| Modifier and Type | Method and Description |
|---|---|
static VpnServer.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<String> |
getAddress()
“Address (IP address, FQDN or URL)”
|
Optional<String> |
getDescription()
“Description.”
|
Optional<Boolean> |
getIsDefaultServer()
“Default server.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
VpnServer |
withAddress(String address)
Returns an immutable copy of
this with just the address field
changed. |
VpnServer |
withDescription(String description)
Returns an immutable copy of
this with just the description
field changed. |
VpnServer |
withIsDefaultServer(Boolean isDefaultServer)
Returns an immutable copy of
this with just the isDefaultServer
field changed. |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected String description
protected String address
protected Boolean isDefaultServer
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic Optional<String> getDescription()
public VpnServer withDescription(String description)
this with just the description
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.
“Description.”
description - new value of description field (as defined in service metadata)this with just the description field changedpublic Optional<String> getAddress()
public VpnServer withAddress(String address)
this with just the address 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.
“Address (IP address, FQDN or URL)”
address - new value of address field (as defined in service metadata)this with just the address field changedpublic Optional<Boolean> getIsDefaultServer()
public VpnServer withIsDefaultServer(Boolean isDefaultServer)
this with just the isDefaultServer
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.
“Default server.”
isDefaultServer - new value of isDefaultServer field (as defined in service metadata)this with just the isDefaultServer 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 VpnServer.Builder builder()
Copyright © 2018–2020. All rights reserved.