Skip to content

Latest commit

 

History

History
207 lines (112 loc) · 6.56 KB

File metadata and controls

207 lines (112 loc) · 6.56 KB

VulnerabilityScanResultsList

Properties

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.

Methods

NewVulnerabilityScanResultsList

func NewVulnerabilityScanResultsList(identifier string, package_ PackageVulnerability, scanId NullableInt64, ) *VulnerabilityScanResultsList

NewVulnerabilityScanResultsList instantiates a new VulnerabilityScanResultsList 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

NewVulnerabilityScanResultsListWithDefaults

func NewVulnerabilityScanResultsListWithDefaults() *VulnerabilityScanResultsList

NewVulnerabilityScanResultsListWithDefaults instantiates a new VulnerabilityScanResultsList 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

GetCreatedAt

func (o *VulnerabilityScanResultsList) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.

GetCreatedAtOk

func (o *VulnerabilityScanResultsList) 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.

SetCreatedAt

func (o *VulnerabilityScanResultsList) SetCreatedAt(v time.Time)

SetCreatedAt sets CreatedAt field to given value.

HasCreatedAt

func (o *VulnerabilityScanResultsList) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

GetHasVulnerabilities

func (o *VulnerabilityScanResultsList) GetHasVulnerabilities() bool

GetHasVulnerabilities returns the HasVulnerabilities field if non-nil, zero value otherwise.

GetHasVulnerabilitiesOk

func (o *VulnerabilityScanResultsList) 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.

SetHasVulnerabilities

func (o *VulnerabilityScanResultsList) SetHasVulnerabilities(v bool)

SetHasVulnerabilities sets HasVulnerabilities field to given value.

HasHasVulnerabilities

func (o *VulnerabilityScanResultsList) HasHasVulnerabilities() bool

HasHasVulnerabilities returns a boolean if a field has been set.

GetIdentifier

func (o *VulnerabilityScanResultsList) GetIdentifier() string

GetIdentifier returns the Identifier field if non-nil, zero value otherwise.

GetIdentifierOk

func (o *VulnerabilityScanResultsList) 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.

SetIdentifier

func (o *VulnerabilityScanResultsList) SetIdentifier(v string)

SetIdentifier sets Identifier field to given value.

GetMaxSeverity

func (o *VulnerabilityScanResultsList) GetMaxSeverity() string

GetMaxSeverity returns the MaxSeverity field if non-nil, zero value otherwise.

GetMaxSeverityOk

func (o *VulnerabilityScanResultsList) 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.

SetMaxSeverity

func (o *VulnerabilityScanResultsList) SetMaxSeverity(v string)

SetMaxSeverity sets MaxSeverity field to given value.

HasMaxSeverity

func (o *VulnerabilityScanResultsList) HasMaxSeverity() bool

HasMaxSeverity returns a boolean if a field has been set.

GetNumVulnerabilities

func (o *VulnerabilityScanResultsList) GetNumVulnerabilities() int64

GetNumVulnerabilities returns the NumVulnerabilities field if non-nil, zero value otherwise.

GetNumVulnerabilitiesOk

func (o *VulnerabilityScanResultsList) 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.

SetNumVulnerabilities

func (o *VulnerabilityScanResultsList) SetNumVulnerabilities(v int64)

SetNumVulnerabilities sets NumVulnerabilities field to given value.

HasNumVulnerabilities

func (o *VulnerabilityScanResultsList) HasNumVulnerabilities() bool

HasNumVulnerabilities returns a boolean if a field has been set.

GetPackage

func (o *VulnerabilityScanResultsList) GetPackage() PackageVulnerability

GetPackage returns the Package field if non-nil, zero value otherwise.

GetPackageOk

func (o *VulnerabilityScanResultsList) 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.

SetPackage

func (o *VulnerabilityScanResultsList) SetPackage(v PackageVulnerability)

SetPackage sets Package field to given value.

GetScanId

func (o *VulnerabilityScanResultsList) GetScanId() int64

GetScanId returns the ScanId field if non-nil, zero value otherwise.

GetScanIdOk

func (o *VulnerabilityScanResultsList) 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.

SetScanId

func (o *VulnerabilityScanResultsList) SetScanId(v int64)

SetScanId sets ScanId field to given value.

SetScanIdNil

func (o *VulnerabilityScanResultsList) SetScanIdNil(b bool)

SetScanIdNil sets the value for ScanId to be an explicit nil

UnsetScanId

func (o *VulnerabilityScanResultsList) UnsetScanId()

UnsetScanId ensures that no value is present for ScanId, not even an explicit nil

[Back to Model list] [Back to API list] [Back to README]