Package odata.msgraph.client.complex
Class Windows10NetworkProxyServer
- java.lang.Object
-
- odata.msgraph.client.complex.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.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWindows10NetworkProxyServer.Builder
-
Field Summary
Fields Modifier and Type Field Description protected Stringaddressprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected List<String>exceptionsprotected StringexceptionsNextLinkprotected StringodataTypeprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFieldsprotected BooleanuseForLocalAddresses
-
Constructor Summary
Constructors Modifier Constructor Description protectedWindows10NetworkProxyServer()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Windows10NetworkProxyServer.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<String>getAddress()“Address to the proxy server.com.github.davidmoten.odata.client.CollectionPage<String>getExceptions()“Addresses that should not use the proxy server.com.github.davidmoten.odata.client.CollectionPage<String>getExceptions(com.github.davidmoten.odata.client.HttpRequestOptions options)“Addresses that should not use the proxy server.com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<Boolean>getUseForLocalAddresses()“Specifies whether the proxy server should be used for local (intranet) addresses .”StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()Windows10NetworkProxyServerwithAddress(String address)Returns an immutable copy ofthiswith just theaddressfield changed.Windows10NetworkProxyServerwithUnmappedField(String name, Object value)Windows10NetworkProxyServerwithUseForLocalAddresses(Boolean useForLocalAddresses)Returns an immutable copy ofthiswith just theuseForLocalAddressesfield changed.
-
-
-
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
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getAddress
public Optional<String> getAddress()
“Address to the proxy server. Specify an address in the format <server>[“:”<port> ]”- Returns:
- property address
-
withAddress
public Windows10NetworkProxyServer withAddress(String address)
Returns an immutable copy ofthiswith just theaddressfield 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.“Address to the proxy server. Specify an address in the format <server>[“:”<port> ]”
- Parameters:
address- new value ofaddressfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theaddressfield 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 ofthiswith just theuseForLocalAddressesfield 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.“Specifies whether the proxy server should be used for local (intranet) addresses .”
- Parameters:
useForLocalAddresses- new value ofuseForLocalAddressesfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theuseForLocalAddressesfield changed
-
withUnmappedField
public Windows10NetworkProxyServer withUnmappedField(String name, Object value)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.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
-
-