public class DetectedApp extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
DetectedApp.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Integer |
deviceCount |
protected String |
displayName |
protected Long |
sizeInByte |
protected String |
version |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
DetectedApp() |
| Modifier and Type | Method and Description |
|---|---|
static DetectedApp.Builder |
builderDetectedApp()
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<Integer> |
getDeviceCount()
“The number of devices that have installed this application”
|
Optional<String> |
getDisplayName()
“Name of the discovered application.
|
ManagedDeviceCollectionRequest |
getManagedDevices()
“The devices that have the discovered application installed”
|
Optional<Long> |
getSizeInByte()
“Discovered application size in bytes.
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
Optional<String> |
getVersion()
“Version of the discovered application.
|
String |
odataTypeName() |
DetectedApp |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
DetectedApp |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
DetectedApp |
withDeviceCount(Integer deviceCount)
Returns an immutable copy of
this with just the deviceCount
field changed. |
DetectedApp |
withDisplayName(String displayName)
Returns an immutable copy of
this with just the displayName
field changed. |
DetectedApp |
withSizeInByte(Long sizeInByte)
Returns an immutable copy of
this with just the sizeInByte field
changed. |
DetectedApp |
withVersion(String version)
Returns an immutable copy of
this with just the version field
changed. |
protected String displayName
protected String version
protected Long sizeInByte
protected Integer deviceCount
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static DetectedApp.Builder builderDetectedApp()
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<String> getDisplayName()
public DetectedApp withDisplayName(String displayName)
this with just the displayName
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.
“Name of the discovered application. Read-only”
displayName - new value of displayName field (as defined in service metadata)this with just the displayName field changedpublic Optional<String> getVersion()
public DetectedApp 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 discovered application. Read-only”
version - new value of version field (as defined in service metadata)this with just the version field changedpublic Optional<Long> getSizeInByte()
public DetectedApp withSizeInByte(Long sizeInByte)
this with just the sizeInByte 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.
“Discovered application size in bytes. Read-only”
sizeInByte - new value of sizeInByte field (as defined in service metadata)this with just the sizeInByte field changedpublic Optional<Integer> getDeviceCount()
public DetectedApp withDeviceCount(Integer deviceCount)
this with just the deviceCount
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 number of devices that have installed this application”
deviceCount - new value of deviceCount field (as defined in service metadata)this with just the deviceCount field changedpublic ManagedDeviceCollectionRequest getManagedDevices()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic DetectedApp patch()
this with changed fields reset.public DetectedApp put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.