Skip to content

Latest commit

 

History

History
310 lines (169 loc) · 9.34 KB

NestedVulnerabilityPolicy.md

File metadata and controls

310 lines (169 loc) · 9.34 KB

NestedVulnerabilityPolicy

Properties

Name Type Description Notes
AllowUnknownSeverity Pointer to bool Denotes whether vulnerabilities detected by a security scan with an unknown severity are permitted by this policy. [optional] [readonly]
CreatedAt Pointer to time.Time [optional] [readonly]
Description Pointer to NullableString [optional] [readonly]
MinSeverity Pointer to string [optional] [default to "Critical"]
Name Pointer to string [optional] [readonly]
OnViolationQuarantine Pointer to bool [optional] [readonly]
PackageQueryString Pointer to NullableString [optional] [readonly]
SlugPerm Pointer to string [optional] [readonly]
UpdatedAt Pointer to time.Time [optional] [readonly]
Url Pointer to string [optional] [readonly]

Methods

NewNestedVulnerabilityPolicy

func NewNestedVulnerabilityPolicy() *NestedVulnerabilityPolicy

NewNestedVulnerabilityPolicy instantiates a new NestedVulnerabilityPolicy 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

NewNestedVulnerabilityPolicyWithDefaults

func NewNestedVulnerabilityPolicyWithDefaults() *NestedVulnerabilityPolicy

NewNestedVulnerabilityPolicyWithDefaults instantiates a new NestedVulnerabilityPolicy 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

GetAllowUnknownSeverity

func (o *NestedVulnerabilityPolicy) GetAllowUnknownSeverity() bool

GetAllowUnknownSeverity returns the AllowUnknownSeverity field if non-nil, zero value otherwise.

GetAllowUnknownSeverityOk

func (o *NestedVulnerabilityPolicy) GetAllowUnknownSeverityOk() (*bool, bool)

GetAllowUnknownSeverityOk returns a tuple with the AllowUnknownSeverity field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetAllowUnknownSeverity

func (o *NestedVulnerabilityPolicy) SetAllowUnknownSeverity(v bool)

SetAllowUnknownSeverity sets AllowUnknownSeverity field to given value.

HasAllowUnknownSeverity

func (o *NestedVulnerabilityPolicy) HasAllowUnknownSeverity() bool

HasAllowUnknownSeverity returns a boolean if a field has been set.

GetCreatedAt

func (o *NestedVulnerabilityPolicy) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.

GetCreatedAtOk

func (o *NestedVulnerabilityPolicy) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetCreatedAt

func (o *NestedVulnerabilityPolicy) SetCreatedAt(v time.Time)

SetCreatedAt sets CreatedAt field to given value.

HasCreatedAt

func (o *NestedVulnerabilityPolicy) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

GetDescription

func (o *NestedVulnerabilityPolicy) GetDescription() string

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

GetDescriptionOk

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

SetDescription sets Description field to given value.

HasDescription

func (o *NestedVulnerabilityPolicy) HasDescription() bool

HasDescription returns a boolean if a field has been set.

SetDescriptionNil

func (o *NestedVulnerabilityPolicy) SetDescriptionNil(b bool)

SetDescriptionNil sets the value for Description to be an explicit nil

UnsetDescription

func (o *NestedVulnerabilityPolicy) UnsetDescription()

UnsetDescription ensures that no value is present for Description, not even an explicit nil

GetMinSeverity

func (o *NestedVulnerabilityPolicy) GetMinSeverity() string

GetMinSeverity returns the MinSeverity field if non-nil, zero value otherwise.

GetMinSeverityOk

func (o *NestedVulnerabilityPolicy) GetMinSeverityOk() (*string, bool)

GetMinSeverityOk returns a tuple with the MinSeverity field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetMinSeverity

func (o *NestedVulnerabilityPolicy) SetMinSeverity(v string)

SetMinSeverity sets MinSeverity field to given value.

HasMinSeverity

