Class Windows10NetworkProxyServer

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

    public class Windows10NetworkProxyServer
    extends Object
    implements com.github.davidmoten.odata.client.ODataType
    “Network Proxy Server Policy.”
    • 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
      • exceptionsNextLink

        protected String exceptionsNextLink
      • useForLocalAddresses

        protected Boolean useForLocalAddresses
    • Constructor Detail

      • Windows10NetworkProxyServer

        protected Windows10NetworkProxyServer()
    • Method Detail

      • odataTypeName

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

        public Optional<String> getAddress()
        “Address to the proxy server. Specify an address in the format &lt;server&gt;[“:”&lt;port&gt; ]”
        Returns:
        property address
      • withAddress

        public Windows10NetworkProxyServer 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 to the proxy server. Specify an address in the format &lt;server&gt;[“:”&lt;port&gt; ]”

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getExceptions()
        “Addresses that should not use the proxy server. The system will not use the proxy server for addresses beginning with what is specified in this node.”
        Returns:
        property exceptions
      • getExceptions

        public com.github.davidmoten.odata.client.CollectionPage<String> getExceptions​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “Addresses that should not use the proxy server. The system will not use the proxy server for addresses beginning with what is specified in this node.”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property exceptions
      • getUseForLocalAddresses

        public Optional<Boolean> getUseForLocalAddresses()
        “Specifies whether the proxy server should be used for local (intranet) addresses .”
        Returns:
        property useForLocalAddresses
      • withUseForLocalAddresses

        public Windows10NetworkProxyServer withUseForLocalAddresses​(Boolean useForLocalAddresses)
        Returns an immutable copy of this with just the useForLocalAddresses 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.

        “Specifies whether the proxy server should be used for local (intranet) addresses .”

        Parameters:
        useForLocalAddresses - new value of useForLocalAddresses field (as defined in service metadata)
        Returns:
        immutable copy of this with just the useForLocalAddresses 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 Windows10NetworkProxyServer.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