2021-01-14 06:36:35 +00:00
|
|
|
package app
|
|
|
|
|
|
|
|
import "code.tnxs.net/taxnexus/lib/api/workflow/workflow_models"
|
|
|
|
|
2021-01-18 03:13:54 +00:00
|
|
|
// MarshalToSwagger encodes first class object
|
2021-01-17 21:49:00 +00:00
|
|
|
func (obj *OutgoingEmailMessageReceipt) MarshalToSwagger() *workflow_models.EmailMessage {
|
2021-01-14 06:36:35 +00:00
|
|
|
return &workflow_models.EmailMessage{
|
|
|
|
ID: obj.ID,
|
|
|
|
EmailMessageID: obj.EmailMessageID,
|
|
|
|
Status: obj.Status,
|
|
|
|
Subject: obj.Subject,
|
|
|
|
ToAddress: obj.ToAddress,
|
|
|
|
ValidatedFromAddress: obj.ValidatedFromAddress,
|
|
|
|
}
|
|
|
|
}
|