Class: Google::Apis::BooksV1::DictLayerData::Dict::Word::Sense
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::BooksV1::DictLayerData::Dict::Word::Sense
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/books_v1/classes.rb,
generated/google/apis/books_v1/representations.rb,
generated/google/apis/books_v1/representations.rb 
Defined Under Namespace
Classes: Conjugation, Definition, Source, Synonym
Instance Attribute Summary collapse
- 
  
    
      #conjugations  ⇒ Array<Google::Apis::BooksV1::DictLayerData::Dict::Word::Sense::Conjugation> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Corresponds to the JSON property
conjugations. - 
  
    
      #definitions  ⇒ Array<Google::Apis::BooksV1::DictLayerData::Dict::Word::Sense::Definition> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Corresponds to the JSON property
definitions. - 
  
    
      #part_of_speech  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Corresponds to the JSON property
partOfSpeech. - 
  
    
      #pronunciation  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Corresponds to the JSON property
pronunciation. - 
  
    
      #pronunciation_url  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Corresponds to the JSON property
pronunciationUrl. - 
  
    
      #source  ⇒ Google::Apis::BooksV1::DictLayerData::Dict::Word::Sense::Source 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Corresponds to the JSON property
source. - 
  
    
      #syllabification  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Corresponds to the JSON property
syllabification. - 
  
    
      #synonyms  ⇒ Array<Google::Apis::BooksV1::DictLayerData::Dict::Word::Sense::Synonym> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Corresponds to the JSON property
synonyms. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Sense 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of Sense.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Sense
Returns a new instance of Sense
      1087 1088 1089  | 
    
      # File 'generated/google/apis/books_v1/classes.rb', line 1087 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#conjugations ⇒ Array<Google::Apis::BooksV1::DictLayerData::Dict::Word::Sense::Conjugation>
Corresponds to the JSON property conjugations
      1050 1051 1052  | 
    
      # File 'generated/google/apis/books_v1/classes.rb', line 1050 def conjugations @conjugations end  | 
  
#definitions ⇒ Array<Google::Apis::BooksV1::DictLayerData::Dict::Word::Sense::Definition>
Corresponds to the JSON property definitions
      1055 1056 1057  | 
    
      # File 'generated/google/apis/books_v1/classes.rb', line 1055 def definitions @definitions end  | 
  
#part_of_speech ⇒ String
Corresponds to the JSON property partOfSpeech
      1060 1061 1062  | 
    
      # File 'generated/google/apis/books_v1/classes.rb', line 1060 def part_of_speech @part_of_speech end  | 
  
#pronunciation ⇒ String
Corresponds to the JSON property pronunciation
      1065 1066 1067  | 
    
      # File 'generated/google/apis/books_v1/classes.rb', line 1065 def pronunciation @pronunciation end  | 
  
#pronunciation_url ⇒ String
Corresponds to the JSON property pronunciationUrl
      1070 1071 1072  | 
    
      # File 'generated/google/apis/books_v1/classes.rb', line 1070 def pronunciation_url @pronunciation_url end  | 
  
#source ⇒ Google::Apis::BooksV1::DictLayerData::Dict::Word::Sense::Source
Corresponds to the JSON property source
      1075 1076 1077  | 
    
      # File 'generated/google/apis/books_v1/classes.rb', line 1075 def source @source end  | 
  
#syllabification ⇒ String
Corresponds to the JSON property syllabification
      1080 1081 1082  | 
    
      # File 'generated/google/apis/books_v1/classes.rb', line 1080 def syllabification @syllabification end  | 
  
#synonyms ⇒ Array<Google::Apis::BooksV1::DictLayerData::Dict::Word::Sense::Synonym>
Corresponds to the JSON property synonyms
      1085 1086 1087  | 
    
      # File 'generated/google/apis/books_v1/classes.rb', line 1085 def synonyms @synonyms end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      1092 1093 1094 1095 1096 1097 1098 1099 1100 1101  | 
    
      # File 'generated/google/apis/books_v1/classes.rb', line 1092 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  |