class Google::Apis::BooksV1::DictLayerData::Dict::Word::Sense::Definition

Attributes

definition[RW]

Corresponds to the JSON property `definition` @return [String]

examples[RW]

Corresponds to the JSON property `examples` @return [Array<Google::Apis::BooksV1::DictLayerData::Dict::Word::Sense::Definition::Example>]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/books_v1/classes.rb, line 1148
def update!(**args)
  @definition = args[:definition] if args.key?(:definition)
  @examples = args[:examples] if args.key?(:examples)
end