Purl
Last updated
Last updated
Name | Type | Description | Notes |
---|---|---|---|
func NewPurl(type_ string, name string, version string, ) *Purl
NewPurl instantiates a new Purl 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 NewPurlWithDefaults() *Purl
NewPurlWithDefaults instantiates a new Purl 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 *Purl) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *Purl) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Purl) SetType(v string)
SetType sets Type field to given value.
func (o *Purl) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *Purl) 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 *Purl) SetName(v string)
SetName sets Name field to given value.
func (o *Purl) GetVersion() string
GetVersion returns the Version field if non-nil, zero value otherwise.
func (o *Purl) 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 *Purl) SetVersion(v string)
SetVersion sets Version field to given value.
Type
string
The affected package type
Name
string
The affected package name
Version
string
The affected package version