VulnerabilityRead
Last updated
Last updated
Name | Type | Description | Notes |
---|---|---|---|
func NewVulnerabilityRead(id string, type_ string, href string, metadata VulnerabilityMetadata, properties Vulnerability, ) *VulnerabilityRead
NewVulnerabilityRead instantiates a new VulnerabilityRead 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 NewVulnerabilityReadWithDefaults() *VulnerabilityRead
NewVulnerabilityReadWithDefaults instantiates a new VulnerabilityRead 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 *VulnerabilityRead) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *VulnerabilityRead) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VulnerabilityRead) SetId(v string)
SetId sets Id field to given value.
func (o *VulnerabilityRead) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *VulnerabilityRead) 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 *VulnerabilityRead) SetType(v string)
SetType sets Type field to given value.
func (o *VulnerabilityRead) GetHref() string
GetHref returns the Href field if non-nil, zero value otherwise.
func (o *VulnerabilityRead) GetHrefOk() (*string, bool)
GetHrefOk returns a tuple with the Href field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VulnerabilityRead) SetHref(v string)
SetHref sets Href field to given value.
func (o *VulnerabilityRead) GetMetadata() VulnerabilityMetadata
GetMetadata returns the Metadata field if non-nil, zero value otherwise.
func (o *VulnerabilityRead) GetMetadataOk() (*VulnerabilityMetadata, bool)
GetMetadataOk returns a tuple with the Metadata field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VulnerabilityRead) SetMetadata(v VulnerabilityMetadata)
SetMetadata sets Metadata field to given value.
func (o *VulnerabilityRead) GetProperties() Vulnerability
GetProperties returns the Properties field if non-nil, zero value otherwise.
func (o *VulnerabilityRead) GetPropertiesOk() (*Vulnerability, bool)
GetPropertiesOk returns a tuple with the Properties field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VulnerabilityRead) SetProperties(v Vulnerability)
SetProperties sets Properties field to given value.
Id
string
The ID of the vulnerability allocated by the advisory database
Type
string
Href
string
Metadata
Properties