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