Package odata.msgraph.client.beta.entity
Class UserAppInstallStatus
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.UserAppInstallStatus
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class UserAppInstallStatus extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“Contains properties for the installation status for a user.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUserAppInstallStatus.Builder
-
Field Summary
Fields Modifier and Type Field Description protected IntegerfailedDeviceCountprotected IntegerinstalledDeviceCountprotected IntegernotInstalledDeviceCountprotected StringuserNameprotected StringuserPrincipalName-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedUserAppInstallStatus()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UserAppInstallStatus.BuilderbuilderUserAppInstallStatus()Returns a builder which is used to create a new instance of this class (given that this class is immutable).MobileAppRequestgetApp()“The navigation link to the mobile app.”com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()MobileAppInstallStatusCollectionRequestgetDeviceStatuses()“The install state of the app on devices.”Optional<Integer>getFailedDeviceCount()“Failed Device Count.”Optional<Integer>getInstalledDeviceCount()“Installed Device Count.”Optional<Integer>getNotInstalledDeviceCount()“Not installed device count.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<String>getUserName()“User name.”Optional<String>getUserPrincipalName()“User Principal Name.”StringodataTypeName()UserAppInstallStatuspatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)UserAppInstallStatusput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()UserAppInstallStatuswithFailedDeviceCount(Integer failedDeviceCount)Returns an immutable copy ofthiswith just thefailedDeviceCountfield changed.UserAppInstallStatuswithInstalledDeviceCount(Integer installedDeviceCount)Returns an immutable copy ofthiswith just theinstalledDeviceCountfield changed.UserAppInstallStatuswithNotInstalledDeviceCount(Integer notInstalledDeviceCount)Returns an immutable copy ofthiswith just thenotInstalledDeviceCountfield changed.UserAppInstallStatuswithUnmappedField(String name, String value)UserAppInstallStatuswithUserName(String userName)Returns an immutable copy ofthiswith just theuserNamefield changed.UserAppInstallStatuswithUserPrincipalName(String userPrincipalName)Returns an immutable copy ofthiswith just theuserPrincipalNamefield changed.
-
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderUserAppInstallStatus
public static UserAppInstallStatus.Builder builderUserAppInstallStatus()
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
-
getFailedDeviceCount
public Optional<Integer> getFailedDeviceCount()
“Failed Device Count.”- Returns:
- property failedDeviceCount
-
withFailedDeviceCount
public UserAppInstallStatus withFailedDeviceCount(Integer failedDeviceCount)
Returns an immutable copy ofthiswith just thefailedDeviceCountfield 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.“Failed Device Count.”
- Parameters:
failedDeviceCount- new value offailedDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thefailedDeviceCountfield changed
-
getInstalledDeviceCount
public Optional<Integer> getInstalledDeviceCount()
“Installed Device Count.”- Returns:
- property installedDeviceCount
-
withInstalledDeviceCount
public UserAppInstallStatus withInstalledDeviceCount(Integer installedDeviceCount)
Returns an immutable copy ofthiswith just theinstalledDeviceCountfield 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.“Installed Device Count.”
- Parameters:
installedDeviceCount- new value ofinstalledDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theinstalledDeviceCountfield changed
-
getNotInstalledDeviceCount
public Optional<Integer> getNotInstalledDeviceCount()
“Not installed device count.”- Returns:
- property notInstalledDeviceCount
-
withNotInstalledDeviceCount
public UserAppInstallStatus withNotInstalledDeviceCount(Integer notInstalledDeviceCount)
Returns an immutable copy ofthiswith just thenotInstalledDeviceCountfield 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.“Not installed device count.”
- Parameters:
notInstalledDeviceCount- new value ofnotInstalledDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thenotInstalledDeviceCountfield changed
-
withUserName
public UserAppInstallStatus withUserName(String userName)
Returns an immutable copy ofthiswith just theuserNamefield 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.”
- Parameters:
userName- new value ofuserNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theuserNamefield changed
-
getUserPrincipalName
public Optional<String> getUserPrincipalName()
“User Principal Name.”- Returns:
- property userPrincipalName
-
withUserPrincipalName
public UserAppInstallStatus 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.“User Principal Name.”
- Parameters:
userPrincipalName- new value ofuserPrincipalNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theuserPrincipalNamefield changed
-
withUnmappedField
public UserAppInstallStatus withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getApp
public MobileAppRequest getApp()
“The navigation link to the mobile app.”- Returns:
- navigational property app
-
getDeviceStatuses
public MobileAppInstallStatusCollectionRequest getDeviceStatuses()
“The install state of the app on devices.”- Returns:
- navigational property deviceStatuses
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public UserAppInstallStatus patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public UserAppInstallStatus put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-