Skip to content

Latest commit

 

History

History
149 lines (82 loc) · 4.04 KB

PackageVulnerability.md

File metadata and controls

149 lines (82 loc) · 4.04 KB

PackageVulnerability

Properties

Name Type Description Notes
Identifier string
Name Pointer to NullableString The name of this package. [optional] [readonly]
Url Pointer to string [optional] [readonly]
Version Pointer to NullableString The raw version for this package. [optional] [readonly]

Methods

NewPackageVulnerability

func NewPackageVulnerability(identifier string, ) *PackageVulnerability

NewPackageVulnerability instantiates a new PackageVulnerability 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

NewPackageVulnerabilityWithDefaults

func NewPackageVulnerabilityWithDefaults() *PackageVulnerability

NewPackageVulnerabilityWithDefaults instantiates a new PackageVulnerability 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

GetIdentifier

func (o *PackageVulnerability) GetIdentifier() string

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

GetIdentifierOk

func (o *PackageVulnerability) 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 *PackageVulnerability) SetIdentifier(v string)

SetIdentifier sets Identifier field to given value.

GetName

func (o *PackageVulnerability) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *PackageVulnerability) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetName

func (o *PackageVulnerability) SetName(v string)

SetName sets Name field to given value.

HasName

func (o *PackageVulnerability) HasName() bool

HasName returns a boolean if a field has been set.

SetNameNil

func (o *PackageVulnerability) SetNameNil(b bool)

SetNameNil sets the value for Name to be an explicit nil

UnsetName

func (o *PackageVulnerability) UnsetName()

UnsetName ensures that no value is present for Name, not even an explicit nil

GetUrl

func (o *PackageVulnerability) GetUrl() string

GetUrl returns the Url field if non-nil, zero value otherwise.

GetUrlOk

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

SetUrl

func (o *PackageVulnerability) SetUrl(v string)

SetUrl sets Url field to given value.

HasUrl

func (o *PackageVulnerability) HasUrl() bool

HasUrl returns a boolean if a field has been set.

GetVersion

func (o *PackageVulnerability) GetVersion() string

GetVersion returns the Version field if non-nil, zero value otherwise.

GetVersionOk

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

SetVersion

func (o *PackageVulnerability) SetVersion(v string)

SetVersion sets Version field to given value.

HasVersion

func (o *PackageVulnerability) HasVersion() bool

HasVersion returns a boolean if a field has been set.

SetVersionNil

func (o *PackageVulnerability) SetVersionNil(b bool)

SetVersionNil sets the value for Version to be an explicit nil

UnsetVersion

func (o *PackageVulnerability) UnsetVersion()

UnsetVersion ensures that no value is present for Version, not even an explicit nil

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