struct Facebook::Proto::EventTour

Included Modules

Defined in:

cli/proto/facebook/EventTour.pb.cr

Constant Summary

FIELDS = {1 => {name: :id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :description, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :dominant_color, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :end_time, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :is_past, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :last_event_timestamp, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :num_events, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :publishing_state, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :scheduled_publish_timestamp, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 11 => {name: :start_time, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 12 => {name: :ticketing_uri, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)
Fields = {} of String => Field

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(buf : Protobuf::Buffer) #

def self.new(id : String | Nil = nil, description : String | Nil = nil, dominant_color : String | Nil = nil, end_time : String | Nil = nil, is_past : Bool | Nil = nil, last_event_timestamp : Int64 | Nil = nil, name : String | Nil = nil, num_events : Int64 | Nil = nil, publishing_state : String | Nil = nil, scheduled_publish_timestamp : Int64 | Nil = nil, start_time : String | Nil = nil, ticketing_uri : String | Nil = nil) #

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

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def []=(key : String, val) #

def []?(key : String) #

def description : String | Nil #

def description=(description : String | Nil) #

def dominant_color : String | Nil #

def dominant_color=(dominant_color : String | Nil) #

def end_time : String | Nil #

def end_time=(end_time : String | Nil) #

def id : String | Nil #

def id=(id : String | Nil) #

def is_past : Bool | Nil #

def is_past=(is_past : Bool | Nil) #

def last_event_timestamp : Int64 | Nil #

def last_event_timestamp=(last_event_timestamp : Int64 | Nil) #

def name : String | Nil #

def name=(name : String | Nil) #

def num_events : Int64 | Nil #

def num_events=(num_events : Int64 | Nil) #

def publishing_state : String | Nil #

def publishing_state=(publishing_state : String | Nil) #

def scheduled_publish_timestamp : Int64 | Nil #

def scheduled_publish_timestamp=(scheduled_publish_timestamp : Int64 | Nil) #

def start_time : String | Nil #

def start_time=(start_time : String | Nil) #

def ticketing_uri : String | Nil #

def ticketing_uri=(ticketing_uri : String | Nil) #

def to_hash #

def to_protobuf(io : IO, embedded = false) #

def to_protobuf #