Sha256: b1129192c890153c0f27dc7afb361d9fc7221fcced846c43f57481390c3bf5ab

Contents?: true

Size: 937 Bytes

Versions: 2

Compression:

Stored size: 937 Bytes

Contents

module AsposeStorageCloud
  # 
  class FileExist < BaseObject
    attr_accessor :is_exist, :is_folder
    # attribute mapping from ruby-style variable name to JSON key
    def self.attribute_map
      {
        
        # 
        :'is_exist' => :'IsExist',
        
        # 
        :'is_folder' => :'IsFolder'
        
      }
    end

    # attribute type
    def self.swagger_types
      {
        :'is_exist' => :'BOOLEAN',
        :'is_folder' => :'BOOLEAN'
        
      }
    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[:'IsExist']
        self.is_exist = attributes[:'IsExist']
      end
      
      if attributes[:'IsFolder']
        self.is_folder = attributes[:'IsFolder']
      end
      
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
aspose_storage_cloud-1.0.1 lib/aspose_storage_cloud/models/file_exist.rb
aspose_storage_cloud-1.0.0 lib/aspose_storage_cloud/models/file_exist.rb