Class List Method List File List

# Class: Com::Vmware::Content::Type::Info

Inherits:
  VAPI::Bindings::VapiStruct
  - Object
  - VAPI::Bindings::VapiStruct
  - Com::Vmware::Content::Type::Info
  show all
Defined in:
  /build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/content.rb

## Overview

The ``Com::Vmware::Content::Type::Info`` class describes support for a specific type of data in an :class:`Com::Vmware::Content::Library::ItemModel` . The ``Com::Vmware::Content::Type::Info`` can be queried through the :class:`Com::Vmware::Content::Type` class . Type support describes plugins in the Content Library which can provide metadata on library items and help manage the transfer process by adding dependent files when a current file is added.

## Instance Attribute Summary (collapse)

- - (String) description

  A description of the type support offered by the plugin.

- - (String) name

  The name of the plugin which provides the type support.

- - (String) type

  The type which the plugin supports.

- - (String) vendor

  The name of the vendor who created the type support plugin.

- - (String) version

  The version number of the type support plugin.

## Class Method Summary (collapse)

- + (VAPI::Bindings::StructType) binding_type

  Holds (gets or creates) the binding type metadata for this structure type.

## Instance Method Summary (collapse)

- - (Info) initialize(ruby_values = nil, struct_value = nil) constructor

  Constructs a new instance.

## Constructor Details

### - (`Info`) initialize(ruby_values = nil, struct_value = nil)

Constructs a new instance.

Parameters:

- ruby_values (`Hash`) (defaults to: `nil`) —

  a map of initial property values (optional)

- struct_value (`VAPI::Data::StructValue`) (defaults to: `nil`) —

  a raw StructValue from the wire (optional)

    995
    996
    997
    # File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/content.rb', line 995

    def initialize(ruby_values=nil, struct_value=nil)
        super(self.class.binding_type, ruby_values, struct_value)
    end

## Instance Attribute Details

### - (`String`) description

A description of the type support offered by the plugin.

Returns:

- (`String`)

    964
    965
    966
    967
    968
    969
    970
    971
    972
    973
    974
    975
    976
    977
    978
    979
    980
    981
    982
    983
    984
    985
    986
    987
    988
    989
    990
    991
    992
    993
    994
    995
    996
    997
    998
    # File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/content.rb', line 964

    class Info < VAPI::Bindings::VapiStruct

        class << self
            # Holds (gets or creates) the binding type metadata for this structure type.
            # @scope class
            # @return [VAPI::Bindings::StructType] the binding type
            def binding_type
                @binding_type ||= VAPI::Bindings::StructType.new(
                    'com.vmware.content.type.info',
                    {
                        'description' => VAPI::Bindings::StringType.instance,
                        'name' => VAPI::Bindings::StringType.instance,
                        'type' => VAPI::Bindings::StringType.instance,
                        'vendor' => VAPI::Bindings::StringType.instance,
                        'version' => VAPI::Bindings::StringType.instance,
                    },
                    Info,
                    false,
                    nil)
            end
        end

        attr_accessor :description,
                      :name,
                      :type,
                      :vendor,
                      :version

        # Constructs a new instance.
        # @param ruby_values [Hash] a map of initial property values (optional)
        # @param struct_value [VAPI::Data::StructValue] a raw StructValue from the wire (optional)
        def initialize(ruby_values=nil, struct_value=nil)
            super(self.class.binding_type, ruby_values, struct_value)
        end
    end

### - (`String`) name

The name of the plugin which provides the type support.

Returns:

- (`String`)

    964
    965
    966
    967
    968
    969
    970
    971
    972
    973
    974
    975
    976
    977
    978
    979
    980
    981
    982
    983
    984
    985
    986
    987
    988
    989
    990
    991
    992
    993
    994
    995
    996
    997
    998
    # File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/content.rb', line 964

    class Info < VAPI::Bindings::VapiStruct

        class << self
            # Holds (gets or creates) the binding type metadata for this structure type.
            # @scope class
            # @return [VAPI::Bindings::StructType] the binding type
            def binding_type
                @binding_type ||= VAPI::Bindings::StructType.new(
                    'com.vmware.content.type.info',
                    {
                        'description' => VAPI::Bindings::StringType.instance,
                        'name' => VAPI::Bindings::StringType.instance,
                        'type' => VAPI::Bindings::StringType.instance,
                        'vendor' => VAPI::Bindings::StringType.instance,
                        'version' => VAPI::Bindings::StringType.instance,
                    },
                    Info,
                    false,
                    nil)
            end
        end

        attr_accessor :description,
                      :name,
                      :type,
                      :vendor,
                      :version

        # Constructs a new instance.
        # @param ruby_values [Hash] a map of initial property values (optional)
        # @param struct_value [VAPI::Data::StructValue] a raw StructValue from the wire (optional)
        def initialize(ruby_values=nil, struct_value=nil)
            super(self.class.binding_type, ruby_values, struct_value)
        end
    end

### - (`String`) type

The type which the plugin supports.

     To upload a library item of the type supported by the plugin, the   :attr:`Com::Vmware::Content::Library::ItemModel.type`    field  of the item should be set to this value.

Returns:

