struct Google::Tasks::V1::Tasks::List(T)
- Google::Tasks::V1::Tasks::List(T)
- Struct
- Value
- Object
Included Modules
- Enumerable(T)
- Google::Resource
- JSON::Serializable
- MessagePack::Serializable
Extended Modules
- JSON::Schema
Defined in:
tasks.crConstructors
Instance Method Summary
-
#each(page_count : Int32 | Nil = nil, &block : T -> ) : Nil
Must yield this collection's elements to the block.
- #etag : String
- #items : Array(T)
- #kind : String
- #next_page_token : String | Nil
-
#to_a
Returns an
Array
with all the elements in the collection.
Macros inherited from module Google::Resource
field(var, key = nil, **options, &block)
field,
field!(var, key = nil, **options, &block)
field!,
field?(var, key = nil, **options, &block)
field?
Constructor Detail
Instance Method Detail
def each(page_count : Int32 | Nil = nil, &block : T -> ) : Nil
#
Description copied from module Enumerable(T)
Must yield this collection's elements to the block.
def to_a
#
Description copied from module Enumerable(T)
Returns an Array
with all the elements in the collection.
(1..5).to_a # => [1, 2, 3, 4, 5]