public class MobileAppDependency extends MobileAppRelationship implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
MobileAppDependency.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected MobileAppDependencyType |
dependencyType |
protected Integer |
dependentAppCount |
targetDisplayName, targetIdchangedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
MobileAppDependency() |
| Modifier and Type | Method and Description |
|---|---|
static MobileAppDependency.Builder |
builderMobileAppDependency()
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.ChangedFields |
getChangedFields() |
Optional<MobileAppDependencyType> |
getDependencyType()
“The type of dependency relationship between the parent and child apps.”
|
Optional<Integer> |
getDependentAppCount()
“The total number of dependencies the child app has.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
MobileAppDependency |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
MobileAppDependency |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
MobileAppDependency |
withDependencyType(MobileAppDependencyType dependencyType)
Returns an immutable copy of
this with just the dependencyType
field changed. |
MobileAppDependency |
withDependentAppCount(Integer dependentAppCount)
Returns an immutable copy of
this with just the dependentAppCount
field changed. |
getTargetDisplayName, getTargetId, withTargetDisplayName, withTargetIdprotected MobileAppDependencyType dependencyType
protected Integer dependentAppCount
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class MobileAppRelationshippublic static MobileAppDependency.Builder builderMobileAppDependency()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class MobileAppRelationshippublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class MobileAppRelationshippublic Optional<MobileAppDependencyType> getDependencyType()
public MobileAppDependency withDependencyType(MobileAppDependencyType dependencyType)
this with just the dependencyType
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 type of dependency relationship between the parent and child apps.”
dependencyType - new value of dependencyType field (as defined in service metadata)this with just the dependencyType field changedpublic Optional<Integer> getDependentAppCount()
public MobileAppDependency withDependentAppCount(Integer dependentAppCount)
this with just the dependentAppCount
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 total number of dependencies the child app has.”
dependentAppCount - new value of dependentAppCount field (as defined in service metadata)this with just the dependentAppCount field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class MobileAppRelationshippublic MobileAppDependency patch()
this with changed fields reset.patch in class MobileAppRelationshipthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic MobileAppDependency put()
this
with changed fields reset (they were ignored anyway).put in class MobileAppRelationshipthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic String toString()
toString in class MobileAppRelationshipCopyright © 2018–2020. All rights reserved.