Name | Type | Description | Notes |
---|---|---|---|
Description | Pointer to NullableString | [optional] | |
Enabled | Pointer to bool | Whether this rule is enabled or disabled. | [optional] |
Name | Pointer to NullableString | [optional] | |
PackageQueryString | string | Packages that match this query will trigger this deny rule. |
func NewPackageDenyPolicyRequest(packageQueryString string, ) *PackageDenyPolicyRequest
NewPackageDenyPolicyRequest instantiates a new PackageDenyPolicyRequest 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 NewPackageDenyPolicyRequestWithDefaults() *PackageDenyPolicyRequest
NewPackageDenyPolicyRequestWithDefaults instantiates a new PackageDenyPolicyRequest 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 *PackageDenyPolicyRequest) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *PackageDenyPolicyRequest) 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 *PackageDenyPolicyRequest) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *PackageDenyPolicyRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *PackageDenyPolicyRequest) SetDescriptionNil(b bool)
SetDescriptionNil sets the value for Description to be an explicit nil
func (o *PackageDenyPolicyRequest) UnsetDescription()
UnsetDescription ensures that no value is present for Description, not even an explicit nil
func (o *PackageDenyPolicyRequest) GetEnabled() bool
GetEnabled returns the Enabled field if non-nil, zero value otherwise.
func (o *PackageDenyPolicyRequest) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PackageDenyPolicyRequest) SetEnabled(v bool)
SetEnabled sets Enabled field to given value.
func (o *PackageDenyPolicyRequest) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (o *PackageDenyPolicyRequest) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *PackageDenyPolicyRequest) 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 *PackageDenyPolicyRequest) SetName(v string)
SetName sets Name field to given value.
func (o *PackageDenyPolicyRequest) HasName() bool
HasName returns a boolean if a field has been set.
func (o *PackageDenyPolicyRequest) SetNameNil(b bool)
SetNameNil sets the value for Name to be an explicit nil
func (o *PackageDenyPolicyRequest) UnsetName()
UnsetName ensures that no value is present for Name, not even an explicit nil
func (o *PackageDenyPolicyRequest) GetPackageQueryString() string
GetPackageQueryString returns the PackageQueryString field if non-nil, zero value otherwise.
func (o *PackageDenyPolicyRequest) 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 *PackageDenyPolicyRequest) SetPackageQueryString(v string)
SetPackageQueryString sets PackageQueryString field to given value.