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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/books_v1/classes.rb,
lib/google/apis/books_v1/representations.rb,
lib/google/apis/books_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ IndustryIdentifier

Returns a new instance of IndustryIdentifier.



4130
4131
4132
# File 'lib/google/apis/books_v1/classes.rb', line 4130

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

Instance Attribute Details

#identifierString

Industry specific volume identifier. Corresponds to the JSON property identifier

Returns:

  • (String)


4123
4124
4125
# File 'lib/google/apis/books_v1/classes.rb', line 4123

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)


4128
4129
4130
# File 'lib/google/apis/books_v1/classes.rb', line 4128

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4135
4136
4137
4138
# File 'lib/google/apis/books_v1/classes.rb', line 4135

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