struct Facebook::Proto::DynamicPostChildAttachment

Included Modules

Defined in:

cli/proto/facebook/DynamicPostChildAttachment.pb.cr

Constant Summary

FIELDS = {1 => {name: :description, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :image_url, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :link, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :place_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :product_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {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

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(buf : Protobuf::Buffer) #

def self.new(description : String | Nil = nil, image_url : String | Nil = nil, link : String | Nil = nil, place_id : String | Nil = nil, product_id : String | Nil = nil, title : 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 description : String | Nil #

def description=(description : String | Nil) #

def image_url : String | Nil #

def image_url=(image_url : String | Nil) #

def link : String | Nil #

def link=(link : String | Nil) #

def place_id : String | Nil #

def place_id=(place_id : String | Nil) #

def product_id : String | Nil #

def product_id=(product_id : String | Nil) #

def title : String | Nil #

def title=(title : String | Nil) #

def to_hash #

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

def to_protobuf #