Skip to content
This repository was archived by the owner on Apr 26, 2026. It is now read-only.

Latest commit

 

History

History
207 lines (112 loc) · 5.44 KB

File metadata and controls

207 lines (112 loc) · 5.44 KB

ContactRequest

Properties

Name Type Description Notes
Email string
FirstName Pointer to string [optional]
LastName Pointer to string [optional]
Subscribed Pointer to bool [optional]
UserGroup Pointer to string [optional]
UserId Pointer to string [optional]
MailingLists Pointer to map[string]interface{} An object of mailing list IDs and boolean subscription statuses. [optional]

Methods

NewContactRequest

func NewContactRequest(email string, ) *ContactRequest

NewContactRequest instantiates a new ContactRequest 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

NewContactRequestWithDefaults

func NewContactRequestWithDefaults() *ContactRequest

NewContactRequestWithDefaults instantiates a new ContactRequest 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

GetEmail

func (o *ContactRequest) GetEmail() string

GetEmail returns the Email field if non-nil, zero value otherwise.

GetEmailOk

func (o *ContactRequest) GetEmailOk() (*string, bool)

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

SetEmail

func (o *ContactRequest) SetEmail(v string)

SetEmail sets Email field to given value.

GetFirstName

func (o *ContactRequest) GetFirstName() string

GetFirstName returns the FirstName field if non-nil, zero value otherwise.

GetFirstNameOk

func (o *ContactRequest) GetFirstNameOk() (*string, bool)

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

SetFirstName

func (o *ContactRequest) SetFirstName(v string)

SetFirstName sets FirstName field to given value.

HasFirstName

func (o *ContactRequest) HasFirstName() bool

HasFirstName returns a boolean if a field has been set.

GetLastName

func (o *ContactRequest) GetLastName() string

GetLastName returns the LastName field if non-nil, zero value otherwise.

GetLastNameOk

func (o *ContactRequest) GetLastNameOk() (*string, bool)

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

SetLastName

func (o *ContactRequest) SetLastName(v string)

SetLastName sets LastName field to given value.

HasLastName

func (o *ContactRequest) HasLastName() bool

HasLastName returns a boolean if a field has been set.

GetSubscribed

func (o *ContactRequest) GetSubscribed() bool

GetSubscribed returns the Subscribed field if non-nil, zero value otherwise.

GetSubscribedOk

func (o *ContactRequest) GetSubscribedOk() (*bool, bool)

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

SetSubscribed

func (o *ContactRequest) SetSubscribed(v bool)

SetSubscribed sets Subscribed field to given value.

HasSubscribed

func (o *ContactRequest) HasSubscribed() bool

HasSubscribed returns a boolean if a field has been set.

GetUserGroup

func (o *ContactRequest) GetUserGroup() string

GetUserGroup returns the UserGroup field if non-nil, zero value otherwise.

GetUserGroupOk

func (o *ContactRequest) GetUserGroupOk() (*string, bool)

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

SetUserGroup

func (o *ContactRequest) SetUserGroup(v string)

SetUserGroup sets UserGroup field to given value.

HasUserGroup

func (o *ContactRequest) HasUserGroup() bool

HasUserGroup returns a boolean if a field has been set.

GetUserId

func (o *ContactRequest) GetUserId() string

GetUserId returns the UserId field if non-nil, zero value otherwise.

GetUserIdOk

func (o *ContactRequest) GetUserIdOk() (*string, bool)

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

SetUserId

func (o *ContactRequest) SetUserId(v string)

SetUserId sets UserId field to given value.

HasUserId

func (o *ContactRequest) HasUserId() bool

HasUserId returns a boolean if a field has been set.

GetMailingLists

func (o *ContactRequest) GetMailingLists() map[string]interface{}

GetMailingLists returns the MailingLists field if non-nil, zero value otherwise.

GetMailingListsOk

func (o *ContactRequest) GetMailingListsOk() (*map[string]interface{}, bool)

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

SetMailingLists

func (o *ContactRequest) SetMailingLists(v map[string]interface{})

SetMailingLists sets MailingLists field to given value.

HasMailingLists

func (o *ContactRequest) HasMailingLists() bool

HasMailingLists returns a boolean if a field has been set.

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