Class: Peddler::APIs::Promotions20251201::SearchPromotionsResponse
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::Promotions20251201::SearchPromotionsResponse
- Defined in:
- sig/peddler/apis/promotions_2025_12_01.rbs
Instance Attribute Summary collapse
-
#pagination ⇒ Peddler::APIs::Promotions20251201::Pagination?
readonly
Returns the value of attribute pagination.
-
#promotions ⇒ Array[Peddler::APIs::Promotions20251201::PromotionSummary]
readonly
Returns the value of attribute promotions.
-
#total_results ⇒ Integer
readonly
Returns the value of attribute total_results.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :promotions, :total_results, :pagination ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::Promotions20251201::SearchPromotionsResponse
Instance Method Summary collapse
-
#members ⇒ [ :promotions, :total_results, :pagination ]
-
#to_h ⇒ { promotions: Array[Peddler::APIs::Promotions20251201::PromotionSummary], total_results: Integer, pagination: Peddler::APIs::Promotions20251201::Pagination? }
Instance Attribute Details
#pagination ⇒ Peddler::APIs::Promotions20251201::Pagination? (readonly)
Returns the value of attribute pagination.
601 602 603 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 601 def pagination @pagination end |
#promotions ⇒ Array[Peddler::APIs::Promotions20251201::PromotionSummary] (readonly)
Returns the value of attribute promotions.
602 603 604 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 602 def promotions @promotions end |
#total_results ⇒ Integer (readonly)
Returns the value of attribute total_results.
603 604 605 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 603 def total_results @total_results end |
Class Method Details
.[](promotions:, total_results:, pagination:) ⇒ Peddler::APIs::Promotions20251201::SearchPromotionsResponse .[](arg0, arg1, arg2) ⇒ Peddler::APIs::Promotions20251201::SearchPromotionsResponse
594 595 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 594
def self.[]: (promotions: Array[Peddler::APIs::Promotions20251201::PromotionSummary], total_results: Integer, ?pagination: Peddler::APIs::Promotions20251201::Pagination?) -> Peddler::APIs::Promotions20251201::SearchPromotionsResponse
| (Array[Peddler::APIs::Promotions20251201::PromotionSummary], Integer, Peddler::APIs::Promotions20251201::Pagination?) -> Peddler::APIs::Promotions20251201::SearchPromotionsResponse
|
.members ⇒ [ :promotions, :total_results, :pagination ]
597 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 597
def self.members: () -> [ :promotions, :total_results, :pagination ]
|
.new(promotions:, total_results:, pagination:) ⇒ Peddler::APIs::Promotions20251201::SearchPromotionsResponse .new(arg0, arg1, arg2) ⇒ Peddler::APIs::Promotions20251201::SearchPromotionsResponse
592 593 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 592
def self.new: (promotions: Array[Peddler::APIs::Promotions20251201::PromotionSummary], total_results: Integer, ?pagination: Peddler::APIs::Promotions20251201::Pagination?) -> Peddler::APIs::Promotions20251201::SearchPromotionsResponse
| (Array[Peddler::APIs::Promotions20251201::PromotionSummary], Integer, Peddler::APIs::Promotions20251201::Pagination?) -> Peddler::APIs::Promotions20251201::SearchPromotionsResponse
|
.parse ⇒ Peddler::APIs::Promotions20251201::SearchPromotionsResponse
599 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 599
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::Promotions20251201::SearchPromotionsResponse
|
Instance Method Details
#members ⇒ [ :promotions, :total_results, :pagination ]
605 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 605
def members: () -> [ :promotions, :total_results, :pagination ]
|
#to_h ⇒ { promotions: Array[Peddler::APIs::Promotions20251201::PromotionSummary], total_results: Integer, pagination: Peddler::APIs::Promotions20251201::Pagination? }
606 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 606
def to_h: () -> { promotions: Array[Peddler::APIs::Promotions20251201::PromotionSummary], total_results: Integer, pagination: Peddler::APIs::Promotions20251201::Pagination? }
|