TwitterAds::Proto::TweetsLookupError
Inherits JSON::Serializable < Protobuf::Message < Struct < Value < Object
Constants
FIELDS = {1 => {name: :resource_id, pb_type: :string,
crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :parameter, pb_type: :string,
crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :resource_type, pb_type: :string,
crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :section, pb_type: :string,
crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :title, pb_type: :string,
crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :value, pb_type: :string,
crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :detail, pb_type: :string,
crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :type, 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(resource_id : String | Nil = nil, parameter : String | Nil = nil, resource_type : String | Nil = nil, section : String | Nil = nil, title : String | Nil = nil, value : String | Nil = nil, detail : String | Nil = nil, type : 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)
detail
detail=(detail : String | Nil)
parameter
parameter=(parameter : String | Nil)
resource_id
resource_id=(resource_id : String | Nil)
resource_type
resource_type=(resource_type : String | Nil)
section
section=(section : String | Nil)
title
title=(title : String | Nil)
to_hash
to_protobuf(io : IO, embedded = false)
to_protobuf
type
type=(type : String | Nil)
value
value=(value : String | Nil)