public class WindowsMalwareNameCount extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
WindowsMalwareNameCount.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected Integer |
deviceCount |
protected OffsetDateTime |
lastUpdateDateTime |
protected String |
malwareIdentifier |
protected String |
name |
protected String |
odataType |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
WindowsMalwareNameCount() |
| Modifier and Type | Method and Description |
|---|---|
static WindowsMalwareNameCount.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<Integer> |
getDeviceCount()
“Count of devices with malware dectected for this malware”
|
Optional<OffsetDateTime> |
getLastUpdateDateTime()
“The Timestamp of the last update for the device count in UTC”
|
Optional<String> |
getMalwareIdentifier()
“The unique identifier.
|
Optional<String> |
getName()
“Malware name”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
WindowsMalwareNameCount |
withDeviceCount(Integer deviceCount)
Returns an immutable copy of
this with just the deviceCount
field changed. |
WindowsMalwareNameCount |
withLastUpdateDateTime(OffsetDateTime lastUpdateDateTime)
Returns an immutable copy of
this with just the lastUpdateDateTime field changed. |
WindowsMalwareNameCount |
withMalwareIdentifier(String malwareIdentifier)
Returns an immutable copy of
this with just the malwareIdentifier
field changed. |
WindowsMalwareNameCount |
withName(String name)
Returns an immutable copy of
this with just the name field
changed. |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected String malwareIdentifier
protected String name
protected Integer deviceCount
protected OffsetDateTime lastUpdateDateTime
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic Optional<String> getMalwareIdentifier()
public WindowsMalwareNameCount withMalwareIdentifier(String malwareIdentifier)
this with just the malwareIdentifier
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 unique identifier. This is malware identifier”
malwareIdentifier - new value of malwareIdentifier field (as defined in service metadata)this with just the malwareIdentifier field changedpublic WindowsMalwareNameCount withName(String name)
this with just the name 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”
name - new value of name field (as defined in service metadata)this with just the name field changedpublic Optional<Integer> getDeviceCount()
public WindowsMalwareNameCount 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.
“Count of devices with malware dectected for this malware”
deviceCount - new value of deviceCount field (as defined in service metadata)this with just the deviceCount field changedpublic Optional<OffsetDateTime> getLastUpdateDateTime()
public WindowsMalwareNameCount withLastUpdateDateTime(OffsetDateTime lastUpdateDateTime)
this with just the lastUpdateDateTime 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 Timestamp of the last update for the device count in UTC”
lastUpdateDateTime - new value of lastUpdateDateTime field (as defined in service metadata)this with just the lastUpdateDateTime field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypepublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepublic static WindowsMalwareNameCount.Builder builder()
Copyright © 2018–2020. All rights reserved.