1111// TODO: Auto-generated Javadoc
1212/**
1313 * The Class Sms.
14- *
14+ *
1515 * For more information see <a href="http://www.twilio.com/docs/api/rest/sms">http://www.twilio.com/docs/api/rest/sms</a>
1616 */
1717public class Sms extends InstanceResource {
18-
18+
1919 /** The Constant SID_PROPERTY. */
2020 private static final String SID_PROPERTY = "sid" ;
2121
@@ -36,7 +36,7 @@ public Sms(TwilioRestClient client) {
3636 */
3737 public Sms (TwilioRestClient client , String sid ) {
3838 super (client );
39- if (sid == null ) {
39+ if (sid == null ) {
4040 throw new IllegalStateException ("The Sid for an Sms can not be null" );
4141 }
4242 this .setProperty (SID_PROPERTY , sid );
@@ -62,11 +62,11 @@ protected String getResourceLocation() {
6262 }
6363 /**
6464 * return a date from the property string
65- *
65+ *
6666 * @return the date value of the input string
6767 */
6868 protected Date parseDate (String inDate ) {
69- if (inDate ==null ) {
69+ if (inDate ==null ) {
7070 return null ;
7171 }
7272 SimpleDateFormat format = new SimpleDateFormat (
@@ -88,7 +88,7 @@ protected Date parseDate(String inDate) {
8888 public String getSid () {
8989 return this .getProperty (SID_PROPERTY );
9090 }
91-
91+
9292 /**
9393 * Gets the date created.
9494 *
@@ -106,7 +106,7 @@ public Date getDateCreated() {
106106 public Date getDateUpdated () {
107107 return parseDate (this .getProperty ("date_updated" ));
108108 }
109-
109+
110110 /**
111111 * Gets the date sent.
112112 *
@@ -142,7 +142,7 @@ public String getTo() {
142142 public String getFrom () {
143143 return this .getProperty ("from" );
144144 }
145-
145+
146146 /**
147147 * Gets the body.
148148 *
@@ -151,7 +151,7 @@ public String getFrom() {
151151 public String getBody () {
152152 return this .getProperty ("body" );
153153 }
154-
154+
155155 /**
156156 * Gets the status.
157157 *
@@ -178,7 +178,7 @@ public String getPrice() {
178178 public String getDirection () {
179179 return this .getProperty ("direction" );
180180 }
181-
181+
182182 /**
183183 * Gets the api version.
184184 *
@@ -187,5 +187,5 @@ public String getDirection() {
187187 public String getApiVersion () {
188188 return this .getProperty ("api_version" );
189189 }
190-
190+
191191}
0 commit comments