Class: Google::Apis::KeepV1::ListContent
- Inherits:
-
Object
- Object
- Google::Apis::KeepV1::ListContent
- 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
-
#list_items ⇒ Array<Google::Apis::KeepV1::ListItem>
The items in the list.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListContent
constructor
A new instance of ListContent.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_items ⇒ Array<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
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 |