Name | Type | Description | Notes |
---|---|---|---|
Name | string | ||
Granted | bool |
func NewConsentItem(name string, granted bool, ) *ConsentItem
NewConsentItem instantiates a new ConsentItem 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 NewConsentItemWithDefaults() *ConsentItem
NewConsentItemWithDefaults instantiates a new ConsentItem 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 *ConsentItem) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *ConsentItem) 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 *ConsentItem) SetName(v string)
SetName sets Name field to given value.
func (o *ConsentItem) GetGranted() bool
GetGranted returns the Granted field if non-nil, zero value otherwise.
func (o *ConsentItem) GetGrantedOk() (*bool, bool)
GetGrantedOk returns a tuple with the Granted field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ConsentItem) SetGranted(v bool)
SetGranted sets Granted field to given value.