Class: SMSMessage
- Inherits:
-
Object
- Object
- SMSMessage
- Defined in:
- lib/splat/vendors/twilio/xml/twilio_xml.rb
Overview
{}SMSMessage
Constant Summary collapse
- @@schema_type =
"SMSMessage"
- @@schema_ns =
nil
- @@schema_element =
[["sid", ["SOAP::SOAPString", XSD::QName.new(nil, "Sid")]], ["dateCreated", ["SOAP::SOAPString", XSD::QName.new(nil, "DateCreated")]], ["dateUpdated", ["SOAP::SOAPString", XSD::QName.new(nil, "DateUpdated")]], ["dateSent", ["SOAP::SOAPString", XSD::QName.new(nil, "DateSent")]], ["accountSid", ["SOAP::SOAPString", XSD::QName.new(nil, "AccountSid")]], ["to", ["SOAP::SOAPString", XSD::QName.new(nil, "To")]], ["from", ["SOAP::SOAPString", XSD::QName.new(nil, "From")]], ["body", ["SOAP::SOAPString", XSD::QName.new(nil, "Body")]], ["status", ["SOAP::SOAPString", XSD::QName.new(nil, "Status")]], ["flags", ["SOAP::SOAPString", XSD::QName.new(nil, "Flags")]], ["price", ["SOAP::SOAPString", XSD::QName.new(nil, "Price")]]]
Instance Method Summary collapse
- #AccountSid ⇒ Object
- #AccountSid=(value) ⇒ Object
- #Body ⇒ Object
- #Body=(value) ⇒ Object
- #DateCreated ⇒ Object
- #DateCreated=(value) ⇒ Object
- #DateSent ⇒ Object
- #DateSent=(value) ⇒ Object
- #DateUpdated ⇒ Object
- #DateUpdated=(value) ⇒ Object
- #Flags ⇒ Object
- #Flags=(value) ⇒ Object
- #From ⇒ Object
- #From=(value) ⇒ Object
-
#initialize(sid = nil, dateCreated = nil, dateUpdated = nil, dateSent = nil, accountSid = nil, to = nil, from = nil, body = nil, status = nil, flags = nil, price = nil) ⇒ SMSMessage
constructor
A new instance of SMSMessage.
- #Price ⇒ Object
- #Price=(value) ⇒ Object
- #Sid ⇒ Object
- #Sid=(value) ⇒ Object
- #Status ⇒ Object
- #Status=(value) ⇒ Object
- #To ⇒ Object
- #To=(value) ⇒ Object
Constructor Details
#initialize(sid = nil, dateCreated = nil, dateUpdated = nil, dateSent = nil, accountSid = nil, to = nil, from = nil, body = nil, status = nil, flags = nil, price = nil) ⇒ SMSMessage
Returns a new instance of SMSMessage.
143 144 145 146 147 148 149 150 151 152 153 154 155 |
# File 'lib/splat/vendors/twilio/xml/twilio_xml.rb', line 143 def initialize(sid = nil, dateCreated = nil, dateUpdated = nil, dateSent = nil, accountSid = nil, to = nil, from = nil, body = nil, status = nil, flags = nil, price = nil) @sid = sid @dateCreated = dateCreated @dateUpdated = dateUpdated @dateSent = dateSent @accountSid = accountSid @to = to @from = from @body = body @status = status @flags = flags @price = price end |
Instance Method Details
#AccountSid ⇒ Object
87 88 89 |
# File 'lib/splat/vendors/twilio/xml/twilio_xml.rb', line 87 def AccountSid @accountSid end |
#AccountSid=(value) ⇒ Object
91 92 93 |
# File 'lib/splat/vendors/twilio/xml/twilio_xml.rb', line 91 def AccountSid=(value) @accountSid = value end |
#Body ⇒ Object
111 112 113 |
# File 'lib/splat/vendors/twilio/xml/twilio_xml.rb', line 111 def Body @body end |
#Body=(value) ⇒ Object
115 116 117 |
# File 'lib/splat/vendors/twilio/xml/twilio_xml.rb', line 115 def Body=(value) @body = value end |
#DateCreated ⇒ Object
63 64 65 |
# File 'lib/splat/vendors/twilio/xml/twilio_xml.rb', line 63 def DateCreated @dateCreated end |
#DateCreated=(value) ⇒ Object
67 68 69 |
# File 'lib/splat/vendors/twilio/xml/twilio_xml.rb', line 67 def DateCreated=(value) @dateCreated = value end |
#DateSent ⇒ Object
79 80 81 |
# File 'lib/splat/vendors/twilio/xml/twilio_xml.rb', line 79 def DateSent @dateSent end |
#DateSent=(value) ⇒ Object
83 84 85 |
# File 'lib/splat/vendors/twilio/xml/twilio_xml.rb', line 83 def DateSent=(value) @dateSent = value end |
#DateUpdated ⇒ Object
71 72 73 |
# File 'lib/splat/vendors/twilio/xml/twilio_xml.rb', line 71 def DateUpdated @dateUpdated end |
#DateUpdated=(value) ⇒ Object
75 76 77 |
# File 'lib/splat/vendors/twilio/xml/twilio_xml.rb', line 75 def DateUpdated=(value) @dateUpdated = value end |
#Flags ⇒ Object
127 128 129 |
# File 'lib/splat/vendors/twilio/xml/twilio_xml.rb', line 127 def Flags @flags end |
#Flags=(value) ⇒ Object
131 132 133 |
# File 'lib/splat/vendors/twilio/xml/twilio_xml.rb', line 131 def Flags=(value) @flags = value end |
#From ⇒ Object
103 104 105 |
# File 'lib/splat/vendors/twilio/xml/twilio_xml.rb', line 103 def From @from end |
#From=(value) ⇒ Object
107 108 109 |
# File 'lib/splat/vendors/twilio/xml/twilio_xml.rb', line 107 def From=(value) @from = value end |
#Price ⇒ Object
135 136 137 |
# File 'lib/splat/vendors/twilio/xml/twilio_xml.rb', line 135 def Price @price end |
#Price=(value) ⇒ Object
139 140 141 |
# File 'lib/splat/vendors/twilio/xml/twilio_xml.rb', line 139 def Price=(value) @price = value end |
#Sid ⇒ Object
55 56 57 |
# File 'lib/splat/vendors/twilio/xml/twilio_xml.rb', line 55 def Sid @sid end |
#Sid=(value) ⇒ Object
59 60 61 |
# File 'lib/splat/vendors/twilio/xml/twilio_xml.rb', line 59 def Sid=(value) @sid = value end |
#Status ⇒ Object
119 120 121 |
# File 'lib/splat/vendors/twilio/xml/twilio_xml.rb', line 119 def Status @status end |
#Status=(value) ⇒ Object
123 124 125 |
# File 'lib/splat/vendors/twilio/xml/twilio_xml.rb', line 123 def Status=(value) @status = value end |
#To ⇒ Object
95 96 97 |
# File 'lib/splat/vendors/twilio/xml/twilio_xml.rb', line 95 def To @to end |
#To=(value) ⇒ Object
99 100 101 |
# File 'lib/splat/vendors/twilio/xml/twilio_xml.rb', line 99 def To=(value) @to = value end |