Class: Google::Apis::SlidesV1::TextContent

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

The general text content. The text must reside in a compatible shape (e.g. text box or rectangle) or a table cell in a page.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TextContent

Returns a new instance of TextContent.



4143
4144
4145
# File 'lib/google/apis/slides_v1/classes.rb', line 4143

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

Instance Attribute Details

#listsHash<String,Google::Apis::SlidesV1::List>

The bulleted lists contained in this text, keyed by list ID. Corresponds to the JSON property lists

Returns:



4135
4136
4137
# File 'lib/google/apis/slides_v1/classes.rb', line 4135

def lists
  @lists
end

#text_elementsArray<Google::Apis::SlidesV1::TextElement>

The text contents broken down into its component parts, including styling information. This property is read-only. Corresponds to the JSON property textElements



4141
4142
4143
# File 'lib/google/apis/slides_v1/classes.rb', line 4141

def text_elements
  @text_elements
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4148
4149
4150
4151
# File 'lib/google/apis/slides_v1/classes.rb', line 4148

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