Class: FlightAlertEntry
- Inherits:
-
Object
- Object
- FlightAlertEntry
- Defined in:
- lib/FlightXML2REST.rb
Instance Attribute Summary collapse
-
#aircrafttype ⇒ Object
Returns the value of attribute aircrafttype.
-
#alert_changed ⇒ Object
Returns the value of attribute alert_changed.
-
#alert_created ⇒ Object
Returns the value of attribute alert_created.
-
#alert_id ⇒ Object
Returns the value of attribute alert_id.
-
#channels ⇒ Object
Returns the value of attribute channels.
-
#date_end ⇒ Object
Returns the value of attribute date_end.
-
#date_start ⇒ Object
Returns the value of attribute date_start.
-
#description ⇒ Object
Returns the value of attribute description.
-
#destination ⇒ Object
Returns the value of attribute destination.
-
#enabled ⇒ Object
Returns the value of attribute enabled.
-
#ident ⇒ Object
Returns the value of attribute ident.
-
#origin ⇒ Object
Returns the value of attribute origin.
-
#type ⇒ Object
Returns the value of attribute type.
-
#user_ident ⇒ Object
Returns the value of attribute user_ident.
Instance Method Summary collapse
-
#initialize(aircrafttype = nil, alert_changed = nil, alert_created = nil, alert_id = nil, channels = [], date_end = nil, date_start = nil, description = nil, destination = nil, enabled = nil, ident = nil, origin = nil, type = nil, user_ident = nil) ⇒ FlightAlertEntry
constructor
A new instance of FlightAlertEntry.
Constructor Details
#initialize(aircrafttype = nil, alert_changed = nil, alert_created = nil, alert_id = nil, channels = [], date_end = nil, date_start = nil, description = nil, destination = nil, enabled = nil, ident = nil, origin = nil, type = nil, user_ident = nil) ⇒ FlightAlertEntry
Returns a new instance of FlightAlertEntry.
1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 |
# File 'lib/FlightXML2REST.rb', line 1227 def initialize (aircrafttype = nil, alert_changed = nil, alert_created = nil, alert_id = nil, channels = [], date_end = nil, date_start = nil, description = nil, destination = nil, enabled = nil, ident = nil, origin = nil, type = nil, user_ident = nil ) @aircrafttype = aircrafttype @alert_changed = alert_changed @alert_created = alert_created @alert_id = alert_id @channels = channels @date_end = date_end @date_start = date_start @description = description @destination = destination @enabled = enabled @ident = ident @origin = origin @type = type @user_ident = user_ident end |
Instance Attribute Details
#aircrafttype ⇒ Object
Returns the value of attribute aircrafttype.
1212 1213 1214 |
# File 'lib/FlightXML2REST.rb', line 1212 def aircrafttype @aircrafttype end |
#alert_changed ⇒ Object
Returns the value of attribute alert_changed.
1212 1213 1214 |
# File 'lib/FlightXML2REST.rb', line 1212 def alert_changed @alert_changed end |
#alert_created ⇒ Object
Returns the value of attribute alert_created.
1212 1213 1214 |
# File 'lib/FlightXML2REST.rb', line 1212 def alert_created @alert_created end |
#alert_id ⇒ Object
Returns the value of attribute alert_id.
1212 1213 1214 |
# File 'lib/FlightXML2REST.rb', line 1212 def alert_id @alert_id end |
#channels ⇒ Object
Returns the value of attribute channels.
1212 1213 1214 |
# File 'lib/FlightXML2REST.rb', line 1212 def channels @channels end |
#date_end ⇒ Object
Returns the value of attribute date_end.
1212 1213 1214 |
# File 'lib/FlightXML2REST.rb', line 1212 def date_end @date_end end |
#date_start ⇒ Object
Returns the value of attribute date_start.
1212 1213 1214 |
# File 'lib/FlightXML2REST.rb', line 1212 def date_start @date_start end |
#description ⇒ Object
Returns the value of attribute description.
1212 1213 1214 |
# File 'lib/FlightXML2REST.rb', line 1212 def description @description end |
#destination ⇒ Object
Returns the value of attribute destination.
1212 1213 1214 |
# File 'lib/FlightXML2REST.rb', line 1212 def destination @destination end |
#enabled ⇒ Object
Returns the value of attribute enabled.
1212 1213 1214 |
# File 'lib/FlightXML2REST.rb', line 1212 def enabled @enabled end |
#ident ⇒ Object
Returns the value of attribute ident.
1212 1213 1214 |
# File 'lib/FlightXML2REST.rb', line 1212 def ident @ident end |
#origin ⇒ Object
Returns the value of attribute origin.
1212 1213 1214 |
# File 'lib/FlightXML2REST.rb', line 1212 def origin @origin end |
#type ⇒ Object
Returns the value of attribute type.
1212 1213 1214 |
# File 'lib/FlightXML2REST.rb', line 1212 def type @type end |
#user_ident ⇒ Object
Returns the value of attribute user_ident.
1212 1213 1214 |
# File 'lib/FlightXML2REST.rb', line 1212 def user_ident @user_ident end |