struct Facebook::Proto::ProductEventStat

Included Modules

Defined in:

cli/proto/facebook/ProductEventStat.pb.cr

Constant Summary

FIELDS = {1 => {name: :date_start, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :date_stop, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :device_type, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :event, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :total_content_ids_matched_other_catalogs, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :total_matched_content_ids, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :total_unmatched_content_ids, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :unique_content_ids_matched_other_catalogs, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :unique_matched_content_ids, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :unique_unmatched_content_ids, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, 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(date_start : String | Nil = nil, date_stop : String | Nil = nil, device_type : String | Nil = nil, event : String | Nil = nil, total_content_ids_matched_other_catalogs : Int64 | Nil = nil, total_matched_content_ids : Int64 | Nil = nil, total_unmatched_content_ids : Int64 | Nil = nil, unique_content_ids_matched_other_catalogs : Int64 | Nil = nil, unique_matched_content_ids : Int64 | Nil = nil, unique_unmatched_content_ids : Int64 | 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 date_start : String | Nil #

def date_start=(date_start : String | Nil) #

def date_stop : String | Nil #

def date_stop=(date_stop : String | Nil) #

def device_type : String | Nil #

def device_type=(device_type : String | Nil) #

def event : String | Nil #

def event=(event : String | Nil) #

def to_hash #

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

def to_protobuf #

def total_content_ids_matched_other_catalogs : Int64 | Nil #

def total_content_ids_matched_other_catalogs=(total_content_ids_matched_other_catalogs : Int64 | Nil) #

def total_matched_content_ids : Int64 | Nil #

def total_matched_content_ids=(total_matched_content_ids : Int64 | Nil) #

def total_unmatched_content_ids : Int64 | Nil #

def total_unmatched_content_ids=(total_unmatched_content_ids : Int64 | Nil) #

def unique_content_ids_matched_other_catalogs : Int64 | Nil #

def unique_content_ids_matched_other_catalogs=(unique_content_ids_matched_other_catalogs : Int64 | Nil) #

def unique_matched_content_ids : Int64 | Nil #

def unique_matched_content_ids=(unique_matched_content_ids : Int64 | Nil) #

def unique_unmatched_content_ids : Int64 | Nil #

def unique_unmatched_content_ids=(unique_unmatched_content_ids : Int64 | Nil) #