public class WindowsDeviceMalwareState extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
WindowsDeviceMalwareState.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
additionalInformationUrl |
protected WindowsMalwareCategory |
category |
protected WindowsMalwareCategory |
catetgory |
protected Integer |
detectionCount |
protected String |
displayName |
protected WindowsMalwareExecutionState |
executionState |
protected OffsetDateTime |
initialDetectionDateTime |
protected OffsetDateTime |
lastStateChangeDateTime |
protected WindowsMalwareSeverity |
severity |
protected WindowsMalwareState |
state |
protected WindowsMalwareThreatState |
threatState |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
WindowsDeviceMalwareState() |
| Modifier and Type | Method and Description |
|---|---|
static WindowsDeviceMalwareState.Builder |
builderWindowsDeviceMalwareState()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<String> |
getAdditionalInformationUrl()
“Information URL to learn more about the malware”
|
Optional<WindowsMalwareCategory> |
getCategory()
“Category of the malware”
|
Optional<WindowsMalwareCategory> |
getCatetgory()
“Category of the malware”
|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<Integer> |
getDetectionCount()
“Number of times the malware is detected”
|
Optional<String> |
getDisplayName()
“Malware name”
|
Optional<WindowsMalwareExecutionState> |
getExecutionState()
“Execution status of the malware like blocked/executing etc”
|
Optional<OffsetDateTime> |
getInitialDetectionDateTime()
“Initial detection datetime of the malware”
|
Optional<OffsetDateTime> |
getLastStateChangeDateTime()
“The last time this particular threat was changed”
|
Optional<WindowsMalwareSeverity> |
getSeverity()
“Severity of the malware”
|
Optional<WindowsMalwareState> |
getState()
“Current status of the malware like cleaned/quarantined/allowed etc”
|
Optional<WindowsMalwareThreatState> |
getThreatState()
“Current status of the malware like cleaned/quarantined/allowed etc”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
WindowsDeviceMalwareState |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
WindowsDeviceMalwareState |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
WindowsDeviceMalwareState |
withAdditionalInformationUrl(String additionalInformationUrl)
Returns an immutable copy of
this with just the additionalInformationUrl field changed. |
WindowsDeviceMalwareState |
withCategory(WindowsMalwareCategory category)
Returns an immutable copy of
this with just the category field
changed. |
WindowsDeviceMalwareState |
withCatetgory(WindowsMalwareCategory catetgory)
Returns an immutable copy of
this with just the catetgory field
changed. |
WindowsDeviceMalwareState |
withDetectionCount(Integer detectionCount)
Returns an immutable copy of
this with just the detectionCount
field changed. |
WindowsDeviceMalwareState |
withDisplayName(String displayName)
Returns an immutable copy of
this with just the displayName
field changed. |
WindowsDeviceMalwareState |
withExecutionState(WindowsMalwareExecutionState executionState)
Returns an immutable copy of
this with just the executionState
field changed. |
WindowsDeviceMalwareState |
withInitialDetectionDateTime(OffsetDateTime initialDetectionDateTime)
Returns an immutable copy of
this with just the initialDetectionDateTime field changed. |
WindowsDeviceMalwareState |
withLastStateChangeDateTime(OffsetDateTime lastStateChangeDateTime)
Returns an immutable copy of
this with just the lastStateChangeDateTime field changed. |
WindowsDeviceMalwareState |
withSeverity(WindowsMalwareSeverity severity)
Returns an immutable copy of
this with just the severity field
changed. |
WindowsDeviceMalwareState |
withState(WindowsMalwareState state)
Returns an immutable copy of
this with just the state field
changed. |
WindowsDeviceMalwareState |
withThreatState(WindowsMalwareThreatState threatState)
Returns an immutable copy of
this with just the threatState
field changed. |
protected String displayName
protected String additionalInformationUrl
protected WindowsMalwareSeverity severity
protected WindowsMalwareCategory catetgory
protected WindowsMalwareExecutionState executionState
protected WindowsMalwareState state
protected WindowsMalwareThreatState threatState
protected OffsetDateTime initialDetectionDateTime
protected OffsetDateTime lastStateChangeDateTime
protected Integer detectionCount
protected WindowsMalwareCategory category
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static WindowsDeviceMalwareState.Builder builderWindowsDeviceMalwareState()
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 WindowsDeviceMalwareState 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.
“Malware name”
displayName - new value of displayName field (as defined in service metadata)this with just the displayName field changedpublic Optional<String> getAdditionalInformationUrl()
public WindowsDeviceMalwareState withAdditionalInformationUrl(String additionalInformationUrl)
this with just the additionalInformationUrl 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 URL to learn more about the malware”
additionalInformationUrl - new value of additionalInformationUrl field (as defined in service metadata)this with just the additionalInformationUrl field changedpublic Optional<WindowsMalwareSeverity> getSeverity()
public WindowsDeviceMalwareState withSeverity(WindowsMalwareSeverity severity)
this with just the severity 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.
“Severity of the malware”
severity - new value of severity field (as defined in service metadata)this with just the severity field changedpublic Optional<WindowsMalwareCategory> getCatetgory()
public WindowsDeviceMalwareState withCatetgory(WindowsMalwareCategory catetgory)
this with just the catetgory 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.
“Category of the malware”
catetgory - new value of catetgory field (as defined in service metadata)this with just the catetgory field changedpublic Optional<WindowsMalwareExecutionState> getExecutionState()
public WindowsDeviceMalwareState withExecutionState(WindowsMalwareExecutionState executionState)
this with just the executionState
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.
“Execution status of the malware like blocked/executing etc”
executionState - new value of executionState field (as defined in service metadata)this with just the executionState field changedpublic Optional<WindowsMalwareState> getState()
public WindowsDeviceMalwareState withState(WindowsMalwareState state)
this with just the state 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.
“Current status of the malware like cleaned/quarantined/allowed etc”
state - new value of state field (as defined in service metadata)this with just the state field changedpublic Optional<WindowsMalwareThreatState> getThreatState()
public WindowsDeviceMalwareState withThreatState(WindowsMalwareThreatState threatState)
this with just the threatState
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.
“Current status of the malware like cleaned/quarantined/allowed etc”
threatState - new value of threatState field (as defined in service metadata)this with just the threatState field changedpublic Optional<OffsetDateTime> getInitialDetectionDateTime()
public WindowsDeviceMalwareState withInitialDetectionDateTime(OffsetDateTime initialDetectionDateTime)
this with just the initialDetectionDateTime 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.
“Initial detection datetime of the malware”
initialDetectionDateTime - new value of initialDetectionDateTime field (as defined in service metadata)this with just the initialDetectionDateTime field changedpublic Optional<OffsetDateTime> getLastStateChangeDateTime()
public WindowsDeviceMalwareState withLastStateChangeDateTime(OffsetDateTime lastStateChangeDateTime)
this with just the lastStateChangeDateTime 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 last time this particular threat was changed”
lastStateChangeDateTime - new value of lastStateChangeDateTime field (as defined in service metadata)this with just the lastStateChangeDateTime field changedpublic Optional<Integer> getDetectionCount()
public WindowsDeviceMalwareState withDetectionCount(Integer detectionCount)
this with just the detectionCount
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.
“Number of times the malware is detected”
detectionCount - new value of detectionCount field (as defined in service metadata)this with just the detectionCount field changedpublic Optional<WindowsMalwareCategory> getCategory()
public WindowsDeviceMalwareState withCategory(WindowsMalwareCategory category)
this with just the category 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.
“Category of the malware”
category - new value of category field (as defined in service metadata)this with just the category field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic WindowsDeviceMalwareState patch()
this with changed fields reset.public WindowsDeviceMalwareState put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.