Documentation ¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIKeyAPIService
- type APIResponse
- type ApiApiKeyGetRequest
- type ApiContactsCreatePostRequest
- type ApiContactsCustomFieldsGetRequest
- type ApiContactsDeletePostRequest
- type ApiContactsFindGetRequest
- type ApiContactsUpdatePutRequest
- type ApiEventsSendPostRequest
- type ApiKeyGet200Response
- func (o *ApiKeyGet200Response) GetSuccess() bool
- func (o *ApiKeyGet200Response) GetSuccessOk() (*bool, bool)
- func (o *ApiKeyGet200Response) GetTeamName() string
- func (o *ApiKeyGet200Response) GetTeamNameOk() (*string, bool)
- func (o ApiKeyGet200Response) MarshalJSON() ([]byte, error)
- func (o *ApiKeyGet200Response) SetSuccess(v bool)
- func (o *ApiKeyGet200Response) SetTeamName(v string)
- func (o ApiKeyGet200Response) ToMap() (map[string]interface{}, error)
- func (o *ApiKeyGet200Response) UnmarshalJSON(data []byte) (err error)
- type ApiKeyGet401Response
- func (o *ApiKeyGet401Response) GetError() string
- func (o *ApiKeyGet401Response) GetErrorOk() (*string, bool)
- func (o *ApiKeyGet401Response) HasError() bool
- func (o ApiKeyGet401Response) MarshalJSON() ([]byte, error)
- func (o *ApiKeyGet401Response) SetError(v string)
- func (o ApiKeyGet401Response) ToMap() (map[string]interface{}, error)
- type ApiListsGetRequest
- type ApiTransactionalPostRequest
- type BasicAuth
- type Configuration
- type Contact
- func (o *Contact) GetEmail() string
- func (o *Contact) GetEmailOk() (*string, bool)
- func (o *Contact) GetFirstName() string
- func (o *Contact) GetFirstNameOk() (*string, bool)
- func (o *Contact) GetId() string
- func (o *Contact) GetIdOk() (*string, bool)
- func (o *Contact) GetLastName() string
- func (o *Contact) GetLastNameOk() (*string, bool)
- func (o *Contact) GetSource() string
- func (o *Contact) GetSourceOk() (*string, bool)
- func (o *Contact) GetSubscribed() bool
- func (o *Contact) GetSubscribedOk() (*bool, bool)
- func (o *Contact) GetUserGroup() string
- func (o *Contact) GetUserGroupOk() (*string, bool)
- func (o *Contact) GetUserId() string
- func (o *Contact) GetUserIdOk() (*string, bool)
- func (o *Contact) HasEmail() bool
- func (o *Contact) HasFirstName() bool
- func (o *Contact) HasId() bool
- func (o *Contact) HasLastName() bool
- func (o *Contact) HasSource() bool
- func (o *Contact) HasSubscribed() bool
- func (o *Contact) HasUserGroup() bool
- func (o *Contact) HasUserId() bool
- func (o Contact) MarshalJSON() ([]byte, error)
- func (o *Contact) SetEmail(v string)
- func (o *Contact) SetFirstName(v string)
- func (o *Contact) SetId(v string)
- func (o *Contact) SetLastName(v string)
- func (o *Contact) SetSource(v string)
- func (o *Contact) SetSubscribed(v bool)
- func (o *Contact) SetUserGroup(v string)
- func (o *Contact) SetUserId(v string)
- func (o Contact) ToMap() (map[string]interface{}, error)
- type ContactDeleteRequest
- func (o *ContactDeleteRequest) GetEmail() string
- func (o *ContactDeleteRequest) GetEmailOk() (*string, bool)
- func (o *ContactDeleteRequest) GetUserId() string
- func (o *ContactDeleteRequest) GetUserIdOk() (*string, bool)
- func (o ContactDeleteRequest) MarshalJSON() ([]byte, error)
- func (o *ContactDeleteRequest) SetEmail(v string)
- func (o *ContactDeleteRequest) SetUserId(v string)
- func (o ContactDeleteRequest) ToMap() (map[string]interface{}, error)
- func (o *ContactDeleteRequest) UnmarshalJSON(data []byte) (err error)
- type ContactDeleteResponse
- func (o *ContactDeleteResponse) GetMessage() string
- func (o *ContactDeleteResponse) GetMessageOk() (*string, bool)
- func (o *ContactDeleteResponse) GetSuccess() bool
- func (o *ContactDeleteResponse) GetSuccessOk() (*bool, bool)
- func (o ContactDeleteResponse) MarshalJSON() ([]byte, error)
- func (o *ContactDeleteResponse) SetMessage(v string)
- func (o *ContactDeleteResponse) SetSuccess(v bool)
- func (o ContactDeleteResponse) ToMap() (map[string]interface{}, error)
- func (o *ContactDeleteResponse) UnmarshalJSON(data []byte) (err error)
- type ContactFailureResponse
- func (o *ContactFailureResponse) GetMessage() string
- func (o *ContactFailureResponse) GetMessageOk() (*string, bool)
- func (o *ContactFailureResponse) GetSuccess() bool
- func (o *ContactFailureResponse) GetSuccessOk() (*bool, bool)
- func (o ContactFailureResponse) MarshalJSON() ([]byte, error)
- func (o *ContactFailureResponse) SetMessage(v string)
- func (o *ContactFailureResponse) SetSuccess(v bool)
- func (o ContactFailureResponse) ToMap() (map[string]interface{}, error)
- func (o *ContactFailureResponse) UnmarshalJSON(data []byte) (err error)
- type ContactRequest
- func (o *ContactRequest) GetEmail() string
- func (o *ContactRequest) GetEmailOk() (*string, bool)
- func (o *ContactRequest) GetFirstName() string
- func (o *ContactRequest) GetFirstNameOk() (*string, bool)
- func (o *ContactRequest) GetLastName() string
- func (o *ContactRequest) GetLastNameOk() (*string, bool)
- func (o *ContactRequest) GetMailingLists() map[string]interface{}
- func (o *ContactRequest) GetMailingListsOk() (map[string]interface{}, bool)
- func (o *ContactRequest) GetSubscribed() bool
- func (o *ContactRequest) GetSubscribedOk() (*bool, bool)
- func (o *ContactRequest) GetUserGroup() string
- func (o *ContactRequest) GetUserGroupOk() (*string, bool)
- func (o *ContactRequest) GetUserId() string
- func (o *ContactRequest) GetUserIdOk() (*string, bool)
- func (o *ContactRequest) HasFirstName() bool
- func (o *ContactRequest) HasLastName() bool
- func (o *ContactRequest) HasMailingLists() bool
- func (o *ContactRequest) HasSubscribed() bool
- func (o *ContactRequest) HasUserGroup() bool
- func (o *ContactRequest) HasUserId() bool
- func (o ContactRequest) MarshalJSON() ([]byte, error)
- func (o *ContactRequest) SetEmail(v string)
- func (o *ContactRequest) SetFirstName(v string)
- func (o *ContactRequest) SetLastName(v string)
- func (o *ContactRequest) SetMailingLists(v map[string]interface{})
- func (o *ContactRequest) SetSubscribed(v bool)
- func (o *ContactRequest) SetUserGroup(v string)
- func (o *ContactRequest) SetUserId(v string)
- func (o ContactRequest) ToMap() (map[string]interface{}, error)
- func (o *ContactRequest) UnmarshalJSON(data []byte) (err error)
- type ContactSuccessResponse
- func (o *ContactSuccessResponse) GetId() string
- func (o *ContactSuccessResponse) GetIdOk() (*string, bool)
- func (o *ContactSuccessResponse) GetSuccess() bool
- func (o *ContactSuccessResponse) GetSuccessOk() (*bool, bool)
- func (o ContactSuccessResponse) MarshalJSON() ([]byte, error)
- func (o *ContactSuccessResponse) SetId(v string)
- func (o *ContactSuccessResponse) SetSuccess(v bool)
- func (o ContactSuccessResponse) ToMap() (map[string]interface{}, error)
- func (o *ContactSuccessResponse) UnmarshalJSON(data []byte) (err error)
- type ContactsAPIService
- func (a *ContactsAPIService) ContactsCreatePost(ctx context.Context) ApiContactsCreatePostRequest
- func (a *ContactsAPIService) ContactsCreatePostExecute(r ApiContactsCreatePostRequest) (*ContactSuccessResponse, *http.Response, error)
- func (a *ContactsAPIService) ContactsDeletePost(ctx context.Context) ApiContactsDeletePostRequest
- func (a *ContactsAPIService) ContactsDeletePostExecute(r ApiContactsDeletePostRequest) (*ContactDeleteResponse, *http.Response, error)
- func (a *ContactsAPIService) ContactsFindGet(ctx context.Context) ApiContactsFindGetRequest
- func (a *ContactsAPIService) ContactsFindGetExecute(r ApiContactsFindGetRequest) ([]Contact, *http.Response, error)
- func (a *ContactsAPIService) ContactsUpdatePut(ctx context.Context) ApiContactsUpdatePutRequest
- func (a *ContactsAPIService) ContactsUpdatePutExecute(r ApiContactsUpdatePutRequest) (*ContactSuccessResponse, *http.Response, error)
- type ContactsDeletePost500Response
- func (o *ContactsDeletePost500Response) GetSuccess() bool
- func (o *ContactsDeletePost500Response) GetSuccessOk() (*bool, bool)
- func (o *ContactsDeletePost500Response) HasSuccess() bool
- func (o ContactsDeletePost500Response) MarshalJSON() ([]byte, error)
- func (o *ContactsDeletePost500Response) SetSuccess(v bool)
- func (o ContactsDeletePost500Response) ToMap() (map[string]interface{}, error)
- type CustomField
- func (o *CustomField) GetKey() string
- func (o *CustomField) GetKeyOk() (*string, bool)
- func (o *CustomField) GetLabel() string
- func (o *CustomField) GetLabelOk() (*string, bool)
- func (o *CustomField) GetType() string
- func (o *CustomField) GetTypeOk() (*string, bool)
- func (o CustomField) MarshalJSON() ([]byte, error)
- func (o *CustomField) SetKey(v string)
- func (o *CustomField) SetLabel(v string)
- func (o *CustomField) SetType(v string)
- func (o CustomField) ToMap() (map[string]interface{}, error)
- func (o *CustomField) UnmarshalJSON(data []byte) (err error)
- type CustomFieldsAPIService
- type EventFailureResponse
- func (o *EventFailureResponse) GetMessage() string
- func (o *EventFailureResponse) GetMessageOk() (*string, bool)
- func (o *EventFailureResponse) GetSuccess() bool
- func (o *EventFailureResponse) GetSuccessOk() (*bool, bool)
- func (o EventFailureResponse) MarshalJSON() ([]byte, error)
- func (o *EventFailureResponse) SetMessage(v string)
- func (o *EventFailureResponse) SetSuccess(v bool)
- func (o EventFailureResponse) ToMap() (map[string]interface{}, error)
- func (o *EventFailureResponse) UnmarshalJSON(data []byte) (err error)
- type EventRequest
- func (o *EventRequest) GetEmail() string
- func (o *EventRequest) GetEmailOk() (*string, bool)
- func (o *EventRequest) GetEventName() string
- func (o *EventRequest) GetEventNameOk() (*string, bool)
- func (o *EventRequest) GetEventProperties() map[string]interface{}
- func (o *EventRequest) GetEventPropertiesOk() (map[string]interface{}, bool)
- func (o *EventRequest) GetMailingLists() map[string]interface{}
- func (o *EventRequest) GetMailingListsOk() (map[string]interface{}, bool)
- func (o *EventRequest) GetUserId() string
- func (o *EventRequest) GetUserIdOk() (*string, bool)
- func (o *EventRequest) HasEmail() bool
- func (o *EventRequest) HasEventProperties() bool
- func (o *EventRequest) HasMailingLists() bool
- func (o *EventRequest) HasUserId() bool
- func (o EventRequest) MarshalJSON() ([]byte, error)
- func (o *EventRequest) SetEmail(v string)
- func (o *EventRequest) SetEventName(v string)
- func (o *EventRequest) SetEventProperties(v map[string]interface{})
- func (o *EventRequest) SetMailingLists(v map[string]interface{})
- func (o *EventRequest) SetUserId(v string)
- func (o EventRequest) ToMap() (map[string]interface{}, error)
- func (o *EventRequest) UnmarshalJSON(data []byte) (err error)
- type EventSuccessResponse
- func (o *EventSuccessResponse) GetSuccess() bool
- func (o *EventSuccessResponse) GetSuccessOk() (*bool, bool)
- func (o EventSuccessResponse) MarshalJSON() ([]byte, error)
- func (o *EventSuccessResponse) SetSuccess(v bool)
- func (o EventSuccessResponse) ToMap() (map[string]interface{}, error)
- func (o *EventSuccessResponse) UnmarshalJSON(data []byte) (err error)
- type EventsAPIService
- type GenericOpenAPIError
- type MailingList
- func (o *MailingList) GetId() string
- func (o *MailingList) GetIdOk() (*string, bool)
- func (o *MailingList) GetIsPublic() bool
- func (o *MailingList) GetIsPublicOk() (*bool, bool)
- func (o *MailingList) GetName() string
- func (o *MailingList) GetNameOk() (*string, bool)
- func (o MailingList) MarshalJSON() ([]byte, error)
- func (o *MailingList) SetId(v string)
- func (o *MailingList) SetIsPublic(v bool)
- func (o *MailingList) SetName(v string)
- func (o MailingList) ToMap() (map[string]interface{}, error)
- func (o *MailingList) UnmarshalJSON(data []byte) (err error)
- type MailingListsAPIService
- type MappedNullable
- type NullableApiKeyGet200Response
- func (v NullableApiKeyGet200Response) Get() *ApiKeyGet200Response
- func (v NullableApiKeyGet200Response) IsSet() bool
- func (v NullableApiKeyGet200Response) MarshalJSON() ([]byte, error)
- func (v *NullableApiKeyGet200Response) Set(val *ApiKeyGet200Response)
- func (v *NullableApiKeyGet200Response) UnmarshalJSON(src []byte) error
- func (v *NullableApiKeyGet200Response) Unset()
- type NullableApiKeyGet401Response
- func (v NullableApiKeyGet401Response) Get() *ApiKeyGet401Response
- func (v NullableApiKeyGet401Response) IsSet() bool
- func (v NullableApiKeyGet401Response) MarshalJSON() ([]byte, error)
- func (v *NullableApiKeyGet401Response) Set(val *ApiKeyGet401Response)
- func (v *NullableApiKeyGet401Response) UnmarshalJSON(src []byte) error
- func (v *NullableApiKeyGet401Response) Unset()
- type NullableBool
- type NullableContact
- type NullableContactDeleteRequest
- func (v NullableContactDeleteRequest) Get() *ContactDeleteRequest
- func (v NullableContactDeleteRequest) IsSet() bool
- func (v NullableContactDeleteRequest) MarshalJSON() ([]byte, error)
- func (v *NullableContactDeleteRequest) Set(val *ContactDeleteRequest)
- func (v *NullableContactDeleteRequest) UnmarshalJSON(src []byte) error
- func (v *NullableContactDeleteRequest) Unset()
- type NullableContactDeleteResponse
- func (v NullableContactDeleteResponse) Get() *ContactDeleteResponse
- func (v NullableContactDeleteResponse) IsSet() bool
- func (v NullableContactDeleteResponse) MarshalJSON() ([]byte, error)
- func (v *NullableContactDeleteResponse) Set(val *ContactDeleteResponse)
- func (v *NullableContactDeleteResponse) UnmarshalJSON(src []byte) error
- func (v *NullableContactDeleteResponse) Unset()
- type NullableContactFailureResponse
- func (v NullableContactFailureResponse) Get() *ContactFailureResponse
- func (v NullableContactFailureResponse) IsSet() bool
- func (v NullableContactFailureResponse) MarshalJSON() ([]byte, error)
- func (v *NullableContactFailureResponse) Set(val *ContactFailureResponse)
- func (v *NullableContactFailureResponse) UnmarshalJSON(src []byte) error
- func (v *NullableContactFailureResponse) Unset()
- type NullableContactRequest
- func (v NullableContactRequest) Get() *ContactRequest
- func (v NullableContactRequest) IsSet() bool
- func (v NullableContactRequest) MarshalJSON() ([]byte, error)
- func (v *NullableContactRequest) Set(val *ContactRequest)
- func (v *NullableContactRequest) UnmarshalJSON(src []byte) error
- func (v *NullableContactRequest) Unset()
- type NullableContactSuccessResponse
- func (v NullableContactSuccessResponse) Get() *ContactSuccessResponse
- func (v NullableContactSuccessResponse) IsSet() bool
- func (v NullableContactSuccessResponse) MarshalJSON() ([]byte, error)
- func (v *NullableContactSuccessResponse) Set(val *ContactSuccessResponse)
- func (v *NullableContactSuccessResponse) UnmarshalJSON(src []byte) error
- func (v *NullableContactSuccessResponse) Unset()
- type NullableContactsDeletePost500Response
- func (v NullableContactsDeletePost500Response) Get() *ContactsDeletePost500Response
- func (v NullableContactsDeletePost500Response) IsSet() bool
- func (v NullableContactsDeletePost500Response) MarshalJSON() ([]byte, error)
- func (v *NullableContactsDeletePost500Response) Set(val *ContactsDeletePost500Response)
- func (v *NullableContactsDeletePost500Response) UnmarshalJSON(src []byte) error
- func (v *NullableContactsDeletePost500Response) Unset()
- type NullableCustomField
- func (v NullableCustomField) Get() *CustomField
- func (v NullableCustomField) IsSet() bool
- func (v NullableCustomField) MarshalJSON() ([]byte, error)
- func (v *NullableCustomField) Set(val *CustomField)
- func (v *NullableCustomField) UnmarshalJSON(src []byte) error
- func (v *NullableCustomField) Unset()
- type NullableEventFailureResponse
- func (v NullableEventFailureResponse) Get() *EventFailureResponse
- func (v NullableEventFailureResponse) IsSet() bool
- func (v NullableEventFailureResponse) MarshalJSON() ([]byte, error)
- func (v *NullableEventFailureResponse) Set(val *EventFailureResponse)
- func (v *NullableEventFailureResponse) UnmarshalJSON(src []byte) error
- func (v *NullableEventFailureResponse) Unset()
- type NullableEventRequest
- func (v NullableEventRequest) Get() *EventRequest
- func (v NullableEventRequest) IsSet() bool
- func (v NullableEventRequest) MarshalJSON() ([]byte, error)
- func (v *NullableEventRequest) Set(val *EventRequest)
- func (v *NullableEventRequest) UnmarshalJSON(src []byte) error
- func (v *NullableEventRequest) Unset()
- type NullableEventSuccessResponse
- func (v NullableEventSuccessResponse) Get() *EventSuccessResponse
- func (v NullableEventSuccessResponse) IsSet() bool
- func (v NullableEventSuccessResponse) MarshalJSON() ([]byte, error)
- func (v *NullableEventSuccessResponse) Set(val *EventSuccessResponse)
- func (v *NullableEventSuccessResponse) UnmarshalJSON(src []byte) error
- func (v *NullableEventSuccessResponse) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableMailingList
- func (v NullableMailingList) Get() *MailingList
- func (v NullableMailingList) IsSet() bool
- func (v NullableMailingList) MarshalJSON() ([]byte, error)
- func (v *NullableMailingList) Set(val *MailingList)
- func (v *NullableMailingList) UnmarshalJSON(src []byte) error
- func (v *NullableMailingList) Unset()
- type NullableString
- type NullableTime
- type NullableTransactionalFailure2Response
- func (v NullableTransactionalFailure2Response) Get() *TransactionalFailure2Response
- func (v NullableTransactionalFailure2Response) IsSet() bool
- func (v NullableTransactionalFailure2Response) MarshalJSON() ([]byte, error)
- func (v *NullableTransactionalFailure2Response) Set(val *TransactionalFailure2Response)
- func (v *NullableTransactionalFailure2Response) UnmarshalJSON(src []byte) error
- func (v *NullableTransactionalFailure2Response) Unset()
- type NullableTransactionalFailure2ResponseError
- func (v NullableTransactionalFailure2ResponseError) Get() *TransactionalFailure2ResponseError
- func (v NullableTransactionalFailure2ResponseError) IsSet() bool
- func (v NullableTransactionalFailure2ResponseError) MarshalJSON() ([]byte, error)
- func (v *NullableTransactionalFailure2ResponseError) Set(val *TransactionalFailure2ResponseError)
- func (v *NullableTransactionalFailure2ResponseError) UnmarshalJSON(src []byte) error
- func (v *NullableTransactionalFailure2ResponseError) Unset()
- type NullableTransactionalFailure3Response
- func (v NullableTransactionalFailure3Response) Get() *TransactionalFailure3Response
- func (v NullableTransactionalFailure3Response) IsSet() bool
- func (v NullableTransactionalFailure3Response) MarshalJSON() ([]byte, error)
- func (v *NullableTransactionalFailure3Response) Set(val *TransactionalFailure3Response)
- func (v *NullableTransactionalFailure3Response) UnmarshalJSON(src []byte) error
- func (v *NullableTransactionalFailure3Response) Unset()
- type NullableTransactionalFailureResponse
- func (v NullableTransactionalFailureResponse) Get() *TransactionalFailureResponse
- func (v NullableTransactionalFailureResponse) IsSet() bool
- func (v NullableTransactionalFailureResponse) MarshalJSON() ([]byte, error)
- func (v *NullableTransactionalFailureResponse) Set(val *TransactionalFailureResponse)
- func (v *NullableTransactionalFailureResponse) UnmarshalJSON(src []byte) error
- func (v *NullableTransactionalFailureResponse) Unset()
- type NullableTransactionalPost400Response
- func (v NullableTransactionalPost400Response) Get() *TransactionalPost400Response
- func (v NullableTransactionalPost400Response) IsSet() bool
- func (v NullableTransactionalPost400Response) MarshalJSON() ([]byte, error)
- func (v *NullableTransactionalPost400Response) Set(val *TransactionalPost400Response)
- func (v *NullableTransactionalPost400Response) UnmarshalJSON(src []byte) error
- func (v *NullableTransactionalPost400Response) Unset()
- type NullableTransactionalRequest
- func (v NullableTransactionalRequest) Get() *TransactionalRequest
- func (v NullableTransactionalRequest) IsSet() bool
- func (v NullableTransactionalRequest) MarshalJSON() ([]byte, error)
- func (v *NullableTransactionalRequest) Set(val *TransactionalRequest)
- func (v *NullableTransactionalRequest) UnmarshalJSON(src []byte) error
- func (v *NullableTransactionalRequest) Unset()
- type NullableTransactionalRequestAttachmentsInner
- func (v NullableTransactionalRequestAttachmentsInner) Get() *TransactionalRequestAttachmentsInner
- func (v NullableTransactionalRequestAttachmentsInner) IsSet() bool
- func (v NullableTransactionalRequestAttachmentsInner) MarshalJSON() ([]byte, error)
- func (v *NullableTransactionalRequestAttachmentsInner) Set(val *TransactionalRequestAttachmentsInner)
- func (v *NullableTransactionalRequestAttachmentsInner) UnmarshalJSON(src []byte) error
- func (v *NullableTransactionalRequestAttachmentsInner) Unset()
- type NullableTransactionalSuccessResponse
- func (v NullableTransactionalSuccessResponse) Get() *TransactionalSuccessResponse
- func (v NullableTransactionalSuccessResponse) IsSet() bool
- func (v NullableTransactionalSuccessResponse) MarshalJSON() ([]byte, error)
- func (v *NullableTransactionalSuccessResponse) Set(val *TransactionalSuccessResponse)
- func (v *NullableTransactionalSuccessResponse) UnmarshalJSON(src []byte) error
- func (v *NullableTransactionalSuccessResponse) Unset()
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type TransactionalEmailsAPIService
- type TransactionalFailure2Response
- func (o *TransactionalFailure2Response) GetError() TransactionalFailure2ResponseError
- func (o *TransactionalFailure2Response) GetErrorOk() (*TransactionalFailure2ResponseError, bool)
- func (o *TransactionalFailure2Response) GetSuccess() bool
- func (o *TransactionalFailure2Response) GetSuccessOk() (*bool, bool)
- func (o TransactionalFailure2Response) MarshalJSON() ([]byte, error)
- func (o *TransactionalFailure2Response) SetError(v TransactionalFailure2ResponseError)
- func (o *TransactionalFailure2Response) SetSuccess(v bool)
- func (o TransactionalFailure2Response) ToMap() (map[string]interface{}, error)
- func (o *TransactionalFailure2Response) UnmarshalJSON(data []byte) (err error)
- type TransactionalFailure2ResponseError
- func (o *TransactionalFailure2ResponseError) GetMessage() string
- func (o *TransactionalFailure2ResponseError) GetMessageOk() (*string, bool)
- func (o *TransactionalFailure2ResponseError) GetPath() string
- func (o *TransactionalFailure2ResponseError) GetPathOk() (*string, bool)
- func (o *TransactionalFailure2ResponseError) HasMessage() bool
- func (o *TransactionalFailure2ResponseError) HasPath() bool
- func (o TransactionalFailure2ResponseError) MarshalJSON() ([]byte, error)
- func (o *TransactionalFailure2ResponseError) SetMessage(v string)
- func (o *TransactionalFailure2ResponseError) SetPath(v string)
- func (o TransactionalFailure2ResponseError) ToMap() (map[string]interface{}, error)
- type TransactionalFailure3Response
- func (o *TransactionalFailure3Response) GetMessage() string
- func (o *TransactionalFailure3Response) GetMessageOk() (*string, bool)
- func (o *TransactionalFailure3Response) GetSuccess() bool
- func (o *TransactionalFailure3Response) GetSuccessOk() (*bool, bool)
- func (o TransactionalFailure3Response) MarshalJSON() ([]byte, error)
- func (o *TransactionalFailure3Response) SetMessage(v string)
- func (o *TransactionalFailure3Response) SetSuccess(v bool)
- func (o TransactionalFailure3Response) ToMap() (map[string]interface{}, error)
- func (o *TransactionalFailure3Response) UnmarshalJSON(data []byte) (err error)
- type TransactionalFailureResponse
- func (o *TransactionalFailureResponse) GetMessage() string
- func (o *TransactionalFailureResponse) GetMessageOk() (*string, bool)
- func (o *TransactionalFailureResponse) GetPath() string
- func (o *TransactionalFailureResponse) GetPathOk() (*string, bool)
- func (o *TransactionalFailureResponse) GetSuccess() bool
- func (o *TransactionalFailureResponse) GetSuccessOk() (*bool, bool)
- func (o TransactionalFailureResponse) MarshalJSON() ([]byte, error)
- func (o *TransactionalFailureResponse) SetMessage(v string)
- func (o *TransactionalFailureResponse) SetPath(v string)
- func (o *TransactionalFailureResponse) SetSuccess(v bool)
- func (o TransactionalFailureResponse) ToMap() (map[string]interface{}, error)
- func (o *TransactionalFailureResponse) UnmarshalJSON(data []byte) (err error)
- type TransactionalPost400Response
- func TransactionalFailure2ResponseAsTransactionalPost400Response(v *TransactionalFailure2Response) TransactionalPost400Response
- func TransactionalFailure3ResponseAsTransactionalPost400Response(v *TransactionalFailure3Response) TransactionalPost400Response
- func TransactionalFailureResponseAsTransactionalPost400Response(v *TransactionalFailureResponse) TransactionalPost400Response
- type TransactionalRequest
- func (o *TransactionalRequest) GetAddToAudience() bool
- func (o *TransactionalRequest) GetAddToAudienceOk() (*bool, bool)
- func (o *TransactionalRequest) GetAttachments() []TransactionalRequestAttachmentsInner
- func (o *TransactionalRequest) GetAttachmentsOk() ([]TransactionalRequestAttachmentsInner, bool)
- func (o *TransactionalRequest) GetDataVariables() map[string]interface{}
- func (o *TransactionalRequest) GetDataVariablesOk() (map[string]interface{}, bool)
- func (o *TransactionalRequest) GetEmail() string
- func (o *TransactionalRequest) GetEmailOk() (*string, bool)
- func (o *TransactionalRequest) GetTransactionalId() string
- func (o *TransactionalRequest) GetTransactionalIdOk() (*string, bool)
- func (o *TransactionalRequest) HasAddToAudience() bool
- func (o *TransactionalRequest) HasAttachments() bool
- func (o *TransactionalRequest) HasDataVariables() bool
- func (o TransactionalRequest) MarshalJSON() ([]byte, error)
- func (o *TransactionalRequest) SetAddToAudience(v bool)
- func (o *TransactionalRequest) SetAttachments(v []TransactionalRequestAttachmentsInner)
- func (o *TransactionalRequest) SetDataVariables(v map[string]interface{})
- func (o *TransactionalRequest) SetEmail(v string)
- func (o *TransactionalRequest) SetTransactionalId(v string)
- func (o TransactionalRequest) ToMap() (map[string]interface{}, error)
- func (o *TransactionalRequest) UnmarshalJSON(data []byte) (err error)
- type TransactionalRequestAttachmentsInner
- func (o *TransactionalRequestAttachmentsInner) GetContentType() string
- func (o *TransactionalRequestAttachmentsInner) GetContentTypeOk() (*string, bool)
- func (o *TransactionalRequestAttachmentsInner) GetData() string
- func (o *TransactionalRequestAttachmentsInner) GetDataOk() (*string, bool)
- func (o *TransactionalRequestAttachmentsInner) GetFilename() string
- func (o *TransactionalRequestAttachmentsInner) GetFilenameOk() (*string, bool)
- func (o TransactionalRequestAttachmentsInner) MarshalJSON() ([]byte, error)
- func (o *TransactionalRequestAttachmentsInner) SetContentType(v string)
- func (o *TransactionalRequestAttachmentsInner) SetData(v string)
- func (o *TransactionalRequestAttachmentsInner) SetFilename(v string)
- func (o TransactionalRequestAttachmentsInner) ToMap() (map[string]interface{}, error)
- func (o *TransactionalRequestAttachmentsInner) UnmarshalJSON(data []byte) (err error)
- type TransactionalSuccessResponse
- func (o *TransactionalSuccessResponse) GetSuccess() bool
- func (o *TransactionalSuccessResponse) GetSuccessOk() (*bool, bool)
- func (o TransactionalSuccessResponse) MarshalJSON() ([]byte, error)
- func (o *TransactionalSuccessResponse) SetSuccess(v bool)
- func (o TransactionalSuccessResponse) ToMap() (map[string]interface{}, error)
- func (o *TransactionalSuccessResponse) UnmarshalJSON(data []byte) (err error)
Constants ¶
This section is empty.
Variables ¶
var ( JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) )
var ( // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
Functions ¶
func CacheExpires ¶ added in v1.0.2
CacheExpires helper function to determine remaining time before repeating a request.
func PtrBool ¶ added in v1.0.2
PtrBool is a helper routine that returns a pointer to given boolean value.
func PtrFloat32 ¶ added in v1.0.2
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶ added in v1.0.2
PtrFloat64 is a helper routine that returns a pointer to given float value.
func PtrInt ¶ added in v1.0.2
PtrInt is a helper routine that returns a pointer to given integer value.
func PtrInt32 ¶ added in v1.0.2
PtrInt32 is a helper routine that returns a pointer to given integer value.
func PtrInt64 ¶ added in v1.0.2
PtrInt64 is a helper routine that returns a pointer to given integer value.
Types ¶
type APIClient ¶ added in v1.0.2
type APIClient struct { APIKeyAPI *APIKeyAPIService ContactsAPI *ContactsAPIService CustomFieldsAPI *CustomFieldsAPIService EventsAPI *EventsAPIService MailingListsAPI *MailingListsAPIService TransactionalEmailsAPI *TransactionalEmailsAPIService // contains filtered or unexported fields }
APIClient manages communication with the Loops OpenAPI Spec API v1.3.2 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶ added in v1.0.2
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶ added in v1.0.2
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶ added in v1.0.2
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIKeyAPIService ¶ added in v1.3.2
type APIKeyAPIService service
APIKeyAPIService APIKeyAPI service
func (*APIKeyAPIService) ApiKeyGet ¶ added in v1.3.2
func (a *APIKeyAPIService) ApiKeyGet(ctx context.Context) ApiApiKeyGetRequest
ApiKeyGet Test your API key
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiApiKeyGetRequest
func (*APIKeyAPIService) ApiKeyGetExecute ¶ added in v1.3.2
func (a *APIKeyAPIService) ApiKeyGetExecute(r ApiApiKeyGetRequest) (*ApiKeyGet200Response, *http.Response, error)
Execute executes the request
@return ApiKeyGet200Response
type APIResponse ¶ added in v1.0.2
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the OpenAPI operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶ added in v1.0.2
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶ added in v1.0.2
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type ApiApiKeyGetRequest ¶ added in v1.3.2
type ApiApiKeyGetRequest struct { ApiService *APIKeyAPIService // contains filtered or unexported fields }
func (ApiApiKeyGetRequest) Execute ¶ added in v1.3.2
func (r ApiApiKeyGetRequest) Execute() (*ApiKeyGet200Response, *http.Response, error)
type ApiContactsCreatePostRequest ¶ added in v1.0.2
type ApiContactsCreatePostRequest struct { ApiService *ContactsAPIService // contains filtered or unexported fields }
func (ApiContactsCreatePostRequest) ContactRequest ¶ added in v1.0.2
func (r ApiContactsCreatePostRequest) ContactRequest(contactRequest ContactRequest) ApiContactsCreatePostRequest
You can add custom contact properties as keys in this request (of type `string`, `number`, `boolean` or `date` ([see available date formats](https://loops.so/docs/contacts/properties#dates))).<br>Make sure to create the properties in Loops before using them in API calls.
func (ApiContactsCreatePostRequest) Execute ¶ added in v1.0.2
func (r ApiContactsCreatePostRequest) Execute() (*ContactSuccessResponse, *http.Response, error)
type ApiContactsCustomFieldsGetRequest ¶ added in v1.0.2
type ApiContactsCustomFieldsGetRequest struct { ApiService *CustomFieldsAPIService // contains filtered or unexported fields }
func (ApiContactsCustomFieldsGetRequest) Execute ¶ added in v1.0.2
func (r ApiContactsCustomFieldsGetRequest) Execute() ([]CustomField, *http.Response, error)
type ApiContactsDeletePostRequest ¶ added in v1.0.2
type ApiContactsDeletePostRequest struct { ApiService *ContactsAPIService // contains filtered or unexported fields }
func (ApiContactsDeletePostRequest) ContactDeleteRequest ¶ added in v1.0.2
func (r ApiContactsDeletePostRequest) ContactDeleteRequest(contactDeleteRequest ContactDeleteRequest) ApiContactsDeletePostRequest
Include only one of `email` or `userId`.
func (ApiContactsDeletePostRequest) Execute ¶ added in v1.0.2
func (r ApiContactsDeletePostRequest) Execute() (*ContactDeleteResponse, *http.Response, error)
type ApiContactsFindGetRequest ¶ added in v1.0.2
type ApiContactsFindGetRequest struct { ApiService *ContactsAPIService // contains filtered or unexported fields }
func (ApiContactsFindGetRequest) Email ¶ added in v1.0.2
func (r ApiContactsFindGetRequest) Email(email string) ApiContactsFindGetRequest
Email address (URI-encoded)
func (ApiContactsFindGetRequest) Execute ¶ added in v1.0.2
func (r ApiContactsFindGetRequest) Execute() ([]Contact, *http.Response, error)
func (ApiContactsFindGetRequest) UserId ¶ added in v1.3.0
func (r ApiContactsFindGetRequest) UserId(userId string) ApiContactsFindGetRequest
type ApiContactsUpdatePutRequest ¶ added in v1.0.2
type ApiContactsUpdatePutRequest struct { ApiService *ContactsAPIService // contains filtered or unexported fields }
func (ApiContactsUpdatePutRequest) ContactRequest ¶ added in v1.0.2
func (r ApiContactsUpdatePutRequest) ContactRequest(contactRequest ContactRequest) ApiContactsUpdatePutRequest
You can add custom contact properties as keys in this request (of type `string`, `number`, `boolean` or `date` ([see available date formats](https://loops.so/docs/contacts/properties#dates))).<br>Make sure to create the properties in Loops before using them in API calls.
func (ApiContactsUpdatePutRequest) Execute ¶ added in v1.0.2
func (r ApiContactsUpdatePutRequest) Execute() (*ContactSuccessResponse, *http.Response, error)
type ApiEventsSendPostRequest ¶ added in v1.0.2
type ApiEventsSendPostRequest struct { ApiService *EventsAPIService // contains filtered or unexported fields }
func (ApiEventsSendPostRequest) EventRequest ¶ added in v1.0.2
func (r ApiEventsSendPostRequest) EventRequest(eventRequest EventRequest) ApiEventsSendPostRequest
Provide either `email` or `userId` to identify the contact ([read more](https://loops.so/docs/api-reference/send-event#body)).<br>You can add event properties, which will be available in emails sent by this event. Values can be of type string, number, boolean or date ([see allowed date formats](https://loops.so/docs/events/properties#important-information-about-event-properties)).<br>Make sure to create the properties in Loops before using them in API calls.<br>You can add contact properties as keys in this request (of type `string`, `number`, `boolean` or `date` ([see available date formats](https://loops.so/docs/contacts/properties#dates))).
func (ApiEventsSendPostRequest) Execute ¶ added in v1.0.2
func (r ApiEventsSendPostRequest) Execute() (*EventSuccessResponse, *http.Response, error)
type ApiKeyGet200Response ¶ added in v1.3.2
type ApiKeyGet200Response struct { Success bool `json:"success"` // The name of the team the API key belongs to. TeamName string `json:"teamName"` }
ApiKeyGet200Response struct for ApiKeyGet200Response
func NewApiKeyGet200Response ¶ added in v1.3.2
func NewApiKeyGet200Response(success bool, teamName string) *ApiKeyGet200Response
NewApiKeyGet200Response instantiates a new ApiKeyGet200Response 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 NewApiKeyGet200ResponseWithDefaults ¶ added in v1.3.2
func NewApiKeyGet200ResponseWithDefaults() *ApiKeyGet200Response
NewApiKeyGet200ResponseWithDefaults instantiates a new ApiKeyGet200Response 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 (*ApiKeyGet200Response) GetSuccess ¶ added in v1.3.2
func (o *ApiKeyGet200Response) GetSuccess() bool
GetSuccess returns the Success field value
func (*ApiKeyGet200Response) GetSuccessOk ¶ added in v1.3.2
func (o *ApiKeyGet200Response) GetSuccessOk() (*bool, bool)
GetSuccessOk returns a tuple with the Success field value and a boolean to check if the value has been set.
func (*ApiKeyGet200Response) GetTeamName ¶ added in v1.3.2
func (o *ApiKeyGet200Response) GetTeamName() string
GetTeamName returns the TeamName field value
func (*ApiKeyGet200Response) GetTeamNameOk ¶ added in v1.3.2
func (o *ApiKeyGet200Response) GetTeamNameOk() (*string, bool)
GetTeamNameOk returns a tuple with the TeamName field value and a boolean to check if the value has been set.
func (ApiKeyGet200Response) MarshalJSON ¶ added in v1.3.2
func (o ApiKeyGet200Response) MarshalJSON() ([]byte, error)
func (*ApiKeyGet200Response) SetSuccess ¶ added in v1.3.2
func (o *ApiKeyGet200Response) SetSuccess(v bool)
SetSuccess sets field value
func (*ApiKeyGet200Response) SetTeamName ¶ added in v1.3.2
func (o *ApiKeyGet200Response) SetTeamName(v string)
SetTeamName sets field value
func (ApiKeyGet200Response) ToMap ¶ added in v1.3.2
func (o ApiKeyGet200Response) ToMap() (map[string]interface{}, error)
func (*ApiKeyGet200Response) UnmarshalJSON ¶ added in v1.3.2
func (o *ApiKeyGet200Response) UnmarshalJSON(data []byte) (err error)
type ApiKeyGet401Response ¶ added in v1.3.2
type ApiKeyGet401Response struct {
Error *string `json:"error,omitempty"`
}
ApiKeyGet401Response struct for ApiKeyGet401Response
func NewApiKeyGet401Response ¶ added in v1.3.2
func NewApiKeyGet401Response() *ApiKeyGet401Response
NewApiKeyGet401Response instantiates a new ApiKeyGet401Response 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 NewApiKeyGet401ResponseWithDefaults ¶ added in v1.3.2
func NewApiKeyGet401ResponseWithDefaults() *ApiKeyGet401Response
NewApiKeyGet401ResponseWithDefaults instantiates a new ApiKeyGet401Response 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 (*ApiKeyGet401Response) GetError ¶ added in v1.3.2
func (o *ApiKeyGet401Response) GetError() string
GetError returns the Error field value if set, zero value otherwise.
func (*ApiKeyGet401Response) GetErrorOk ¶ added in v1.3.2
func (o *ApiKeyGet401Response) GetErrorOk() (*string, bool)
GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiKeyGet401Response) HasError ¶ added in v1.3.2
func (o *ApiKeyGet401Response) HasError() bool
HasError returns a boolean if a field has been set.
func (ApiKeyGet401Response) MarshalJSON ¶ added in v1.3.2
func (o ApiKeyGet401Response) MarshalJSON() ([]byte, error)
func (*ApiKeyGet401Response) SetError ¶ added in v1.3.2
func (o *ApiKeyGet401Response) SetError(v string)
SetError gets a reference to the given string and assigns it to the Error field.
func (ApiKeyGet401Response) ToMap ¶ added in v1.3.2
func (o ApiKeyGet401Response) ToMap() (map[string]interface{}, error)
type ApiListsGetRequest ¶ added in v1.3.0
type ApiListsGetRequest struct { ApiService *MailingListsAPIService // contains filtered or unexported fields }
func (ApiListsGetRequest) Execute ¶ added in v1.3.0
func (r ApiListsGetRequest) Execute() ([]MailingList, *http.Response, error)
type ApiTransactionalPostRequest ¶ added in v1.0.2
type ApiTransactionalPostRequest struct { ApiService *TransactionalEmailsAPIService // contains filtered or unexported fields }
func (ApiTransactionalPostRequest) Execute ¶ added in v1.0.2
func (r ApiTransactionalPostRequest) Execute() (*TransactionalSuccessResponse, *http.Response, error)
func (ApiTransactionalPostRequest) TransactionalRequest ¶ added in v1.0.2
func (r ApiTransactionalPostRequest) TransactionalRequest(transactionalRequest TransactionalRequest) ApiTransactionalPostRequest
type BasicAuth ¶ added in v1.0.2
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type Configuration ¶ added in v1.0.2
type Configuration struct { Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` Debug bool `json:"debug,omitempty"` Servers ServerConfigurations OperationServers map[string]ServerConfigurations HTTPClient *http.Client }
Configuration stores the configuration of the API client
func NewConfiguration ¶ added in v1.0.2
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶ added in v1.0.2
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURLWithContext ¶ added in v1.0.2
ServerURLWithContext returns a new server URL given an endpoint
type Contact ¶
type Contact struct { Id *string `json:"id,omitempty"` Email *string `json:"email,omitempty"` FirstName *string `json:"firstName,omitempty"` LastName *string `json:"lastName,omitempty"` Source *string `json:"source,omitempty"` Subscribed *bool `json:"subscribed,omitempty"` UserGroup *string `json:"userGroup,omitempty"` UserId *string `json:"userId,omitempty"` }
Contact struct for Contact
func NewContact ¶ added in v1.0.2
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
func NewContactWithDefaults ¶ added in v1.0.2
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
func (*Contact) GetEmail ¶ added in v1.0.2
GetEmail returns the Email field value if set, zero value otherwise.
func (*Contact) GetEmailOk ¶ added in v1.0.2
GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Contact) GetFirstName ¶ added in v1.0.2
GetFirstName returns the FirstName field value if set, zero value otherwise.
func (*Contact) GetFirstNameOk ¶ added in v1.0.2
GetFirstNameOk returns a tuple with the FirstName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Contact) GetId ¶ added in v1.0.2
GetId returns the Id field value if set, zero value otherwise.
func (*Contact) GetIdOk ¶ added in v1.0.2
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Contact) GetLastName ¶ added in v1.0.2
GetLastName returns the LastName field value if set, zero value otherwise.
func (*Contact) GetLastNameOk ¶ added in v1.0.2
GetLastNameOk returns a tuple with the LastName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Contact) GetSource ¶ added in v1.0.2
GetSource returns the Source field value if set, zero value otherwise.
func (*Contact) GetSourceOk ¶ added in v1.0.2
GetSourceOk returns a tuple with the Source field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Contact) GetSubscribed ¶ added in v1.0.2
GetSubscribed returns the Subscribed field value if set, zero value otherwise.
func (*Contact) GetSubscribedOk ¶ added in v1.0.2
GetSubscribedOk returns a tuple with the Subscribed field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Contact) GetUserGroup ¶ added in v1.0.2
GetUserGroup returns the UserGroup field value if set, zero value otherwise.
func (*Contact) GetUserGroupOk ¶ added in v1.0.2
GetUserGroupOk returns a tuple with the UserGroup field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Contact) GetUserId ¶ added in v1.0.2
GetUserId returns the UserId field value if set, zero value otherwise.
func (*Contact) GetUserIdOk ¶ added in v1.0.2
GetUserIdOk returns a tuple with the UserId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Contact) HasFirstName ¶ added in v1.0.2
HasFirstName returns a boolean if a field has been set.
func (*Contact) HasLastName ¶ added in v1.0.2
HasLastName returns a boolean if a field has been set.
func (*Contact) HasSubscribed ¶ added in v1.0.2
HasSubscribed returns a boolean if a field has been set.
func (*Contact) HasUserGroup ¶ added in v1.0.2
HasUserGroup returns a boolean if a field has been set.
func (Contact) MarshalJSON ¶ added in v1.0.2
func (*Contact) SetEmail ¶ added in v1.0.2
SetEmail gets a reference to the given string and assigns it to the Email field.
func (*Contact) SetFirstName ¶ added in v1.0.2
SetFirstName gets a reference to the given string and assigns it to the FirstName field.
func (*Contact) SetId ¶ added in v1.0.2
SetId gets a reference to the given string and assigns it to the Id field.
func (*Contact) SetLastName ¶ added in v1.0.2
SetLastName gets a reference to the given string and assigns it to the LastName field.
func (*Contact) SetSource ¶ added in v1.0.2
SetSource gets a reference to the given string and assigns it to the Source field.
func (*Contact) SetSubscribed ¶ added in v1.0.2
SetSubscribed gets a reference to the given bool and assigns it to the Subscribed field.
func (*Contact) SetUserGroup ¶ added in v1.0.2
SetUserGroup gets a reference to the given string and assigns it to the UserGroup field.
type ContactDeleteRequest ¶
ContactDeleteRequest struct for ContactDeleteRequest
func NewContactDeleteRequest ¶ added in v1.0.2
func NewContactDeleteRequest(email string, userId string) *ContactDeleteRequest
NewContactDeleteRequest instantiates a new ContactDeleteRequest 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 NewContactDeleteRequestWithDefaults ¶ added in v1.0.2
func NewContactDeleteRequestWithDefaults() *ContactDeleteRequest
NewContactDeleteRequestWithDefaults instantiates a new ContactDeleteRequest 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 (*ContactDeleteRequest) GetEmail ¶ added in v1.0.2
func (o *ContactDeleteRequest) GetEmail() string
GetEmail returns the Email field value
func (*ContactDeleteRequest) GetEmailOk ¶ added in v1.0.2
func (o *ContactDeleteRequest) GetEmailOk() (*string, bool)
GetEmailOk returns a tuple with the Email field value and a boolean to check if the value has been set.
func (*ContactDeleteRequest) GetUserId ¶ added in v1.0.2
func (o *ContactDeleteRequest) GetUserId() string
GetUserId returns the UserId field value
func (*ContactDeleteRequest) GetUserIdOk ¶ added in v1.0.2
func (o *ContactDeleteRequest) GetUserIdOk() (*string, bool)
GetUserIdOk returns a tuple with the UserId field value and a boolean to check if the value has been set.
func (ContactDeleteRequest) MarshalJSON ¶ added in v1.0.2
func (o ContactDeleteRequest) MarshalJSON() ([]byte, error)
func (*ContactDeleteRequest) SetEmail ¶ added in v1.0.2
func (o *ContactDeleteRequest) SetEmail(v string)
SetEmail sets field value
func (*ContactDeleteRequest) SetUserId ¶ added in v1.0.2
func (o *ContactDeleteRequest) SetUserId(v string)
SetUserId sets field value
func (ContactDeleteRequest) ToMap ¶ added in v1.0.2
func (o ContactDeleteRequest) ToMap() (map[string]interface{}, error)
func (*ContactDeleteRequest) UnmarshalJSON ¶ added in v1.3.2
func (o *ContactDeleteRequest) UnmarshalJSON(data []byte) (err error)
type ContactDeleteResponse ¶
ContactDeleteResponse struct for ContactDeleteResponse
func NewContactDeleteResponse ¶ added in v1.0.2
func NewContactDeleteResponse(success bool, message string) *ContactDeleteResponse
NewContactDeleteResponse instantiates a new ContactDeleteResponse 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 NewContactDeleteResponseWithDefaults ¶ added in v1.0.2
func NewContactDeleteResponseWithDefaults() *ContactDeleteResponse
NewContactDeleteResponseWithDefaults instantiates a new ContactDeleteResponse 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 (*ContactDeleteResponse) GetMessage ¶ added in v1.0.2
func (o *ContactDeleteResponse) GetMessage() string
GetMessage returns the Message field value
func (*ContactDeleteResponse) GetMessageOk ¶ added in v1.0.2
func (o *ContactDeleteResponse) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (*ContactDeleteResponse) GetSuccess ¶ added in v1.0.2
func (o *ContactDeleteResponse) GetSuccess() bool
GetSuccess returns the Success field value
func (*ContactDeleteResponse) GetSuccessOk ¶ added in v1.0.2
func (o *ContactDeleteResponse) GetSuccessOk() (*bool, bool)
GetSuccessOk returns a tuple with the Success field value and a boolean to check if the value has been set.
func (ContactDeleteResponse) MarshalJSON ¶ added in v1.0.2
func (o ContactDeleteResponse) MarshalJSON() ([]byte, error)
func (*ContactDeleteResponse) SetMessage ¶ added in v1.0.2
func (o *ContactDeleteResponse) SetMessage(v string)
SetMessage sets field value
func (*ContactDeleteResponse) SetSuccess ¶ added in v1.0.2
func (o *ContactDeleteResponse) SetSuccess(v bool)
SetSuccess sets field value
func (ContactDeleteResponse) ToMap ¶ added in v1.0.2
func (o ContactDeleteResponse) ToMap() (map[string]interface{}, error)
func (*ContactDeleteResponse) UnmarshalJSON ¶ added in v1.3.2
func (o *ContactDeleteResponse) UnmarshalJSON(data []byte) (err error)
type ContactFailureResponse ¶
type ContactFailureResponse struct { Success bool `json:"success"` Message string `json:"message"` }
ContactFailureResponse struct for ContactFailureResponse
func NewContactFailureResponse ¶ added in v1.0.2
func NewContactFailureResponse(success bool, message string) *ContactFailureResponse
NewContactFailureResponse instantiates a new ContactFailureResponse 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 NewContactFailureResponseWithDefaults ¶ added in v1.0.2
func NewContactFailureResponseWithDefaults() *ContactFailureResponse
NewContactFailureResponseWithDefaults instantiates a new ContactFailureResponse 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 (*ContactFailureResponse) GetMessage ¶ added in v1.0.2
func (o *ContactFailureResponse) GetMessage() string
GetMessage returns the Message field value
func (*ContactFailureResponse) GetMessageOk ¶ added in v1.0.2
func (o *ContactFailureResponse) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (*ContactFailureResponse) GetSuccess ¶ added in v1.0.2
func (o *ContactFailureResponse) GetSuccess() bool
GetSuccess returns the Success field value
func (*ContactFailureResponse) GetSuccessOk ¶ added in v1.0.2
func (o *ContactFailureResponse) GetSuccessOk() (*bool, bool)
GetSuccessOk returns a tuple with the Success field value and a boolean to check if the value has been set.
func (ContactFailureResponse) MarshalJSON ¶ added in v1.0.2
func (o ContactFailureResponse) MarshalJSON() ([]byte, error)
func (*ContactFailureResponse) SetMessage ¶ added in v1.0.2
func (o *ContactFailureResponse) SetMessage(v string)
SetMessage sets field value
func (*ContactFailureResponse) SetSuccess ¶ added in v1.0.2
func (o *ContactFailureResponse) SetSuccess(v bool)
SetSuccess sets field value
func (ContactFailureResponse) ToMap ¶ added in v1.0.2
func (o ContactFailureResponse) ToMap() (map[string]interface{}, error)
func (*ContactFailureResponse) UnmarshalJSON ¶ added in v1.3.2
func (o *ContactFailureResponse) UnmarshalJSON(data []byte) (err error)
type ContactRequest ¶
type ContactRequest struct { Email string `json:"email"` FirstName *string `json:"firstName,omitempty"` LastName *string `json:"lastName,omitempty"` Subscribed *bool `json:"subscribed,omitempty"` UserGroup *string `json:"userGroup,omitempty"` UserId *string `json:"userId,omitempty"` // An object of mailing list IDs and boolean subscription statuses. MailingLists map[string]interface{} `json:"mailingLists,omitempty"` }
ContactRequest struct for ContactRequest
func NewContactRequest ¶ added in v1.0.2
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
func NewContactRequestWithDefaults ¶ added in v1.0.2
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
func (*ContactRequest) GetEmail ¶ added in v1.0.2
func (o *ContactRequest) GetEmail() string
GetEmail returns the Email field value
func (*ContactRequest) GetEmailOk ¶ added in v1.0.2
func (o *ContactRequest) GetEmailOk() (*string, bool)
GetEmailOk returns a tuple with the Email field value and a boolean to check if the value has been set.
func (*ContactRequest) GetFirstName ¶ added in v1.0.2
func (o *ContactRequest) GetFirstName() string
GetFirstName returns the FirstName field value if set, zero value otherwise.
func (*ContactRequest) GetFirstNameOk ¶ added in v1.0.2
func (o *ContactRequest) GetFirstNameOk() (*string, bool)
GetFirstNameOk returns a tuple with the FirstName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ContactRequest) GetLastName ¶ added in v1.0.2
func (o *ContactRequest) GetLastName() string
GetLastName returns the LastName field value if set, zero value otherwise.
func (*ContactRequest) GetLastNameOk ¶ added in v1.0.2
func (o *ContactRequest) GetLastNameOk() (*string, bool)
GetLastNameOk returns a tuple with the LastName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ContactRequest) GetMailingLists ¶ added in v1.3.0
func (o *ContactRequest) GetMailingLists() map[string]interface{}
GetMailingLists returns the MailingLists field value if set, zero value otherwise.
func (*ContactRequest) GetMailingListsOk ¶ added in v1.3.0
func (o *ContactRequest) GetMailingListsOk() (map[string]interface{}, bool)
GetMailingListsOk returns a tuple with the MailingLists field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ContactRequest) GetSubscribed ¶ added in v1.0.2
func (o *ContactRequest) GetSubscribed() bool
GetSubscribed returns the Subscribed field value if set, zero value otherwise.
func (*ContactRequest) GetSubscribedOk ¶ added in v1.0.2
func (o *ContactRequest) GetSubscribedOk() (*bool, bool)
GetSubscribedOk returns a tuple with the Subscribed field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ContactRequest) GetUserGroup ¶ added in v1.0.2
func (o *ContactRequest) GetUserGroup() string
GetUserGroup returns the UserGroup field value if set, zero value otherwise.
func (*ContactRequest) GetUserGroupOk ¶ added in v1.0.2
func (o *ContactRequest) GetUserGroupOk() (*string, bool)
GetUserGroupOk returns a tuple with the UserGroup field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ContactRequest) GetUserId ¶ added in v1.0.2
func (o *ContactRequest) GetUserId() string
GetUserId returns the UserId field value if set, zero value otherwise.
func (*ContactRequest) GetUserIdOk ¶ added in v1.0.2
func (o *ContactRequest) GetUserIdOk() (*string, bool)
GetUserIdOk returns a tuple with the UserId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ContactRequest) HasFirstName ¶ added in v1.0.2
func (o *ContactRequest) HasFirstName() bool
HasFirstName returns a boolean if a field has been set.
func (*ContactRequest) HasLastName ¶ added in v1.0.2
func (o *ContactRequest) HasLastName() bool
HasLastName returns a boolean if a field has been set.
func (*ContactRequest) HasMailingLists ¶ added in v1.3.0
func (o *ContactRequest) HasMailingLists() bool
HasMailingLists returns a boolean if a field has been set.
func (*ContactRequest) HasSubscribed ¶ added in v1.0.2
func (o *ContactRequest) HasSubscribed() bool
HasSubscribed returns a boolean if a field has been set.
func (*ContactRequest) HasUserGroup ¶ added in v1.0.2
func (o *ContactRequest) HasUserGroup() bool
HasUserGroup returns a boolean if a field has been set.
func (*ContactRequest) HasUserId ¶ added in v1.0.2
func (o *ContactRequest) HasUserId() bool
HasUserId returns a boolean if a field has been set.
func (ContactRequest) MarshalJSON ¶ added in v1.0.2
func (o ContactRequest) MarshalJSON() ([]byte, error)
func (*ContactRequest) SetEmail ¶ added in v1.0.2
func (o *ContactRequest) SetEmail(v string)
SetEmail sets field value
func (*ContactRequest) SetFirstName ¶ added in v1.0.2
func (o *ContactRequest) SetFirstName(v string)
SetFirstName gets a reference to the given string and assigns it to the FirstName field.
func (*ContactRequest) SetLastName ¶ added in v1.0.2
func (o *ContactRequest) SetLastName(v string)
SetLastName gets a reference to the given string and assigns it to the LastName field.
func (*ContactRequest) SetMailingLists ¶ added in v1.3.0
func (o *ContactRequest) SetMailingLists(v map[string]interface{})
SetMailingLists gets a reference to the given map[string]interface{} and assigns it to the MailingLists field.
func (*ContactRequest) SetSubscribed ¶ added in v1.0.2
func (o *ContactRequest) SetSubscribed(v bool)
SetSubscribed gets a reference to the given bool and assigns it to the Subscribed field.
func (*ContactRequest) SetUserGroup ¶ added in v1.0.2
func (o *ContactRequest) SetUserGroup(v string)
SetUserGroup gets a reference to the given string and assigns it to the UserGroup field.
func (*ContactRequest) SetUserId ¶ added in v1.0.2
func (o *ContactRequest) SetUserId(v string)
SetUserId gets a reference to the given string and assigns it to the UserId field.
func (ContactRequest) ToMap ¶ added in v1.0.2
func (o ContactRequest) ToMap() (map[string]interface{}, error)
func (*ContactRequest) UnmarshalJSON ¶ added in v1.0.2
func (o *ContactRequest) UnmarshalJSON(data []byte) (err error)
type ContactSuccessResponse ¶
ContactSuccessResponse struct for ContactSuccessResponse
func NewContactSuccessResponse ¶ added in v1.0.2
func NewContactSuccessResponse(success bool, id string) *ContactSuccessResponse
NewContactSuccessResponse instantiates a new ContactSuccessResponse 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 NewContactSuccessResponseWithDefaults ¶ added in v1.0.2
func NewContactSuccessResponseWithDefaults() *ContactSuccessResponse
NewContactSuccessResponseWithDefaults instantiates a new ContactSuccessResponse 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 (*ContactSuccessResponse) GetId ¶ added in v1.0.2
func (o *ContactSuccessResponse) GetId() string
GetId returns the Id field value
func (*ContactSuccessResponse) GetIdOk ¶ added in v1.0.2
func (o *ContactSuccessResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*ContactSuccessResponse) GetSuccess ¶ added in v1.0.2
func (o *ContactSuccessResponse) GetSuccess() bool
GetSuccess returns the Success field value
func (*ContactSuccessResponse) GetSuccessOk ¶ added in v1.0.2
func (o *ContactSuccessResponse) GetSuccessOk() (*bool, bool)
GetSuccessOk returns a tuple with the Success field value and a boolean to check if the value has been set.
func (ContactSuccessResponse) MarshalJSON ¶ added in v1.0.2
func (o ContactSuccessResponse) MarshalJSON() ([]byte, error)
func (*ContactSuccessResponse) SetId ¶ added in v1.0.2
func (o *ContactSuccessResponse) SetId(v string)
SetId sets field value
func (*ContactSuccessResponse) SetSuccess ¶ added in v1.0.2
func (o *ContactSuccessResponse) SetSuccess(v bool)
SetSuccess sets field value
func (ContactSuccessResponse) ToMap ¶ added in v1.0.2
func (o ContactSuccessResponse) ToMap() (map[string]interface{}, error)
func (*ContactSuccessResponse) UnmarshalJSON ¶ added in v1.3.2
func (o *ContactSuccessResponse) UnmarshalJSON(data []byte) (err error)
type ContactsAPIService ¶ added in v1.0.2
type ContactsAPIService service
ContactsAPIService ContactsAPI service
func (*ContactsAPIService) ContactsCreatePost ¶ added in v1.0.2
func (a *ContactsAPIService) ContactsCreatePost(ctx context.Context) ApiContactsCreatePostRequest
ContactsCreatePost Create a contact
Add a contact to your audience.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiContactsCreatePostRequest
func (*ContactsAPIService) ContactsCreatePostExecute ¶ added in v1.0.2
func (a *ContactsAPIService) ContactsCreatePostExecute(r ApiContactsCreatePostRequest) (*ContactSuccessResponse, *http.Response, error)
Execute executes the request
@return ContactSuccessResponse
func (*ContactsAPIService) ContactsDeletePost ¶ added in v1.0.2
func (a *ContactsAPIService) ContactsDeletePost(ctx context.Context) ApiContactsDeletePostRequest
ContactsDeletePost Delete a contact
Delete a contact by `email` or `userId`.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiContactsDeletePostRequest
func (*ContactsAPIService) ContactsDeletePostExecute ¶ added in v1.0.2
func (a *ContactsAPIService) ContactsDeletePostExecute(r ApiContactsDeletePostRequest) (*ContactDeleteResponse, *http.Response, error)
Execute executes the request
@return ContactDeleteResponse
func (*ContactsAPIService) ContactsFindGet ¶ added in v1.0.2
func (a *ContactsAPIService) ContactsFindGet(ctx context.Context) ApiContactsFindGetRequest
ContactsFindGet Find a contact
Search for a contact by `email` or `userId`. Only one parameter is allowed.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiContactsFindGetRequest
func (*ContactsAPIService) ContactsFindGetExecute ¶ added in v1.0.2
func (a *ContactsAPIService) ContactsFindGetExecute(r ApiContactsFindGetRequest) ([]Contact, *http.Response, error)
Execute executes the request
@return []Contact
func (*ContactsAPIService) ContactsUpdatePut ¶ added in v1.0.2
func (a *ContactsAPIService) ContactsUpdatePut(ctx context.Context) ApiContactsUpdatePutRequest
ContactsUpdatePut Update a contact
Update a contact by `email` or `userId`.<br>If you want to update a contact’s email address, the contact will first need a `userId` value. You can then make a request containing the userId field along with an updated email address.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiContactsUpdatePutRequest
func (*ContactsAPIService) ContactsUpdatePutExecute ¶ added in v1.0.2
func (a *ContactsAPIService) ContactsUpdatePutExecute(r ApiContactsUpdatePutRequest) (*ContactSuccessResponse, *http.Response, error)
Execute executes the request
@return ContactSuccessResponse
type ContactsDeletePost500Response ¶ added in v1.0.2
type ContactsDeletePost500Response struct {
Success *bool `json:"success,omitempty"`
}
ContactsDeletePost500Response struct for ContactsDeletePost500Response
func NewContactsDeletePost500Response ¶ added in v1.0.2
func NewContactsDeletePost500Response() *ContactsDeletePost500Response
NewContactsDeletePost500Response instantiates a new ContactsDeletePost500Response 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 NewContactsDeletePost500ResponseWithDefaults ¶ added in v1.0.2
func NewContactsDeletePost500ResponseWithDefaults() *ContactsDeletePost500Response
NewContactsDeletePost500ResponseWithDefaults instantiates a new ContactsDeletePost500Response 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 (*ContactsDeletePost500Response) GetSuccess ¶ added in v1.0.2
func (o *ContactsDeletePost500Response) GetSuccess() bool
GetSuccess returns the Success field value if set, zero value otherwise.
func (*ContactsDeletePost500Response) GetSuccessOk ¶ added in v1.0.2
func (o *ContactsDeletePost500Response) GetSuccessOk() (*bool, bool)
GetSuccessOk returns a tuple with the Success field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ContactsDeletePost500Response) HasSuccess ¶ added in v1.0.2
func (o *ContactsDeletePost500Response) HasSuccess() bool
HasSuccess returns a boolean if a field has been set.
func (ContactsDeletePost500Response) MarshalJSON ¶ added in v1.0.2
func (o ContactsDeletePost500Response) MarshalJSON() ([]byte, error)
func (*ContactsDeletePost500Response) SetSuccess ¶ added in v1.0.2
func (o *ContactsDeletePost500Response) SetSuccess(v bool)
SetSuccess gets a reference to the given bool and assigns it to the Success field.
func (ContactsDeletePost500Response) ToMap ¶ added in v1.0.2
func (o ContactsDeletePost500Response) ToMap() (map[string]interface{}, error)
type CustomField ¶
type CustomField struct { Key string `json:"key"` Label string `json:"label"` Type string `json:"type"` }
CustomField struct for CustomField
func NewCustomField ¶ added in v1.0.2
func NewCustomField(key string, label string, type_ string) *CustomField
NewCustomField instantiates a new CustomField 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 NewCustomFieldWithDefaults ¶ added in v1.0.2
func NewCustomFieldWithDefaults() *CustomField
NewCustomFieldWithDefaults instantiates a new CustomField 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 (*CustomField) GetKey ¶ added in v1.0.2
func (o *CustomField) GetKey() string
GetKey returns the Key field value
func (*CustomField) GetKeyOk ¶ added in v1.0.2
func (o *CustomField) GetKeyOk() (*string, bool)
GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.
func (*CustomField) GetLabel ¶ added in v1.0.2
func (o *CustomField) GetLabel() string
GetLabel returns the Label field value
func (*CustomField) GetLabelOk ¶ added in v1.0.2
func (o *CustomField) GetLabelOk() (*string, bool)
GetLabelOk returns a tuple with the Label field value and a boolean to check if the value has been set.
func (*CustomField) GetType ¶ added in v1.0.2
func (o *CustomField) GetType() string
GetType returns the Type field value
func (*CustomField) GetTypeOk ¶ added in v1.0.2
func (o *CustomField) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (CustomField) MarshalJSON ¶ added in v1.0.2
func (o CustomField) MarshalJSON() ([]byte, error)
func (*CustomField) SetKey ¶ added in v1.0.2
func (o *CustomField) SetKey(v string)
SetKey sets field value
func (*CustomField) SetLabel ¶ added in v1.0.2
func (o *CustomField) SetLabel(v string)
SetLabel sets field value
func (*CustomField) SetType ¶ added in v1.0.2
func (o *CustomField) SetType(v string)
SetType sets field value
func (CustomField) ToMap ¶ added in v1.0.2
func (o CustomField) ToMap() (map[string]interface{}, error)
func (*CustomField) UnmarshalJSON ¶ added in v1.3.2
func (o *CustomField) UnmarshalJSON(data []byte) (err error)
type CustomFieldsAPIService ¶ added in v1.0.2
type CustomFieldsAPIService service
CustomFieldsAPIService CustomFieldsAPI service
func (*CustomFieldsAPIService) ContactsCustomFieldsGet ¶ added in v1.0.2
func (a *CustomFieldsAPIService) ContactsCustomFieldsGet(ctx context.Context) ApiContactsCustomFieldsGetRequest
ContactsCustomFieldsGet Get a list of custom contact properties
Retrieve a list of your account's custom contact properties.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiContactsCustomFieldsGetRequest
func (*CustomFieldsAPIService) ContactsCustomFieldsGetExecute ¶ added in v1.0.2
func (a *CustomFieldsAPIService) ContactsCustomFieldsGetExecute(r ApiContactsCustomFieldsGetRequest) ([]CustomField, *http.Response, error)
Execute executes the request
@return []CustomField
type EventFailureResponse ¶
EventFailureResponse struct for EventFailureResponse
func NewEventFailureResponse ¶ added in v1.0.2
func NewEventFailureResponse(success bool, message string) *EventFailureResponse
NewEventFailureResponse instantiates a new EventFailureResponse 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 NewEventFailureResponseWithDefaults ¶ added in v1.0.2
func NewEventFailureResponseWithDefaults() *EventFailureResponse
NewEventFailureResponseWithDefaults instantiates a new EventFailureResponse 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 (*EventFailureResponse) GetMessage ¶ added in v1.0.2
func (o *EventFailureResponse) GetMessage() string
GetMessage returns the Message field value
func (*EventFailureResponse) GetMessageOk ¶ added in v1.0.2
func (o *EventFailureResponse) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (*EventFailureResponse) GetSuccess ¶ added in v1.0.2
func (o *EventFailureResponse) GetSuccess() bool
GetSuccess returns the Success field value
func (*EventFailureResponse) GetSuccessOk ¶ added in v1.0.2
func (o *EventFailureResponse) GetSuccessOk() (*bool, bool)
GetSuccessOk returns a tuple with the Success field value and a boolean to check if the value has been set.
func (EventFailureResponse) MarshalJSON ¶ added in v1.0.2
func (o EventFailureResponse) MarshalJSON() ([]byte, error)
func (*EventFailureResponse) SetMessage ¶ added in v1.0.2
func (o *EventFailureResponse) SetMessage(v string)
SetMessage sets field value
func (*EventFailureResponse) SetSuccess ¶ added in v1.0.2
func (o *EventFailureResponse) SetSuccess(v bool)
SetSuccess sets field value
func (EventFailureResponse) ToMap ¶ added in v1.0.2
func (o EventFailureResponse) ToMap() (map[string]interface{}, error)
func (*EventFailureResponse) UnmarshalJSON ¶ added in v1.3.2
func (o *EventFailureResponse) UnmarshalJSON(data []byte) (err error)
type EventRequest ¶
type EventRequest struct { Email *string `json:"email,omitempty"` UserId *string `json:"userId,omitempty"` EventName string `json:"eventName"` // An object containing event property data for the event, available in emails sent by the event. EventProperties map[string]interface{} `json:"eventProperties,omitempty"` // An object of mailing list IDs and boolean subscription statuses. MailingLists map[string]interface{} `json:"mailingLists,omitempty"` }
EventRequest struct for EventRequest
func NewEventRequest ¶ added in v1.0.2
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
func NewEventRequestWithDefaults ¶ added in v1.0.2
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
func (*EventRequest) GetEmail ¶ added in v1.0.2
func (o *EventRequest) GetEmail() string
GetEmail returns the Email field value if set, zero value otherwise.
func (*EventRequest) GetEmailOk ¶ added in v1.0.2
func (o *EventRequest) GetEmailOk() (*string, bool)
GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EventRequest) GetEventName ¶ added in v1.0.2
func (o *EventRequest) GetEventName() string
GetEventName returns the EventName field value
func (*EventRequest) GetEventNameOk ¶ added in v1.0.2
func (o *EventRequest) GetEventNameOk() (*string, bool)
GetEventNameOk returns a tuple with the EventName field value and a boolean to check if the value has been set.
func (*EventRequest) GetEventProperties ¶ added in v1.3.0
func (o *EventRequest) GetEventProperties() map[string]interface{}
GetEventProperties returns the EventProperties field value if set, zero value otherwise.
func (*EventRequest) GetEventPropertiesOk ¶ added in v1.3.0
func (o *EventRequest) GetEventPropertiesOk() (map[string]interface{}, bool)
GetEventPropertiesOk returns a tuple with the EventProperties field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EventRequest) GetMailingLists ¶ added in v1.3.0
func (o *EventRequest) GetMailingLists() map[string]interface{}
GetMailingLists returns the MailingLists field value if set, zero value otherwise.
func (*EventRequest) GetMailingListsOk ¶ added in v1.3.0
func (o *EventRequest) GetMailingListsOk() (map[string]interface{}, bool)
GetMailingListsOk returns a tuple with the MailingLists field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EventRequest) GetUserId ¶ added in v1.0.2
func (o *EventRequest) GetUserId() string
GetUserId returns the UserId field value if set, zero value otherwise.
func (*EventRequest) GetUserIdOk ¶ added in v1.0.2
func (o *EventRequest) GetUserIdOk() (*string, bool)
GetUserIdOk returns a tuple with the UserId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EventRequest) HasEmail ¶ added in v1.0.2
func (o *EventRequest) HasEmail() bool
HasEmail returns a boolean if a field has been set.
func (*EventRequest) HasEventProperties ¶ added in v1.3.0
func (o *EventRequest) HasEventProperties() bool
HasEventProperties returns a boolean if a field has been set.
func (*EventRequest) HasMailingLists ¶ added in v1.3.0
func (o *EventRequest) HasMailingLists() bool
HasMailingLists returns a boolean if a field has been set.
func (*EventRequest) HasUserId ¶ added in v1.0.2
func (o *EventRequest) HasUserId() bool
HasUserId returns a boolean if a field has been set.
func (EventRequest) MarshalJSON ¶ added in v1.0.2
func (o EventRequest) MarshalJSON() ([]byte, error)
func (*EventRequest) SetEmail ¶ added in v1.0.2
func (o *EventRequest) SetEmail(v string)
SetEmail gets a reference to the given string and assigns it to the Email field.
func (*EventRequest) SetEventName ¶ added in v1.0.2
func (o *EventRequest) SetEventName(v string)
SetEventName sets field value
func (*EventRequest) SetEventProperties ¶ added in v1.3.0
func (o *EventRequest) SetEventProperties(v map[string]interface{})
SetEventProperties gets a reference to the given map[string]interface{} and assigns it to the EventProperties field.
func (*EventRequest) SetMailingLists ¶ added in v1.3.0
func (o *EventRequest) SetMailingLists(v map[string]interface{})
SetMailingLists gets a reference to the given map[string]interface{} and assigns it to the MailingLists field.
func (*EventRequest) SetUserId ¶ added in v1.0.2
func (o *EventRequest) SetUserId(v string)
SetUserId gets a reference to the given string and assigns it to the UserId field.
func (EventRequest) ToMap ¶ added in v1.0.2
func (o EventRequest) ToMap() (map[string]interface{}, error)
func (*EventRequest) UnmarshalJSON ¶ added in v1.0.2
func (o *EventRequest) UnmarshalJSON(data []byte) (err error)
type EventSuccessResponse ¶
type EventSuccessResponse struct {
Success bool `json:"success"`
}
EventSuccessResponse struct for EventSuccessResponse
func NewEventSuccessResponse ¶ added in v1.0.2
func NewEventSuccessResponse(success bool) *EventSuccessResponse
NewEventSuccessResponse instantiates a new EventSuccessResponse 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 NewEventSuccessResponseWithDefaults ¶ added in v1.0.2
func NewEventSuccessResponseWithDefaults() *EventSuccessResponse
NewEventSuccessResponseWithDefaults instantiates a new EventSuccessResponse 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 (*EventSuccessResponse) GetSuccess ¶ added in v1.0.2
func (o *EventSuccessResponse) GetSuccess() bool
GetSuccess returns the Success field value
func (*EventSuccessResponse) GetSuccessOk ¶ added in v1.0.2
func (o *EventSuccessResponse) GetSuccessOk() (*bool, bool)
GetSuccessOk returns a tuple with the Success field value and a boolean to check if the value has been set.
func (EventSuccessResponse) MarshalJSON ¶ added in v1.0.2
func (o EventSuccessResponse) MarshalJSON() ([]byte, error)
func (*EventSuccessResponse) SetSuccess ¶ added in v1.0.2
func (o *EventSuccessResponse) SetSuccess(v bool)
SetSuccess sets field value
func (EventSuccessResponse) ToMap ¶ added in v1.0.2
func (o EventSuccessResponse) ToMap() (map[string]interface{}, error)
func (*EventSuccessResponse) UnmarshalJSON ¶ added in v1.3.2
func (o *EventSuccessResponse) UnmarshalJSON(data []byte) (err error)
type EventsAPIService ¶ added in v1.0.2
type EventsAPIService service
EventsAPIService EventsAPI service
func (*EventsAPIService) EventsSendPost ¶ added in v1.0.2
func (a *EventsAPIService) EventsSendPost(ctx context.Context) ApiEventsSendPostRequest
EventsSendPost Send an event
Send events to trigger emails in Loops.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiEventsSendPostRequest
func (*EventsAPIService) EventsSendPostExecute ¶ added in v1.0.2
func (a *EventsAPIService) EventsSendPostExecute(r ApiEventsSendPostRequest) (*EventSuccessResponse, *http.Response, error)
Execute executes the request
@return EventSuccessResponse
type GenericOpenAPIError ¶ added in v1.0.2
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func (GenericOpenAPIError) Body ¶ added in v1.0.2
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶ added in v1.0.2
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶ added in v1.0.2
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
type MailingList ¶ added in v1.3.0
type MailingList struct { Id string `json:"id"` Name string `json:"name"` IsPublic bool `json:"isPublic"` }
MailingList struct for MailingList
func NewMailingList ¶ added in v1.3.0
func NewMailingList(id string, name string, isPublic bool) *MailingList
NewMailingList instantiates a new MailingList 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 NewMailingListWithDefaults ¶ added in v1.3.0
func NewMailingListWithDefaults() *MailingList
NewMailingListWithDefaults instantiates a new MailingList 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 (*MailingList) GetId ¶ added in v1.3.0
func (o *MailingList) GetId() string
GetId returns the Id field value
func (*MailingList) GetIdOk ¶ added in v1.3.0
func (o *MailingList) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*MailingList) GetIsPublic ¶ added in v1.3.2
func (o *MailingList) GetIsPublic() bool
GetIsPublic returns the IsPublic field value
func (*MailingList) GetIsPublicOk ¶ added in v1.3.2
func (o *MailingList) GetIsPublicOk() (*bool, bool)
GetIsPublicOk returns a tuple with the IsPublic field value and a boolean to check if the value has been set.
func (*MailingList) GetName ¶ added in v1.3.0
func (o *MailingList) GetName() string
GetName returns the Name field value
func (*MailingList) GetNameOk ¶ added in v1.3.0
func (o *MailingList) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (MailingList) MarshalJSON ¶ added in v1.3.0
func (o MailingList) MarshalJSON() ([]byte, error)
func (*MailingList) SetId ¶ added in v1.3.0
func (o *MailingList) SetId(v string)
SetId sets field value
func (*MailingList) SetIsPublic ¶ added in v1.3.2
func (o *MailingList) SetIsPublic(v bool)
SetIsPublic sets field value
func (*MailingList) SetName ¶ added in v1.3.0
func (o *MailingList) SetName(v string)
SetName sets field value
func (MailingList) ToMap ¶ added in v1.3.0
func (o MailingList) ToMap() (map[string]interface{}, error)
func (*MailingList) UnmarshalJSON ¶ added in v1.3.2
func (o *MailingList) UnmarshalJSON(data []byte) (err error)
type MailingListsAPIService ¶ added in v1.3.0
type MailingListsAPIService service
MailingListsAPIService MailingListsAPI service
func (*MailingListsAPIService) ListsGet ¶ added in v1.3.0
func (a *MailingListsAPIService) ListsGet(ctx context.Context) ApiListsGetRequest
ListsGet Get a list of mailing lists
Retrieve a list of your account's mailing lists.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListsGetRequest
func (*MailingListsAPIService) ListsGetExecute ¶ added in v1.3.0
func (a *MailingListsAPIService) ListsGetExecute(r ApiListsGetRequest) ([]MailingList, *http.Response, error)
Execute executes the request
@return []MailingList
type MappedNullable ¶ added in v1.0.2
type NullableApiKeyGet200Response ¶ added in v1.3.2
type NullableApiKeyGet200Response struct {
// contains filtered or unexported fields
}
func NewNullableApiKeyGet200Response ¶ added in v1.3.2
func NewNullableApiKeyGet200Response(val *ApiKeyGet200Response) *NullableApiKeyGet200Response
func (NullableApiKeyGet200Response) Get ¶ added in v1.3.2
func (v NullableApiKeyGet200Response) Get() *ApiKeyGet200Response
func (NullableApiKeyGet200Response) IsSet ¶ added in v1.3.2
func (v NullableApiKeyGet200Response) IsSet() bool
func (NullableApiKeyGet200Response) MarshalJSON ¶ added in v1.3.2
func (v NullableApiKeyGet200Response) MarshalJSON() ([]byte, error)
func (*NullableApiKeyGet200Response) Set ¶ added in v1.3.2
func (v *NullableApiKeyGet200Response) Set(val *ApiKeyGet200Response)
func (*NullableApiKeyGet200Response) UnmarshalJSON ¶ added in v1.3.2
func (v *NullableApiKeyGet200Response) UnmarshalJSON(src []byte) error
func (*NullableApiKeyGet200Response) Unset ¶ added in v1.3.2
func (v *NullableApiKeyGet200Response) Unset()
type NullableApiKeyGet401Response ¶ added in v1.3.2
type NullableApiKeyGet401Response struct {
// contains filtered or unexported fields
}
func NewNullableApiKeyGet401Response ¶ added in v1.3.2
func NewNullableApiKeyGet401Response(val *ApiKeyGet401Response) *NullableApiKeyGet401Response
func (NullableApiKeyGet401Response) Get ¶ added in v1.3.2
func (v NullableApiKeyGet401Response) Get() *ApiKeyGet401Response
func (NullableApiKeyGet401Response) IsSet ¶ added in v1.3.2
func (v NullableApiKeyGet401Response) IsSet() bool
func (NullableApiKeyGet401Response) MarshalJSON ¶ added in v1.3.2
func (v NullableApiKeyGet401Response) MarshalJSON() ([]byte, error)
func (*NullableApiKeyGet401Response) Set ¶ added in v1.3.2
func (v *NullableApiKeyGet401Response) Set(val *ApiKeyGet401Response)
func (*NullableApiKeyGet401Response) UnmarshalJSON ¶ added in v1.3.2
func (v *NullableApiKeyGet401Response) UnmarshalJSON(src []byte) error
func (*NullableApiKeyGet401Response) Unset ¶ added in v1.3.2
func (v *NullableApiKeyGet401Response) Unset()
type NullableBool ¶ added in v1.0.2
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶ added in v1.0.2
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶ added in v1.0.2
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶ added in v1.0.2
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶ added in v1.0.2
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶ added in v1.0.2
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶ added in v1.0.2
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶ added in v1.0.2
func (v *NullableBool) Unset()
type NullableContact ¶ added in v1.0.2
type NullableContact struct {
// contains filtered or unexported fields
}
func NewNullableContact ¶ added in v1.0.2
func NewNullableContact(val *Contact) *NullableContact
func (NullableContact) Get ¶ added in v1.0.2
func (v NullableContact) Get() *Contact
func (NullableContact) IsSet ¶ added in v1.0.2
func (v NullableContact) IsSet() bool
func (NullableContact) MarshalJSON ¶ added in v1.0.2
func (v NullableContact) MarshalJSON() ([]byte, error)
func (*NullableContact) Set ¶ added in v1.0.2
func (v *NullableContact) Set(val *Contact)
func (*NullableContact) UnmarshalJSON ¶ added in v1.0.2
func (v *NullableContact) UnmarshalJSON(src []byte) error
func (*NullableContact) Unset ¶ added in v1.0.2
func (v *NullableContact) Unset()
type NullableContactDeleteRequest ¶ added in v1.0.2
type NullableContactDeleteRequest struct {
// contains filtered or unexported fields
}
func NewNullableContactDeleteRequest ¶ added in v1.0.2
func NewNullableContactDeleteRequest(val *ContactDeleteRequest) *NullableContactDeleteRequest
func (NullableContactDeleteRequest) Get ¶ added in v1.0.2
func (v NullableContactDeleteRequest) Get() *ContactDeleteRequest
func (NullableContactDeleteRequest) IsSet ¶ added in v1.0.2
func (v NullableContactDeleteRequest) IsSet() bool
func (NullableContactDeleteRequest) MarshalJSON ¶ added in v1.0.2
func (v NullableContactDeleteRequest) MarshalJSON() ([]byte, error)
func (*NullableContactDeleteRequest) Set ¶ added in v1.0.2
func (v *NullableContactDeleteRequest) Set(val *ContactDeleteRequest)
func (*NullableContactDeleteRequest) UnmarshalJSON ¶ added in v1.0.2
func (v *NullableContactDeleteRequest) UnmarshalJSON(src []byte) error
func (*NullableContactDeleteRequest) Unset ¶ added in v1.0.2
func (v *NullableContactDeleteRequest) Unset()
type NullableContactDeleteResponse ¶ added in v1.0.2
type NullableContactDeleteResponse struct {
// contains filtered or unexported fields
}
func NewNullableContactDeleteResponse ¶ added in v1.0.2
func NewNullableContactDeleteResponse(val *ContactDeleteResponse) *NullableContactDeleteResponse
func (NullableContactDeleteResponse) Get ¶ added in v1.0.2
func (v NullableContactDeleteResponse) Get() *ContactDeleteResponse
func (NullableContactDeleteResponse) IsSet ¶ added in v1.0.2
func (v NullableContactDeleteResponse) IsSet() bool
func (NullableContactDeleteResponse) MarshalJSON ¶ added in v1.0.2
func (v NullableContactDeleteResponse) MarshalJSON() ([]byte, error)
func (*NullableContactDeleteResponse) Set ¶ added in v1.0.2
func (v *NullableContactDeleteResponse) Set(val *ContactDeleteResponse)
func (*NullableContactDeleteResponse) UnmarshalJSON ¶ added in v1.0.2
func (v *NullableContactDeleteResponse) UnmarshalJSON(src []byte) error
func (*NullableContactDeleteResponse) Unset ¶ added in v1.0.2
func (v *NullableContactDeleteResponse) Unset()
type NullableContactFailureResponse ¶ added in v1.0.2
type NullableContactFailureResponse struct {
// contains filtered or unexported fields
}
func NewNullableContactFailureResponse ¶ added in v1.0.2
func NewNullableContactFailureResponse(val *ContactFailureResponse) *NullableContactFailureResponse
func (NullableContactFailureResponse) Get ¶ added in v1.0.2
func (v NullableContactFailureResponse) Get() *ContactFailureResponse
func (NullableContactFailureResponse) IsSet ¶ added in v1.0.2
func (v NullableContactFailureResponse) IsSet() bool
func (NullableContactFailureResponse) MarshalJSON ¶ added in v1.0.2
func (v NullableContactFailureResponse) MarshalJSON() ([]byte, error)
func (*NullableContactFailureResponse) Set ¶ added in v1.0.2
func (v *NullableContactFailureResponse) Set(val *ContactFailureResponse)
func (*NullableContactFailureResponse) UnmarshalJSON ¶ added in v1.0.2
func (v *NullableContactFailureResponse) UnmarshalJSON(src []byte) error
func (*NullableContactFailureResponse) Unset ¶ added in v1.0.2
func (v *NullableContactFailureResponse) Unset()
type NullableContactRequest ¶ added in v1.0.2
type NullableContactRequest struct {
// contains filtered or unexported fields
}
func NewNullableContactRequest ¶ added in v1.0.2
func NewNullableContactRequest(val *ContactRequest) *NullableContactRequest
func (NullableContactRequest) Get ¶ added in v1.0.2
func (v NullableContactRequest) Get() *ContactRequest
func (NullableContactRequest) IsSet ¶ added in v1.0.2
func (v NullableContactRequest) IsSet() bool
func (NullableContactRequest) MarshalJSON ¶ added in v1.0.2
func (v NullableContactRequest) MarshalJSON() ([]byte, error)
func (*NullableContactRequest) Set ¶ added in v1.0.2
func (v *NullableContactRequest) Set(val *ContactRequest)
func (*NullableContactRequest) UnmarshalJSON ¶ added in v1.0.2
func (v *NullableContactRequest) UnmarshalJSON(src []byte) error
func (*NullableContactRequest) Unset ¶ added in v1.0.2
func (v *NullableContactRequest) Unset()
type NullableContactSuccessResponse ¶ added in v1.0.2
type NullableContactSuccessResponse struct {
// contains filtered or unexported fields
}
func NewNullableContactSuccessResponse ¶ added in v1.0.2
func NewNullableContactSuccessResponse(val *ContactSuccessResponse) *NullableContactSuccessResponse
func (NullableContactSuccessResponse) Get ¶ added in v1.0.2
func (v NullableContactSuccessResponse) Get() *ContactSuccessResponse
func (NullableContactSuccessResponse) IsSet ¶ added in v1.0.2
func (v NullableContactSuccessResponse) IsSet() bool
func (NullableContactSuccessResponse) MarshalJSON ¶ added in v1.0.2
func (v NullableContactSuccessResponse) MarshalJSON() ([]byte, error)
func (*NullableContactSuccessResponse) Set ¶ added in v1.0.2
func (v *NullableContactSuccessResponse) Set(val *ContactSuccessResponse)
func (*NullableContactSuccessResponse) UnmarshalJSON ¶ added in v1.0.2
func (v *NullableContactSuccessResponse) UnmarshalJSON(src []byte) error
func (*NullableContactSuccessResponse) Unset ¶ added in v1.0.2
func (v *NullableContactSuccessResponse) Unset()
type NullableContactsDeletePost500Response ¶ added in v1.0.2
type NullableContactsDeletePost500Response struct {
// contains filtered or unexported fields
}
func NewNullableContactsDeletePost500Response ¶ added in v1.0.2
func NewNullableContactsDeletePost500Response(val *ContactsDeletePost500Response) *NullableContactsDeletePost500Response
func (NullableContactsDeletePost500Response) Get ¶ added in v1.0.2
func (v NullableContactsDeletePost500Response) Get() *ContactsDeletePost500Response
func (NullableContactsDeletePost500Response) IsSet ¶ added in v1.0.2
func (v NullableContactsDeletePost500Response) IsSet() bool
func (NullableContactsDeletePost500Response) MarshalJSON ¶ added in v1.0.2
func (v NullableContactsDeletePost500Response) MarshalJSON() ([]byte, error)
func (*NullableContactsDeletePost500Response) Set ¶ added in v1.0.2
func (v *NullableContactsDeletePost500Response) Set(val *ContactsDeletePost500Response)
func (*NullableContactsDeletePost500Response) UnmarshalJSON ¶ added in v1.0.2
func (v *NullableContactsDeletePost500Response) UnmarshalJSON(src []byte) error
func (*NullableContactsDeletePost500Response) Unset ¶ added in v1.0.2
func (v *NullableContactsDeletePost500Response) Unset()
type NullableCustomField ¶ added in v1.0.2
type NullableCustomField struct {
// contains filtered or unexported fields
}
func NewNullableCustomField ¶ added in v1.0.2
func NewNullableCustomField(val *CustomField) *NullableCustomField
func (NullableCustomField) Get ¶ added in v1.0.2
func (v NullableCustomField) Get() *CustomField
func (NullableCustomField) IsSet ¶ added in v1.0.2
func (v NullableCustomField) IsSet() bool
func (NullableCustomField) MarshalJSON ¶ added in v1.0.2
func (v NullableCustomField) MarshalJSON() ([]byte, error)
func (*NullableCustomField) Set ¶ added in v1.0.2
func (v *NullableCustomField) Set(val *CustomField)
func (*NullableCustomField) UnmarshalJSON ¶ added in v1.0.2
func (v *NullableCustomField) UnmarshalJSON(src []byte) error
func (*NullableCustomField) Unset ¶ added in v1.0.2
func (v *NullableCustomField) Unset()
type NullableEventFailureResponse ¶ added in v1.0.2
type NullableEventFailureResponse struct {
// contains filtered or unexported fields
}
func NewNullableEventFailureResponse ¶ added in v1.0.2
func NewNullableEventFailureResponse(val *EventFailureResponse) *NullableEventFailureResponse
func (NullableEventFailureResponse) Get ¶ added in v1.0.2
func (v NullableEventFailureResponse) Get() *EventFailureResponse
func (NullableEventFailureResponse) IsSet ¶ added in v1.0.2
func (v NullableEventFailureResponse) IsSet() bool
func (NullableEventFailureResponse) MarshalJSON ¶ added in v1.0.2
func (v NullableEventFailureResponse) MarshalJSON() ([]byte, error)
func (*NullableEventFailureResponse) Set ¶ added in v1.0.2
func (v *NullableEventFailureResponse) Set(val *EventFailureResponse)
func (*NullableEventFailureResponse) UnmarshalJSON ¶ added in v1.0.2
func (v *NullableEventFailureResponse) UnmarshalJSON(src []byte) error
func (*NullableEventFailureResponse) Unset ¶ added in v1.0.2
func (v *NullableEventFailureResponse) Unset()
type NullableEventRequest ¶ added in v1.0.2
type NullableEventRequest struct {
// contains filtered or unexported fields
}
func NewNullableEventRequest ¶ added in v1.0.2
func NewNullableEventRequest(val *EventRequest) *NullableEventRequest
func (NullableEventRequest) Get ¶ added in v1.0.2
func (v NullableEventRequest) Get() *EventRequest
func (NullableEventRequest) IsSet ¶ added in v1.0.2
func (v NullableEventRequest) IsSet() bool
func (NullableEventRequest) MarshalJSON ¶ added in v1.0.2
func (v NullableEventRequest) MarshalJSON() ([]byte, error)
func (*NullableEventRequest) Set ¶ added in v1.0.2
func (v *NullableEventRequest) Set(val *EventRequest)
func (*NullableEventRequest) UnmarshalJSON ¶ added in v1.0.2
func (v *NullableEventRequest) UnmarshalJSON(src []byte) error
func (*NullableEventRequest) Unset ¶ added in v1.0.2
func (v *NullableEventRequest) Unset()
type NullableEventSuccessResponse ¶ added in v1.0.2
type NullableEventSuccessResponse struct {
// contains filtered or unexported fields
}
func NewNullableEventSuccessResponse ¶ added in v1.0.2
func NewNullableEventSuccessResponse(val *EventSuccessResponse) *NullableEventSuccessResponse
func (NullableEventSuccessResponse) Get ¶ added in v1.0.2
func (v NullableEventSuccessResponse) Get() *EventSuccessResponse
func (NullableEventSuccessResponse) IsSet ¶ added in v1.0.2
func (v NullableEventSuccessResponse) IsSet() bool
func (NullableEventSuccessResponse) MarshalJSON ¶ added in v1.0.2
func (v NullableEventSuccessResponse) MarshalJSON() ([]byte, error)
func (*NullableEventSuccessResponse) Set ¶ added in v1.0.2
func (v *NullableEventSuccessResponse) Set(val *EventSuccessResponse)
func (*NullableEventSuccessResponse) UnmarshalJSON ¶ added in v1.0.2
func (v *NullableEventSuccessResponse) UnmarshalJSON(src []byte) error
func (*NullableEventSuccessResponse) Unset ¶ added in v1.0.2
func (v *NullableEventSuccessResponse) Unset()
type NullableFloat32 ¶ added in v1.0.2
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶ added in v1.0.2
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶ added in v1.0.2
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶ added in v1.0.2
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶ added in v1.0.2
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶ added in v1.0.2
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶ added in v1.0.2
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶ added in v1.0.2
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶ added in v1.0.2
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶ added in v1.0.2
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶ added in v1.0.2
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶ added in v1.0.2
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶ added in v1.0.2
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶ added in v1.0.2
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶ added in v1.0.2
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶ added in v1.0.2
func (v *NullableFloat64) Unset()
type NullableInt ¶ added in v1.0.2
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶ added in v1.0.2
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶ added in v1.0.2
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶ added in v1.0.2
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶ added in v1.0.2
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶ added in v1.0.2
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶ added in v1.0.2
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶ added in v1.0.2
func (v *NullableInt) Unset()
type NullableInt32 ¶ added in v1.0.2
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶ added in v1.0.2
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶ added in v1.0.2
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶ added in v1.0.2
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶ added in v1.0.2
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶ added in v1.0.2
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶ added in v1.0.2
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶ added in v1.0.2
func (v *NullableInt32) Unset()
type NullableInt64 ¶ added in v1.0.2
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶ added in v1.0.2
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶ added in v1.0.2
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶ added in v1.0.2
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶ added in v1.0.2
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶ added in v1.0.2
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶ added in v1.0.2
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶ added in v1.0.2
func (v *NullableInt64) Unset()
type NullableMailingList ¶ added in v1.3.0
type NullableMailingList struct {
// contains filtered or unexported fields
}
func NewNullableMailingList ¶ added in v1.3.0
func NewNullableMailingList(val *MailingList) *NullableMailingList
func (NullableMailingList) Get ¶ added in v1.3.0
func (v NullableMailingList) Get() *MailingList
func (NullableMailingList) IsSet ¶ added in v1.3.0
func (v NullableMailingList) IsSet() bool
func (NullableMailingList) MarshalJSON ¶ added in v1.3.0
func (v NullableMailingList) MarshalJSON() ([]byte, error)
func (*NullableMailingList) Set ¶ added in v1.3.0
func (v *NullableMailingList) Set(val *MailingList)
func (*NullableMailingList) UnmarshalJSON ¶ added in v1.3.0
func (v *NullableMailingList) UnmarshalJSON(src []byte) error
func (*NullableMailingList) Unset ¶ added in v1.3.0
func (v *NullableMailingList) Unset()
type NullableString ¶ added in v1.0.2
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶ added in v1.0.2
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶ added in v1.0.2
func (v NullableString) Get() *string
func (NullableString) IsSet ¶ added in v1.0.2
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶ added in v1.0.2
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶ added in v1.0.2
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶ added in v1.0.2
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶ added in v1.0.2
func (v *NullableString) Unset()
type NullableTime ¶ added in v1.0.2
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶ added in v1.0.2
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶ added in v1.0.2
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶ added in v1.0.2
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶ added in v1.0.2
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶ added in v1.0.2
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶ added in v1.0.2
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶ added in v1.0.2
func (v *NullableTime) Unset()
type NullableTransactionalFailure2Response ¶ added in v1.0.2
type NullableTransactionalFailure2Response struct {
// contains filtered or unexported fields
}
func NewNullableTransactionalFailure2Response ¶ added in v1.0.2
func NewNullableTransactionalFailure2Response(val *TransactionalFailure2Response) *NullableTransactionalFailure2Response
func (NullableTransactionalFailure2Response) Get ¶ added in v1.0.2
func (v NullableTransactionalFailure2Response) Get() *TransactionalFailure2Response
func (NullableTransactionalFailure2Response) IsSet ¶ added in v1.0.2
func (v NullableTransactionalFailure2Response) IsSet() bool
func (NullableTransactionalFailure2Response) MarshalJSON ¶ added in v1.0.2
func (v NullableTransactionalFailure2Response) MarshalJSON() ([]byte, error)
func (*NullableTransactionalFailure2Response) Set ¶ added in v1.0.2
func (v *NullableTransactionalFailure2Response) Set(val *TransactionalFailure2Response)
func (*NullableTransactionalFailure2Response) UnmarshalJSON ¶ added in v1.0.2
func (v *NullableTransactionalFailure2Response) UnmarshalJSON(src []byte) error
func (*NullableTransactionalFailure2Response) Unset ¶ added in v1.0.2
func (v *NullableTransactionalFailure2Response) Unset()
type NullableTransactionalFailure2ResponseError ¶ added in v1.0.2
type NullableTransactionalFailure2ResponseError struct {
// contains filtered or unexported fields
}
func NewNullableTransactionalFailure2ResponseError ¶ added in v1.0.2
func NewNullableTransactionalFailure2ResponseError(val *TransactionalFailure2ResponseError) *NullableTransactionalFailure2ResponseError
func (NullableTransactionalFailure2ResponseError) IsSet ¶ added in v1.0.2
func (v NullableTransactionalFailure2ResponseError) IsSet() bool
func (NullableTransactionalFailure2ResponseError) MarshalJSON ¶ added in v1.0.2
func (v NullableTransactionalFailure2ResponseError) MarshalJSON() ([]byte, error)
func (*NullableTransactionalFailure2ResponseError) Set ¶ added in v1.0.2
func (v *NullableTransactionalFailure2ResponseError) Set(val *TransactionalFailure2ResponseError)
func (*NullableTransactionalFailure2ResponseError) UnmarshalJSON ¶ added in v1.0.2
func (v *NullableTransactionalFailure2ResponseError) UnmarshalJSON(src []byte) error
func (*NullableTransactionalFailure2ResponseError) Unset ¶ added in v1.0.2
func (v *NullableTransactionalFailure2ResponseError) Unset()
type NullableTransactionalFailure3Response ¶ added in v1.0.2
type NullableTransactionalFailure3Response struct {
// contains filtered or unexported fields
}
func NewNullableTransactionalFailure3Response ¶ added in v1.0.2
func NewNullableTransactionalFailure3Response(val *TransactionalFailure3Response) *NullableTransactionalFailure3Response
func (NullableTransactionalFailure3Response) Get ¶ added in v1.0.2
func (v NullableTransactionalFailure3Response) Get() *TransactionalFailure3Response
func (NullableTransactionalFailure3Response) IsSet ¶ added in v1.0.2
func (v NullableTransactionalFailure3Response) IsSet() bool
func (NullableTransactionalFailure3Response) MarshalJSON ¶ added in v1.0.2
func (v NullableTransactionalFailure3Response) MarshalJSON() ([]byte, error)
func (*NullableTransactionalFailure3Response) Set ¶ added in v1.0.2
func (v *NullableTransactionalFailure3Response) Set(val *TransactionalFailure3Response)
func (*NullableTransactionalFailure3Response) UnmarshalJSON ¶ added in v1.0.2
func (v *NullableTransactionalFailure3Response) UnmarshalJSON(src []byte) error
func (*NullableTransactionalFailure3Response) Unset ¶ added in v1.0.2
func (v *NullableTransactionalFailure3Response) Unset()
type NullableTransactionalFailureResponse ¶ added in v1.0.2
type NullableTransactionalFailureResponse struct {
// contains filtered or unexported fields
}
func NewNullableTransactionalFailureResponse ¶ added in v1.0.2
func NewNullableTransactionalFailureResponse(val *TransactionalFailureResponse) *NullableTransactionalFailureResponse
func (NullableTransactionalFailureResponse) Get ¶ added in v1.0.2
func (v NullableTransactionalFailureResponse) Get() *TransactionalFailureResponse
func (NullableTransactionalFailureResponse) IsSet ¶ added in v1.0.2
func (v NullableTransactionalFailureResponse) IsSet() bool
func (NullableTransactionalFailureResponse) MarshalJSON ¶ added in v1.0.2
func (v NullableTransactionalFailureResponse) MarshalJSON() ([]byte, error)
func (*NullableTransactionalFailureResponse) Set ¶ added in v1.0.2
func (v *NullableTransactionalFailureResponse) Set(val *TransactionalFailureResponse)
func (*NullableTransactionalFailureResponse) UnmarshalJSON ¶ added in v1.0.2
func (v *NullableTransactionalFailureResponse) UnmarshalJSON(src []byte) error
func (*NullableTransactionalFailureResponse) Unset ¶ added in v1.0.2
func (v *NullableTransactionalFailureResponse) Unset()
type NullableTransactionalPost400Response ¶ added in v1.0.2
type NullableTransactionalPost400Response struct {
// contains filtered or unexported fields
}
func NewNullableTransactionalPost400Response ¶ added in v1.0.2
func NewNullableTransactionalPost400Response(val *TransactionalPost400Response) *NullableTransactionalPost400Response
func (NullableTransactionalPost400Response) Get ¶ added in v1.0.2
func (v NullableTransactionalPost400Response) Get() *TransactionalPost400Response
func (NullableTransactionalPost400Response) IsSet ¶ added in v1.0.2
func (v NullableTransactionalPost400Response) IsSet() bool
func (NullableTransactionalPost400Response) MarshalJSON ¶ added in v1.0.2
func (v NullableTransactionalPost400Response) MarshalJSON() ([]byte, error)
func (*NullableTransactionalPost400Response) Set ¶ added in v1.0.2
func (v *NullableTransactionalPost400Response) Set(val *TransactionalPost400Response)
func (*NullableTransactionalPost400Response) UnmarshalJSON ¶ added in v1.0.2
func (v *NullableTransactionalPost400Response) UnmarshalJSON(src []byte) error
func (*NullableTransactionalPost400Response) Unset ¶ added in v1.0.2
func (v *NullableTransactionalPost400Response) Unset()
type NullableTransactionalRequest ¶ added in v1.0.2
type NullableTransactionalRequest struct {
// contains filtered or unexported fields
}
func NewNullableTransactionalRequest ¶ added in v1.0.2
func NewNullableTransactionalRequest(val *TransactionalRequest) *NullableTransactionalRequest
func (NullableTransactionalRequest) Get ¶ added in v1.0.2
func (v NullableTransactionalRequest) Get() *TransactionalRequest
func (NullableTransactionalRequest) IsSet ¶ added in v1.0.2
func (v NullableTransactionalRequest) IsSet() bool
func (NullableTransactionalRequest) MarshalJSON ¶ added in v1.0.2
func (v NullableTransactionalRequest) MarshalJSON() ([]byte, error)
func (*NullableTransactionalRequest) Set ¶ added in v1.0.2
func (v *NullableTransactionalRequest) Set(val *TransactionalRequest)
func (*NullableTransactionalRequest) UnmarshalJSON ¶ added in v1.0.2
func (v *NullableTransactionalRequest) UnmarshalJSON(src []byte) error
func (*NullableTransactionalRequest) Unset ¶ added in v1.0.2
func (v *NullableTransactionalRequest) Unset()
type NullableTransactionalRequestAttachmentsInner ¶ added in v1.3.2
type NullableTransactionalRequestAttachmentsInner struct {
// contains filtered or unexported fields
}
func NewNullableTransactionalRequestAttachmentsInner ¶ added in v1.3.2
func NewNullableTransactionalRequestAttachmentsInner(val *TransactionalRequestAttachmentsInner) *NullableTransactionalRequestAttachmentsInner
func (NullableTransactionalRequestAttachmentsInner) IsSet ¶ added in v1.3.2
func (v NullableTransactionalRequestAttachmentsInner) IsSet() bool
func (NullableTransactionalRequestAttachmentsInner) MarshalJSON ¶ added in v1.3.2
func (v NullableTransactionalRequestAttachmentsInner) MarshalJSON() ([]byte, error)
func (*NullableTransactionalRequestAttachmentsInner) Set ¶ added in v1.3.2
func (v *NullableTransactionalRequestAttachmentsInner) Set(val *TransactionalRequestAttachmentsInner)
func (*NullableTransactionalRequestAttachmentsInner) UnmarshalJSON ¶ added in v1.3.2
func (v *NullableTransactionalRequestAttachmentsInner) UnmarshalJSON(src []byte) error
func (*NullableTransactionalRequestAttachmentsInner) Unset ¶ added in v1.3.2
func (v *NullableTransactionalRequestAttachmentsInner) Unset()
type NullableTransactionalSuccessResponse ¶ added in v1.0.2
type NullableTransactionalSuccessResponse struct {
// contains filtered or unexported fields
}
func NewNullableTransactionalSuccessResponse ¶ added in v1.0.2
func NewNullableTransactionalSuccessResponse(val *TransactionalSuccessResponse) *NullableTransactionalSuccessResponse
func (NullableTransactionalSuccessResponse) Get ¶ added in v1.0.2
func (v NullableTransactionalSuccessResponse) Get() *TransactionalSuccessResponse
func (NullableTransactionalSuccessResponse) IsSet ¶ added in v1.0.2
func (v NullableTransactionalSuccessResponse) IsSet() bool
func (NullableTransactionalSuccessResponse) MarshalJSON ¶ added in v1.0.2
func (v NullableTransactionalSuccessResponse) MarshalJSON() ([]byte, error)
func (*NullableTransactionalSuccessResponse) Set ¶ added in v1.0.2
func (v *NullableTransactionalSuccessResponse) Set(val *TransactionalSuccessResponse)
func (*NullableTransactionalSuccessResponse) UnmarshalJSON ¶ added in v1.0.2
func (v *NullableTransactionalSuccessResponse) UnmarshalJSON(src []byte) error
func (*NullableTransactionalSuccessResponse) Unset ¶ added in v1.0.2
func (v *NullableTransactionalSuccessResponse) Unset()
type ServerConfiguration ¶ added in v1.0.2
type ServerConfiguration struct { URL string Description string Variables map[string]ServerVariable }
ServerConfiguration stores the information about a server
type ServerConfigurations ¶ added in v1.0.2
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerVariable ¶ added in v1.0.2
ServerVariable stores the information about a server variable
type TransactionalEmailsAPIService ¶ added in v1.0.2
type TransactionalEmailsAPIService service
TransactionalEmailsAPIService TransactionalEmailsAPI service
func (*TransactionalEmailsAPIService) TransactionalPost ¶ added in v1.0.2
func (a *TransactionalEmailsAPIService) TransactionalPost(ctx context.Context) ApiTransactionalPostRequest
TransactionalPost Send a transactional email
Send a transactional email to a contact.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiTransactionalPostRequest
func (*TransactionalEmailsAPIService) TransactionalPostExecute ¶ added in v1.0.2
func (a *TransactionalEmailsAPIService) TransactionalPostExecute(r ApiTransactionalPostRequest) (*TransactionalSuccessResponse, *http.Response, error)
Execute executes the request
@return TransactionalSuccessResponse
type TransactionalFailure2Response ¶
type TransactionalFailure2Response struct { Success bool `json:"success"` Error TransactionalFailure2ResponseError `json:"error"` }
TransactionalFailure2Response struct for TransactionalFailure2Response
func NewTransactionalFailure2Response ¶ added in v1.0.2
func NewTransactionalFailure2Response(success bool, error_ TransactionalFailure2ResponseError) *TransactionalFailure2Response
NewTransactionalFailure2Response instantiates a new TransactionalFailure2Response 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 NewTransactionalFailure2ResponseWithDefaults ¶ added in v1.0.2
func NewTransactionalFailure2ResponseWithDefaults() *TransactionalFailure2Response
NewTransactionalFailure2ResponseWithDefaults instantiates a new TransactionalFailure2Response 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 (*TransactionalFailure2Response) GetError ¶ added in v1.0.2
func (o *TransactionalFailure2Response) GetError() TransactionalFailure2ResponseError
GetError returns the Error field value
func (*TransactionalFailure2Response) GetErrorOk ¶ added in v1.0.2
func (o *TransactionalFailure2Response) GetErrorOk() (*TransactionalFailure2ResponseError, bool)
GetErrorOk returns a tuple with the Error field value and a boolean to check if the value has been set.
func (*TransactionalFailure2Response) GetSuccess ¶ added in v1.0.2
func (o *TransactionalFailure2Response) GetSuccess() bool
GetSuccess returns the Success field value
func (*TransactionalFailure2Response) GetSuccessOk ¶ added in v1.0.2
func (o *TransactionalFailure2Response) GetSuccessOk() (*bool, bool)
GetSuccessOk returns a tuple with the Success field value and a boolean to check if the value has been set.
func (TransactionalFailure2Response) MarshalJSON ¶ added in v1.0.2
func (o TransactionalFailure2Response) MarshalJSON() ([]byte, error)
func (*TransactionalFailure2Response) SetError ¶ added in v1.0.2
func (o *TransactionalFailure2Response) SetError(v TransactionalFailure2ResponseError)
SetError sets field value
func (*TransactionalFailure2Response) SetSuccess ¶ added in v1.0.2
func (o *TransactionalFailure2Response) SetSuccess(v bool)
SetSuccess sets field value
func (TransactionalFailure2Response) ToMap ¶ added in v1.0.2
func (o TransactionalFailure2Response) ToMap() (map[string]interface{}, error)
func (*TransactionalFailure2Response) UnmarshalJSON ¶ added in v1.3.2
func (o *TransactionalFailure2Response) UnmarshalJSON(data []byte) (err error)
type TransactionalFailure2ResponseError ¶ added in v1.0.2
type TransactionalFailure2ResponseError struct { Path *string `json:"path,omitempty"` Message *string `json:"message,omitempty"` }
TransactionalFailure2ResponseError struct for TransactionalFailure2ResponseError
func NewTransactionalFailure2ResponseError ¶ added in v1.0.2
func NewTransactionalFailure2ResponseError() *TransactionalFailure2ResponseError
NewTransactionalFailure2ResponseError instantiates a new TransactionalFailure2ResponseError 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 NewTransactionalFailure2ResponseErrorWithDefaults ¶ added in v1.0.2
func NewTransactionalFailure2ResponseErrorWithDefaults() *TransactionalFailure2ResponseError
NewTransactionalFailure2ResponseErrorWithDefaults instantiates a new TransactionalFailure2ResponseError 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 (*TransactionalFailure2ResponseError) GetMessage ¶ added in v1.0.2
func (o *TransactionalFailure2ResponseError) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*TransactionalFailure2ResponseError) GetMessageOk ¶ added in v1.0.2
func (o *TransactionalFailure2ResponseError) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransactionalFailure2ResponseError) GetPath ¶ added in v1.0.2
func (o *TransactionalFailure2ResponseError) GetPath() string
GetPath returns the Path field value if set, zero value otherwise.
func (*TransactionalFailure2ResponseError) GetPathOk ¶ added in v1.0.2
func (o *TransactionalFailure2ResponseError) GetPathOk() (*string, bool)
GetPathOk returns a tuple with the Path field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransactionalFailure2ResponseError) HasMessage ¶ added in v1.0.2
func (o *TransactionalFailure2ResponseError) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*TransactionalFailure2ResponseError) HasPath ¶ added in v1.0.2
func (o *TransactionalFailure2ResponseError) HasPath() bool
HasPath returns a boolean if a field has been set.
func (TransactionalFailure2ResponseError) MarshalJSON ¶ added in v1.0.2
func (o TransactionalFailure2ResponseError) MarshalJSON() ([]byte, error)
func (*TransactionalFailure2ResponseError) SetMessage ¶ added in v1.0.2
func (o *TransactionalFailure2ResponseError) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*TransactionalFailure2ResponseError) SetPath ¶ added in v1.0.2
func (o *TransactionalFailure2ResponseError) SetPath(v string)
SetPath gets a reference to the given string and assigns it to the Path field.
func (TransactionalFailure2ResponseError) ToMap ¶ added in v1.0.2
func (o TransactionalFailure2ResponseError) ToMap() (map[string]interface{}, error)
type TransactionalFailure3Response ¶
type TransactionalFailure3Response struct { Success bool `json:"success"` Message string `json:"message"` }
TransactionalFailure3Response struct for TransactionalFailure3Response
func NewTransactionalFailure3Response ¶ added in v1.0.2
func NewTransactionalFailure3Response(success bool, message string) *TransactionalFailure3Response
NewTransactionalFailure3Response instantiates a new TransactionalFailure3Response 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 NewTransactionalFailure3ResponseWithDefaults ¶ added in v1.0.2
func NewTransactionalFailure3ResponseWithDefaults() *TransactionalFailure3Response
NewTransactionalFailure3ResponseWithDefaults instantiates a new TransactionalFailure3Response 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 (*TransactionalFailure3Response) GetMessage ¶ added in v1.0.2
func (o *TransactionalFailure3Response) GetMessage() string
GetMessage returns the Message field value
func (*TransactionalFailure3Response) GetMessageOk ¶ added in v1.0.2
func (o *TransactionalFailure3Response) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (*TransactionalFailure3Response) GetSuccess ¶ added in v1.0.2
func (o *TransactionalFailure3Response) GetSuccess() bool
GetSuccess returns the Success field value
func (*TransactionalFailure3Response) GetSuccessOk ¶ added in v1.0.2
func (o *TransactionalFailure3Response) GetSuccessOk() (*bool, bool)
GetSuccessOk returns a tuple with the Success field value and a boolean to check if the value has been set.
func (TransactionalFailure3Response) MarshalJSON ¶ added in v1.0.2
func (o TransactionalFailure3Response) MarshalJSON() ([]byte, error)
func (*TransactionalFailure3Response) SetMessage ¶ added in v1.0.2
func (o *TransactionalFailure3Response) SetMessage(v string)
SetMessage sets field value
func (*TransactionalFailure3Response) SetSuccess ¶ added in v1.0.2
func (o *TransactionalFailure3Response) SetSuccess(v bool)
SetSuccess sets field value
func (TransactionalFailure3Response) ToMap ¶ added in v1.0.2
func (o TransactionalFailure3Response) ToMap() (map[string]interface{}, error)
func (*TransactionalFailure3Response) UnmarshalJSON ¶ added in v1.3.2
func (o *TransactionalFailure3Response) UnmarshalJSON(data []byte) (err error)
type TransactionalFailureResponse ¶
type TransactionalFailureResponse struct { Success bool `json:"success"` Path string `json:"path"` Message string `json:"message"` }
TransactionalFailureResponse struct for TransactionalFailureResponse
func NewTransactionalFailureResponse ¶ added in v1.0.2
func NewTransactionalFailureResponse(success bool, path string, message string) *TransactionalFailureResponse
NewTransactionalFailureResponse instantiates a new TransactionalFailureResponse 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 NewTransactionalFailureResponseWithDefaults ¶ added in v1.0.2
func NewTransactionalFailureResponseWithDefaults() *TransactionalFailureResponse
NewTransactionalFailureResponseWithDefaults instantiates a new TransactionalFailureResponse 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 (*TransactionalFailureResponse) GetMessage ¶ added in v1.0.2
func (o *TransactionalFailureResponse) GetMessage() string
GetMessage returns the Message field value
func (*TransactionalFailureResponse) GetMessageOk ¶ added in v1.0.2
func (o *TransactionalFailureResponse) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (*TransactionalFailureResponse) GetPath ¶ added in v1.0.2
func (o *TransactionalFailureResponse) GetPath() string
GetPath returns the Path field value
func (*TransactionalFailureResponse) GetPathOk ¶ added in v1.0.2
func (o *TransactionalFailureResponse) GetPathOk() (*string, bool)
GetPathOk returns a tuple with the Path field value and a boolean to check if the value has been set.
func (*TransactionalFailureResponse) GetSuccess ¶ added in v1.0.2
func (o *TransactionalFailureResponse) GetSuccess() bool
GetSuccess returns the Success field value
func (*TransactionalFailureResponse) GetSuccessOk ¶ added in v1.0.2
func (o *TransactionalFailureResponse) GetSuccessOk() (*bool, bool)
GetSuccessOk returns a tuple with the Success field value and a boolean to check if the value has been set.
func (TransactionalFailureResponse) MarshalJSON ¶ added in v1.0.2
func (o TransactionalFailureResponse) MarshalJSON() ([]byte, error)
func (*TransactionalFailureResponse) SetMessage ¶ added in v1.0.2
func (o *TransactionalFailureResponse) SetMessage(v string)
SetMessage sets field value
func (*TransactionalFailureResponse) SetPath ¶ added in v1.0.2
func (o *TransactionalFailureResponse) SetPath(v string)
SetPath sets field value
func (*TransactionalFailureResponse) SetSuccess ¶ added in v1.0.2
func (o *TransactionalFailureResponse) SetSuccess(v bool)
SetSuccess sets field value
func (TransactionalFailureResponse) ToMap ¶ added in v1.0.2
func (o TransactionalFailureResponse) ToMap() (map[string]interface{}, error)
func (*TransactionalFailureResponse) UnmarshalJSON ¶ added in v1.3.2
func (o *TransactionalFailureResponse) UnmarshalJSON(data []byte) (err error)
type TransactionalPost400Response ¶ added in v1.0.2
type TransactionalPost400Response struct { TransactionalFailure2Response *TransactionalFailure2Response TransactionalFailure3Response *TransactionalFailure3Response TransactionalFailureResponse *TransactionalFailureResponse }
TransactionalPost400Response - struct for TransactionalPost400Response
func TransactionalFailure2ResponseAsTransactionalPost400Response ¶ added in v1.0.2
func TransactionalFailure2ResponseAsTransactionalPost400Response(v *TransactionalFailure2Response) TransactionalPost400Response
TransactionalFailure2ResponseAsTransactionalPost400Response is a convenience function that returns TransactionalFailure2Response wrapped in TransactionalPost400Response
func TransactionalFailure3ResponseAsTransactionalPost400Response ¶ added in v1.0.2
func TransactionalFailure3ResponseAsTransactionalPost400Response(v *TransactionalFailure3Response) TransactionalPost400Response
TransactionalFailure3ResponseAsTransactionalPost400Response is a convenience function that returns TransactionalFailure3Response wrapped in TransactionalPost400Response
func TransactionalFailureResponseAsTransactionalPost400Response ¶ added in v1.0.2
func TransactionalFailureResponseAsTransactionalPost400Response(v *TransactionalFailureResponse) TransactionalPost400Response
TransactionalFailureResponseAsTransactionalPost400Response is a convenience function that returns TransactionalFailureResponse wrapped in TransactionalPost400Response
func (*TransactionalPost400Response) GetActualInstance ¶ added in v1.0.2
func (obj *TransactionalPost400Response) GetActualInstance() interface{}
Get the actual instance
func (TransactionalPost400Response) MarshalJSON ¶ added in v1.0.2
func (src TransactionalPost400Response) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*TransactionalPost400Response) UnmarshalJSON ¶ added in v1.0.2
func (dst *TransactionalPost400Response) UnmarshalJSON(data []byte) error
Unmarshal JSON data into one of the pointers in the struct
type TransactionalRequest ¶
type TransactionalRequest struct { Email string `json:"email"` // The ID of the transactional email to send. TransactionalId string `json:"transactionalId"` // If `true`, a contact will be created in your audience using the `email` value (if a matching contact doesn't already exist). AddToAudience *bool `json:"addToAudience,omitempty"` // An object containing contact data as defined by the data variables added to the transactional email template. DataVariables map[string]interface{} `json:"dataVariables,omitempty"` // A list containing file objects to be sent along with an email message. Attachments []TransactionalRequestAttachmentsInner `json:"attachments,omitempty"` }
TransactionalRequest struct for TransactionalRequest
func NewTransactionalRequest ¶ added in v1.0.2
func NewTransactionalRequest(email string, transactionalId string) *TransactionalRequest
NewTransactionalRequest instantiates a new TransactionalRequest 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 NewTransactionalRequestWithDefaults ¶ added in v1.0.2
func NewTransactionalRequestWithDefaults() *TransactionalRequest
NewTransactionalRequestWithDefaults instantiates a new TransactionalRequest 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 (*TransactionalRequest) GetAddToAudience ¶ added in v1.3.0
func (o *TransactionalRequest) GetAddToAudience() bool
GetAddToAudience returns the AddToAudience field value if set, zero value otherwise.
func (*TransactionalRequest) GetAddToAudienceOk ¶ added in v1.3.0
func (o *TransactionalRequest) GetAddToAudienceOk() (*bool, bool)
GetAddToAudienceOk returns a tuple with the AddToAudience field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransactionalRequest) GetAttachments ¶ added in v1.3.2
func (o *TransactionalRequest) GetAttachments() []TransactionalRequestAttachmentsInner
GetAttachments returns the Attachments field value if set, zero value otherwise.
func (*TransactionalRequest) GetAttachmentsOk ¶ added in v1.3.2
func (o *TransactionalRequest) GetAttachmentsOk() ([]TransactionalRequestAttachmentsInner, bool)
GetAttachmentsOk returns a tuple with the Attachments field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransactionalRequest) GetDataVariables ¶ added in v1.0.2
func (o *TransactionalRequest) GetDataVariables() map[string]interface{}
GetDataVariables returns the DataVariables field value if set, zero value otherwise.
func (*TransactionalRequest) GetDataVariablesOk ¶ added in v1.0.2
func (o *TransactionalRequest) GetDataVariablesOk() (map[string]interface{}, bool)
GetDataVariablesOk returns a tuple with the DataVariables field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransactionalRequest) GetEmail ¶ added in v1.0.2
func (o *TransactionalRequest) GetEmail() string
GetEmail returns the Email field value
func (*TransactionalRequest) GetEmailOk ¶ added in v1.0.2
func (o *TransactionalRequest) GetEmailOk() (*string, bool)
GetEmailOk returns a tuple with the Email field value and a boolean to check if the value has been set.
func (*TransactionalRequest) GetTransactionalId ¶ added in v1.0.2
func (o *TransactionalRequest) GetTransactionalId() string
GetTransactionalId returns the TransactionalId field value
func (*TransactionalRequest) GetTransactionalIdOk ¶ added in v1.0.2
func (o *TransactionalRequest) GetTransactionalIdOk() (*string, bool)
GetTransactionalIdOk returns a tuple with the TransactionalId field value and a boolean to check if the value has been set.
func (*TransactionalRequest) HasAddToAudience ¶ added in v1.3.0
func (o *TransactionalRequest) HasAddToAudience() bool
HasAddToAudience returns a boolean if a field has been set.
func (*TransactionalRequest) HasAttachments ¶ added in v1.3.2
func (o *TransactionalRequest) HasAttachments() bool
HasAttachments returns a boolean if a field has been set.
func (*TransactionalRequest) HasDataVariables ¶ added in v1.0.2
func (o *TransactionalRequest) HasDataVariables() bool
HasDataVariables returns a boolean if a field has been set.
func (TransactionalRequest) MarshalJSON ¶ added in v1.0.2
func (o TransactionalRequest) MarshalJSON() ([]byte, error)
func (*TransactionalRequest) SetAddToAudience ¶ added in v1.3.0
func (o *TransactionalRequest) SetAddToAudience(v bool)
SetAddToAudience gets a reference to the given bool and assigns it to the AddToAudience field.
func (*TransactionalRequest) SetAttachments ¶ added in v1.3.2
func (o *TransactionalRequest) SetAttachments(v []TransactionalRequestAttachmentsInner)
SetAttachments gets a reference to the given []TransactionalRequestAttachmentsInner and assigns it to the Attachments field.
func (*TransactionalRequest) SetDataVariables ¶ added in v1.0.2
func (o *TransactionalRequest) SetDataVariables(v map[string]interface{})
SetDataVariables gets a reference to the given map[string]interface{} and assigns it to the DataVariables field.
func (*TransactionalRequest) SetEmail ¶ added in v1.0.2
func (o *TransactionalRequest) SetEmail(v string)
SetEmail sets field value
func (*TransactionalRequest) SetTransactionalId ¶ added in v1.0.2
func (o *TransactionalRequest) SetTransactionalId(v string)
SetTransactionalId sets field value
func (TransactionalRequest) ToMap ¶ added in v1.0.2
func (o TransactionalRequest) ToMap() (map[string]interface{}, error)
func (*TransactionalRequest) UnmarshalJSON ¶ added in v1.0.2
func (o *TransactionalRequest) UnmarshalJSON(data []byte) (err error)
type TransactionalRequestAttachmentsInner ¶ added in v1.3.2
type TransactionalRequestAttachmentsInner struct { // The name of the file, shown in email clients. Filename string `json:"filename"` // The MIME type of the file. ContentType string `json:"contentType"` // The base64-encoded content of the file. Data string `json:"data"` }
TransactionalRequestAttachmentsInner struct for TransactionalRequestAttachmentsInner
func NewTransactionalRequestAttachmentsInner ¶ added in v1.3.2
func NewTransactionalRequestAttachmentsInner(filename string, contentType string, data string) *TransactionalRequestAttachmentsInner
NewTransactionalRequestAttachmentsInner instantiates a new TransactionalRequestAttachmentsInner 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 NewTransactionalRequestAttachmentsInnerWithDefaults ¶ added in v1.3.2
func NewTransactionalRequestAttachmentsInnerWithDefaults() *TransactionalRequestAttachmentsInner
NewTransactionalRequestAttachmentsInnerWithDefaults instantiates a new TransactionalRequestAttachmentsInner 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 (*TransactionalRequestAttachmentsInner) GetContentType ¶ added in v1.3.2
func (o *TransactionalRequestAttachmentsInner) GetContentType() string
GetContentType returns the ContentType field value
func (*TransactionalRequestAttachmentsInner) GetContentTypeOk ¶ added in v1.3.2
func (o *TransactionalRequestAttachmentsInner) GetContentTypeOk() (*string, bool)
GetContentTypeOk returns a tuple with the ContentType field value and a boolean to check if the value has been set.
func (*TransactionalRequestAttachmentsInner) GetData ¶ added in v1.3.2
func (o *TransactionalRequestAttachmentsInner) GetData() string
GetData returns the Data field value
func (*TransactionalRequestAttachmentsInner) GetDataOk ¶ added in v1.3.2
func (o *TransactionalRequestAttachmentsInner) GetDataOk() (*string, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*TransactionalRequestAttachmentsInner) GetFilename ¶ added in v1.3.2
func (o *TransactionalRequestAttachmentsInner) GetFilename() string
GetFilename returns the Filename field value
func (*TransactionalRequestAttachmentsInner) GetFilenameOk ¶ added in v1.3.2
func (o *TransactionalRequestAttachmentsInner) GetFilenameOk() (*string, bool)
GetFilenameOk returns a tuple with the Filename field value and a boolean to check if the value has been set.
func (TransactionalRequestAttachmentsInner) MarshalJSON ¶ added in v1.3.2
func (o TransactionalRequestAttachmentsInner) MarshalJSON() ([]byte, error)
func (*TransactionalRequestAttachmentsInner) SetContentType ¶ added in v1.3.2
func (o *TransactionalRequestAttachmentsInner) SetContentType(v string)
SetContentType sets field value
func (*TransactionalRequestAttachmentsInner) SetData ¶ added in v1.3.2
func (o *TransactionalRequestAttachmentsInner) SetData(v string)
SetData sets field value
func (*TransactionalRequestAttachmentsInner) SetFilename ¶ added in v1.3.2
func (o *TransactionalRequestAttachmentsInner) SetFilename(v string)
SetFilename sets field value
func (TransactionalRequestAttachmentsInner) ToMap ¶ added in v1.3.2
func (o TransactionalRequestAttachmentsInner) ToMap() (map[string]interface{}, error)
func (*TransactionalRequestAttachmentsInner) UnmarshalJSON ¶ added in v1.3.2
func (o *TransactionalRequestAttachmentsInner) UnmarshalJSON(data []byte) (err error)
type TransactionalSuccessResponse ¶
type TransactionalSuccessResponse struct {
Success bool `json:"success"`
}
TransactionalSuccessResponse struct for TransactionalSuccessResponse
func NewTransactionalSuccessResponse ¶ added in v1.0.2
func NewTransactionalSuccessResponse(success bool) *TransactionalSuccessResponse
NewTransactionalSuccessResponse instantiates a new TransactionalSuccessResponse 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 NewTransactionalSuccessResponseWithDefaults ¶ added in v1.0.2
func NewTransactionalSuccessResponseWithDefaults() *TransactionalSuccessResponse
NewTransactionalSuccessResponseWithDefaults instantiates a new TransactionalSuccessResponse 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 (*TransactionalSuccessResponse) GetSuccess ¶ added in v1.0.2
func (o *TransactionalSuccessResponse) GetSuccess() bool
GetSuccess returns the Success field value
func (*TransactionalSuccessResponse) GetSuccessOk ¶ added in v1.0.2
func (o *TransactionalSuccessResponse) GetSuccessOk() (*bool, bool)
GetSuccessOk returns a tuple with the Success field value and a boolean to check if the value has been set.
func (TransactionalSuccessResponse) MarshalJSON ¶ added in v1.0.2
func (o TransactionalSuccessResponse) MarshalJSON() ([]byte, error)
func (*TransactionalSuccessResponse) SetSuccess ¶ added in v1.0.2
func (o *TransactionalSuccessResponse) SetSuccess(v bool)
SetSuccess sets field value
func (TransactionalSuccessResponse) ToMap ¶ added in v1.0.2
func (o TransactionalSuccessResponse) ToMap() (map[string]interface{}, error)
func (*TransactionalSuccessResponse) UnmarshalJSON ¶ added in v1.3.2
func (o *TransactionalSuccessResponse) UnmarshalJSON(data []byte) (err error)
Source Files ¶
- api_api_key.go
- api_contacts.go
- api_custom_fields.go
- api_events.go
- api_mailing_lists.go
- api_transactional_emails.go
- client.go
- configuration.go
- model__api_key_get_200_response.go
- model__api_key_get_401_response.go
- model__contacts_delete_post_500_response.go
- model__transactional_post_400_response.go
- model_contact.go
- model_contact_delete_request.go
- model_contact_delete_response.go
- model_contact_failure_response.go
- model_contact_request.go
- model_contact_success_response.go
- model_custom_field.go
- model_event_failure_response.go
- model_event_request.go
- model_event_success_response.go
- model_mailing_list.go
- model_transactional_failure2_response.go
- model_transactional_failure2_response_error.go
- model_transactional_failure3_response.go
- model_transactional_failure_response.go
- model_transactional_request.go
- model_transactional_request_attachments_inner.go
- model_transactional_success_response.go
- response.go
- utils.go