Class: Harkness::Comic

Inherits:
Shale::Mapper
  • Object
show all
Defined in:
lib/harkness/models/comic.rb

Overview

An individual character.

Instance Attribute Summary collapse

Instance Attribute Details

#charactersHarkness::CharacterList (readonly)

Returns a resource list containing the characters which appear in this comic.

Returns:



111
# File 'lib/harkness/models/comic.rb', line 111

attribute :characters, Harkness::CharacterList

#collectedIssuesArray<Harkness::ComicSummary> (readonly)

Returns a list of issues collected in this comic (will generally be empty for periodical formats such as "comic" or "magazine").

Returns:

  • (Array<Harkness::ComicSummary>)

    a list of issues collected in this comic (will generally be empty for periodical formats such as "comic" or "magazine").



93
# File 'lib/harkness/models/comic.rb', line 93

attribute :collectedIssues, Harkness::ComicSummary, collection: true

#collectionsArray<Harkness::ComicSummary> (readonly)

Returns A list of collections which include this comic (will generally be empty if the comic's format is a collection).

Returns:

  • (Array<Harkness::ComicSummary>)

    A list of collections which include this comic (will generally be empty if the comic's format is a collection).



89
# File 'lib/harkness/models/comic.rb', line 89

attribute :collections, Harkness::ComicSummary, collection: true

#creatorsHarkness::CreatorList (readonly)

Returns a resource list containing the creators associated with this comic.

Returns:



108
# File 'lib/harkness/models/comic.rb', line 108

attribute :creators, Harkness::CreatorList

#datesArray<Harkness::ComicDate] a list of key dates for this comic. (readonly)

Returns Array<Harkness::ComicDate] a list of key dates for this comic.

Returns:

  • (Array<Harkness::ComicDate] a list of key dates for this comic.)

    Array<Harkness::ComicDate] a list of key dates for this comic.



96
# File 'lib/harkness/models/comic.rb', line 96

attribute :dates, Harkness::ComicDate, collection: true

#descriptionString (readonly)

Returns the preferred description of the comic.

Returns:

  • (String)

    the preferred description of the comic.



45
# File 'lib/harkness/models/comic.rb', line 45

attribute :description, Shale::Type::String

#diamondCodeString (readonly)

Returns the Diamond code for the comic.

Returns:

  • (String)

    the Diamond code for the comic.



57
# File 'lib/harkness/models/comic.rb', line 57

attribute :diamondCode, Shale::Type::String

#digitalIdInteger (readonly)

Returns the ID of the digital comic representation of this comic. Will be 0 if the comic is not available digitally.

Returns:

  • (Integer)

    the ID of the digital comic representation of this comic. Will be 0 if the comic is not available digitally.



32
# File 'lib/harkness/models/comic.rb', line 32

attribute :digitalId, Shale::Type::Integer

#eanString (readonly)

Returns the EAN barcode for the comic.

Returns:

  • (String)

    the EAN barcode for the comic.



60
# File 'lib/harkness/models/comic.rb', line 60

attribute :ean, Shale::Type::String

#eventsHarkness::EventList (readonly)

Returns a resource list containing the events in which this comic appears.

Returns:



117
# File 'lib/harkness/models/comic.rb', line 117

attribute :events, Harkness::EventList

#formatString (readonly)

Returns the publication format of the comic e.g. comic, hardcover, trade paperback.

Returns:

  • (String)

    the publication format of the comic e.g. comic, hardcover, trade paperback.



66
# File 'lib/harkness/models/comic.rb', line 66

attribute :format, Shale::Type::String

#idInteger (readonly)

Returns the unique ID of the comic resource.

Returns:

  • (Integer)

    the unique ID of the comic resource.



28
# File 'lib/harkness/models/comic.rb', line 28

attribute :id, Shale::Type::Integer

#imagesArray<Harkness::Image> (readonly)

Returns a list of promotional images associated with this comic.

Returns:

  • (Array<Harkness::Image>)

    a list of promotional images associated with this comic.



105
# File 'lib/harkness/models/comic.rb', line 105

attribute :images, Harkness::Image, collection: true

#isbnString (readonly)

Returns the ISBN for the comic (generally only populated for collection formats).

