class ShopifyAPI::ProductResourceFeedback
Attributes
created_at[R]
feedback_generated_at[R]
messages[R]
product_id[R]
resource_id[R]
resource_type[R]
resource_updated_at[R]
state[R]
updated_at[R]
Public Class Methods
all( product_id: nil, session: ShopifyAPI::Context.active_session, **kwargs )
click to toggle source
# File lib/shopify_api/rest/resources/2022_04/product_resource_feedback.rb, line 75 def all( product_id: nil, session: ShopifyAPI::Context.active_session, **kwargs ) response = base_find( session: session, ids: {product_id: product_id}, params: {}.merge(kwargs).compact, ) T.cast(response, T::Array[ProductResourceFeedback]) end
json_body_name()
click to toggle source
# File lib/shopify_api/rest/resources/2022_04/product_resource_feedback.rb, line 64 def json_body_name() "resource_feedback" end
new(session: ShopifyAPI::Context.active_session, from_hash: nil)
click to toggle source
Calls superclass method
ShopifyAPI::Rest::Base::new
# File lib/shopify_api/rest/resources/2022_04/product_resource_feedback.rb, line 19 def initialize(session: ShopifyAPI::Context.active_session, from_hash: nil) @created_at = T.let(nil, T.nilable(String)) @feedback_generated_at = T.let(nil, T.nilable(String)) @messages = T.let(nil, T.nilable(T::Array[T.untyped])) @product_id = T.let(nil, T.nilable(Integer)) @resource_id = T.let(nil, T.nilable(Integer)) @resource_type = T.let(nil, T.nilable(String)) @resource_updated_at = T.let(nil, T.nilable(String)) @state = T.let(nil, T.nilable(String)) @updated_at = T.let(nil, T.nilable(String)) super(session: session, from_hash: from_hash) end