dto

package
Version: v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ETCreateReqDTO

type ETCreateReqDTO struct {
	domSchema.ETCreateRequest
}

ETCreateReqDTO type

type ETCreateResDTO

type ETCreateResDTO struct {
	domSchema.ETCreateResponse
}

ETCreateResDTO type

func (*ETCreateResDTO) ToJSON

func (r *ETCreateResDTO) ToJSON() []byte

ToJSON covert to JSON

type ETDeleteReqDTO

type ETDeleteReqDTO struct {
	domSchema.ETDeleteRequest
}

ETDeleteReqDTO type

type ETDeleteResDTO

type ETDeleteResDTO struct {
	domSchema.ETDeleteResponse
}

ETDeleteResDTO type

func (*ETDeleteResDTO) ToJSON

func (r *ETDeleteResDTO) ToJSON() []byte

ToJSON covert to JSON

type ETFindByCodeReqDTO

type ETFindByCodeReqDTO struct {
	domSchema.ETFindByCodeRequest
}

ETFindByCodeReqDTO type

type ETFindByCodeResDTO

type ETFindByCodeResDTO struct {
	Query domSchema.ETFindByCodeRequest `json:"query"`
	Data  domSchema.ETFindByCodeData    `json:"data"`
}

ETFindByCodeResDTO type

func (*ETFindByCodeResDTO) ToJSON

func (r *ETFindByCodeResDTO) ToJSON() []byte

ToJSON covert to JSON

type ETListAllResDTO

type ETListAllResDTO struct {
	domSchema.ETListAllResponse
}

ETListAllResDTO type

func (*ETListAllResDTO) ToJSON

func (r *ETListAllResDTO) ToJSON() []byte

ToJSON covert to JSON

type ETSetActiveDataDTO

type ETSetActiveDataDTO struct {
	domSchema.ETSetActiveData
}

ETSetActiveDataDTO type

type ETSetActiveKeysDTO

type ETSetActiveKeysDTO struct {
	domSchema.ETSetActiveKeys
}

ETSetActiveKeysDTO type

type ETSetActiveReqDTO

type ETSetActiveReqDTO struct {
	Keys *ETSetActiveKeysDTO `json:"keys"`
	Data *ETSetActiveDataDTO `json:"data"`
}

ETSetActiveReqDTO type

type ETSetActiveResDTO

type ETSetActiveResDTO struct {
	domSchema.ETSetActiveResponse
}

ETSetActiveResDTO type

func (*ETSetActiveResDTO) ToJSON

func (r *ETSetActiveResDTO) ToJSON() []byte

ToJSON covert to JSON

type ETUpdateDataDTO

type ETUpdateDataDTO struct {
	domSchema.ETUpdateData
}

ETUpdateDataDTO type

type ETUpdateKeysDTO

type ETUpdateKeysDTO struct {
	domSchema.ETUpdateKeys
}

ETUpdateKeysDTO type

type ETUpdateReqDTO

type ETUpdateReqDTO struct {
	Keys *ETUpdateKeysDTO `json:"keys"`
	Data *ETUpdateDataDTO `json:"data"`
}

ETUpdateReqDTO type

type ETUpdateResDTO

type ETUpdateResDTO struct {
	domSchema.ETUpdateResponse
}

ETUpdateResDTO type

func (*ETUpdateResDTO) ToJSON

func (r *ETUpdateResDTO) ToJSON() []byte

ToJSON covert to JSON

type MailAddressDTO

type MailAddressDTO struct {
	Email string `json:"email"`
	Name  string `json:"name"`
}

MailAddressDTO type

type SendEmailReqDTO

type SendEmailReqDTO struct {
	TemplateCode   string                 `json:"templateCode"`
	From           *MailAddressDTO        `json:"from"`
	To             *MailAddressDTO        `json:"to"`
	CC             []*MailAddressDTO      `json:"cc"`
	BCC            []*MailAddressDTO      `json:"bcc"`
	TemplateData   map[string]interface{} `json:"templateData"`
	ProcessingType string                 `json:"processingType"`
}

SendEmailReqDTO type

func (*SendEmailReqDTO) ConvertBCC2Domain

func (r *SendEmailReqDTO) ConvertBCC2Domain() []*domSchema.MailAddress

ConvertBCC2Domain convert to domSchema

func (*SendEmailReqDTO) ConvertCC2Domain

func (r *SendEmailReqDTO) ConvertCC2Domain() []*domSchema.MailAddress

ConvertCC2Domain convert to domSchema

func (*SendEmailReqDTO) ToJSON

func (r *SendEmailReqDTO) ToJSON() []byte

ToJSON covert to JSON

type SendEmailResDTO

type SendEmailResDTO struct {
	domSchema.SendEmailResponse
}

SendEmailResDTO type

Jump to

Keyboard shortcuts

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