postmarkpb

package module
v0.0.0-...-7d12554 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2022 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PostmarkSenderTopicName = "postmark-sender"
)

Variables

View Source
var File_postmark_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Payload

type Payload struct {

	//@inject_tag: protobuf:"varint,1,opt,name=template_id,json=TemplateId,proto3"
	TemplateId int32 `protobuf:"varint,1,opt,name=template_id,json=TemplateId,proto3" json:"template_id,omitempty"`
	//@inject_tag: `protobuf:"bytes,2,opt,name=template_alias,json=TemplateAlias,proto3"
	TemplateAlias string `protobuf:"bytes,2,opt,name=template_alias,json=TemplateAlias,proto3" json:"template_alias,omitempty"`
	//@inject_tag: protobuf:"bytes,3,rep,name=template_model_old,json=templateModelOld,proto3" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"
	TemplateModel map[string]string `` /* 195-byte string literal not displayed */
	//@inject_tag: protobuf:"varint,4,opt,name=inline_css,json=InlineCss,proto3"
	InlineCss bool `protobuf:"varint,4,opt,name=inline_css,json=InlineCss,proto3" json:"inline_css,omitempty"`
	//@inject_tag: protobuf:"bytes,5,opt,name=from,json=From,proto3"
	From string `protobuf:"bytes,5,opt,name=from,json=From,proto3" json:"from,omitempty"`
	//@inject_tag: protobuf:"bytes,6,opt,name=to,json=To,proto3"
	To string `protobuf:"bytes,6,opt,name=to,json=To,proto3" json:"to,omitempty"`
	//@inject_tag: protobuf:"bytes,7,opt,name=cc,json=Cc,proto3"
	Cc string `protobuf:"bytes,7,opt,name=cc,json=Cc,proto3" json:"cc,omitempty"`
	//@inject_tag: protobuf:"bytes,8,opt,name=bcc,json=Bcc,proto3"
	Bcc string `protobuf:"bytes,8,opt,name=bcc,json=Bcc,proto3" json:"bcc,omitempty"`
	//@inject_tag: protobuf:"bytes,9,opt,name=tag,json=Tag,proto3"
	Tag string `protobuf:"bytes,9,opt,name=tag,json=Tag,proto3" json:"tag,omitempty"`
	//@inject_tag: protobuf:"bytes,10,opt,name=reply_to,json=ReplyTo,proto3"
	ReplyTo string `protobuf:"bytes,10,opt,name=reply_to,json=ReplyTo,proto3" json:"reply_to,omitempty"`
	//@inject_tag: protobuf:"bytes,11,rep,name=headers,json=Headers,proto3"
	Headers []*PayloadHeader `protobuf:"bytes,11,rep,name=headers,json=Headers,proto3" json:"headers,omitempty"`
	//@inject_tag: protobuf:"varint,12,opt,name=track_opens,json=TrackOpens,proto3"
	TrackOpens bool `protobuf:"varint,12,opt,name=track_opens,json=TrackOpens,proto3" json:"track_opens,omitempty"`
	//@inject_tag: protobuf:"bytes,13,opt,name=track_links,json=TrackLinks,proto3"
	TrackLinks string `protobuf:"bytes,13,opt,name=track_links,json=TrackLinks,proto3" json:"track_links,omitempty"`
	//@inject_tag: protobuf:"bytes,14,rep,name=Attachments,json=Attachments,proto3"
	Attachments []*PayloadAttachment `protobuf:"bytes,14,rep,name=Attachments,json=Attachments,proto3" json:"attachments,omitempty"`
	//@inject_tag: protobuf:"bytes,15,rep,name=metadata,json=Metadata,proto3" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"
	Metadata map[string]string `` /* 172-byte string literal not displayed */
	//@inject_tag: protobuf:"bytes,16,rep,name=TemplateObjectModel,json=TemplateModel,proto3"
	TemplateObjectModel *_struct.Struct `protobuf:"bytes,16,rep,name=TemplateObjectModel,json=TemplateModel,proto3" json:"template_object_model,omitempty"`
	PostmarkApiToken    string          `protobuf:"bytes,17,opt,name=postmark_api_token,json=postmarkApiToken,proto3" json:"postmark_api_token,omitempty"`
	// contains filtered or unexported fields
}

