public class MobileAppRelationship extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Field and Description |
|---|---|
protected String |
targetDisplayName |
protected String |
targetId |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
MobileAppRelationship() |
| Modifier and Type | Method and Description |
|---|---|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<String> |
getTargetDisplayName()
“The target child mobile app's display name.”
|
Optional<String> |
getTargetId()
“The target child mobile app's app id.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
MobileAppRelationship |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
MobileAppRelationship |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
MobileAppRelationship |
withTargetDisplayName(String targetDisplayName)
Returns an immutable copy of
this with just the targetDisplayName
field changed. |
MobileAppRelationship |
withTargetId(String targetId)
Returns an immutable copy of
this with just the targetId field
changed. |
protected String targetId
protected String targetDisplayName
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic 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 Optional<String> getTargetId()
public MobileAppRelationship 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 target child mobile app's app id.”
targetId - new value of targetId field (as defined in service metadata)this with just the targetId field changedpublic Optional<String> getTargetDisplayName()
public MobileAppRelationship 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 target child mobile app's display name.”
targetDisplayName - new value of targetDisplayName field (as defined in service metadata)this with just the targetDisplayName field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic MobileAppRelationship patch()
this with changed fields reset.public MobileAppRelationship put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.