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] |
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
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
func (o *OrganizationPackageVulnerabilityPolicyRequestPatch) GetAllowUnknownSeverity() bool
GetAllowUnknownSeverity returns the AllowUnknownSeverity field if non-nil, zero value otherwise.
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.
func (o *OrganizationPackageVulnerabilityPolicyRequestPatch) SetAllowUnknownSeverity(v bool)
SetAllowUnknownSeverity sets AllowUnknownSeverity field to given value.
func (o *OrganizationPackageVulnerabilityPolicyRequestPatch) HasAllowUnknownSeverity() bool
HasAllowUnknownSeverity returns a boolean if a field has been set.
func (o *OrganizationPackageVulnerabilityPolicyRequestPatch) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
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.
func (o *OrganizationPackageVulnerabilityPolicyRequestPatch) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *OrganizationPackageVulnerabilityPolicyRequestPatch) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *OrganizationPackageVulnerabilityPolicyRequestPatch) SetDescriptionNil(b bool)
SetDescriptionNil sets the value for Description to be an explicit nil
func (o *OrganizationPackageVulnerabilityPolicyRequestPatch) UnsetDescription()
UnsetDescription ensures that no value is present for Description, not even an explicit nil
func (o *OrganizationPackageVulnerabilityPolicyRequestPatch) GetMinSeverity() string
GetMinSeverity returns the MinSeverity field if non-nil, zero value otherwise.
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.
func (o *OrganizationPackageVulnerabilityPolicyRequestPatch) SetMinSeverity(v string)
SetMinSeverity sets MinSeverity field to given value.
func (o *OrganizationPackageVulnerabilityPolicyRequestPatch) HasMinSeverity() bool
HasMinSeverity returns a boolean if a field has been set.
func (o *OrganizationPackageVulnerabilityPolicyRequestPatch) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
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.
func (o *OrganizationPackageVulnerabilityPolicyRequestPatch) SetName(v string)
SetName sets Name field to given value.
func (o *OrganizationPackageVulnerabilityPolicyRequestPatch) HasName() bool
HasName returns a boolean if a field has been set.
func (o *OrganizationPackageVulnerabilityPolicyRequestPatch) GetOnViolationQuarantine() bool
GetOnViolationQuarantine returns the OnViolationQuarantine field if non-nil, zero value otherwise.
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.
func (o *OrganizationPackageVulnerabilityPolicyRequestPatch) SetOnViolationQuarantine(v bool)
SetOnViolationQuarantine sets OnViolationQuarantine field to given value.
func (o *OrganizationPackageVulnerabilityPolicyRequestPatch) HasOnViolationQuarantine() bool
HasOnViolationQuarantine returns a boolean if a field has been set.
func (o *OrganizationPackageVulnerabilityPolicyRequestPatch) GetPackageQueryString() string
GetPackageQueryString returns the PackageQueryString field if non-nil, zero value otherwise.
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.
func (o *OrganizationPackageVulnerabilityPolicyRequestPatch) SetPackageQueryString(v string)
SetPackageQueryString sets PackageQueryString field to given value.
func (o *OrganizationPackageVulnerabilityPolicyRequestPatch) HasPackageQueryString() bool
HasPackageQueryString returns a boolean if a field has been set.
func (o *OrganizationPackageVulnerabilityPolicyRequestPatch) SetPackageQueryStringNil(b bool)
SetPackageQueryStringNil sets the value for PackageQueryString to be an explicit nil
func (o *OrganizationPackageVulnerabilityPolicyRequestPatch) UnsetPackageQueryString()
UnsetPackageQueryString ensures that no value is present for PackageQueryString, not even an explicit nil