Class: Google::Apis::BooksV1::Volume::VolumeInfo::IndustryIdentifier

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

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) ⇒ IndustryIdentifier

Returns a new instance of IndustryIdentifier.


3755
3756
3757
# File 'generated/google/apis/books_v1/classes.rb', line 3755

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

Instance Attribute Details

#identifierString

Industry specific volume identifier. Corresponds to the JSON property identifier

Returns:

  • (String)

3748
3749
3750
# File 'generated/google/apis/books_v1/classes.rb', line 3748

def identifier
  @identifier
end

#typeString

Identifier type. Possible values are ISBN_10, ISBN_13, ISSN and OTHER. Corresponds to the JSON property type

Returns:

  • (String)

3753
3754
3755
# File 'generated/google/apis/books_v1/classes.rb', line 3753

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


3760
3761
3762
3763
# File 'generated/google/apis/books_v1/classes.rb', line 3760

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