struct Facebook::Proto::TargetingDynamicRule
- Facebook::Proto::TargetingDynamicRule
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
cli/proto/facebook/TargetingDynamicRule.pb.crConstant 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
- .new(buf : Protobuf::Buffer)
- .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)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #_action_type : String | Nil
- #_action_type=(_action_type : String | Nil)
- #ad_group_id : String | Nil
- #ad_group_id=(ad_group_id : String | Nil)
- #campaign_group_id : String | Nil
- #campaign_group_id=(campaign_group_id : String | Nil)
- #campaign_id : String | Nil
- #campaign_id=(campaign_id : String | Nil)
- #impression_count : String | Nil
- #impression_count=(impression_count : String | Nil)
- #page_id : String | Nil
- #page_id=(page_id : String | Nil)
- #post : String | Nil
- #post=(post : String | Nil)
- #retention_seconds : String | Nil
- #retention_seconds=(retention_seconds : String | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
Constructor Detail
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)
#