struct TwitterAds::Proto::TweetsLookup

Included Modules

Defined in:

twitter-ads/proto/tweets_lookup.pb.cr

Constant Summary

FIELDS = {1 => {name: :possibly_sensitive, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :author_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :text, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :reply_settings, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :conversation_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :created_at, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :lang, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :source, 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(possibly_sensitive : Bool | Nil = nil, author_id : String | Nil = nil, text : String | Nil = nil, reply_settings : String | Nil = nil, conversation_id : String | Nil = nil, created_at : String | Nil = nil, id : String | Nil = nil, lang : String | Nil = nil, source : 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 author_id : String | Nil #

def author_id=(author_id : String | Nil) #

def conversation_id : String | Nil #

def conversation_id=(conversation_id : String | Nil) #

def created_at : String | Nil #

def created_at=(created_at : String | Nil) #

def id : String | Nil #

def id=(id : String | Nil) #

def lang : String | Nil #

def lang=(lang : String | Nil) #

def possibly_sensitive : Bool | Nil #

def possibly_sensitive=(possibly_sensitive : Bool | Nil) #

def reply_settings : String | Nil #

def reply_settings=(reply_settings : String | 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 #