Class: GrowsurfRuby::Models::AffiliateInviteListResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- GrowsurfRuby::Models::AffiliateInviteListResponse
- Defined in:
- lib/growsurf_ruby/models/affiliate_invite_list_response.rb,
sig/growsurf_ruby/models/affiliate_invite_list_response.rbs
Overview
Instance Attribute Summary collapse
-
#invites ⇒ Array<GrowsurfRuby::Models::AffiliateInvite>
One page of the program's invites, newest first.
-
#limit ⇒ Integer?
The page size used.
-
#offset ⇒ Integer?
The offset this page started at.
-
#total ⇒ Integer
Total number of invites 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(invites:, total:, limit: nil, offset: nil) ⇒ Object
|
|
# File 'lib/growsurf_ruby/models/affiliate_invite_list_response.rb', line 31
|
Instance Attribute Details
#invites ⇒ Array<GrowsurfRuby::Models::AffiliateInvite>
One page of the program's invites, newest first.
11 |
# File 'lib/growsurf_ruby/models/affiliate_invite_list_response.rb', line 11 required :invites, -> { GrowsurfRuby::Internal::Type::ArrayOf[GrowsurfRuby::AffiliateInvite] } |
#limit ⇒ Integer?
The page size used.
23 |
# File 'lib/growsurf_ruby/models/affiliate_invite_list_response.rb', line 23 optional :limit, Integer |
#offset ⇒ Integer?
The offset this page started at.
29 |
# File 'lib/growsurf_ruby/models/affiliate_invite_list_response.rb', line 29 optional :offset, Integer |
#total ⇒ Integer
Total number of invites matching the filter.
17 |
# File 'lib/growsurf_ruby/models/affiliate_invite_list_response.rb', line 17 required :total, Integer |
Instance Method Details
#to_hash ⇒ {
31 |
# File 'sig/growsurf_ruby/models/affiliate_invite_list_response.rbs', line 31
def to_hash: -> {
|