struct Facebook::Proto::AdAccountTargetingUnified
- Facebook::Proto::AdAccountTargetingUnified
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
cli/proto/facebook/AdAccountTargetingUnified.pb.crConstant 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
- .new(buf : Protobuf::Buffer)
- .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)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #audience_size : Int64 | Nil
- #audience_size=(audience_size : Int64 | Nil)
- #conversion_lift : Float64 | Nil
- #conversion_lift=(conversion_lift : Float64 | Nil)
- #description : String | Nil
- #description=(description : String | Nil)
- #id : String | Nil
- #id=(id : String | Nil)
- #img : String | Nil
- #img=(img : String | Nil)
- #info : String | Nil
- #info=(info : String | Nil)
- #info_title : String | Nil
- #info_title=(info_title : String | Nil)
- #is_recommendation : Bool | Nil
- #is_recommendation=(is_recommendation : Bool | Nil)
- #key : String | Nil
- #key=(key : String | Nil)
- #link : String | Nil
- #link=(link : String | Nil)
- #name : String | Nil
- #name=(name : String | Nil)
- #parent : String | Nil
- #parent=(parent : String | Nil)
- #partner : String | Nil
- #partner=(partner : String | Nil)
- #path : Array(String) | Nil
- #path=(path : Array(String) | Nil)
- #path=(path : Array(String) | Nil)
- #performance_rating : Int64 | Nil
- #performance_rating=(performance_rating : Int64 | Nil)
- #raw_name : String | Nil
- #raw_name=(raw_name : String | Nil)
- #recommendation_model : String | Nil
- #recommendation_model=(recommendation_model : String | Nil)
- #search_interest_id : String | Nil
- #search_interest_id=(search_interest_id : String | Nil)
- #source : String | Nil
- #source=(source : String | Nil)
- #spend : Float64 | Nil
- #spend=(spend : Float64 | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
- #type : String | Nil
- #type=(type : String | Nil)
- #valid : Bool | Nil
- #valid=(valid : Bool | Nil)
Constructor Detail
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)
#