11package com .messagebird .objects .conversations ;
22
3- import com .messagebird .objects .MessageResponse ;
4-
53import java .util .List ;
64import java .util .Map ;
75
@@ -12,10 +10,124 @@ public class ConversationContentEmail {
1210 private String subject ;
1311 private ConversationEmailContent content ;
1412 private String replyTo ;
15- private String returnPath ;
13+ private String returnPath ;
1614 private Map <String , String > headers ;
1715 private ConversationEmailTracking tracking ;
1816 private boolean performSubstitutions ;
1917 private List <ConversationEmailAttachment > attachments ;
2018 private List <ConversationEmailInlineImage > inlineImages ;
19+
20+ public String getId () {
21+ return id ;
22+ }
23+
24+ public void setId (String id ) {
25+ this .id = id ;
26+ }
27+
28+ public ConversationEmailRecipient getFrom () {
29+ return from ;
30+ }
31+
32+ public void setFrom (ConversationEmailRecipient from ) {
33+ this .from = from ;
34+ }
35+
36+ public List <ConversationEmailRecipient > getTo () {
37+ return to ;
38+ }
39+
40+ public void setTo (List <ConversationEmailRecipient > to ) {
41+ this .to = to ;
42+ }
43+
44+ public String getSubject () {
45+ return subject ;
46+ }
47+
48+ public void setSubject (String subject ) {
49+ this .subject = subject ;
50+ }
51+
52+ public ConversationEmailContent getContent () {
53+ return content ;
54+ }
55+
56+ public void setContent (ConversationEmailContent content ) {
57+ this .content = content ;
58+ }
59+
60+ public String getReplyTo () {
61+ return replyTo ;
62+ }
63+
64+ public void setReplyTo (String replyTo ) {
65+ this .replyTo = replyTo ;
66+ }
67+
68+ public String getReturnPath () {
69+ return returnPath ;
70+ }
71+
72+ public void setReturnPath (String returnPath ) {
73+ this .returnPath = returnPath ;
74+ }
75+
76+ public Map <String , String > getHeaders () {
77+ return headers ;
78+ }
79+
80+ public void setHeaders (Map <String , String > headers ) {
81+ this .headers = headers ;
82+ }
83+
84+ public ConversationEmailTracking getTracking () {
85+ return tracking ;
86+ }
87+
88+ public void setTracking (ConversationEmailTracking tracking ) {
89+ this .tracking = tracking ;
90+ }
91+
92+ public boolean isPerformSubstitutions () {
93+ return performSubstitutions ;
94+ }
95+
96+ public void setPerformSubstitutions (boolean performSubstitutions ) {
97+ this .performSubstitutions = performSubstitutions ;
98+ }
99+
100+ public List <ConversationEmailAttachment > getAttachments () {
101+ return attachments ;
102+ }
103+
104+ public void setAttachments (List <ConversationEmailAttachment > attachments ) {
105+ this .attachments = attachments ;
106+ }
107+
108+ public List <ConversationEmailInlineImage > getInlineImages () {
109+ return inlineImages ;
110+ }
111+
112+ public void setInlineImages (List <ConversationEmailInlineImage > inlineImages ) {
113+ this .inlineImages = inlineImages ;
114+ }
115+
116+ @ Override
117+ public String toString () {
118+ return "ConversationContentEmail{" +
119+ "id='" + id + '\'' +
120+ ", from=" + from +
121+ ", to=" + to +
122+ ", subject='" + subject + '\'' +
123+ ", content=" + content +
124+ ", replyTo='" + replyTo + '\'' +
125+ ", returnPath='" + returnPath + '\'' +
126+ ", headers=" + headers +
127+ ", tracking=" + tracking +
128+ ", performSubstitutions=" + performSubstitutions +
129+ ", attachments=" + attachments +
130+ ", inlineImages=" + inlineImages +
131+ '}' ;
132+ }
21133}
0 commit comments