Skip to content

Latest commit

 

History

History
206 lines (113 loc) · 7.5 KB

OrganizationPackageVulnerabilityPolicyRequestPatch.md

File metadata and controls

206 lines (113 loc) · 7.5 KB

OrganizationPackageVulnerabilityPolicyRequestPatch

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]
Description Pointer to NullableString [optional]
MinSeverity Pointer to string [optional] [default to "Critical"]
Name Pointer to string [optional]
OnViolationQuarantine Pointer to bool [optional]
PackageQueryString Pointer to NullableString [optional]

Methods

NewOrganizationPackageVulnerabilityPolicyRequestPatch

func NewOrganizationPackageVulnerabilityPolicyRequestPatch() *OrganizationPackageVulnerabilityPolicyRequestPatch

NewOrganizationPackageVulnerabilityPolicyRequestPatch instantiates a new OrganizationPackageVulnerabilityPolicyRequestPatch 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

NewOrganizationPackageVulnerabilityPolicyRequestPatchWithDefaults

func NewOrganizationPackageVulnerabilityPolicyRequestPatchWithDefaults() *OrganizationPackageVulnerabilityPolicyRequestPatch

NewOrganizationPackageVulnerabilityPolicyRequestPatchWithDefaults instantiates a new OrganizationPackageVulnerabilityPolicyRequestPatch 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 *OrganizationPackageVulnerabilityPolicyRequestPatch) GetAllowUnknownSeverity() bool

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

GetAllowUnknownSeverityOk

func (o *OrganizationPackageVulnerabilityPolicyRequestPatch) 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 *OrganizationPackageVulnerabilityPolicyRequestPatch) SetAllowUnknownSeverity(v bool)

SetAllowUnknownSeverity sets AllowUnknownSeverity field to given value.

HasAllowUnknownSeverity

func (o *OrganizationPackageVulnerabilityPolicyRequestPatch) HasAllowUnknownSeverity() bool

HasAllowUnknownSeverity returns a boolean if a field has been set.

GetDescription

func (o *OrganizationPackageVulnerabilityPolicyRequestPatch) GetDescription() string

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

GetDescriptionOk

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

SetDescription sets Description field to given value.

HasDescription

func (o *OrganizationPackageVulnerabilityPolicyRequestPatch) HasDescription() bool

HasDescription returns a boolean if a field has been set.

SetDescriptionNil

func (o *OrganizationPackageVulnerabilityPolicyRequestPatch) SetDescriptionNil(b bool)

SetDescriptionNil sets the value for Description to be an explicit nil

UnsetDescription

func (o *OrganizationPackageVulnerabilityPolicyRequestPatch) UnsetDescription()

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

GetMinSeverity

func (o *OrganizationPackageVulnerabilityPolicyRequestPatch) GetMinSeverity() string

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

GetMinSeverityOk

func (o *OrganizationPackageVulnerabilityPolicyRequestPatch) 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 *OrganizationPackageVulnerabilityPolicyRequestPatch) SetMinSeverity(v string)

SetMinSeverity sets MinSeverity field to given value.

HasMinSeverity

func (o *OrganizationPackageVulnerabilityPolicyRequestPatch) HasMinSeverity() bool

HasMinSeverity returns a boolean if a field has been set.

GetName

func (o *OrganizationPackageVulnerabilityPolicyRequestPatch) GetName() string

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

GetNameOk

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

SetName sets Name field to given value.

HasName

func (o *OrganizationPackageVulnerabilityPolicyRequestPatch) HasName() bool

HasName returns a boolean if a field has been set.

GetOnViolationQuarantine

func (o *OrganizationPackageVulnerabilityPolicyRequestPatch) GetOnViolationQuarantine() bool

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

GetOnViolationQuarantineOk

func (o *OrganizationPackageVulnerabilityPolicyRequestPatch) 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 *OrganizationPackageVulnerabilityPolicyRequestPatch) SetOnViolationQuarantine(v bool)

SetOnViolationQuarantine sets OnViolationQuarantine field to given value.

HasOnViolationQuarantine

func (o *OrganizationPackageVulnerabilityPolicyRequestPatch) HasOnViolationQuarantine() bool

HasOnViolationQuarantine returns a boolean if a field has been set.

GetPackageQueryString

func (o *OrganizationPackageVulnerabilityPolicyRequestPatch) GetPackageQueryString() string

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

GetPackageQueryStringOk

func (o *OrganizationPackageVulnerabilityPolicyRequestPatch) 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 *OrganizationPackageVulnerabilityPolicyRequestPatch) SetPackageQueryString(v string)

SetPackageQueryString sets PackageQueryString field to given value.

HasPackageQueryString

func (o *OrganizationPackageVulnerabilityPolicyRequestPatch) HasPackageQueryString() bool

HasPackageQueryString returns a boolean if a field has been set.

SetPackageQueryStringNil

func (o *OrganizationPackageVulnerabilityPolicyRequestPatch) SetPackageQueryStringNil(b bool)

SetPackageQueryStringNil sets the value for PackageQueryString to be an explicit nil

UnsetPackageQueryString

func (o *OrganizationPackageVulnerabilityPolicyRequestPatch) UnsetPackageQueryString()

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

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