Class: Trycourier::Models::Tenants::TemplateListResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Trycourier::Models::Tenants::TemplateListResponse
- Defined in:
- lib/trycourier/models/tenants/template_list_response.rb
Overview
Defined Under Namespace
Instance Attribute Summary collapse
-
#cursor ⇒ String?
A pointer to the next page of results.
-
#has_more ⇒ Boolean
Set to true when there are more pages that can be retrieved.
- #items ⇒ Array<Trycourier::Models::Tenants::TemplateListResponse::Item>?
-
#next_url ⇒ String?
A url that may be used to generate fetch the next set of results.
-
#type ⇒ Symbol, Trycourier::Models::Tenants::TemplateListResponse::Type
Always set to ‘list`.
-
#url ⇒ String
A url that may be used to generate these results.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(has_more: , type: , url: , cursor: nil, items: nil, next_url: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see TemplateListResponse for more details.
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::Tenants::TemplateListResponse for more details.
|
|
# File 'lib/trycourier/models/tenants/template_list_response.rb', line 47
|
Instance Attribute Details
#cursor ⇒ String?
A pointer to the next page of results. Defined only when ‘has_more` is set to true
31 |
# File 'lib/trycourier/models/tenants/template_list_response.rb', line 31 optional :cursor, String, nil?: true |
#has_more ⇒ Boolean
Set to true when there are more pages that can be retrieved.
12 |
# File 'lib/trycourier/models/tenants/template_list_response.rb', line 12 required :has_more, Trycourier::Internal::Type::Boolean |
#items ⇒ Array<Trycourier::Models::Tenants::TemplateListResponse::Item>?
36 37 38 |
# File 'lib/trycourier/models/tenants/template_list_response.rb', line 36 optional :items, -> { Trycourier::Internal::Type::ArrayOf[Trycourier::Models::Tenants::TemplateListResponse::Item] }, nil?: true |
#next_url ⇒ String?
A url that may be used to generate fetch the next set of results. Defined only when ‘has_more` is set to true
45 |
# File 'lib/trycourier/models/tenants/template_list_response.rb', line 45 optional :next_url, String, nil?: true |
#type ⇒ Symbol, Trycourier::Models::Tenants::TemplateListResponse::Type
Always set to ‘list`. Represents the type of this object.
18 |
# File 'lib/trycourier/models/tenants/template_list_response.rb', line 18 required :type, enum: -> { Trycourier::Models::Tenants::TemplateListResponse::Type } |
#url ⇒ String
A url that may be used to generate these results.
24 |
# File 'lib/trycourier/models/tenants/template_list_response.rb', line 24 required :url, String |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/trycourier/models/tenants/template_list_response.rb', line 71
|