Files

2.6 KiB

Grants

Properties

Name Type Description Notes
Ads Pointer to bool [optional]
Analytics Pointer to bool [optional]
Marketing Pointer to bool [optional]

Methods

NewGrants

func NewGrants() *Grants

NewGrants instantiates a new Grants 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

NewGrantsWithDefaults

func NewGrantsWithDefaults() *Grants

NewGrantsWithDefaults instantiates a new Grants 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

GetAds

func (o *Grants) GetAds() bool

GetAds returns the Ads field if non-nil, zero value otherwise.

GetAdsOk

func (o *Grants) GetAdsOk() (*bool, bool)

GetAdsOk returns a tuple with the Ads field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetAds

func (o *Grants) SetAds(v bool)

SetAds sets Ads field to given value.

HasAds

func (o *Grants) HasAds() bool

HasAds returns a boolean if a field has been set.

GetAnalytics

func (o *Grants) GetAnalytics() bool

GetAnalytics returns the Analytics field if non-nil, zero value otherwise.

GetAnalyticsOk

func (o *Grants) GetAnalyticsOk() (*bool, bool)

GetAnalyticsOk returns a tuple with the Analytics field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetAnalytics

func (o *Grants) SetAnalytics(v bool)

SetAnalytics sets Analytics field to given value.

HasAnalytics

func (o *Grants) HasAnalytics() bool

HasAnalytics returns a boolean if a field has been set.

GetMarketing

func (o *Grants) GetMarketing() bool

GetMarketing returns the Marketing field if non-nil, zero value otherwise.

GetMarketingOk

func (o *Grants) GetMarketingOk() (*bool, bool)

GetMarketingOk returns a tuple with the Marketing field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetMarketing

func (o *Grants) SetMarketing(v bool)

SetMarketing sets Marketing field to given value.

HasMarketing

func (o *Grants) HasMarketing() bool

HasMarketing returns a boolean if a field has been set.

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