Package odata.msgraph.client.beta.entity
Class MobileAppInstallStatus
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.MobileAppInstallStatus
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class MobileAppInstallStatus extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“Contains properties for the installation state of a mobile app for a device.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMobileAppInstallStatus.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringdeviceIdprotected StringdeviceNameprotected StringdisplayVersionprotected IntegererrorCodeprotected ResultantAppStateinstallStateprotected ResultantAppStateDetailinstallStateDetailprotected OffsetDateTimelastSyncDateTimeprotected ResultantAppStatemobileAppInstallStatusValueprotected StringosDescriptionprotected StringosVersionprotected StringuserNameprotected StringuserPrincipalName-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedMobileAppInstallStatus()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MobileAppInstallStatus.BuilderbuilderMobileAppInstallStatus()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()Optional<String>getDeviceId()“Device ID”Optional<String>getDeviceName()“Device name”Optional<String>getDisplayVersion()“Human readable version of the application”Optional<Integer>getErrorCode()“The error code for install or uninstall failures.”Optional<ResultantAppState>getInstallState()“The install state of the app.”Optional<ResultantAppStateDetail>getInstallStateDetail()“The install state detail of the app.”Optional<OffsetDateTime>getLastSyncDateTime()“Last sync date time”Optional<ResultantAppState>getMobileAppInstallStatusValue()“The install state of the app.”Optional<String>getOsDescription()“OS Description”Optional<String>getOsVersion()“OS Version”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<String>getUserName()“Device User Name”Optional<String>getUserPrincipalName()“User Principal Name”StringodataTypeName()MobileAppInstallStatuspatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)MobileAppInstallStatusput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()MobileAppInstallStatuswithDeviceId(String deviceId)Returns an immutable copy ofthiswith just thedeviceIdfield changed.MobileAppInstallStatuswithDeviceName(String deviceName)Returns an immutable copy ofthiswith just thedeviceNamefield changed.MobileAppInstallStatuswithDisplayVersion(String displayVersion)Returns an immutable copy ofthiswith just thedisplayVersionfield changed.MobileAppInstallStatuswithErrorCode(Integer errorCode)Returns an immutable copy ofthiswith just theerrorCodefield changed.MobileAppInstallStatuswithInstallState(ResultantAppState installState)Returns an immutable copy ofthiswith just theinstallStatefield changed.MobileAppInstallStatuswithInstallStateDetail(ResultantAppStateDetail installStateDetail)Returns an immutable copy ofthiswith just theinstallStateDetailfield changed.MobileAppInstallStatuswithLastSyncDateTime(OffsetDateTime lastSyncDateTime)Returns an immutable copy ofthiswith just thelastSyncDateTimefield changed.MobileAppInstallStatuswithMobileAppInstallStatusValue(ResultantAppState mobileAppInstallStatusValue)Returns an immutable copy ofthiswith just themobileAppInstallStatusValuefield changed.MobileAppInstallStatuswithOsDescription(String osDescription)Returns an immutable copy ofthiswith just theosDescriptionfield changed.MobileAppInstallStatuswithOsVersion(String osVersion)Returns an immutable copy ofthiswith just theosVersionfield changed.MobileAppInstallStatuswithUnmappedField(String name, String value)MobileAppInstallStatuswithUserName(String userName)Returns an immutable copy ofthiswith just theuserNamefield changed.MobileAppInstallStatuswithUserPrincipalName(String userPrincipalName)Returns an immutable copy ofthiswith just theuserPrincipalNamefield changed.
-
-
-
Field Detail
-
deviceId
protected String deviceId
-
deviceName
protected String deviceName
-
displayVersion
protected String displayVersion
-
errorCode
protected Integer errorCode
-
installState
protected ResultantAppState installState
-
installStateDetail
protected ResultantAppStateDetail installStateDetail
-
lastSyncDateTime
protected OffsetDateTime lastSyncDateTime
-
mobileAppInstallStatusValue
protected ResultantAppState mobileAppInstallStatusValue
-
osDescription
protected String osDescription
-
osVersion
protected String osVersion
-
userName
protected String userName
-
userPrincipalName
protected String userPrincipalName
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderMobileAppInstallStatus
public static MobileAppInstallStatus.Builder builderMobileAppInstallStatus()
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
-
withDeviceId
public MobileAppInstallStatus withDeviceId(String deviceId)
Returns an immutable copy ofthiswith just thedeviceIdfield 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.“Device ID”
- Parameters:
deviceId- new value ofdeviceIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceIdfield changed
-
withDeviceName
public MobileAppInstallStatus withDeviceName(String deviceName)
Returns an immutable copy ofthiswith just thedeviceNamefield 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.“Device name”
- Parameters:
deviceName- new value ofdeviceNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceNamefield changed
-
getDisplayVersion
public Optional<String> getDisplayVersion()
“Human readable version of the application”- Returns:
- property displayVersion
-
withDisplayVersion
public MobileAppInstallStatus withDisplayVersion(String displayVersion)
Returns an immutable copy ofthiswith just thedisplayVersionfield 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.“Human readable version of the application”
- Parameters:
displayVersion- new value ofdisplayVersionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedisplayVersionfield changed
-
getErrorCode
public Optional<Integer> getErrorCode()
“The error code for install or uninstall failures.”- Returns:
- property errorCode
-
withErrorCode
public MobileAppInstallStatus withErrorCode(Integer errorCode)
Returns an immutable copy ofthiswith just theerrorCodefield 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 error code for install or uninstall failures.”
- Parameters:
errorCode- new value oferrorCodefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theerrorCodefield changed
-
getInstallState
public Optional<ResultantAppState> getInstallState()
“The install state of the app.”- Returns:
- property installState
-
withInstallState
public MobileAppInstallStatus withInstallState(ResultantAppState installState)
Returns an immutable copy ofthiswith just theinstallStatefield 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 install state of the app.”
- Parameters:
installState- new value ofinstallStatefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theinstallStatefield changed
-
getInstallStateDetail
public Optional<ResultantAppStateDetail> getInstallStateDetail()
“The install state detail of the app.”- Returns:
- property installStateDetail
-
withInstallStateDetail
public MobileAppInstallStatus withInstallStateDetail(ResultantAppStateDetail installStateDetail)
Returns an immutable copy ofthiswith just theinstallStateDetailfield 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 install state detail of the app.”
- Parameters:
installStateDetail- new value ofinstallStateDetailfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theinstallStateDetailfield changed
-
getLastSyncDateTime
public Optional<OffsetDateTime> getLastSyncDateTime()
“Last sync date time”- Returns:
- property lastSyncDateTime
-
withLastSyncDateTime
public MobileAppInstallStatus withLastSyncDateTime(OffsetDateTime lastSyncDateTime)
Returns an immutable copy ofthiswith just thelastSyncDateTimefield 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 sync date time”
- Parameters:
lastSyncDateTime- new value oflastSyncDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelastSyncDateTimefield changed
-
getMobileAppInstallStatusValue
public Optional<ResultantAppState> getMobileAppInstallStatusValue()
“The install state of the app.”- Returns:
- property mobileAppInstallStatusValue
-
withMobileAppInstallStatusValue
public MobileAppInstallStatus withMobileAppInstallStatusValue(ResultantAppState mobileAppInstallStatusValue)
Returns an immutable copy ofthiswith just themobileAppInstallStatusValuefield 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 install state of the app.”
- Parameters:
mobileAppInstallStatusValue- new value ofmobileAppInstallStatusValuefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themobileAppInstallStatusValuefield changed
-
getOsDescription
public Optional<String> getOsDescription()
“OS Description”- Returns:
- property osDescription
-
withOsDescription
public MobileAppInstallStatus withOsDescription(String osDescription)
Returns an immutable copy ofthiswith just theosDescriptionfield 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.“OS Description”
- Parameters:
osDescription- new value ofosDescriptionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theosDescriptionfield changed
-
withOsVersion
public MobileAppInstallStatus withOsVersion(String osVersion)
Returns an immutable copy ofthiswith just theosVersionfield 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.“OS Version”
- Parameters:
osVersion- new value ofosVersionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theosVersionfield changed
-
withUserName
public MobileAppInstallStatus 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.“Device 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 MobileAppInstallStatus 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 MobileAppInstallStatus withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getApp
public MobileAppRequest getApp()
“The navigation link to the mobile app.”- Returns:
- navigational property app
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public MobileAppInstallStatus patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public MobileAppInstallStatus put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-