Package odata.msgraph.client.entity
Class SoftwareUpdateStatusSummary
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.SoftwareUpdateStatusSummary
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class SoftwareUpdateStatusSummary extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSoftwareUpdateStatusSummary.Builder
-
Field Summary
Fields Modifier and Type Field Description protected IntegercompliantDeviceCountprotected IntegercompliantUserCountprotected IntegerconflictDeviceCountprotected IntegerconflictUserCountprotected StringdisplayNameprotected IntegererrorDeviceCountprotected IntegererrorUserCountprotected IntegernonCompliantDeviceCountprotected IntegernonCompliantUserCountprotected IntegernotApplicableDeviceCountprotected IntegernotApplicableUserCountprotected IntegerremediatedDeviceCountprotected IntegerremediatedUserCountprotected IntegerunknownDeviceCountprotected IntegerunknownUserCount-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSoftwareUpdateStatusSummary()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SoftwareUpdateStatusSummary.BuilderbuilderSoftwareUpdateStatusSummary()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>getCompliantDeviceCount()“Number of compliant devices.”Optional<Integer>getCompliantUserCount()“Number of compliant users.”Optional<Integer>getConflictDeviceCount()“Number of conflict devices.”Optional<Integer>getConflictUserCount()“Number of conflict users.”Optional<String>getDisplayName()“The name of the policy.”Optional<Integer>getErrorDeviceCount()“Number of devices had error.”Optional<Integer>getErrorUserCount()“Number of users had error.”Optional<Integer>getNonCompliantDeviceCount()“Number of non compliant devices.”Optional<Integer>getNonCompliantUserCount()“Number of non compliant users.”Optional<Integer>getNotApplicableDeviceCount()“Number of not applicable devices.”Optional<Integer>getNotApplicableUserCount()“Number of not applicable users.”Optional<Integer>getRemediatedDeviceCount()“Number of remediated devices.”Optional<Integer>getRemediatedUserCount()“Number of remediated users.”Optional<Integer>getUnknownDeviceCount()“Number of unknown devices.”Optional<Integer>getUnknownUserCount()“Number of unknown users.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()SoftwareUpdateStatusSummarypatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)SoftwareUpdateStatusSummaryput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()SoftwareUpdateStatusSummarywithCompliantDeviceCount(Integer compliantDeviceCount)Returns an immutable copy ofthiswith just thecompliantDeviceCountfield changed.SoftwareUpdateStatusSummarywithCompliantUserCount(Integer compliantUserCount)Returns an immutable copy ofthiswith just thecompliantUserCountfield changed.SoftwareUpdateStatusSummarywithConflictDeviceCount(Integer conflictDeviceCount)Returns an immutable copy ofthiswith just theconflictDeviceCountfield changed.SoftwareUpdateStatusSummarywithConflictUserCount(Integer conflictUserCount)Returns an immutable copy ofthiswith just theconflictUserCountfield changed.SoftwareUpdateStatusSummarywithDisplayName(String displayName)Returns an immutable copy ofthiswith just thedisplayNamefield changed.SoftwareUpdateStatusSummarywithErrorDeviceCount(Integer errorDeviceCount)Returns an immutable copy ofthiswith just theerrorDeviceCountfield changed.SoftwareUpdateStatusSummarywithErrorUserCount(Integer errorUserCount)Returns an immutable copy ofthiswith just theerrorUserCountfield changed.SoftwareUpdateStatusSummarywithNonCompliantDeviceCount(Integer nonCompliantDeviceCount)Returns an immutable copy ofthiswith just thenonCompliantDeviceCountfield changed.SoftwareUpdateStatusSummarywithNonCompliantUserCount(Integer nonCompliantUserCount)Returns an immutable copy ofthiswith just thenonCompliantUserCountfield changed.SoftwareUpdateStatusSummarywithNotApplicableDeviceCount(Integer notApplicableDeviceCount)Returns an immutable copy ofthiswith just thenotApplicableDeviceCountfield changed.SoftwareUpdateStatusSummarywithNotApplicableUserCount(Integer notApplicableUserCount)Returns an immutable copy ofthiswith just thenotApplicableUserCountfield changed.SoftwareUpdateStatusSummarywithRemediatedDeviceCount(Integer remediatedDeviceCount)Returns an immutable copy ofthiswith just theremediatedDeviceCountfield changed.SoftwareUpdateStatusSummarywithRemediatedUserCount(Integer remediatedUserCount)Returns an immutable copy ofthiswith just theremediatedUserCountfield changed.SoftwareUpdateStatusSummarywithUnknownDeviceCount(Integer unknownDeviceCount)Returns an immutable copy ofthiswith just theunknownDeviceCountfield changed.SoftwareUpdateStatusSummarywithUnknownUserCount(Integer unknownUserCount)Returns an immutable copy ofthiswith just theunknownUserCountfield changed.SoftwareUpdateStatusSummarywithUnmappedField(String name, Object value)
-
-
-
Field Detail
-
compliantDeviceCount
protected Integer compliantDeviceCount
-
compliantUserCount
protected Integer compliantUserCount
-
conflictDeviceCount
protected Integer conflictDeviceCount
-
conflictUserCount
protected Integer conflictUserCount
-
displayName
protected String displayName
-
errorDeviceCount
protected Integer errorDeviceCount
-
errorUserCount
protected Integer errorUserCount
-
nonCompliantDeviceCount
protected Integer nonCompliantDeviceCount
-
nonCompliantUserCount
protected Integer nonCompliantUserCount
-
notApplicableDeviceCount
protected Integer notApplicableDeviceCount
-
notApplicableUserCount
protected Integer notApplicableUserCount
-
remediatedDeviceCount
protected Integer remediatedDeviceCount
-
remediatedUserCount
protected Integer remediatedUserCount
-
unknownDeviceCount
protected Integer unknownDeviceCount
-
unknownUserCount
protected Integer unknownUserCount
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderSoftwareUpdateStatusSummary
public static SoftwareUpdateStatusSummary.Builder builderSoftwareUpdateStatusSummary()
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
-
getCompliantDeviceCount
public Optional<Integer> getCompliantDeviceCount()
“Number of compliant devices.”- Returns:
- property compliantDeviceCount
-
withCompliantDeviceCount
public SoftwareUpdateStatusSummary withCompliantDeviceCount(Integer compliantDeviceCount)
Returns an immutable copy ofthiswith just thecompliantDeviceCountfield 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 compliant devices.”
- Parameters:
compliantDeviceCount- new value ofcompliantDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecompliantDeviceCountfield changed
-
getCompliantUserCount
public Optional<Integer> getCompliantUserCount()
“Number of compliant users.”- Returns:
- property compliantUserCount
-
withCompliantUserCount
public SoftwareUpdateStatusSummary withCompliantUserCount(Integer compliantUserCount)
Returns an immutable copy ofthiswith just thecompliantUserCountfield 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 compliant users.”
- Parameters:
compliantUserCount- new value ofcompliantUserCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecompliantUserCountfield changed
-
getConflictDeviceCount
public Optional<Integer> getConflictDeviceCount()
“Number of conflict devices.”- Returns:
- property conflictDeviceCount
-
withConflictDeviceCount
public SoftwareUpdateStatusSummary withConflictDeviceCount(Integer conflictDeviceCount)
Returns an immutable copy ofthiswith just theconflictDeviceCountfield 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 conflict devices.”
- Parameters:
conflictDeviceCount- new value ofconflictDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theconflictDeviceCountfield changed
-
getConflictUserCount
public Optional<Integer> getConflictUserCount()
“Number of conflict users.”- Returns:
- property conflictUserCount
-
withConflictUserCount
public SoftwareUpdateStatusSummary withConflictUserCount(Integer conflictUserCount)
Returns an immutable copy ofthiswith just theconflictUserCountfield 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 conflict users.”
- Parameters:
conflictUserCount- new value ofconflictUserCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theconflictUserCountfield changed
-
getDisplayName
public Optional<String> getDisplayName()
“The name of the policy.”- Returns:
- property displayName
-
withDisplayName
public SoftwareUpdateStatusSummary withDisplayName(String displayName)
Returns an immutable copy ofthiswith just thedisplayNamefield 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 name of the policy.”
- Parameters:
displayName- new value ofdisplayNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedisplayNamefield changed
-
getErrorDeviceCount
public Optional<Integer> getErrorDeviceCount()
“Number of devices had error.”- Returns:
- property errorDeviceCount
-
withErrorDeviceCount
public SoftwareUpdateStatusSummary withErrorDeviceCount(Integer errorDeviceCount)
Returns an immutable copy ofthiswith just theerrorDeviceCountfield 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 devices had error.”
- Parameters:
errorDeviceCount- new value oferrorDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theerrorDeviceCountfield changed
-
getErrorUserCount
public Optional<Integer> getErrorUserCount()
“Number of users had error.”- Returns:
- property errorUserCount
-
withErrorUserCount
public SoftwareUpdateStatusSummary withErrorUserCount(Integer errorUserCount)
Returns an immutable copy ofthiswith just theerrorUserCountfield 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 users had error.”
- Parameters:
errorUserCount- new value oferrorUserCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theerrorUserCountfield changed
-
getNonCompliantDeviceCount
public Optional<Integer> getNonCompliantDeviceCount()
“Number of non compliant devices.”- Returns:
- property nonCompliantDeviceCount
-
withNonCompliantDeviceCount
public SoftwareUpdateStatusSummary withNonCompliantDeviceCount(Integer nonCompliantDeviceCount)
Returns an immutable copy ofthiswith just thenonCompliantDeviceCountfield 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 non compliant devices.”
- Parameters:
nonCompliantDeviceCount- new value ofnonCompliantDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thenonCompliantDeviceCountfield changed
-
getNonCompliantUserCount
public Optional<Integer> getNonCompliantUserCount()
“Number of non compliant users.”- Returns:
- property nonCompliantUserCount
-
withNonCompliantUserCount
public SoftwareUpdateStatusSummary withNonCompliantUserCount(Integer nonCompliantUserCount)
Returns an immutable copy ofthiswith just thenonCompliantUserCountfield 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 non compliant users.”
- Parameters:
nonCompliantUserCount- new value ofnonCompliantUserCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thenonCompliantUserCountfield changed
-
getNotApplicableDeviceCount
public Optional<Integer> getNotApplicableDeviceCount()
“Number of not applicable devices.”- Returns:
- property notApplicableDeviceCount
-
withNotApplicableDeviceCount
public SoftwareUpdateStatusSummary withNotApplicableDeviceCount(Integer notApplicableDeviceCount)
Returns an immutable copy ofthiswith just thenotApplicableDeviceCountfield 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:
notApplicableDeviceCount- new value ofnotApplicableDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thenotApplicableDeviceCountfield changed
-
getNotApplicableUserCount
public Optional<Integer> getNotApplicableUserCount()
“Number of not applicable users.”- Returns:
- property notApplicableUserCount
-
withNotApplicableUserCount
public SoftwareUpdateStatusSummary withNotApplicableUserCount(Integer notApplicableUserCount)
Returns an immutable copy ofthiswith just thenotApplicableUserCountfield 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 users.”
- Parameters:
notApplicableUserCount- new value ofnotApplicableUserCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thenotApplicableUserCountfield changed
-
getRemediatedDeviceCount
public Optional<Integer> getRemediatedDeviceCount()
“Number of remediated devices.”- Returns:
- property remediatedDeviceCount
-
withRemediatedDeviceCount
public SoftwareUpdateStatusSummary withRemediatedDeviceCount(Integer remediatedDeviceCount)
Returns an immutable copy ofthiswith just theremediatedDeviceCountfield 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 remediated devices.”
- Parameters:
remediatedDeviceCount- new value ofremediatedDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theremediatedDeviceCountfield changed
-
getRemediatedUserCount
public Optional<Integer> getRemediatedUserCount()
“Number of remediated users.”- Returns:
- property remediatedUserCount
-
withRemediatedUserCount
public SoftwareUpdateStatusSummary withRemediatedUserCount(Integer remediatedUserCount)
Returns an immutable copy ofthiswith just theremediatedUserCountfield 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 remediated users.”
- Parameters:
remediatedUserCount- new value ofremediatedUserCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theremediatedUserCountfield changed
-
getUnknownDeviceCount
public Optional<Integer> getUnknownDeviceCount()
“Number of unknown devices.”- Returns:
- property unknownDeviceCount
-
withUnknownDeviceCount
public SoftwareUpdateStatusSummary 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.“Number of unknown devices.”
- Parameters:
unknownDeviceCount- new value ofunknownDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theunknownDeviceCountfield changed
-
getUnknownUserCount
public Optional<Integer> getUnknownUserCount()
“Number of unknown users.”- Returns:
- property unknownUserCount
-
withUnknownUserCount
public SoftwareUpdateStatusSummary withUnknownUserCount(Integer unknownUserCount)
Returns an immutable copy ofthiswith just theunknownUserCountfield 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 unknown users.”
- Parameters:
unknownUserCount- new value ofunknownUserCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theunknownUserCountfield changed
-
withUnmappedField
public SoftwareUpdateStatusSummary 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 SoftwareUpdateStatusSummary patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public SoftwareUpdateStatusSummary put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-