Sha256: 19714c06e48be3d5e42f5131418e9f4a5b1381a3e50a141411e7e4180feeded6

Contents?: true

Size: 1.29 KB

Versions: 10

Compression:

Stored size: 1.29 KB

Contents

module AsposeCellsCloud
  # 
  class SaveResult < BaseObject
    attr_accessor :source_document, :dest_document, :additional_items
    # attribute mapping from ruby-style variable name to JSON key
    def self.attribute_map
      {
        
        # 
        :'source_document' => :'SourceDocument',
        
        # 
        :'dest_document' => :'DestDocument',
        
        # 
        :'additional_items' => :'AdditionalItems'
        
      }
    end

    # attribute type
    def self.swagger_types
      {
        :'source_document' => :'Link',
        :'dest_document' => :'Link',
        :'additional_items' => :'Array<Link>'
        
      }
    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[:'SourceDocument']
        self.source_document = attributes[:'SourceDocument']
      end
      
      if attributes[:'DestDocument']
        self.dest_document = attributes[:'DestDocument']
      end
      
      if attributes[:'AdditionalItems']
        if (value = attributes[:'AdditionalItems']).is_a?(Array)
          self.additional_items = value
        end
      end
      
    end

  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
aspose_cells_cloud-1.0.10 lib/aspose_cells_cloud/models/save_result.rb
aspose_cells_cloud-1.0.9 lib/aspose_cells_cloud/models/save_result.rb
aspose_cells_cloud-1.0.8 lib/aspose_cells_cloud/models/save_result.rb
aspose_cells_cloud-1.0.7 lib/aspose_cells_cloud/models/save_result.rb
aspose_cells_cloud-1.0.6 lib/aspose_cells_cloud/models/save_result.rb
aspose_cells_cloud-1.0.5 lib/aspose_cells_cloud/models/save_result.rb
aspose_cells_cloud-1.0.3 lib/aspose_cells_cloud/models/save_result.rb
aspose_cells_cloud-1.0.2 lib/aspose_cells_cloud/models/save_result.rb
aspose_cells_cloud-1.0.1 lib/aspose_cells_cloud/models/save_result.rb
aspose_cells_cloud-1.0.0 lib/aspose_cells_cloud/models/save_result.rb