Skip to content

Latest commit

 

History

History
264 lines (143 loc) · 6.39 KB

Contact.md

File metadata and controls

264 lines (143 loc) · 6.39 KB

Contact

Properties

Name Type Description Notes
Id Pointer to string [optional]
Email Pointer to string [optional]
FirstName Pointer to string [optional]
LastName Pointer to string [optional]
Source 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

NewContact

func NewContact() *Contact

NewContact instantiates a new Contact 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

NewContactWithDefaults

func NewContactWithDefaults() *Contact

NewContactWithDefaults instantiates a new Contact 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

GetId

func (o *Contact) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

func (o *Contact) GetIdOk() (*string, bool)

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

SetId

func (o *Contact) SetId(v string)

SetId sets Id field to given value.

HasId

func (o *Contact) HasId() bool

HasId returns a boolean if a field has been set.

GetEmail

func (o *Contact) GetEmail() string

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

GetEmailOk

func (o *Contact) 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 *Contact) SetEmail(v string)

SetEmail sets Email field to given value.

HasEmail

func (o *Contact) HasEmail() bool

HasEmail returns a boolean if a field has been set.

GetFirstName

func (o *Contact) GetFirstName() string

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

GetFirstNameOk

func (o *Contact) 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 *Contact) SetFirstName(v string)

SetFirstName sets FirstName field to given value.

HasFirstName

func (o *Contact) HasFirstName() bool

HasFirstName returns a boolean if a field has been set.

GetLastName

func (o *Contact) GetLastName() string

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

GetLastNameOk

func (o *Contact) 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 *Contact) SetLastName(v string)

SetLastName sets LastName field to given value.

HasLastName

func (o *Contact) HasLastName() bool

HasLastName returns a boolean if a field has been set.

GetSource

func (o *Contact) GetSource() string

GetSource returns the Source field if non-nil, zero value otherwise.

GetSourceOk

func (o *Contact) GetSourceOk() (*string, bool)

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

SetSource

func (o *Contact) SetSource(v string)

SetSource sets Source field to given value.

HasSource

func (o *Contact) HasSource() bool

HasSource returns a boolean if a field has been set.

GetSubscribed

func (o *Contact) GetSubscribed() bool

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

GetSubscribedOk

func (o *Contact) 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 *Contact) SetSubscribed(v bool)

SetSubscribed sets Subscribed field to given value.

HasSubscribed

func (o *Contact) HasSubscribed() bool

HasSubscribed returns a boolean if a field has been set.

GetUserGroup

func (o *Contact) GetUserGroup() string

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

GetUserGroupOk

func (o *Contact) 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 *Contact) SetUserGroup(v string)

SetUserGroup sets UserGroup field to given value.

HasUserGroup

func (o *Contact) HasUserGroup() bool

HasUserGroup returns a boolean if a field has been set.

GetUserId

func (o *Contact) GetUserId() string

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

GetUserIdOk

func (o *Contact) 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 *Contact) SetUserId(v string)

SetUserId sets UserId field to given value.

HasUserId

func (o *Contact) HasUserId() bool

HasUserId returns a boolean if a field has been set.

GetMailingLists

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

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

GetMailingListsOk

func (o *Contact) 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 *Contact) SetMailingLists(v map[string]interface{})

SetMailingLists sets MailingLists field to given value.

HasMailingLists

func (o *Contact) HasMailingLists() bool

HasMailingLists returns a boolean if a field has been set.

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