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