Class: Peddler::APIs::CustomerFeedback20240601::ItemReviewTopics

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/customer_feedback_2024_06_01.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#negative_topicsArray[Peddler::APIs::CustomerFeedback20240601::ItemReviewTopic]? (readonly)

Returns the value of attribute negative_topics.



579
580
581
# File 'sig/peddler/apis/customer_feedback_2024_06_01.rbs', line 579

def negative_topics
  @negative_topics
end

#positive_topicsArray[Peddler::APIs::CustomerFeedback20240601::ItemReviewTopic]? (readonly)

Returns the value of attribute positive_topics.



580
581
582
# File 'sig/peddler/apis/customer_feedback_2024_06_01.rbs', line 580

def positive_topics
  @positive_topics
end

Class Method Details

.[](negative_topics:, positive_topics:) ⇒ Peddler::APIs::CustomerFeedback20240601::ItemReviewTopics .[](arg0, arg1) ⇒ Peddler::APIs::CustomerFeedback20240601::ItemReviewTopics



572
573
# File 'sig/peddler/apis/customer_feedback_2024_06_01.rbs', line 572

def self.[]: (?negative_topics: Array[Peddler::APIs::CustomerFeedback20240601::ItemReviewTopic]?, ?positive_topics: Array[Peddler::APIs::CustomerFeedback20240601::ItemReviewTopic]?) -> Peddler::APIs::CustomerFeedback20240601::ItemReviewTopics
| (Array[Peddler::APIs::CustomerFeedback20240601::ItemReviewTopic]?, Array[Peddler::APIs::CustomerFeedback20240601::ItemReviewTopic]?) -> Peddler::APIs::CustomerFeedback20240601::ItemReviewTopics

.members[ :negative_topics, :positive_topics ]

Returns:

  • ([ :negative_topics, :positive_topics ])


575
# File 'sig/peddler/apis/customer_feedback_2024_06_01.rbs', line 575

def self.members: () -> [ :negative_topics, :positive_topics ]

.new(negative_topics:, positive_topics:) ⇒ Peddler::APIs::CustomerFeedback20240601::ItemReviewTopics .new(arg0, arg1) ⇒ Peddler::APIs::CustomerFeedback20240601::ItemReviewTopics



570
571
# File 'sig/peddler/apis/customer_feedback_2024_06_01.rbs', line 570

def self.new: (?negative_topics: Array[Peddler::APIs::CustomerFeedback20240601::ItemReviewTopic]?, ?positive_topics: Array[Peddler::APIs::CustomerFeedback20240601::ItemReviewTopic]?) -> Peddler::APIs::CustomerFeedback20240601::ItemReviewTopics
| (Array[Peddler::APIs::CustomerFeedback20240601::ItemReviewTopic]?, Array[Peddler::APIs::CustomerFeedback20240601::ItemReviewTopic]?) -> Peddler::APIs::CustomerFeedback20240601::ItemReviewTopics

.parsePeddler::APIs::CustomerFeedback20240601::ItemReviewTopics

Parameters:

  • (Hash[String | Symbol, untyped])
  • (Object)

Returns:



577
# File 'sig/peddler/apis/customer_feedback_2024_06_01.rbs', line 577

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::CustomerFeedback20240601::ItemReviewTopics

Instance Method Details

#members[ :negative_topics, :positive_topics ]

Returns:

  • ([ :negative_topics, :positive_topics ])


582
# File 'sig/peddler/apis/customer_feedback_2024_06_01.rbs', line 582

def members: () -> [ :negative_topics, :positive_topics ]

#to_h{ negative_topics: Array[Peddler::APIs::CustomerFeedback20240601::ItemReviewTopic]?, positive_topics: Array[Peddler::APIs::CustomerFeedback20240601::ItemReviewTopic]? }



583
# File 'sig/peddler/apis/customer_feedback_2024_06_01.rbs', line 583

def to_h: () -> { negative_topics: Array[Peddler::APIs::CustomerFeedback20240601::ItemReviewTopic]?, positive_topics: Array[Peddler::APIs::CustomerFeedback20240601::ItemReviewTopic]? }