Class: Peddler::APIs::CatalogItems20220401::ItemRelationship

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#child_asinsArray[String]? (readonly)

Returns the value of attribute child_asins.

Returns:

  • (Array[String], nil)


379
380
381
# File 'sig/peddler/apis/catalog_items_2022_04_01.rbs', line 379

def child_asins
  @child_asins
end

#parent_asinsArray[String]? (readonly)

Returns the value of attribute parent_asins.

Returns:

  • (Array[String], nil)


380
381
382
# File 'sig/peddler/apis/catalog_items_2022_04_01.rbs', line 380

def parent_asins
  @parent_asins
end

#typeString (readonly)

Returns the value of attribute type.

Returns:

  • (String)


381
382
383
# File 'sig/peddler/apis/catalog_items_2022_04_01.rbs', line 381

def type
  @type
end

#variation_themePeddler::APIs::CatalogItems20220401::ItemVariationTheme? (readonly)

Returns the value of attribute variation_theme.



382
383
384
# File 'sig/peddler/apis/catalog_items_2022_04_01.rbs', line 382

def variation_theme
  @variation_theme
end

Class Method Details

.[](type:, child_asins:, parent_asins:, variation_theme:) ⇒ Peddler::APIs::CatalogItems20220401::ItemRelationship .[](arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::CatalogItems20220401::ItemRelationship

Overloads:



372
373
# File 'sig/peddler/apis/catalog_items_2022_04_01.rbs', line 372

def self.[]: (type: String, ?child_asins: Array[String]?, ?parent_asins: Array[String]?, ?variation_theme: Peddler::APIs::CatalogItems20220401::ItemVariationTheme?) -> Peddler::APIs::CatalogItems20220401::ItemRelationship
| (String, Array[String]?, Array[String]?, Peddler::APIs::CatalogItems20220401::ItemVariationTheme?) -> Peddler::APIs::CatalogItems20220401::ItemRelationship

.members[ :type, :child_asins, :parent_asins, :variation_theme ]

Returns:

  • ([ :type, :child_asins, :parent_asins, :variation_theme ])


375
# File 'sig/peddler/apis/catalog_items_2022_04_01.rbs', line 375

def self.members: () -> [ :type, :child_asins, :parent_asins, :variation_theme ]

.new(type:, child_asins:, parent_asins:, variation_theme:) ⇒ Peddler::APIs::CatalogItems20220401::ItemRelationship .new(arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::CatalogItems20220401::ItemRelationship

Overloads:



370
371
# File 'sig/peddler/apis/catalog_items_2022_04_01.rbs', line 370

def self.new: (type: String, ?child_asins: Array[String]?, ?parent_asins: Array[String]?, ?variation_theme: Peddler::APIs::CatalogItems20220401::ItemVariationTheme?) -> Peddler::APIs::CatalogItems20220401::ItemRelationship
| (String, Array[String]?, Array[String]?, Peddler::APIs::CatalogItems20220401::ItemVariationTheme?) -> Peddler::APIs::CatalogItems20220401::ItemRelationship

.parsePeddler::APIs::CatalogItems20220401::ItemRelationship

Parameters:

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

Returns:



377
# File 'sig/peddler/apis/catalog_items_2022_04_01.rbs', line 377

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

Instance Method Details

#members[ :type, :child_asins, :parent_asins, :variation_theme ]

Returns:

  • ([ :type, :child_asins, :parent_asins, :variation_theme ])


384
# File 'sig/peddler/apis/catalog_items_2022_04_01.rbs', line 384

def members: () -> [ :type, :child_asins, :parent_asins, :variation_theme ]

#to_h{ type: String, child_asins: Array[String]?, parent_asins: Array[String]?, variation_theme: Peddler::APIs::CatalogItems20220401::ItemVariationTheme? }

Returns:



385
# File 'sig/peddler/apis/catalog_items_2022_04_01.rbs', line 385

def to_h: () -> { type: String, child_asins: Array[String]?, parent_asins: Array[String]?, variation_theme: Peddler::APIs::CatalogItems20220401::ItemVariationTheme? }