Package odata.msgraph.client.complex
Class WindowsMalwareNameCount
- java.lang.Object
-
- odata.msgraph.client.complex.WindowsMalwareNameCount
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class WindowsMalwareNameCount extends Object implements com.github.davidmoten.odata.client.ODataType
“Malware name device count”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWindowsMalwareNameCount.Builder
-
Field Summary
Fields Modifier and Type Field Description protected com.github.davidmoten.odata.client.ContextPathcontextPathprotected IntegerdeviceCountprotected OffsetDateTimelastUpdateDateTimeprotected StringmalwareIdentifierprotected Stringnameprotected StringodataTypeprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedWindowsMalwareNameCount()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WindowsMalwareNameCount.Builderbuilder()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.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()WindowsMalwareNameCountwithDeviceCount(Integer deviceCount)Returns an immutable copy ofthiswith just thedeviceCountfield changed.WindowsMalwareNameCountwithLastUpdateDateTime(OffsetDateTime lastUpdateDateTime)Returns an immutable copy ofthiswith just thelastUpdateDateTimefield changed.WindowsMalwareNameCountwithMalwareIdentifier(String malwareIdentifier)Returns an immutable copy ofthiswith just themalwareIdentifierfield changed.WindowsMalwareNameCountwithName(String name)Returns an immutable copy ofthiswith just thenamefield changed.WindowsMalwareNameCountwithUnmappedField(String name, Object value)
-
-
-
Field Detail
-
contextPath
protected com.github.davidmoten.odata.client.ContextPath contextPath
-
unmappedFields
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
-
odataType
protected String odataType
-
deviceCount
protected Integer deviceCount
-
lastUpdateDateTime
protected OffsetDateTime lastUpdateDateTime
-
malwareIdentifier
protected String malwareIdentifier
-
name
protected String name
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getDeviceCount
public Optional<Integer> getDeviceCount()
“Count of devices with malware dectected for this malware”- Returns:
- property deviceCount
-
withDeviceCount
public WindowsMalwareNameCount withDeviceCount(Integer deviceCount)
Returns an immutable copy ofthiswith just thedeviceCountfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“Count of devices with malware dectected for this malware”
- Parameters:
deviceCount- new value ofdeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceCountfield changed
-
getLastUpdateDateTime
public Optional<OffsetDateTime> getLastUpdateDateTime()
“The Timestamp of the last update for the device count in UTC”- Returns:
- property lastUpdateDateTime
-
withLastUpdateDateTime
public WindowsMalwareNameCount withLastUpdateDateTime(OffsetDateTime lastUpdateDateTime)
Returns an immutable copy ofthiswith just thelastUpdateDateTimefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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”
- Parameters:
lastUpdateDateTime- new value oflastUpdateDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelastUpdateDateTimefield changed
-
getMalwareIdentifier
public Optional<String> getMalwareIdentifier()
“The unique identifier. This is malware identifier”- Returns:
- property malwareIdentifier
-
withMalwareIdentifier
public WindowsMalwareNameCount withMalwareIdentifier(String malwareIdentifier)
Returns an immutable copy ofthiswith just themalwareIdentifierfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“The unique identifier. This is malware identifier”
- Parameters:
malwareIdentifier- new value ofmalwareIdentifierfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themalwareIdentifierfield changed
-
withName
public WindowsMalwareNameCount withName(String name)
Returns an immutable copy ofthiswith just thenamefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Malware name”
- Parameters:
name- new value ofnamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thenamefield changed
-
withUnmappedField
public WindowsMalwareNameCount withUnmappedField(String name, Object value)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType
-
builder
public static WindowsMalwareNameCount.Builder builder()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
-