struct Facebook::Proto::MediaFingerprint

Included Modules

Defined in:

cli/proto/facebook/MediaFingerprint.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: :duration_in_sec, pb_type: :double, crystal_type: Float64, cast_type: Float64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :fingerprint_content_type, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :fingerprint_type, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :title, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :universal_content_id, 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, duration_in_sec : Float64 | Nil = nil, fingerprint_content_type : String | Nil = nil, fingerprint_type : String | Nil = nil, title : String | Nil = nil, universal_content_id : 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 duration_in_sec : Float64 | Nil #

def duration_in_sec=(duration_in_sec : Float64 | Nil) #

def fingerprint_content_type : String | Nil #

def fingerprint_content_type=(fingerprint_content_type : String | Nil) #

def fingerprint_type : String | Nil #

def fingerprint_type=(fingerprint_type : String | Nil) #

def id : String | Nil #

def id=(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 #

def universal_content_id : String | Nil #

def universal_content_id=(universal_content_id : String | Nil) #