Class VpnServer

  • All Implemented Interfaces:
    com.github.davidmoten.odata.client.ODataType

    public class VpnServer
    extends Object
    implements com.github.davidmoten.odata.client.ODataType
    “VPN Server definition.”
    • Field Detail

      • contextPath

        protected com.github.davidmoten.odata.client.ContextPath contextPath
      • unmappedFields

        protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
      • odataType

        protected String odataType
      • address

        protected String address
      • description

        protected String description
      • isDefaultServer

        protected Boolean isDefaultServer
    • Constructor Detail

      • VpnServer

        protected VpnServer()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
      • getAddress

        public Optional<String> getAddress()
        “Address (IP address, FQDN or URL)”
        Returns:
        property address
      • withAddress

        public VpnServer withAddress​(String address)
        Returns an immutable copy of 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)”

        Parameters:
        address - new value of address field (as defined in service metadata)
        Returns:
        immutable copy of this with just the address field changed
      • getDescription

        public Optional<String> getDescription()
        “Description.”
        Returns:
        property description
      • withDescription

        public VpnServer withDescription​(String description)
        Returns an immutable copy of 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.”

        Parameters:
        description - new value of description field (as defined in service metadata)
        Returns:
        immutable copy of this with just the description field changed
      • getIsDefaultServer

        public Optional<Boolean> getIsDefaultServer()
        “Default server.”
        Returns:
        property isDefaultServer
      • withIsDefaultServer

        public VpnServer withIsDefaultServer​(Boolean isDefaultServer)
        Returns an immutable copy of 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.”

        Parameters:
        isDefaultServer - new value of isDefaultServer field (as defined in service metadata)
        Returns:
        immutable copy of this with just the isDefaultServer field changed
      • getUnmappedFields

        public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
        Specified by:
        getUnmappedFields in interface com.github.davidmoten.odata.client.ODataType
      • postInject

        public void postInject​(boolean addKeysToContextPath)
        Specified by:
        postInject in interface com.github.davidmoten.odata.client.ODataType
      • builder

        public static VpnServer.Builder builder()
        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