struct Facebook::Proto::AdRecommendation
- Facebook::Proto::AdRecommendation
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
cli/proto/facebook/AdRecommendation.pb.crConstant 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
- .new(buf : Protobuf::Buffer)
- .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)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #blame_field : String | Nil
- #blame_field=(blame_field : String | Nil)
- #code : Int64 | Nil
- #code=(code : Int64 | Nil)
- #confidence : String | Nil
- #confidence=(confidence : String | Nil)
- #importance : String | Nil
- #importance=(importance : String | Nil)
- #message : String | Nil
- #message=(message : String | Nil)
- #title : String | Nil
- #title=(title : String | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
Constructor Detail
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)
#