class Google::Apis::DocsV1::List

A List represents the list attributes for a group of paragraphs that all belong to the same list. A paragraph that is part of a list has a reference to the list's ID in its bullet.

Attributes

list_properties[RW]

The properties of a list which describe the look and feel of bullets belonging to paragraphs associated with a list. Corresponds to the JSON property `listProperties` @return [Google::Apis::DocsV1::ListProperties]

suggested_deletion_ids[RW]

The suggested deletion IDs. If empty, then there are no suggested deletions of this list. Corresponds to the JSON property `suggestedDeletionIds` @return [Array<String>]

suggested_insertion_id[RW]

The suggested insertion ID. If empty, then this is not a suggested insertion. Corresponds to the JSON property `suggestedInsertionId` @return [String]

suggested_list_properties_changes[RW]

The suggested changes to the list properties, keyed by suggestion ID. Corresponds to the JSON property `suggestedListPropertiesChanges` @return [Hash<String,Google::Apis::DocsV1::SuggestedListProperties>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/docs_v1/classes.rb, line 2446
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/docs_v1/classes.rb, line 2451
def update!(**args)
  @list_properties = args[:list_properties] if args.key?(:list_properties)
  @suggested_deletion_ids = args[:suggested_deletion_ids] if args.key?(:suggested_deletion_ids)
  @suggested_insertion_id = args[:suggested_insertion_id] if args.key?(:suggested_insertion_id)
  @suggested_list_properties_changes = args[:suggested_list_properties_changes] if args.key?(:suggested_list_properties_changes)
end