Class: Dodopayments::Models::ProductCollections::ProductCollectionGroupResponse
- Inherits:
-
Internal::Type::BaseModel
show all
- Defined in:
- lib/dodopayments/models/product_collections/product_collection_group_response.rb,
sig/dodopayments/models/product_collections/product_collection_group_response.rbs
Overview
Instance Attribute Summary collapse
Instance Method Summary
collapse
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize ⇒ Object
23
|
# File 'sig/dodopayments/models/product_collections/product_collection_group_response.rbs', line 23
def initialize: (
|
Instance Attribute Details
#group_id ⇒ String
11
|
# File 'lib/dodopayments/models/product_collections/product_collection_group_response.rb', line 11
required :group_id, String
|
#group_name ⇒ String?
27
|
# File 'lib/dodopayments/models/product_collections/product_collection_group_response.rb', line 27
optional :group_name, String, nil?: true
|
16
17
|
# File 'lib/dodopayments/models/product_collections/product_collection_group_response.rb', line 16
required :products,
-> { Dodopayments::Internal::Type::ArrayOf[Dodopayments::ProductCollections::Groups::ProductCollectionProduct] }
|
#status ⇒ Boolean
22
|
# File 'lib/dodopayments/models/product_collections/product_collection_group_response.rb', line 22
required :status, Dodopayments::Internal::Type::Boolean
|
Instance Method Details
#to_hash ⇒ {
30
|
# File 'sig/dodopayments/models/product_collections/product_collection_group_response.rbs', line 30
def to_hash: -> {
|