Class: Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductAttribute
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductAttribute
- Defined in:
- sig/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rbs
Instance Attribute Summary collapse
-
#name ⇒ String?
readonly
Returns the value of attribute name.
-
#value ⇒ String?
readonly
Returns the value of attribute value.
Class Method Summary collapse
- .[] ⇒ Object
- .members ⇒ [ :name, :value ]
- .new ⇒ Object
- .parse ⇒ Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductAttribute
Instance Method Summary collapse
Instance Attribute Details
#name ⇒ String? (readonly)
Returns the value of attribute name.
731 732 733 |
# File 'sig/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rbs', line 731 def name @name end |
#value ⇒ String? (readonly)
Returns the value of attribute value.
732 733 734 |
# File 'sig/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rbs', line 732 def value @value end |
Class Method Details
.[](name:, value:) ⇒ Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductAttribute .[](arg0, arg1) ⇒ Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductAttribute
724 725 |
# File 'sig/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rbs', line 724 def self.[]: (?name: String?, ?value: String?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductAttribute | (String?, String?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductAttribute |
.members ⇒ [ :name, :value ]
727 |
# File 'sig/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rbs', line 727 def self.members: () -> [ :name, :value ] |
.new(name:, value:) ⇒ Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductAttribute .new(arg0, arg1) ⇒ Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductAttribute
722 723 |
# File 'sig/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rbs', line 722 def self.new: (?name: String?, ?value: String?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductAttribute | (String?, String?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductAttribute |
.parse ⇒ Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductAttribute
729 |
# File 'sig/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rbs', line 729 def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductAttribute |
Instance Method Details
#members ⇒ [ :name, :value ]
734 |
# File 'sig/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rbs', line 734 def members: () -> [ :name, :value ] |
#to_h ⇒ { name: String?, value: String? }
735 |
# File 'sig/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rbs', line 735 def to_h: () -> { name: String?, value: String? } |