struct
TwitterAds::Proto::TweetsLookupError
- TwitterAds::Proto::TweetsLookupError
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
twitter-ads/proto/tweets_lookup_error.pb.crConstant Summary
-
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)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #detail : String | Nil
- #detail=(detail : String | Nil)
- #parameter : String | Nil
- #parameter=(parameter : String | Nil)
- #resource_id : String | Nil
- #resource_id=(resource_id : String | Nil)
- #resource_type : String | Nil
- #resource_type=(resource_type : String | Nil)
- #section : String | Nil
- #section=(section : String | Nil)
- #title : String | Nil
- #title=(title : String | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
- #type : String | Nil
- #type=(type : String | Nil)
- #value : String | Nil
- #value=(value : String | Nil)
Constructor Detail
def self.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)
#