- (`String`)

    964
    965
    966
    967
    968
    969
    970
    971
    972
    973
    974
    975
    976
    977
    978
    979
    980
    981
    982
    983
    984
    985
    986
    987
    988
    989
    990
    991
    992
    993
    994
    995
    996
    997
    998
    # File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/content.rb', line 964

    class Info < VAPI::Bindings::VapiStruct

        class << self
            # Holds (gets or creates) the binding type metadata for this structure type.
            # @scope class
            # @return [VAPI::Bindings::StructType] the binding type
            def binding_type
                @binding_type ||= VAPI::Bindings::StructType.new(
                    'com.vmware.content.type.info',
                    {
                        'description' => VAPI::Bindings::StringType.instance,
                        'name' => VAPI::Bindings::StringType.instance,
                        'type' => VAPI::Bindings::StringType.instance,
                        'vendor' => VAPI::Bindings::StringType.instance,
                        'version' => VAPI::Bindings::StringType.instance,
                    },
                    Info,
                    false,
                    nil)
            end
        end

        attr_accessor :description,
                      :name,
                      :type,
                      :vendor,
                      :version

        # Constructs a new instance.
        # @param ruby_values [Hash] a map of initial property values (optional)
        # @param struct_value [VAPI::Data::StructValue] a raw StructValue from the wire (optional)
        def initialize(ruby_values=nil, struct_value=nil)
            super(self.class.binding_type, ruby_values, struct_value)
        end
    end

### - (`String`) vendor

The name of the vendor who created the type support plugin.

Returns:

- (`String`)

    964
    965
    966
    967
    968
    969
    970
    971
    972
    973
    974
    975
    976
    977
    978
    979
    980
    981
    982
    983
    984
    985
    986
    987
    988
    989
    990
    991
    992
    993
    994
    995
    996
    997
    998
    # File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/content.rb', line 964

    class Info < VAPI::Bindings::VapiStruct

        class << self
            # Holds (gets or creates) the binding type metadata for this structure type.
            # @scope class
            # @return [VAPI::Bindings::StructType] the binding type
            def binding_type
                @binding_type ||= VAPI::Bindings::StructType.new(
                    'com.vmware.content.type.info',
                    {
                        'description' => VAPI::Bindings::StringType.instance,
                        'name' => VAPI::Bindings::StringType.instance,
                        'type' => VAPI::Bindings::StringType.instance,
                        'vendor' => VAPI::Bindings::StringType.instance,
                        'version' => VAPI::Bindings::StringType.instance,
                    },
                    Info,
                    false,
                    nil)
            end
        end

        attr_accessor :description,
                      :name,
                      :type,
                      :vendor,
                      :version

        # Constructs a new instance.
        # @param ruby_values [Hash] a map of initial property values (optional)
        # @param struct_value [VAPI::Data::StructValue] a raw StructValue from the wire (optional)
        def initialize(ruby_values=nil, struct_value=nil)
            super(self.class.binding_type, ruby_values, struct_value)
        end
    end

### - (`String`) version

The version number of the type support plugin.

Returns:

- (`String`)

    964
    965
    966
    967
    968
    969
    970
    971
    972
    973
    974
    975
    976
    977
    978
    979
    980
    981
    982
    983
    984
    985
    986
    987
    988
    989
    990
    991
    992
    993
    994
    995
    996
    997
    998
    # File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/content.rb', line 964

    class Info < VAPI::Bindings::VapiStruct

        class << self
            # Holds (gets or creates) the binding type metadata for this structure type.
            # @scope class
            # @return [VAPI::Bindings::StructType] the binding type
            def binding_type
                @binding_type ||= VAPI::Bindings::StructType.new(
                    'com.vmware.content.type.info',
                    {
                        'description' => VAPI::Bindings::StringType.instance,
                        'name' => VAPI::Bindings::StringType.instance,
                        'type' => VAPI::Bindings::StringType.instance,
                        'vendor' => VAPI::Bindings::StringType.instance,
                        'version' => VAPI::Bindings::StringType.instance,
                    },
                    Info,
                    false,
                    nil)
            end
        end

        attr_accessor :description,
                      :name,
                      :type,
                      :vendor,
                      :version

        # Constructs a new instance.
        # @param ruby_values [Hash] a map of initial property values (optional)
        # @param struct_value [VAPI::Data::StructValue] a raw StructValue from the wire (optional)
        def initialize(ruby_values=nil, struct_value=nil)
            super(self.class.binding_type, ruby_values, struct_value)
        end
    end

## Class Method Details

### + (`VAPI::Bindings::StructType`) binding_type

Holds (gets or creates) the binding type metadata for this structure type.

Returns:

- (`VAPI::Bindings::StructType`) —

  the binding type

    970
    971
    972
    973
    974
    975
    976
    977
    978
    979
    980
    981
    982
    983
    # File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/content.rb', line 970

    def binding_type
        @binding_type ||= VAPI::Bindings::StructType.new(
            'com.vmware.content.type.info',
            {
                'description' => VAPI::Bindings::StringType.instance,
                'name' => VAPI::Bindings::StringType.instance,
                'type' => VAPI::Bindings::StringType.instance,
                'vendor' => VAPI::Bindings::StringType.instance,
                'version' => VAPI::Bindings::StringType.instance,
            },
            Info,
            false,
            nil)
    end