Class: Google::Apis::BooksV1::UserSettings::NotesExport
- Inherits:
-
Object
- Object
- Google::Apis::BooksV1::UserSettings::NotesExport
- 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
Overview
User settings in sub-objects, each for different purposes.
Instance Attribute Summary collapse
-
#folder_name ⇒ String
Corresponds to the JSON property
folderName
. -
#is_enabled ⇒ Boolean
(also: #is_enabled?)
Corresponds to the JSON property
isEnabled
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ NotesExport
constructor
A new instance of NotesExport.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ NotesExport
Returns a new instance of NotesExport
2634 2635 2636 |
# File 'generated/google/apis/books_v1/classes.rb', line 2634 def initialize(**args) update!(**args) end |
Instance Attribute Details
#folder_name ⇒ String
Corresponds to the JSON property folderName
2626 2627 2628 |
# File 'generated/google/apis/books_v1/classes.rb', line 2626 def folder_name @folder_name end |
#is_enabled ⇒ Boolean Also known as: is_enabled?
Corresponds to the JSON property isEnabled
2631 2632 2633 |
# File 'generated/google/apis/books_v1/classes.rb', line 2631 def is_enabled @is_enabled end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2639 2640 2641 2642 |
# File 'generated/google/apis/books_v1/classes.rb', line 2639 def update!(**args) @folder_name = args[:folder_name] if args.key?(:folder_name) @is_enabled = args[:is_enabled] if args.key?(:is_enabled) end |