Class: PinterestSdkClient::ItemAttributesRequest
- Inherits:
-
ApiModelBase
- Object
- ApiModelBase
- PinterestSdkClient::ItemAttributesRequest
- Defined in:
- lib/pinterest_sdk/models/item_attributes_request.rb
Instance Attribute Summary collapse
-
#ad_image_0_link ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 2000 characters</p> <p>Ad image link that supplements main image for shopping campaigns.</p> <p>Image format:</p> <ul> <li>Pixel size at least 75 x 75</li> </ul> <p>Link guidelines:</p> <ul> <li>Include extension in file name</li> <li>Do not include template or placeholder images in link</li> <li>Make URL accessible to Pinterest user-agent</li> <li>Must start with http:// or https://</li> </ul>.
-
#ad_image_0_tag ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 511 characters</p> <p>If you provide an ad_image_x_link, include the image tag with the corresponding ad_image_x_tag attribute.</p>.
-
#ad_image_10_link ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 2000 characters</p> <p>Ad image link that supplements main image for shopping campaigns.</p> <p>Image format:</p> <ul> <li>Pixel size at least 75 x 75</li> </ul> <p>Link guidelines:</p> <ul> <li>Include extension in file name</li> <li>Do not include template or placeholder images in link</li> <li>Make URL accessible to Pinterest user-agent</li> <li>Must start with http:// or https://</li> </ul>.
-
#ad_image_10_tag ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 511 characters</p> <p>If you provide an ad_image_x_link, include the image tag with the corresponding ad_image_x_tag attribute.</p>.
-
#ad_image_11_link ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 2000 characters</p> <p>Ad image link that supplements main image for shopping campaigns.</p> <p>Image format:</p> <ul> <li>Pixel size at least 75 x 75</li> </ul> <p>Link guidelines:</p> <ul> <li>Include extension in file name</li> <li>Do not include template or placeholder images in link</li> <li>Make URL accessible to Pinterest user-agent</li> <li>Must start with http:// or https://</li> </ul>.
-
#ad_image_11_tag ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 511 characters</p> <p>If you provide an ad_image_x_link, include the image tag with the corresponding ad_image_x_tag attribute.</p>.
-
#ad_image_12_link ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 2000 characters</p> <p>Ad image link that supplements main image for shopping campaigns.</p> <p>Image format:</p> <ul> <li>Pixel size at least 75 x 75</li> </ul> <p>Link guidelines:</p> <ul> <li>Include extension in file name</li> <li>Do not include template or placeholder images in link</li> <li>Make URL accessible to Pinterest user-agent</li> <li>Must start with http:// or https://</li> </ul>.
-
#ad_image_12_tag ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 511 characters</p> <p>If you provide an ad_image_x_link, include the image tag with the corresponding ad_image_x_tag attribute.</p>.
-
#ad_image_13_link ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 2000 characters</p> <p>Ad image link that supplements main image for shopping campaigns.</p> <p>Image format:</p> <ul> <li>Pixel size at least 75 x 75</li> </ul> <p>Link guidelines:</p> <ul> <li>Include extension in file name</li> <li>Do not include template or placeholder images in link</li> <li>Make URL accessible to Pinterest user-agent</li> <li>Must start with http:// or https://</li> </ul>.
-
#ad_image_13_tag ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 511 characters</p> <p>If you provide an ad_image_x_link, include the image tag with the corresponding ad_image_x_tag attribute.</p>.
-
#ad_image_14_link ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 2000 characters</p> <p>Ad image link that supplements main image for shopping campaigns.</p> <p>Image format:</p> <ul> <li>Pixel size at least 75 x 75</li> </ul> <p>Link guidelines:</p> <ul> <li>Include extension in file name</li> <li>Do not include template or placeholder images in link</li> <li>Make URL accessible to Pinterest user-agent</li> <li>Must start with http:// or https://</li> </ul>.
-
#ad_image_14_tag ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 511 characters</p> <p>If you provide an ad_image_x_link, include the image tag with the corresponding ad_image_x_tag attribute.</p>.
-
#ad_image_15_link ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 2000 characters</p> <p>Ad image link that supplements main image for shopping campaigns.</p> <p>Image format:</p> <ul> <li>Pixel size at least 75 x 75</li> </ul> <p>Link guidelines:</p> <ul> <li>Include extension in file name</li> <li>Do not include template or placeholder images in link</li> <li>Make URL accessible to Pinterest user-agent</li> <li>Must start with http:// or https://</li> </ul>.
-
#ad_image_15_tag ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 511 characters</p> <p>If you provide an ad_image_x_link, include the image tag with the corresponding ad_image_x_tag attribute.</p>.
-
#ad_image_16_link ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 2000 characters</p> <p>Ad image link that supplements main image for shopping campaigns.</p> <p>Image format:</p> <ul> <li>Pixel size at least 75 x 75</li> </ul> <p>Link guidelines:</p> <ul> <li>Include extension in file name</li> <li>Do not include template or placeholder images in link</li> <li>Make URL accessible to Pinterest user-agent</li> <li>Must start with http:// or https://</li> </ul>.
-
#ad_image_16_tag ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 511 characters</p> <p>If you provide an ad_image_x_link, include the image tag with the corresponding ad_image_x_tag attribute.</p>.
-
#ad_image_17_link ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 2000 characters</p> <p>Ad image link that supplements main image for shopping campaigns.</p> <p>Image format:</p> <ul> <li>Pixel size at least 75 x 75</li> </ul> <p>Link guidelines:</p> <ul> <li>Include extension in file name</li> <li>Do not include template or placeholder images in link</li> <li>Make URL accessible to Pinterest user-agent</li> <li>Must start with http:// or https://</li> </ul>.
-
#ad_image_17_tag ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 511 characters</p> <p>If you provide an ad_image_x_link, include the image tag with the corresponding ad_image_x_tag attribute.</p>.
-
#ad_image_18_link ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 2000 characters</p> <p>Ad image link that supplements main image for shopping campaigns.</p> <p>Image format:</p> <ul> <li>Pixel size at least 75 x 75</li> </ul> <p>Link guidelines:</p> <ul> <li>Include extension in file name</li> <li>Do not include template or placeholder images in link</li> <li>Make URL accessible to Pinterest user-agent</li> <li>Must start with http:// or https://</li> </ul>.
-
#ad_image_18_tag ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 511 characters</p> <p>If you provide an ad_image_x_link, include the image tag with the corresponding ad_image_x_tag attribute.</p>.
-
#ad_image_19_link ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 2000 characters</p> <p>Ad image link that supplements main image for shopping campaigns.</p> <p>Image format:</p> <ul> <li>Pixel size at least 75 x 75</li> </ul> <p>Link guidelines:</p> <ul> <li>Include extension in file name</li> <li>Do not include template or placeholder images in link</li> <li>Make URL accessible to Pinterest user-agent</li> <li>Must start with http:// or https://</li> </ul>.
-
#ad_image_19_tag ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 511 characters</p> <p>If you provide an ad_image_x_link, include the image tag with the corresponding ad_image_x_tag attribute.</p>.
-
#ad_image_1_link ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 2000 characters</p> <p>Ad image link that supplements main image for shopping campaigns.</p> <p>Image format:</p> <ul> <li>Pixel size at least 75 x 75</li> </ul> <p>Link guidelines:</p> <ul> <li>Include extension in file name</li> <li>Do not include template or placeholder images in link</li> <li>Make URL accessible to Pinterest user-agent</li> <li>Must start with http:// or https://</li> </ul>.
-
#ad_image_1_tag ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 511 characters</p> <p>If you provide an ad_image_x_link, include the image tag with the corresponding ad_image_x_tag attribute.</p>.
-
#ad_image_2_link ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 2000 characters</p> <p>Ad image link that supplements main image for shopping campaigns.</p> <p>Image format:</p> <ul> <li>Pixel size at least 75 x 75</li> </ul> <p>Link guidelines:</p> <ul> <li>Include extension in file name</li> <li>Do not include template or placeholder images in link</li> <li>Make URL accessible to Pinterest user-agent</li> <li>Must start with http:// or https://</li> </ul>.
-
#ad_image_2_tag ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 511 characters</p> <p>If you provide an ad_image_x_link, include the image tag with the corresponding ad_image_x_tag attribute.</p>.
-
#ad_image_3_link ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 2000 characters</p> <p>Ad image link that supplements main image for shopping campaigns.</p> <p>Image format:</p> <ul> <li>Pixel size at least 75 x 75</li> </ul> <p>Link guidelines:</p> <ul> <li>Include extension in file name</li> <li>Do not include template or placeholder images in link</li> <li>Make URL accessible to Pinterest user-agent</li> <li>Must start with http:// or https://</li> </ul>.
-
#ad_image_3_tag ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 511 characters</p> <p>If you provide an ad_image_x_link, include the image tag with the corresponding ad_image_x_tag attribute.</p>.
-
#ad_image_4_link ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 2000 characters</p> <p>Ad image link that supplements main image for shopping campaigns.</p> <p>Image format:</p> <ul> <li>Pixel size at least 75 x 75</li> </ul> <p>Link guidelines:</p> <ul> <li>Include extension in file name</li> <li>Do not include template or placeholder images in link</li> <li>Make URL accessible to Pinterest user-agent</li> <li>Must start with http:// or https://</li> </ul>.
-
#ad_image_4_tag ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 511 characters</p> <p>If you provide an ad_image_x_link, include the image tag with the corresponding ad_image_x_tag attribute.</p>.
-
#ad_image_5_link ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 2000 characters</p> <p>Ad image link that supplements main image for shopping campaigns.</p> <p>Image format:</p> <ul> <li>Pixel size at least 75 x 75</li> </ul> <p>Link guidelines:</p> <ul> <li>Include extension in file name</li> <li>Do not include template or placeholder images in link</li> <li>Make URL accessible to Pinterest user-agent</li> <li>Must start with http:// or https://</li> </ul>.
-
#ad_image_5_tag ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 511 characters</p> <p>If you provide an ad_image_x_link, include the image tag with the corresponding ad_image_x_tag attribute.</p>.
-
#ad_image_6_link ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 2000 characters</p> <p>Ad image link that supplements main image for shopping campaigns.</p> <p>Image format:</p> <ul> <li>Pixel size at least 75 x 75</li> </ul> <p>Link guidelines:</p> <ul> <li>Include extension in file name</li> <li>Do not include template or placeholder images in link</li> <li>Make URL accessible to Pinterest user-agent</li> <li>Must start with http:// or https://</li> </ul>.
-
#ad_image_6_tag ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 511 characters</p> <p>If you provide an ad_image_x_link, include the image tag with the corresponding ad_image_x_tag attribute.</p>.
-
#ad_image_7_link ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 2000 characters</p> <p>Ad image link that supplements main image for shopping campaigns.</p> <p>Image format:</p> <ul> <li>Pixel size at least 75 x 75</li> </ul> <p>Link guidelines:</p> <ul> <li>Include extension in file name</li> <li>Do not include template or placeholder images in link</li> <li>Make URL accessible to Pinterest user-agent</li> <li>Must start with http:// or https://</li> </ul>.
-
#ad_image_7_tag ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 511 characters</p> <p>If you provide an ad_image_x_link, include the image tag with the corresponding ad_image_x_tag attribute.</p>.
-
#ad_image_8_link ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 2000 characters</p> <p>Ad image link that supplements main image for shopping campaigns.</p> <p>Image format:</p> <ul> <li>Pixel size at least 75 x 75</li> </ul> <p>Link guidelines:</p> <ul> <li>Include extension in file name</li> <li>Do not include template or placeholder images in link</li> <li>Make URL accessible to Pinterest user-agent</li> <li>Must start with http:// or https://</li> </ul>.
-
#ad_image_8_tag ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 511 characters</p> <p>If you provide an ad_image_x_link, include the image tag with the corresponding ad_image_x_tag attribute.</p>.
-
#ad_image_9_link ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 2000 characters</p> <p>Ad image link that supplements main image for shopping campaigns.</p> <p>Image format:</p> <ul> <li>Pixel size at least 75 x 75</li> </ul> <p>Link guidelines:</p> <ul> <li>Include extension in file name</li> <li>Do not include template or placeholder images in link</li> <li>Make URL accessible to Pinterest user-agent</li> <li>Must start with http:// or https://</li> </ul>.
-
#ad_image_9_tag ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 511 characters</p> <p>If you provide an ad_image_x_link, include the image tag with the corresponding ad_image_x_tag attribute.</p>.
-
#ad_link ⇒ Object
Allows advertisers to specify a separate URL that can be used to track traffic coming from Pinterest shopping ads.
-
#ad_video_0_link ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 2000 characters</p> <p>Ad video link that supplements main video for shopping campaigns.</p> <p>Video format:</p> <ul> <li>Pixel size between 75 x 75 and 9450 x 9450</li> <li>File size smaller than 2 GB</li> <li>Time span between 4 seconds and 15 minutes</li> <li>Accepted formats: .MP4, .MOV, .M4V</li> </ul> <p>Link guidelines:</p> <ul> <li>Include extension in file name</li> <li>Do not include template or placeholder videos in link</li> <li>Make URL accessible to Pinterest user-agent</li> <li>Must start with http:// or https://</li> </ul>.
-
#ad_video_0_tag ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 511 characters</p> <p>If you provide an ad_video_x_link, include the video tag with the corresponding ad_video_x_tag attribute.</p>.
-
#ad_video_1_link ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 2000 characters</p> <p>Ad video link that supplements main video for shopping campaigns.</p> <p>Video format:</p> <ul> <li>Pixel size between 75 x 75 and 9450 x 9450</li> <li>File size smaller than 2 GB</li> <li>Time span between 4 seconds and 15 minutes</li> <li>Accepted formats: .MP4, .MOV, .M4V</li> </ul> <p>Link guidelines:</p> <ul> <li>Include extension in file name</li> <li>Do not include template or placeholder videos in link</li> <li>Make URL accessible to Pinterest user-agent</li> <li>Must start with http:// or https://</li> </ul>.
-
#ad_video_1_tag ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 511 characters</p> <p>If you provide an ad_video_x_link, include the video tag with the corresponding ad_video_x_tag attribute.</p>.
-
#ad_video_2_link ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 2000 characters</p> <p>Ad video link that supplements main video for shopping campaigns.</p> <p>Video format:</p> <ul> <li>Pixel size between 75 x 75 and 9450 x 9450</li> <li>File size smaller than 2 GB</li> <li>Time span between 4 seconds and 15 minutes</li> <li>Accepted formats: .MP4, .MOV, .M4V</li> </ul> <p>Link guidelines:</p> <ul> <li>Include extension in file name</li> <li>Do not include template or placeholder videos in link</li> <li>Make URL accessible to Pinterest user-agent</li> <li>Must start with http:// or https://</li> </ul>.
-
#ad_video_2_tag ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 511 characters</p> <p>If you provide an ad_video_x_link, include the video tag with the corresponding ad_video_x_tag attribute.</p>.
-
#additional_image_link ⇒ Object
<p><= 2000 characters</p> <p>The links to additional images for your product.
-
#adult ⇒ Object
Set this attribute to TRUE if you’re submitting items that are considered “adult”.
-
#age_group ⇒ Object
The age group to apply a demographic range to the product.
-
#android_deep_link ⇒ Object
The deep link to the product on the Android app.
-
#availability ⇒ Object
The availability of the product.
-
#average_review_rating ⇒ Object
Average reviews for the item.
-
#brand ⇒ Object
The brand of the product.
-
#checkout_enabled ⇒ Object
This attribute is not supported anymore.
-
#color ⇒ Object
The primary color of the product.
-
#condition ⇒ Object
The condition of the product.
-
#custom_label_0 ⇒ Object
<p><= 511 characters for retail and creative asset catalogs, <= 127 characters for hotel catalogs</p> <p>Custom grouping of products.</p>.
-
#custom_label_1 ⇒ Object
<p><= 511 characters for retail and creative asset catalogs, <= 127 characters for hotel catalogs</p> <p>Custom grouping of products.</p>.
-
#custom_label_2 ⇒ Object
<p><= 511 characters for retail and creative asset catalogs, <= 127 characters for hotel catalogs</p> <p>Custom grouping of products.</p>.
-
#custom_label_3 ⇒ Object
<p><= 511 characters for retail and creative asset catalogs, <= 127 characters for hotel catalogs</p> <p>Custom grouping of products.</p>.
-
#custom_label_4 ⇒ Object
<p><= 511 characters for retail and creative asset catalogs, <= 127 characters for hotel catalogs</p> <p>Custom grouping of products.</p>.
-
#custom_number_0 ⇒ Object
an attribute for any integer information ranging from 0 to 4,294,967,295, which can be used to group items.
-
#custom_number_1 ⇒ Object
an attribute for any integer information ranging from 0 to 4,294,967,295, which can be used to group items.
-
#custom_number_2 ⇒ Object
an attribute for any integer information ranging from 0 to 4,294,967,295, which can be used to group items.
-
#custom_number_3 ⇒ Object
an attribute for any integer information ranging from 0 to 4,294,967,295, which can be used to group items.
-
#custom_number_4 ⇒ Object
an attribute for any integer information ranging from 0 to 4,294,967,295, which can be used to group items.
-
#description ⇒ Object
<p><= 10000 characters</p> <p>The description of the product.</p>.
-
#free_shipping_label ⇒ Object
The item is free to ship.
-
#free_shipping_limit ⇒ Object
The minimum order purchase necessary for the customer to get free shipping.
-
#gender ⇒ Object
The gender associated with the product.
-
#google_product_category ⇒ Object
The categorization of the product based on the standardized Google Product Taxonomy.
-
#gtin ⇒ Object
Returns the value of attribute gtin.
-
#id ⇒ Object
<p><= 127 characters</p> <p>The user-created unique ID that represents the product.
-
#image_link ⇒ Object
Returns the value of attribute image_link.
-
#installment_price ⇒ Object
Installment price of the product.
-
#ios_deep_link ⇒ Object
The deep link to the product on the iOS app.
-
#item_group_id ⇒ Object
<p><= 127 characters</p> <p>The parent ID of the product.</p>.
-
#last_updated_time ⇒ Object
The millisecond timestamp when the item was lastly modified by the merchant.
-
#link ⇒ Object
<p><= 511 characters</p> <p>The landing page for the product.</p>.
-
#material ⇒ Object
The material used to make the product.
-
#min_ad_price ⇒ Object
The minimum advertised price of the product.
-
#mobile_link ⇒ Object
The mobile-optimized version of your landing page.
-
#mpn ⇒ Object
Manufacturer Part Number are alpha-numeric codes created by the manufacturer of a product to uniquely identify it among all products from the same manufacturer.
-
#number_of_ratings ⇒ Object
The number of ratings for the item.
-
#number_of_reviews ⇒ Object
The number of reviews available for the item.
-
#pattern ⇒ Object
The description of the pattern used for the product.
-
#price ⇒ Object
The price of the product.
-
#product_type ⇒ Object
<p><= 1000 characters</p> <p>The categorization of your product based on your custom product taxonomy.
-
#promotion_id ⇒ Object
A unique identifier referencing the promotion associated with this catalog item.
-
#sale_price ⇒ Object
The discounted price of the product.
-
#sale_price_effective_date ⇒ Object
Sale price effective date.
-
#save_pin_disabled ⇒ Object
By default, product pins created from a catalog are able to be saved by Pinners.
-
#shipping ⇒ Object
Shipping consists of one group of up to four elements, country, region, service (all optional) and price (required).
-
#shipping_height ⇒ Object
The height of the package needed to ship the product.
-
#shipping_weight ⇒ Object
The weight of the product.
-
#shipping_width ⇒ Object
The width of the package needed to ship the product.
-
#size ⇒ Object
The size of the product.
-
#size_system ⇒ Object
Indicates the country’s sizing system in which you are submitting your product.
-
#size_type ⇒ Object
Additional description for the size.
-
#tax ⇒ Object
Tax consists of one group of up to four elements, country, region, rate (all required) and tax_ship (optional).
-
#title ⇒ Object
<p><= 500 characters</p> <p>The name of the product.</p>.
-
#unit_pricing_base_measure ⇒ Object
Unit pricing base measure of the product.
-
#unit_pricing_measure ⇒ Object
Unit pricing total measure of the product.
-
#variant_names ⇒ Object
Options for this variant.
-
#variant_values ⇒ Object
Option values for this variant.
-
#video_link ⇒ Object
<p><= 2,000 characters</p> <p>Hosted link to the product video.</p> <p>File types for linked videos must be .mp4, .mov or .m4v.</p> <p>File size cannot exceed 2GB.</p>.
Class Method Summary collapse
-
.acceptable_attribute_map ⇒ Object
Returns attribute mapping this model knows about.
-
.acceptable_attributes ⇒ Object
Returns all the JSON keys this model knows about.
-
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
-
.build_from_hash(attributes) ⇒ Object
Builds the object from hash.
-
.openapi_all_of ⇒ Object
List of class defined in allOf (OpenAPI v3).
-
.openapi_nullable ⇒ Object
List of attributes with nullable: true.
-
.openapi_types ⇒ Object
Attribute type mapping.
Instance Method Summary collapse
-
#==(o) ⇒ Object
Checks equality by comparing each attribute.
- #eql?(o) ⇒ Boolean
-
#hash ⇒ Integer
Calculates hash code according to all attributes.
-
#initialize(attributes = {}) ⇒ ItemAttributesRequest
constructor
Initializes the object.
-
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons.
-
#to_hash ⇒ Hash
Returns the object in the form of hash.
-
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid.
Methods inherited from ApiModelBase
_deserialize, #_to_hash, #to_body, #to_s
Constructor Details
#initialize(attributes = {}) ⇒ ItemAttributesRequest
Initializes the object
685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 685 def initialize(attributes = {}) if (!attributes.is_a?(Hash)) fail ArgumentError, "The input argument (attributes) must be a hash in `PinterestSdkClient::ItemAttributesRequest` initialize method" end # check to see if the attribute exists and convert string to symbol for hash key acceptable_attribute_map = self.class.acceptable_attribute_map attributes = attributes.each_with_object({}) { |(k, v), h| if (!acceptable_attribute_map.key?(k.to_sym)) fail ArgumentError, "`#{k}` is not a valid attribute in `PinterestSdkClient::ItemAttributesRequest`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect end h[k.to_sym] = v } if attributes.key?(:'ad_image_0_link') self.ad_image_0_link = attributes[:'ad_image_0_link'] end if attributes.key?(:'ad_image_0_tag') self.ad_image_0_tag = attributes[:'ad_image_0_tag'] end if attributes.key?(:'ad_image_10_link') self.ad_image_10_link = attributes[:'ad_image_10_link'] end if attributes.key?(:'ad_image_10_tag') self.ad_image_10_tag = attributes[:'ad_image_10_tag'] end if attributes.key?(:'ad_image_11_link') self.ad_image_11_link = attributes[:'ad_image_11_link'] end if attributes.key?(:'ad_image_11_tag') self.ad_image_11_tag = attributes[:'ad_image_11_tag'] end if attributes.key?(:'ad_image_12_link') self.ad_image_12_link = attributes[:'ad_image_12_link'] end if attributes.key?(:'ad_image_12_tag') self.ad_image_12_tag = attributes[:'ad_image_12_tag'] end if attributes.key?(:'ad_image_13_link') self.ad_image_13_link = attributes[:'ad_image_13_link'] end if attributes.key?(:'ad_image_13_tag') self.ad_image_13_tag = attributes[:'ad_image_13_tag'] end if attributes.key?(:'ad_image_14_link') self.ad_image_14_link = attributes[:'ad_image_14_link'] end if attributes.key?(:'ad_image_14_tag') self.ad_image_14_tag = attributes[:'ad_image_14_tag'] end if attributes.key?(:'ad_image_15_link') self.ad_image_15_link = attributes[:'ad_image_15_link'] end if attributes.key?(:'ad_image_15_tag') self.ad_image_15_tag = attributes[:'ad_image_15_tag'] end if attributes.key?(:'ad_image_16_link') self.ad_image_16_link = attributes[:'ad_image_16_link'] end if attributes.key?(:'ad_image_16_tag') self.ad_image_16_tag = attributes[:'ad_image_16_tag'] end if attributes.key?(:'ad_image_17_link') self.ad_image_17_link = attributes[:'ad_image_17_link'] end if attributes.key?(:'ad_image_17_tag') self.ad_image_17_tag = attributes[:'ad_image_17_tag'] end if attributes.key?(:'ad_image_18_link') self.ad_image_18_link = attributes[:'ad_image_18_link'] end if attributes.key?(:'ad_image_18_tag') self.ad_image_18_tag = attributes[:'ad_image_18_tag'] end if attributes.key?(:'ad_image_19_link') self.ad_image_19_link = attributes[:'ad_image_19_link'] end if attributes.key?(:'ad_image_19_tag') self.ad_image_19_tag = attributes[:'ad_image_19_tag'] end if attributes.key?(:'ad_image_1_link') self.ad_image_1_link = attributes[:'ad_image_1_link'] end if attributes.key?(:'ad_image_1_tag') self.ad_image_1_tag = attributes[:'ad_image_1_tag'] end if attributes.key?(:'ad_image_2_link') self.ad_image_2_link = attributes[:'ad_image_2_link'] end if attributes.key?(:'ad_image_2_tag') self.ad_image_2_tag = attributes[:'ad_image_2_tag'] end if attributes.key?(:'ad_image_3_link') self.ad_image_3_link = attributes[:'ad_image_3_link'] end if attributes.key?(:'ad_image_3_tag') self.ad_image_3_tag = attributes[:'ad_image_3_tag'] end if attributes.key?(:'ad_image_4_link') self.ad_image_4_link = attributes[:'ad_image_4_link'] end if attributes.key?(:'ad_image_4_tag') self.ad_image_4_tag = attributes[:'ad_image_4_tag'] end if attributes.key?(:'ad_image_5_link') self.ad_image_5_link = attributes[:'ad_image_5_link'] end if attributes.key?(:'ad_image_5_tag') self.ad_image_5_tag = attributes[:'ad_image_5_tag'] end if attributes.key?(:'ad_image_6_link') self.ad_image_6_link = attributes[:'ad_image_6_link'] end if attributes.key?(:'ad_image_6_tag') self.ad_image_6_tag = attributes[:'ad_image_6_tag'] end if attributes.key?(:'ad_image_7_link') self.ad_image_7_link = attributes[:'ad_image_7_link'] end if attributes.key?(:'ad_image_7_tag') self.ad_image_7_tag = attributes[:'ad_image_7_tag'] end if attributes.key?(:'ad_image_8_link') self.ad_image_8_link = attributes[:'ad_image_8_link'] end if attributes.key?(:'ad_image_8_tag') self.ad_image_8_tag = attributes[:'ad_image_8_tag'] end if attributes.key?(:'ad_image_9_link') self.ad_image_9_link = attributes[:'ad_image_9_link'] end if attributes.key?(:'ad_image_9_tag') self.ad_image_9_tag = attributes[:'ad_image_9_tag'] end if attributes.key?(:'ad_link') self.ad_link = attributes[:'ad_link'] end if attributes.key?(:'ad_video_0_link') self.ad_video_0_link = attributes[:'ad_video_0_link'] end if attributes.key?(:'ad_video_0_tag') self.ad_video_0_tag = attributes[:'ad_video_0_tag'] end if attributes.key?(:'ad_video_1_link') self.ad_video_1_link = attributes[:'ad_video_1_link'] end if attributes.key?(:'ad_video_1_tag') self.ad_video_1_tag = attributes[:'ad_video_1_tag'] end if attributes.key?(:'ad_video_2_link') self.ad_video_2_link = attributes[:'ad_video_2_link'] end if attributes.key?(:'ad_video_2_tag') self.ad_video_2_tag = attributes[:'ad_video_2_tag'] end if attributes.key?(:'adult') self.adult = attributes[:'adult'] end if attributes.key?(:'age_group') self.age_group = attributes[:'age_group'] end if attributes.key?(:'android_deep_link') self.android_deep_link = attributes[:'android_deep_link'] end if attributes.key?(:'availability') self.availability = attributes[:'availability'] end if attributes.key?(:'average_review_rating') self. = attributes[:'average_review_rating'] end if attributes.key?(:'brand') self.brand = attributes[:'brand'] end if attributes.key?(:'checkout_enabled') self.checkout_enabled = attributes[:'checkout_enabled'] end if attributes.key?(:'color') self.color = attributes[:'color'] end if attributes.key?(:'condition') self.condition = attributes[:'condition'] end if attributes.key?(:'custom_label_0') self.custom_label_0 = attributes[:'custom_label_0'] end if attributes.key?(:'custom_label_1') self.custom_label_1 = attributes[:'custom_label_1'] end if attributes.key?(:'custom_label_2') self.custom_label_2 = attributes[:'custom_label_2'] end if attributes.key?(:'custom_label_3') self.custom_label_3 = attributes[:'custom_label_3'] end if attributes.key?(:'custom_label_4') self.custom_label_4 = attributes[:'custom_label_4'] end if attributes.key?(:'custom_number_0') self.custom_number_0 = attributes[:'custom_number_0'] end if attributes.key?(:'custom_number_1') self.custom_number_1 = attributes[:'custom_number_1'] end if attributes.key?(:'custom_number_2') self.custom_number_2 = attributes[:'custom_number_2'] end if attributes.key?(:'custom_number_3') self.custom_number_3 = attributes[:'custom_number_3'] end if attributes.key?(:'custom_number_4') self.custom_number_4 = attributes[:'custom_number_4'] end if attributes.key?(:'description') self.description = attributes[:'description'] end if attributes.key?(:'free_shipping_label') self.free_shipping_label = attributes[:'free_shipping_label'] end if attributes.key?(:'free_shipping_limit') self.free_shipping_limit = attributes[:'free_shipping_limit'] end if attributes.key?(:'gender') self.gender = attributes[:'gender'] end if attributes.key?(:'google_product_category') self.google_product_category = attributes[:'google_product_category'] end if attributes.key?(:'gtin') self.gtin = attributes[:'gtin'] end if attributes.key?(:'id') self.id = attributes[:'id'] end if attributes.key?(:'installment_price') self.installment_price = attributes[:'installment_price'] end if attributes.key?(:'ios_deep_link') self.ios_deep_link = attributes[:'ios_deep_link'] end if attributes.key?(:'item_group_id') self.item_group_id = attributes[:'item_group_id'] end if attributes.key?(:'last_updated_time') self.last_updated_time = attributes[:'last_updated_time'] end if attributes.key?(:'link') self.link = attributes[:'link'] end if attributes.key?(:'material') self.material = attributes[:'material'] end if attributes.key?(:'min_ad_price') self.min_ad_price = attributes[:'min_ad_price'] end if attributes.key?(:'mobile_link') self.mobile_link = attributes[:'mobile_link'] end if attributes.key?(:'mpn') self.mpn = attributes[:'mpn'] end if attributes.key?(:'number_of_ratings') self. = attributes[:'number_of_ratings'] end if attributes.key?(:'number_of_reviews') self.number_of_reviews = attributes[:'number_of_reviews'] end if attributes.key?(:'pattern') self.pattern = attributes[:'pattern'] end if attributes.key?(:'price') self.price = attributes[:'price'] end if attributes.key?(:'product_type') self.product_type = attributes[:'product_type'] end if attributes.key?(:'promotion_id') self.promotion_id = attributes[:'promotion_id'] end if attributes.key?(:'sale_price') self.sale_price = attributes[:'sale_price'] end if attributes.key?(:'sale_price_effective_date') self.sale_price_effective_date = attributes[:'sale_price_effective_date'] end if attributes.key?(:'shipping') self.shipping = attributes[:'shipping'] end if attributes.key?(:'shipping_height') self.shipping_height = attributes[:'shipping_height'] end if attributes.key?(:'shipping_weight') self.shipping_weight = attributes[:'shipping_weight'] end if attributes.key?(:'shipping_width') self.shipping_width = attributes[:'shipping_width'] end if attributes.key?(:'size') self.size = attributes[:'size'] end if attributes.key?(:'size_system') self.size_system = attributes[:'size_system'] end if attributes.key?(:'size_type') self.size_type = attributes[:'size_type'] end if attributes.key?(:'tax') self.tax = attributes[:'tax'] end if attributes.key?(:'title') self.title = attributes[:'title'] end if attributes.key?(:'unit_pricing_base_measure') self.unit_pricing_base_measure = attributes[:'unit_pricing_base_measure'] end if attributes.key?(:'unit_pricing_measure') self.unit_pricing_measure = attributes[:'unit_pricing_measure'] end if attributes.key?(:'variant_names') if (value = attributes[:'variant_names']).is_a?(Array) self.variant_names = value end end if attributes.key?(:'variant_values') if (value = attributes[:'variant_values']).is_a?(Array) self.variant_values = value end end if attributes.key?(:'additional_image_link') if (value = attributes[:'additional_image_link']).is_a?(Array) self.additional_image_link = value end end if attributes.key?(:'image_link') self.image_link = attributes[:'image_link'] end if attributes.key?(:'save_pin_disabled') self.save_pin_disabled = attributes[:'save_pin_disabled'] else self.save_pin_disabled = false end if attributes.key?(:'video_link') self.video_link = attributes[:'video_link'] end end |
Instance Attribute Details
#ad_image_0_link ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 2000 characters</p> <p>Ad image link that supplements main image for shopping campaigns.</p> <p>Image format:</p> <ul> <li>Pixel size at least 75 x 75</li> </ul> <p>Link guidelines:</p> <ul> <li>Include extension in file name</li> <li>Do not include template or placeholder images in link</li> <li>Make URL accessible to Pinterest user-agent</li> <li>Must start with http:// or https://</li> </ul>
19 20 21 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 19 def ad_image_0_link @ad_image_0_link end |
#ad_image_0_tag ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 511 characters</p> <p>If you provide an ad_image_x_link, include the image tag with the corresponding ad_image_x_tag attribute.</p>
22 23 24 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 22 def ad_image_0_tag @ad_image_0_tag end |
#ad_image_10_link ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 2000 characters</p> <p>Ad image link that supplements main image for shopping campaigns.</p> <p>Image format:</p> <ul> <li>Pixel size at least 75 x 75</li> </ul> <p>Link guidelines:</p> <ul> <li>Include extension in file name</li> <li>Do not include template or placeholder images in link</li> <li>Make URL accessible to Pinterest user-agent</li> <li>Must start with http:// or https://</li> </ul>
25 26 27 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 25 def ad_image_10_link @ad_image_10_link end |
#ad_image_10_tag ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 511 characters</p> <p>If you provide an ad_image_x_link, include the image tag with the corresponding ad_image_x_tag attribute.</p>
28 29 30 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 28 def ad_image_10_tag @ad_image_10_tag end |
#ad_image_11_link ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 2000 characters</p> <p>Ad image link that supplements main image for shopping campaigns.</p> <p>Image format:</p> <ul> <li>Pixel size at least 75 x 75</li> </ul> <p>Link guidelines:</p> <ul> <li>Include extension in file name</li> <li>Do not include template or placeholder images in link</li> <li>Make URL accessible to Pinterest user-agent</li> <li>Must start with http:// or https://</li> </ul>
31 32 33 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 31 def ad_image_11_link @ad_image_11_link end |
#ad_image_11_tag ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 511 characters</p> <p>If you provide an ad_image_x_link, include the image tag with the corresponding ad_image_x_tag attribute.</p>
34 35 36 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 34 def ad_image_11_tag @ad_image_11_tag end |
#ad_image_12_link ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 2000 characters</p> <p>Ad image link that supplements main image for shopping campaigns.</p> <p>Image format:</p> <ul> <li>Pixel size at least 75 x 75</li> </ul> <p>Link guidelines:</p> <ul> <li>Include extension in file name</li> <li>Do not include template or placeholder images in link</li> <li>Make URL accessible to Pinterest user-agent</li> <li>Must start with http:// or https://</li> </ul>
37 38 39 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 37 def ad_image_12_link @ad_image_12_link end |
#ad_image_12_tag ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 511 characters</p> <p>If you provide an ad_image_x_link, include the image tag with the corresponding ad_image_x_tag attribute.</p>
40 41 42 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 40 def ad_image_12_tag @ad_image_12_tag end |
#ad_image_13_link ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 2000 characters</p> <p>Ad image link that supplements main image for shopping campaigns.</p> <p>Image format:</p> <ul> <li>Pixel size at least 75 x 75</li> </ul> <p>Link guidelines:</p> <ul> <li>Include extension in file name</li> <li>Do not include template or placeholder images in link</li> <li>Make URL accessible to Pinterest user-agent</li> <li>Must start with http:// or https://</li> </ul>
43 44 45 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 43 def ad_image_13_link @ad_image_13_link end |
#ad_image_13_tag ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 511 characters</p> <p>If you provide an ad_image_x_link, include the image tag with the corresponding ad_image_x_tag attribute.</p>
46 47 48 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 46 def ad_image_13_tag @ad_image_13_tag end |
#ad_image_14_link ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 2000 characters</p> <p>Ad image link that supplements main image for shopping campaigns.</p> <p>Image format:</p> <ul> <li>Pixel size at least 75 x 75</li> </ul> <p>Link guidelines:</p> <ul> <li>Include extension in file name</li> <li>Do not include template or placeholder images in link</li> <li>Make URL accessible to Pinterest user-agent</li> <li>Must start with http:// or https://</li> </ul>
49 50 51 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 49 def ad_image_14_link @ad_image_14_link end |
#ad_image_14_tag ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 511 characters</p> <p>If you provide an ad_image_x_link, include the image tag with the corresponding ad_image_x_tag attribute.</p>
52 53 54 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 52 def ad_image_14_tag @ad_image_14_tag end |
#ad_image_15_link ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 2000 characters</p> <p>Ad image link that supplements main image for shopping campaigns.</p> <p>Image format:</p> <ul> <li>Pixel size at least 75 x 75</li> </ul> <p>Link guidelines:</p> <ul> <li>Include extension in file name</li> <li>Do not include template or placeholder images in link</li> <li>Make URL accessible to Pinterest user-agent</li> <li>Must start with http:// or https://</li> </ul>
55 56 57 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 55 def ad_image_15_link @ad_image_15_link end |
#ad_image_15_tag ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 511 characters</p> <p>If you provide an ad_image_x_link, include the image tag with the corresponding ad_image_x_tag attribute.</p>
58 59 60 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 58 def ad_image_15_tag @ad_image_15_tag end |
#ad_image_16_link ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 2000 characters</p> <p>Ad image link that supplements main image for shopping campaigns.</p> <p>Image format:</p> <ul> <li>Pixel size at least 75 x 75</li> </ul> <p>Link guidelines:</p> <ul> <li>Include extension in file name</li> <li>Do not include template or placeholder images in link</li> <li>Make URL accessible to Pinterest user-agent</li> <li>Must start with http:// or https://</li> </ul>
61 62 63 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 61 def ad_image_16_link @ad_image_16_link end |
#ad_image_16_tag ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 511 characters</p> <p>If you provide an ad_image_x_link, include the image tag with the corresponding ad_image_x_tag attribute.</p>
64 65 66 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 64 def ad_image_16_tag @ad_image_16_tag end |
#ad_image_17_link ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 2000 characters</p> <p>Ad image link that supplements main image for shopping campaigns.</p> <p>Image format:</p> <ul> <li>Pixel size at least 75 x 75</li> </ul> <p>Link guidelines:</p> <ul> <li>Include extension in file name</li> <li>Do not include template or placeholder images in link</li> <li>Make URL accessible to Pinterest user-agent</li> <li>Must start with http:// or https://</li> </ul>
67 68 69 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 67 def ad_image_17_link @ad_image_17_link end |
#ad_image_17_tag ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 511 characters</p> <p>If you provide an ad_image_x_link, include the image tag with the corresponding ad_image_x_tag attribute.</p>
70 71 72 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 70 def ad_image_17_tag @ad_image_17_tag end |
#ad_image_18_link ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 2000 characters</p> <p>Ad image link that supplements main image for shopping campaigns.</p> <p>Image format:</p> <ul> <li>Pixel size at least 75 x 75</li> </ul> <p>Link guidelines:</p> <ul> <li>Include extension in file name</li> <li>Do not include template or placeholder images in link</li> <li>Make URL accessible to Pinterest user-agent</li> <li>Must start with http:// or https://</li> </ul>
73 74 75 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 73 def ad_image_18_link @ad_image_18_link end |
#ad_image_18_tag ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 511 characters</p> <p>If you provide an ad_image_x_link, include the image tag with the corresponding ad_image_x_tag attribute.</p>
76 77 78 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 76 def ad_image_18_tag @ad_image_18_tag end |
#ad_image_19_link ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 2000 characters</p> <p>Ad image link that supplements main image for shopping campaigns.</p> <p>Image format:</p> <ul> <li>Pixel size at least 75 x 75</li> </ul> <p>Link guidelines:</p> <ul> <li>Include extension in file name</li> <li>Do not include template or placeholder images in link</li> <li>Make URL accessible to Pinterest user-agent</li> <li>Must start with http:// or https://</li> </ul>
79 80 81 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 79 def ad_image_19_link @ad_image_19_link end |
#ad_image_19_tag ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 511 characters</p> <p>If you provide an ad_image_x_link, include the image tag with the corresponding ad_image_x_tag attribute.</p>
82 83 84 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 82 def ad_image_19_tag @ad_image_19_tag end |
#ad_image_1_link ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 2000 characters</p> <p>Ad image link that supplements main image for shopping campaigns.</p> <p>Image format:</p> <ul> <li>Pixel size at least 75 x 75</li> </ul> <p>Link guidelines:</p> <ul> <li>Include extension in file name</li> <li>Do not include template or placeholder images in link</li> <li>Make URL accessible to Pinterest user-agent</li> <li>Must start with http:// or https://</li> </ul>
85 86 87 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 85 def ad_image_1_link @ad_image_1_link end |
#ad_image_1_tag ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 511 characters</p> <p>If you provide an ad_image_x_link, include the image tag with the corresponding ad_image_x_tag attribute.</p>
88 89 90 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 88 def ad_image_1_tag @ad_image_1_tag end |
#ad_image_2_link ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 2000 characters</p> <p>Ad image link that supplements main image for shopping campaigns.</p> <p>Image format:</p> <ul> <li>Pixel size at least 75 x 75</li> </ul> <p>Link guidelines:</p> <ul> <li>Include extension in file name</li> <li>Do not include template or placeholder images in link</li> <li>Make URL accessible to Pinterest user-agent</li> <li>Must start with http:// or https://</li> </ul>
91 92 93 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 91 def ad_image_2_link @ad_image_2_link end |
#ad_image_2_tag ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 511 characters</p> <p>If you provide an ad_image_x_link, include the image tag with the corresponding ad_image_x_tag attribute.</p>
94 95 96 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 94 def ad_image_2_tag @ad_image_2_tag end |
#ad_image_3_link ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 2000 characters</p> <p>Ad image link that supplements main image for shopping campaigns.</p> <p>Image format:</p> <ul> <li>Pixel size at least 75 x 75</li> </ul> <p>Link guidelines:</p> <ul> <li>Include extension in file name</li> <li>Do not include template or placeholder images in link</li> <li>Make URL accessible to Pinterest user-agent</li> <li>Must start with http:// or https://</li> </ul>
97 98 99 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 97 def ad_image_3_link @ad_image_3_link end |
#ad_image_3_tag ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 511 characters</p> <p>If you provide an ad_image_x_link, include the image tag with the corresponding ad_image_x_tag attribute.</p>
100 101 102 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 100 def ad_image_3_tag @ad_image_3_tag end |
#ad_image_4_link ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 2000 characters</p> <p>Ad image link that supplements main image for shopping campaigns.</p> <p>Image format:</p> <ul> <li>Pixel size at least 75 x 75</li> </ul> <p>Link guidelines:</p> <ul> <li>Include extension in file name</li> <li>Do not include template or placeholder images in link</li> <li>Make URL accessible to Pinterest user-agent</li> <li>Must start with http:// or https://</li> </ul>
103 104 105 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 103 def ad_image_4_link @ad_image_4_link end |
#ad_image_4_tag ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 511 characters</p> <p>If you provide an ad_image_x_link, include the image tag with the corresponding ad_image_x_tag attribute.</p>
106 107 108 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 106 def ad_image_4_tag @ad_image_4_tag end |
#ad_image_5_link ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 2000 characters</p> <p>Ad image link that supplements main image for shopping campaigns.</p> <p>Image format:</p> <ul> <li>Pixel size at least 75 x 75</li> </ul> <p>Link guidelines:</p> <ul> <li>Include extension in file name</li> <li>Do not include template or placeholder images in link</li> <li>Make URL accessible to Pinterest user-agent</li> <li>Must start with http:// or https://</li> </ul>
109 110 111 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 109 def ad_image_5_link @ad_image_5_link end |
#ad_image_5_tag ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 511 characters</p> <p>If you provide an ad_image_x_link, include the image tag with the corresponding ad_image_x_tag attribute.</p>
112 113 114 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 112 def ad_image_5_tag @ad_image_5_tag end |
#ad_image_6_link ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 2000 characters</p> <p>Ad image link that supplements main image for shopping campaigns.</p> <p>Image format:</p> <ul> <li>Pixel size at least 75 x 75</li> </ul> <p>Link guidelines:</p> <ul> <li>Include extension in file name</li> <li>Do not include template or placeholder images in link</li> <li>Make URL accessible to Pinterest user-agent</li> <li>Must start with http:// or https://</li> </ul>
115 116 117 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 115 def ad_image_6_link @ad_image_6_link end |
#ad_image_6_tag ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 511 characters</p> <p>If you provide an ad_image_x_link, include the image tag with the corresponding ad_image_x_tag attribute.</p>
118 119 120 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 118 def ad_image_6_tag @ad_image_6_tag end |
#ad_image_7_link ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 2000 characters</p> <p>Ad image link that supplements main image for shopping campaigns.</p> <p>Image format:</p> <ul> <li>Pixel size at least 75 x 75</li> </ul> <p>Link guidelines:</p> <ul> <li>Include extension in file name</li> <li>Do not include template or placeholder images in link</li> <li>Make URL accessible to Pinterest user-agent</li> <li>Must start with http:// or https://</li> </ul>
121 122 123 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 121 def ad_image_7_link @ad_image_7_link end |
#ad_image_7_tag ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 511 characters</p> <p>If you provide an ad_image_x_link, include the image tag with the corresponding ad_image_x_tag attribute.</p>
124 125 126 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 124 def ad_image_7_tag @ad_image_7_tag end |
#ad_image_8_link ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 2000 characters</p> <p>Ad image link that supplements main image for shopping campaigns.</p> <p>Image format:</p> <ul> <li>Pixel size at least 75 x 75</li> </ul> <p>Link guidelines:</p> <ul> <li>Include extension in file name</li> <li>Do not include template or placeholder images in link</li> <li>Make URL accessible to Pinterest user-agent</li> <li>Must start with http:// or https://</li> </ul>
127 128 129 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 127 def ad_image_8_link @ad_image_8_link end |
#ad_image_8_tag ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 511 characters</p> <p>If you provide an ad_image_x_link, include the image tag with the corresponding ad_image_x_tag attribute.</p>
130 131 132 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 130 def ad_image_8_tag @ad_image_8_tag end |
#ad_image_9_link ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 2000 characters</p> <p>Ad image link that supplements main image for shopping campaigns.</p> <p>Image format:</p> <ul> <li>Pixel size at least 75 x 75</li> </ul> <p>Link guidelines:</p> <ul> <li>Include extension in file name</li> <li>Do not include template or placeholder images in link</li> <li>Make URL accessible to Pinterest user-agent</li> <li>Must start with http:// or https://</li> </ul>
133 134 135 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 133 def ad_image_9_link @ad_image_9_link end |
#ad_image_9_tag ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 511 characters</p> <p>If you provide an ad_image_x_link, include the image tag with the corresponding ad_image_x_tag attribute.</p>
136 137 138 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 136 def ad_image_9_tag @ad_image_9_tag end |
#ad_link ⇒ Object
Allows advertisers to specify a separate URL that can be used to track traffic coming from Pinterest shopping ads. Must send full URL including tracking—do not send tracking parameters only. At this time we do not support impression tracking. Must begin with http:// or https://.
139 140 141 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 139 def ad_link @ad_link end |
#ad_video_0_link ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 2000 characters</p> <p>Ad video link that supplements main video for shopping campaigns.</p> <p>Video format:</p> <ul> <li>Pixel size between 75 x 75 and 9450 x 9450</li> <li>File size smaller than 2 GB</li> <li>Time span between 4 seconds and 15 minutes</li> <li>Accepted formats: .MP4, .MOV, .M4V</li> </ul> <p>Link guidelines:</p> <ul> <li>Include extension in file name</li> <li>Do not include template or placeholder videos in link</li> <li>Make URL accessible to Pinterest user-agent</li> <li>Must start with http:// or https://</li> </ul>
142 143 144 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 142 def ad_video_0_link @ad_video_0_link end |
#ad_video_0_tag ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 511 characters</p> <p>If you provide an ad_video_x_link, include the video tag with the corresponding ad_video_x_tag attribute.</p>
145 146 147 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 145 def ad_video_0_tag @ad_video_0_tag end |
#ad_video_1_link ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 2000 characters</p> <p>Ad video link that supplements main video for shopping campaigns.</p> <p>Video format:</p> <ul> <li>Pixel size between 75 x 75 and 9450 x 9450</li> <li>File size smaller than 2 GB</li> <li>Time span between 4 seconds and 15 minutes</li> <li>Accepted formats: .MP4, .MOV, .M4V</li> </ul> <p>Link guidelines:</p> <ul> <li>Include extension in file name</li> <li>Do not include template or placeholder videos in link</li> <li>Make URL accessible to Pinterest user-agent</li> <li>Must start with http:// or https://</li> </ul>
148 149 150 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 148 def ad_video_1_link @ad_video_1_link end |
#ad_video_1_tag ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 511 characters</p> <p>If you provide an ad_video_x_link, include the video tag with the corresponding ad_video_x_tag attribute.</p>
151 152 153 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 151 def ad_video_1_tag @ad_video_1_tag end |
#ad_video_2_link ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 2000 characters</p> <p>Ad video link that supplements main video for shopping campaigns.</p> <p>Video format:</p> <ul> <li>Pixel size between 75 x 75 and 9450 x 9450</li> <li>File size smaller than 2 GB</li> <li>Time span between 4 seconds and 15 minutes</li> <li>Accepted formats: .MP4, .MOV, .M4V</li> </ul> <p>Link guidelines:</p> <ul> <li>Include extension in file name</li> <li>Do not include template or placeholder videos in link</li> <li>Make URL accessible to Pinterest user-agent</li> <li>Must start with http:// or https://</li> </ul>
154 155 156 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 154 def ad_video_2_link @ad_video_2_link end |
#ad_video_2_tag ⇒ Object
<a href="/docs/getting-started/using-beta-and-restricted-features/" target="blank" target="blank">Restricted</a> <p><= 511 characters</p> <p>If you provide an ad_video_x_link, include the video tag with the corresponding ad_video_x_tag attribute.</p>
157 158 159 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 157 def ad_video_2_tag @ad_video_2_tag end |
#additional_image_link ⇒ Object
<p><= 2000 characters</p> <p>The links to additional images for your product. Up to ten additional images can be used to show a product from different angles or to show different stages. Must begin with http:// or https://.</p>
327 328 329 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 327 def additional_image_link @additional_image_link end |
#adult ⇒ Object
Set this attribute to TRUE if you’re submitting items that are considered “adult”. These will not be shown on Pinterest.
160 161 162 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 160 def adult @adult end |
#age_group ⇒ Object
The age group to apply a demographic range to the product. Must be one of the following values (upper or lowercased): ‘newborn’, ‘infant’, ‘toddler’, ‘kids’, or ‘adult’.
163 164 165 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 163 def age_group @age_group end |
#android_deep_link ⇒ Object
The deep link to the product on the Android app.
166 167 168 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 166 def android_deep_link @android_deep_link end |
#availability ⇒ Object
The availability of the product. Must be one of the following values (upper or lowercased): ‘in stock’, ‘out of stock’, ‘preorder’.
169 170 171 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 169 def availability @availability end |
#average_review_rating ⇒ Object
Average reviews for the item. Can be a number from 1-5.
172 173 174 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 172 def end |
#brand ⇒ Object
The brand of the product.
175 176 177 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 175 def brand @brand end |
#checkout_enabled ⇒ Object
This attribute is not supported anymore.
178 179 180 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 178 def checkout_enabled @checkout_enabled end |
#color ⇒ Object
The primary color of the product.
181 182 183 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 181 def color @color end |
#condition ⇒ Object
The condition of the product. Must be one of the following values (upper or lowercased): ‘new’, ‘used’, or ‘refurbished’.
184 185 186 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 184 def condition @condition end |
#custom_label_0 ⇒ Object
<p><= 511 characters for retail and creative asset catalogs, <= 127 characters for hotel catalogs</p> <p>Custom grouping of products.</p>
187 188 189 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 187 def custom_label_0 @custom_label_0 end |
#custom_label_1 ⇒ Object
<p><= 511 characters for retail and creative asset catalogs, <= 127 characters for hotel catalogs</p> <p>Custom grouping of products.</p>
190 191 192 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 190 def custom_label_1 @custom_label_1 end |
#custom_label_2 ⇒ Object
<p><= 511 characters for retail and creative asset catalogs, <= 127 characters for hotel catalogs</p> <p>Custom grouping of products.</p>
193 194 195 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 193 def custom_label_2 @custom_label_2 end |
#custom_label_3 ⇒ Object
<p><= 511 characters for retail and creative asset catalogs, <= 127 characters for hotel catalogs</p> <p>Custom grouping of products.</p>
196 197 198 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 196 def custom_label_3 @custom_label_3 end |
#custom_label_4 ⇒ Object
<p><= 511 characters for retail and creative asset catalogs, <= 127 characters for hotel catalogs</p> <p>Custom grouping of products.</p>
199 200 201 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 199 def custom_label_4 @custom_label_4 end |
#custom_number_0 ⇒ Object
an attribute for any integer information ranging from 0 to 4,294,967,295, which can be used to group items.
202 203 204 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 202 def custom_number_0 @custom_number_0 end |
#custom_number_1 ⇒ Object
an attribute for any integer information ranging from 0 to 4,294,967,295, which can be used to group items.
205 206 207 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 205 def custom_number_1 @custom_number_1 end |
#custom_number_2 ⇒ Object
an attribute for any integer information ranging from 0 to 4,294,967,295, which can be used to group items.
208 209 210 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 208 def custom_number_2 @custom_number_2 end |
#custom_number_3 ⇒ Object
an attribute for any integer information ranging from 0 to 4,294,967,295, which can be used to group items.
211 212 213 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 211 def custom_number_3 @custom_number_3 end |
#custom_number_4 ⇒ Object
an attribute for any integer information ranging from 0 to 4,294,967,295, which can be used to group items.
214 215 216 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 214 def custom_number_4 @custom_number_4 end |
#description ⇒ Object
<p><= 10000 characters</p> <p>The description of the product.</p>
217 218 219 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 217 def description @description end |
#free_shipping_label ⇒ Object
The item is free to ship.
220 221 222 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 220 def free_shipping_label @free_shipping_label end |
#free_shipping_limit ⇒ Object
The minimum order purchase necessary for the customer to get free shipping. Only relevant if free shipping is offered.
223 224 225 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 223 def free_shipping_limit @free_shipping_limit end |
#gender ⇒ Object
The gender associated with the product. Must be one of the following values (upper or lowercased): ‘male’, ‘female’, or ‘unisex’.
226 227 228 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 226 def gender @gender end |
#google_product_category ⇒ Object
The categorization of the product based on the standardized Google Product Taxonomy. This is a set taxonomy. Both the text values and numeric codes are accepted.
229 230 231 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 229 def google_product_category @google_product_category end |
#gtin ⇒ Object
Returns the value of attribute gtin.
231 232 233 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 231 def gtin @gtin end |
#id ⇒ Object
<p><= 127 characters</p> <p>The user-created unique ID that represents the product. Only Unicode characters are accepted.</p>
234 235 236 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 234 def id @id end |
#image_link ⇒ Object
Returns the value of attribute image_link.
329 330 331 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 329 def image_link @image_link end |
#installment_price ⇒ Object
Installment price of the product. This data will only be shown to pinners in the enabled countries. Expected format: <payment_count>:<payment_amount> <currency>
237 238 239 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 237 def installment_price @installment_price end |
#ios_deep_link ⇒ Object
The deep link to the product on the iOS app.
240 241 242 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 240 def ios_deep_link @ios_deep_link end |
#item_group_id ⇒ Object
<p><= 127 characters</p> <p>The parent ID of the product.</p>
243 244 245 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 243 def item_group_id @item_group_id end |
#last_updated_time ⇒ Object
The millisecond timestamp when the item was lastly modified by the merchant.
246 247 248 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 246 def last_updated_time @last_updated_time end |
#link ⇒ Object
<p><= 511 characters</p> <p>The landing page for the product.</p>
249 250 251 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 249 def link @link end |
#material ⇒ Object
The material used to make the product.
252 253 254 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 252 def material @material end |
#min_ad_price ⇒ Object
The minimum advertised price of the product. It supports the following formats, "19.99 USD", "19.99USD" and "19.99". If the currency is not included, we default to US dollars.
255 256 257 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 255 def min_ad_price @min_ad_price end |
#mobile_link ⇒ Object
The mobile-optimized version of your landing page. Must begin with http:// or https://.
258 259 260 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 258 def mobile_link @mobile_link end |
#mpn ⇒ Object
Manufacturer Part Number are alpha-numeric codes created by the manufacturer of a product to uniquely identify it among all products from the same manufacturer.
261 262 263 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 261 def mpn @mpn end |
#number_of_ratings ⇒ Object
The number of ratings for the item.
264 265 266 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 264 def end |
#number_of_reviews ⇒ Object
The number of reviews available for the item.
267 268 269 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 267 def number_of_reviews @number_of_reviews end |
#pattern ⇒ Object
The description of the pattern used for the product.
270 271 272 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 270 def pattern @pattern end |
#price ⇒ Object
The price of the product. It supports the following formats, "24.99 USD", "24.99USD" and "24.99". If the currency is not included, we default to US dollars.
273 274 275 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 273 def price @price end |
#product_type ⇒ Object
<p><= 1000 characters</p> <p>The categorization of your product based on your custom product taxonomy. Subcategories must be sent separated by “ > “. The > must be wrapped by spaces. We do not recognize any other delimiters such as comma or pipe.</p>
276 277 278 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 276 def product_type @product_type end |
#promotion_id ⇒ Object
A unique identifier referencing the promotion associated with this catalog item.
279 280 281 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 279 def promotion_id @promotion_id end |
#sale_price ⇒ Object
The discounted price of the product. The sale_price must be lower than the price. It supports the following formats, "14.99 USD", "14.99USD" and "14.99". If the currency is not included, we default to US dollars.
282 283 284 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 282 def sale_price @sale_price end |
#sale_price_effective_date ⇒ Object
Sale price effective date. Expected format: <start_date>/<end_date> (ISO 8601 format)
285 286 287 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 285 def sale_price_effective_date @sale_price_effective_date end |
#save_pin_disabled ⇒ Object
By default, product pins created from a catalog are able to be saved by Pinners. If you want to disable the save pin feature, set this attribute to true. This feature is only available for allowlisted merchants. Please contact your account manager to enable this feature.
332 333 334 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 332 def save_pin_disabled @save_pin_disabled end |
#shipping ⇒ Object
Shipping consists of one group of up to four elements, country, region, service (all optional) and price (required). All colons, even for blank values, are required.
288 289 290 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 288 def shipping @shipping end |
#shipping_height ⇒ Object
The height of the package needed to ship the product. Ensure there is a space between the numeric string and the metric.
291 292 293 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 291 def shipping_height @shipping_height end |
#shipping_weight ⇒ Object
The weight of the product. Ensure there is a space between the numeric string and the metric.
294 295 296 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 294 def shipping_weight @shipping_weight end |
#shipping_width ⇒ Object
The width of the package needed to ship the product. Ensure there is a space between the numeric string and the metric.
297 298 299 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 297 def shipping_width @shipping_width end |
#size ⇒ Object
The size of the product.
300 301 302 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 300 def size @size end |
#size_system ⇒ Object
Indicates the country’s sizing system in which you are submitting your product. Must be one of the following values (upper or lowercased): ‘US’, ‘UK’, ‘EU’, ‘DE’, ‘FR’, ‘JP’, ‘CN’, ‘IT’, ‘BR’, ‘MEX’, or ‘AU’.
303 304 305 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 303 def size_system @size_system end |
#size_type ⇒ Object
Additional description for the size. Must be one of the following values (upper or lowercased): ‘regular’, ‘petite’, ‘plus’, ‘big_and_tall’, or ‘maternity’.
306 307 308 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 306 def size_type @size_type end |
#tax ⇒ Object
Tax consists of one group of up to four elements, country, region, rate (all required) and tax_ship (optional). All colons, even for blank values, are required.
309 310 311 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 309 def tax @tax end |
#title ⇒ Object
<p><= 500 characters</p> <p>The name of the product.</p>
312 313 314 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 312 def title @title end |
#unit_pricing_base_measure ⇒ Object
Unit pricing base measure of the product. This data will only be shown to pinners in the enabled countries. Expected format: <base_measure> <unit_type>
315 316 317 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 315 def unit_pricing_base_measure @unit_pricing_base_measure end |
#unit_pricing_measure ⇒ Object
Unit pricing total measure of the product. This data will only be shown to pinners in the enabled countries. Expected format: <total_units> <unit_type>
318 319 320 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 318 def unit_pricing_measure @unit_pricing_measure end |
#variant_names ⇒ Object
Options for this variant. People will see these options next to your Pin and can select the one they want. List them in the order you want them displayed.
321 322 323 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 321 def variant_names @variant_names end |
#variant_values ⇒ Object
Option values for this variant. People will see these options next to your Pin and can select the one they want. List them in the order you want them displayed. The order of the variant values must be consistent with the order of the variant names.
324 325 326 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 324 def variant_values @variant_values end |
#video_link ⇒ Object
<p><= 2,000 characters</p> <p>Hosted link to the product video.</p> <p>File types for linked videos must be .mp4, .mov or .m4v.</p> <p>File size cannot exceed 2GB.</p>
335 336 337 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 335 def video_link @video_link end |
Class Method Details
.acceptable_attribute_map ⇒ Object
Returns attribute mapping this model knows about
451 452 453 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 451 def self.acceptable_attribute_map attribute_map end |
.acceptable_attributes ⇒ Object
Returns all the JSON keys this model knows about
456 457 458 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 456 def self.acceptable_attributes acceptable_attribute_map.values end |
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 338 def self.attribute_map { :'ad_image_0_link' => :'ad_image_0_link', :'ad_image_0_tag' => :'ad_image_0_tag', :'ad_image_10_link' => :'ad_image_10_link', :'ad_image_10_tag' => :'ad_image_10_tag', :'ad_image_11_link' => :'ad_image_11_link', :'ad_image_11_tag' => :'ad_image_11_tag', :'ad_image_12_link' => :'ad_image_12_link', :'ad_image_12_tag' => :'ad_image_12_tag', :'ad_image_13_link' => :'ad_image_13_link', :'ad_image_13_tag' => :'ad_image_13_tag', :'ad_image_14_link' => :'ad_image_14_link', :'ad_image_14_tag' => :'ad_image_14_tag', :'ad_image_15_link' => :'ad_image_15_link', :'ad_image_15_tag' => :'ad_image_15_tag', :'ad_image_16_link' => :'ad_image_16_link', :'ad_image_16_tag' => :'ad_image_16_tag', :'ad_image_17_link' => :'ad_image_17_link', :'ad_image_17_tag' => :'ad_image_17_tag', :'ad_image_18_link' => :'ad_image_18_link', :'ad_image_18_tag' => :'ad_image_18_tag', :'ad_image_19_link' => :'ad_image_19_link', :'ad_image_19_tag' => :'ad_image_19_tag', :'ad_image_1_link' => :'ad_image_1_link', :'ad_image_1_tag' => :'ad_image_1_tag', :'ad_image_2_link' => :'ad_image_2_link', :'ad_image_2_tag' => :'ad_image_2_tag', :'ad_image_3_link' => :'ad_image_3_link', :'ad_image_3_tag' => :'ad_image_3_tag', :'ad_image_4_link' => :'ad_image_4_link', :'ad_image_4_tag' => :'ad_image_4_tag', :'ad_image_5_link' => :'ad_image_5_link', :'ad_image_5_tag' => :'ad_image_5_tag', :'ad_image_6_link' => :'ad_image_6_link', :'ad_image_6_tag' => :'ad_image_6_tag', :'ad_image_7_link' => :'ad_image_7_link', :'ad_image_7_tag' => :'ad_image_7_tag', :'ad_image_8_link' => :'ad_image_8_link', :'ad_image_8_tag' => :'ad_image_8_tag', :'ad_image_9_link' => :'ad_image_9_link', :'ad_image_9_tag' => :'ad_image_9_tag', :'ad_link' => :'ad_link', :'ad_video_0_link' => :'ad_video_0_link', :'ad_video_0_tag' => :'ad_video_0_tag', :'ad_video_1_link' => :'ad_video_1_link', :'ad_video_1_tag' => :'ad_video_1_tag', :'ad_video_2_link' => :'ad_video_2_link', :'ad_video_2_tag' => :'ad_video_2_tag', :'adult' => :'adult', :'age_group' => :'age_group', :'android_deep_link' => :'android_deep_link', :'availability' => :'availability', :'average_review_rating' => :'average_review_rating', :'brand' => :'brand', :'checkout_enabled' => :'checkout_enabled', :'color' => :'color', :'condition' => :'condition', :'custom_label_0' => :'custom_label_0', :'custom_label_1' => :'custom_label_1', :'custom_label_2' => :'custom_label_2', :'custom_label_3' => :'custom_label_3', :'custom_label_4' => :'custom_label_4', :'custom_number_0' => :'custom_number_0', :'custom_number_1' => :'custom_number_1', :'custom_number_2' => :'custom_number_2', :'custom_number_3' => :'custom_number_3', :'custom_number_4' => :'custom_number_4', :'description' => :'description', :'free_shipping_label' => :'free_shipping_label', :'free_shipping_limit' => :'free_shipping_limit', :'gender' => :'gender', :'google_product_category' => :'google_product_category', :'gtin' => :'gtin', :'id' => :'id', :'installment_price' => :'installment_price', :'ios_deep_link' => :'ios_deep_link', :'item_group_id' => :'item_group_id', :'last_updated_time' => :'last_updated_time', :'link' => :'link', :'material' => :'material', :'min_ad_price' => :'min_ad_price', :'mobile_link' => :'mobile_link', :'mpn' => :'mpn', :'number_of_ratings' => :'number_of_ratings', :'number_of_reviews' => :'number_of_reviews', :'pattern' => :'pattern', :'price' => :'price', :'product_type' => :'product_type', :'promotion_id' => :'promotion_id', :'sale_price' => :'sale_price', :'sale_price_effective_date' => :'sale_price_effective_date', :'shipping' => :'shipping', :'shipping_height' => :'shipping_height', :'shipping_weight' => :'shipping_weight', :'shipping_width' => :'shipping_width', :'size' => :'size', :'size_system' => :'size_system', :'size_type' => :'size_type', :'tax' => :'tax', :'title' => :'title', :'unit_pricing_base_measure' => :'unit_pricing_base_measure', :'unit_pricing_measure' => :'unit_pricing_measure', :'variant_names' => :'variant_names', :'variant_values' => :'variant_values', :'additional_image_link' => :'additional_image_link', :'image_link' => :'image_link', :'save_pin_disabled' => :'save_pin_disabled', :'video_link' => :'video_link' } end |
.build_from_hash(attributes) ⇒ Object
Builds the object from hash
1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 1355 def self.build_from_hash(attributes) return nil unless attributes.is_a?(Hash) attributes = attributes.transform_keys(&:to_sym) transformed_hash = {} openapi_types.each_pair do |key, type| if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil? transformed_hash["#{key}"] = nil elsif type =~ /\AArray<(.*)>/i # check to ensure the input is an array given that the attribute # is documented as an array but the input is not if attributes[attribute_map[key]].is_a?(Array) transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) } end elsif !attributes[attribute_map[key]].nil? transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]]) end end new(transformed_hash) end |
.openapi_all_of ⇒ Object
List of class defined in allOf (OpenAPI v3)
677 678 679 680 681 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 677 def self.openapi_all_of [ :'UpdatableItemAttributes' ] end |
.openapi_nullable ⇒ Object
List of attributes with nullable: true
574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 574 def self.openapi_nullable Set.new([ :'ad_image_0_link', :'ad_image_0_tag', :'ad_image_10_link', :'ad_image_10_tag', :'ad_image_11_link', :'ad_image_11_tag', :'ad_image_12_link', :'ad_image_12_tag', :'ad_image_13_link', :'ad_image_13_tag', :'ad_image_14_link', :'ad_image_14_tag', :'ad_image_15_link', :'ad_image_15_tag', :'ad_image_16_link', :'ad_image_16_tag', :'ad_image_17_link', :'ad_image_17_tag', :'ad_image_18_link', :'ad_image_18_tag', :'ad_image_19_link', :'ad_image_19_tag', :'ad_image_1_link', :'ad_image_1_tag', :'ad_image_2_link', :'ad_image_2_tag', :'ad_image_3_link', :'ad_image_3_tag', :'ad_image_4_link', :'ad_image_4_tag', :'ad_image_5_link', :'ad_image_5_tag', :'ad_image_6_link', :'ad_image_6_tag', :'ad_image_7_link', :'ad_image_7_tag', :'ad_image_8_link', :'ad_image_8_tag', :'ad_image_9_link', :'ad_image_9_tag', :'ad_link', :'ad_video_0_link', :'ad_video_0_tag', :'ad_video_1_link', :'ad_video_1_tag', :'ad_video_2_link', :'ad_video_2_tag', :'adult', :'age_group', :'average_review_rating', :'brand', :'checkout_enabled', :'color', :'condition', :'custom_label_0', :'custom_label_1', :'custom_label_2', :'custom_label_3', :'custom_label_4', :'custom_number_0', :'custom_number_1', :'custom_number_2', :'custom_number_3', :'custom_number_4', :'free_shipping_label', :'free_shipping_limit', :'gender', :'google_product_category', :'gtin', :'installment_price', :'item_group_id', :'last_updated_time', :'material', :'min_ad_price', :'mobile_link', :'mpn', :'number_of_ratings', :'number_of_reviews', :'pattern', :'product_type', :'promotion_id', :'sale_price', :'sale_price_effective_date', :'shipping', :'shipping_height', :'shipping_weight', :'shipping_width', :'size', :'size_system', :'size_type', :'tax', :'unit_pricing_base_measure', :'unit_pricing_measure', :'variant_names', :'variant_values', :'additional_image_link', :'video_link' ]) end |
.openapi_types ⇒ Object
Attribute type mapping.
461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 461 def self.openapi_types { :'ad_image_0_link' => :'String', :'ad_image_0_tag' => :'String', :'ad_image_10_link' => :'String', :'ad_image_10_tag' => :'String', :'ad_image_11_link' => :'String', :'ad_image_11_tag' => :'String', :'ad_image_12_link' => :'String', :'ad_image_12_tag' => :'String', :'ad_image_13_link' => :'String', :'ad_image_13_tag' => :'String', :'ad_image_14_link' => :'String', :'ad_image_14_tag' => :'String', :'ad_image_15_link' => :'String', :'ad_image_15_tag' => :'String', :'ad_image_16_link' => :'String', :'ad_image_16_tag' => :'String', :'ad_image_17_link' => :'String', :'ad_image_17_tag' => :'String', :'ad_image_18_link' => :'String', :'ad_image_18_tag' => :'String', :'ad_image_19_link' => :'String', :'ad_image_19_tag' => :'String', :'ad_image_1_link' => :'String', :'ad_image_1_tag' => :'String', :'ad_image_2_link' => :'String', :'ad_image_2_tag' => :'String', :'ad_image_3_link' => :'String', :'ad_image_3_tag' => :'String', :'ad_image_4_link' => :'String', :'ad_image_4_tag' => :'String', :'ad_image_5_link' => :'String', :'ad_image_5_tag' => :'String', :'ad_image_6_link' => :'String', :'ad_image_6_tag' => :'String', :'ad_image_7_link' => :'String', :'ad_image_7_tag' => :'String', :'ad_image_8_link' => :'String', :'ad_image_8_tag' => :'String', :'ad_image_9_link' => :'String', :'ad_image_9_tag' => :'String', :'ad_link' => :'String', :'ad_video_0_link' => :'String', :'ad_video_0_tag' => :'String', :'ad_video_1_link' => :'String', :'ad_video_1_tag' => :'String', :'ad_video_2_link' => :'String', :'ad_video_2_tag' => :'String', :'adult' => :'Boolean', :'age_group' => :'String', :'android_deep_link' => :'String', :'availability' => :'String', :'average_review_rating' => :'Float', :'brand' => :'String', :'checkout_enabled' => :'Boolean', :'color' => :'String', :'condition' => :'String', :'custom_label_0' => :'String', :'custom_label_1' => :'String', :'custom_label_2' => :'String', :'custom_label_3' => :'String', :'custom_label_4' => :'String', :'custom_number_0' => :'Integer', :'custom_number_1' => :'Integer', :'custom_number_2' => :'Integer', :'custom_number_3' => :'Integer', :'custom_number_4' => :'Integer', :'description' => :'String', :'free_shipping_label' => :'Boolean', :'free_shipping_limit' => :'String', :'gender' => :'String', :'google_product_category' => :'String', :'gtin' => :'UpdatableItemAttributesGtin', :'id' => :'String', :'installment_price' => :'String', :'ios_deep_link' => :'String', :'item_group_id' => :'String', :'last_updated_time' => :'Integer', :'link' => :'String', :'material' => :'String', :'min_ad_price' => :'String', :'mobile_link' => :'String', :'mpn' => :'String', :'number_of_ratings' => :'Integer', :'number_of_reviews' => :'Integer', :'pattern' => :'String', :'price' => :'String', :'product_type' => :'String', :'promotion_id' => :'String', :'sale_price' => :'String', :'sale_price_effective_date' => :'String', :'shipping' => :'String', :'shipping_height' => :'String', :'shipping_weight' => :'String', :'shipping_width' => :'String', :'size' => :'String', :'size_system' => :'String', :'size_type' => :'String', :'tax' => :'String', :'title' => :'String', :'unit_pricing_base_measure' => :'String', :'unit_pricing_measure' => :'String', :'variant_names' => :'Array<String>', :'variant_values' => :'Array<String>', :'additional_image_link' => :'Array<String>', :'image_link' => :'ItemAttributesRequestAllOfImageLink', :'save_pin_disabled' => :'Boolean', :'video_link' => :'String' } end |
Instance Method Details
#==(o) ⇒ Object
Checks equality by comparing each attribute.
1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 1228 def ==(o) return true if self.equal?(o) self.class == o.class && ad_image_0_link == o.ad_image_0_link && ad_image_0_tag == o.ad_image_0_tag && ad_image_10_link == o.ad_image_10_link && ad_image_10_tag == o.ad_image_10_tag && ad_image_11_link == o.ad_image_11_link && ad_image_11_tag == o.ad_image_11_tag && ad_image_12_link == o.ad_image_12_link && ad_image_12_tag == o.ad_image_12_tag && ad_image_13_link == o.ad_image_13_link && ad_image_13_tag == o.ad_image_13_tag && ad_image_14_link == o.ad_image_14_link && ad_image_14_tag == o.ad_image_14_tag && ad_image_15_link == o.ad_image_15_link && ad_image_15_tag == o.ad_image_15_tag && ad_image_16_link == o.ad_image_16_link && ad_image_16_tag == o.ad_image_16_tag && ad_image_17_link == o.ad_image_17_link && ad_image_17_tag == o.ad_image_17_tag && ad_image_18_link == o.ad_image_18_link && ad_image_18_tag == o.ad_image_18_tag && ad_image_19_link == o.ad_image_19_link && ad_image_19_tag == o.ad_image_19_tag && ad_image_1_link == o.ad_image_1_link && ad_image_1_tag == o.ad_image_1_tag && ad_image_2_link == o.ad_image_2_link && ad_image_2_tag == o.ad_image_2_tag && ad_image_3_link == o.ad_image_3_link && ad_image_3_tag == o.ad_image_3_tag && ad_image_4_link == o.ad_image_4_link && ad_image_4_tag == o.ad_image_4_tag && ad_image_5_link == o.ad_image_5_link && ad_image_5_tag == o.ad_image_5_tag && ad_image_6_link == o.ad_image_6_link && ad_image_6_tag == o.ad_image_6_tag && ad_image_7_link == o.ad_image_7_link && ad_image_7_tag == o.ad_image_7_tag && ad_image_8_link == o.ad_image_8_link && ad_image_8_tag == o.ad_image_8_tag && ad_image_9_link == o.ad_image_9_link && ad_image_9_tag == o.ad_image_9_tag && ad_link == o.ad_link && ad_video_0_link == o.ad_video_0_link && ad_video_0_tag == o.ad_video_0_tag && ad_video_1_link == o.ad_video_1_link && ad_video_1_tag == o.ad_video_1_tag && ad_video_2_link == o.ad_video_2_link && ad_video_2_tag == o.ad_video_2_tag && adult == o.adult && age_group == o.age_group && android_deep_link == o.android_deep_link && availability == o.availability && == o. && brand == o.brand && checkout_enabled == o.checkout_enabled && color == o.color && condition == o.condition && custom_label_0 == o.custom_label_0 && custom_label_1 == o.custom_label_1 && custom_label_2 == o.custom_label_2 && custom_label_3 == o.custom_label_3 && custom_label_4 == o.custom_label_4 && custom_number_0 == o.custom_number_0 && custom_number_1 == o.custom_number_1 && custom_number_2 == o.custom_number_2 && custom_number_3 == o.custom_number_3 && custom_number_4 == o.custom_number_4 && description == o.description && free_shipping_label == o.free_shipping_label && free_shipping_limit == o.free_shipping_limit && gender == o.gender && google_product_category == o.google_product_category && gtin == o.gtin && id == o.id && installment_price == o.installment_price && ios_deep_link == o.ios_deep_link && item_group_id == o.item_group_id && last_updated_time == o.last_updated_time && link == o.link && material == o.material && min_ad_price == o.min_ad_price && mobile_link == o.mobile_link && mpn == o.mpn && == o. && number_of_reviews == o.number_of_reviews && pattern == o.pattern && price == o.price && product_type == o.product_type && promotion_id == o.promotion_id && sale_price == o.sale_price && sale_price_effective_date == o.sale_price_effective_date && shipping == o.shipping && shipping_height == o.shipping_height && shipping_weight == o.shipping_weight && shipping_width == o.shipping_width && size == o.size && size_system == o.size_system && size_type == o.size_type && tax == o.tax && title == o.title && unit_pricing_base_measure == o.unit_pricing_base_measure && unit_pricing_measure == o.unit_pricing_measure && variant_names == o.variant_names && variant_values == o.variant_values && additional_image_link == o.additional_image_link && image_link == o.image_link && save_pin_disabled == o.save_pin_disabled && video_link == o.video_link end |
#eql?(o) ⇒ Boolean
1342 1343 1344 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 1342 def eql?(o) self == o end |
#hash ⇒ Integer
Calculates hash code according to all attributes.
1348 1349 1350 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 1348 def hash [ad_image_0_link, ad_image_0_tag, ad_image_10_link, ad_image_10_tag, ad_image_11_link, ad_image_11_tag, ad_image_12_link, ad_image_12_tag, ad_image_13_link, ad_image_13_tag, ad_image_14_link, ad_image_14_tag, ad_image_15_link, ad_image_15_tag, ad_image_16_link, ad_image_16_tag, ad_image_17_link, ad_image_17_tag, ad_image_18_link, ad_image_18_tag, ad_image_19_link, ad_image_19_tag, ad_image_1_link, ad_image_1_tag, ad_image_2_link, ad_image_2_tag, ad_image_3_link, ad_image_3_tag, ad_image_4_link, ad_image_4_tag, ad_image_5_link, ad_image_5_tag, ad_image_6_link, ad_image_6_tag, ad_image_7_link, ad_image_7_tag, ad_image_8_link, ad_image_8_tag, ad_image_9_link, ad_image_9_tag, ad_link, ad_video_0_link, ad_video_0_tag, ad_video_1_link, ad_video_1_tag, ad_video_2_link, ad_video_2_tag, adult, age_group, android_deep_link, availability, , brand, checkout_enabled, color, condition, custom_label_0, custom_label_1, custom_label_2, custom_label_3, custom_label_4, custom_number_0, custom_number_1, custom_number_2, custom_number_3, custom_number_4, description, free_shipping_label, free_shipping_limit, gender, google_product_category, gtin, id, installment_price, ios_deep_link, item_group_id, last_updated_time, link, material, min_ad_price, mobile_link, mpn, , number_of_reviews, pattern, price, product_type, promotion_id, sale_price, sale_price_effective_date, shipping, shipping_height, shipping_weight, shipping_width, size, size_system, size_type, tax, title, unit_pricing_base_measure, unit_pricing_measure, variant_names, variant_values, additional_image_link, image_link, save_pin_disabled, video_link].hash end |
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons. Usually used together with valid?
1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 1138 def list_invalid_properties warn '[DEPRECATED] the `list_invalid_properties` method is obsolete' invalid_properties = Array.new if !@custom_label_0.nil? && @custom_label_0.to_s.length > 511 invalid_properties.push('invalid value for "custom_label_0", the character length must be smaller than or equal to 511.') end if !@custom_label_1.nil? && @custom_label_1.to_s.length > 511 invalid_properties.push('invalid value for "custom_label_1", the character length must be smaller than or equal to 511.') end if !@custom_label_2.nil? && @custom_label_2.to_s.length > 511 invalid_properties.push('invalid value for "custom_label_2", the character length must be smaller than or equal to 511.') end if !@custom_label_3.nil? && @custom_label_3.to_s.length > 511 invalid_properties.push('invalid value for "custom_label_3", the character length must be smaller than or equal to 511.') end if !@custom_label_4.nil? && @custom_label_4.to_s.length > 511 invalid_properties.push('invalid value for "custom_label_4", the character length must be smaller than or equal to 511.') end invalid_properties end |
#to_hash ⇒ Hash
Returns the object in the form of hash
1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 1377 def to_hash hash = {} self.class.attribute_map.each_pair do |attr, param| value = self.send(attr) if value.nil? is_nullable = self.class.openapi_nullable.include?(attr) next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) end hash[param] = _to_hash(value) end hash end |
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid
1166 1167 1168 1169 1170 1171 1172 1173 1174 |
# File 'lib/pinterest_sdk/models/item_attributes_request.rb', line 1166 def valid? warn '[DEPRECATED] the `valid?` method is obsolete' return false if !@custom_label_0.nil? && @custom_label_0.to_s.length > 511 return false if !@custom_label_1.nil? && @custom_label_1.to_s.length > 511 return false if !@custom_label_2.nil? && @custom_label_2.to_s.length > 511 return false if !@custom_label_3.nil? && @custom_label_3.to_s.length > 511 return false if !@custom_label_4.nil? && @custom_label_4.to_s.length > 511 true end |