Class: Trycourier::Models::Users::TenantListResponse

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/trycourier/models/users/tenant_list_response.rb

Overview

Defined Under Namespace

Modules: Type

Instance Attribute Summary collapse

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(has_more:, type:, url:, cursor: nil, items: nil, next_url: nil) ⇒ Object

Some parameter documentations has been truncated, see Trycourier::Models::Users::TenantListResponse for more details.



# File 'lib/trycourier/models/users/tenant_list_response.rb', line 45

Instance Attribute Details

#cursorString?

A pointer to the next page of results. Defined only when has_more is set to true



31
# File 'lib/trycourier/models/users/tenant_list_response.rb', line 31

optional :cursor, String, nil?: true

#has_moreBoolean

Set to true when there are more pages that can be retrieved.



12
# File 'lib/trycourier/models/users/tenant_list_response.rb', line 12

required :has_more, Trycourier::Internal::Type::Boolean

#itemsArray<Trycourier::Models::TenantAssociation>?



36
# File 'lib/trycourier/models/users/tenant_list_response.rb', line 36

optional :items, -> { Trycourier::Internal::Type::ArrayOf[Trycourier::TenantAssociation] }, nil?: true

#next_urlString?

A url that may be used to generate fetch the next set of results. Defined only when has_more is set to true



43
# File 'lib/trycourier/models/users/tenant_list_response.rb', line 43

optional :next_url, String, nil?: true

#typeSymbol, Trycourier::Models::Users::TenantListResponse::Type

Always set to list. Represents the type of this object.



18
# File 'lib/trycourier/models/users/tenant_list_response.rb', line 18

required :type, enum: -> { Trycourier::Models::Users::TenantListResponse::Type }

#urlString

A url that may be used to generate these results.



24
# File 'lib/trycourier/models/users/tenant_list_response.rb', line 24

required :url, String