struct Facebook::Proto::BroadTargetingCategories
- Facebook::Proto::BroadTargetingCategories
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
cli/proto/facebook/BroadTargetingCategories.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: :category_description, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :parent_category, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :path, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 6 => {name: :size, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :source, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :type, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :type_name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :untranslated_name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 11 => {name: :untranslated_parent_name, 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
- .new(buf : Protobuf::Buffer)
- .new(id : String | Nil = nil, category_description : String | Nil = nil, name : String | Nil = nil, parent_category : String | Nil = nil, path : Array(String) | Nil = nil, size : Int64 | Nil = nil, source : String | Nil = nil, type : Int64 | Nil = nil, type_name : String | Nil = nil, untranslated_name : String | Nil = nil, untranslated_parent_name : String | Nil = nil)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #category_description : String | Nil
- #category_description=(category_description : String | Nil)
- #id : String | Nil
- #id=(id : String | Nil)
- #name : String | Nil
- #name=(name : String | Nil)
- #parent_category : String | Nil
- #parent_category=(parent_category : String | Nil)
- #path : Array(String) | Nil
- #path=(path : Array(String) | Nil)
- #path=(path : Array(String) | Nil)
- #size : Int64 | Nil
- #size=(size : Int64 | Nil)
- #source : String | Nil
- #source=(source : String | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
- #type : Int64 | Nil
- #type=(type : Int64 | Nil)
- #type_name : String | Nil
- #type_name=(type_name : String | Nil)
- #untranslated_name : String | Nil
- #untranslated_name=(untranslated_name : String | Nil)
- #untranslated_parent_name : String | Nil
- #untranslated_parent_name=(untranslated_parent_name : String | Nil)
Constructor Detail
def self.new(id : String | Nil = nil, category_description : String | Nil = nil, name : String | Nil = nil, parent_category : String | Nil = nil, path : Array(String) | Nil = nil, size : Int64 | Nil = nil, source : String | Nil = nil, type : Int64 | Nil = nil, type_name : String | Nil = nil, untranslated_name : String | Nil = nil, untranslated_parent_name : String | Nil = nil)
#