UNPKG

cla-wrapper

Version:
746 lines 39 kB
<!doctype html> <html class="default no-js"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>DataClass | cla-wrapper</title> <meta name="description" content="Documentation for cla-wrapper"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="../assets/css/main.css"> <script async src="../assets/js/search.js" id="search-script"></script> </head> <body> <header> <div class="tsd-page-toolbar"> <div class="container"> <div class="table-wrap"> <div class="table-cell" id="tsd-search" data-index="../assets/js/search.json" data-base=".."> <div class="field"> <label for="tsd-search-field" class="tsd-widget search no-caption">Search</label> <input id="tsd-search-field" type="text" /> </div> <ul class="results"> <li class="state loading">Preparing search index...</li> <li class="state failure">The search index is not available</li> </ul> <a href="../index.html" class="title">cla-wrapper</a> </div> <div class="table-cell" id="tsd-widgets"> <div id="tsd-filter"> <a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a> <div class="tsd-filter-group"> <div class="tsd-select" id="tsd-filter-visibility"> <span class="tsd-select-label">All</span> <ul class="tsd-select-list"> <li data-value="public">Public</li> <li data-value="protected">Public/Protected</li> <li data-value="private" class="selected">All</li> </ul> </div> <input type="checkbox" id="tsd-filter-inherited" checked /> <label class="tsd-widget" for="tsd-filter-inherited">Inherited</label> <input type="checkbox" id="tsd-filter-externals" checked /> <label class="tsd-widget" for="tsd-filter-externals">Externals</label> </div> </div> <a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a> </div> </div> </div> </div> <div class="tsd-page-title"> <div class="container"> <ul class="tsd-breadcrumb"> <li> <a href="../modules.html">cla-wrapper</a> </li> <li> <a href="../modules/claWrapper.html">claWrapper</a> </li> <li> <a href="claWrapper.DataClass.html">DataClass</a> </li> </ul> <h1>Class DataClass</h1> </div> </div> </header> <div class="container container-main"> <div class="row"> <div class="col-8 col-content"> <section class="tsd-panel tsd-comment"> <div class="tsd-comment tsd-typography"> <div class="lead"> <p>Dataset Class class</p> </div> </div> </section> <section class="tsd-panel tsd-hierarchy"> <h3>Hierarchy</h3> <ul class="tsd-hierarchy"> <li> <span class="tsd-signature-type">BasicFunctions</span> <ul class="tsd-hierarchy"> <li> <span class="target">DataClass</span> </li> </ul> </li> </ul> </section> <section class="tsd-panel-group tsd-index-group"> <h2>Index</h2> <section class="tsd-panel tsd-index-panel"> <div class="tsd-index-content"> <section class="tsd-index-section "> <h3>Constructors</h3> <ul class="tsd-index-list"> <li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite"><a href="claWrapper.DataClass.html#constructor" class="tsd-kind-icon">constructor</a></li> </ul> </section> <section class="tsd-index-section "> <h3>Properties</h3> <ul class="tsd-index-list"> <li class="tsd-kind-property tsd-parent-kind-class"><a href="claWrapper.DataClass.html#cdashModelFields" class="tsd-kind-icon">cdash<wbr>Model<wbr>Fields</a></li> <li class="tsd-kind-property tsd-parent-kind-class"><a href="claWrapper.DataClass.html#classVariables" class="tsd-kind-icon">class<wbr>Variables</a></li> <li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="claWrapper.DataClass.html#coreObject" class="tsd-kind-icon">core<wbr>Object</a></li> <li class="tsd-kind-property tsd-parent-kind-class"><a href="claWrapper.DataClass.html#datasets" class="tsd-kind-icon">datasets</a></li> <li class="tsd-kind-property tsd-parent-kind-class"><a href="claWrapper.DataClass.html#description" class="tsd-kind-icon">description</a></li> <li class="tsd-kind-property tsd-parent-kind-class"><a href="claWrapper.DataClass.html#domains" class="tsd-kind-icon">domains</a></li> <li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="claWrapper.DataClass.html#href" class="tsd-kind-icon">href</a></li> <li class="tsd-kind-property tsd-parent-kind-class"><a href="claWrapper.DataClass.html#id" class="tsd-kind-icon">id</a></li> <li class="tsd-kind-property tsd-parent-kind-class"><a href="claWrapper.DataClass.html#label" class="tsd-kind-icon">label</a></li> <li class="tsd-kind-property tsd-parent-kind-class"><a href="claWrapper.DataClass.html#name" class="tsd-kind-icon">name</a></li> <li class="tsd-kind-property tsd-parent-kind-class"><a href="claWrapper.DataClass.html#ordinal" class="tsd-kind-icon">ordinal</a></li> </ul> </section> <section class="tsd-index-section "> <h3>Methods</h3> <ul class="tsd-index-list"> <li class="tsd-kind-method tsd-parent-kind-class"><a href="claWrapper.DataClass.html#findMatchingItems" class="tsd-kind-icon">find<wbr>Matching<wbr>Items</a></li> <li class="tsd-kind-method tsd-parent-kind-class"><a href="claWrapper.DataClass.html#getItem" class="tsd-kind-icon">get<wbr>Item</a></li> <li class="tsd-kind-method tsd-parent-kind-class"><a href="claWrapper.DataClass.html#getItemGroups" class="tsd-kind-icon">get<wbr>Item<wbr>Groups</a></li> <li class="tsd-kind-method tsd-parent-kind-class"><a href="claWrapper.DataClass.html#getItems" class="tsd-kind-icon">get<wbr>Items</a></li> <li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="claWrapper.DataClass.html#getRawResponse" class="tsd-kind-icon">get<wbr>Raw<wbr>Response</a></li> <li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="claWrapper.DataClass.html#load" class="tsd-kind-icon">load</a></li> <li class="tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><a href="claWrapper.DataClass.html#parseResponse" class="tsd-kind-icon">parse<wbr>Response</a></li> <li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="claWrapper.DataClass.html#toSimpleObject" class="tsd-kind-icon">to<wbr>Simple<wbr>Object</a></li> </ul> </section> </div> </section> </section> <section class="tsd-panel-group tsd-member-group "> <h2>Constructors</h2> <section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite"> <a name="constructor" class="tsd-anchor"></a> <h3>constructor</h3> <ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite"> <li class="tsd-signature tsd-kind-icon">new <wbr>Data<wbr>Class<span class="tsd-signature-symbol">(</span>__namedParameters<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">DataClassParameters</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="claWrapper.DataClass.html" class="tsd-signature-type" data-tsd-kind="Class">DataClass</a></li> </ul> <ul class="tsd-descriptions"> <li class="tsd-description"> <aside class="tsd-sources"> <p>Overrides BasicFunctions.constructor</p> <ul> <li>Defined in <a href="https://github.com/defineEditor/cla-wrapper/blob/0723d63/src/classes/claWrapper.ts#L1795">claWrapper.ts:1795</a></li> </ul> </aside> <h4 class="tsd-parameters-title">Parameters</h4> <ul class="tsd-parameters"> <li> <h5>__namedParameters: <span class="tsd-signature-type">DataClassParameters</span><span class="tsd-signature-symbol"> = {}</span></h5> </li> </ul> <h4 class="tsd-returns-title">Returns <a href="claWrapper.DataClass.html" class="tsd-signature-type" data-tsd-kind="Class">DataClass</a></h4> </li> </ul> </section> </section> <section class="tsd-panel-group tsd-member-group "> <h2>Properties</h2> <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"> <a name="cdashModelFields" class="tsd-anchor"></a> <h3><span class="tsd-flag ts-flagOptional">Optional</span> cdash<wbr>Model<wbr>Fields</h3> <div class="tsd-signature tsd-kind-icon">cdash<wbr>Model<wbr>Fields<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Items</span></div> <aside class="tsd-sources"> <ul> <li>Defined in <a href="https://github.com/defineEditor/cla-wrapper/blob/0723d63/src/classes/claWrapper.ts#L1793">claWrapper.ts:1793</a></li> </ul> </aside> <div class="tsd-comment tsd-typography"> <div class="lead"> <p>CDISC Library attribute.</p> </div> </div> </section> <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"> <a name="classVariables" class="tsd-anchor"></a> <h3><span class="tsd-flag ts-flagOptional">Optional</span> class<wbr>Variables</h3> <div class="tsd-signature tsd-kind-icon">class<wbr>Variables<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Items</span></div> <aside class="tsd-sources"> <ul> <li>Defined in <a href="https://github.com/defineEditor/cla-wrapper/blob/0723d63/src/classes/claWrapper.ts#L1791">claWrapper.ts:1791</a></li> </ul> </aside> <div class="tsd-comment tsd-typography"> <div class="lead"> <p>CDISC Library attribute.</p> </div> </div> </section> <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"> <a name="coreObject" class="tsd-anchor"></a> <h3>core<wbr>Object</h3> <div class="tsd-signature tsd-kind-icon">core<wbr>Object<span class="tsd-signature-symbol">:</span> <a href="claWrapper.CoreObject.html" class="tsd-signature-type" data-tsd-kind="Class">CoreObject</a></div> <aside class="tsd-sources"> <p>Inherited from BasicFunctions.coreObject</p> <ul> <li>Defined in <a href="https://github.com/defineEditor/cla-wrapper/blob/0723d63/src/classes/claWrapper.ts#L149">claWrapper.ts:149</a></li> </ul> </aside> <div class="tsd-comment tsd-typography"> <div class="lead"> <p>CLA Wrapper attribute. Object used to send API requests and store technical information. Must be the same object for all classes within an instance of a CdiscLibrary class.</p> </div> </div> </section> <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"> <a name="datasets" class="tsd-anchor"></a> <h3><span class="tsd-flag ts-flagOptional">Optional</span> datasets</h3> <div class="tsd-signature tsd-kind-icon">datasets<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ItemGroups</span></div> <aside class="tsd-sources"> <ul> <li>Defined in <a href="https://github.com/defineEditor/cla-wrapper/blob/0723d63/src/classes/claWrapper.ts#L1787">claWrapper.ts:1787</a></li> </ul> </aside> <div class="tsd-comment tsd-typography"> <div class="lead"> <p>CDISC Library attribute.</p> </div> </div> </section> <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"> <a name="description" class="tsd-anchor"></a> <h3><span class="tsd-flag ts-flagOptional">Optional</span> description</h3> <div class="tsd-signature tsd-kind-icon">description<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div> <aside class="tsd-sources"> <ul> <li>Defined in <a href="https://github.com/defineEditor/cla-wrapper/blob/0723d63/src/classes/claWrapper.ts#L1785">claWrapper.ts:1785</a></li> </ul> </aside> <div class="tsd-comment tsd-typography"> <div class="lead"> <p>CDISC Library attribute.</p> </div> </div> </section> <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"> <a name="domains" class="tsd-anchor"></a> <h3><span class="tsd-flag ts-flagOptional">Optional</span> domains</h3> <div class="tsd-signature tsd-kind-icon">domains<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ItemGroups</span></div> <aside class="tsd-sources"> <ul> <li>Defined in <a href="https://github.com/defineEditor/cla-wrapper/blob/0723d63/src/classes/claWrapper.ts#L1789">claWrapper.ts:1789</a></li> </ul> </aside> <div class="tsd-comment tsd-typography"> <div class="lead"> <p>CDISC Library attribute.</p> </div> </div> </section> <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"> <a name="href" class="tsd-anchor"></a> <h3><span class="tsd-flag ts-flagOptional">Optional</span> href</h3> <div class="tsd-signature tsd-kind-icon">href<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div> <aside class="tsd-sources"> <p>Inherited from BasicFunctions.href</p> <ul> <li>Defined in <a href="https://github.com/defineEditor/cla-wrapper/blob/0723d63/src/classes/claWrapper.ts#L147">claWrapper.ts:147</a></li> </ul> </aside> <div class="tsd-comment tsd-typography"> <div class="lead"> <p>CDISC Library API endpoint.</p> </div> </div> </section> <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"> <a name="id" class="tsd-anchor"></a> <h3><span class="tsd-flag ts-flagOptional">Optional</span> id</h3> <div class="tsd-signature tsd-kind-icon">id<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div> <aside class="tsd-sources"> <ul> <li>Defined in <a href="https://github.com/defineEditor/cla-wrapper/blob/0723d63/src/classes/claWrapper.ts#L1777">claWrapper.ts:1777</a></li> </ul> </aside> <div class="tsd-comment tsd-typography"> <div class="lead"> <p>CLA Wrapper attribute. Data class ID.</p> </div> </div> </section> <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"> <a name="label" class="tsd-anchor"></a> <h3><span class="tsd-flag ts-flagOptional">Optional</span> label</h3> <div class="tsd-signature tsd-kind-icon">label<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div> <aside class="tsd-sources"> <ul> <li>Defined in <a href="https://github.com/defineEditor/cla-wrapper/blob/0723d63/src/classes/claWrapper.ts#L1783">claWrapper.ts:1783</a></li> </ul> </aside> <div class="tsd-comment tsd-typography"> <div class="lead"> <p>CDISC Library attribute.</p> </div> </div> </section> <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"> <a name="name" class="tsd-anchor"></a> <h3><span class="tsd-flag ts-flagOptional">Optional</span> name</h3> <div class="tsd-signature tsd-kind-icon">name<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div> <aside class="tsd-sources"> <ul> <li>Defined in <a href="https://github.com/defineEditor/cla-wrapper/blob/0723d63/src/classes/claWrapper.ts#L1781">claWrapper.ts:1781</a></li> </ul> </aside> <div class="tsd-comment tsd-typography"> <div class="lead"> <p>CDISC Library attribute.</p> </div> </div> </section> <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"> <a name="ordinal" class="tsd-anchor"></a> <h3><span class="tsd-flag ts-flagOptional">Optional</span> ordinal</h3> <div class="tsd-signature tsd-kind-icon">ordinal<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div> <aside class="tsd-sources"> <ul> <li>Defined in <a href="https://github.com/defineEditor/cla-wrapper/blob/0723d63/src/classes/claWrapper.ts#L1779">claWrapper.ts:1779</a></li> </ul> </aside> <div class="tsd-comment tsd-typography"> <div class="lead"> <p>CDISC Library attribute.</p> </div> </div> </section> </section> <section class="tsd-panel-group tsd-member-group "> <h2>Methods</h2> <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"> <a name="findMatchingItems" class="tsd-anchor"></a> <h3>find<wbr>Matching<wbr>Items</h3> <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"> <li class="tsd-signature tsd-kind-icon">find<wbr>Matching<wbr>Items<span class="tsd-signature-symbol">(</span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, options<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">MatchingOptions</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../modules/claWrapper.html#ItemType" class="tsd-signature-type" data-tsd-kind="Type alias">ItemType</a><span class="tsd-signature-symbol">[]</span></li> </ul> <ul class="tsd-descriptions"> <li class="tsd-description"> <aside class="tsd-sources"> <ul> <li>Defined in <a href="https://github.com/defineEditor/cla-wrapper/blob/0723d63/src/classes/claWrapper.ts#L1993">claWrapper.ts:1993</a></li> </ul> </aside> <div class="tsd-comment tsd-typography"> <div class="lead"> <p>Find all matching variables/fields. For example TRxxPGy matches TR01PG12.</p> </div> </div> <h4 class="tsd-parameters-title">Parameters</h4> <ul class="tsd-parameters"> <li> <h5>name: <span class="tsd-signature-type">string</span></h5> <div class="tsd-comment tsd-typography"> <p>Variable/Field name.</p> </div> </li> <li> <h5>options: <span class="tsd-signature-type">MatchingOptions</span></h5> </li> </ul> <h4 class="tsd-returns-title">Returns <a href="../modules/claWrapper.html#ItemType" class="tsd-signature-type" data-tsd-kind="Type alias">ItemType</a><span class="tsd-signature-symbol">[]</span></h4> <p>Array of matched items.</p> </li> </ul> </section> <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"> <a name="getItem" class="tsd-anchor"></a> <h3>get<wbr>Item</h3> <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"> <li class="tsd-signature tsd-kind-icon">get<wbr>Item<span class="tsd-signature-symbol">(</span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules/claWrapper.html#ItemType" class="tsd-signature-type" data-tsd-kind="Type alias">ItemType</a><span class="tsd-signature-symbol">&gt;</span></li> </ul> <ul class="tsd-descriptions"> <li class="tsd-description"> <aside class="tsd-sources"> <ul> <li>Defined in <a href="https://github.com/defineEditor/cla-wrapper/blob/0723d63/src/classes/claWrapper.ts#L1957">claWrapper.ts:1957</a></li> </ul> </aside> <div class="tsd-comment tsd-typography"> <div class="lead"> <p>Get an object with specified item name</p> </div> <dl class="tsd-comment-tags"> <dt>property</dt> <dd><p>{String} name Variable/field name.</p> </dd> </dl> </div> <h4 class="tsd-parameters-title">Parameters</h4> <ul class="tsd-parameters"> <li> <h5>name: <span class="tsd-signature-type">string</span></h5> </li> </ul> <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules/claWrapper.html#ItemType" class="tsd-signature-type" data-tsd-kind="Type alias">ItemType</a><span class="tsd-signature-symbol">&gt;</span></h4> <p>An object with variable/field if found</p> </li> </ul> </section> <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"> <a name="getItemGroups" class="tsd-anchor"></a> <h3>get<wbr>Item<wbr>Groups</h3> <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"> <li class="tsd-signature tsd-kind-icon">get<wbr>Item<wbr>Groups<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ItemGroups</span></li> </ul> <ul class="tsd-descriptions"> <li class="tsd-description"> <aside class="tsd-sources"> <ul> <li>Defined in <a href="https://github.com/defineEditor/cla-wrapper/blob/0723d63/src/classes/claWrapper.ts#L1974">claWrapper.ts:1974</a></li> </ul> </aside> <div class="tsd-comment tsd-typography"> <div class="lead"> <p>Get an object with all datasets/domains</p> </div> </div> <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">ItemGroups</span></h4> <p>An object with datasets/domains</p> </li> </ul> </section> <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"> <a name="getItems" class="tsd-anchor"></a> <h3>get<wbr>Items</h3> <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"> <li class="tsd-signature tsd-kind-icon">get<wbr>Items<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-symbol">{ </span>immediate<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Items</span></li> </ul> <ul class="tsd-descriptions"> <li class="tsd-description"> <aside class="tsd-sources"> <ul> <li>Defined in <a href="https://github.com/defineEditor/cla-wrapper/blob/0723d63/src/classes/claWrapper.ts#L1925">claWrapper.ts:1925</a></li> </ul> </aside> <div class="tsd-comment tsd-typography"> <div class="lead"> <p>Get an object with all variables/fields for that data structure</p> </div> </div> <h4 class="tsd-parameters-title">Parameters</h4> <ul class="tsd-parameters"> <li> <h5>options: <span class="tsd-signature-symbol">{ </span>immediate<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol"> = ...</span></h5> <ul class="tsd-parameters"> <li class="tsd-parameter"> <h5>immediate<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></h5> </li> </ul> </li> </ul> <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Items</span></h4> <p>An object with variables/fields</p> </li> </ul> </section> <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"> <a name="getRawResponse" class="tsd-anchor"></a> <h3>get<wbr>Raw<wbr>Response</h3> <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"> <li class="tsd-signature tsd-kind-icon">get<wbr>Raw<wbr>Response<span class="tsd-signature-symbol">(</span>href<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">object</span><span class="tsd-signature-symbol">&gt;</span></li> </ul> <ul class="tsd-descriptions"> <li class="tsd-description"> <aside class="tsd-sources"> <p>Inherited from BasicFunctions.getRawResponse</p> <ul> <li>Defined in <a href="https://github.com/defineEditor/cla-wrapper/blob/0723d63/src/classes/claWrapper.ts#L162">claWrapper.ts:162</a></li> </ul> </aside> <div class="tsd-comment tsd-typography"> <div class="lead"> <p>Get raw API response</p> </div> </div> <h4 class="tsd-parameters-title">Parameters</h4> <ul class="tsd-parameters"> <li> <h5><span class="tsd-flag ts-flagOptional">Optional</span> href: <span class="tsd-signature-type">string</span></h5> <div class="tsd-comment tsd-typography"> <p>CDISC Library API endpoint. If not specified, href attribute of the object is used.</p> </div> </li> </ul> <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">object</span><span class="tsd-signature-symbol">&gt;</span></h4> <p>Returns a JSON response if the request was successfull, otherwise returns undefined.</p> </li> </ul> </section> <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"> <a name="load" class="tsd-anchor"></a> <h3>load</h3> <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"> <li class="tsd-signature tsd-kind-icon">load<span class="tsd-signature-symbol">(</span>href<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">&gt;</span></li> </ul> <ul class="tsd-descriptions"> <li class="tsd-description"> <aside class="tsd-sources"> <p>Inherited from BasicFunctions.load</p> <ul> <li>Defined in <a href="https://github.com/defineEditor/cla-wrapper/blob/0723d63/src/classes/claWrapper.ts#L181">claWrapper.ts:181</a></li> </ul> </aside> <div class="tsd-comment tsd-typography"> <div class="lead"> <p>Load object from the CDISC Library</p> </div> </div> <h4 class="tsd-parameters-title">Parameters</h4> <ul class="tsd-parameters"> <li> <h5><span class="tsd-flag ts-flagOptional">Optional</span> href: <span class="tsd-signature-type">string</span></h5> <div class="tsd-comment tsd-typography"> <p>CDISC Library API endpoint. If not specified, href attribute of the object is used.</p> </div> </li> </ul> <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">&gt;</span></h4> <p>Returns true in the object was successfully loaded, false otherwise</p> </li> </ul> </section> <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"> <a name="parseResponse" class="tsd-anchor"></a> <h3>parse<wbr>Response</h3> <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"> <li class="tsd-signature tsd-kind-icon">parse<wbr>Response<span class="tsd-signature-symbol">(</span>dcRaw<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span>, domainsRaw<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li> </ul> <ul class="tsd-descriptions"> <li class="tsd-description"> <aside class="tsd-sources"> <p>Overrides BasicFunctions.parseResponse</p> <ul> <li>Defined in <a href="https://github.com/defineEditor/cla-wrapper/blob/0723d63/src/classes/claWrapper.ts#L1817">claWrapper.ts:1817</a></li> </ul> </aside> <div class="tsd-comment tsd-typography"> <div class="lead"> <p>Parse API response to data structure</p> </div> </div> <h4 class="tsd-parameters-title">Parameters</h4> <ul class="tsd-parameters"> <li> <h5>dcRaw: <span class="tsd-signature-type">any</span></h5> <div class="tsd-comment tsd-typography"> <p>Raw CDISC API response</p> </div> </li> <li> <h5><span class="tsd-flag ts-flagOptional">Optional</span> domainsRaw: <span class="tsd-signature-type">any</span></h5> <div class="tsd-comment tsd-typography"> <p>Raw CDISC API response with domains, used for CDASH endpoints</p> </div> </li> </ul> <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4> </li> </ul> </section> <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"> <a name="toSimpleObject" class="tsd-anchor"></a> <h3>to<wbr>Simple<wbr>Object</h3> <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"> <li class="tsd-signature tsd-kind-icon">to<wbr>Simple<wbr>Object<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span></li> </ul> <ul class="tsd-descriptions"> <li class="tsd-description"> <aside class="tsd-sources"> <p>Inherited from BasicFunctions.toSimpleObject</p> <ul> <li>Defined in <a href="https://github.com/defineEditor/cla-wrapper/blob/0723d63/src/classes/claWrapper.ts#L196">claWrapper.ts:196</a></li> </ul> </aside> <div class="tsd-comment tsd-typography"> <div class="lead"> <p>Convert class to a simple object, removes methods and technical elements (e.g., coreObject).</p> </div> </div> <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4> <p>A new object</p> </li> </ul> </section> </section> </div> <div class="col-4 col-menu menu-sticky-wrap menu-highlight"> <nav class="tsd-navigation primary"> <ul> <li class=" "> <a href="../modules.html">Modules</a> </li> <li class="current tsd-kind-module"> <a href="../modules/claWrapper.html">cla<wbr>Wrapper</a> </li> <li class=" tsd-kind-module"> <a href="../modules/searchResponse.html">search<wbr>Response</a> </li> </ul> </nav> <nav class="tsd-navigation secondary menu-sticky"> <ul class="before-current"> <li class=" tsd-kind-class tsd-parent-kind-module"> <a href="claWrapper.AnalysisVariableSet.html" class="tsd-kind-icon">Analysis<wbr>Variable<wbr>Set</a> </li> <li class=" tsd-kind-class tsd-parent-kind-module"> <a href="claWrapper.CdiscLibrary.html" class="tsd-kind-icon">Cdisc<wbr>Library</a> </li> <li class=" tsd-kind-class tsd-parent-kind-module"> <a href="claWrapper.CodeList.html" class="tsd-kind-icon">Code<wbr>List</a> </li> <li class=" tsd-kind-class tsd-parent-kind-module"> <a href="claWrapper.CoreObject.html" class="tsd-kind-icon">Core<wbr>Object</a> </li> </ul> <ul class="current"> <li class="current tsd-kind-class tsd-parent-kind-module"> <a href="claWrapper.DataClass.html" class="tsd-kind-icon">Data<wbr>Class</a> <ul> <li class=" tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite"> <a href="claWrapper.DataClass.html#constructor" class="tsd-kind-icon">constructor</a> </li> <li class=" tsd-kind-property tsd-parent-kind-class"> <a href="claWrapper.DataClass.html#cdashModelFields" class="tsd-kind-icon">cdash<wbr>Model<wbr>Fields</a> </li> <li class=" tsd-kind-property tsd-parent-kind-class"> <a href="claWrapper.DataClass.html#classVariables" class="tsd-kind-icon">class<wbr>Variables</a> </li> <li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited"> <a href="claWrapper.DataClass.html#coreObject" class="tsd-kind-icon">core<wbr>Object</a> </li> <li class=" tsd-kind-property tsd-parent-kind-class"> <a href="claWrapper.DataClass.html#datasets" class="tsd-kind-icon">datasets</a> </li> <li class=" tsd-kind-property tsd-parent-kind-class"> <a href="claWrapper.DataClass.html#description" class="tsd-kind-icon">description</a> </li> <li class=" tsd-kind-property tsd-parent-kind-class"> <a href="claWrapper.DataClass.html#domains" class="tsd-kind-icon">domains</a> </li> <li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited"> <a href="claWrapper.DataClass.html#href" class="tsd-kind-icon">href</a> </li> <li class=" tsd-kind-property tsd-parent-kind-class"> <a href="claWrapper.DataClass.html#id" class="tsd-kind-icon">id</a> </li> <li class=" tsd-kind-property tsd-parent-kind-class"> <a href="claWrapper.DataClass.html#label" class="tsd-kind-icon">label</a> </li> <li class=" tsd-kind-property tsd-parent-kind-class"> <a href="claWrapper.DataClass.html#name" class="tsd-kind-icon">name</a> </li> <li class=" tsd-kind-property tsd-parent-kind-class"> <a href="claWrapper.DataClass.html#ordinal" class="tsd-kind-icon">ordinal</a> </li> <li class=" tsd-kind-method tsd-parent-kind-class"> <a href="claWrapper.DataClass.html#findMatchingItems" class="tsd-kind-icon">find<wbr>Matching<wbr>Items</a> </li> <li class=" tsd-kind-method tsd-parent-kind-class"> <a href="claWrapper.DataClass.html#getItem" class="tsd-kind-icon">get<wbr>Item</a> </li> <li class=" tsd-kind-method tsd-parent-kind-class"> <a href="claWrapper.DataClass.html#getItemGroups" class="tsd-kind-icon">get<wbr>Item<wbr>Groups</a> </li> <li class=" tsd-kind-method tsd-parent-kind-class"> <a href="claWrapper.DataClass.html#getItems" class="tsd-kind-icon">get<wbr>Items</a> </li> <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited"> <a href="claWrapper.DataClass.html#getRawResponse" class="tsd-kind-icon">get<wbr>Raw<wbr>Response</a> </li> <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited"> <a href="claWrapper.DataClass.html#load" class="tsd-kind-icon">load</a> </li> <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"> <a href="claWrapper.DataClass.html#parseResponse" class="tsd-kind-icon">parse<wbr>Response</a> </li> <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited"> <a href="claWrapper.DataClass.html#toSimpleObject" class="tsd-kind-icon">to<wbr>Simple<wbr>Object</a> </li> </ul> </li> </ul> <ul class="after-current"> <li class=" tsd-kind-class tsd-parent-kind-module"> <a href="claWrapper.DataStructure.html" class="tsd-kind-icon">Data<wbr>Structure</a> </li> <li class=" tsd-kind-class tsd-parent-kind-module"> <a href="claWrapper.Dataset.html" class="tsd-kind-icon">Dataset</a> </li> <li class=" tsd-kind-class tsd-parent-kind-module"> <a href="claWrapper.Domain.html" class="tsd-kind-icon">Domain</a> </li> <li class=" tsd-kind-class tsd-parent-kind-module"> <a href="claWrapper.Field.html" class="tsd-kind-icon">Field</a> </li> <li class=" tsd-kind-class tsd-parent-kind-module"> <a href="claWrapper.Product.html" class="tsd-kind-icon">Product</a> </li> <li class=" tsd-kind-class tsd-parent-kind-module"> <a href="claWrapper.ProductClass.html" class="tsd-kind-icon">Product<wbr>Class</a> </li> <li class=" tsd-kind-class tsd-parent-kind-module"> <a href="claWrapper.ProductGroup.html" class="tsd-kind-icon">Product<wbr>Group</a> </li> <li class=" tsd-kind-class tsd-parent-kind-module"> <a href="claWrapper.Scenario.html" class="tsd-kind-icon">Scenario</a> </li> <li class=" tsd-kind-class tsd-parent-kind-module"> <a href="claWrapper.Variable.html" class="tsd-kind-icon">Variable</a> </li> <li class=" tsd-kind-type-alias tsd-parent-kind-module"> <a href="../modules/claWrapper.html#ItemType" class="tsd-kind-icon">Item<wbr>Type</a> </li> </ul> </nav> </div> </div> </div> <footer class="with-border-bottom"> <div class="container"> <h2>Legend</h2> <div class="tsd-legend-group"> <ul class="tsd-legend"> <li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li> <li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li> <li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li> <li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li> </ul> <ul class="tsd-legend"> <li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited property</span></li> <li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited method</span></li> </ul> <ul class="tsd-legend"> <li class="tsd-kind-type-alias"><span class="tsd-kind-icon">Type alias</span></li> </ul> </div> </div> </footer> <div class="container tsd-generator"> <p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p> </div> <div class="overlay"></div> <script src="../assets/js/main.js"></script> </body> </html>