struct
TwitterAds::Proto::StatusesLookup
- TwitterAds::Proto::StatusesLookup
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
twitter-ads/proto/statuses_lookup.pb.crConstant Summary
-
FIELDS =
{1 => {name: :created_at, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :id, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :id_str, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :text, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :truncated, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :source, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {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}, 8 => {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}, 9 => {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}, 10 => {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}, 11 => {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}, 12 => {name: :geo, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 13 => {name: :coordinates, 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: :contributors, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 16 => {name: :is_quote_status, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 17 => {name: :retweet_count, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 18 => {name: :favorite_count, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 19 => {name: :favorited, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 20 => {name: :retweeted, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 21 => {name: :lang, 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(created_at : String | Nil = nil, id : Int64 | Nil = nil, id_str : String | Nil = nil, text : String | Nil = nil, truncated : Bool | Nil = nil, source : String | Nil = nil, in_reply_to_status_id : Int64 | Nil = nil, in_reply_to_status_id_str : String | Nil = nil, in_reply_to_user_id : Int64 | Nil = nil, in_reply_to_user_id_str : String | Nil = nil, in_reply_to_screen_name : String | Nil = nil, geo : String | Nil = nil, coordinates : String | Nil = nil, place : String | Nil = nil, contributors : String | Nil = nil, is_quote_status : Bool | Nil = nil, retweet_count : Int64 | Nil = nil, favorite_count : Int64 | Nil = nil, favorited : Bool | Nil = nil, retweeted : Bool | Nil = nil, lang : String | Nil = nil)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #contributors : String | Nil
- #contributors=(contributors : String | Nil)
- #coordinates : String | Nil
- #coordinates=(coordinates : 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)
- #geo : String | Nil
- #geo=(geo : 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)
- #is_quote_status : Bool | Nil
- #is_quote_status=(is_quote_status : Bool | Nil)
- #lang : String | Nil
- #lang=(lang : String | 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)
- #source : String | Nil
- #source=(source : String | Nil)
- #text : String | Nil
- #text=(text : String | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
- #truncated : Bool | Nil
- #truncated=(truncated : Bool | Nil)
Constructor Detail
def self.new(created_at : String | Nil = nil, id : Int64 | Nil = nil, id_str : String | Nil = nil, text : String | Nil = nil, truncated : Bool | Nil = nil, source : String | Nil = nil, in_reply_to_status_id : Int64 | Nil = nil, in_reply_to_status_id_str : String | Nil = nil, in_reply_to_user_id : Int64 | Nil = nil, in_reply_to_user_id_str : String | Nil = nil, in_reply_to_screen_name : String | Nil = nil, geo : String | Nil = nil, coordinates : String | Nil = nil, place : String | Nil = nil, contributors : String | Nil = nil, is_quote_status : Bool | Nil = nil, retweet_count : Int64 | Nil = nil, favorite_count : Int64 | Nil = nil, favorited : Bool | Nil = nil, retweeted : Bool | Nil = nil, lang : String | Nil = nil)
#