Package odata.msgraph.client.complex
Class MalwareState
- java.lang.Object
-
- odata.msgraph.client.complex.MalwareState
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class MalwareState extends Object implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMalwareState.Builder
-
Field Summary
Fields Modifier and Type Field Description protected Stringcategoryprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected Stringfamilyprotected Stringnameprotected StringodataTypeprotected Stringseverityprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFieldsprotected BooleanwasRunning
-
Constructor Summary
Constructors Modifier Constructor Description protectedMalwareState()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MalwareState.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<String>getCategory()Optional<String>getFamily()Optional<String>getName()Optional<String>getSeverity()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<Boolean>getWasRunning()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()MalwareStatewithCategory(String category)MalwareStatewithFamily(String family)MalwareStatewithName(String name)MalwareStatewithSeverity(String severity)MalwareStatewithUnmappedField(String name, Object value)MalwareStatewithWasRunning(Boolean wasRunning)
-
-
-
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
-
category
protected String category
-
family
protected String family
-
name
protected String name
-
severity
protected String severity
-
wasRunning
protected Boolean wasRunning
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
withCategory
public MalwareState withCategory(String category)
-
withFamily
public MalwareState withFamily(String family)
-
withName
public MalwareState withName(String name)
-
withSeverity
public MalwareState withSeverity(String severity)
-
withWasRunning
public MalwareState withWasRunning(Boolean wasRunning)
-
withUnmappedField
public MalwareState 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 MalwareState.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
-
-