struct Facebook::Proto::ProductCatalogCategory

Included Modules

Defined in:

cli/proto/facebook/ProductCatalogCategory.pb.cr

Constant Summary

FIELDS = {1 => {name: :criteria_value, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :description, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :destination_uri, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :image_url, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :num_items, 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(criteria_value : String | Nil = nil, description : String | Nil = nil, destination_uri : String | Nil = nil, image_url : String | Nil = nil, name : String | Nil = nil, num_items : 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 criteria_value : String | Nil #

def criteria_value=(criteria_value : String | Nil) #

def description : String | Nil #

def description=(description : String | Nil) #

def destination_uri : String | Nil #

def destination_uri=(destination_uri : String | Nil) #

def image_url : String | Nil #

def image_url=(image_url : String | Nil) #

def name : String | Nil #

def name=(name : String | Nil) #

def num_items : Int64 | Nil #

def num_items=(num_items : Int64 | Nil) #

def to_hash #

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

def to_protobuf #