struct TwitterAds::Proto::StatusesLookup

Included Modules

Defined in:

twitter-ads/proto/statuses_lookup.pb.cr

Constant 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

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(buf : Protobuf::Buffer) #

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) #

def self.new(pull : JSON::PullParser) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def []=(key : String, val) #

def []?(key : String) #

def contributors : String | Nil #

def contributors=(contributors : String | Nil) #

def coordinates : String | Nil #

def coordinates=(coordinates : String | Nil) #

def created_at : String | Nil #

def created_at=(created_at : String | Nil) #

def favorite_count : Int64 | Nil #

def favorite_count=(favorite_count : Int64 | Nil) #

def favorited : Bool | Nil #

def favorited=(favorited : Bool | Nil) #

def geo : String | Nil #

def geo=(geo : String | Nil) #

def id : Int64 | Nil #

def id=(id : Int64 | Nil) #

def id_str : String | Nil #

def id_str=(id_str : String | Nil) #

def in_reply_to_screen_name : String | Nil #

def in_reply_to_screen_name=(in_reply_to_screen_name : String | Nil) #

def in_reply_to_status_id : Int64 | Nil #

def in_reply_to_status_id=(in_reply_to_status_id : Int64 | Nil) #

def in_reply_to_status_id_str : String | Nil #

def in_reply_to_status_id_str=(in_reply_to_status_id_str : String | Nil) #

def in_reply_to_user_id : Int64 | Nil #

def in_reply_to_user_id=(in_reply_to_user_id : Int64 | Nil) #

def in_reply_to_user_id_str : String | Nil #

def in_reply_to_user_id_str=(in_reply_to_user_id_str : String | Nil) #

def is_quote_status : Bool | Nil #

def is_quote_status=(is_quote_status : Bool | Nil) #

def lang : String | Nil #

def lang=(lang : String | Nil) #

def place : String | Nil #

def place=(place : String | Nil) #

def retweet_count : Int64 | Nil #

def retweet_count=(retweet_count : Int64 | Nil) #

def retweeted : Bool | Nil #

def retweeted=(retweeted : Bool | Nil) #

def source : String | Nil #

def source=(source : String | Nil) #

def text : String | Nil #

def text=(text : String | Nil) #

def to_hash #

def to_protobuf(io : IO, embedded = false) #

def to_protobuf #

def truncated : Bool | Nil #

def truncated=(truncated : Bool | Nil) #