Name | Type | Description | Notes |
---|---|---|---|
Type | Pointer to string | [optional] [default to "vulnerability"] | |
Name | string | ||
Description | Pointer to string | [optional] [default to ""] | |
Context | Pointer to []map[string]interface{} | [optional] [default to []] | |
Created | Pointer to time.Time | [optional] | |
Modified | Pointer to time.Time | [optional] | |
Title | Pointer to string | [optional] [default to ""] | |
BaseScore | Pointer to float32 | [optional] [default to 0.0] | |
Severity | Pointer to SeverityType | [optional] | |
Reference | Pointer to string | [optional] [default to ""] | |
Id | string | [readonly] | |
Tags | map[string]TagRelationshipOutput | [readonly] | |
RootType | string | [readonly] | |
RelatedObservablesCount | int32 | [readonly] |
func NewVulnerabilityOutput(name string, id string, tags map[string]TagRelationshipOutput, rootType string, relatedObservablesCount int32, ) *VulnerabilityOutput
NewVulnerabilityOutput instantiates a new VulnerabilityOutput 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 NewVulnerabilityOutputWithDefaults() *VulnerabilityOutput
NewVulnerabilityOutputWithDefaults instantiates a new VulnerabilityOutput 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 *VulnerabilityOutput) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *VulnerabilityOutput) 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 *VulnerabilityOutput) SetType(v string)
SetType sets Type field to given value.
func (o *VulnerabilityOutput) HasType() bool
HasType returns a boolean if a field has been set.
func (o *VulnerabilityOutput) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *VulnerabilityOutput) 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 *VulnerabilityOutput) SetName(v string)
SetName sets Name field to given value.
func (o *VulnerabilityOutput) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *VulnerabilityOutput) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VulnerabilityOutput) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *VulnerabilityOutput) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *VulnerabilityOutput) GetContext() []map[string]interface{}
GetContext returns the Context field if non-nil, zero value otherwise.
func (o *VulnerabilityOutput) GetContextOk() (*[]map[string]interface{}, bool)
GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VulnerabilityOutput) SetContext(v []map[string]interface{})
SetContext sets Context field to given value.
func (o *VulnerabilityOutput) HasContext() bool
HasContext returns a boolean if a field has been set.
func (o *VulnerabilityOutput) GetCreated() time.Time
GetCreated returns the Created field if non-nil, zero value otherwise.
func (o *VulnerabilityOutput) GetCreatedOk() (*time.Time, bool)
GetCreatedOk returns a tuple with the Created field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VulnerabilityOutput) SetCreated(v time.Time)
SetCreated sets Created field to given value.
func (o *VulnerabilityOutput) HasCreated() bool
HasCreated returns a boolean if a field has been set.
func (o *VulnerabilityOutput) GetModified() time.Time
GetModified returns the Modified field if non-nil, zero value otherwise.
func (o *VulnerabilityOutput) GetModifiedOk() (*time.Time, bool)
GetModifiedOk returns a tuple with the Modified field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VulnerabilityOutput) SetModified(v time.Time)
SetModified sets Modified field to given value.
func (o *VulnerabilityOutput) HasModified() bool
HasModified returns a boolean if a field has been set.
func (o *VulnerabilityOutput) GetTitle() string
GetTitle returns the Title field if non-nil, zero value otherwise.
func (o *VulnerabilityOutput) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VulnerabilityOutput) SetTitle(v string)
SetTitle sets Title field to given value.
func (o *VulnerabilityOutput) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (o *VulnerabilityOutput) GetBaseScore() float32
GetBaseScore returns the BaseScore field if non-nil, zero value otherwise.
func (o *VulnerabilityOutput) GetBaseScoreOk() (*float32, bool)
GetBaseScoreOk returns a tuple with the BaseScore field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VulnerabilityOutput) SetBaseScore(v float32)
SetBaseScore sets BaseScore field to given value.
func (o *VulnerabilityOutput) HasBaseScore() bool
HasBaseScore returns a boolean if a field has been set.
func (o *VulnerabilityOutput) GetSeverity() SeverityType
GetSeverity returns the Severity field if non-nil, zero value otherwise.
func (o *VulnerabilityOutput) GetSeverityOk() (*SeverityType, bool)
GetSeverityOk returns a tuple with the Severity field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VulnerabilityOutput) SetSeverity(v SeverityType)
SetSeverity sets Severity field to given value.
func (o *VulnerabilityOutput) HasSeverity() bool
HasSeverity returns a boolean if a field has been set.
func (o *VulnerabilityOutput) GetReference() string
GetReference returns the Reference field if non-nil, zero value otherwise.
func (o *VulnerabilityOutput) GetReferenceOk() (*string, bool)
GetReferenceOk returns a tuple with the Reference field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VulnerabilityOutput) SetReference(v string)
SetReference sets Reference field to given value.
func (o *VulnerabilityOutput) HasReference() bool
HasReference returns a boolean if a field has been set.
func (o *VulnerabilityOutput) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *VulnerabilityOutput) 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 *VulnerabilityOutput) SetId(v string)
SetId sets Id field to given value.
func (o *VulnerabilityOutput) GetTags() map[string]TagRelationshipOutput
GetTags returns the Tags field if non-nil, zero value otherwise.
func (o *VulnerabilityOutput) GetTagsOk() (*map[string]TagRelationshipOutput, bool)
GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VulnerabilityOutput) SetTags(v map[string]TagRelationshipOutput)
SetTags sets Tags field to given value.
func (o *VulnerabilityOutput) GetRootType() string
GetRootType returns the RootType field if non-nil, zero value otherwise.
func (o *VulnerabilityOutput) GetRootTypeOk() (*string, bool)
GetRootTypeOk returns a tuple with the RootType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VulnerabilityOutput) SetRootType(v string)
SetRootType sets RootType field to given value.
func (o *VulnerabilityOutput) GetRelatedObservablesCount() int32
GetRelatedObservablesCount returns the RelatedObservablesCount field if non-nil, zero value otherwise.
func (o *VulnerabilityOutput) GetRelatedObservablesCountOk() (*int32, bool)
GetRelatedObservablesCountOk returns a tuple with the RelatedObservablesCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VulnerabilityOutput) SetRelatedObservablesCount(v int32)
SetRelatedObservablesCount sets RelatedObservablesCount field to given value.