Name | Type | Description | Notes |
---|---|---|---|
AllowUnknownLicenses | Pointer to bool | [optional] | |
Description | Pointer to NullableString | [optional] | |
Name | string | ||
OnViolationQuarantine | Pointer to bool | [optional] | |
PackageQueryString | Pointer to NullableString | [optional] | |
SpdxIdentifiers | []string |
func NewOrganizationPackageLicensePolicyRequest(name string, spdxIdentifiers []string, ) *OrganizationPackageLicensePolicyRequest
NewOrganizationPackageLicensePolicyRequest instantiates a new OrganizationPackageLicensePolicyRequest 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 NewOrganizationPackageLicensePolicyRequestWithDefaults() *OrganizationPackageLicensePolicyRequest
NewOrganizationPackageLicensePolicyRequestWithDefaults instantiates a new OrganizationPackageLicensePolicyRequest 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 *OrganizationPackageLicensePolicyRequest) GetAllowUnknownLicenses() bool
GetAllowUnknownLicenses returns the AllowUnknownLicenses field if non-nil, zero value otherwise.
func (o *OrganizationPackageLicensePolicyRequest) GetAllowUnknownLicensesOk() (*bool, bool)
GetAllowUnknownLicensesOk returns a tuple with the AllowUnknownLicenses field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OrganizationPackageLicensePolicyRequest) SetAllowUnknownLicenses(v bool)
SetAllowUnknownLicenses sets AllowUnknownLicenses field to given value.
func (o *OrganizationPackageLicensePolicyRequest) HasAllowUnknownLicenses() bool
HasAllowUnknownLicenses returns a boolean if a field has been set.
func (o *OrganizationPackageLicensePolicyRequest) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *OrganizationPackageLicensePolicyRequest) 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 *OrganizationPackageLicensePolicyRequest) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *OrganizationPackageLicensePolicyRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *OrganizationPackageLicensePolicyRequest) SetDescriptionNil(b bool)
SetDescriptionNil sets the value for Description to be an explicit nil
func (o *OrganizationPackageLicensePolicyRequest) UnsetDescription()
UnsetDescription ensures that no value is present for Description, not even an explicit nil
func (o *OrganizationPackageLicensePolicyRequest) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *OrganizationPackageLicensePolicyRequest) 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 *OrganizationPackageLicensePolicyRequest) SetName(v string)
SetName sets Name field to given value.
func (o *OrganizationPackageLicensePolicyRequest) GetOnViolationQuarantine() bool
GetOnViolationQuarantine returns the OnViolationQuarantine field if non-nil, zero value otherwise.
func (o *OrganizationPackageLicensePolicyRequest) 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 *OrganizationPackageLicensePolicyRequest) SetOnViolationQuarantine(v bool)
SetOnViolationQuarantine sets OnViolationQuarantine field to given value.
func (o *OrganizationPackageLicensePolicyRequest) HasOnViolationQuarantine() bool
HasOnViolationQuarantine returns a boolean if a field has been set.
func (o *OrganizationPackageLicensePolicyRequest) GetPackageQueryString() string
GetPackageQueryString returns the PackageQueryString field if non-nil, zero value otherwise.
func (o *OrganizationPackageLicensePolicyRequest) 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 *OrganizationPackageLicensePolicyRequest) SetPackageQueryString(v string)
SetPackageQueryString sets PackageQueryString field to given value.
func (o *OrganizationPackageLicensePolicyRequest) HasPackageQueryString() bool
HasPackageQueryString returns a boolean if a field has been set.
func (o *OrganizationPackageLicensePolicyRequest) SetPackageQueryStringNil(b bool)
SetPackageQueryStringNil sets the value for PackageQueryString to be an explicit nil
func (o *OrganizationPackageLicensePolicyRequest) UnsetPackageQueryString()
UnsetPackageQueryString ensures that no value is present for PackageQueryString, not even an explicit nil
func (o *OrganizationPackageLicensePolicyRequest) GetSpdxIdentifiers() []string
GetSpdxIdentifiers returns the SpdxIdentifiers field if non-nil, zero value otherwise.
func (o *OrganizationPackageLicensePolicyRequest) GetSpdxIdentifiersOk() (*[]string, bool)
GetSpdxIdentifiersOk returns a tuple with the SpdxIdentifiers field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OrganizationPackageLicensePolicyRequest) SetSpdxIdentifiers(v []string)
SetSpdxIdentifiers sets SpdxIdentifiers field to given value.