Class: Google::Apis::KeepV1::ListContent

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/keep_v1/classes.rb,
lib/google/apis/keep_v1/representations.rb,
lib/google/apis/keep_v1/representations.rb

Overview

The list of items for a single list note.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListContent

Returns a new instance of ListContent.



197
198
199
# File 'lib/google/apis/keep_v1/classes.rb', line 197

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#list_itemsArray<Google::Apis::KeepV1::ListItem>

The items in the list. The number of items must be less than 1,000. Corresponds to the JSON property listItems

Returns:



195
196
197
# File 'lib/google/apis/keep_v1/classes.rb', line 195

def list_items
  @list_items
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



202
203
204
# File 'lib/google/apis/keep_v1/classes.rb', line 202

def update!(**args)
  @list_items = args[:list_items] if args.key?(:list_items)
end