struct Facebook::Proto::RtbDynamicPost
- Facebook::Proto::RtbDynamicPost
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
cli/proto/facebook/RtbDynamicPost.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: :created, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :description, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :image_url, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :link, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :message, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :owner_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :place_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :product_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :title, 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, created : Datetime | Nil = nil, description : String | Nil = nil, image_url : String | Nil = nil, link : String | Nil = nil, message : String | Nil = nil, owner_id : String | Nil = nil, place_id : String | Nil = nil, product_id : String | Nil = nil, title : String | Nil = nil)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #created : Datetime | Nil
- #created=(created : Datetime | Nil)
- #description : String | Nil
- #description=(description : String | Nil)
- #id : String | Nil
- #id=(id : String | Nil)
- #image_url : String | Nil
- #image_url=(image_url : String | Nil)
- #link : String | Nil
- #link=(link : String | Nil)
- #message : String | Nil
- #message=(message : String | Nil)
- #owner_id : String | Nil
- #owner_id=(owner_id : String | Nil)
- #place_id : String | Nil
- #place_id=(place_id : String | Nil)
- #product_id : String | Nil
- #product_id=(product_id : String | Nil)
- #title : String | Nil
- #title=(title : String | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
Constructor Detail
def self.new(id : String | Nil = nil, created : Datetime | Nil = nil, description : String | Nil = nil, image_url : String | Nil = nil, link : String | Nil = nil, message : String | Nil = nil, owner_id : String | Nil = nil, place_id : String | Nil = nil, product_id : String | Nil = nil, title : String | Nil = nil)
#