001package ca.uhn.fhir.jpa.subscription.module.subscriber.email; 002 003/*- 004 * #%L 005 * HAPI FHIR Subscription Server 006 * %% 007 * Copyright (C) 2014 - 2020 University Health Network 008 * %% 009 * Licensed under the Apache License, Version 2.0 (the "License"); 010 * you may not use this file except in compliance with the License. 011 * You may obtain a copy of the License at 012 * 013 * http://www.apache.org/licenses/LICENSE-2.0 014 * 015 * Unless required by applicable law or agreed to in writing, software 016 * distributed under the License is distributed on an "AS IS" BASIS, 017 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 018 * See the License for the specific language governing permissions and 019 * limitations under the License. 020 * #L% 021 */ 022 023import org.hl7.fhir.instance.model.api.IIdType; 024 025import java.util.List; 026 027public class EmailDetails { 028 private String mySubjectTemplate; 029 private String myBodyTemplate; 030 private List<String> myTo; 031 private String myFrom; 032 private IIdType mySubscription; 033 034 public String getBodyTemplate() { 035 return myBodyTemplate; 036 } 037 038 public void setBodyTemplate(String theBodyTemplate) { 039 myBodyTemplate = theBodyTemplate; 040 } 041 042 public String getFrom() { 043 return myFrom; 044 } 045 046 public void setFrom(String theFrom) { 047 myFrom = theFrom; 048 } 049 050 public String getSubjectTemplate() { 051 return mySubjectTemplate; 052 } 053 054 public void setSubjectTemplate(String theSubjectTemplate) { 055 mySubjectTemplate = theSubjectTemplate; 056 } 057 058 public IIdType getSubscription() { 059 return mySubscription; 060 } 061 062 public void setSubscription(IIdType theSubscription) { 063 mySubscription = theSubscription; 064 } 065 066 public List<String> getTo() { 067 return myTo; 068 } 069 070 public void setTo(List<String> theTo) { 071 myTo = theTo; 072 } 073 074}