struct Facebook::Proto::TargetingDynamicRule

Included Modules

Defined in:

cli/proto/facebook/TargetingDynamicRule.pb.cr

Constant Summary

FIELDS = {1 => {name: :_action_type, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :ad_group_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :campaign_group_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :campaign_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :impression_count, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :page_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :post, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :retention_seconds, 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(_action_type : String | Nil = nil, ad_group_id : String | Nil = nil, campaign_group_id : String | Nil = nil, campaign_id : String | Nil = nil, impression_count : String | Nil = nil, page_id : String | Nil = nil, post : String | Nil = nil, retention_seconds : 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 _action_type : String | Nil #

def _action_type=(_action_type : String | Nil) #

def ad_group_id : String | Nil #

def ad_group_id=(ad_group_id : String | Nil) #

def campaign_group_id : String | Nil #

def campaign_group_id=(campaign_group_id : String | Nil) #

def campaign_id : String | Nil #

def campaign_id=(campaign_id : String | Nil) #

def impression_count : String | Nil #

def impression_count=(impression_count : String | Nil) #

def page_id : String | Nil #

def page_id=(page_id : String | Nil) #

def post : String | Nil #

def post=(post : String | Nil) #

def retention_seconds : String | Nil #

def retention_seconds=(retention_seconds : String | Nil) #

def to_hash #

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

def to_protobuf #