struct Facebook::Proto::OpenGraphObject

Included Modules

Defined in:

cli/proto/facebook/OpenGraphObject.pb.cr

Constant 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_time, 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: :determiner, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :is_scraped, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :post_action_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :see_also, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 8 => {name: :site_name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :title, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :type, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 11 => {name: :updated_time, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, 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(id : String | Nil = nil, created_time : Datetime | Nil = nil, description : String | Nil = nil, determiner : String | Nil = nil, is_scraped : Bool | Nil = nil, post_action_id : String | Nil = nil, see_also : Array(String) | Nil = nil, site_name : String | Nil = nil, title : String | Nil = nil, type : String | Nil = nil, updated_time : Datetime | 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 created_time : Datetime | Nil #

def created_time=(created_time : Datetime | Nil) #

def description : String | Nil #

def description=(description : String | Nil) #

def determiner : String | Nil #

def determiner=(determiner : String | Nil) #

def id : String | Nil #

def id=(id : String | Nil) #

def is_scraped : Bool | Nil #

def is_scraped=(is_scraped : Bool | Nil) #

def post_action_id : String | Nil #

def post_action_id=(post_action_id : String | Nil) #

def see_also : Array(String) | Nil #

def see_also=(see_also : Array(String) | Nil) #

def see_also=(see_also : Array(String) | Nil) #

def site_name : String | Nil #

def site_name=(site_name : String | Nil) #

def title : String | Nil #

def title=(title : String | Nil) #

def to_hash #

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

def to_protobuf #

def type : String | Nil #

def type=(type : String | Nil) #

def updated_time : Datetime | Nil #

def updated_time=(updated_time : Datetime | Nil) #