struct Facebook::Proto::AdAccountTargetingUnified

Included Modules

Defined in:

cli/proto/facebook/AdAccountTargetingUnified.pb.cr

Constant Summary

FIELDS = {1 => {name: :id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :audience_size, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :conversion_lift, pb_type: :double, crystal_type: Float64, cast_type: Float64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :description, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :img, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :info, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :info_title, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :is_recommendation, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :key, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :link, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 11 => {name: :name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 12 => {name: :parent, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 13 => {name: :partner, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 14 => {name: :path, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 15 => {name: :performance_rating, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 16 => {name: :raw_name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 17 => {name: :recommendation_model, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 18 => {name: :search_interest_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 19 => {name: :source, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 20 => {name: :spend, pb_type: :double, crystal_type: Float64, cast_type: Float64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 21 => {name: :type, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 22 => {name: :valid, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, 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(id : String | Nil = nil, audience_size : Int64 | Nil = nil, conversion_lift : Float64 | Nil = nil, description : String | Nil = nil, img : String | Nil = nil, info : String | Nil = nil, info_title : String | Nil = nil, is_recommendation : Bool | Nil = nil, key : String | Nil = nil, link : String | Nil = nil, name : String | Nil = nil, parent : String | Nil = nil, partner : String | Nil = nil, path : Array(String) | Nil = nil, performance_rating : Int64 | Nil = nil, raw_name : String | Nil = nil, recommendation_model : String | Nil = nil, search_interest_id : String | Nil = nil, source : String | Nil = nil, spend : Float64 | Nil = nil, type : String | Nil = nil, valid : Bool | 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 audience_size : Int64 | Nil #

def audience_size=(audience_size : Int64 | Nil) #

def conversion_lift : Float64 | Nil #

def conversion_lift=(conversion_lift : Float64 | Nil) #

def description : String | Nil #

def description=(description : String | Nil) #

def id : String | Nil #

def id=(id : String | Nil) #

def img : String | Nil #

def img=(img : String | Nil) #

def info : String | Nil #

def info=(info : String | Nil) #

def info_title : String | Nil #

def info_title=(info_title : String | Nil) #

def is_recommendation : Bool | Nil #

def is_recommendation=(is_recommendation : Bool | Nil) #

def key : String | Nil #

def key=(key : String | Nil) #

def link : String | Nil #

def link=(link : String | Nil) #

def name : String | Nil #

def name=(name : String | Nil) #

def parent : String | Nil #

def parent=(parent : String | Nil) #

def partner : String | Nil #

def partner=(partner : String | Nil) #

def path : Array(String) | Nil #

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

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

def performance_rating : Int64 | Nil #

def performance_rating=(performance_rating : Int64 | Nil) #

def raw_name : String | Nil #

def raw_name=(raw_name : String | Nil) #

def recommendation_model : String | Nil #

def recommendation_model=(recommendation_model : String | Nil) #

def search_interest_id : String | Nil #

def search_interest_id=(search_interest_id : String | Nil) #

def source : String | Nil #

def source=(source : String | Nil) #

def spend : Float64 | Nil #

def spend=(spend : Float64 | Nil) #

def to_hash #

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

def to_protobuf #

def type : String | Nil #

def type=(type : String | Nil) #

def valid : Bool | Nil #

def valid=(valid : Bool | Nil) #