Sha256: ccdb01509c9ef3484bf2f5ce2c944262ccdf85cfd41856f0583ec984ce0757f4

Contents?: true

Size: 774 Bytes

Versions: 3

Compression:

Stored size: 774 Bytes

Contents

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

    # attribute type
    def self.swagger_types
      {
        :'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[:'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/parts_info.rb
aspose_ocr_cloud-1.0.1 lib/aspose_ocr_cloud/models/parts_info.rb
aspose_ocr_cloud-1.0.0 lib/aspose_ocr_cloud/models/parts_info.rb