Class: GrowsurfRuby::Models::AffiliateApplicationListResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- GrowsurfRuby::Models::AffiliateApplicationListResponse
- Defined in:
- lib/growsurf_ruby/models/affiliate_application_list_response.rb,
sig/growsurf_ruby/models/affiliate_application_list_response.rbs
Overview
Instance Attribute Summary collapse
-
#applications ⇒ Array<GrowsurfRuby::Models::AffiliateApplication>
One page of the program's applications, newest first.
-
#limit ⇒ Integer?
The page size used.
-
#offset ⇒ Integer?
The offset this page started at.
-
#total ⇒ Integer
Total number of applications matching the filter.
Instance Method Summary collapse
Methods inherited from Internal::Type::BaseModel
==, #==, #[], 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
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(applications:, total:, limit: nil, offset: nil) ⇒ Object
|
|
# File 'lib/growsurf_ruby/models/affiliate_application_list_response.rb', line 32
|
Instance Attribute Details
#applications ⇒ Array<GrowsurfRuby::Models::AffiliateApplication>
One page of the program's applications, newest first.
11 12 |
# File 'lib/growsurf_ruby/models/affiliate_application_list_response.rb', line 11 required :applications, -> { GrowsurfRuby::Internal::Type::ArrayOf[GrowsurfRuby::AffiliateApplication] } |
#limit ⇒ Integer?
The page size used.
24 |
# File 'lib/growsurf_ruby/models/affiliate_application_list_response.rb', line 24 optional :limit, Integer |
#offset ⇒ Integer?
The offset this page started at.
30 |
# File 'lib/growsurf_ruby/models/affiliate_application_list_response.rb', line 30 optional :offset, Integer |
#total ⇒ Integer
Total number of applications matching the filter.
18 |
# File 'lib/growsurf_ruby/models/affiliate_application_list_response.rb', line 18 required :total, Integer |
Instance Method Details
#to_hash ⇒ {
31 |
# File 'sig/growsurf_ruby/models/affiliate_application_list_response.rbs', line 31
def to_hash: -> {
|