public class MacOSFirewallApplication extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
MacOSFirewallApplication.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
allowsIncomingConnections |
protected String |
bundleId |
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected String |
odataType |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
MacOSFirewallApplication() |
| Modifier and Type | Method and Description |
|---|---|
static MacOSFirewallApplication.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<Boolean> |
getAllowsIncomingConnections()
“Whether or not incoming connections are allowed.”
|
Optional<String> |
getBundleId()
“BundleId of the application.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
MacOSFirewallApplication |
withAllowsIncomingConnections(Boolean allowsIncomingConnections)
Returns an immutable copy of
this with just the allowsIncomingConnections field changed. |
MacOSFirewallApplication |
withBundleId(String bundleId)
Returns an immutable copy of
this with just the bundleId field
changed. |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected String bundleId
protected Boolean allowsIncomingConnections
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic Optional<String> getBundleId()
public MacOSFirewallApplication withBundleId(String bundleId)
this with just the bundleId 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.
“BundleId of the application.”
bundleId - new value of bundleId field (as defined in service metadata)this with just the bundleId field changedpublic Optional<Boolean> getAllowsIncomingConnections()
public MacOSFirewallApplication withAllowsIncomingConnections(Boolean allowsIncomingConnections)
this with just the allowsIncomingConnections 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.
“Whether or not incoming connections are allowed.”
allowsIncomingConnections - new value of allowsIncomingConnections field (as defined in service metadata)this with just the allowsIncomingConnections field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypepublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepublic static MacOSFirewallApplication.Builder builder()
Copyright © 2018–2020. All rights reserved.