Class NetworkIPv4ConfigurationManagementCondition

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

    public class NetworkIPv4ConfigurationManagementCondition
    extends NetworkManagementCondition
    implements com.github.davidmoten.odata.client.ODataEntityType
    “IPv4 configuration-based management conditions may be defined that will trigger when a device detects certain IP network settings. An IP config management conditions will only be considered TRUE when the network connection is active.”
    • Field Detail

      • dnsSuffixList

        protected List<String> dnsSuffixList
      • dnsSuffixListNextLink

        protected String dnsSuffixListNextLink
      • ipV4DHCPServer

        protected String ipV4DHCPServer
      • ipV4DNSServerList

        protected List<String> ipV4DNSServerList
      • ipV4DNSServerListNextLink

        protected String ipV4DNSServerListNextLink
      • ipV4Gateway

        protected String ipV4Gateway
      • ipV4Prefix

        protected String ipV4Prefix
    • Constructor Detail

      • NetworkIPv4ConfigurationManagementCondition

        protected NetworkIPv4ConfigurationManagementCondition()
    • Method Detail

      • builderNetworkIPv4ConfigurationManagementCondition

        public static NetworkIPv4ConfigurationManagementCondition.Builder builderNetworkIPv4ConfigurationManagementCondition()
        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
      • getChangedFields

        public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
        Specified by:
        getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityType
        Overrides:
        getChangedFields in class NetworkManagementCondition
      • postInject

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getDnsSuffixList()
        “Valid DNS suffixes for the current network. e.g. seattle.contoso.com”
        Returns:
        property dnsSuffixList
      • withDnsSuffixList

        public NetworkIPv4ConfigurationManagementCondition withDnsSuffixList​(List<String> dnsSuffixList)
        Returns an immutable copy of this with just the dnsSuffixList 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.

        “Valid DNS suffixes for the current network. e.g. seattle.contoso.com”

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getDnsSuffixList​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “Valid DNS suffixes for the current network. e.g. seattle.contoso.com”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property dnsSuffixList
      • getIpV4DHCPServer

        public Optional<String> getIpV4DHCPServer()
        “The IPv4 address of the DHCP server for the adapter.”
        Returns:
        property ipV4DHCPServer
      • withIpV4DHCPServer

        public NetworkIPv4ConfigurationManagementCondition withIpV4DHCPServer​(String ipV4DHCPServer)
        Returns an immutable copy of this with just the ipV4DHCPServer 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 IPv4 address of the DHCP server for the adapter.”

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getIpV4DNSServerList()
        “The IPv4 DNS servers configured for the adapter.”
        Returns:
        property ipV4DNSServerList
      • withIpV4DNSServerList

        public NetworkIPv4ConfigurationManagementCondition withIpV4DNSServerList​(List<String> ipV4DNSServerList)
        Returns an immutable copy of this with just the ipV4DNSServerList 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 IPv4 DNS servers configured for the adapter.”

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getIpV4DNSServerList​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “The IPv4 DNS servers configured for the adapter.”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property ipV4DNSServerList
      • getIpV4Gateway

        public Optional<String> getIpV4Gateway()
        “The IPv4 gateway address. e.g. 10.0.0.0”
        Returns:
        property ipV4Gateway
      • withIpV4Gateway

        public NetworkIPv4ConfigurationManagementCondition withIpV4Gateway​(String ipV4Gateway)
        Returns an immutable copy of this with just the ipV4Gateway 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 IPv4 gateway address. e.g. 10.0.0.0”

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

        public Optional<String> getIpV4Prefix()
        “The IPv4 subnet to be connected to. e.g. 10.0.0.0/8”
        Returns:
        property ipV4Prefix
      • withIpV4Prefix

        public NetworkIPv4ConfigurationManagementCondition withIpV4Prefix​(String ipV4Prefix)
        Returns an immutable copy of this with just the ipV4Prefix 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 IPv4 subnet to be connected to. e.g. 10.0.0.0/8”

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

        public NetworkIPv4ConfigurationManagementCondition patch()
        Submits only changed fields for update and returns an immutable copy of this with changed fields reset.
        Overrides:
        patch in class NetworkManagementCondition
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected
      • put

        public NetworkIPv4ConfigurationManagementCondition put()
        Submits all fields for update and returns an immutable copy of this with changed fields reset (they were ignored anyway).
        Overrides:
        put in class NetworkManagementCondition
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected