Class: Google::Apis::BooksV1::LoadingResource
- Inherits:
-
Object
- Object
- Google::Apis::BooksV1::LoadingResource
- 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
Instance Attribute Summary collapse
-
#author ⇒ String
Corresponds to the JSON property
author
. -
#processing_state ⇒ String
Corresponds to the JSON property
processingState
. -
#title ⇒ String
Corresponds to the JSON property
title
. -
#volume_id ⇒ String
Corresponds to the JSON property
volumeId
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LoadingResource
constructor
A new instance of LoadingResource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ LoadingResource
Returns a new instance of LoadingResource.
535 536 537 |
# File 'generated/google/apis/books_v1/classes.rb', line 535 def initialize(**args) update!(**args) end |
Instance Attribute Details
#author ⇒ String
Corresponds to the JSON property author
518 519 520 |
# File 'generated/google/apis/books_v1/classes.rb', line 518 def @author end |
#processing_state ⇒ String
Corresponds to the JSON property processingState
523 524 525 |
# File 'generated/google/apis/books_v1/classes.rb', line 523 def processing_state @processing_state end |
#title ⇒ String
Corresponds to the JSON property title
528 529 530 |
# File 'generated/google/apis/books_v1/classes.rb', line 528 def title @title end |
#volume_id ⇒ String
Corresponds to the JSON property volumeId
533 534 535 |
# File 'generated/google/apis/books_v1/classes.rb', line 533 def volume_id @volume_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
540 541 542 543 544 545 |
# File 'generated/google/apis/books_v1/classes.rb', line 540 def update!(**args) @author = args[:author] if args.key?(:author) @processing_state = args[:processing_state] if args.key?(:processing_state) @title = args[:title] if args.key?(:title) @volume_id = args[:volume_id] if args.key?(:volume_id) end |