Package odata.msgraph.client.entity
Class ManagedDeviceMobileAppConfigurationDeviceSummary
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.ManagedDeviceMobileAppConfigurationDeviceSummary
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class ManagedDeviceMobileAppConfigurationDeviceSummary extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“Contains properties, inherited properties and actions for an MDM mobile app configuration device status summary.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classManagedDeviceMobileAppConfigurationDeviceSummary.Builder
-
Field Summary
Fields Modifier and Type Field Description protected IntegerconfigurationVersionprotected IntegererrorCountprotected IntegerfailedCountprotected OffsetDateTimelastUpdateDateTimeprotected IntegernotApplicableCountprotected IntegerpendingCountprotected IntegersuccessCount-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedManagedDeviceMobileAppConfigurationDeviceSummary()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ManagedDeviceMobileAppConfigurationDeviceSummary.BuilderbuilderManagedDeviceMobileAppConfigurationDeviceSummary()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<Integer>getConfigurationVersion()“Version of the policy for that overview”Optional<Integer>getErrorCount()“Number of error devices”Optional<Integer>getFailedCount()“Number of failed devices”Optional<OffsetDateTime>getLastUpdateDateTime()“Last update time”Optional<Integer>getNotApplicableCount()“Number of not applicable devices”Optional<Integer>getPendingCount()“Number of pending devices”Optional<Integer>getSuccessCount()“Number of succeeded devices”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()ManagedDeviceMobileAppConfigurationDeviceSummarypatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)ManagedDeviceMobileAppConfigurationDeviceSummaryput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()ManagedDeviceMobileAppConfigurationDeviceSummarywithConfigurationVersion(Integer configurationVersion)Returns an immutable copy ofthiswith just theconfigurationVersionfield changed.ManagedDeviceMobileAppConfigurationDeviceSummarywithErrorCount(Integer errorCount)Returns an immutable copy ofthiswith just theerrorCountfield changed.ManagedDeviceMobileAppConfigurationDeviceSummarywithFailedCount(Integer failedCount)Returns an immutable copy ofthiswith just thefailedCountfield changed.ManagedDeviceMobileAppConfigurationDeviceSummarywithLastUpdateDateTime(OffsetDateTime lastUpdateDateTime)Returns an immutable copy ofthiswith just thelastUpdateDateTimefield changed.ManagedDeviceMobileAppConfigurationDeviceSummarywithNotApplicableCount(Integer notApplicableCount)Returns an immutable copy ofthiswith just thenotApplicableCountfield changed.ManagedDeviceMobileAppConfigurationDeviceSummarywithPendingCount(Integer pendingCount)Returns an immutable copy ofthiswith just thependingCountfield changed.ManagedDeviceMobileAppConfigurationDeviceSummarywithSuccessCount(Integer successCount)Returns an immutable copy ofthiswith just thesuccessCountfield changed.ManagedDeviceMobileAppConfigurationDeviceSummarywithUnmappedField(String name, Object value)
-
-
-
Field Detail
-
configurationVersion
protected Integer configurationVersion
-
errorCount
protected Integer errorCount
-
failedCount
protected Integer failedCount
-
lastUpdateDateTime
protected OffsetDateTime lastUpdateDateTime
-
notApplicableCount
protected Integer notApplicableCount
-
pendingCount
protected Integer pendingCount
-
successCount
protected Integer successCount
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderManagedDeviceMobileAppConfigurationDeviceSummary
public static ManagedDeviceMobileAppConfigurationDeviceSummary.Builder builderManagedDeviceMobileAppConfigurationDeviceSummary()
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
-
getConfigurationVersion
public Optional<Integer> getConfigurationVersion()
“Version of the policy for that overview”- Returns:
- property configurationVersion
-
withConfigurationVersion
public ManagedDeviceMobileAppConfigurationDeviceSummary withConfigurationVersion(Integer configurationVersion)
Returns an immutable copy ofthiswith just theconfigurationVersionfield 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.“Version of the policy for that overview”
- Parameters:
configurationVersion- new value ofconfigurationVersionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theconfigurationVersionfield changed
-
getErrorCount
public Optional<Integer> getErrorCount()
“Number of error devices”- Returns:
- property errorCount
-
withErrorCount
public ManagedDeviceMobileAppConfigurationDeviceSummary withErrorCount(Integer errorCount)
Returns an immutable copy ofthiswith just theerrorCountfield 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.“Number of error devices”
- Parameters:
errorCount- new value oferrorCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theerrorCountfield changed
-
getFailedCount
public Optional<Integer> getFailedCount()
“Number of failed devices”- Returns:
- property failedCount
-
withFailedCount
public ManagedDeviceMobileAppConfigurationDeviceSummary withFailedCount(Integer failedCount)
Returns an immutable copy ofthiswith just thefailedCountfield 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.“Number of failed devices”
- Parameters:
failedCount- new value offailedCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thefailedCountfield changed
-
getLastUpdateDateTime
public Optional<OffsetDateTime> getLastUpdateDateTime()
“Last update time”- Returns:
- property lastUpdateDateTime
-
withLastUpdateDateTime
public ManagedDeviceMobileAppConfigurationDeviceSummary withLastUpdateDateTime(OffsetDateTime lastUpdateDateTime)
Returns an immutable copy ofthiswith just thelastUpdateDateTimefield 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.“Last update time”
- Parameters:
lastUpdateDateTime- new value oflastUpdateDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelastUpdateDateTimefield changed
-
getNotApplicableCount
public Optional<Integer> getNotApplicableCount()
“Number of not applicable devices”- Returns:
- property notApplicableCount
-
withNotApplicableCount
public ManagedDeviceMobileAppConfigurationDeviceSummary withNotApplicableCount(Integer notApplicableCount)
Returns an immutable copy ofthiswith just thenotApplicableCountfield 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.“Number of not applicable devices”
- Parameters:
notApplicableCount- new value ofnotApplicableCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thenotApplicableCountfield changed
-
getPendingCount
public Optional<Integer> getPendingCount()
“Number of pending devices”- Returns:
- property pendingCount
-
withPendingCount
public ManagedDeviceMobileAppConfigurationDeviceSummary withPendingCount(Integer pendingCount)
Returns an immutable copy ofthiswith just thependingCountfield 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.“Number of pending devices”
- Parameters:
pendingCount- new value ofpendingCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thependingCountfield changed
-
getSuccessCount
public Optional<Integer> getSuccessCount()
“Number of succeeded devices”- Returns:
- property successCount
-
withSuccessCount
public ManagedDeviceMobileAppConfigurationDeviceSummary withSuccessCount(Integer successCount)
Returns an immutable copy ofthiswith just thesuccessCountfield 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.“Number of succeeded devices”
- Parameters:
successCount- new value ofsuccessCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesuccessCountfield changed
-
withUnmappedField
public ManagedDeviceMobileAppConfigurationDeviceSummary withUnmappedField(String name, Object 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 ManagedDeviceMobileAppConfigurationDeviceSummary patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public ManagedDeviceMobileAppConfigurationDeviceSummary put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-