Class WindowsWifiConfiguration

  • All Implemented Interfaces:
    com.github.davidmoten.odata.client.ODataEntityType, com.github.davidmoten.odata.client.ODataType
    Direct Known Subclasses:
    WindowsWifiEnterpriseEAPConfiguration

    public class WindowsWifiConfiguration
    extends DeviceConfiguration
    implements com.github.davidmoten.odata.client.ODataEntityType
    “Device Configuration.”
    • Field Detail

      • connectAutomatically

        protected Boolean connectAutomatically
      • connectToPreferredNetwork

        protected Boolean connectToPreferredNetwork
      • connectWhenNetworkNameIsHidden

        protected Boolean connectWhenNetworkNameIsHidden
      • forceFIPSCompliance

        protected Boolean forceFIPSCompliance
      • networkName

        protected String networkName
      • preSharedKey

        protected String preSharedKey
      • proxyAutomaticConfigurationUrl

        protected String proxyAutomaticConfigurationUrl
      • proxyManualAddress

        protected String proxyManualAddress
      • proxyManualPort

        protected Integer proxyManualPort
    • Constructor Detail

      • WindowsWifiConfiguration

        protected WindowsWifiConfiguration()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        odataTypeName in class DeviceConfiguration
      • builderWindowsWifiConfiguration

        public static WindowsWifiConfiguration.Builder builderWindowsWifiConfiguration()
        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 DeviceConfiguration
      • postInject

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

        public Optional<Boolean> getConnectAutomatically()
        “Specify whether the wifi connection should connect automatically when in range.”
        Returns:
        property connectAutomatically
      • withConnectAutomatically

        public WindowsWifiConfiguration withConnectAutomatically​(Boolean connectAutomatically)
        Returns an immutable copy of this with just the connectAutomatically 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.

        “Specify whether the wifi connection should connect automatically when in range.”

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

        public Optional<Boolean> getConnectToPreferredNetwork()
        “Specify whether the wifi connection should connect to more preferred networks when already connected to this one. Requires ConnectAutomatically to be true.”
        Returns:
        property connectToPreferredNetwork
      • withConnectToPreferredNetwork

        public WindowsWifiConfiguration withConnectToPreferredNetwork​(Boolean connectToPreferredNetwork)
        Returns an immutable copy of this with just the connectToPreferredNetwork 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.

        “Specify whether the wifi connection should connect to more preferred networks when already connected to this one. Requires ConnectAutomatically to be true.”

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

        public Optional<Boolean> getConnectWhenNetworkNameIsHidden()
        “Specify whether the wifi connection should connect automatically even when the SSID is not broadcasting.”
        Returns:
        property connectWhenNetworkNameIsHidden
      • withConnectWhenNetworkNameIsHidden

        public WindowsWifiConfiguration withConnectWhenNetworkNameIsHidden​(Boolean connectWhenNetworkNameIsHidden)
        Returns an immutable copy of this with just the connectWhenNetworkNameIsHidden 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.

        “Specify whether the wifi connection should connect automatically even when the SSID is not broadcasting.”

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

        public Optional<Boolean> getForceFIPSCompliance()
        “Specify whether to force FIPS compliance.”
        Returns:
        property forceFIPSCompliance
      • withForceFIPSCompliance

        public WindowsWifiConfiguration withForceFIPSCompliance​(Boolean forceFIPSCompliance)
        Returns an immutable copy of this with just the forceFIPSCompliance 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.

        “Specify whether to force FIPS compliance.”

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

        public Optional<MeteredConnectionLimitType> getMeteredConnectionLimit()
        “Specify the metered connection limit type for the wifi connection.”
        Returns:
        property meteredConnectionLimit
      • withMeteredConnectionLimit

        public WindowsWifiConfiguration withMeteredConnectionLimit​(MeteredConnectionLimitType meteredConnectionLimit)
        Returns an immutable copy of this with just the meteredConnectionLimit 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.

        “Specify the metered connection limit type for the wifi connection.”

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

        public Optional<String> getNetworkName()
        “Specify the network configuration name.”
        Returns:
        property networkName
      • withNetworkName

        public WindowsWifiConfiguration withNetworkName​(String networkName)
        Returns an immutable copy of this with just the networkName 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.

        “Specify the network configuration name.”

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

        public Optional<String> getPreSharedKey()
        “This is the pre-shared key for WPA Personal Wi-Fi network.”
        Returns:
        property preSharedKey
      • withPreSharedKey

        public WindowsWifiConfiguration withPreSharedKey​(String preSharedKey)
        Returns an immutable copy of this with just the preSharedKey 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.

        “This is the pre-shared key for WPA Personal Wi-Fi network.”

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

        public Optional<String> getProxyAutomaticConfigurationUrl()
        “Specify the URL for the proxy server configuration script.”
        Returns:
        property proxyAutomaticConfigurationUrl
      • withProxyAutomaticConfigurationUrl

        public WindowsWifiConfiguration withProxyAutomaticConfigurationUrl​(String proxyAutomaticConfigurationUrl)
        Returns an immutable copy of this with just the proxyAutomaticConfigurationUrl 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.

        “Specify the URL for the proxy server configuration script.”

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

        public Optional<String> getProxyManualAddress()
        “Specify the IP address for the proxy server.”
        Returns:
        property proxyManualAddress
      • withProxyManualAddress

        public WindowsWifiConfiguration withProxyManualAddress​(String proxyManualAddress)
        Returns an immutable copy of this with just the proxyManualAddress 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.

        “Specify the IP address for the proxy server.”

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

        public Optional<Integer> getProxyManualPort()
        “Specify the port for the proxy server.”
        Returns:
        property proxyManualPort
      • withProxyManualPort

        public WindowsWifiConfiguration withProxyManualPort​(Integer proxyManualPort)
        Returns an immutable copy of this with just the proxyManualPort 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.

        “Specify the port for the proxy server.”

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

        public Optional<WiFiProxySetting> getProxySetting()
        “Specify the proxy setting for Wi-Fi configuration”
        Returns:
        property proxySetting
      • withProxySetting

        public WindowsWifiConfiguration withProxySetting​(WiFiProxySetting proxySetting)
        Returns an immutable copy of this with just the proxySetting 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.

        “Specify the proxy setting for Wi-Fi configuration”

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

        public Optional<String> getSsid()
        “Specify the SSID of the wifi connection.”
        Returns:
        property ssid
      • withSsid

        public WindowsWifiConfiguration withSsid​(String ssid)
        Returns an immutable copy of this with just the ssid 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.

        “Specify the SSID of the wifi connection.”

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

        public Optional<WiFiSecurityType> getWifiSecurityType()
        “Specify the Wifi Security Type.”
        Returns:
        property wifiSecurityType
      • withWifiSecurityType

        public WindowsWifiConfiguration withWifiSecurityType​(WiFiSecurityType wifiSecurityType)
        Returns an immutable copy of this with just the wifiSecurityType 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.

        “Specify the Wifi Security Type.”

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

        public WindowsWifiConfiguration patch()
        Submits only changed fields for update and returns an immutable copy of this with changed fields reset.
        Overrides:
        patch in class DeviceConfiguration
        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 WindowsWifiConfiguration 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 DeviceConfiguration
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected