struct

TwitterAds::Proto::TweetsLookup

Inherits JSON::Serializable < Protobuf::Message < Struct < Value < Object

Constants

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

new(buf : Protobuf::Buffer)
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)
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)
author_id
author_id=(author_id : String | Nil)
conversation_id
conversation_id=(conversation_id : String | Nil)
created_at
created_at=(created_at : String | Nil)
id
id=(id : String | Nil)
lang
lang=(lang : String | Nil)
possibly_sensitive
possibly_sensitive=(possibly_sensitive : Bool | Nil)
reply_settings
reply_settings=(reply_settings : String | Nil)
source
source=(source : String | Nil)
text
text=(text : String | Nil)
to_hash
to_protobuf(io : IO, embedded = false)
to_protobuf