Returns:

  • (String)

    the ISBN for the comic (generally only populated for collection formats).



51
# File 'lib/harkness/models/comic.rb', line 51

attribute :isbn, Shale::Type::String

#issnString (readonly)

Returns the ISSN barcode for the comic.

Returns:

  • (String)

    the ISSN barcode for the comic.



63
# File 'lib/harkness/models/comic.rb', line 63

attribute :issn, Shale::Type::String

#issueNumberInteger (readonly)

Returns the number of the issue in the series (will generally be 0 for collection formats).

Returns:

  • (Integer)

    the number of the issue in the series (will generally be 0 for collection formats).



38
# File 'lib/harkness/models/comic.rb', line 38

attribute :issueNumber, Shale::Type::Integer

#modifiedString (readonly)

Returns the date the resource was most recently modified.

Returns:

  • (String)

    the date the resource was most recently modified.



48
# File 'lib/harkness/models/comic.rb', line 48

attribute :modified, Shale::Type::String

#pageCountInteger (readonly)

Returns the number of story pages in the comic.

Returns:

  • (Integer)

    the number of story pages in the comic.



69
# File 'lib/harkness/models/comic.rb', line 69

attribute :pageCount, Shale::Type::Integer

#pricesArray<Harkness::ComicPrice> (readonly)

Returns a list of prices for this comic.

Returns:



99
# File 'lib/harkness/models/comic.rb', line 99

attribute :prices, Harkness::ComicPrice, collection: true

#resourceURIString (readonly)

Returns the canonical URL identifier for this resource.

Returns:

  • (String)

    the canonical URL identifier for this resource.



75
# File 'lib/harkness/models/comic.rb', line 75

attribute :resourceURI, Shale::Type::String

#seriesArray<Harkness::SeriesSummary> (readonly)

Returns a summary representation of the series to which this comic belongs.

Returns:



81
# File 'lib/harkness/models/comic.rb', line 81

attribute :series, Harkness::SeriesSummary

#storiesHarkness::StoryList (readonly)

Returns a resource list containing the stories which appear in this comic.

Returns:



114
# File 'lib/harkness/models/comic.rb', line 114

attribute :stories, Harkness::StoryList

#textObjectsArray<Harkness::TextObject> (readonly)

Returns a set of descriptive text blurbs for the comic.

Returns:



72
# File 'lib/harkness/models/comic.rb', line 72

attribute :textObjects, Harkness::TextObject, collection: true

#thumbnailHarkness::Image (readonly)

Returns the representative image for this comic.

Returns:



102
# File 'lib/harkness/models/comic.rb', line 102

attribute :thumbnail, Harkness::Image

#titleString (readonly)

Returns the canonical title of the comic.

Returns:

  • (String)

    the canonical title of the comic.



35
# File 'lib/harkness/models/comic.rb', line 35

attribute :title, Shale::Type::String

#upcString (readonly)

Returns the UPC barcode number for the comic (generally only populated for periodical formats).

Returns:

  • (String)

    the UPC barcode number for the comic (generally only populated for periodical formats).



54
# File 'lib/harkness/models/comic.rb', line 54

attribute :upc, Shale::Type::String

#urlsArray<Harkness::URL> (readonly)

Returns a set of public web site URLs for the resource.

Returns:

  • (Array<Harkness::URL>)

    a set of public web site URLs for the resource.



78
# File 'lib/harkness/models/comic.rb', line 78

attribute :urls, Harkness::URL, collection: true

#variantDescriptionString (readonly)

Returns If the issue is a variant (e.g. an alternate cover, second printing, or director’s cut), a text description of the variant.

Returns:

  • (String)

    If the issue is a variant (e.g. an alternate cover, second printing, or director’s cut), a text description of the variant.



42
# File 'lib/harkness/models/comic.rb', line 42

attribute :variantDescription, Shale::Type::String

#variantsArray<Harkness::ComicSummary> (readonly)

Returns a list of variant issues for this comic (includes the "original" issue if the current issue is a variant).

Returns:

  • (Array<Harkness::ComicSummary>)

    a list of variant issues for this comic (includes the "original" issue if the current issue is a variant).



85
# File 'lib/harkness/models/comic.rb', line 85

attribute :variants, Harkness::ComicSummary, collection: true