Class CvssSummary
- java.lang.Object
-
- odata.msgraph.client.security.complex.CvssSummary
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class CvssSummary extends Object implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCvssSummary.Builder
-
Field Summary
Fields Modifier and Type Field Description protected com.github.davidmoten.odata.client.ContextPathcontextPathprotected StringodataTypeprotected Doublescoreprotected VulnerabilitySeverityseverityprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFieldsprotected StringvectorString
-
Constructor Summary
Constructors Modifier Constructor Description protectedCvssSummary()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CvssSummary.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<Double>getScore()Optional<VulnerabilitySeverity>getSeverity()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<String>getVectorString()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()CvssSummarywithScore(Double score)CvssSummarywithSeverity(VulnerabilitySeverity severity)CvssSummarywithUnmappedField(String name, Object value)CvssSummarywithVectorString(String vectorString)
-
-
-
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
-
score
protected Double score
-
severity
protected VulnerabilitySeverity severity
-
vectorString
protected String vectorString
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
withScore
public CvssSummary withScore(Double score)
-
getSeverity
public Optional<VulnerabilitySeverity> getSeverity()
-
withSeverity
public CvssSummary withSeverity(VulnerabilitySeverity severity)
-
withVectorString
public CvssSummary withVectorString(String vectorString)
-
withUnmappedField
public CvssSummary 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 CvssSummary.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
-
-