Class AndroidDeviceOwnerGlobalProxyDirect

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

    public class AndroidDeviceOwnerGlobalProxyDirect
    extends AndroidDeviceOwnerGlobalProxy
    implements com.github.davidmoten.odata.client.ODataType
    “Android Device Owner Global Proxy Direct.”
    • Field Detail

      • excludedHosts

        protected List<String> excludedHosts
      • excludedHostsNextLink

        protected String excludedHostsNextLink
    • Constructor Detail

      • AndroidDeviceOwnerGlobalProxyDirect

        protected AndroidDeviceOwnerGlobalProxyDirect()
    • Method Detail

      • getExcludedHosts

        public com.github.davidmoten.odata.client.CollectionPage<String> getExcludedHosts()
        “The excluded hosts”
        Returns:
        property excludedHosts
      • getExcludedHosts

        public com.github.davidmoten.odata.client.CollectionPage<String> getExcludedHosts​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “The excluded hosts”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property excludedHosts
      • getHost

        public Optional<String> getHost()
        “The host name”
        Returns:
        property host
      • withHost

        public AndroidDeviceOwnerGlobalProxyDirect withHost​(String host)
        Returns an immutable copy of this with just the host 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.

        “The host name”

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

        public Optional<Integer> getPort()
        “The port”
        Returns:
        property port
      • withPort

        public AndroidDeviceOwnerGlobalProxyDirect withPort​(Integer port)
        Returns an immutable copy of this with just the port 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.

        “The port”

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

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

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

        public static AndroidDeviceOwnerGlobalProxyDirect.Builder builderAndroidDeviceOwnerGlobalProxyDirect()
        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