Package odata.msgraph.client.complex
Class DeviceExchangeAccessStateSummary
- java.lang.Object
-
- odata.msgraph.client.complex.DeviceExchangeAccessStateSummary
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class DeviceExchangeAccessStateSummary extends Object implements com.github.davidmoten.odata.client.ODataType
“Device Exchange Access State summary”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeviceExchangeAccessStateSummary.Builder
-
Field Summary
Fields Modifier and Type Field Description protected IntegerallowedDeviceCountprotected IntegerblockedDeviceCountprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected StringodataTypeprotected IntegerquarantinedDeviceCountprotected IntegerunavailableDeviceCountprotected IntegerunknownDeviceCountprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedDeviceExchangeAccessStateSummary()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeviceExchangeAccessStateSummary.Builderbuilder()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.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()DeviceExchangeAccessStateSummarywithAllowedDeviceCount(Integer allowedDeviceCount)Returns an immutable copy ofthiswith just theallowedDeviceCountfield changed.DeviceExchangeAccessStateSummarywithBlockedDeviceCount(Integer blockedDeviceCount)Returns an immutable copy ofthiswith just theblockedDeviceCountfield changed.DeviceExchangeAccessStateSummarywithQuarantinedDeviceCount(Integer quarantinedDeviceCount)Returns an immutable copy ofthiswith just thequarantinedDeviceCountfield changed.DeviceExchangeAccessStateSummarywithUnavailableDeviceCount(Integer unavailableDeviceCount)Returns an immutable copy ofthiswith just theunavailableDeviceCountfield changed.DeviceExchangeAccessStateSummarywithUnknownDeviceCount(Integer unknownDeviceCount)Returns an immutable copy ofthiswith just theunknownDeviceCountfield changed.DeviceExchangeAccessStateSummarywithUnmappedField(String name, Object value)
-
-
-
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
-
allowedDeviceCount
protected Integer allowedDeviceCount
-
blockedDeviceCount
protected Integer blockedDeviceCount
-
quarantinedDeviceCount
protected Integer quarantinedDeviceCount
-
unavailableDeviceCount
protected Integer unavailableDeviceCount
-
unknownDeviceCount
protected Integer unknownDeviceCount
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getAllowedDeviceCount
public Optional<Integer> getAllowedDeviceCount()
“Total count of devices with Exchange Access State: Allowed.”- Returns:
- property allowedDeviceCount
-
withAllowedDeviceCount
public DeviceExchangeAccessStateSummary withAllowedDeviceCount(Integer allowedDeviceCount)
Returns an immutable copy ofthiswith just theallowedDeviceCountfield 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.“Total count of devices with Exchange Access State: Allowed.”
- Parameters:
allowedDeviceCount- new value ofallowedDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theallowedDeviceCountfield changed
-
getBlockedDeviceCount
public Optional<Integer> getBlockedDeviceCount()
“Total count of devices with Exchange Access State: Blocked.”- Returns:
- property blockedDeviceCount
-
withBlockedDeviceCount
public DeviceExchangeAccessStateSummary withBlockedDeviceCount(Integer blockedDeviceCount)
Returns an immutable copy ofthiswith just theblockedDeviceCountfield 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.“Total count of devices with Exchange Access State: Blocked.”
- Parameters:
blockedDeviceCount- new value ofblockedDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theblockedDeviceCountfield changed
-
getQuarantinedDeviceCount
public Optional<Integer> getQuarantinedDeviceCount()
“Total count of devices with Exchange Access State: Quarantined.”- Returns:
- property quarantinedDeviceCount
-
withQuarantinedDeviceCount
public DeviceExchangeAccessStateSummary withQuarantinedDeviceCount(Integer quarantinedDeviceCount)
Returns an immutable copy ofthiswith just thequarantinedDeviceCountfield 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.“Total count of devices with Exchange Access State: Quarantined.”
- Parameters:
quarantinedDeviceCount- new value ofquarantinedDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thequarantinedDeviceCountfield changed
-
getUnavailableDeviceCount
public Optional<Integer> getUnavailableDeviceCount()
“Total count of devices for which no Exchange Access State could be found.”- Returns:
- property unavailableDeviceCount
-
withUnavailableDeviceCount
public DeviceExchangeAccessStateSummary withUnavailableDeviceCount(Integer unavailableDeviceCount)
Returns an immutable copy ofthiswith just theunavailableDeviceCountfield 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.“Total count of devices for which no Exchange Access State could be found.”
- Parameters:
unavailableDeviceCount- new value ofunavailableDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theunavailableDeviceCountfield changed
-
getUnknownDeviceCount
public Optional<Integer> getUnknownDeviceCount()
“Total count of devices with Exchange Access State: Unknown.”- Returns:
- property unknownDeviceCount
-
withUnknownDeviceCount
public DeviceExchangeAccessStateSummary withUnknownDeviceCount(Integer unknownDeviceCount)
Returns an immutable copy ofthiswith just theunknownDeviceCountfield 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.“Total count of devices with Exchange Access State: Unknown.”
- Parameters:
unknownDeviceCount- new value ofunknownDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theunknownDeviceCountfield changed
-
withUnmappedField
public DeviceExchangeAccessStateSummary 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 DeviceExchangeAccessStateSummary.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
-
-