nodejs/gtfs-realtime.js
function VehiclePosition(properties) {
            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 VehiclePosition(properties) {
            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 VehiclePosition ( properties ) { 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 VehiclePosition.
@memberof transit_realtime
@interface IVehiclePosition
@property {transit_realtime.ITripDescriptor|null} [trip] VehiclePosition trip
@property {transit_realtime.IVehicleDescriptor|null} [vehicle] VehiclePosition vehicle
@property {transit_realtime.IPosition|null} [position] VehiclePosition position
@property {number|null} [currentStopSequence] VehiclePosition currentStopSequence
@property {string|null} [stopId] VehiclePosition stopId
@property {transit_realtime.VehiclePosition.VehicleStopStatus|null} [currentStatus] VehiclePosition currentStatus
@property {number|Long|null} [timestamp] VehiclePosition timestamp
@property {transit_realtime.VehiclePosition.CongestionLevel|null} [congestionLevel] VehiclePosition congestionLevel
@property {transit_realtime.VehiclePosition.OccupancyStatus|null} [occupancyStatus] VehiclePosition occupancyStatus
 
Constructs a new VehiclePosition.
@memberof transit_realtime
@classdesc Represents a VehiclePosition.
@implements IVehiclePosition
@constructor
@param {transit_realtime.IVehiclePosition=} [properties] Properties to set
Properties of a VehiclePosition .