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.



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

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:



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