Name | Type | Description | Notes |
---|---|---|---|
CreatedAt | Pointer to time.Time | The time this scan result was stored. | [optional] [readonly] |
HasVulnerabilities | Pointer to bool | Do the results contain any known vulnerabilities? | [optional] [readonly] |
Identifier | string | ||
MaxSeverity | Pointer to string | [optional] [default to "Unknown"] | |
NumVulnerabilities | Pointer to int64 | [optional] | |
Package | PackageVulnerability | ||
ScanId | NullableInt64 | Deprecated (23-05-15): Please use 'identifier' instead. Previously: A monotonically increasing number that identified a scan within a repository. | |
Scans | []VulnerabilityScan |
func NewVulnerabilityScanResults(identifier string, package_ PackageVulnerability, scanId NullableInt64, scans []VulnerabilityScan, ) *VulnerabilityScanResults
NewVulnerabilityScanResults instantiates a new VulnerabilityScanResults 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 NewVulnerabilityScanResultsWithDefaults() *VulnerabilityScanResults
NewVulnerabilityScanResultsWithDefaults instantiates a new VulnerabilityScanResults 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 *VulnerabilityScanResults) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *VulnerabilityScanResults) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VulnerabilityScanResults) SetCreatedAt(v time.Time)
SetCreatedAt sets CreatedAt field to given value.
func (o *VulnerabilityScanResults) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (o *VulnerabilityScanResults) GetHasVulnerabilities() bool
GetHasVulnerabilities returns the HasVulnerabilities field if non-nil, zero value otherwise.
func (o *VulnerabilityScanResults) GetHasVulnerabilitiesOk() (*bool, bool)
GetHasVulnerabilitiesOk returns a tuple with the HasVulnerabilities field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VulnerabilityScanResults) SetHasVulnerabilities(v bool)
SetHasVulnerabilities sets HasVulnerabilities field to given value.
func (o *VulnerabilityScanResults) HasHasVulnerabilities() bool
HasHasVulnerabilities returns a boolean if a field has been set.
func (o *VulnerabilityScanResults) GetIdentifier() string
GetIdentifier returns the Identifier field if non-nil, zero value otherwise.
func (o *VulnerabilityScanResults) GetIdentifierOk() (*string, bool)
GetIdentifierOk returns a tuple with the Identifier field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VulnerabilityScanResults) SetIdentifier(v string)
SetIdentifier sets Identifier field to given value.
func (o *VulnerabilityScanResults) GetMaxSeverity() string
GetMaxSeverity returns the MaxSeverity field if non-nil, zero value otherwise.
func (o *VulnerabilityScanResults) GetMaxSeverityOk() (*string, bool)
GetMaxSeverityOk returns a tuple with the MaxSeverity field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VulnerabilityScanResults) SetMaxSeverity(v string)
SetMaxSeverity sets MaxSeverity field to given value.
func (o *VulnerabilityScanResults) HasMaxSeverity() bool
HasMaxSeverity returns a boolean if a field has been set.
func (o *VulnerabilityScanResults) GetNumVulnerabilities() int64
GetNumVulnerabilities returns the NumVulnerabilities field if non-nil, zero value otherwise.
func (o *VulnerabilityScanResults) GetNumVulnerabilitiesOk() (*int64, bool)
GetNumVulnerabilitiesOk returns a tuple with the NumVulnerabilities field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VulnerabilityScanResults) SetNumVulnerabilities(v int64)
SetNumVulnerabilities sets NumVulnerabilities field to given value.
func (o *VulnerabilityScanResults) HasNumVulnerabilities() bool
HasNumVulnerabilities returns a boolean if a field has been set.
func (o *VulnerabilityScanResults) GetPackage() PackageVulnerability
GetPackage returns the Package field if non-nil, zero value otherwise.
func (o *VulnerabilityScanResults) GetPackageOk() (*PackageVulnerability, bool)
GetPackageOk returns a tuple with the Package field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VulnerabilityScanResults) SetPackage(v PackageVulnerability)
SetPackage sets Package field to given value.
func (o *VulnerabilityScanResults) GetScanId() int64
GetScanId returns the ScanId field if non-nil, zero value otherwise.
func (o *VulnerabilityScanResults) GetScanIdOk() (*int64, bool)
GetScanIdOk returns a tuple with the ScanId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VulnerabilityScanResults) SetScanId(v int64)
SetScanId sets ScanId field to given value.
func (o *VulnerabilityScanResults) SetScanIdNil(b bool)
SetScanIdNil sets the value for ScanId to be an explicit nil
func (o *VulnerabilityScanResults) UnsetScanId()
UnsetScanId ensures that no value is present for ScanId, not even an explicit nil
func (o *VulnerabilityScanResults) GetScans() []VulnerabilityScan
GetScans returns the Scans field if non-nil, zero value otherwise.
func (o *VulnerabilityScanResults) GetScansOk() (*[]VulnerabilityScan, bool)
GetScansOk returns a tuple with the Scans field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VulnerabilityScanResults) SetScans(v []VulnerabilityScan)
SetScans sets Scans field to given value.