public class ManagedMobileApp extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
ManagedMobileApp.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected MobileAppIdentifier |
mobileAppIdentifier |
protected String |
version |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
ManagedMobileApp() |
| Modifier and Type | Method and Description |
|---|---|
static ManagedMobileApp.Builder |
builderManagedMobileApp()
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<MobileAppIdentifier> |
getMobileAppIdentifier()
“The identifier for an app with it's operating system type.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
Optional<String> |
getVersion()
“Version of the entity.”
|
String |
odataTypeName() |
ManagedMobileApp |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
ManagedMobileApp |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
ManagedMobileApp |
withMobileAppIdentifier(MobileAppIdentifier mobileAppIdentifier)
Returns an immutable copy of
this with just the mobileAppIdentifier field changed. |
ManagedMobileApp |
withVersion(String version)
Returns an immutable copy of
this with just the version field
changed. |
protected MobileAppIdentifier mobileAppIdentifier
protected String version
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static ManagedMobileApp.Builder builderManagedMobileApp()
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 Optional<MobileAppIdentifier> getMobileAppIdentifier()
public ManagedMobileApp withMobileAppIdentifier(MobileAppIdentifier mobileAppIdentifier)
this with just the mobileAppIdentifier 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 identifier for an app with it's operating system type.”
mobileAppIdentifier - new value of mobileAppIdentifier field (as defined in service metadata)this with just the mobileAppIdentifier field changedpublic ManagedMobileApp withVersion(String version)
this with just the version 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.
“Version of the entity.”
version - new value of version field (as defined in service metadata)this with just the version field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic ManagedMobileApp patch()
this with changed fields reset.public ManagedMobileApp put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.