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.
196 197 198 |
# File 'lib/google/apis/keep_v1/classes.rb', line 196 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
194 195 196 |
# File 'lib/google/apis/keep_v1/classes.rb', line 194 def list_items @list_items end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
201 202 203 |
# File 'lib/google/apis/keep_v1/classes.rb', line 201 def update!(**args) @list_items = args[:list_items] if args.key?(:list_items) end |