public class IosNetworkUsageRule extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
IosNetworkUsageRule.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
cellularDataBlocked |
protected Boolean |
cellularDataBlockWhenRoaming |
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected List<AppListItem> |
managedApps |
protected String |
managedAppsNextLink |
protected String |
odataType |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
IosNetworkUsageRule() |
| Modifier and Type | Method and Description |
|---|---|
static IosNetworkUsageRule.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<Boolean> |
getCellularDataBlocked()
“If set to true, corresponding managed apps will not be allowed to use cellular
data at any time.”
|
Optional<Boolean> |
getCellularDataBlockWhenRoaming()
“If set to true, corresponding managed apps will not be allowed to use cellular
data when roaming.”
|
com.github.davidmoten.odata.client.CollectionPage<AppListItem> |
getManagedApps()
“Information about the managed apps that this rule is going to apply to.
|
com.github.davidmoten.odata.client.CollectionPage<AppListItem> |
getManagedApps(com.github.davidmoten.odata.client.HttpRequestOptions options)
“Information about the managed apps that this rule is going to apply to.
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
IosNetworkUsageRule |
withCellularDataBlocked(Boolean cellularDataBlocked)
Returns an immutable copy of
this with just the cellularDataBlocked field changed. |
IosNetworkUsageRule |
withCellularDataBlockWhenRoaming(Boolean cellularDataBlockWhenRoaming)
Returns an immutable copy of
this with just the cellularDataBlockWhenRoaming field changed. |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected List<AppListItem> managedApps
protected String managedAppsNextLink
protected Boolean cellularDataBlockWhenRoaming
protected Boolean cellularDataBlocked
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic com.github.davidmoten.odata.client.CollectionPage<AppListItem> getManagedApps()
public com.github.davidmoten.odata.client.CollectionPage<AppListItem> getManagedApps(com.github.davidmoten.odata.client.HttpRequestOptions options)
public Optional<Boolean> getCellularDataBlockWhenRoaming()
public IosNetworkUsageRule withCellularDataBlockWhenRoaming(Boolean cellularDataBlockWhenRoaming)
this with just the cellularDataBlockWhenRoaming 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.
“If set to true, corresponding managed apps will not be allowed to use cellular data when roaming.”
cellularDataBlockWhenRoaming - new value of cellularDataBlockWhenRoaming field (as defined in service metadata)this with just the cellularDataBlockWhenRoaming field changedpublic Optional<Boolean> getCellularDataBlocked()
public IosNetworkUsageRule withCellularDataBlocked(Boolean cellularDataBlocked)
this with just the cellularDataBlocked 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.
“If set to true, corresponding managed apps will not be allowed to use cellular data at any time.”
cellularDataBlocked - new value of cellularDataBlocked field (as defined in service metadata)this with just the cellularDataBlocked 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 IosNetworkUsageRule.Builder builder()
Copyright © 2018–2020. All rights reserved.