Class: Google::Apis::BooksV1::Volume::VolumeInfo::IndustryIdentifier
- Inherits:
-
Object
- Object
- Google::Apis::BooksV1::Volume::VolumeInfo::IndustryIdentifier
- 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
-
#identifier ⇒ String
Industry specific volume identifier.
-
#type ⇒ String
Identifier type.
Instance Method Summary collapse
-
#initialize(**args) ⇒ IndustryIdentifier
constructor
A new instance of IndustryIdentifier.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ IndustryIdentifier
Returns a new instance of IndustryIdentifier
3919 3920 3921 |
# File 'generated/google/apis/books_v1/classes.rb', line 3919 def initialize(**args) update!(**args) end |
Instance Attribute Details
#identifier ⇒ String
Industry specific volume identifier.
Corresponds to the JSON property identifier
3912 3913 3914 |
# File 'generated/google/apis/books_v1/classes.rb', line 3912 def identifier @identifier end |
#type ⇒ String
Identifier type. Possible values are ISBN_10, ISBN_13, ISSN and OTHER.
Corresponds to the JSON property type
3917 3918 3919 |
# File 'generated/google/apis/books_v1/classes.rb', line 3917 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3924 3925 3926 3927 |
# File 'generated/google/apis/books_v1/classes.rb', line 3924 def update!(**args) @identifier = args[:identifier] if args.key?(:identifier) @type = args[:type] if args.key?(:type) end |