Class: FlightAlertEntry

Inherits:
Object
  • Object
show all
Defined in:
lib/FlightXML2REST.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#aircrafttypeObject

Returns the value of attribute aircrafttype.



1212
1213
1214
# File 'lib/FlightXML2REST.rb', line 1212

def aircrafttype
  @aircrafttype
end

#alert_changedObject

Returns the value of attribute alert_changed.



1212
1213
1214
# File 'lib/FlightXML2REST.rb', line 1212

def alert_changed
  @alert_changed
end

#alert_createdObject

Returns the value of attribute alert_created.



1212
1213
1214
# File 'lib/FlightXML2REST.rb', line 1212

def alert_created
  @alert_created
end

#alert_idObject

Returns the value of attribute alert_id.



1212
1213
1214
# File 'lib/FlightXML2REST.rb', line 1212

def alert_id
  @alert_id
end

#channelsObject

Returns the value of attribute channels.



1212
1213
1214
# File 'lib/FlightXML2REST.rb', line 1212

def channels
  @channels
end

#date_endObject

Returns the value of attribute date_end.



1212
1213
1214
# File 'lib/FlightXML2REST.rb', line 1212

def date_end
  @date_end
end

#date_startObject

Returns the value of attribute date_start.



1212
1213
1214
# File 'lib/FlightXML2REST.rb', line 1212

def date_start
  @date_start
end

#descriptionObject

Returns the value of attribute description.



1212
1213
1214
# File 'lib/FlightXML2REST.rb', line 1212

def description
  @description
end

#destinationObject

Returns the value of attribute destination.



1212
1213
1214
# File 'lib/FlightXML2REST.rb', line 1212

def destination
  @destination
end

#enabledObject

Returns the value of attribute enabled.



1212
1213
1214
# File 'lib/FlightXML2REST.rb', line 1212

def enabled
  @enabled
end

#identObject

Returns the value of attribute ident.



1212
1213
1214
# File 'lib/FlightXML2REST.rb', line 1212

def ident
  @ident
end

#originObject

Returns the value of attribute origin.



1212
1213
1214
# File 'lib/FlightXML2REST.rb', line 1212

def origin
  @origin
end

#typeObject

Returns the value of attribute type.



1212
1213
1214
# File 'lib/FlightXML2REST.rb', line 1212

def type
  @type
end

#user_identObject

Returns the value of attribute user_ident.



1212
1213
1214
# File 'lib/FlightXML2REST.rb', line 1212

def user_ident
  @user_ident
end