Class: Peddler::APIs::ProductTypeDefinitions20200901::ProductType
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::ProductTypeDefinitions20200901::ProductType
- Defined in:
- sig/peddler/apis/product_type_definitions_2020_09_01.rbs
Instance Attribute Summary collapse
-
#display_name ⇒ String
readonly
Returns the value of attribute display_name.
-
#marketplace_ids ⇒ Array[String]
readonly
Returns the value of attribute marketplace_ids.
-
#name ⇒ String
readonly
Returns the value of attribute name.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :display_name, :marketplace_ids, :name ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::ProductTypeDefinitions20200901::ProductType
Instance Method Summary collapse
-
#members ⇒ [ :display_name, :marketplace_ids, :name ]
-
#to_h ⇒ { display_name: String, marketplace_ids: Array[String], name: String }
Instance Attribute Details
#display_name ⇒ String (readonly)
Returns the value of attribute display_name.
48 49 50 |
# File 'sig/peddler/apis/product_type_definitions_2020_09_01.rbs', line 48 def display_name @display_name end |
#marketplace_ids ⇒ Array[String] (readonly)
Returns the value of attribute marketplace_ids.
49 50 51 |
# File 'sig/peddler/apis/product_type_definitions_2020_09_01.rbs', line 49 def marketplace_ids @marketplace_ids end |
#name ⇒ String (readonly)
Returns the value of attribute name.
50 51 52 |
# File 'sig/peddler/apis/product_type_definitions_2020_09_01.rbs', line 50 def name @name end |
Class Method Details
.[](display_name:, marketplace_ids:, name:) ⇒ Peddler::APIs::ProductTypeDefinitions20200901::ProductType .[](arg0, arg1, arg2) ⇒ Peddler::APIs::ProductTypeDefinitions20200901::ProductType
41 42 |
# File 'sig/peddler/apis/product_type_definitions_2020_09_01.rbs', line 41
def self.[]: (display_name: String, marketplace_ids: Array[String], name: String) -> Peddler::APIs::ProductTypeDefinitions20200901::ProductType
| (String, Array[String], String) -> Peddler::APIs::ProductTypeDefinitions20200901::ProductType
|
.members ⇒ [ :display_name, :marketplace_ids, :name ]
44 |
# File 'sig/peddler/apis/product_type_definitions_2020_09_01.rbs', line 44
def self.members: () -> [ :display_name, :marketplace_ids, :name ]
|
.new(display_name:, marketplace_ids:, name:) ⇒ Peddler::APIs::ProductTypeDefinitions20200901::ProductType .new(arg0, arg1, arg2) ⇒ Peddler::APIs::ProductTypeDefinitions20200901::ProductType
39 40 |
# File 'sig/peddler/apis/product_type_definitions_2020_09_01.rbs', line 39
def self.new: (display_name: String, marketplace_ids: Array[String], name: String) -> Peddler::APIs::ProductTypeDefinitions20200901::ProductType
| (String, Array[String], String) -> Peddler::APIs::ProductTypeDefinitions20200901::ProductType
|
.parse ⇒ Peddler::APIs::ProductTypeDefinitions20200901::ProductType
46 |
# File 'sig/peddler/apis/product_type_definitions_2020_09_01.rbs', line 46
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ProductTypeDefinitions20200901::ProductType
|
Instance Method Details
#members ⇒ [ :display_name, :marketplace_ids, :name ]
52 |
# File 'sig/peddler/apis/product_type_definitions_2020_09_01.rbs', line 52
def members: () -> [ :display_name, :marketplace_ids, :name ]
|
#to_h ⇒ { display_name: String, marketplace_ids: Array[String], name: String }
53 |
# File 'sig/peddler/apis/product_type_definitions_2020_09_01.rbs', line 53
def to_h: () -> { display_name: String, marketplace_ids: Array[String], name: String }
|