Class: Daytona::ListSecretsResponse
- Inherits:
-
Object
- Object
- Daytona::ListSecretsResponse
- Defined in:
- lib/daytona/common/response.rb
Overview
Cursor-paginated collection of Secrets returned by
SecretService#list. Pass next_cursor back as the
cursor of the next call to fetch the following page; it is nil when
there are no more pages.
Instance Attribute Summary collapse
- #items ⇒ Array<Daytona::Secret> readonly
- #next_cursor ⇒ String? readonly
- #total ⇒ Float readonly
Instance Method Summary collapse
-
#initialize(items:, total:, next_cursor:) ⇒ ListSecretsResponse
constructor
A new instance of ListSecretsResponse.
Constructor Details
#initialize(items:, total:, next_cursor:) ⇒ ListSecretsResponse
Returns a new instance of ListSecretsResponse.
57 58 59 60 61 |
# File 'lib/daytona/common/response.rb', line 57 def initialize(items:, total:, next_cursor:) @items = items @total = total @next_cursor = next_cursor end |
Instance Attribute Details
#items ⇒ Array<Daytona::Secret> (readonly)
46 47 48 |
# File 'lib/daytona/common/response.rb', line 46 def items @items end |
#next_cursor ⇒ String? (readonly)
52 53 54 |
# File 'lib/daytona/common/response.rb', line 52 def next_cursor @next_cursor end |
#total ⇒ Float (readonly)
49 50 51 |
# File 'lib/daytona/common/response.rb', line 49 def total @total end |