struct CitiBike::SystemAlerts::Alert::Timespan

Overview

Represents the lifespan of an alert.

Defined in:

citibike/system_alerts.cr

Constructors

Instance Method Summary

Constructor Detail

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

Instance Method Detail

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

def end=(_end : ::Union(Time, Nil)) #

def start : Time #

def start=(_start : Time) #

def to_json(json : JSON::Builder) #