class Google::Apis::TasksV1::TaskLists

Attributes

etag[RW]

ETag of the resource. Corresponds to the JSON property `etag` @return [String]

items[RW]

Collection of task lists. Corresponds to the JSON property `items` @return [Array<Google::Apis::TasksV1::TaskList>]

kind[RW]

Type of the resource. This is always “tasks#taskLists”. Corresponds to the JSON property `kind` @return [String]

next_page_token[RW]

Token that can be used to request the next page of this result. Corresponds to the JSON property `nextPageToken` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/tasks_v1/classes.rb, line 248
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/tasks_v1/classes.rb, line 253
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