struct Facebook::Proto::PlaceTopic

Included Modules

Defined in:

cli/proto/facebook/PlaceTopic.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: :count, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :has_children, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :icon_url, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :parent_ids, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 7 => {name: :plural_name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :top_subtopic_names, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, 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, count : Int64 | Nil = nil, has_children : Bool | Nil = nil, icon_url : String | Nil = nil, name : String | Nil = nil, parent_ids : Array(String) | Nil = nil, plural_name : String | Nil = nil, top_subtopic_names : Array(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 count : Int64 | Nil #

def count=(count : Int64 | Nil) #

def has_children : Bool | Nil #

def has_children=(has_children : Bool | Nil) #

def icon_url : String | Nil #

def icon_url=(icon_url : String | Nil) #

def id : String | Nil #

def id=(id : String | Nil) #

def name : String | Nil #

def name=(name : String | Nil) #

def parent_ids : Array(String) | Nil #

def parent_ids=(parent_ids : Array(String) | Nil) #

def parent_ids=(parent_ids : Array(String) | Nil) #

def plural_name : String | Nil #

def plural_name=(plural_name : String | Nil) #

def to_hash #

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

def to_protobuf #

def top_subtopic_names : Array(String) | Nil #

def top_subtopic_names=(top_subtopic_names : Array(String) | Nil) #

def top_subtopic_names=(top_subtopic_names : Array(String) | Nil) #