internal

package
v0.0.0-...-35d8de9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 1, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

func (*EmailTask) GetBody

func (m *EmailTask) GetBody() string

func (*EmailTask) GetBodyGzip

func (m *EmailTask) GetBodyGzip() []byte

func (*EmailTask) GetRecipients

func (m *EmailTask) GetRecipients() []string

func (*EmailTask) GetSubject

func (m *EmailTask) GetSubject() string

func (*EmailTask) ProtoMessage

func (*EmailTask) ProtoMessage()

func (*EmailTask) Reset

func (m *EmailTask) Reset()

func (*EmailTask) String

func (m *EmailTask) String() string

func (*EmailTask) XXX_DiscardUnknown

func (m *EmailTask) XXX_DiscardUnknown()

func (*EmailTask) XXX_Marshal

func (m *EmailTask) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EmailTask) XXX_Merge

func (m *EmailTask) XXX_Merge(src proto.Message)

func (*EmailTask) XXX_Size

func (m *EmailTask) XXX_Size() int

func (*EmailTask) XXX_Unmarshal

func (m *EmailTask) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL