Name | Type | Description | Notes |
---|---|---|---|
CveId | string | CVE identitfier (https://www.cvedetails.com/cve-help.php). | [readonly] |
Url | string | [readonly] | |
Severity | VulnerabilitySeverity | ||
PublishedOn | time.Time | [readonly] | |
ModifiedOn | time.Time | [readonly] | |
Vendor | string | [readonly] | |
Product | string | [readonly] | |
Version | string | [readonly] |
func NewVulnerability(cveId string, url string, severity VulnerabilitySeverity, publishedOn time.Time, modifiedOn time.Time, vendor string, product string, version 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) GetCveId() string
GetCveId returns the CveId field if non-nil, zero value otherwise.
func (o *Vulnerability) GetCveIdOk() (*string, bool)
GetCveIdOk returns a tuple with the CveId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Vulnerability) SetCveId(v string)
SetCveId sets CveId field to given value.
func (o *Vulnerability) GetUrl() string
GetUrl returns the Url field if non-nil, zero value otherwise.
func (o *Vulnerability) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Vulnerability) SetUrl(v string)
SetUrl sets Url field to given value.
func (o *Vulnerability) GetSeverity() VulnerabilitySeverity
GetSeverity returns the Severity field if non-nil, zero value otherwise.
func (o *Vulnerability) GetSeverityOk() (*VulnerabilitySeverity, 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 VulnerabilitySeverity)
SetSeverity sets Severity field to given value.
func (o *Vulnerability) GetPublishedOn() time.Time
GetPublishedOn returns the PublishedOn field if non-nil, zero value otherwise.
func (o *Vulnerability) GetPublishedOnOk() (*time.Time, bool)
GetPublishedOnOk returns a tuple with the PublishedOn field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Vulnerability) SetPublishedOn(v time.Time)
SetPublishedOn sets PublishedOn field to given value.
func (o *Vulnerability) GetModifiedOn() time.Time
GetModifiedOn returns the ModifiedOn field if non-nil, zero value otherwise.
func (o *Vulnerability) GetModifiedOnOk() (*time.Time, bool)
GetModifiedOnOk returns a tuple with the ModifiedOn field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Vulnerability) SetModifiedOn(v time.Time)
SetModifiedOn sets ModifiedOn field to given value.
func (o *Vulnerability) GetVendor() string
GetVendor returns the Vendor field if non-nil, zero value otherwise.
func (o *Vulnerability) GetVendorOk() (*string, bool)
GetVendorOk returns a tuple with the Vendor field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Vulnerability) SetVendor(v string)
SetVendor sets Vendor field to given value.
func (o *Vulnerability) GetProduct() string
GetProduct returns the Product field if non-nil, zero value otherwise.
func (o *Vulnerability) GetProductOk() (*string, bool)
GetProductOk returns a tuple with the Product field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Vulnerability) SetProduct(v string)
SetProduct sets Product field to given value.
func (o *Vulnerability) GetVersion() string
GetVersion returns the Version field if non-nil, zero value otherwise.
func (o *Vulnerability) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Vulnerability) SetVersion(v string)
SetVersion sets Version field to given value.