Skip to content

Latest commit

 

History

History
155 lines (84 loc) · 4.33 KB

EventRequest.md

File metadata and controls

155 lines (84 loc) · 4.33 KB

EventRequest

Properties

Name Type Description Notes
Email Pointer to string [optional]
UserId Pointer to string [optional]
EventName string
EventProperties Pointer to map[string]interface{} An object containing event property data for the event, available in emails sent by the event. [optional]
MailingLists Pointer to map[string]interface{} An object of mailing list IDs and boolean subscription statuses. [optional]

Methods

NewEventRequest

func NewEventRequest(eventName string, ) *EventRequest

NewEventRequest instantiates a new EventRequest 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

NewEventRequestWithDefaults

func NewEventRequestWithDefaults() *EventRequest

NewEventRequestWithDefaults instantiates a new EventRequest 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 *EventRequest) GetEmail() string

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

GetEmailOk

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

SetEmail sets Email field to given value.

HasEmail

func (o *EventRequest) HasEmail() bool

HasEmail returns a boolean if a field has been set.

GetUserId

func (o *EventRequest) GetUserId() string

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

GetUserIdOk

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

SetUserId sets UserId field to given value.

HasUserId

func (o *EventRequest) HasUserId() bool

HasUserId returns a boolean if a field has been set.

GetEventName

func (o *EventRequest) GetEventName() string

GetEventName returns the EventName field if non-nil, zero value otherwise.

GetEventNameOk

func (o *EventRequest) GetEventNameOk() (*string, bool)

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

SetEventName

func (o *EventRequest) SetEventName(v string)

SetEventName sets EventName field to given value.

GetEventProperties

func (o *EventRequest) GetEventProperties() map[string]interface{}

GetEventProperties returns the EventProperties field if non-nil, zero value otherwise.

GetEventPropertiesOk

func (o *EventRequest) GetEventPropertiesOk() (*map[string]interface{}, bool)

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

SetEventProperties

func (o *EventRequest) SetEventProperties(v map[string]interface{})

SetEventProperties sets EventProperties field to given value.

HasEventProperties

func (o *EventRequest) HasEventProperties() bool

HasEventProperties returns a boolean if a field has been set.

GetMailingLists

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

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

GetMailingListsOk

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

SetMailingLists sets MailingLists field to given value.

HasMailingLists

func (o *EventRequest) HasMailingLists() bool

HasMailingLists returns a boolean if a field has been set.

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