public class MobileAppRelationshipState extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
MobileAppRelationshipState.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected String |
deviceId |
protected Integer |
errorCode |
protected ResultantAppState |
installState |
protected ResultantAppStateDetail |
installStateDetail |
protected String |
odataType |
protected List<String> |
sourceIds |
protected String |
sourceIdsNextLink |
protected String |
targetDisplayName |
protected String |
targetId |
protected OffsetDateTime |
targetLastSyncDateTime |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
MobileAppRelationshipState() |
| Modifier and Type | Method and Description |
|---|---|
static MobileAppRelationshipState.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<String> |
getDeviceId()
“The corresponding device id.”
|
Optional<Integer> |
getErrorCode()
“The error code for install or uninstall failures of target app.”
|
Optional<ResultantAppState> |
getInstallState()
“The install state of the app of target app.”
|
Optional<ResultantAppStateDetail> |
getInstallStateDetail()
“The install state detail of the app.”
|
com.github.davidmoten.odata.client.CollectionPage<String> |
getSourceIds()
“The collection of source mobile app's ids.”
|
Optional<String> |
getTargetDisplayName()
“The related target app's display name.”
|
Optional<String> |
getTargetId()
“The related target app's id.”
|
Optional<OffsetDateTime> |
getTargetLastSyncDateTime()
“The last sync time of the target app.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
MobileAppRelationshipState |
withDeviceId(String deviceId)
Returns an immutable copy of
this with just the deviceId field
changed. |
MobileAppRelationshipState |
withErrorCode(Integer errorCode)
Returns an immutable copy of
this with just the errorCode field
changed. |
MobileAppRelationshipState |
withInstallState(ResultantAppState installState)
Returns an immutable copy of
this with just the installState
field changed. |
MobileAppRelationshipState |
withInstallStateDetail(ResultantAppStateDetail installStateDetail)
Returns an immutable copy of
this with just the installStateDetail field changed. |
MobileAppRelationshipState |
withTargetDisplayName(String targetDisplayName)
Returns an immutable copy of
this with just the targetDisplayName
field changed. |
MobileAppRelationshipState |
withTargetId(String targetId)
Returns an immutable copy of
this with just the targetId field
changed. |
MobileAppRelationshipState |
withTargetLastSyncDateTime(OffsetDateTime targetLastSyncDateTime)
Returns an immutable copy of
this with just the targetLastSyncDateTime field changed. |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected String sourceIdsNextLink
protected String targetId
protected String targetDisplayName
protected String deviceId
protected ResultantAppState installState
protected ResultantAppStateDetail installStateDetail
protected Integer errorCode
protected OffsetDateTime targetLastSyncDateTime
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic com.github.davidmoten.odata.client.CollectionPage<String> getSourceIds()
public Optional<String> getTargetId()
public MobileAppRelationshipState withTargetId(String targetId)
this with just the targetId 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 related target app's id.”
targetId - new value of targetId field (as defined in service metadata)this with just the targetId field changedpublic Optional<String> getTargetDisplayName()
public MobileAppRelationshipState withTargetDisplayName(String targetDisplayName)
this with just the targetDisplayName
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 related target app's display name.”
targetDisplayName - new value of targetDisplayName field (as defined in service metadata)this with just the targetDisplayName field changedpublic Optional<String> getDeviceId()
public MobileAppRelationshipState 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.
“The corresponding device id.”
deviceId - new value of deviceId field (as defined in service metadata)this with just the deviceId field changedpublic Optional<ResultantAppState> getInstallState()
public MobileAppRelationshipState 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 of target app.”
installState - new value of installState field (as defined in service metadata)this with just the installState field changedpublic Optional<ResultantAppStateDetail> getInstallStateDetail()
public MobileAppRelationshipState 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 MobileAppRelationshipState 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 of target app.”
errorCode - new value of errorCode field (as defined in service metadata)this with just the errorCode field changedpublic Optional<OffsetDateTime> getTargetLastSyncDateTime()
public MobileAppRelationshipState withTargetLastSyncDateTime(OffsetDateTime targetLastSyncDateTime)
this with just the targetLastSyncDateTime 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 last sync time of the target app.”
targetLastSyncDateTime - new value of targetLastSyncDateTime field (as defined in service metadata)this with just the targetLastSyncDateTime field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypepublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepublic static MobileAppRelationshipState.Builder builder()
Copyright © 2018–2020. All rights reserved.