struct

TwitterAds::Proto::TargetingCriteriaConversation

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

Constants

FIELDS = {1 => {name: :name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :targeting_type, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :targeting_value, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :conversation_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(name : String | Nil = nil, targeting_type : String | Nil = nil, targeting_value : String | Nil = nil, conversation_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)
conversation_type
conversation_type=(conversation_type : String | Nil)
name
name=(name : String | Nil)
targeting_type
targeting_type=(targeting_type : String | Nil)
targeting_value
targeting_value=(targeting_value : String | Nil)
to_hash
to_protobuf(io : IO, embedded = false)
to_protobuf