struct Facebook::Proto::PlaceTopic
- Facebook::Proto::PlaceTopic
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
cli/proto/facebook/PlaceTopic.pb.crConstant 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
- .new(buf : Protobuf::Buffer)
- .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)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #count : Int64 | Nil
- #count=(count : Int64 | Nil)
- #has_children : Bool | Nil
- #has_children=(has_children : Bool | Nil)
- #icon_url : String | Nil
- #icon_url=(icon_url : String | Nil)
- #id : String | Nil
- #id=(id : String | Nil)
- #name : String | Nil
- #name=(name : String | Nil)
- #parent_ids : Array(String) | Nil
- #parent_ids=(parent_ids : Array(String) | Nil)
- #parent_ids=(parent_ids : Array(String) | Nil)
- #plural_name : String | Nil
- #plural_name=(plural_name : String | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
- #top_subtopic_names : Array(String) | Nil
- #top_subtopic_names=(top_subtopic_names : Array(String) | Nil)
- #top_subtopic_names=(top_subtopic_names : Array(String) | Nil)
Constructor Detail
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)
#