TwitterAds::Proto::Tweet
Inherits JSON::Serializable < Protobuf::Message < Struct < Value < Object
Constants
FIELDS = {1 => {name: :retweeted, pb_type: :bool,
crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :source, pb_type: :string,
crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :favorite_count, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :in_reply_to_status_id_str, pb_type: :string,
crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :id_str, pb_type: :string,
crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :in_reply_to_user_id, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :truncated, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :retweet_count, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :scheduled_status, pb_type: :string,
crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :id, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 11 => {name: :in_reply_to_status_id, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 12 => {name: :nullcast, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 13 => {name: :created_at, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 14 => {name: :place, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 15 => {name: :scheduled_at, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 16 => {name: :tweet_type, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 17 => {name: :favorited, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 18 => {name: :card_uri, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 19 => {name: :full_text, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 20 => {name: :lang, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 21 => {name: :in_reply_to_screen_name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 22 => {name: :in_reply_to_user_id_str, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 23 => {name: :tweet_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 25 => {name: :user_id, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 26 => {name: :account_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 27 => {name: :user_name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 28 => {name: :user_screen_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(retweeted : Bool | Nil = nil, source : String | Nil = nil, favorite_count : Int64 | Nil = nil, in_reply_to_status_id_str : String | Nil = nil, id_str : String | Nil = nil, in_reply_to_user_id : Int64 | Nil = nil, truncated : Bool | Nil = nil, retweet_count : Int64 | Nil = nil, scheduled_status : String | Nil = nil, id : Int64 | Nil = nil, in_reply_to_status_id : Int64 | Nil = nil, nullcast : Bool | Nil = nil, created_at : String | Nil = nil, place : String | Nil = nil, scheduled_at : String | Nil = nil, tweet_type : String | Nil = nil, favorited : Bool | Nil = nil, card_uri : String | Nil = nil, full_text : String | Nil = nil, lang : String | Nil = nil, in_reply_to_screen_name : String | Nil = nil, in_reply_to_user_id_str : String | Nil = nil, tweet_id : String | Nil = nil, user_id : Int64 | Nil = nil, account_id : String | Nil = nil, user_name : String | Nil = nil, user_screen_name : String | Nil = nil)
new(pull : JSON::PullParser)
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Class methods
from_protobuf(io)
Instance methods
[](key : String)
[]=(key : String, val)
[]?(key : String)
account_id
account_id=(account_id : String | Nil)
card_uri
card_uri=(card_uri : String | Nil)
created_at
created_at=(created_at : String | Nil)
favorite_count
favorite_count=(favorite_count : Int64 | Nil)
favorited
favorited=(favorited : Bool | Nil)
full_text
full_text=(full_text : String | Nil)
id
id=(id : Int64 | Nil)
id_str
id_str=(id_str : String | Nil)
in_reply_to_screen_name
in_reply_to_screen_name=(in_reply_to_screen_name : String | Nil)
in_reply_to_status_id
in_reply_to_status_id=(in_reply_to_status_id : Int64 | Nil)
in_reply_to_status_id_str
in_reply_to_status_id_str=(in_reply_to_status_id_str : String | Nil)
in_reply_to_user_id
in_reply_to_user_id=(in_reply_to_user_id : Int64 | Nil)
in_reply_to_user_id_str
in_reply_to_user_id_str=(in_reply_to_user_id_str : String | Nil)
lang
lang=(lang : String | Nil)
nullcast
nullcast=(nullcast : Bool | Nil)
place
place=(place : String | Nil)
retweet_count
retweet_count=(retweet_count : Int64 | Nil)
retweeted
retweeted=(retweeted : Bool | Nil)
scheduled_at
scheduled_at=(scheduled_at : String | Nil)
scheduled_status
scheduled_status=(scheduled_status : String | Nil)
source
source=(source : String | Nil)
to_hash
to_protobuf(io : IO, embedded = false)
to_protobuf
truncated
truncated=(truncated : Bool | Nil)
tweet_id
tweet_id=(tweet_id : String | Nil)
tweet_type
tweet_type=(tweet_type : String | Nil)
user_id
user_id=(user_id : Int64 | Nil)
user_name
user_name=(user_name : String | Nil)
user_screen_name
user_screen_name=(user_screen_name : String | Nil)