| Name | Type | Description | Notes |
|---|---|---|---|
| AffectedVersion | VulnerabilityScanVersion | ||
| CvssScores | Pointer to map[string]map[string]map[string]interface{} | CVSS Scores (when available from the raw scan results) | [optional] [readonly] |
| Description | string | ||
| FixedVersion | VulnerabilityScanVersion | ||
| PackageName | string | ||
| References | []string | ||
| Severity | Pointer to string | [optional] [default to "Unknown"] | |
| SeveritySource | string | ||
| Title | string | ||
| VulnerabilityId | string |
func NewVulnerability(affectedVersion VulnerabilityScanVersion, description string, fixedVersion VulnerabilityScanVersion, packageName string, references []string, severitySource string, title string, vulnerabilityId string, ) *Vulnerability
NewVulnerability instantiates a new Vulnerability object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewVulnerabilityWithDefaults() *Vulnerability
NewVulnerabilityWithDefaults instantiates a new Vulnerability object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *Vulnerability) GetAffectedVersion() VulnerabilityScanVersion
GetAffectedVersion returns the AffectedVersion field if non-nil, zero value otherwise.
func (o *Vulnerability) GetAffectedVersionOk() (*VulnerabilityScanVersion, bool)
GetAffectedVersionOk returns a tuple with the AffectedVersion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Vulnerability) SetAffectedVersion(v VulnerabilityScanVersion)
SetAffectedVersion sets AffectedVersion field to given value.
func (o *Vulnerability) GetCvssScores() map[string]map[string]map[string]interface{}
GetCvssScores returns the CvssScores field if non-nil, zero value otherwise.
func (o *Vulnerability) GetCvssScoresOk() (*map[string]map[string]map[string]interface{}, bool)
GetCvssScoresOk returns a tuple with the CvssScores field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Vulnerability) SetCvssScores(v map[string]map[string]map[string]interface{})
SetCvssScores sets CvssScores field to given value.
func (o *Vulnerability) HasCvssScores() bool
HasCvssScores returns a boolean if a field has been set.
func (o *Vulnerability) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *Vulnerability) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Vulnerability) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *Vulnerability) GetFixedVersion() VulnerabilityScanVersion
GetFixedVersion returns the FixedVersion field if non-nil, zero value otherwise.
func (o *Vulnerability) GetFixedVersionOk() (*VulnerabilityScanVersion, bool)
GetFixedVersionOk returns a tuple with the FixedVersion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Vulnerability) SetFixedVersion(v VulnerabilityScanVersion)
SetFixedVersion sets FixedVersion field to given value.
func (o *Vulnerability) GetPackageName() string
GetPackageName returns the PackageName field if non-nil, zero value otherwise.
func (o *Vulnerability) GetPackageNameOk() (*string, bool)
GetPackageNameOk returns a tuple with the PackageName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Vulnerability) SetPackageName(v string)
SetPackageName sets PackageName field to given value.
func (o *Vulnerability) GetReferences() []string
GetReferences returns the References field if non-nil, zero value otherwise.
func (o *Vulnerability) GetReferencesOk() (*[]string, bool)
GetReferencesOk returns a tuple with the References field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Vulnerability) SetReferences(v []string)
SetReferences sets References field to given value.
func (o *Vulnerability) GetSeverity() string
GetSeverity returns the Severity field if non-nil, zero value otherwise.
func (o *Vulnerability) GetSeverityOk() (*string, bool)
GetSeverityOk returns a tuple with the Severity field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Vulnerability) SetSeverity(v string)
SetSeverity sets Severity field to given value.
func (o *Vulnerability) HasSeverity() bool
HasSeverity returns a boolean if a field has been set.
func (o *Vulnerability) GetSeveritySource() string
GetSeveritySource returns the SeveritySource field if non-nil, zero value otherwise.
func (o *Vulnerability) GetSeveritySourceOk() (*string, bool)
GetSeveritySourceOk returns a tuple with the SeveritySource field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Vulnerability) SetSeveritySource(v string)
SetSeveritySource sets SeveritySource field to given value.
func (o *Vulnerability) GetTitle() string
GetTitle returns the Title field if non-nil, zero value otherwise.
func (o *Vulnerability) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Vulnerability) SetTitle(v string)
SetTitle sets Title field to given value.
func (o *Vulnerability) GetVulnerabilityId() string
GetVulnerabilityId returns the VulnerabilityId field if non-nil, zero value otherwise.
func (o *Vulnerability) GetVulnerabilityIdOk() (*string, bool)
GetVulnerabilityIdOk returns a tuple with the VulnerabilityId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Vulnerability) SetVulnerabilityId(v string)
SetVulnerabilityId sets VulnerabilityId field to given value.