struct Facebook::Proto::ProductFeed

Included Modules

Defined in:

cli/proto/facebook/ProductFeed.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: :country, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :created_time, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :default_currency, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :deletion_enabled, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :delimiter, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :encoding, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :file_name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :override_type, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 11 => {name: :product_count, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 12 => {name: :quoted_fields_mode, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 13 => {name: :feed_type, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 14 => {name: :rules, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, 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, country : String | Nil = nil, created_time : Datetime | Nil = nil, default_currency : String | Nil = nil, deletion_enabled : Bool | Nil = nil, delimiter : String | Nil = nil, encoding : String | Nil = nil, file_name : String | Nil = nil, name : String | Nil = nil, override_type : String | Nil = nil, product_count : Int64 | Nil = nil, quoted_fields_mode : String | Nil = nil, feed_type : String | Nil = nil, rules : Array(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 country : String | Nil #

def country=(country : String | Nil) #

def created_time : Datetime | Nil #

def created_time=(created_time : Datetime | Nil) #

def default_currency : String | Nil #

def default_currency=(default_currency : String | Nil) #

def deletion_enabled : Bool | Nil #

def deletion_enabled=(deletion_enabled : Bool | Nil) #

def delimiter : String | Nil #

def delimiter=(delimiter : String | Nil) #

def encoding : String | Nil #

def encoding=(encoding : String | Nil) #

def feed_type : String | Nil #

def feed_type=(feed_type : String | Nil) #

def file_name : String | Nil #

def file_name=(file_name : String | Nil) #

def id : String | Nil #

def id=(id : String | Nil) #

def name : String | Nil #

def name=(name : String | Nil) #

def override_type : String | Nil #

def override_type=(override_type : String | Nil) #

def product_count : Int64 | Nil #

def product_count=(product_count : Int64 | Nil) #

def quoted_fields_mode : String | Nil #

def quoted_fields_mode=(quoted_fields_mode : String | Nil) #

def rules : Array(String) | Nil #

def rules=(rules : Array(String) | Nil) #

def rules=(rules : Array(String) | Nil) #

def to_hash #

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

def to_protobuf #