Class: Google::Apis::SlidesV1::List
- Inherits:
-
Object
- Object
- Google::Apis::SlidesV1::List
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/slides_v1/classes.rb,
generated/google/apis/slides_v1/representations.rb,
generated/google/apis/slides_v1/representations.rb
Overview
A List describes the look and feel of bullets belonging to paragraphs associated with a list. A paragraph that is part of a list has an implicit reference to that list's ID.
Instance Attribute Summary collapse
-
#list_id ⇒ String
The ID of the list.
-
#nesting_level ⇒ Hash<String,Google::Apis::SlidesV1::NestingLevel>
A map of nesting levels to the properties of bullets at the associated level.
Instance Method Summary collapse
-
#initialize(**args) ⇒ List
constructor
A new instance of List.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ List
Returns a new instance of List
1823 1824 1825 |
# File 'generated/google/apis/slides_v1/classes.rb', line 1823 def initialize(**args) update!(**args) end |
Instance Attribute Details
#list_id ⇒ String
The ID of the list.
Corresponds to the JSON property listId
1821 1822 1823 |
# File 'generated/google/apis/slides_v1/classes.rb', line 1821 def list_id @list_id end |
#nesting_level ⇒ Hash<String,Google::Apis::SlidesV1::NestingLevel>
A map of nesting levels to the properties of bullets at the associated
level. A list has at most nine levels of nesting, so the possible values
for the keys of this map are 0 through 8, inclusive.
Corresponds to the JSON property nestingLevel
1816 1817 1818 |
# File 'generated/google/apis/slides_v1/classes.rb', line 1816 def nesting_level @nesting_level end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1828 1829 1830 1831 |
# File 'generated/google/apis/slides_v1/classes.rb', line 1828 def update!(**args) @nesting_level = args[:nesting_level] if args.key?(:nesting_level) @list_id = args[:list_id] if args.key?(:list_id) end |