Class: Google::Apis::BooksV1::UserSettings::NotesExport

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/books_v1/classes.rb,
lib/google/apis/books_v1/representations.rb,
lib/google/apis/books_v1/representations.rb

Overview

User settings in sub-objects, each for different purposes.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ NotesExport

Returns a new instance of NotesExport.



2845
2846
2847
# File 'lib/google/apis/books_v1/classes.rb', line 2845

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#folder_nameString

Corresponds to the JSON property folderName

Returns:

  • (String)


2837
2838
2839
# File 'lib/google/apis/books_v1/classes.rb', line 2837

def folder_name
  @folder_name
end

#is_enabledBoolean Also known as: is_enabled?

Corresponds to the JSON property isEnabled

Returns:

  • (Boolean)


2842
2843
2844
# File 'lib/google/apis/books_v1/classes.rb', line 2842

def is_enabled
  @is_enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2850
2851
2852
2853
# File 'lib/google/apis/books_v1/classes.rb', line 2850

def update!(**args)
  @folder_name = args[:folder_name] if args.key?(:folder_name)
  @is_enabled = args[:is_enabled] if args.key?(:is_enabled)
end