Class: SMSMessage

Inherits:
Object
  • Object
show all
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

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

#AccountSidObject



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

#BodyObject



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

#DateCreatedObject



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

#DateSentObject



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

#DateUpdatedObject



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

#FlagsObject



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

#FromObject



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

#PriceObject



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

#SidObject



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

#StatusObject



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

#ToObject



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