Package odata.msgraph.client.entity
Class ManagedDeviceOverview
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.ManagedDeviceOverview
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class ManagedDeviceOverview extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“Summary data for managed devices”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classManagedDeviceOverview.Builder
-
Field Summary
Fields Modifier and Type Field Description protected DeviceExchangeAccessStateSummarydeviceExchangeAccessStateSummaryprotected DeviceOperatingSystemSummarydeviceOperatingSystemSummaryprotected IntegerdualEnrolledDeviceCountprotected IntegerenrolledDeviceCountprotected IntegermdmEnrolledCount-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedManagedDeviceOverview()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ManagedDeviceOverview.BuilderbuilderManagedDeviceOverview()Returns a builder which is used to create a new instance of this class (given that this class is immutable).com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<DeviceExchangeAccessStateSummary>getDeviceExchangeAccessStateSummary()“Distribution of Exchange Access State in Intune”Optional<DeviceOperatingSystemSummary>getDeviceOperatingSystemSummary()“Device operating system summary.”Optional<Integer>getDualEnrolledDeviceCount()“The number of devices enrolled in both MDM and EAS”Optional<Integer>getEnrolledDeviceCount()“Total enrolled device count.Optional<Integer>getMdmEnrolledCount()“The number of devices enrolled in MDM”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()ManagedDeviceOverviewpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)ManagedDeviceOverviewput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()ManagedDeviceOverviewwithDeviceExchangeAccessStateSummary(DeviceExchangeAccessStateSummary deviceExchangeAccessStateSummary)Returns an immutable copy ofthiswith just thedeviceExchangeAccessStateSummaryfield changed.ManagedDeviceOverviewwithDeviceOperatingSystemSummary(DeviceOperatingSystemSummary deviceOperatingSystemSummary)Returns an immutable copy ofthiswith just thedeviceOperatingSystemSummaryfield changed.ManagedDeviceOverviewwithDualEnrolledDeviceCount(Integer dualEnrolledDeviceCount)Returns an immutable copy ofthiswith just thedualEnrolledDeviceCountfield changed.ManagedDeviceOverviewwithEnrolledDeviceCount(Integer enrolledDeviceCount)Returns an immutable copy ofthiswith just theenrolledDeviceCountfield changed.ManagedDeviceOverviewwithMdmEnrolledCount(Integer mdmEnrolledCount)Returns an immutable copy ofthiswith just themdmEnrolledCountfield changed.ManagedDeviceOverviewwithUnmappedField(String name, String value)
-
-
-
Field Detail
-
deviceExchangeAccessStateSummary
protected DeviceExchangeAccessStateSummary deviceExchangeAccessStateSummary
-
deviceOperatingSystemSummary
protected DeviceOperatingSystemSummary deviceOperatingSystemSummary
-
dualEnrolledDeviceCount
protected Integer dualEnrolledDeviceCount
-
enrolledDeviceCount
protected Integer enrolledDeviceCount
-
mdmEnrolledCount
protected Integer mdmEnrolledCount
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderManagedDeviceOverview
public static ManagedDeviceOverview.Builder builderManagedDeviceOverview()
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
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
getDeviceExchangeAccessStateSummary
public Optional<DeviceExchangeAccessStateSummary> getDeviceExchangeAccessStateSummary()
“Distribution of Exchange Access State in Intune”- Returns:
- property deviceExchangeAccessStateSummary
-
withDeviceExchangeAccessStateSummary
public ManagedDeviceOverview withDeviceExchangeAccessStateSummary(DeviceExchangeAccessStateSummary deviceExchangeAccessStateSummary)
Returns an immutable copy ofthiswith just thedeviceExchangeAccessStateSummaryfield 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.“Distribution of Exchange Access State in Intune”
- Parameters:
deviceExchangeAccessStateSummary- new value ofdeviceExchangeAccessStateSummaryfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceExchangeAccessStateSummaryfield changed
-
getDeviceOperatingSystemSummary
public Optional<DeviceOperatingSystemSummary> getDeviceOperatingSystemSummary()
“Device operating system summary.”- Returns:
- property deviceOperatingSystemSummary
-
withDeviceOperatingSystemSummary
public ManagedDeviceOverview withDeviceOperatingSystemSummary(DeviceOperatingSystemSummary deviceOperatingSystemSummary)
Returns an immutable copy ofthiswith just thedeviceOperatingSystemSummaryfield 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.“Device operating system summary.”
- Parameters:
deviceOperatingSystemSummary- new value ofdeviceOperatingSystemSummaryfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceOperatingSystemSummaryfield changed
-
getDualEnrolledDeviceCount
public Optional<Integer> getDualEnrolledDeviceCount()
“The number of devices enrolled in both MDM and EAS”- Returns:
- property dualEnrolledDeviceCount
-
withDualEnrolledDeviceCount
public ManagedDeviceOverview withDualEnrolledDeviceCount(Integer dualEnrolledDeviceCount)
Returns an immutable copy ofthiswith just thedualEnrolledDeviceCountfield 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.“The number of devices enrolled in both MDM and EAS”
- Parameters:
dualEnrolledDeviceCount- new value ofdualEnrolledDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedualEnrolledDeviceCountfield changed
-
getEnrolledDeviceCount
public Optional<Integer> getEnrolledDeviceCount()
“Total enrolled device count. Does not include PC devices managed via Intune PC Agent”- Returns:
- property enrolledDeviceCount
-
withEnrolledDeviceCount
public ManagedDeviceOverview withEnrolledDeviceCount(Integer enrolledDeviceCount)
Returns an immutable copy ofthiswith just theenrolledDeviceCountfield 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 enrolled device count. Does not include PC devices managed via Intune PC Agent”
- Parameters:
enrolledDeviceCount- new value ofenrolledDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theenrolledDeviceCountfield changed
-
getMdmEnrolledCount
public Optional<Integer> getMdmEnrolledCount()
“The number of devices enrolled in MDM”- Returns:
- property mdmEnrolledCount
-
withMdmEnrolledCount
public ManagedDeviceOverview withMdmEnrolledCount(Integer mdmEnrolledCount)
Returns an immutable copy ofthiswith just themdmEnrolledCountfield 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.“The number of devices enrolled in MDM”
- Parameters:
mdmEnrolledCount- new value ofmdmEnrolledCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themdmEnrolledCountfield changed
-
withUnmappedField
public ManagedDeviceOverview withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public ManagedDeviceOverview patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public ManagedDeviceOverview put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-