struct Facebook::Proto::PageRestaurantSpecialties

Included Modules

Defined in:

cli/proto/facebook/PageRestaurantSpecialties.pb.cr

Constant Summary

FIELDS = {1 => {name: :breakfast, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :coffee, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :dinner, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :drinks, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :lunch, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, 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(breakfast : Int64 | Nil = nil, coffee : Int64 | Nil = nil, dinner : Int64 | Nil = nil, drinks : Int64 | Nil = nil, lunch : Int64 | 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 breakfast : Int64 | Nil #

def breakfast=(breakfast : Int64 | Nil) #

def coffee : Int64 | Nil #

def coffee=(coffee : Int64 | Nil) #

def dinner : Int64 | Nil #

def dinner=(dinner : Int64 | Nil) #

def drinks : Int64 | Nil #

def drinks=(drinks : Int64 | Nil) #

def lunch : Int64 | Nil #

def lunch=(lunch : Int64 | Nil) #

def to_hash #

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

def to_protobuf #