<spanid="com-vmware-vapi-metadata-metamodel-package"></span><h1>com.vmware.vapi.metadata.metamodel package<aclass="headerlink"href="#module-com.vmware.vapi.metadata.metamodel"title="Permalink to this headline">¶</a></h1>
<divclass="section"id="submodules">
<h2>Submodules<aclass="headerlink"href="#submodules"title="Permalink to this headline">¶</a></h2>
<spanid="com-vmware-vapi-metadata-metamodel-resource-client-module"></span><h2>com.vmware.vapi.metadata.metamodel.resource_client module<aclass="headerlink"href="#module-com.vmware.vapi.metadata.metamodel.resource_client"title="Permalink to this headline">¶</a></h2>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">com.vmware.vapi.metadata.metamodel.resource_client.</span></code><codeclass="sig-name descname"><spanclass="pre">Model</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">config</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vapi.metadata.metamodel.resource_client.Model"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Model</span></code> class provides methods to retrieve information about models.</p>
<p>A structure is used as a model if it is used for persisting data about an
entity. Some of the fields in the model structure are also used for
creating indexes for querying.</p>
<p>One or more services can operate on the same resource type. One or more
services can provide the model structure for an entity of this resource
type. Using <codeclass="docutils literal notranslate"><spanclass="pre">Model</span></code> class you can retrieve the list of all the structure
elements that are model structures for a given resource type.</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>config</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) – Configuration to be used for creating the stub.</p>
<codeclass="sig-name descname"><spanclass="pre">list</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">resource_id</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vapi.metadata.metamodel.resource_client.Model.list"title="Permalink to this definition">¶</a></dt>
<dd><p>Returns the set of identifiers for the structure elements that are
models for the resource type corresponding to <codeclass="docutils literal notranslate"><spanclass="pre">resource_id</span></code>.</p>
<p>The <aclass="reference internal"href="com.vmware.vapi.metadata.html#com.vmware.vapi.metadata.metamodel_client.Structure"title="com.vmware.vapi.metadata.metamodel_client.Structure"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">com.vmware.vapi.metadata.metamodel_client.Structure</span></code></a> class
provides methods to retrieve more details about the structure elements
corresponding to the identifiers returned by this method.</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>resource_id</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Identifier of the resource type.
The parameter must be an identifier for the resource type:
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">com.vmware.vapi.metadata.metamodel.resource_client.</span></code><codeclass="sig-name descname"><spanclass="pre">StubFactory</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">stub_config</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vapi.metadata.metamodel.resource_client.StubFactory"title="Permalink to this definition">¶</a></dt>
<spanid="com-vmware-vapi-metadata-metamodel-service-client-module"></span><h2>com.vmware.vapi.metadata.metamodel.service_client module<aclass="headerlink"href="#module-com.vmware.vapi.metadata.metamodel.service_client"title="Permalink to this headline">¶</a></h2>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">com.vmware.vapi.metadata.metamodel.service_client.</span></code><codeclass="sig-name descname"><spanclass="pre">Operation</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">config</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vapi.metadata.metamodel.service_client.Operation"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Operation</span></code> class provides methods to retrieve metamodel information
of an operation element in the interface definition language.</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>config</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) – Configuration to be used for creating the stub.</p>
<codeclass="sig-name descname"><spanclass="pre">RESOURCE_TYPE</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">'com.vmware.vapi.operation'</span></em><aclass="headerlink"href="#com.vmware.vapi.metadata.metamodel.service_client.Operation.RESOURCE_TYPE"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">get</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">service_id</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">operation_id</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vapi.metadata.metamodel.service_client.Operation.get"title="Permalink to this definition">¶</a></dt>
<dd><p>Retrieves the metamodel information about an operation element
corresponding to <codeclass="docutils literal notranslate"><spanclass="pre">operation_id</span></code> contained in the service element
corresponding to <codeclass="docutils literal notranslate"><spanclass="pre">service_id</span></code>.</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><ulclass="simple">
<li><p><strong>service_id</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Identifier of the service element.
The parameter must be an identifier for the resource type:
<codeclass="sig-name descname"><spanclass="pre">list</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">service_id</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vapi.metadata.metamodel.service_client.Operation.list"title="Permalink to this definition">¶</a></dt>
<dd><p>Returns the identifiers for the operation elements that are defined in
the scope of <codeclass="docutils literal notranslate"><spanclass="pre">service_id</span></code>.</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>service_id</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Identifier of the service element.
The parameter must be an identifier for the resource type:
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">com.vmware.vapi.metadata.metamodel.service_client.</span></code><codeclass="sig-name descname"><spanclass="pre">StubFactory</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">stub_config</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vapi.metadata.metamodel.service_client.StubFactory"title="Permalink to this definition">¶</a></dt>