Name | Type | Description | Notes |
---|---|---|---|
Consent | Consent |
func NewPrivacyPurchase(consent Consent, ) *PrivacyPurchase
NewPrivacyPurchase instantiates a new PrivacyPurchase 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 NewPrivacyPurchaseWithDefaults() *PrivacyPurchase
NewPrivacyPurchaseWithDefaults instantiates a new PrivacyPurchase 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 *PrivacyPurchase) GetConsent() Consent
GetConsent returns the Consent field if non-nil, zero value otherwise.
func (o *PrivacyPurchase) GetConsentOk() (*Consent, bool)
GetConsentOk returns a tuple with the Consent field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PrivacyPurchase) SetConsent(v Consent)
SetConsent sets Consent field to given value.