struct Facebook::Proto::Engagement
- Facebook::Proto::Engagement
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
cli/proto/facebook/Engagement.pb.crConstant Summary
-
FIELDS =
{1 => {name: :count, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :count_string, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :count_string_with_like, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :count_string_without_like, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :social_sentence, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :social_sentence_with_like, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :social_sentence_without_like, 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(count : Int64 | Nil = nil, count_string : String | Nil = nil, count_string_with_like : String | Nil = nil, count_string_without_like : String | Nil = nil, social_sentence : String | Nil = nil, social_sentence_with_like : String | Nil = nil, social_sentence_without_like : 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)
- #count_string : String | Nil
- #count_string=(count_string : String | Nil)
- #count_string_with_like : String | Nil
- #count_string_with_like=(count_string_with_like : String | Nil)
- #count_string_without_like : String | Nil
- #count_string_without_like=(count_string_without_like : String | Nil)
- #social_sentence : String | Nil
- #social_sentence=(social_sentence : String | Nil)
- #social_sentence_with_like : String | Nil
- #social_sentence_with_like=(social_sentence_with_like : String | Nil)
- #social_sentence_without_like : String | Nil
- #social_sentence_without_like=(social_sentence_without_like : String | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
Constructor Detail
def self.new(count : Int64 | Nil = nil, count_string : String | Nil = nil, count_string_with_like : String | Nil = nil, count_string_without_like : String | Nil = nil, social_sentence : String | Nil = nil, social_sentence_with_like : String | Nil = nil, social_sentence_without_like : String | Nil = nil)
#
Class Method Detail
Instance Method Detail
def social_sentence : String | Nil
#