struct
TwitterAds::Proto::Tweet
- TwitterAds::Proto::Tweet
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
twitter-ads/proto/tweet.pb.crConstant Summary
-
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)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #account_id : String | Nil
- #account_id=(account_id : String | Nil)
- #card_uri : String | Nil
- #card_uri=(card_uri : String | Nil)
- #created_at : String | Nil
- #created_at=(created_at : String | Nil)
- #favorite_count : Int64 | Nil
- #favorite_count=(favorite_count : Int64 | Nil)
- #favorited : Bool | Nil
- #favorited=(favorited : Bool | Nil)
- #full_text : String | Nil
- #full_text=(full_text : String | Nil)
- #id : Int64 | Nil
- #id=(id : Int64 | Nil)
- #id_str : String | Nil
- #id_str=(id_str : String | Nil)
- #in_reply_to_screen_name : String | Nil
- #in_reply_to_screen_name=(in_reply_to_screen_name : String | Nil)
- #in_reply_to_status_id : Int64 | Nil
- #in_reply_to_status_id=(in_reply_to_status_id : Int64 | Nil)
- #in_reply_to_status_id_str : String | Nil
- #in_reply_to_status_id_str=(in_reply_to_status_id_str : String | Nil)
- #in_reply_to_user_id : Int64 | Nil
- #in_reply_to_user_id=(in_reply_to_user_id : Int64 | Nil)
- #in_reply_to_user_id_str : String | Nil
- #in_reply_to_user_id_str=(in_reply_to_user_id_str : String | Nil)
- #lang : String | Nil
- #lang=(lang : String | Nil)
- #nullcast : Bool | Nil
- #nullcast=(nullcast : Bool | Nil)
- #place : String | Nil
- #place=(place : String | Nil)
- #retweet_count : Int64 | Nil
- #retweet_count=(retweet_count : Int64 | Nil)
- #retweeted : Bool | Nil
- #retweeted=(retweeted : Bool | Nil)
- #scheduled_at : String | Nil
- #scheduled_at=(scheduled_at : String | Nil)
- #scheduled_status : String | Nil
- #scheduled_status=(scheduled_status : String | Nil)
- #source : String | Nil
- #source=(source : String | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
- #truncated : Bool | Nil
- #truncated=(truncated : Bool | Nil)
- #tweet_id : String | Nil
- #tweet_id=(tweet_id : String | Nil)
- #tweet_type : String | Nil
- #tweet_type=(tweet_type : String | Nil)
- #user_id : Int64 | Nil
- #user_id=(user_id : Int64 | Nil)
- #user_name : String | Nil
- #user_name=(user_name : String | Nil)
- #user_screen_name : String | Nil
- #user_screen_name=(user_screen_name : String | Nil)
Constructor Detail
def self.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)
#