Sha256: 822c7f7718054bcde442f89d975e90681dcf0d4cb67115e303f9a9c49171c186

Contents?: true

Size: 701 Bytes

Versions: 3

Compression:

Stored size: 701 Bytes

Contents

module OpenActive
  module Models
    module Schema
      class Chapter < ::OpenActive::Models::Schema::CreativeWork
        # @!attribute type
        # @return [String]
        def type
          "schema:Chapter"
        end

        # @return [String]
        define_property :pagination, as: "pagination", types: [
          "string",
        ]

        # @return [String,int,nil]
        define_property :page_start, as: "pageStart", types: [
          "string",
          "int",
          "null",
        ]

        # @return [String,int,nil]
        define_property :page_end, as: "pageEnd", types: [
          "string",
          "int",
          "null",
        ]
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
openactive-0.2.2 lib/openactive/models/schema/chapter.rb
openactive-0.2.1 lib/openactive/models/schema/chapter.rb
openactive-0.2.0 lib/openactive/models/schema/chapter.rb