public class MobileAppInstallStatus extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
MobileAppInstallStatus.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
deviceId |
protected String |
deviceName |
protected String |
displayVersion |
protected Integer |
errorCode |
protected ResultantAppState |
installState |
protected ResultantAppStateDetail |
installStateDetail |
protected OffsetDateTime |
lastSyncDateTime |
protected ResultantAppState |
mobileAppInstallStatusValue |
protected String |
osDescription |
protected String |
osVersion |
protected String |
userName |
protected String |
userPrincipalName |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
MobileAppInstallStatus() |
| Modifier and Type | Method and Description |
|---|---|
static MobileAppInstallStatus.Builder |
builderMobileAppInstallStatus()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
MobileAppRequest |
getApp()
“The navigation link to the mobile app.”
|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
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.internal.UnmappedFields |
getUnmappedFields() |
Optional<String> |
getUserName()
“Device User Name”
|
Optional<String> |
getUserPrincipalName()
“User Principal Name”
|
String |
odataTypeName() |
MobileAppInstallStatus |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
MobileAppInstallStatus |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
MobileAppInstallStatus |
withDeviceId(String deviceId)
Returns an immutable copy of
this with just the deviceId field
changed. |
MobileAppInstallStatus |
withDeviceName(String deviceName)
Returns an immutable copy of
this with just the deviceName field
changed. |
MobileAppInstallStatus |
withDisplayVersion(String displayVersion)
Returns an immutable copy of
this with just the displayVersion
field changed. |
MobileAppInstallStatus |
withErrorCode(Integer errorCode)
Returns an immutable copy of
this with just the errorCode field
changed. |
MobileAppInstallStatus |
withInstallState(ResultantAppState installState)
Returns an immutable copy of
this with just the installState
field changed. |
MobileAppInstallStatus |
withInstallStateDetail(ResultantAppStateDetail installStateDetail)
Returns an immutable copy of
this with just the installStateDetail field changed. |
MobileAppInstallStatus |
withLastSyncDateTime(OffsetDateTime lastSyncDateTime)
Returns an immutable copy of
this with just the lastSyncDateTime
field changed. |
MobileAppInstallStatus |
withMobileAppInstallStatusValue(ResultantAppState mobileAppInstallStatusValue)
Returns an immutable copy of
this with just the mobileAppInstallStatusValue field changed. |
MobileAppInstallStatus |
withOsDescription(String osDescription)
Returns an immutable copy of
this with just the osDescription
field changed. |
MobileAppInstallStatus |
withOsVersion(String osVersion)
Returns an immutable copy of
this with just the osVersion field
changed. |
MobileAppInstallStatus |
withUserName(String userName)
Returns an immutable copy of
this with just the userName field
changed. |
MobileAppInstallStatus |
withUserPrincipalName(String userPrincipalName)
Returns an immutable copy of
this with just the userPrincipalName
field changed. |
protected String deviceName
protected String deviceId
protected OffsetDateTime lastSyncDateTime
protected ResultantAppState mobileAppInstallStatusValue
protected ResultantAppState installState
protected ResultantAppStateDetail installStateDetail
protected Integer errorCode
protected String osVersion
protected String osDescription
protected String userName
protected String userPrincipalName
protected String displayVersion
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static MobileAppInstallStatus.Builder builderMobileAppInstallStatus()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class Entitypublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class Entitypublic MobileAppInstallStatus withDeviceName(String deviceName)
this with just the deviceName field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“Device name”
deviceName - new value of deviceName field (as defined in service metadata)this with just the deviceName field changedpublic MobileAppInstallStatus withDeviceId(String deviceId)
this with just the deviceId field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“Device ID”
deviceId - new value of deviceId field (as defined in service metadata)this with just the deviceId field changedpublic Optional<OffsetDateTime> getLastSyncDateTime()
public MobileAppInstallStatus withLastSyncDateTime(OffsetDateTime lastSyncDateTime)
this with just the lastSyncDateTime
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“Last sync date time”
lastSyncDateTime - new value of lastSyncDateTime field (as defined in service metadata)this with just the lastSyncDateTime field changedpublic Optional<ResultantAppState> getMobileAppInstallStatusValue()
public MobileAppInstallStatus withMobileAppInstallStatusValue(ResultantAppState mobileAppInstallStatusValue)
this with just the mobileAppInstallStatusValue field changed. Field description below. The field
name is also added to an internal map of changed fields in the returned object
so that when this.patch() is called (if available)on the returned object
only the changed fields are submitted.
“The install state of the app.”
mobileAppInstallStatusValue - new value of mobileAppInstallStatusValue field (as defined in service metadata)this with just the mobileAppInstallStatusValue field changedpublic Optional<ResultantAppState> getInstallState()
public MobileAppInstallStatus withInstallState(ResultantAppState installState)
this with just the installState
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“The install state of the app.”
installState - new value of installState field (as defined in service metadata)this with just the installState field changedpublic Optional<ResultantAppStateDetail> getInstallStateDetail()
public MobileAppInstallStatus withInstallStateDetail(ResultantAppStateDetail installStateDetail)
this with just the installStateDetail field changed. Field description below. The field name is
also added to an internal map of changed fields in the returned object so that
when this.patch() is called (if available)on the returned object only
the changed fields are submitted.
“The install state detail of the app.”
installStateDetail - new value of installStateDetail field (as defined in service metadata)this with just the installStateDetail field changedpublic Optional<Integer> getErrorCode()
public MobileAppInstallStatus withErrorCode(Integer errorCode)
this with just the errorCode field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“The error code for install or uninstall failures.”
errorCode - new value of errorCode field (as defined in service metadata)this with just the errorCode field changedpublic MobileAppInstallStatus withOsVersion(String osVersion)
this with just the osVersion field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“OS Version”
osVersion - new value of osVersion field (as defined in service metadata)this with just the osVersion field changedpublic Optional<String> getOsDescription()
public MobileAppInstallStatus withOsDescription(String osDescription)
this with just the osDescription
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“OS Description”
osDescription - new value of osDescription field (as defined in service metadata)this with just the osDescription field changedpublic MobileAppInstallStatus withUserName(String userName)
this with just the userName field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“Device User Name”
userName - new value of userName field (as defined in service metadata)this with just the userName field changedpublic Optional<String> getUserPrincipalName()
public MobileAppInstallStatus withUserPrincipalName(String userPrincipalName)
this with just the userPrincipalName
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“User Principal Name”
userPrincipalName - new value of userPrincipalName field (as defined in service metadata)this with just the userPrincipalName field changedpublic Optional<String> getDisplayVersion()
public MobileAppInstallStatus withDisplayVersion(String displayVersion)
this with just the displayVersion
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“Human readable version of the application”
displayVersion - new value of displayVersion field (as defined in service metadata)this with just the displayVersion field changedpublic MobileAppRequest getApp()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic MobileAppInstallStatus patch()
this with changed fields reset.public MobileAppInstallStatus put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.