Package odata.msgraph.client.entity
Class ManagedDeviceMobileAppConfigurationUserStatus
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.ManagedDeviceMobileAppConfigurationUserStatus
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class ManagedDeviceMobileAppConfigurationUserStatus extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“Contains properties, inherited properties and actions for an MDM mobile app configuration status for a user.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classManagedDeviceMobileAppConfigurationUserStatus.Builder
-
Field Summary
Fields Modifier and Type Field Description protected IntegerdevicesCountprotected OffsetDateTimelastReportedDateTimeprotected ComplianceStatusstatusprotected StringuserDisplayNameprotected StringuserPrincipalName-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedManagedDeviceMobileAppConfigurationUserStatus()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ManagedDeviceMobileAppConfigurationUserStatus.BuilderbuilderManagedDeviceMobileAppConfigurationUserStatus()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>getDevicesCount()“Devices count for that user.”Optional<OffsetDateTime>getLastReportedDateTime()“Last modified date time of the policy report.”Optional<ComplianceStatus>getStatus()“Compliance status of the policy report.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<String>getUserDisplayName()“User name of the DevicePolicyStatus.”Optional<String>getUserPrincipalName()“UserPrincipalName.”StringodataTypeName()ManagedDeviceMobileAppConfigurationUserStatuspatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)ManagedDeviceMobileAppConfigurationUserStatusput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()ManagedDeviceMobileAppConfigurationUserStatuswithDevicesCount(Integer devicesCount)Returns an immutable copy ofthiswith just thedevicesCountfield changed.ManagedDeviceMobileAppConfigurationUserStatuswithLastReportedDateTime(OffsetDateTime lastReportedDateTime)Returns an immutable copy ofthiswith just thelastReportedDateTimefield changed.ManagedDeviceMobileAppConfigurationUserStatuswithStatus(ComplianceStatus status)Returns an immutable copy ofthiswith just thestatusfield changed.ManagedDeviceMobileAppConfigurationUserStatuswithUnmappedField(String name, Object value)ManagedDeviceMobileAppConfigurationUserStatuswithUserDisplayName(String userDisplayName)Returns an immutable copy ofthiswith just theuserDisplayNamefield changed.ManagedDeviceMobileAppConfigurationUserStatuswithUserPrincipalName(String userPrincipalName)Returns an immutable copy ofthiswith just theuserPrincipalNamefield changed.
-
-
-
Field Detail
-
devicesCount
protected Integer devicesCount
-
lastReportedDateTime
protected OffsetDateTime lastReportedDateTime
-
status
protected ComplianceStatus status
-
userDisplayName
protected String userDisplayName
-
userPrincipalName
protected String userPrincipalName
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderManagedDeviceMobileAppConfigurationUserStatus
public static ManagedDeviceMobileAppConfigurationUserStatus.Builder builderManagedDeviceMobileAppConfigurationUserStatus()
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
-
getDevicesCount
public Optional<Integer> getDevicesCount()
“Devices count for that user.”- Returns:
- property devicesCount
-
withDevicesCount
public ManagedDeviceMobileAppConfigurationUserStatus withDevicesCount(Integer devicesCount)
Returns an immutable copy ofthiswith just thedevicesCountfield 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.“Devices count for that user.”
- Parameters:
devicesCount- new value ofdevicesCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedevicesCountfield changed
-
getLastReportedDateTime
public Optional<OffsetDateTime> getLastReportedDateTime()
“Last modified date time of the policy report.”- Returns:
- property lastReportedDateTime
-
withLastReportedDateTime
public ManagedDeviceMobileAppConfigurationUserStatus withLastReportedDateTime(OffsetDateTime lastReportedDateTime)
Returns an immutable copy ofthiswith just thelastReportedDateTimefield 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 modified date time of the policy report.”
- Parameters:
lastReportedDateTime- new value oflastReportedDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelastReportedDateTimefield changed
-
getStatus
public Optional<ComplianceStatus> getStatus()
“Compliance status of the policy report.”- Returns:
- property status
-
withStatus
public ManagedDeviceMobileAppConfigurationUserStatus withStatus(ComplianceStatus status)
Returns an immutable copy ofthiswith just thestatusfield 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.“Compliance status of the policy report.”
- Parameters:
status- new value ofstatusfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thestatusfield changed
-
getUserDisplayName
public Optional<String> getUserDisplayName()
“User name of the DevicePolicyStatus.”- Returns:
- property userDisplayName
-
withUserDisplayName
public ManagedDeviceMobileAppConfigurationUserStatus withUserDisplayName(String userDisplayName)
Returns an immutable copy ofthiswith just theuserDisplayNamefield 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.“User name of the DevicePolicyStatus.”
- Parameters:
userDisplayName- new value ofuserDisplayNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theuserDisplayNamefield changed
-
getUserPrincipalName
public Optional<String> getUserPrincipalName()
“UserPrincipalName.”- Returns:
- property userPrincipalName
-
withUserPrincipalName
public ManagedDeviceMobileAppConfigurationUserStatus withUserPrincipalName(String userPrincipalName)
Returns an immutable copy ofthiswith just theuserPrincipalNamefield 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.“UserPrincipalName.”
- Parameters:
userPrincipalName- new value ofuserPrincipalNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theuserPrincipalNamefield changed
-
withUnmappedField
public ManagedDeviceMobileAppConfigurationUserStatus 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 ManagedDeviceMobileAppConfigurationUserStatus patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public ManagedDeviceMobileAppConfigurationUserStatus put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-