Class ComanagementEligibleDevicesSummary
- java.lang.Object
-
- odata.msgraph.client.beta.complex.ComanagementEligibleDevicesSummary
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class ComanagementEligibleDevicesSummary extends Object implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classComanagementEligibleDevicesSummary.Builder
-
Field Summary
Fields Modifier and Type Field Description protected IntegercomanagedCountprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected IntegereligibleButNotAzureAdJoinedCountprotected IntegereligibleCountprotected IntegerineligibleCountprotected IntegerneedsOsUpdateCountprotected StringodataTypeprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedComanagementEligibleDevicesSummary()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ComanagementEligibleDevicesSummary.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<Integer>getComanagedCount()“Count of devices already Co-Managed”Optional<Integer>getEligibleButNotAzureAdJoinedCount()“Count of devices eligible for Co-Management but not yet joined to Azure Active Directory”Optional<Integer>getEligibleCount()“Count of devices fully eligible for Co-Management”Optional<Integer>getIneligibleCount()“Count of devices ineligible for Co-Management”Optional<Integer>getNeedsOsUpdateCount()“Count of devices that will be eligible for Co-Management after an OS update”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()ComanagementEligibleDevicesSummarywithComanagedCount(Integer comanagedCount)Returns an immutable copy ofthiswith just thecomanagedCountfield changed.ComanagementEligibleDevicesSummarywithEligibleButNotAzureAdJoinedCount(Integer eligibleButNotAzureAdJoinedCount)Returns an immutable copy ofthiswith just theeligibleButNotAzureAdJoinedCountfield changed.ComanagementEligibleDevicesSummarywithEligibleCount(Integer eligibleCount)Returns an immutable copy ofthiswith just theeligibleCountfield changed.ComanagementEligibleDevicesSummarywithIneligibleCount(Integer ineligibleCount)Returns an immutable copy ofthiswith just theineligibleCountfield changed.ComanagementEligibleDevicesSummarywithNeedsOsUpdateCount(Integer needsOsUpdateCount)Returns an immutable copy ofthiswith just theneedsOsUpdateCountfield changed.ComanagementEligibleDevicesSummarywithUnmappedField(String name, String 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
-
comanagedCount
protected Integer comanagedCount
-
eligibleButNotAzureAdJoinedCount
protected Integer eligibleButNotAzureAdJoinedCount
-
eligibleCount
protected Integer eligibleCount
-
ineligibleCount
protected Integer ineligibleCount
-
needsOsUpdateCount
protected Integer needsOsUpdateCount
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getComanagedCount
public Optional<Integer> getComanagedCount()
“Count of devices already Co-Managed”- Returns:
- property comanagedCount
-
withComanagedCount
public ComanagementEligibleDevicesSummary withComanagedCount(Integer comanagedCount)
Returns an immutable copy ofthiswith just thecomanagedCountfield 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.“Count of devices already Co-Managed”
- Parameters:
comanagedCount- new value ofcomanagedCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecomanagedCountfield changed
-
getEligibleButNotAzureAdJoinedCount
public Optional<Integer> getEligibleButNotAzureAdJoinedCount()
“Count of devices eligible for Co-Management but not yet joined to Azure Active Directory”- Returns:
- property eligibleButNotAzureAdJoinedCount
-
withEligibleButNotAzureAdJoinedCount
public ComanagementEligibleDevicesSummary withEligibleButNotAzureAdJoinedCount(Integer eligibleButNotAzureAdJoinedCount)
Returns an immutable copy ofthiswith just theeligibleButNotAzureAdJoinedCountfield 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.“Count of devices eligible for Co-Management but not yet joined to Azure Active Directory”
- Parameters:
eligibleButNotAzureAdJoinedCount- new value ofeligibleButNotAzureAdJoinedCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theeligibleButNotAzureAdJoinedCountfield changed
-
getEligibleCount
public Optional<Integer> getEligibleCount()
“Count of devices fully eligible for Co-Management”- Returns:
- property eligibleCount
-
withEligibleCount
public ComanagementEligibleDevicesSummary withEligibleCount(Integer eligibleCount)
Returns an immutable copy ofthiswith just theeligibleCountfield 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.“Count of devices fully eligible for Co-Management”
- Parameters:
eligibleCount- new value ofeligibleCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theeligibleCountfield changed
-
getIneligibleCount
public Optional<Integer> getIneligibleCount()
“Count of devices ineligible for Co-Management”- Returns:
- property ineligibleCount
-
withIneligibleCount
public ComanagementEligibleDevicesSummary withIneligibleCount(Integer ineligibleCount)
Returns an immutable copy ofthiswith just theineligibleCountfield 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.“Count of devices ineligible for Co-Management”
- Parameters:
ineligibleCount- new value ofineligibleCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theineligibleCountfield changed
-
getNeedsOsUpdateCount
public Optional<Integer> getNeedsOsUpdateCount()
“Count of devices that will be eligible for Co-Management after an OS update”- Returns:
- property needsOsUpdateCount
-
withNeedsOsUpdateCount
public ComanagementEligibleDevicesSummary withNeedsOsUpdateCount(Integer needsOsUpdateCount)
Returns an immutable copy ofthiswith just theneedsOsUpdateCountfield 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.“Count of devices that will be eligible for Co-Management after an OS update”
- Parameters:
needsOsUpdateCount- new value ofneedsOsUpdateCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theneedsOsUpdateCountfield changed
-
withUnmappedField
public ComanagementEligibleDevicesSummary withUnmappedField(String name, String 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 ComanagementEligibleDevicesSummary.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
-
-