Class: Peddler::APIs::CatalogItems20201201::ClassificationRefinement

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#classification_idString (readonly)

Returns the value of attribute classification_id.

Returns:

  • (String)


31
32
33
# File 'sig/peddler/apis/catalog_items_2020_12_01.rbs', line 31

def classification_id
  @classification_id
end

#display_nameString (readonly)

Returns the value of attribute display_name.

Returns:

  • (String)


32
33
34
# File 'sig/peddler/apis/catalog_items_2020_12_01.rbs', line 32

def display_name
  @display_name
end

#number_of_resultsInteger (readonly)

Returns the value of attribute number_of_results.

Returns:

  • (Integer)


33
34
35
# File 'sig/peddler/apis/catalog_items_2020_12_01.rbs', line 33

def number_of_results
  @number_of_results
end

Class Method Details

.[](classification_id:, display_name:, number_of_results:) ⇒ Peddler::APIs::CatalogItems20201201::ClassificationRefinement .[](arg0, arg1, arg2) ⇒ Peddler::APIs::CatalogItems20201201::ClassificationRefinement

Overloads:



24
25
# File 'sig/peddler/apis/catalog_items_2020_12_01.rbs', line 24

def self.[]: (classification_id: String, display_name: String, number_of_results: Integer) -> Peddler::APIs::CatalogItems20201201::ClassificationRefinement
| (String, String, Integer) -> Peddler::APIs::CatalogItems20201201::ClassificationRefinement

.members[ :classification_id, :display_name, :number_of_results ]

Returns:

  • ([ :classification_id, :display_name, :number_of_results ])


27
# File 'sig/peddler/apis/catalog_items_2020_12_01.rbs', line 27

def self.members: () -> [ :classification_id, :display_name, :number_of_results ]

.new(classification_id:, display_name:, number_of_results:) ⇒ Peddler::APIs::CatalogItems20201201::ClassificationRefinement .new(arg0, arg1, arg2) ⇒ Peddler::APIs::CatalogItems20201201::ClassificationRefinement

Overloads:



22
23
# File 'sig/peddler/apis/catalog_items_2020_12_01.rbs', line 22

def self.new: (classification_id: String, display_name: String, number_of_results: Integer) -> Peddler::APIs::CatalogItems20201201::ClassificationRefinement
| (String, String, Integer) -> Peddler::APIs::CatalogItems20201201::ClassificationRefinement

.parsePeddler::APIs::CatalogItems20201201::ClassificationRefinement

Parameters:

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

Returns:



29
# File 'sig/peddler/apis/catalog_items_2020_12_01.rbs', line 29

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

Instance Method Details

#members[ :classification_id, :display_name, :number_of_results ]

Returns:

  • ([ :classification_id, :display_name, :number_of_results ])


35
# File 'sig/peddler/apis/catalog_items_2020_12_01.rbs', line 35

def members: () -> [ :classification_id, :display_name, :number_of_results ]

#to_h{ classification_id: String, display_name: String, number_of_results: Integer }

Returns:

  • ({ classification_id: String, display_name: String, number_of_results: Integer })


36
# File 'sig/peddler/apis/catalog_items_2020_12_01.rbs', line 36

def to_h: () -> { classification_id: String, display_name: String, number_of_results: Integer }