struct Facebook::Proto::AdPlacement
- Facebook::Proto::AdPlacement
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
cli/proto/facebook/AdPlacement.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: :bundle_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :display_format, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :external_placement_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :google_display_format, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :platform, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :status, 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(id : String | Nil = nil, bundle_id : String | Nil = nil, display_format : String | Nil = nil, external_placement_id : String | Nil = nil, google_display_format : String | Nil = nil, name : String | Nil = nil, platform : String | Nil = nil, status : String | Nil = nil)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #bundle_id : String | Nil
- #bundle_id=(bundle_id : String | Nil)
- #display_format : String | Nil
- #display_format=(display_format : String | Nil)
- #external_placement_id : String | Nil
- #external_placement_id=(external_placement_id : String | Nil)
- #google_display_format : String | Nil
- #google_display_format=(google_display_format : String | Nil)
- #id : String | Nil
- #id=(id : String | Nil)
- #name : String | Nil
- #name=(name : String | Nil)
- #platform : String | Nil
- #platform=(platform : String | Nil)
- #status : String | Nil
- #status=(status : String | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
Constructor Detail
def self.new(id : String | Nil = nil, bundle_id : String | Nil = nil, display_format : String | Nil = nil, external_placement_id : String | Nil = nil, google_display_format : String | Nil = nil, name : String | Nil = nil, platform : String | Nil = nil, status : String | Nil = nil)
#