Package odata.msgraph.client.beta.entity
Class NetworkIPv4ConfigurationManagementCondition
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.ManagementCondition
-
- odata.msgraph.client.beta.entity.NetworkManagementCondition
-
- odata.msgraph.client.beta.entity.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.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNetworkIPv4ConfigurationManagementCondition.Builder
-
Field Summary
Fields Modifier and Type Field Description protected List<String>dnsSuffixListprotected StringdnsSuffixListNextLinkprotected StringipV4DHCPServerprotected List<String>ipV4DNSServerListprotected StringipV4DNSServerListNextLinkprotected StringipV4Gatewayprotected StringipV4Prefix-
Fields inherited from class odata.msgraph.client.beta.entity.ManagementCondition
applicablePlatforms, applicablePlatformsNextLink, createdDateTime, description, displayName, eTag, modifiedDateTime, uniqueName
-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedNetworkIPv4ConfigurationManagementCondition()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NetworkIPv4ConfigurationManagementCondition.BuilderbuilderNetworkIPv4ConfigurationManagementCondition()Returns a builder which is used to create a new instance of this class (given that this class is immutable).com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()com.github.davidmoten.odata.client.CollectionPage<String>getDnsSuffixList()“Valid DNS suffixes for the current network.com.github.davidmoten.odata.client.CollectionPage<String>getDnsSuffixList(com.github.davidmoten.odata.client.HttpRequestOptions options)“Valid DNS suffixes for the current network.Optional<String>getIpV4DHCPServer()“The IPv4 address of the DHCP server for the adapter.”com.github.davidmoten.odata.client.CollectionPage<String>getIpV4DNSServerList()“The IPv4 DNS servers configured for the adapter.”com.github.davidmoten.odata.client.CollectionPage<String>getIpV4DNSServerList(com.github.davidmoten.odata.client.HttpRequestOptions options)“The IPv4 DNS servers configured for the adapter.”Optional<String>getIpV4Gateway()“The IPv4 gateway address.Optional<String>getIpV4Prefix()“The IPv4 subnet to be connected to.com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()NetworkIPv4ConfigurationManagementConditionpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)NetworkIPv4ConfigurationManagementConditionput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()NetworkIPv4ConfigurationManagementConditionwithDnsSuffixList(List<String> dnsSuffixList)Returns an immutable copy ofthiswith just thednsSuffixListfield changed.NetworkIPv4ConfigurationManagementConditionwithIpV4DHCPServer(String ipV4DHCPServer)Returns an immutable copy ofthiswith just theipV4DHCPServerfield changed.NetworkIPv4ConfigurationManagementConditionwithIpV4DNSServerList(List<String> ipV4DNSServerList)Returns an immutable copy ofthiswith just theipV4DNSServerListfield changed.NetworkIPv4ConfigurationManagementConditionwithIpV4Gateway(String ipV4Gateway)Returns an immutable copy ofthiswith just theipV4Gatewayfield changed.NetworkIPv4ConfigurationManagementConditionwithIpV4Prefix(String ipV4Prefix)Returns an immutable copy ofthiswith just theipV4Prefixfield changed.NetworkIPv4ConfigurationManagementConditionwithUnmappedField(String name, String value)-
Methods inherited from class odata.msgraph.client.beta.entity.ManagementCondition
getApplicablePlatforms, getApplicablePlatforms, getCreatedDateTime, getDescription, getDisplayName, getETag, getManagementConditionStatements, getModifiedDateTime, getUniqueName, withApplicablePlatforms, withCreatedDateTime, withDescription, withDisplayName, withETag, withModifiedDateTime, withUniqueName
-
-
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classNetworkManagementCondition
-
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:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classNetworkManagementCondition
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classNetworkManagementCondition
-
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 ofthiswith just thednsSuffixListfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. 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 ofdnsSuffixListfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thednsSuffixListfield 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 ofthiswith just theipV4DHCPServerfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. 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 ofipV4DHCPServerfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theipV4DHCPServerfield 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 ofthiswith just theipV4DNSServerListfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. 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 ofipV4DNSServerListfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theipV4DNSServerListfield 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 ofthiswith just theipV4Gatewayfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. 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 ofipV4Gatewayfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theipV4Gatewayfield 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 ofthiswith just theipV4Prefixfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 ofipV4Prefixfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theipV4Prefixfield changed
-
withUnmappedField
public NetworkIPv4ConfigurationManagementCondition withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classNetworkManagementCondition
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classNetworkManagementCondition
-
patch
public NetworkIPv4ConfigurationManagementCondition patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classNetworkManagementCondition- Returns:
- a copy of
thiswith 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 ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classNetworkManagementCondition- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
toString
public String toString()
- Overrides:
toStringin classNetworkManagementCondition
-
-