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

Attributes

conjugations[RW]

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

definitions[RW]

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

part_of_speech[RW]

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

pronunciation[RW]

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

pronunciation_url[RW]

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

source[RW]

Corresponds to the JSON property `source` @return [Google::Apis::BooksV1::DictLayerData::Dict::Word::Sense::Source]

syllabification[RW]

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

synonyms[RW]

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

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/books_v1/classes.rb, line 1088
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 1093
def update!(**args)
  @conjugations = args[:conjugations] if args.key?(:conjugations)
  @definitions = args[:definitions] if args.key?(:definitions)
  @part_of_speech = args[:part_of_speech] if args.key?(:part_of_speech)
  @pronunciation = args[:pronunciation] if args.key?(:pronunciation)
  @pronunciation_url = args[:pronunciation_url] if args.key?(:pronunciation_url)
  @source = args[:source] if args.key?(:source)
  @syllabification = args[:syllabification] if args.key?(:syllabification)
  @synonyms = args[:synonyms] if args.key?(:synonyms)
end