struct Facebook::Proto::AdAccountPromotableObjects
- Facebook::Proto::AdAccountPromotableObjects
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
cli/proto/facebook/AdAccountPromotableObjects.pb.crConstant Summary
-
FIELDS =
{1 => {name: :promotable_app_ids, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 2 => {name: :promotable_page_ids, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 3 => {name: :promotable_urls, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)
-
Fields =
{} of String => Field
Constructors
- .new(buf : Protobuf::Buffer)
- .new(promotable_app_ids : Array(String) | Nil = nil, promotable_page_ids : Array(String) | Nil = nil, promotable_urls : Array(String) | Nil = nil)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #promotable_app_ids : Array(String) | Nil
- #promotable_app_ids=(promotable_app_ids : Array(String) | Nil)
- #promotable_app_ids=(promotable_app_ids : Array(String) | Nil)
- #promotable_page_ids : Array(String) | Nil
- #promotable_page_ids=(promotable_page_ids : Array(String) | Nil)
- #promotable_page_ids=(promotable_page_ids : Array(String) | Nil)
- #promotable_urls : Array(String) | Nil
- #promotable_urls=(promotable_urls : Array(String) | Nil)
- #promotable_urls=(promotable_urls : Array(String) | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
Constructor Detail
def self.new(promotable_app_ids : Array(String) | Nil = nil, promotable_page_ids : Array(String) | Nil = nil, promotable_urls : Array(String) | Nil = nil)
#