struct Facebook::Proto::ProductFeed
- Facebook::Proto::ProductFeed
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
cli/proto/facebook/ProductFeed.pb.crConstant 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
- .new(buf : Protobuf::Buffer)
- .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)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #country : String | Nil
- #country=(country : String | Nil)
- #created_time : Datetime | Nil
- #created_time=(created_time : Datetime | Nil)
- #default_currency : String | Nil
- #default_currency=(default_currency : String | Nil)
- #deletion_enabled : Bool | Nil
- #deletion_enabled=(deletion_enabled : Bool | Nil)
- #delimiter : String | Nil
- #delimiter=(delimiter : String | Nil)
- #encoding : String | Nil
- #encoding=(encoding : String | Nil)
- #feed_type : String | Nil
- #feed_type=(feed_type : String | Nil)
- #file_name : String | Nil
- #file_name=(file_name : String | Nil)
- #id : String | Nil
- #id=(id : String | Nil)
- #name : String | Nil
- #name=(name : String | Nil)
- #override_type : String | Nil
- #override_type=(override_type : String | Nil)
- #product_count : Int64 | Nil
- #product_count=(product_count : Int64 | Nil)
- #quoted_fields_mode : String | Nil
- #quoted_fields_mode=(quoted_fields_mode : String | Nil)
- #rules : Array(String) | Nil
- #rules=(rules : Array(String) | Nil)
- #rules=(rules : Array(String) | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
Constructor Detail
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)
#