struct Facebook::Proto::AdKeywords

Included Modules

Defined in:

cli/proto/facebook/AdKeywords.pb.cr

Constant Summary

FIELDS = {1 => {name: :brands, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 2 => {name: :product_categories, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 3 => {name: :product_names, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 4 => {name: :search_terms, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)
Fields = {} of String => Field

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(buf : Protobuf::Buffer) #

def self.new(brands : Array(String) | Nil = nil, product_categories : Array(String) | Nil = nil, product_names : Array(String) | Nil = nil, search_terms : Array(String) | Nil = nil) #

def self.new(pull : JSON::PullParser) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def []=(key : String, val) #

def []?(key : String) #

def brands : Array(String) | Nil #

def brands=(brands : Array(String) | Nil) #

def brands=(brands : Array(String) | Nil) #

def product_categories : Array(String) | Nil #

def product_categories=(product_categories : Array(String) | Nil) #

def product_categories=(product_categories : Array(String) | Nil) #

def product_names : Array(String) | Nil #

def product_names=(product_names : Array(String) | Nil) #

def product_names=(product_names : Array(String) | Nil) #

def search_terms : Array(String) | Nil #

def search_terms=(search_terms : Array(String) | Nil) #

def search_terms=(search_terms : Array(String) | Nil) #

def to_hash #

def to_protobuf(io : IO, embedded = false) #

def to_protobuf #