Package odata.msgraph.client.entity
Class DeviceConfigurationDeviceOverview
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.DeviceConfigurationDeviceOverview
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class DeviceConfigurationDeviceOverview extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeviceConfigurationDeviceOverview.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 protectedDeviceConfigurationDeviceOverview()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeviceConfigurationDeviceOverview.BuilderbuilderDeviceConfigurationDeviceOverview()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()DeviceConfigurationDeviceOverviewpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)DeviceConfigurationDeviceOverviewput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()DeviceConfigurationDeviceOverviewwithConfigurationVersion(Integer configurationVersion)Returns an immutable copy ofthiswith just theconfigurationVersionfield changed.DeviceConfigurationDeviceOverviewwithErrorCount(Integer errorCount)Returns an immutable copy ofthiswith just theerrorCountfield changed.DeviceConfigurationDeviceOverviewwithFailedCount(Integer failedCount)Returns an immutable copy ofthiswith just thefailedCountfield changed.DeviceConfigurationDeviceOverviewwithLastUpdateDateTime(OffsetDateTime lastUpdateDateTime)Returns an immutable copy ofthiswith just thelastUpdateDateTimefield changed.DeviceConfigurationDeviceOverviewwithNotApplicableCount(Integer notApplicableCount)Returns an immutable copy ofthiswith just thenotApplicableCountfield changed.DeviceConfigurationDeviceOverviewwithPendingCount(Integer pendingCount)Returns an immutable copy ofthiswith just thependingCountfield changed.DeviceConfigurationDeviceOverviewwithSuccessCount(Integer successCount)Returns an immutable copy ofthiswith just thesuccessCountfield changed.DeviceConfigurationDeviceOverviewwithUnmappedField(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
-
builderDeviceConfigurationDeviceOverview
public static DeviceConfigurationDeviceOverview.Builder builderDeviceConfigurationDeviceOverview()
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 DeviceConfigurationDeviceOverview 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 DeviceConfigurationDeviceOverview 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 DeviceConfigurationDeviceOverview 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 DeviceConfigurationDeviceOverview 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 DeviceConfigurationDeviceOverview 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 DeviceConfigurationDeviceOverview 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 DeviceConfigurationDeviceOverview 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 DeviceConfigurationDeviceOverview 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 DeviceConfigurationDeviceOverview patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public DeviceConfigurationDeviceOverview put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-