Skip to content

Latest commit

 

History

History
285 lines (154 loc) · 7.5 KB

VulnerabilityInput.md

File metadata and controls

285 lines (154 loc) · 7.5 KB

VulnerabilityInput

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 ""]

Methods

NewVulnerabilityInput

func NewVulnerabilityInput(name string, ) *VulnerabilityInput

NewVulnerabilityInput instantiates a new VulnerabilityInput 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

NewVulnerabilityInputWithDefaults

func NewVulnerabilityInputWithDefaults() *VulnerabilityInput

NewVulnerabilityInputWithDefaults instantiates a new VulnerabilityInput 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 *VulnerabilityInput) GetType() string

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

GetTypeOk

func (o *VulnerabilityInput) 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 *VulnerabilityInput) SetType(v string)

SetType sets Type field to given value.

HasType

func (o *VulnerabilityInput) HasType() bool

HasType returns a boolean if a field has been set.

GetName

func (o *VulnerabilityInput) GetName() string

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

GetNameOk

func (o *VulnerabilityInput) 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 *VulnerabilityInput) SetName(v string)

SetName sets Name field to given value.

GetDescription

func (o *VulnerabilityInput) GetDescription() string

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

GetDescriptionOk

func (o *VulnerabilityInput) 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 *VulnerabilityInput) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *VulnerabilityInput) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetContext

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

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

GetContextOk

func (o *VulnerabilityInput) 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 *VulnerabilityInput) SetContext(v []map[string]interface{})

SetContext sets Context field to given value.

HasContext

func (o *VulnerabilityInput) HasContext() bool

HasContext returns a boolean if a field has been set.

GetCreated

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

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

GetCreatedOk

func (o *VulnerabilityInput) 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 *VulnerabilityInput) SetCreated(v time.Time)

SetCreated sets Created field to given value.

HasCreated

func (o *VulnerabilityInput) HasCreated() bool

HasCreated returns a boolean if a field has been set.

GetModified

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

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

GetModifiedOk

func (o *VulnerabilityInput) 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 *VulnerabilityInput) SetModified(v time.Time)

SetModified sets Modified field to given value.

HasModified

func (o *VulnerabilityInput) HasModified() bool

HasModified returns a boolean if a field has been set.

GetTitle

func (o *VulnerabilityInput) GetTitle() string

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

GetTitleOk

func (o *VulnerabilityInput) 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 *VulnerabilityInput) SetTitle(v string)

SetTitle sets Title field to given value.

HasTitle

func (o *VulnerabilityInput) HasTitle() bool

HasTitle returns a boolean if a field has been set.

GetBaseScore

func (o *VulnerabilityInput) GetBaseScore() float32

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

GetBaseScoreOk

func (o *VulnerabilityInput) 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 *VulnerabilityInput) SetBaseScore(v float32)

SetBaseScore sets BaseScore field to given value.

HasBaseScore

func (o *VulnerabilityInput) HasBaseScore() bool

HasBaseScore returns a boolean if a field has been set.

GetSeverity

func (o *VulnerabilityInput) GetSeverity() SeverityType

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

GetSeverityOk

func (o *VulnerabilityInput) 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 *VulnerabilityInput) SetSeverity(v SeverityType)

SetSeverity sets Severity field to given value.

HasSeverity

func (o *VulnerabilityInput) HasSeverity() bool

HasSeverity returns a boolean if a field has been set.

GetReference

func (o *VulnerabilityInput) GetReference() string

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

GetReferenceOk

func (o *VulnerabilityInput) 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 *VulnerabilityInput) SetReference(v string)

SetReference sets Reference field to given value.

HasReference

func (o *VulnerabilityInput) HasReference() bool

HasReference returns a boolean if a field has been set.

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