Skip to content

Latest commit

 

History

History
206 lines (113 loc) · 7.21 KB

OrganizationPackageLicensePolicyRequestPatch.md

File metadata and controls

206 lines (113 loc) · 7.21 KB

OrganizationPackageLicensePolicyRequestPatch

Properties

Name Type Description Notes
AllowUnknownLicenses Pointer to bool [optional]
Description Pointer to NullableString [optional]
Name Pointer to string [optional]
OnViolationQuarantine Pointer to bool [optional]
PackageQueryString Pointer to NullableString [optional]
SpdxIdentifiers Pointer to []string [optional]

Methods

NewOrganizationPackageLicensePolicyRequestPatch

func NewOrganizationPackageLicensePolicyRequestPatch() *OrganizationPackageLicensePolicyRequestPatch

NewOrganizationPackageLicensePolicyRequestPatch instantiates a new OrganizationPackageLicensePolicyRequestPatch 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

NewOrganizationPackageLicensePolicyRequestPatchWithDefaults

func NewOrganizationPackageLicensePolicyRequestPatchWithDefaults() *OrganizationPackageLicensePolicyRequestPatch

NewOrganizationPackageLicensePolicyRequestPatchWithDefaults instantiates a new OrganizationPackageLicensePolicyRequestPatch 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

GetAllowUnknownLicenses

func (o *OrganizationPackageLicensePolicyRequestPatch) GetAllowUnknownLicenses() bool

GetAllowUnknownLicenses returns the AllowUnknownLicenses field if non-nil, zero value otherwise.

GetAllowUnknownLicensesOk

func (o *OrganizationPackageLicensePolicyRequestPatch) 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.

SetAllowUnknownLicenses

func (o *OrganizationPackageLicensePolicyRequestPatch) SetAllowUnknownLicenses(v bool)

SetAllowUnknownLicenses sets AllowUnknownLicenses field to given value.

HasAllowUnknownLicenses

func (o *OrganizationPackageLicensePolicyRequestPatch) HasAllowUnknownLicenses() bool

HasAllowUnknownLicenses returns a boolean if a field has been set.

GetDescription

func (o *OrganizationPackageLicensePolicyRequestPatch) GetDescription() string

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

GetDescriptionOk

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

SetDescription sets Description field to given value.

HasDescription

func (o *OrganizationPackageLicensePolicyRequestPatch) HasDescription() bool

HasDescription returns a boolean if a field has been set.

SetDescriptionNil

func (o *OrganizationPackageLicensePolicyRequestPatch) SetDescriptionNil(b bool)

SetDescriptionNil sets the value for Description to be an explicit nil

UnsetDescription

func (o *OrganizationPackageLicensePolicyRequestPatch) UnsetDescription()

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

GetName

func (o *OrganizationPackageLicensePolicyRequestPatch) GetName() string

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

GetNameOk

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

SetName sets Name field to given value.

HasName

func (o *OrganizationPackageLicensePolicyRequestPatch) HasName() bool

HasName returns a boolean if a field has been set.

GetOnViolationQuarantine

func (o *OrganizationPackageLicensePolicyRequestPatch) GetOnViolationQuarantine() bool

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

GetOnViolationQuarantineOk

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

SetOnViolationQuarantine sets OnViolationQuarantine field to given value.

HasOnViolationQuarantine

func (o *OrganizationPackageLicensePolicyRequestPatch) HasOnViolationQuarantine() bool

HasOnViolationQuarantine returns a boolean if a field has been set.

GetPackageQueryString

func (o *OrganizationPackageLicensePolicyRequestPatch) GetPackageQueryString() string

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

GetPackageQueryStringOk

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

SetPackageQueryString sets PackageQueryString field to given value.

HasPackageQueryString

func (o *OrganizationPackageLicensePolicyRequestPatch) HasPackageQueryString() bool

HasPackageQueryString returns a boolean if a field has been set.

SetPackageQueryStringNil

func (o *OrganizationPackageLicensePolicyRequestPatch) SetPackageQueryStringNil(b bool)

SetPackageQueryStringNil sets the value for PackageQueryString to be an explicit nil

UnsetPackageQueryString

func (o *OrganizationPackageLicensePolicyRequestPatch) UnsetPackageQueryString()

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

GetSpdxIdentifiers

func (o *OrganizationPackageLicensePolicyRequestPatch) GetSpdxIdentifiers() []string

GetSpdxIdentifiers returns the SpdxIdentifiers field if non-nil, zero value otherwise.

GetSpdxIdentifiersOk

func (o *OrganizationPackageLicensePolicyRequestPatch) 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.

SetSpdxIdentifiers

func (o *OrganizationPackageLicensePolicyRequestPatch) SetSpdxIdentifiers(v []string)

SetSpdxIdentifiers sets SpdxIdentifiers field to given value.

HasSpdxIdentifiers

func (o *OrganizationPackageLicensePolicyRequestPatch) HasSpdxIdentifiers() bool

HasSpdxIdentifiers returns a boolean if a field has been set.

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