Class: Google::Apis::TasksV1::TaskLists
- Inherits:
-
Object
- Object
- Google::Apis::TasksV1::TaskLists
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/tasks_v1/classes.rb,
lib/google/apis/tasks_v1/representations.rb,
lib/google/apis/tasks_v1/representations.rb
Instance Attribute Summary collapse
-
#etag ⇒ String
ETag of the resource.
-
#items ⇒ Array<Google::Apis::TasksV1::TaskList>
Collection of task lists.
-
#kind ⇒ String
Type of the resource.
-
#next_page_token ⇒ String
Token that can be used to request the next page of this result.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TaskLists
constructor
A new instance of TaskLists.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TaskLists
Returns a new instance of TaskLists.
355 356 357 |
# File 'lib/google/apis/tasks_v1/classes.rb', line 355 def initialize(**args) update!(**args) end |
Instance Attribute Details
#etag ⇒ String
ETag of the resource.
Corresponds to the JSON property etag
338 339 340 |
# File 'lib/google/apis/tasks_v1/classes.rb', line 338 def etag @etag end |
#items ⇒ Array<Google::Apis::TasksV1::TaskList>
Collection of task lists.
Corresponds to the JSON property items
343 344 345 |
# File 'lib/google/apis/tasks_v1/classes.rb', line 343 def items @items end |
#kind ⇒ String
Type of the resource. This is always "tasks#taskLists".
Corresponds to the JSON property kind
348 349 350 |
# File 'lib/google/apis/tasks_v1/classes.rb', line 348 def kind @kind end |
#next_page_token ⇒ String
Token that can be used to request the next page of this result.
Corresponds to the JSON property nextPageToken
353 354 355 |
# File 'lib/google/apis/tasks_v1/classes.rb', line 353 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
360 361 362 363 364 365 |
# File 'lib/google/apis/tasks_v1/classes.rb', line 360 def update!(**args) @etag = args[:etag] if args.key?(:etag) @items = args[:items] if args.key?(:items) @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |