Class: Google::Apis::BooksV1::Volume::AccessInfo::Epub
- Inherits:
-
Object
- Object
- Google::Apis::BooksV1::Volume::AccessInfo::Epub
- 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
Information about epub content. (In LITE projection.)
Instance Attribute Summary collapse
-
#acs_token_link ⇒ String
URL to retrieve ACS token for epub download.
-
#download_link ⇒ String
URL to download epub.
-
#is_available ⇒ Boolean
(also: #is_available?)
Is a flowing text epub available either as public domain or for purchase.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Epub
constructor
A new instance of Epub.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Epub
Returns a new instance of Epub
2998 2999 3000 |
# File 'generated/google/apis/books_v1/classes.rb', line 2998 def initialize(**args) update!(**args) end |
Instance Attribute Details
#acs_token_link ⇒ String
URL to retrieve ACS token for epub download. (In LITE projection.)
Corresponds to the JSON property acsTokenLink
2984 2985 2986 |
# File 'generated/google/apis/books_v1/classes.rb', line 2984 def acs_token_link @acs_token_link end |
#download_link ⇒ String
URL to download epub. (In LITE projection.)
Corresponds to the JSON property downloadLink
2989 2990 2991 |
# File 'generated/google/apis/books_v1/classes.rb', line 2989 def download_link @download_link end |
#is_available ⇒ Boolean Also known as: is_available?
Is a flowing text epub available either as public domain or for purchase. (In
LITE projection.)
Corresponds to the JSON property isAvailable
2995 2996 2997 |
# File 'generated/google/apis/books_v1/classes.rb', line 2995 def is_available @is_available end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3003 3004 3005 3006 3007 |
# File 'generated/google/apis/books_v1/classes.rb', line 3003 def update!(**args) @acs_token_link = args[:acs_token_link] if args.key?(:acs_token_link) @download_link = args[:download_link] if args.key?(:download_link) @is_available = args[:is_available] if args.key?(:is_available) end |