nodejs/gtfs-realtime.js
function TripUpdate(properties) {
            this.stopTimeUpdate = [];
            if (properties)
                for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
                    if (properties[keys[i]] != null)
                        this[keys[i]] = properties[keys[i]];
        }
function TripUpdate(properties) {
            this.stopTimeUpdate = [];
            if (properties)
                for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
                    if (properties[keys[i]] != null)
                        this[keys[i]] = properties[keys[i]];
        }
function TripUpdate ( properties ) { this . stopTimeUpdate = [ ] ; if ( properties ) for ( var keys = Object . keys ( properties ) , i = 0 ; i < keys . length ; ++ i ) if ( properties [ keys [ i ] ] != null ) this [ keys [ i ] ] = properties [ keys [ i ] ] ; }
Properties of a TripUpdate.
@memberof transit_realtime
@interface ITripUpdate
@property {transit_realtime.ITripDescriptor} trip TripUpdate trip
@property {transit_realtime.IVehicleDescriptor|null} [vehicle] TripUpdate vehicle
@property {Array.<transit_realtime.TripUpdate.IStopTimeUpdate>|null} [stopTimeUpdate] TripUpdate stopTimeUpdate
@property {number|Long|null} [timestamp] TripUpdate timestamp
@property {number|null} [delay] TripUpdate delay
 
Constructs a new TripUpdate.
@memberof transit_realtime
@classdesc Represents a TripUpdate.
@implements ITripUpdate
@constructor
@param {transit_realtime.ITripUpdate=} [properties] Properties to set
Properties of a TripUpdate .