struct Facebook::Proto::AdRecommendation

Included Modules

Defined in:

cli/proto/facebook/AdRecommendation.pb.cr

Constant Summary

FIELDS = {1 => {name: :blame_field, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :code, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :confidence, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :importance, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :message, 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(blame_field : String | Nil = nil, code : Int64 | Nil = nil, confidence : String | Nil = nil, importance : String | Nil = nil, message : 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 blame_field : String | Nil #

def blame_field=(blame_field : String | Nil) #

def code : Int64 | Nil #

def code=(code : Int64 | Nil) #

def confidence : String | Nil #

def confidence=(confidence : String | Nil) #

def importance : String | Nil #

def importance=(importance : String | Nil) #

def message : String | Nil #

def message=(message : String | Nil) #

def title : String | Nil #

def title=(title : String | Nil) #

def to_hash #

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

def to_protobuf #