func (o *NestedVulnerabilityPolicy) HasMinSeverity() bool

HasMinSeverity returns a boolean if a field has been set.

GetName

func (o *NestedVulnerabilityPolicy) GetName() string

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

GetNameOk

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

SetName sets Name field to given value.

HasName

func (o *NestedVulnerabilityPolicy) HasName() bool

HasName returns a boolean if a field has been set.

GetOnViolationQuarantine

func (o *NestedVulnerabilityPolicy) GetOnViolationQuarantine() bool

GetOnViolationQuarantine returns the OnViolationQuarantine field if non-nil, zero value otherwise.

GetOnViolationQuarantineOk

func (o *NestedVulnerabilityPolicy) GetOnViolationQuarantineOk() (*bool, bool)

GetOnViolationQuarantineOk returns a tuple with the OnViolationQuarantine field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetOnViolationQuarantine

func (o *NestedVulnerabilityPolicy) SetOnViolationQuarantine(v bool)

SetOnViolationQuarantine sets OnViolationQuarantine field to given value.

HasOnViolationQuarantine

func (o *NestedVulnerabilityPolicy) HasOnViolationQuarantine() bool

HasOnViolationQuarantine returns a boolean if a field has been set.

GetPackageQueryString

func (o *NestedVulnerabilityPolicy) GetPackageQueryString() string

GetPackageQueryString returns the PackageQueryString field if non-nil, zero value otherwise.

GetPackageQueryStringOk

func (o *NestedVulnerabilityPolicy) GetPackageQueryStringOk() (*string, bool)

GetPackageQueryStringOk returns a tuple with the PackageQueryString field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetPackageQueryString

func (o *NestedVulnerabilityPolicy) SetPackageQueryString(v string)

SetPackageQueryString sets PackageQueryString field to given value.

HasPackageQueryString

func (o *NestedVulnerabilityPolicy) HasPackageQueryString() bool

HasPackageQueryString returns a boolean if a field has been set.

SetPackageQueryStringNil

func (o *NestedVulnerabilityPolicy) SetPackageQueryStringNil(b bool)

SetPackageQueryStringNil sets the value for PackageQueryString to be an explicit nil

UnsetPackageQueryString

func (o *NestedVulnerabilityPolicy) UnsetPackageQueryString()

UnsetPackageQueryString ensures that no value is present for PackageQueryString, not even an explicit nil

GetSlugPerm

func (o *NestedVulnerabilityPolicy) GetSlugPerm() string

GetSlugPerm returns the SlugPerm field if non-nil, zero value otherwise.

GetSlugPermOk

func (o *NestedVulnerabilityPolicy) GetSlugPermOk() (*string, bool)

GetSlugPermOk returns a tuple with the SlugPerm field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetSlugPerm

func (o *NestedVulnerabilityPolicy) SetSlugPerm(v string)

SetSlugPerm sets SlugPerm field to given value.

HasSlugPerm

func (o *NestedVulnerabilityPolicy) HasSlugPerm() bool

HasSlugPerm returns a boolean if a field has been set.

GetUpdatedAt

func (o *NestedVulnerabilityPolicy) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.

GetUpdatedAtOk

func (o *NestedVulnerabilityPolicy) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetUpdatedAt

func (o *NestedVulnerabilityPolicy) SetUpdatedAt(v time.Time)

SetUpdatedAt sets UpdatedAt field to given value.

HasUpdatedAt

func (o *NestedVulnerabilityPolicy) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

GetUrl

func (o *NestedVulnerabilityPolicy) GetUrl() string

GetUrl returns the Url field if non-nil, zero value otherwise.

GetUrlOk

func (o *NestedVulnerabilityPolicy) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetUrl

func (o *NestedVulnerabilityPolicy) SetUrl(v string)

SetUrl sets Url field to given value.

HasUrl

func (o *NestedVulnerabilityPolicy) HasUrl() bool

HasUrl returns a boolean if a field has been set.

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