Sha256: 14bd41335cad5377cd9449fc584d82b371e176f2fa50b0e4897326b449fa4f53

Contents?: true

Size: 760 Bytes

Versions: 3

Compression:

Stored size: 760 Bytes

Contents

module GroupDocs
  class Document::MetaData < Api::Entity

    # @attr [Integer] id
    attr_accessor :id
    # @attr [String] guid
    attr_accessor :guid
    # @attr [Integer] page_count
    attr_accessor :page_count
    # @attr [Integer] views_count
    attr_accessor :views_count
    # @attr [Hash] last_view
    attr_accessor :last_view

    # added in release 2.0.0
    # @attr [String] type
    attr_accessor :type
    # @attr [String] url
    attr_accessor :url

    #
    # Coverts passed hash to GroupDocs::Document::View object.
    #
    # @param [Hash] options
    # @return [GroupDocs::Document::View]
    #
    def last_view=(options)
      @last_view = GroupDocs::Document::View.new(options)
    end

  end # Document::Metadata
end # GroupDocs

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
groupdocs-2.2.0 lib/groupdocs/document/metadata.rb
groupdocs-2.1.0 lib/groupdocs/document/metadata.rb
groupdocs-2.0.0 lib/groupdocs/document/metadata.rb