Class: Trycourier::Models::TenantListUsersResponse

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/trycourier/models/tenant_list_users_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::TenantListUsersResponse for more details.

Parameters:

  • has_more (Boolean) (defaults to: )

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

  • type (Symbol, Trycourier::Models::TenantListUsersResponse::Type) (defaults to: )

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

  • url (String) (defaults to: )

    A url that may be used to generate these results.

  • cursor (String, nil) (defaults to: nil)

    A pointer to the next page of results. Defined

  • items (Array<Trycourier::Models::TenantAssociation>, nil) (defaults to: nil)
  • next_url (String, nil) (defaults to: nil)

    A url that may be used to generate fetch the next set of results.



# File 'lib/trycourier/models/tenant_list_users_response.rb', line 44

Instance Attribute Details

#cursorString?

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

Returns:

  • (String, nil)


30
# File 'lib/trycourier/models/tenant_list_users_response.rb', line 30

optional :cursor, String, nil?: true

#has_moreBoolean

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

Returns:

  • (Boolean)


11
# File 'lib/trycourier/models/tenant_list_users_response.rb', line 11

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

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

Returns:



35
# File 'lib/trycourier/models/tenant_list_users_response.rb', line 35

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

Returns:

  • (String, nil)


42
# File 'lib/trycourier/models/tenant_list_users_response.rb', line 42

optional :next_url, String, nil?: true

#typeSymbol, Trycourier::Models::TenantListUsersResponse::Type

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



17
# File 'lib/trycourier/models/tenant_list_users_response.rb', line 17

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

#urlString

A url that may be used to generate these results.

Returns:

  • (String)


23
# File 'lib/trycourier/models/tenant_list_users_response.rb', line 23

required :url, String