public class AppVulnerabilityTask extends DeviceAppManagementTask implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
AppVulnerabilityTask.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
appName |
protected String |
appPublisher |
protected String |
appVersion |
protected String |
insights |
protected Integer |
managedDeviceCount |
protected AppVulnerabilityTaskMitigationType |
mitigationType |
protected Integer |
mobileAppCount |
protected String |
remediation |
assignedTo, category, createdDateTime, creator, creatorNotes, description, displayName, dueDateTime, priority, statuschangedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
AppVulnerabilityTask() |
| Modifier and Type | Method and Description |
|---|---|
static AppVulnerabilityTask.Builder |
builderAppVulnerabilityTask()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<String> |
getAppName()
“The app name.”
|
Optional<String> |
getAppPublisher()
“The app publisher.”
|
Optional<String> |
getAppVersion()
“The app version.”
|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<String> |
getInsights()
“Information about the mitigation.”
|
Optional<Integer> |
getManagedDeviceCount()
“The number of vulnerable devices.”
|
AppVulnerabilityManagedDeviceCollectionRequest |
getManagedDevices()
“The vulnerable managed devices.”
|
Optional<AppVulnerabilityTaskMitigationType> |
getMitigationType()
“The mitigation type.”
|
Optional<Integer> |
getMobileAppCount()
“The number of vulnerable mobile apps.”
|
AppVulnerabilityMobileAppCollectionRequest |
getMobileApps()
“The vulnerable mobile apps.”
|
Optional<String> |
getRemediation()
“The remediation steps.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
AppVulnerabilityTask |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
AppVulnerabilityTask |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
AppVulnerabilityTask |
withAppName(String appName)
Returns an immutable copy of
this with just the appName field
changed. |
AppVulnerabilityTask |
withAppPublisher(String appPublisher)
Returns an immutable copy of
this with just the appPublisher
field changed. |
AppVulnerabilityTask |
withAppVersion(String appVersion)
Returns an immutable copy of
this with just the appVersion field
changed. |
AppVulnerabilityTask |
withInsights(String insights)
Returns an immutable copy of
this with just the insights field
changed. |
AppVulnerabilityTask |
withManagedDeviceCount(Integer managedDeviceCount)
Returns an immutable copy of
this with just the managedDeviceCount field changed. |
AppVulnerabilityTask |
withMitigationType(AppVulnerabilityTaskMitigationType mitigationType)
Returns an immutable copy of
this with just the mitigationType
field changed. |
AppVulnerabilityTask |
withMobileAppCount(Integer mobileAppCount)
Returns an immutable copy of
this with just the mobileAppCount
field changed. |
AppVulnerabilityTask |
withRemediation(String remediation)
Returns an immutable copy of
this with just the remediation
field changed. |
builderDeviceAppManagementTask, getAssignedTo, getCategory, getCreatedDateTime, getCreator, getCreatorNotes, getDescription, getDisplayName, getDueDateTime, getPriority, getStatus, updateStatus, withAssignedTo, withCategory, withCreatedDateTime, withCreator, withCreatorNotes, withDescription, withDisplayName, withDueDateTime, withPriority, withStatusprotected String appName
protected String appPublisher
protected String appVersion
protected AppVulnerabilityTaskMitigationType mitigationType
protected String insights
protected Integer managedDeviceCount
protected Integer mobileAppCount
protected String remediation
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class DeviceAppManagementTaskpublic static AppVulnerabilityTask.Builder builderAppVulnerabilityTask()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class DeviceAppManagementTaskpublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class DeviceAppManagementTaskpublic AppVulnerabilityTask withAppName(String appName)
this with just the appName 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 app name.”
appName - new value of appName field (as defined in service metadata)this with just the appName field changedpublic Optional<String> getAppPublisher()
public AppVulnerabilityTask withAppPublisher(String appPublisher)
this with just the appPublisher
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 app publisher.”
appPublisher - new value of appPublisher field (as defined in service metadata)this with just the appPublisher field changedpublic Optional<String> getAppVersion()
public AppVulnerabilityTask withAppVersion(String appVersion)
this with just the appVersion 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 app version.”
appVersion - new value of appVersion field (as defined in service metadata)this with just the appVersion field changedpublic Optional<AppVulnerabilityTaskMitigationType> getMitigationType()
public AppVulnerabilityTask withMitigationType(AppVulnerabilityTaskMitigationType mitigationType)
this with just the mitigationType
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 mitigation type.”
mitigationType - new value of mitigationType field (as defined in service metadata)this with just the mitigationType field changedpublic Optional<String> getInsights()
public AppVulnerabilityTask withInsights(String insights)
this with just the insights 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.
“Information about the mitigation.”
insights - new value of insights field (as defined in service metadata)this with just the insights field changedpublic Optional<Integer> getManagedDeviceCount()
public AppVulnerabilityTask withManagedDeviceCount(Integer managedDeviceCount)
this with just the managedDeviceCount 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 vulnerable devices.”
managedDeviceCount - new value of managedDeviceCount field (as defined in service metadata)this with just the managedDeviceCount field changedpublic Optional<Integer> getMobileAppCount()
public AppVulnerabilityTask withMobileAppCount(Integer mobileAppCount)
this with just the mobileAppCount
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 vulnerable mobile apps.”
mobileAppCount - new value of mobileAppCount field (as defined in service metadata)this with just the mobileAppCount field changedpublic Optional<String> getRemediation()
public AppVulnerabilityTask withRemediation(String remediation)
this with just the remediation
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 remediation steps.”
remediation - new value of remediation field (as defined in service metadata)this with just the remediation field changedpublic AppVulnerabilityManagedDeviceCollectionRequest getManagedDevices()
public AppVulnerabilityMobileAppCollectionRequest getMobileApps()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class DeviceAppManagementTaskpublic AppVulnerabilityTask patch()
this with changed fields reset.patch in class DeviceAppManagementTaskthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic AppVulnerabilityTask put()
this
with changed fields reset (they were ignored anyway).put in class DeviceAppManagementTaskthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic String toString()
toString in class DeviceAppManagementTaskCopyright © 2018–2020. All rights reserved.