Class: Peddler::APIs::CatalogItemsV0::Categories

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#parentHash[untyped, untyped]? (readonly)

Returns the value of attribute parent.

Returns:

  • (Hash[untyped, untyped], nil)


14
15
16
# File 'sig/peddler/apis/catalog_items_v0.rbs', line 14

def parent
  @parent
end

#product_category_idString? (readonly)

Returns the value of attribute product_category_id.

Returns:

  • (String, nil)


15
16
17
# File 'sig/peddler/apis/catalog_items_v0.rbs', line 15

def product_category_id
  @product_category_id
end

#product_category_nameString? (readonly)

Returns the value of attribute product_category_name.

Returns:

  • (String, nil)


16
17
18
# File 'sig/peddler/apis/catalog_items_v0.rbs', line 16

def product_category_name
  @product_category_name
end

Class Method Details

.[](product_category_id:, product_category_name:, parent:) ⇒ Peddler::APIs::CatalogItemsV0::Categories .[](arg0, arg1, arg2) ⇒ Peddler::APIs::CatalogItemsV0::Categories

Overloads:



7
8
# File 'sig/peddler/apis/catalog_items_v0.rbs', line 7

def self.[]: (?product_category_id: String?, ?product_category_name: String?, ?parent: Hash[untyped, untyped]?) -> Peddler::APIs::CatalogItemsV0::Categories
| (String?, String?, Hash[untyped, untyped]?) -> Peddler::APIs::CatalogItemsV0::Categories

.members[ :product_category_id, :product_category_name, :parent ]

Returns:

  • ([ :product_category_id, :product_category_name, :parent ])


10
# File 'sig/peddler/apis/catalog_items_v0.rbs', line 10

def self.members: () -> [ :product_category_id, :product_category_name, :parent ]

.new(product_category_id:, product_category_name:, parent:) ⇒ Peddler::APIs::CatalogItemsV0::Categories .new(arg0, arg1, arg2) ⇒ Peddler::APIs::CatalogItemsV0::Categories

Overloads:



5
6
# File 'sig/peddler/apis/catalog_items_v0.rbs', line 5

def self.new: (?product_category_id: String?, ?product_category_name: String?, ?parent: Hash[untyped, untyped]?) -> Peddler::APIs::CatalogItemsV0::Categories
| (String?, String?, Hash[untyped, untyped]?) -> Peddler::APIs::CatalogItemsV0::Categories

.parsePeddler::APIs::CatalogItemsV0::Categories

Parameters:

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

Returns:



12
# File 'sig/peddler/apis/catalog_items_v0.rbs', line 12

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

Instance Method Details

#members[ :product_category_id, :product_category_name, :parent ]

Returns:

  • ([ :product_category_id, :product_category_name, :parent ])


18
# File 'sig/peddler/apis/catalog_items_v0.rbs', line 18

def members: () -> [ :product_category_id, :product_category_name, :parent ]

#to_h{ product_category_id: String?, product_category_name: String?, parent: Hash[untyped, untyped]? }

Returns:

  • ({ product_category_id: String?, product_category_name: String?, parent: Hash[untyped, untyped]? })


19
# File 'sig/peddler/apis/catalog_items_v0.rbs', line 19

def to_h: () -> { product_category_id: String?, product_category_name: String?, parent: Hash[untyped, untyped]? }