Sha256: f4b43e8a13c508d5e612bff1236753b4bf8e0fd2662a47941b5efe725fbacea7

Contents?: true

Size: 770 Bytes

Versions: 3

Compression:

Stored size: 770 Bytes

Contents

module AsposeOCRCloud
  # 
  class PagesInfo < BaseObject
    attr_accessor :pages
    # attribute mapping from ruby-style variable name to JSON key
    def self.attribute_map
      {
        
        # 
        :'pages' => :'Pages'
        
      }
    end

    # attribute type
    def self.swagger_types
      {
        :'pages' => :'Array<Page>'
        
      }
    end

    def initialize(attributes = {})
      return if !attributes.is_a?(Hash) || attributes.empty?

      # convert string to symbol for hash key
      attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}

      
      if attributes[:'Pages']
        if (value = attributes[:'Pages']).is_a?(Array)
          self.pages = value
        end
      end
      
    end

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
aspose_ocr_cloud-1.0.2 lib/aspose_ocr_cloud/models/pages_info.rb
aspose_ocr_cloud-1.0.1 lib/aspose_ocr_cloud/models/pages_info.rb
aspose_ocr_cloud-1.0.0 lib/aspose_ocr_cloud/models/pages_info.rb