Class Vulnerability
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.security.entity.Vulnerability
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Vulnerability extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
Org.OData.Capabilities.V1.CountRestrictions
Countable = false
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.FilterRestrictions
Filterable = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
Org.OData.Capabilities.V1.SelectRestrictions
Selectable = true
Org.OData.Capabilities.V1.SkipSupported
false
Org.OData.Capabilities.V1.SortRestrictions
Sortable = false
Org.OData.Capabilities.V1.TopSupported
false
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVulnerability.Builder
-
Field Summary
Fields Modifier and Type Field Description protected BooleanactiveExploitsObservedprotected List<String>commonWeaknessEnumerationIdsprotected StringcommonWeaknessEnumerationIdsNextLinkprotected List<VulnerabilityComponent>componentsprotected OffsetDateTimecreatedDateTimeprotected CvssSummarycvss2Summaryprotected CvssSummarycvss3Summaryprotected FormattedContentdescriptionprotected List<Hyperlink>exploitsprotected BooleanexploitsAvailableprotected StringexploitsNextLinkprotected BooleanhasChatterprotected OffsetDateTimelastModifiedDateTimeprotected IntegerpriorityScoreprotected OffsetDateTimepublishedDateTimeprotected List<Hyperlink>referencesprotected StringreferencesNextLinkprotected FormattedContentremediationprotected VulnerabilitySeverityseverity-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedVulnerability()
-
Method Summary
-
-
-
Field Detail
-
activeExploitsObserved
protected Boolean activeExploitsObserved
-
commonWeaknessEnumerationIdsNextLink
protected String commonWeaknessEnumerationIdsNextLink
-
createdDateTime
protected OffsetDateTime createdDateTime
-
cvss2Summary
protected CvssSummary cvss2Summary
-
cvss3Summary
protected CvssSummary cvss3Summary
-
description
protected FormattedContent description
-
exploitsNextLink
protected String exploitsNextLink
-
exploitsAvailable
protected Boolean exploitsAvailable
-
hasChatter
protected Boolean hasChatter
-
lastModifiedDateTime
protected OffsetDateTime lastModifiedDateTime
-
priorityScore
protected Integer priorityScore
-
publishedDateTime
protected OffsetDateTime publishedDateTime
-
referencesNextLink
protected String referencesNextLink
-
remediation
protected FormattedContent remediation
-
severity
protected VulnerabilitySeverity severity
-
components
protected List<VulnerabilityComponent> components
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderVulnerability
public static Vulnerability.Builder builderVulnerability()
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
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
withActiveExploitsObserved
public Vulnerability withActiveExploitsObserved(Boolean activeExploitsObserved)
-
getCommonWeaknessEnumerationIds
public com.github.davidmoten.odata.client.CollectionPage<String> getCommonWeaknessEnumerationIds()
-
withCommonWeaknessEnumerationIds
public Vulnerability withCommonWeaknessEnumerationIds(List<String> commonWeaknessEnumerationIds)
-
getCommonWeaknessEnumerationIds
public com.github.davidmoten.odata.client.CollectionPage<String> getCommonWeaknessEnumerationIds(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getCreatedDateTime
public Optional<OffsetDateTime> getCreatedDateTime()
-
withCreatedDateTime
public Vulnerability withCreatedDateTime(OffsetDateTime createdDateTime)
-
getCvss2Summary
public Optional<CvssSummary> getCvss2Summary()
-
withCvss2Summary
public Vulnerability withCvss2Summary(CvssSummary cvss2Summary)
-
getCvss3Summary
public Optional<CvssSummary> getCvss3Summary()
-
withCvss3Summary
public Vulnerability withCvss3Summary(CvssSummary cvss3Summary)
-
getDescription
public Optional<FormattedContent> getDescription()
-
withDescription
public Vulnerability withDescription(FormattedContent description)
-
getExploits
public com.github.davidmoten.odata.client.CollectionPage<Hyperlink> getExploits()
-
withExploits
public Vulnerability withExploits(List<Hyperlink> exploits)
-
getExploits
public com.github.davidmoten.odata.client.CollectionPage<Hyperlink> getExploits(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withExploitsAvailable
public Vulnerability withExploitsAvailable(Boolean exploitsAvailable)
-
withHasChatter
public Vulnerability withHasChatter(Boolean hasChatter)
-
getLastModifiedDateTime
public Optional<OffsetDateTime> getLastModifiedDateTime()
-
withLastModifiedDateTime
public Vulnerability withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
-
withPriorityScore
public Vulnerability withPriorityScore(Integer priorityScore)
-
getPublishedDateTime
public Optional<OffsetDateTime> getPublishedDateTime()
-
withPublishedDateTime
public Vulnerability withPublishedDateTime(OffsetDateTime publishedDateTime)
-
getReferences
public com.github.davidmoten.odata.client.CollectionPage<Hyperlink> getReferences()
-
withReferences
public Vulnerability withReferences(List<Hyperlink> references)
-
getReferences
public com.github.davidmoten.odata.client.CollectionPage<Hyperlink> getReferences(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getRemediation
public Optional<FormattedContent> getRemediation()
-
withRemediation
public Vulnerability withRemediation(FormattedContent remediation)
-
getSeverity
public Optional<VulnerabilitySeverity> getSeverity()
-
withSeverity
public Vulnerability withSeverity(VulnerabilitySeverity severity)
-
withUnmappedField
public Vulnerability withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classEntity
-
getArticles
public ArticleCollectionRequest getArticles()
-
getComponents
public VulnerabilityComponentCollectionRequest getComponents()
-
withComponents
public Vulnerability withComponents(List<VulnerabilityComponent> components)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public Vulnerability patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public Vulnerability put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-