/Rock.ViewModels/Entities/CommunicationBag.cs

https://github.com/SparkDevNetwork/Rock · C# · 359 lines · 49 code · 43 blank · 267 comment · 0 complexity · de4986ad6172f07c4aa4d4ca0955087d MD5 · raw file

  1. //------------------------------------------------------------------------------
  2. // <auto-generated>
  3. // This code was generated by the Rock.CodeGeneration project
  4. // Changes to this file will be lost when the code is regenerated.
  5. // </auto-generated>
  6. //------------------------------------------------------------------------------
  7. // <copyright>
  8. // Copyright by the Spark Development Network
  9. //
  10. // Licensed under the Rock Community License (the "License");
  11. // you may not use this file except in compliance with the License.
  12. // You may obtain a copy of the License at
  13. //
  14. // http://www.rockrms.com/license
  15. //
  16. // Unless required by applicable law or agreed to in writing, software
  17. // distributed under the License is distributed on an "AS IS" BASIS,
  18. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  19. // See the License for the specific language governing permissions and
  20. // limitations under the License.
  21. // </copyright>
  22. //
  23. using System;
  24. using System.Linq;
  25. using Rock.ViewModels.Utility;
  26. namespace Rock.ViewModels.Entities
  27. {
  28. /// <summary>
  29. /// Communication View Model
  30. /// </summary>
  31. public partial class CommunicationBag : EntityBagBase
  32. {
  33. /// <summary>
  34. /// Gets or sets a JSON string containing any additional merge fields for the Communication.
  35. /// </summary>
  36. /// <value>
  37. /// A Json formatted System.String that contains any additional merge fields for the Communication.
  38. /// </value>
  39. public string AdditionalMergeFieldsJson { get; set; }
  40. /// <summary>
  41. /// Gets or sets a comma separated list of BCC'ed email addresses.
  42. /// </summary>
  43. /// <value>
  44. /// A comma separated list of BCC'ed email addresses.
  45. /// </value>
  46. public string BCCEmails { get; set; }
  47. /// <summary>
  48. /// Gets or sets a comma separated list of CC'ed email addresses.
  49. /// </summary>
  50. /// <value>
  51. /// A comma separated list of CC'ed email addresses.
  52. /// </value>
  53. public string CCEmails { get; set; }
  54. /// <summary>
  55. /// Gets or sets the Rock.Model.CommunicationTemplate that was used to compose this communication
  56. /// </summary>
  57. /// <value>
  58. /// The communication template identifier.
  59. /// </value>
  60. public int? CommunicationTemplateId { get; set; }
  61. /// <summary>
  62. /// Gets or sets the communication type value identifier.
  63. /// </summary>
  64. /// <value>
  65. /// The communication type value identifier.
  66. /// </value>
  67. public int CommunicationType { get; set; }
  68. /// <summary>
  69. /// Gets or sets a comma-delimited list of enabled LavaCommands
  70. /// </summary>
  71. /// <value>
  72. /// The enabled lava commands.
  73. /// </value>
  74. public string EnabledLavaCommands { get; set; }
  75. /// <summary>
  76. /// Option to prevent communications from being sent to people with the same email/SMS addresses.
  77. /// This will mean two people who share an address will not receive a personalized communication, only one of them will.
  78. /// </summary>
  79. /// <value>
  80. /// true if [exclude duplicate recipient address]; otherwise, false.
  81. /// </value>
  82. public bool ExcludeDuplicateRecipientAddress { get; set; }
  83. /// <summary>
  84. /// Gets or sets from email address.
  85. /// </summary>
  86. /// <value>
  87. /// From email address.
  88. /// </value>
  89. public string FromEmail { get; set; }
  90. /// <summary>
  91. /// Gets or sets from name.
  92. /// </summary>
  93. /// <value>
  94. /// From name.
  95. /// </value>
  96. public string FromName { get; set; }
  97. /// <summary>
  98. /// Gets or sets the future send date for the communication. This allows a user to schedule when a communication is sent
  99. /// and the communication will not be sent until that date and time.
  100. /// </summary>
  101. /// <value>
  102. /// A System.DateTime value that represents the FutureSendDate for the communication. If no future send date is provided, this value will be null.
  103. /// </value>
  104. public DateTime? FutureSendDateTime { get; set; }
  105. /// <summary>
  106. /// Gets or sets the is bulk communication.
  107. /// </summary>
  108. /// <value>
  109. /// The is bulk communication.
  110. /// </value>
  111. public bool IsBulkCommunication { get; set; }
  112. /// <summary>
  113. /// Gets or sets the list that email is being sent to.
  114. /// </summary>
  115. /// <value>
  116. /// The list group identifier.
  117. /// </value>
  118. public int? ListGroupId { get; set; }
  119. /// <summary>
  120. /// Gets or sets the message.
  121. /// </summary>
  122. /// <value>
  123. /// The message.
  124. /// </value>
  125. public string Message { get; set; }
  126. /// <summary>
  127. /// Gets or sets the message meta data.
  128. /// </summary>
  129. /// <value>
  130. /// The message meta data.
  131. /// </value>
  132. public string MessageMetaData { get; set; }
  133. /// <summary>
  134. /// Gets or sets the name of the Communication
  135. /// </summary>
  136. /// <value>
  137. /// A System.String that represents the name of the communication.
  138. /// </value>
  139. public string Name { get; set; }
  140. /// <summary>
  141. /// Gets or sets the push data.
  142. /// </summary>
  143. /// <value>
  144. /// The push data.
  145. /// </value>
  146. public string PushData { get; set; }
  147. /// <summary>
  148. /// Gets or sets the push image file identifier.
  149. /// </summary>
  150. /// <value>
  151. /// The push image file identifier.
  152. /// </value>
  153. public int? PushImageBinaryFileId { get; set; }
  154. /// <summary>
  155. /// Gets or sets the message.
  156. /// </summary>
  157. /// <value>
  158. /// The message.
  159. /// </value>
  160. public string PushMessage { get; set; }
  161. /// <summary>
  162. /// Gets or sets the push open action.
  163. /// </summary>
  164. /// <value>
  165. /// The push open action.
  166. /// </value>
  167. public int? PushOpenAction { get; set; }
  168. /// <summary>
  169. /// Gets or sets the push open message.
  170. /// </summary>
  171. /// <value>
  172. /// The push open message.
  173. /// </value>
  174. public string PushOpenMessage { get; set; }
  175. /// <summary>
  176. /// Gets or sets push sound.
  177. /// </summary>
  178. /// <value>
  179. /// Push sound.
  180. /// </value>
  181. public string PushSound { get; set; }
  182. /// <summary>
  183. /// Gets or sets the push notification title.
  184. /// </summary>
  185. /// <value>
  186. /// Push notification title.
  187. /// </value>
  188. public string PushTitle { get; set; }
  189. /// <summary>
  190. /// Gets or sets the reply to email address.
  191. /// </summary>
  192. /// <value>
  193. /// The reply to email address.
  194. /// </value>
  195. public string ReplyToEmail { get; set; }
  196. /// <summary>
  197. /// Gets or sets the date and time stamp of when the Communication was reviewed.
  198. /// </summary>
  199. /// <value>
  200. /// A System.DateTime representing the date and time that the Communication was reviewed.
  201. /// </value>
  202. public DateTime? ReviewedDateTime { get; set; }
  203. /// <summary>
  204. /// Gets or sets the note that was entered by the reviewer.
  205. /// </summary>
  206. /// <value>
  207. /// A System.String representing a note that was entered by the reviewer.
  208. /// </value>
  209. public string ReviewerNote { get; set; }
  210. /// <summary>
  211. /// Gets or sets the reviewer person alias identifier.
  212. /// </summary>
  213. /// <value>
  214. /// The reviewer person alias identifier.
  215. /// </value>
  216. public int? ReviewerPersonAliasId { get; set; }
  217. /// <summary>
  218. /// Gets or sets if communication is targeted to people in all selected segments or any selected segments.
  219. /// </summary>
  220. /// <value>
  221. /// The segment criteria.
  222. /// </value>
  223. public int SegmentCriteria { get; set; }
  224. /// <summary>
  225. /// Gets or sets the segments that list is being filtered to (comma-delimited list of dataview guids).
  226. /// </summary>
  227. /// <value>
  228. /// The segments.
  229. /// </value>
  230. public string Segments { get; set; }
  231. /// <summary>
  232. /// Gets or sets the datetime that communication was sent. This also indicates that communication shouldn't attempt to send again.
  233. /// </summary>
  234. /// <value>
  235. /// The send date time.
  236. /// </value>
  237. public DateTime? SendDateTime { get; set; }
  238. /// <summary>
  239. /// Gets or sets the sender Rock.Model.PersonAlias identifier.
  240. /// </summary>
  241. /// <value>
  242. /// The sender person alias identifier.
  243. /// </value>
  244. public int? SenderPersonAliasId { get; set; }
  245. /// <summary>
  246. /// Gets or sets the SMS from number.
  247. /// </summary>
  248. /// <value>
  249. /// From number.
  250. /// </value>
  251. public int? SMSFromDefinedValueId { get; set; }
  252. /// <summary>
  253. /// Gets or sets the message.
  254. /// </summary>
  255. /// <value>
  256. /// The message.
  257. /// </value>
  258. public string SMSMessage { get; set; }
  259. /// <summary>
  260. /// Gets or sets the status of the Communication.
  261. /// </summary>
  262. /// <value>
  263. /// A Rock.Model.CommunicationStatus enum value that represents the status of the Communication.
  264. /// </value>
  265. public int Status { get; set; }
  266. /// <summary>
  267. /// Gets or sets the name of the Communication
  268. /// </summary>
  269. /// <value>
  270. /// A System.String that represents the name of the communication.
  271. /// </value>
  272. public string Subject { get; set; }
  273. /// <summary>
  274. /// Gets or sets the Rock.Model.Communication.SystemCommunication that this communication is associated with.
  275. /// </summary>
  276. /// <value>
  277. /// The system communication.
  278. /// </value>
  279. public int? SystemCommunicationId { get; set; }
  280. /// <summary>
  281. /// Gets or sets the URL from where this communication was created (grid)
  282. /// </summary>
  283. /// <value>
  284. /// The URL referrer.
  285. /// </value>
  286. public string UrlReferrer { get; set; }
  287. /// <summary>
  288. /// Gets or sets the created date time.
  289. /// </summary>
  290. /// <value>
  291. /// The created date time.
  292. /// </value>
  293. public DateTime? CreatedDateTime { get; set; }
  294. /// <summary>
  295. /// Gets or sets the modified date time.
  296. /// </summary>
  297. /// <value>
  298. /// The modified date time.
  299. /// </value>
  300. public DateTime? ModifiedDateTime { get; set; }
  301. /// <summary>
  302. /// Gets or sets the created by person alias identifier.
  303. /// </summary>
  304. /// <value>
  305. /// The created by person alias identifier.
  306. /// </value>
  307. public int? CreatedByPersonAliasId { get; set; }
  308. /// <summary>
  309. /// Gets or sets the modified by person alias identifier.
  310. /// </summary>
  311. /// <value>
  312. /// The modified by person alias identifier.
  313. /// </value>
  314. public int? ModifiedByPersonAliasId { get; set; }
  315. }
  316. }