public class WindowsMalwareInformation extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
WindowsMalwareInformation.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
additionalInformationUrl |
protected WindowsMalwareCategory |
category |
protected String |
displayName |
protected OffsetDateTime |
lastDetectionDateTime |
protected WindowsMalwareSeverity |
severity |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
WindowsMalwareInformation() |
| Modifier and Type | Method and Description |
|---|---|
static WindowsMalwareInformation.Builder |
builderWindowsMalwareInformation()
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”
|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<String> |
getDisplayName()
“Malware name”
|
Optional<OffsetDateTime> |
getLastDetectionDateTime()
“The last time the malware is detected”
|
Optional<WindowsMalwareSeverity> |
getSeverity()
“Severity of the malware”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
WindowsProtectionStateCollectionRequest |
getWindowsDevicesProtectionState()
“List of devices' protection status affected with the current malware”
|
String |
odataTypeName() |
WindowsMalwareInformation |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
WindowsMalwareInformation |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
WindowsMalwareInformation |
withAdditionalInformationUrl(String additionalInformationUrl)
Returns an immutable copy of
this with just the additionalInformationUrl field changed. |
WindowsMalwareInformation |
withCategory(WindowsMalwareCategory category)
Returns an immutable copy of
this with just the category field
changed. |
WindowsMalwareInformation |
withDisplayName(String displayName)
Returns an immutable copy of
this with just the displayName
field changed. |
WindowsMalwareInformation |
withLastDetectionDateTime(OffsetDateTime lastDetectionDateTime)
Returns an immutable copy of
this with just the lastDetectionDateTime field changed. |
WindowsMalwareInformation |
withSeverity(WindowsMalwareSeverity severity)
Returns an immutable copy of
this with just the severity field
changed. |
protected String displayName
protected String additionalInformationUrl
protected WindowsMalwareSeverity severity
protected WindowsMalwareCategory category
protected OffsetDateTime lastDetectionDateTime
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static WindowsMalwareInformation.Builder builderWindowsMalwareInformation()
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 WindowsMalwareInformation 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 WindowsMalwareInformation 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 WindowsMalwareInformation 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> getCategory()
public WindowsMalwareInformation 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 Optional<OffsetDateTime> getLastDetectionDateTime()
public WindowsMalwareInformation withLastDetectionDateTime(OffsetDateTime lastDetectionDateTime)
this with just the lastDetectionDateTime 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 the malware is detected”
lastDetectionDateTime - new value of lastDetectionDateTime field (as defined in service metadata)this with just the lastDetectionDateTime field changedpublic WindowsProtectionStateCollectionRequest getWindowsDevicesProtectionState()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic WindowsMalwareInformation patch()
this with changed fields reset.public WindowsMalwareInformation put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.