Documentation ¶
Index ¶
- type EmailTask
- func (*EmailTask) Descriptor() ([]byte, []int)
- func (m *EmailTask) GetBody() string
- func (m *EmailTask) GetBodyGzip() []byte
- func (m *EmailTask) GetRecipients() []string
- func (m *EmailTask) GetSubject() string
- func (*EmailTask) ProtoMessage()
- func (m *EmailTask) Reset()
- func (m *EmailTask) String() string
- func (m *EmailTask) XXX_DiscardUnknown()
- func (m *EmailTask) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EmailTask) XXX_Merge(src proto.Message)
- func (m *EmailTask) XXX_Size() int
- func (m *EmailTask) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EmailTask ¶
type EmailTask struct { // Recipients is a list of email addresses to send the email to. // TODO(nodir): make it non-repeated. Recipients []string `protobuf:"bytes,1,rep,name=recipients,proto3" json:"recipients,omitempty"` // Subject is the subject line of the email to be sent. Subject string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"` // DEPRECATED. See body_gzip. Body string `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"` // Gzipped, HTML-formatted string containing the body of the email // to be sent. BodyGzip []byte `protobuf:"bytes,4,opt,name=body_gzip,json=bodyGzip,proto3" json:"body_gzip,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
EmailTask represents a single email notification to be dispatched.
func (*EmailTask) Descriptor ¶
func (*EmailTask) GetBodyGzip ¶
func (*EmailTask) GetRecipients ¶
func (*EmailTask) GetSubject ¶
func (*EmailTask) ProtoMessage ¶
func (*EmailTask) ProtoMessage()
func (*EmailTask) XXX_DiscardUnknown ¶
func (m *EmailTask) XXX_DiscardUnknown()
func (*EmailTask) XXX_Marshal ¶
func (*EmailTask) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.