Skip to content

Latest commit

 

History

History
369 lines (198 loc) · 9.93 KB

VulnerabilityOutput.md

File metadata and controls

369 lines (198 loc) · 9.93 KB

VulnerabilityOutput

Properties

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]

Methods

NewVulnerabilityOutput

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

NewVulnerabilityOutputWithDefaults

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

GetType

func (o *VulnerabilityOutput) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk

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.

SetType

func (o *VulnerabilityOutput) SetType(v string)

SetType sets Type field to given value.

HasType

func (o *VulnerabilityOutput) HasType() bool

HasType returns a boolean if a field has been set.

GetName

func (o *VulnerabilityOutput) GetName() string

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

GetNameOk

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.

SetName

func (o *VulnerabilityOutput) SetName(v string)

SetName sets Name field to given value.

GetDescription

func (o *VulnerabilityOutput) GetDescription() string

GetDescription returns the Description field if non-nil, zero value otherwise.

GetDescriptionOk

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.

SetDescription

func (o *VulnerabilityOutput) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *VulnerabilityOutput) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetContext

func (o *VulnerabilityOutput) GetContext() []map[string]interface{}

GetContext returns the Context field if non-nil, zero value otherwise.

GetContextOk

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.

SetContext

func (o *VulnerabilityOutput) SetContext(v []map[string]interface{})

SetContext sets Context field to given value.

HasContext

func (o *VulnerabilityOutput) HasContext() bool

HasContext returns a boolean if a field has been set.

GetCreated

func (o *VulnerabilityOutput) GetCreated() time.Time

GetCreated returns the Created field if non-nil, zero value otherwise.

GetCreatedOk

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.

SetCreated

func (o *VulnerabilityOutput) SetCreated(v time.Time)

SetCreated sets Created field to given value.

HasCreated

func (o *VulnerabilityOutput) HasCreated() bool

HasCreated returns a boolean if a field has been set.

GetModified

func (o *VulnerabilityOutput) GetModified() time.Time

GetModified returns the Modified field if non-nil, zero value otherwise.

GetModifiedOk

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.

SetModified

func (o *VulnerabilityOutput) SetModified(v time.Time)

SetModified sets Modified field to given value.

HasModified

func (o *VulnerabilityOutput) HasModified() bool

HasModified returns a boolean if a field has been set.

GetTitle

func (o *VulnerabilityOutput) GetTitle() string

GetTitle returns the Title field if non-nil, zero value otherwise.

GetTitleOk

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.

SetTitle

func (o *VulnerabilityOutput) SetTitle(v string)

SetTitle sets Title field to given value.

HasTitle

func (o *VulnerabilityOutput) HasTitle() bool

HasTitle returns a boolean if a field has been set.

GetBaseScore

func (o *VulnerabilityOutput) GetBaseScore() float32

GetBaseScore returns the BaseScore field if non-nil, zero value otherwise.

GetBaseScoreOk

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.

SetBaseScore

func (o *VulnerabilityOutput) SetBaseScore(v float32)

SetBaseScore sets BaseScore field to given value.

HasBaseScore

func (o *VulnerabilityOutput) HasBaseScore() bool

HasBaseScore returns a boolean if a field has been set.

GetSeverity

func (o *VulnerabilityOutput) GetSeverity() SeverityType

GetSeverity returns the Severity field if non-nil, zero value otherwise.

GetSeverityOk

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.

SetSeverity

func (o *VulnerabilityOutput) SetSeverity(v SeverityType)

SetSeverity sets Severity field to given value.

HasSeverity

func (o *VulnerabilityOutput) HasSeverity() bool

HasSeverity returns a boolean if a field has been set.

GetReference

func (o *VulnerabilityOutput) GetReference() string

GetReference returns the Reference field if non-nil, zero value otherwise.

GetReferenceOk

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.

SetReference

func (o *VulnerabilityOutput) SetReference(v string)

SetReference sets Reference field to given value.

HasReference

func (o *VulnerabilityOutput) HasReference() bool

HasReference returns a boolean if a field has been set.

GetId

func (o *VulnerabilityOutput) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

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.

SetId

func (o *VulnerabilityOutput) SetId(v string)

SetId sets Id field to given value.

GetTags

func (o *VulnerabilityOutput) GetTags() map[string]TagRelationshipOutput

GetTags returns the Tags field if non-nil, zero value otherwise.

GetTagsOk

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.

SetTags

func (o *VulnerabilityOutput) SetTags(v map[string]TagRelationshipOutput)

SetTags sets Tags field to given value.

GetRootType

func (o *VulnerabilityOutput) GetRootType() string

GetRootType returns the RootType field if non-nil, zero value otherwise.

GetRootTypeOk

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.

SetRootType

func (o *VulnerabilityOutput) SetRootType(v string)

SetRootType sets RootType field to given value.

GetRelatedObservablesCount

func (o *VulnerabilityOutput) GetRelatedObservablesCount() int32

GetRelatedObservablesCount returns the RelatedObservablesCount field if non-nil, zero value otherwise.

GetRelatedObservablesCountOk

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.

SetRelatedObservablesCount

func (o *VulnerabilityOutput) SetRelatedObservablesCount(v int32)

SetRelatedObservablesCount sets RelatedObservablesCount field to given value.

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