Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DtoChannelEmail ¶
type DtoChannelEmail struct { // channel name ChannelName string `json:"channel_name,omitempty"` // id ID string `json:"id,omitempty"` // org id OrgID string `json:"org_id,omitempty"` // receivers Receivers []*DtoEmailRecipients `json:"receivers"` // subscriber id SubscriberID string `json:"subscriber_id,omitempty"` }
DtoChannelEmail dto channel email
swagger:model dto.ChannelEmail
func (*DtoChannelEmail) ContextValidate ¶
ContextValidate validate this dto channel email based on the context it is used
func (*DtoChannelEmail) MarshalBinary ¶
func (m *DtoChannelEmail) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DtoChannelEmail) UnmarshalBinary ¶
func (m *DtoChannelEmail) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DtoCreateChannelEmail ¶
type DtoCreateChannelEmail struct { // channel name ChannelName string `json:"channel_name,omitempty"` // receivers Receivers []*DtoEmailRecipients `json:"receivers"` }
DtoCreateChannelEmail dto create channel email
swagger:model dto.CreateChannelEmail
func (*DtoCreateChannelEmail) ContextValidate ¶
ContextValidate validate this dto create channel email based on the context it is used
func (*DtoCreateChannelEmail) MarshalBinary ¶
func (m *DtoCreateChannelEmail) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DtoCreateChannelEmail) UnmarshalBinary ¶
func (m *DtoCreateChannelEmail) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DtoCreatePreference ¶
type DtoCreatePreference struct { // event types // Example: {"service_id_1":"\u003clist of event types\u003e","service_id_2":"\u003clist of event types\u003e"} EventTypes map[string]string `json:"event_types,omitempty"` }
DtoCreatePreference dto create preference
swagger:model dto.CreatePreference
func (*DtoCreatePreference) ContextValidate ¶
ContextValidate validates this dto create preference based on context it is used
func (*DtoCreatePreference) MarshalBinary ¶
func (m *DtoCreatePreference) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DtoCreatePreference) UnmarshalBinary ¶
func (m *DtoCreatePreference) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DtoEmailRecipients ¶
type DtoEmailRecipients struct { // email Email string `json:"email,omitempty"` // name Name string `json:"name,omitempty"` }
DtoEmailRecipients dto email recipients
swagger:model dto.EmailRecipients
func (*DtoEmailRecipients) ContextValidate ¶
ContextValidate validates this dto email recipients based on context it is used
func (*DtoEmailRecipients) MarshalBinary ¶
func (m *DtoEmailRecipients) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DtoEmailRecipients) UnmarshalBinary ¶
func (m *DtoEmailRecipients) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DtoNotification ¶
type DtoNotification struct { // created on CreatedOn string `json:"created_on,omitempty"` // event type EventType string `json:"event_type,omitempty"` // id ID string `json:"id,omitempty"` // marked read MarkedRead bool `json:"marked_read,omitempty"` // org id OrgID string `json:"org_id,omitempty"` // subscriber id SubscriberID string `json:"subscriber_id,omitempty"` }
DtoNotification dto notification
swagger:model dto.Notification
func (*DtoNotification) ContextValidate ¶
ContextValidate validates this dto notification based on context it is used
func (*DtoNotification) MarshalBinary ¶
func (m *DtoNotification) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DtoNotification) UnmarshalBinary ¶
func (m *DtoNotification) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DtoPreference ¶
type DtoPreference struct { // event source svc EventSourceSvc string `json:"event_source_svc,omitempty"` // event type EventType string `json:"event_type,omitempty"` // id ID string `json:"id,omitempty"` // org id OrgID string `json:"org_id,omitempty"` // subscriber id SubscriberID string `json:"subscriber_id,omitempty"` }
DtoPreference dto preference
swagger:model dto.Preference
func (*DtoPreference) ContextValidate ¶
ContextValidate validates this dto preference based on context it is used
func (*DtoPreference) MarshalBinary ¶
func (m *DtoPreference) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DtoPreference) UnmarshalBinary ¶
func (m *DtoPreference) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DtoUpdateChannelEmail ¶
type DtoUpdateChannelEmail struct { // channel name ChannelName string `json:"channel_name,omitempty"` // receivers Receivers []*DtoEmailRecipients `json:"receivers"` }
DtoUpdateChannelEmail dto update channel email
swagger:model dto.UpdateChannelEmail
func (*DtoUpdateChannelEmail) ContextValidate ¶
ContextValidate validate this dto update channel email based on the context it is used
func (*DtoUpdateChannelEmail) MarshalBinary ¶
func (m *DtoUpdateChannelEmail) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DtoUpdateChannelEmail) UnmarshalBinary ¶
func (m *DtoUpdateChannelEmail) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ErrrErrorDetails ¶
type ErrrErrorDetails struct { // error Error string `json:"error,omitempty"` // location Location string `json:"location,omitempty"` // message Message string `json:"message,omitempty"` // solution Solution string `json:"solution,omitempty"` // type Type string `json:"type,omitempty"` }
ErrrErrorDetails errr error details
swagger:model errr.ErrorDetails
func (*ErrrErrorDetails) ContextValidate ¶
ContextValidate validates this errr error details based on context it is used
func (*ErrrErrorDetails) MarshalBinary ¶
func (m *ErrrErrorDetails) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ErrrErrorDetails) UnmarshalBinary ¶
func (m *ErrrErrorDetails) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ErrrErrorResponse ¶
type ErrrErrorResponse struct { // code Code int64 `json:"code,omitempty"` // errors Errors []*ErrrErrorDetails `json:"errors"` // exception Exception string `json:"exception,omitempty"` // path Path string `json:"path,omitempty"` // timestamp Timestamp int64 `json:"timestamp,omitempty"` // trace id TraceID string `json:"trace_id,omitempty"` }
ErrrErrorResponse errr error response
swagger:model errr.ErrorResponse
func (*ErrrErrorResponse) ContextValidate ¶
ContextValidate validate this errr error response based on the context it is used
func (*ErrrErrorResponse) MarshalBinary ¶
func (m *ErrrErrorResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ErrrErrorResponse) UnmarshalBinary ¶
func (m *ErrrErrorResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation