Package odata.msgraph.client.beta.entity
Class MobileAppInstallSummary
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.MobileAppInstallSummary
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class MobileAppInstallSummary extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“Contains properties for the installation summary of a mobile app.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMobileAppInstallSummary.Builder
-
Field Summary
Fields Modifier and Type Field Description protected IntegerfailedDeviceCountprotected IntegerfailedUserCountprotected IntegerinstalledDeviceCountprotected IntegerinstalledUserCountprotected IntegernotApplicableDeviceCountprotected IntegernotApplicableUserCountprotected IntegernotInstalledDeviceCountprotected IntegernotInstalledUserCountprotected IntegerpendingInstallDeviceCountprotected IntegerpendingInstallUserCount-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedMobileAppInstallSummary()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MobileAppInstallSummary.BuilderbuilderMobileAppInstallSummary()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>getFailedDeviceCount()“Number of Devices that have failed to install this app.”Optional<Integer>getFailedUserCount()“Number of Users that have 1 or more device that failed to install this app.”Optional<Integer>getInstalledDeviceCount()“Number of Devices that have successfully installed this app.”Optional<Integer>getInstalledUserCount()“Number of Users whose devices have all succeeded to install this app.”Optional<Integer>getNotApplicableDeviceCount()“Number of Devices that are not applicable for this app.”Optional<Integer>getNotApplicableUserCount()“Number of Users whose devices were all not applicable for this app.”Optional<Integer>getNotInstalledDeviceCount()“Number of Devices that does not have this app installed.”Optional<Integer>getNotInstalledUserCount()“Number of Users that have 1 or more devices that did not install this app.”Optional<Integer>getPendingInstallDeviceCount()“Number of Devices that have been notified to install this app.”Optional<Integer>getPendingInstallUserCount()“Number of Users that have 1 or more device that have been notified to install this app and have 0 devices with failures.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()MobileAppInstallSummarypatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)MobileAppInstallSummaryput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()MobileAppInstallSummarywithFailedDeviceCount(Integer failedDeviceCount)Returns an immutable copy ofthiswith just thefailedDeviceCountfield changed.MobileAppInstallSummarywithFailedUserCount(Integer failedUserCount)Returns an immutable copy ofthiswith just thefailedUserCountfield changed.MobileAppInstallSummarywithInstalledDeviceCount(Integer installedDeviceCount)Returns an immutable copy ofthiswith just theinstalledDeviceCountfield changed.MobileAppInstallSummarywithInstalledUserCount(Integer installedUserCount)Returns an immutable copy ofthiswith just theinstalledUserCountfield changed.MobileAppInstallSummarywithNotApplicableDeviceCount(Integer notApplicableDeviceCount)Returns an immutable copy ofthiswith just thenotApplicableDeviceCountfield changed.MobileAppInstallSummarywithNotApplicableUserCount(Integer notApplicableUserCount)Returns an immutable copy ofthiswith just thenotApplicableUserCountfield changed.MobileAppInstallSummarywithNotInstalledDeviceCount(Integer notInstalledDeviceCount)Returns an immutable copy ofthiswith just thenotInstalledDeviceCountfield changed.MobileAppInstallSummarywithNotInstalledUserCount(Integer notInstalledUserCount)Returns an immutable copy ofthiswith just thenotInstalledUserCountfield changed.MobileAppInstallSummarywithPendingInstallDeviceCount(Integer pendingInstallDeviceCount)Returns an immutable copy ofthiswith just thependingInstallDeviceCountfield changed.MobileAppInstallSummarywithPendingInstallUserCount(Integer pendingInstallUserCount)Returns an immutable copy ofthiswith just thependingInstallUserCountfield changed.MobileAppInstallSummarywithUnmappedField(String name, String value)
-
-
-
Field Detail
-
failedDeviceCount
protected Integer failedDeviceCount
-
failedUserCount
protected Integer failedUserCount
-
installedDeviceCount
protected Integer installedDeviceCount
-
installedUserCount
protected Integer installedUserCount
-
notApplicableDeviceCount
protected Integer notApplicableDeviceCount
-
notApplicableUserCount
protected Integer notApplicableUserCount
-
notInstalledDeviceCount
protected Integer notInstalledDeviceCount
-
notInstalledUserCount
protected Integer notInstalledUserCount
-
pendingInstallDeviceCount
protected Integer pendingInstallDeviceCount
-
pendingInstallUserCount
protected Integer pendingInstallUserCount
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderMobileAppInstallSummary
public static MobileAppInstallSummary.Builder builderMobileAppInstallSummary()
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()
“Number of Devices that have failed to install this app.”- Returns:
- property failedDeviceCount
-
withFailedDeviceCount
public MobileAppInstallSummary 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.“Number of Devices that have failed to install this app.”
- Parameters:
failedDeviceCount- new value offailedDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thefailedDeviceCountfield changed
-
getFailedUserCount
public Optional<Integer> getFailedUserCount()
“Number of Users that have 1 or more device that failed to install this app.”- Returns:
- property failedUserCount
-
withFailedUserCount
public MobileAppInstallSummary withFailedUserCount(Integer failedUserCount)
Returns an immutable copy ofthiswith just thefailedUserCountfield 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 that have 1 or more device that failed to install this app.”
- Parameters:
failedUserCount- new value offailedUserCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thefailedUserCountfield changed
-
getInstalledDeviceCount
public Optional<Integer> getInstalledDeviceCount()
“Number of Devices that have successfully installed this app.”- Returns:
- property installedDeviceCount
-
withInstalledDeviceCount
public MobileAppInstallSummary 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.“Number of Devices that have successfully installed this app.”
- Parameters:
installedDeviceCount- new value ofinstalledDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theinstalledDeviceCountfield changed
-
getInstalledUserCount
public Optional<Integer> getInstalledUserCount()
“Number of Users whose devices have all succeeded to install this app.”- Returns:
- property installedUserCount
-
withInstalledUserCount
public MobileAppInstallSummary withInstalledUserCount(Integer installedUserCount)
Returns an immutable copy ofthiswith just theinstalledUserCountfield 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 whose devices have all succeeded to install this app.”
- Parameters:
installedUserCount- new value ofinstalledUserCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theinstalledUserCountfield changed
-
getNotApplicableDeviceCount
public Optional<Integer> getNotApplicableDeviceCount()
“Number of Devices that are not applicable for this app.”- Returns:
- property notApplicableDeviceCount
-
withNotApplicableDeviceCount
public MobileAppInstallSummary 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 Devices that are not applicable for this app.”
- 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 Users whose devices were all not applicable for this app.”- Returns:
- property notApplicableUserCount
-
withNotApplicableUserCount
public MobileAppInstallSummary 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 Users whose devices were all not applicable for this app.”
- Parameters:
notApplicableUserCount- new value ofnotApplicableUserCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thenotApplicableUserCountfield changed
-
getNotInstalledDeviceCount
public Optional<Integer> getNotInstalledDeviceCount()
“Number of Devices that does not have this app installed.”- Returns:
- property notInstalledDeviceCount
-
withNotInstalledDeviceCount
public MobileAppInstallSummary 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.“Number of Devices that does not have this app installed.”
- Parameters:
notInstalledDeviceCount- new value ofnotInstalledDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thenotInstalledDeviceCountfield changed
-
getNotInstalledUserCount
public Optional<Integer> getNotInstalledUserCount()
“Number of Users that have 1 or more devices that did not install this app.”- Returns:
- property notInstalledUserCount
-
withNotInstalledUserCount
public MobileAppInstallSummary withNotInstalledUserCount(Integer notInstalledUserCount)
Returns an immutable copy ofthiswith just thenotInstalledUserCountfield 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 that have 1 or more devices that did not install this app.”
- Parameters:
notInstalledUserCount- new value ofnotInstalledUserCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thenotInstalledUserCountfield changed
-
getPendingInstallDeviceCount
public Optional<Integer> getPendingInstallDeviceCount()
“Number of Devices that have been notified to install this app.”- Returns:
- property pendingInstallDeviceCount
-
withPendingInstallDeviceCount
public MobileAppInstallSummary withPendingInstallDeviceCount(Integer pendingInstallDeviceCount)
Returns an immutable copy ofthiswith just thependingInstallDeviceCountfield 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 that have been notified to install this app.”
- Parameters:
pendingInstallDeviceCount- new value ofpendingInstallDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thependingInstallDeviceCountfield changed
-
getPendingInstallUserCount
public Optional<Integer> getPendingInstallUserCount()
“Number of Users that have 1 or more device that have been notified to install this app and have 0 devices with failures.”- Returns:
- property pendingInstallUserCount
-
withPendingInstallUserCount
public MobileAppInstallSummary withPendingInstallUserCount(Integer pendingInstallUserCount)
Returns an immutable copy ofthiswith just thependingInstallUserCountfield 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 that have 1 or more device that have been notified to install this app and have 0 devices with failures.”
- Parameters:
pendingInstallUserCount- new value ofpendingInstallUserCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thependingInstallUserCountfield changed
-
withUnmappedField
public MobileAppInstallSummary withUnmappedField(String name, String 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 MobileAppInstallSummary patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public MobileAppInstallSummary put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-