struct
TwitterAds::Proto::TweetsLookup
- TwitterAds::Proto::TweetsLookup
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
twitter-ads/proto/tweets_lookup.pb.crConstant 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
- .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)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #author_id : String | Nil
- #author_id=(author_id : String | Nil)
- #conversation_id : String | Nil
- #conversation_id=(conversation_id : String | Nil)
- #created_at : String | Nil
- #created_at=(created_at : String | Nil)
- #id : String | Nil
- #id=(id : String | Nil)
- #lang : String | Nil
- #lang=(lang : String | Nil)
- #possibly_sensitive : Bool | Nil
- #possibly_sensitive=(possibly_sensitive : Bool | Nil)
- #reply_settings : String | Nil
- #reply_settings=(reply_settings : String | 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
Constructor Detail
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)
#