Skip to content

Latest commit

 

History

History
93 lines (50 loc) · 2.72 KB

Consent.md

File metadata and controls

93 lines (50 loc) · 2.72 KB

Consent

Properties

Name Type Description Notes
AgreedAt string Timestamp indicating when the end-user consented to these legal agreements
AgreedBy string Originating client IP address of the end-user's computer when they consented to these legal agreements
AgreementKeys []string Unique identifiers of the legal agreements to which the end-user has agreed, as returned from the/domains/agreements endpoint

Methods

NewConsent

func NewConsent(agreedAt string, agreedBy string, agreementKeys []string, ) *Consent

NewConsent instantiates a new Consent 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

NewConsentWithDefaults

func NewConsentWithDefaults() *Consent

NewConsentWithDefaults instantiates a new Consent 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

GetAgreedAt

func (o *Consent) GetAgreedAt() string

GetAgreedAt returns the AgreedAt field if non-nil, zero value otherwise.

GetAgreedAtOk

func (o *Consent) GetAgreedAtOk() (*string, bool)

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

SetAgreedAt

func (o *Consent) SetAgreedAt(v string)

SetAgreedAt sets AgreedAt field to given value.

GetAgreedBy

func (o *Consent) GetAgreedBy() string

GetAgreedBy returns the AgreedBy field if non-nil, zero value otherwise.

GetAgreedByOk

func (o *Consent) GetAgreedByOk() (*string, bool)

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

SetAgreedBy

func (o *Consent) SetAgreedBy(v string)

SetAgreedBy sets AgreedBy field to given value.

GetAgreementKeys

func (o *Consent) GetAgreementKeys() []string

GetAgreementKeys returns the AgreementKeys field if non-nil, zero value otherwise.

GetAgreementKeysOk

func (o *Consent) GetAgreementKeysOk() (*[]string, bool)

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

SetAgreementKeys

func (o *Consent) SetAgreementKeys(v []string)

SetAgreementKeys sets AgreementKeys field to given value.

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