struct Facebook::Proto::Comment
- Facebook::Proto::Comment
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
cli/proto/facebook/Comment.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: :can_comment, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :can_hide, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :can_like, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :can_remove, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :can_reply_privately, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :comment_count, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :created_time, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :is_hidden, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :is_private, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 11 => {name: :like_count, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 12 => {name: :live_broadcast_timestamp, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 13 => {name: :message, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 14 => {name: :permalink_url, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 15 => {name: :user_likes, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, 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, can_comment : Bool | Nil = nil, can_hide : Bool | Nil = nil, can_like : Bool | Nil = nil, can_remove : Bool | Nil = nil, can_reply_privately : Bool | Nil = nil, comment_count : Int64 | Nil = nil, created_time : Datetime | Nil = nil, is_hidden : Bool | Nil = nil, is_private : Bool | Nil = nil, like_count : Int64 | Nil = nil, live_broadcast_timestamp : Int64 | Nil = nil, message : String | Nil = nil, permalink_url : String | Nil = nil, user_likes : Bool | Nil = nil)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #can_comment : Bool | Nil
- #can_comment=(can_comment : Bool | Nil)
- #can_hide : Bool | Nil
- #can_hide=(can_hide : Bool | Nil)
- #can_like : Bool | Nil
- #can_like=(can_like : Bool | Nil)
- #can_remove : Bool | Nil
- #can_remove=(can_remove : Bool | Nil)
- #can_reply_privately : Bool | Nil
- #can_reply_privately=(can_reply_privately : Bool | Nil)
- #comment_count : Int64 | Nil
- #comment_count=(comment_count : Int64 | Nil)
- #created_time : Datetime | Nil
- #created_time=(created_time : Datetime | Nil)
- #id : String | Nil
- #id=(id : String | Nil)
- #is_hidden : Bool | Nil
- #is_hidden=(is_hidden : Bool | Nil)
- #is_private : Bool | Nil
- #is_private=(is_private : Bool | Nil)
- #like_count : Int64 | Nil
- #like_count=(like_count : Int64 | Nil)
- #live_broadcast_timestamp : Int64 | Nil
- #live_broadcast_timestamp=(live_broadcast_timestamp : Int64 | Nil)
- #message : String | Nil
- #message=(message : String | Nil)
- #permalink_url : String | Nil
- #permalink_url=(permalink_url : String | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
- #user_likes : Bool | Nil
- #user_likes=(user_likes : Bool | Nil)