struct Facebook::Proto::ProductItem
- Facebook::Proto::ProductItem
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
cli/proto/facebook/ProductItem.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: :additional_image_urls, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 3 => {name: :age_group, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :availability, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :brand, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :category, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :color, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :condition, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :currency, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :custom_label_0, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 11 => {name: :custom_label_1, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 12 => {name: :custom_label_2, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 13 => {name: :custom_label_3, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 14 => {name: :custom_label_4, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 15 => {name: :description, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 16 => {name: :expiration_date, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 17 => {name: :gender, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 18 => {name: :gtin, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 19 => {name: :image_url, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 20 => {name: :inventory, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 21 => {name: :manufacturer_part_number, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 22 => {name: :material, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 23 => {name: :mobile_link, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 24 => {name: :name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 25 => {name: :ordering_index, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 26 => {name: :pattern, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 27 => {name: :price, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 28 => {name: :product_type, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 29 => {name: :retailer_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 30 => {name: :retailer_product_group_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 31 => {name: :review_rejection_reasons, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 32 => {name: :review_status, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 33 => {name: :sale_price, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 34 => {name: :sale_price_end_date, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 35 => {name: :sale_price_start_date, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 36 => {name: :shipping_weight_unit, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 37 => {name: :shipping_weight_value, pb_type: :double, crystal_type: Float64, cast_type: Float64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 38 => {name: :short_description, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 39 => {name: :size, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 40 => {name: :start_date, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 41 => {name: :url, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 42 => {name: :visibility, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 43 => {name: :android_app_name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 44 => {name: :android_class, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 45 => {name: :android_package, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 46 => {name: :android_url, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 47 => {name: :checkout_url, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 48 => {name: :ios_app_name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 49 => {name: :ios_app_store_id, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 50 => {name: :ios_url, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 51 => {name: :ipad_app_name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 52 => {name: :ipad_app_store_id, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 53 => {name: :ipad_url, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 54 => {name: :iphone_app_name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 55 => {name: :iphone_app_store_id, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 56 => {name: :iphone_url, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 57 => {name: :launch_date, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 58 => {name: :offer_price_amount, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 59 => {name: :offer_price_end_date, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 60 => {name: :offer_price_start_date, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 61 => {name: :windows_phone_app_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 62 => {name: :windows_phone_app_name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 63 => {name: :windows_phone_url, 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(id : String | Nil = nil, additional_image_urls : Array(String) | Nil = nil, age_group : String | Nil = nil, availability : String | Nil = nil, brand : String | Nil = nil, category : String | Nil = nil, color : String | Nil = nil, condition : String | Nil = nil, currency : String | Nil = nil, custom_label_0 : String | Nil = nil, custom_label_1 : String | Nil = nil, custom_label_2 : String | Nil = nil, custom_label_3 : String | Nil = nil, custom_label_4 : String | Nil = nil, description : String | Nil = nil, expiration_date : String | Nil = nil, gender : String | Nil = nil, gtin : String | Nil = nil, image_url : String | Nil = nil, inventory : Int64 | Nil = nil, manufacturer_part_number : String | Nil = nil, material : String | Nil = nil, mobile_link : String | Nil = nil, name : String | Nil = nil, ordering_index : Int64 | Nil = nil, pattern : String | Nil = nil, price : String | Nil = nil, product_type : String | Nil = nil, retailer_id : String | Nil = nil, retailer_product_group_id : String | Nil = nil, review_rejection_reasons : Array(String) | Nil = nil, review_status : String | Nil = nil, sale_price : String | Nil = nil, sale_price_end_date : String | Nil = nil, sale_price_start_date : String | Nil = nil, shipping_weight_unit : String | Nil = nil, shipping_weight_value : Float64 | Nil = nil, short_description : String | Nil = nil, size : String | Nil = nil, start_date : String | Nil = nil, url : String | Nil = nil, visibility : String | Nil = nil, android_app_name : String | Nil = nil, android_class : String | Nil = nil, android_package : String | Nil = nil, android_url : String | Nil = nil, checkout_url : String | Nil = nil, ios_app_name : String | Nil = nil, ios_app_store_id : Int64 | Nil = nil, ios_url : String | Nil = nil, ipad_app_name : String | Nil = nil, ipad_app_store_id : Int64 | Nil = nil, ipad_url : String | Nil = nil, iphone_app_name : String | Nil = nil, iphone_app_store_id : Int64 | Nil = nil, iphone_url : String | Nil = nil, launch_date : String | Nil = nil, offer_price_amount : Int64 | Nil = nil, offer_price_end_date : Datetime | Nil = nil, offer_price_start_date : Datetime | Nil = nil, windows_phone_app_id : String | Nil = nil, windows_phone_app_name : String | Nil = nil, windows_phone_url : String | Nil = nil)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #additional_image_urls : Array(String) | Nil
- #additional_image_urls=(additional_image_urls : Array(String) | Nil)
- #additional_image_urls=(additional_image_urls : Array(String) | Nil)
- #age_group : String | Nil
- #age_group=(age_group : String | Nil)
- #android_app_name : String | Nil
- #android_app_name=(android_app_name : String | Nil)
- #android_class : String | Nil
- #android_class=(android_class : String | Nil)
- #android_package : String | Nil
- #android_package=(android_package : String | Nil)
- #android_url : String | Nil
- #android_url=(android_url : String | Nil)
- #availability : String | Nil
- #availability=(availability : String | Nil)
- #brand : String | Nil
- #brand=(brand : String | Nil)
- #category : String | Nil
- #category=(category : String | Nil)
- #checkout_url : String | Nil
- #checkout_url=(checkout_url : String | Nil)
- #color : String | Nil
- #color=(color : String | Nil)
- #condition : String | Nil
- #condition=(condition : String | Nil)
- #currency : String | Nil
- #currency=(currency : String | Nil)
- #custom_label_0 : String | Nil
- #custom_label_0=(custom_label_0 : String | Nil)
- #custom_label_1 : String | Nil
- #custom_label_1=(custom_label_1 : String | Nil)
- #custom_label_2 : String | Nil
- #custom_label_2=(custom_label_2 : String | Nil)
- #custom_label_3 : String | Nil
- #custom_label_3=(custom_label_3 : String | Nil)
- #custom_label_4 : String | Nil
- #custom_label_4=(custom_label_4 : String | Nil)
- #description : String | Nil
- #description=(description : String | Nil)
- #expiration_date : String | Nil
- #expiration_date=(expiration_date : String | Nil)
- #gender : String | Nil
- #gender=(gender : String | Nil)
- #gtin : String | Nil
- #gtin=(gtin : String | Nil)
- #id : String | Nil
- #id=(id : String | Nil)
- #image_url : String | Nil
- #image_url=(image_url : String | Nil)
- #inventory : Int64 | Nil
- #inventory=(inventory : Int64 | Nil)
- #ios_app_name : String | Nil
- #ios_app_name=(ios_app_name : String | Nil)
- #ios_app_store_id : Int64 | Nil
- #ios_app_store_id=(ios_app_store_id : Int64 | Nil)
- #ios_url : String | Nil
- #ios_url=(ios_url : String | Nil)
- #ipad_app_name : String | Nil
- #ipad_app_name=(ipad_app_name : String | Nil)
- #ipad_app_store_id : Int64 | Nil
- #ipad_app_store_id=(ipad_app_store_id : Int64 | Nil)
- #ipad_url : String | Nil
- #ipad_url=(ipad_url : String | Nil)
- #iphone_app_name : String | Nil
- #iphone_app_name=(iphone_app_name : String | Nil)
- #iphone_app_store_id : Int64 | Nil
- #iphone_app_store_id=(iphone_app_store_id : Int64 | Nil)
- #iphone_url : String | Nil
- #iphone_url=(iphone_url : String | Nil)
- #launch_date : String | Nil
- #launch_date=(launch_date : String | Nil)
- #manufacturer_part_number : String | Nil
- #manufacturer_part_number=(manufacturer_part_number : String | Nil)
- #material : String | Nil
- #material=(material : String | Nil)
- #mobile_link : String | Nil
- #mobile_link=(mobile_link : String | Nil)
- #name : String | Nil
- #name=(name : String | Nil)
- #offer_price_amount : Int64 | Nil
- #offer_price_amount=(offer_price_amount : Int64 | Nil)
- #offer_price_end_date : Datetime | Nil
- #offer_price_end_date=(offer_price_end_date : Datetime | Nil)
- #offer_price_start_date : Datetime | Nil
- #offer_price_start_date=(offer_price_start_date : Datetime | Nil)
- #ordering_index : Int64 | Nil
- #ordering_index=(ordering_index : Int64 | Nil)
- #pattern : String | Nil
- #pattern=(pattern : String | Nil)
- #price : String | Nil
- #price=(price : String | Nil)
- #product_type : String | Nil
- #product_type=(product_type : String | Nil)
- #retailer_id : String | Nil
- #retailer_id=(retailer_id : String | Nil)
- #retailer_product_group_id : String | Nil
- #retailer_product_group_id=(retailer_product_group_id : String | Nil)
- #review_rejection_reasons : Array(String) | Nil
- #review_rejection_reasons=(review_rejection_reasons : Array(String) | Nil)
- #review_rejection_reasons=(review_rejection_reasons : Array(String) | Nil)
- #review_status : String | Nil
- #review_status=(review_status : String | Nil)
- #sale_price : String | Nil
- #sale_price=(sale_price : String | Nil)
- #sale_price_end_date : String | Nil
- #sale_price_end_date=(sale_price_end_date : String | Nil)
- #sale_price_start_date : String | Nil
- #sale_price_start_date=(sale_price_start_date : String | Nil)
- #shipping_weight_unit : String | Nil
- #shipping_weight_unit=(shipping_weight_unit : String | Nil)
- #shipping_weight_value : Float64 | Nil
- #shipping_weight_value=(shipping_weight_value : Float64 | Nil)
- #short_description : String | Nil
- #short_description=(short_description : String | Nil)
- #size : String | Nil
- #size=(size : String | Nil)
- #start_date : String | Nil
- #start_date=(start_date : String | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
- #url : String | Nil
- #url=(url : String | Nil)
- #visibility : String | Nil
- #visibility=(visibility : String | Nil)
- #windows_phone_app_id : String | Nil
- #windows_phone_app_id=(windows_phone_app_id : String | Nil)
- #windows_phone_app_name : String | Nil
- #windows_phone_app_name=(windows_phone_app_name : String | Nil)
- #windows_phone_url : String | Nil
- #windows_phone_url=(windows_phone_url : String | Nil)
Constructor Detail
def self.new(id : String | Nil = nil, additional_image_urls : Array(String) | Nil = nil, age_group : String | Nil = nil, availability : String | Nil = nil, brand : String | Nil = nil, category : String | Nil = nil, color : String | Nil = nil, condition : String | Nil = nil, currency : String | Nil = nil, custom_label_0 : String | Nil = nil, custom_label_1 : String | Nil = nil, custom_label_2 : String | Nil = nil, custom_label_3 : String | Nil = nil, custom_label_4 : String | Nil = nil, description : String | Nil = nil, expiration_date : String | Nil = nil, gender : String | Nil = nil, gtin : String | Nil = nil, image_url : String | Nil = nil, inventory : Int64 | Nil = nil, manufacturer_part_number : String | Nil = nil, material : String | Nil = nil, mobile_link : String | Nil = nil, name : String | Nil = nil, ordering_index : Int64 | Nil = nil, pattern : String | Nil = nil, price : String | Nil = nil, product_type : String | Nil = nil, retailer_id : String | Nil = nil, retailer_product_group_id : String | Nil = nil, review_rejection_reasons : Array(String) | Nil = nil, review_status : String | Nil = nil, sale_price : String | Nil = nil, sale_price_end_date : String | Nil = nil, sale_price_start_date : String | Nil = nil, shipping_weight_unit : String | Nil = nil, shipping_weight_value : Float64 | Nil = nil, short_description : String | Nil = nil, size : String | Nil = nil, start_date : String | Nil = nil, url : String | Nil = nil, visibility : String | Nil = nil, android_app_name : String | Nil = nil, android_class : String | Nil = nil, android_package : String | Nil = nil, android_url : String | Nil = nil, checkout_url : String | Nil = nil, ios_app_name : String | Nil = nil, ios_app_store_id : Int64 | Nil = nil, ios_url : String | Nil = nil, ipad_app_name : String | Nil = nil, ipad_app_store_id : Int64 | Nil = nil, ipad_url : String | Nil = nil, iphone_app_name : String | Nil = nil, iphone_app_store_id : Int64 | Nil = nil, iphone_url : String | Nil = nil, launch_date : String | Nil = nil, offer_price_amount : Int64 | Nil = nil, offer_price_end_date : Datetime | Nil = nil, offer_price_start_date : Datetime | Nil = nil, windows_phone_app_id : String | Nil = nil, windows_phone_app_name : String | Nil = nil, windows_phone_url : String | Nil = nil)
#