public class DeviceExchangeAccessStateSummary extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
DeviceExchangeAccessStateSummary.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Integer |
allowedDeviceCount |
protected Integer |
blockedDeviceCount |
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected String |
odataType |
protected Integer |
quarantinedDeviceCount |
protected Integer |
unavailableDeviceCount |
protected Integer |
unknownDeviceCount |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
DeviceExchangeAccessStateSummary() |
| Modifier and Type | Method and Description |
|---|---|
static DeviceExchangeAccessStateSummary.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<Integer> |
getAllowedDeviceCount()
“Total count of devices with Exchange Access State: Allowed.”
|
Optional<Integer> |
getBlockedDeviceCount()
“Total count of devices with Exchange Access State: Blocked.”
|
Optional<Integer> |
getQuarantinedDeviceCount()
“Total count of devices with Exchange Access State: Quarantined.”
|
Optional<Integer> |
getUnavailableDeviceCount()
“Total count of devices for which no Exchange Access State could be found.”
|
Optional<Integer> |
getUnknownDeviceCount()
“Total count of devices with Exchange Access State: Unknown.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
DeviceExchangeAccessStateSummary |
withAllowedDeviceCount(Integer allowedDeviceCount)
Returns an immutable copy of
this with just the allowedDeviceCount field changed. |
DeviceExchangeAccessStateSummary |
withBlockedDeviceCount(Integer blockedDeviceCount)
Returns an immutable copy of
this with just the blockedDeviceCount field changed. |
DeviceExchangeAccessStateSummary |
withQuarantinedDeviceCount(Integer quarantinedDeviceCount)
Returns an immutable copy of
this with just the quarantinedDeviceCount field changed. |
DeviceExchangeAccessStateSummary |
withUnavailableDeviceCount(Integer unavailableDeviceCount)
Returns an immutable copy of
this with just the unavailableDeviceCount field changed. |
DeviceExchangeAccessStateSummary |
withUnknownDeviceCount(Integer unknownDeviceCount)
Returns an immutable copy of
this with just the unknownDeviceCount field changed. |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected Integer allowedDeviceCount
protected Integer blockedDeviceCount
protected Integer quarantinedDeviceCount
protected Integer unknownDeviceCount
protected Integer unavailableDeviceCount
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic Optional<Integer> getAllowedDeviceCount()
public DeviceExchangeAccessStateSummary withAllowedDeviceCount(Integer allowedDeviceCount)
this with just the allowedDeviceCount 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.
“Total count of devices with Exchange Access State: Allowed.”
allowedDeviceCount - new value of allowedDeviceCount field (as defined in service metadata)this with just the allowedDeviceCount field changedpublic Optional<Integer> getBlockedDeviceCount()
public DeviceExchangeAccessStateSummary withBlockedDeviceCount(Integer blockedDeviceCount)
this with just the blockedDeviceCount 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.
“Total count of devices with Exchange Access State: Blocked.”
blockedDeviceCount - new value of blockedDeviceCount field (as defined in service metadata)this with just the blockedDeviceCount field changedpublic Optional<Integer> getQuarantinedDeviceCount()
public DeviceExchangeAccessStateSummary withQuarantinedDeviceCount(Integer quarantinedDeviceCount)
this with just the quarantinedDeviceCount 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.
“Total count of devices with Exchange Access State: Quarantined.”
quarantinedDeviceCount - new value of quarantinedDeviceCount field (as defined in service metadata)this with just the quarantinedDeviceCount field changedpublic Optional<Integer> getUnknownDeviceCount()
public DeviceExchangeAccessStateSummary withUnknownDeviceCount(Integer unknownDeviceCount)
this with just the unknownDeviceCount 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.
“Total count of devices with Exchange Access State: Unknown.”
unknownDeviceCount - new value of unknownDeviceCount field (as defined in service metadata)this with just the unknownDeviceCount field changedpublic Optional<Integer> getUnavailableDeviceCount()
public DeviceExchangeAccessStateSummary withUnavailableDeviceCount(Integer unavailableDeviceCount)
this with just the unavailableDeviceCount 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.
“Total count of devices for which no Exchange Access State could be found.”
unavailableDeviceCount - new value of unavailableDeviceCount field (as defined in service metadata)this with just the unavailableDeviceCount 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 DeviceExchangeAccessStateSummary.Builder builder()
Copyright © 2018–2020. All rights reserved.