Sha256: b9ab04110d2f9d241721f2ca473864f6fa873f96bbbeb05e0f643d2d038f8179

Contents?: true

Size: 601 Bytes

Versions: 20

Compression:

Stored size: 601 Bytes

Contents

class RbVmomi::VIM::DynamicTypeMgrDataTypeInfo
  def toRbvmomiTypeHash
    {
      self.wsdlName => {
        'kind' => 'data',
        'type-id' => self.name,
        'base-type-id' => self.base.first,
        'props' => self.property.map do |prop|
          {
            'name' => prop.name,
            'type-id-ref' => prop.type.gsub("[]", ""),
            'is-array' => (prop.type =~ /\[\]$/) ? true : false,
            'is-optional' => prop.annotation.find{|a| a.name == "optional"} ? true : false,
            'version-id-ref' => prop.version,
          }
        end,
      }
    }
  end
end

Version data entries

20 entries across 20 versions & 4 rubygems

Version Path
rbvmomi-1.8.5 lib/rbvmomi/vim/DynamicTypeMgrDataTypeInfo.rb
rbvmomi-1.8.4 lib/rbvmomi/vim/DynamicTypeMgrDataTypeInfo.rb
rbvmomi-1.8.3 lib/rbvmomi/vim/DynamicTypeMgrDataTypeInfo.rb
rbvmomi-1.9.4 lib/rbvmomi/vim/DynamicTypeMgrDataTypeInfo.rb
rbvmomi-1.9.3 lib/rbvmomi/vim/DynamicTypeMgrDataTypeInfo.rb
rbvmomi-1.9.2 lib/rbvmomi/vim/DynamicTypeMgrDataTypeInfo.rb
rbvmomi-1.9.1 lib/rbvmomi/vim/DynamicTypeMgrDataTypeInfo.rb
rbvmomi-1.9.0 lib/rbvmomi/vim/DynamicTypeMgrDataTypeInfo.rb
rbvmomi-1.8.2 lib/rbvmomi/vim/DynamicTypeMgrDataTypeInfo.rb
rbvmomi-1.8.2.pre lib/rbvmomi/vim/DynamicTypeMgrDataTypeInfo.rb
mkuzmin-rbvmomi-1.8.2.1 lib/rbvmomi/vim/DynamicTypeMgrDataTypeInfo.rb
vagrant-rbvmomi-1.8.1 lib/rbvmomi/vim/DynamicTypeMgrDataTypeInfo.rb
rbvmomi-1.8.1 lib/rbvmomi/vim/DynamicTypeMgrDataTypeInfo.rb
rbvmomi-1.8.0 lib/rbvmomi/vim/DynamicTypeMgrDataTypeInfo.rb
gapinc-rbvmomi-1.6.1 lib/rbvmomi/vim/DynamicTypeMgrDataTypeInfo.rb
gapinc-rbvmomi-1.6.0 lib/rbvmomi/vim/DynamicTypeMgrDataTypeInfo.rb
rbvmomi-1.6.0 lib/rbvmomi/vim/DynamicTypeMgrDataTypeInfo.rb
rbvmomi-1.5.1 lib/rbvmomi/vim/DynamicTypeMgrDataTypeInfo.rb
rbvmomi-1.5.0 lib/rbvmomi/vim/DynamicTypeMgrDataTypeInfo.rb
rbvmomi-1.4.0 lib/rbvmomi/vim/DynamicTypeMgrDataTypeInfo.rb