Sha256: 6c6f9b8bb58c4e3533b0303591787e26d1ff97226634ce59c3937b85381a64a5

Contents?: true

Size: 703 Bytes

Versions: 3

Compression:

Stored size: 703 Bytes

Contents

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

    # attribute type
    def self.swagger_types
      {
        :'text' => :'String'
        
      }
    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[:'Text']
        self.text = attributes[:'Text']
      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/part_info.rb
aspose_ocr_cloud-1.0.1 lib/aspose_ocr_cloud/models/part_info.rb
aspose_ocr_cloud-1.0.0 lib/aspose_ocr_cloud/models/part_info.rb