Class: Google::Apis::BooksV1::DictLayerData::Dict
- Inherits:
-
Object
- Object
- Google::Apis::BooksV1::DictLayerData::Dict
- 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
Instance Attribute Summary collapse
-
#source ⇒ Google::Apis::BooksV1::DictLayerData::Dict::Source
The source, url and attribution for this dictionary data.
-
#words ⇒ Array<Google::Apis::BooksV1::DictLayerData::Dict::Word>
Corresponds to the JSON property
words
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Dict
constructor
A new instance of Dict.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Dict
Returns a new instance of Dict
871 872 873 |
# File 'generated/google/apis/books_v1/classes.rb', line 871 def initialize(**args) update!(**args) end |
Instance Attribute Details
#source ⇒ Google::Apis::BooksV1::DictLayerData::Dict::Source
The source, url and attribution for this dictionary data.
Corresponds to the JSON property source
864 865 866 |
# File 'generated/google/apis/books_v1/classes.rb', line 864 def source @source end |
#words ⇒ Array<Google::Apis::BooksV1::DictLayerData::Dict::Word>
Corresponds to the JSON property words
869 870 871 |
# File 'generated/google/apis/books_v1/classes.rb', line 869 def words @words end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
876 877 878 879 |
# File 'generated/google/apis/books_v1/classes.rb', line 876 def update!(**args) @source = args[:source] if args.key?(:source) @words = args[:words] if args.key?(:words) end |