Sha256: ca0fc38064a0bfa861710a24866a91c1d637106f00a38ea7a1c93521b5043cd0
Contents?: true
Size: 972 Bytes
Versions: 3
Compression:
Stored size: 972 Bytes
Contents
module AsposeOCRCloud # class Page < BaseObject attr_accessor :page_text, :parts # attribute mapping from ruby-style variable name to JSON key def self.attribute_map { # :'page_text' => :'PageText', # :'parts' => :'Parts' } end # attribute type def self.swagger_types { :'page_text' => :'String', :'parts' => :'Array<PartInfo>' } 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[:'PageText'] self.page_text = attributes[:'PageText'] end if attributes[:'Parts'] if (value = attributes[:'Parts']).is_a?(Array) self.parts = 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/page.rb |
aspose_ocr_cloud-1.0.1 | lib/aspose_ocr_cloud/models/page.rb |
aspose_ocr_cloud-1.0.0 | lib/aspose_ocr_cloud/models/page.rb |