Class: Google::Apis::BooksV1::DictLayerData::Dict::Word::Sense::Definition
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::BooksV1::DictLayerData::Dict::Word::Sense::Definition
 
- 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: Example
Instance Attribute Summary collapse
- 
  
    
      #definition  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Corresponds to the JSON property definition.
- 
  
    
      #examples  ⇒ Array<Google::Apis::BooksV1::DictLayerData::Dict::Word::Sense::Definition::Example> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Corresponds to the JSON property examples.
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Definition 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Definition. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Definition
Returns a new instance of Definition
| 1142 1143 1144 | # File 'generated/google/apis/books_v1/classes.rb', line 1142 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#definition ⇒ String
Corresponds to the JSON property definition
| 1135 1136 1137 | # File 'generated/google/apis/books_v1/classes.rb', line 1135 def definition @definition end | 
#examples ⇒ Array<Google::Apis::BooksV1::DictLayerData::Dict::Word::Sense::Definition::Example>
Corresponds to the JSON property examples
| 1140 1141 1142 | # File 'generated/google/apis/books_v1/classes.rb', line 1140 def examples @examples end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1147 1148 1149 1150 | # File 'generated/google/apis/books_v1/classes.rb', line 1147 def update!(**args) @definition = args[:definition] if args.key?(:definition) @examples = args[:examples] if args.key?(:examples) end |