struct Facebook::Proto::IgComment

Included Modules

Defined in:

cli/proto/facebook/IgComment.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: :hidden, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :like_count, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :text, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :timestamp, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :username, 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(id : String | Nil = nil, hidden : Bool | Nil = nil, like_count : Int64 | Nil = nil, text : String | Nil = nil, timestamp : Datetime | Nil = nil, username : 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 hidden : Bool | Nil #

def hidden=(hidden : Bool | Nil) #

def id : String | Nil #

def id=(id : String | Nil) #

def like_count : Int64 | Nil #

def like_count=(like_count : Int64 | Nil) #

def text : String | Nil #

def text=(text : String | Nil) #

def timestamp : Datetime | Nil #

def timestamp=(timestamp : Datetime | Nil) #

def to_hash #

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

def to_protobuf #

def username : String | Nil #

def username=(username : String | Nil) #