func (*Payload) Descriptor deprecated

func (*Payload) Descriptor() ([]byte, []int)

Deprecated: Use Payload.ProtoReflect.Descriptor instead.

func (*Payload) GetAttachments

func (x *Payload) GetAttachments() []*PayloadAttachment

func (*Payload) GetBcc

func (x *Payload) GetBcc() string

func (*Payload) GetCc

func (x *Payload) GetCc() string

func (*Payload) GetFrom

func (x *Payload) GetFrom() string

func (*Payload) GetHeaders

func (x *Payload) GetHeaders() []*PayloadHeader

func (*Payload) GetInlineCss

func (x *Payload) GetInlineCss() bool

func (*Payload) GetMetadata

func (x *Payload) GetMetadata() map[string]string

func (*Payload) GetPostmarkApiToken

func (x *Payload) GetPostmarkApiToken() string

func (*Payload) GetReplyTo

func (x *Payload) GetReplyTo() string

func (*Payload) GetTag

func (x *Payload) GetTag() string

func (*Payload) GetTemplateAlias

func (x *Payload) GetTemplateAlias() string

func (*Payload) GetTemplateId

func (x *Payload) GetTemplateId() int32

func (*Payload) GetTemplateModel

func (x *Payload) GetTemplateModel() map[string]string

func (*Payload) GetTemplateObjectModel

func (x *Payload) GetTemplateObjectModel() *_struct.Struct

func (*Payload) GetTo

func (x *Payload) GetTo() string
func (x *Payload) GetTrackLinks() string

func (*Payload) GetTrackOpens

func (x *Payload) GetTrackOpens() bool

func (*Payload) ProtoMessage

func (*Payload) ProtoMessage()

func (*Payload) ProtoReflect

func (x *Payload) ProtoReflect() protoreflect.Message

func (*Payload) Reset

func (x *Payload) Reset()

func (*Payload) String

func (x *Payload) String() string

type PayloadAttachment

type PayloadAttachment struct {

	//@inject_tag: json:"Name"
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"Name"`
	//@inject_tag: json:"Content"
	Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"Content"`
	//@inject_tag: json:"ContentType"
	ContentType string `protobuf:"bytes,3,opt,name=content_type,json=contentType,proto3" json:"ContentType"`
	// contains filtered or unexported fields
}

func (*PayloadAttachment) Descriptor deprecated

func (*PayloadAttachment) Descriptor() ([]byte, []int)

Deprecated: Use PayloadAttachment.ProtoReflect.Descriptor instead.

func (*PayloadAttachment) GetContent

func (x *PayloadAttachment) GetContent() string

func (*PayloadAttachment) GetContentType

func (x *PayloadAttachment) GetContentType() string

func (*PayloadAttachment) GetName

func (x *PayloadAttachment) GetName() string

func (*PayloadAttachment) ProtoMessage

func (*PayloadAttachment) ProtoMessage()

func (*PayloadAttachment) ProtoReflect

func (x *PayloadAttachment) ProtoReflect() protoreflect.Message

func (*PayloadAttachment) Reset

func (x *PayloadAttachment) Reset()

func (*PayloadAttachment) String

func (x *PayloadAttachment) String() string

type PayloadHeader

type PayloadHeader struct {

	//@inject_tag: json:"Name"
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"Name"`
	//@inject_tag: json:"Value"
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"Value"`
	// contains filtered or unexported fields
}

func (*PayloadHeader) Descriptor deprecated

func (*PayloadHeader) Descriptor() ([]byte, []int)

Deprecated: Use PayloadHeader.ProtoReflect.Descriptor instead.

func (*PayloadHeader) GetName

func (x *PayloadHeader) GetName() string

func (*PayloadHeader) GetValue

func (x *PayloadHeader) GetValue() string

func (*PayloadHeader) ProtoMessage

func (*PayloadHeader) ProtoMessage()

func (*PayloadHeader) ProtoReflect

func (x *PayloadHeader) ProtoReflect() protoreflect.Message

func (*PayloadHeader) Reset

func (x *PayloadHeader) Reset()

func (*PayloadHeader) String

func (x *PayloadHeader) String() string

Jump to

Keyboard shortcuts

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