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] |
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
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
func (o *PackageVulnerability) GetIdentifier() string
GetIdentifier returns the Identifier field if non-nil, zero value otherwise.
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.
func (o *PackageVulnerability) SetIdentifier(v string)
SetIdentifier sets Identifier field to given value.
func (o *PackageVulnerability) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
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.
func (o *PackageVulnerability) SetName(v string)
SetName sets Name field to given value.
func (o *PackageVulnerability) HasName() bool
HasName returns a boolean if a field has been set.
func (o *PackageVulnerability) SetNameNil(b bool)
SetNameNil sets the value for Name to be an explicit nil
func (o *PackageVulnerability) UnsetName()
UnsetName ensures that no value is present for Name, not even an explicit nil
func (o *PackageVulnerability) GetUrl() string
GetUrl returns the Url field if non-nil, zero value otherwise.
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.
func (o *PackageVulnerability) SetUrl(v string)
SetUrl sets Url field to given value.
func (o *PackageVulnerability) HasUrl() bool
HasUrl returns a boolean if a field has been set.
func (o *PackageVulnerability) GetVersion() string
GetVersion returns the Version field if non-nil, zero value otherwise.
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.
func (o *PackageVulnerability) SetVersion(v string)
SetVersion sets Version field to given value.
func (o *PackageVulnerability) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (o *PackageVulnerability) SetVersionNil(b bool)
SetVersionNil sets the value for Version to be an explicit nil
func (o *PackageVulnerability) UnsetVersion()
UnsetVersion ensures that no value is present for Version, not even an explicit nil