Class: Google::Apis::TasksV1::TaskLists
- Inherits:
-
Object
- Object
- Google::Apis::TasksV1::TaskLists
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/tasks_v1/classes.rb,
generated/google/apis/tasks_v1/representations.rb,
generated/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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ TaskLists
Returns a new instance of TaskLists
245 246 247 |
# File 'generated/google/apis/tasks_v1/classes.rb', line 245 def initialize(**args) update!(**args) end |
Instance Attribute Details
#etag ⇒ String
ETag of the resource.
Corresponds to the JSON property etag
228 229 230 |
# File 'generated/google/apis/tasks_v1/classes.rb', line 228 def etag @etag end |
#items ⇒ Array<Google::Apis::TasksV1::TaskList>
Collection of task lists.
Corresponds to the JSON property items
233 234 235 |
# File 'generated/google/apis/tasks_v1/classes.rb', line 233 def items @items end |
#kind ⇒ String
Type of the resource. This is always "tasks#taskLists".
Corresponds to the JSON property kind
238 239 240 |
# File 'generated/google/apis/tasks_v1/classes.rb', line 238 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
243 244 245 |
# File 'generated/google/apis/tasks_v1/classes.rb', line 243 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
250 251 252 253 254 255 |
# File 'generated/google/apis/tasks_v1/classes.rb', line 250 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 |