Class: Peddler::APIs::Promotions20251201::Selection
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::Promotions20251201::Selection
- Defined in:
- sig/peddler/apis/promotions_2025_12_01.rbs
Instance Attribute Summary collapse
-
#revision_id ⇒ Integer?
readonly
Returns the value of attribute revision_id.
-
#selection_details ⇒ Peddler::APIs::Promotions20251201::SelectionDetails?
readonly
Returns the value of attribute selection_details.
-
#selection_id ⇒ String?
readonly
Returns the value of attribute selection_id.
-
#type ⇒ String
readonly
Returns the value of attribute type.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :type, :revision_id, :selection_details, :selection_id ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::Promotions20251201::Selection
Instance Method Summary collapse
-
#members ⇒ [ :type, :revision_id, :selection_details, :selection_id ]
-
#to_h ⇒ { type: String, revision_id: Integer?, selection_details: Peddler::APIs::Promotions20251201::SelectionDetails?, selection_id: String? }
Instance Attribute Details
#revision_id ⇒ Integer? (readonly)
Returns the value of attribute revision_id.
619 620 621 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 619 def revision_id @revision_id end |
#selection_details ⇒ Peddler::APIs::Promotions20251201::SelectionDetails? (readonly)
Returns the value of attribute selection_details.
620 621 622 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 620 def selection_details @selection_details end |
#selection_id ⇒ String? (readonly)
Returns the value of attribute selection_id.
621 622 623 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 621 def selection_id @selection_id end |
#type ⇒ String (readonly)
Returns the value of attribute type.
622 623 624 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 622 def type @type end |
Class Method Details
.[](type:, revision_id:, selection_details:, selection_id:) ⇒ Peddler::APIs::Promotions20251201::Selection .[](arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::Promotions20251201::Selection
612 613 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 612
def self.[]: (type: String, ?revision_id: Integer?, ?selection_details: Peddler::APIs::Promotions20251201::SelectionDetails?, ?selection_id: String?) -> Peddler::APIs::Promotions20251201::Selection
| (String, Integer?, Peddler::APIs::Promotions20251201::SelectionDetails?, String?) -> Peddler::APIs::Promotions20251201::Selection
|
.members ⇒ [ :type, :revision_id, :selection_details, :selection_id ]
615 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 615
def self.members: () -> [ :type, :revision_id, :selection_details, :selection_id ]
|
.new(type:, revision_id:, selection_details:, selection_id:) ⇒ Peddler::APIs::Promotions20251201::Selection .new(arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::Promotions20251201::Selection
610 611 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 610
def self.new: (type: String, ?revision_id: Integer?, ?selection_details: Peddler::APIs::Promotions20251201::SelectionDetails?, ?selection_id: String?) -> Peddler::APIs::Promotions20251201::Selection
| (String, Integer?, Peddler::APIs::Promotions20251201::SelectionDetails?, String?) -> Peddler::APIs::Promotions20251201::Selection
|
.parse ⇒ Peddler::APIs::Promotions20251201::Selection
617 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 617
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::Promotions20251201::Selection
|
Instance Method Details
#members ⇒ [ :type, :revision_id, :selection_details, :selection_id ]
624 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 624
def members: () -> [ :type, :revision_id, :selection_details, :selection_id ]
|
#to_h ⇒ { type: String, revision_id: Integer?, selection_details: Peddler::APIs::Promotions20251201::SelectionDetails?, selection_id: String? }
625 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 625
def to_h: () -> { type: String, revision_id: Integer?, selection_details: Peddler::APIs::Promotions20251201::SelectionDetails?, selection_id: String? }
|