struct CitiBike::SystemAlerts::Alert

Overview

Represents an alert posted about the Citi Bike system.

Defined in:

citibike/system_alerts.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(__temp_124 : JSON::PullParser) #

Instance Method Detail

def alert_id : String #

def alert_id=(_alert_id : String) #

def description : ::Union(String, Nil) #

def description=(_description : ::Union(String, Nil)) #

def last_updated : ::Union(Time, Nil) #

def last_updated=(_last_updated : ::Union(Time, Nil)) #

def region_ids : ::Union(Array(String), Nil) #

def region_ids=(_region_ids : ::Union(Array(String), Nil)) #

def station_ids : ::Union(Array(String), Nil) #

def station_ids=(_station_ids : ::Union(Array(String), Nil)) #

def summary : String #

def summary=(_summary : String) #

def times : Array(Timespan) #

def times=(_times : Array(Timespan)) #

def to_json(json : JSON::Builder) #

def type : String #

def type=(_type : String) #

def url : ::Union(String, Nil) #

def url=(_url : ::Union(String, Nil)) #