TwitterAds::Proto::TargetingCriteriaDeviceArray
Inherits JSON::Serializable < Protobuf::Message < Struct < Value < Object
Constants
FIELDS = {1 => {name: :array, pb_type: TargetingCriteriaDevice, crystal_type: TargetingCriteriaDevice, cast_type: Array(TargetingCriteriaDevice)?, native: false, optional: true, repeated: true, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)
Fields = {} of String => Field
Constructors
new(buf : Protobuf::Buffer)
new(array : Array(TargetingCriteriaDevice) | 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)
array
array=(array : Array(TargetingCriteriaDevice) | Nil)
array=(array : Array(TargetingCriteriaDevice) | Nil)
to_hash
to_protobuf(io : IO, embedded = false)
to_protobuf