Class: Google::Apis::SlidesV1::List

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/slides_v1/classes.rb,
lib/google/apis/slides_v1/representations.rb,
lib/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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ List

Returns a new instance of List.



1745
1746
1747
# File 'lib/google/apis/slides_v1/classes.rb', line 1745

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

Instance Attribute Details

#list_idString

The ID of the list. Corresponds to the JSON property listId

Returns:

  • (String)


1736
1737
1738
# File 'lib/google/apis/slides_v1/classes.rb', line 1736

def list_id
  @list_id
end

#nesting_levelHash<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

Returns:



1743
1744
1745
# File 'lib/google/apis/slides_v1/classes.rb', line 1743

def nesting_level
  @nesting_level
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1750
1751
1752
1753
# File 'lib/google/apis/slides_v1/classes.rb', line 1750

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