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

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ NotesExport

Returns a new instance of NotesExport



2558
2559
2560
# File 'generated/google/apis/books_v1/classes.rb', line 2558

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

Instance Attribute Details

#folder_nameString

Corresponds to the JSON property folderName

Returns:

  • (String)


2550
2551
2552
# File 'generated/google/apis/books_v1/classes.rb', line 2550

def folder_name
  @folder_name
end

#is_enabledBoolean Also known as: is_enabled?

Corresponds to the JSON property isEnabled

Returns:

  • (Boolean)


2555
2556
2557
# File 'generated/google/apis/books_v1/classes.rb', line 2555

def is_enabled
  @is_enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2563
2564
2565
2566
# File 'generated/google/apis/books_v1/classes.rb', line 2563

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