class Google::Apis::BooksV1::Volume::UserInfo::RentalPeriod

Period during this book is/was a valid rental.

Attributes

end_utc_sec[RW]

Corresponds to the JSON property `endUtcSec` @return [String]

start_utc_sec[RW]

Corresponds to the JSON property `startUtcSec` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/books_v1/classes.rb, line 3414
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/books_v1/classes.rb, line 3419
def update!(**args)
  @end_utc_sec = args[:end_utc_sec] if args.key?(:end_utc_sec)
  @start_utc_sec = args[:start_utc_sec] if args.key?(:start_utc_sec)
end