struct Facebook::Proto::AdAssetFeedSpec

Included Modules

Defined in:

cli/proto/facebook/AdAssetFeedSpec.pb.cr

Constant Summary

FIELDS = {1 => {name: :ad_formats, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 2 => {name: :call_to_action_types, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 3 => {name: :optimization_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

Class Method Summary

Instance Method Summary

Constructor Detail

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

def self.new(ad_formats : Array(String) | Nil = nil, call_to_action_types : Array(String) | Nil = nil, optimization_type : 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 ad_formats : Array(String) | Nil #

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

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

def call_to_action_types : Array(String) | Nil #

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

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

def optimization_type : String | Nil #

def optimization_type=(optimization_type : String | Nil) #

def to_hash #

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

def to_protobuf #