blob: 8006d606928f1c49f998bb867c35ff19e647f9a5 [file] [log] [blame]
seshukmb3a332a2018-10-05 16:27:16 +08001<!DOCTYPE html>
2<html>
3<head>
tragait5e9676e2021-01-14 16:07:07 +00004 <meta http-equiv="X-UA-Compatible" content="IE=edge" />
5 <title>SO Guilin APIs</title>
6 <meta name="viewport" content="width=device-width, initial-scale=1.0">
7 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
8 <meta charset="UTF-8" />
9 <script>
seshukmb3a332a2018-10-05 16:27:16 +080010/*! jQuery v3.1.0 | (c) jQuery Foundation | jquery.org/license */
11!function(a,b){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){"use strict";var c=[],d=a.document,e=Object.getPrototypeOf,f=c.slice,g=c.concat,h=c.push,i=c.indexOf,j={},k=j.toString,l=j.hasOwnProperty,m=l.toString,n=m.call(Object),o={};function p(a,b){b=b||d;var c=b.createElement("script");c.text=a,b.head.appendChild(c).parentNode.removeChild(c)}var q="3.1.0",r=function(a,b){return new r.fn.init(a,b)},s=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,t=/^-ms-/,u=/-([a-z])/g,v=function(a,b){return b.toUpperCase()};r.fn=r.prototype={jquery:q,constructor:r,length:0,toArray:function(){return f.call(this)},get:function(a){return null!=a?a<0?this[a+this.length]:this[a]:f.call(this)},pushStack:function(a){var b=r.merge(this.constructor(),a);return b.prevObject=this,b},each:function(a){return r.each(this,a)},map:function(a){return this.pushStack(r.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(f.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(a<0?b:0);return this.pushStack(c>=0&&c<b?[this[c]]:[])},end:function(){return this.prevObject||this.constructor()},push:h,sort:c.sort,splice:c.splice},r.extend=r.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof g&&(j=g,g=arguments[h]||{},h++),"object"==typeof g||r.isFunction(g)||(g={}),h===i&&(g=this,h--);h<i;h++)if(null!=(a=arguments[h]))for(b in a)c=g[b],d=a[b],g!==d&&(j&&d&&(r.isPlainObject(d)||(e=r.isArray(d)))?(e?(e=!1,f=c&&r.isArray(c)?c:[]):f=c&&r.isPlainObject(c)?c:{},g[b]=r.extend(j,f,d)):void 0!==d&&(g[b]=d));return g},r.extend({expando:"jQuery"+(q+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){return"function"===r.type(a)},isArray:Array.isArray,isWindow:function(a){return null!=a&&a===a.window},isNumeric:function(a){var b=r.type(a);return("number"===b||"string"===b)&&!isNaN(a-parseFloat(a))},isPlainObject:function(a){var b,c;return!(!a||"[object Object]"!==k.call(a))&&(!(b=e(a))||(c=l.call(b,"constructor")&&b.constructor,"function"==typeof c&&m.call(c)===n))},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?j[k.call(a)]||"object":typeof a},globalEval:function(a){p(a)},camelCase:function(a){return a.replace(t,"ms-").replace(u,v)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b){var c,d=0;if(w(a)){for(c=a.length;d<c;d++)if(b.call(a[d],d,a[d])===!1)break}else for(d in a)if(b.call(a[d],d,a[d])===!1)break;return a},trim:function(a){return null==a?"":(a+"").replace(s,"")},makeArray:function(a,b){var c=b||[];return null!=a&&(w(Object(a))?r.merge(c,"string"==typeof a?[a]:a):h.call(c,a)),c},inArray:function(a,b,c){return null==b?-1:i.call(b,a,c)},merge:function(a,b){for(var c=+b.length,d=0,e=a.length;d<c;d++)a[e++]=b[d];return a.length=e,a},grep:function(a,b,c){for(var d,e=[],f=0,g=a.length,h=!c;f<g;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return e},map:function(a,b,c){var d,e,f=0,h=[];if(w(a))for(d=a.length;f<d;f++)e=b(a[f],f,c),null!=e&&h.push(e);else for(f in a)e=b(a[f],f,c),null!=e&&h.push(e);return g.apply([],h)},guid:1,proxy:function(a,b){var c,d,e;if("string"==typeof b&&(c=a[b],b=a,a=c),r.isFunction(a))return d=f.call(arguments,2),e=function(){return a.apply(b||this,d.concat(f.call(arguments)))},e.guid=a.guid=a.guid||r.guid++,e},now:Date.now,support:o}),"function"==typeof Symbol&&(r.fn[Symbol.iterator]=c[Symbol.iterator]),r.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(a,b){j["[object "+b+"]"]=b.toLowerCase()});function w(a){var b=!!a&&"length"in a&&a.length,c=r.type(a);return"function"!==c&&!r.isWindow(a)&&("array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a)}var x=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u="sizzle"+1*new Date,v=a.document,w=0,x=0,y=ha(),z=ha(),A=ha(),B=function(a,b){return a===b&&(l=!0),0},C={}.hasOwnProperty,D=[],E=D.pop,F=D.push,G=D.push,H=D.slice,I=function(a,b){for(var c=0,d=a.length;c<d;c++)if(a[c]===b)return c;return-1},J="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",K="[\\x20\\t\\r\\n\\f]",L="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",M="\\["+K+"*("+L+")(?:"+K+"*([*^$|!~]?=)"+K+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+L+"))|)"+K+"*\\]",N=":("+L+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+M+")*)|.*)\\)|)",O=new RegExp(K+"+","g"),P=new RegExp("^"+K+"+|((?:^|[^\\\\])(?:\\\\.)*)"+K+"+$","g"),Q=new RegExp("^"+K+"*,"+K+"*"),R=new RegExp("^"+K+"*([>+~]|"+K+")"+K+"*"),S=new RegExp("="+K+"*([^\\]'\"]*?)"+K+"*\\]","g"),T=new RegExp(N),U=new RegExp("^"+L+"$"),V={ID:new RegExp("^#("+L+")"),CLASS:new RegExp("^\\.("+L+")"),TAG:new RegExp("^("+L+"|[*])"),ATTR:new RegExp("^"+M),PSEUDO:new RegExp("^"+N),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+K+"*(even|odd|(([+-]|)(\\d*)n|)"+K+"*(?:([+-]|)"+K+"*(\\d+)|))"+K+"*\\)|)","i"),bool:new RegExp("^(?:"+J+")$","i"),needsContext:new RegExp("^"+K+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+K+"*((?:-\\d)?\\d*)"+K+"*\\)|)(?=[^-]|$)","i")},W=/^(?:input|select|textarea|button)$/i,X=/^h\d$/i,Y=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,$=/[+~]/,_=new RegExp("\\\\([\\da-f]{1,6}"+K+"?|("+K+")|.)","ig"),aa=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:d<0?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)},ba=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,ca=function(a,b){return b?"\0"===a?"\ufffd":a.slice(0,-1)+"\\"+a.charCodeAt(a.length-1).toString(16)+" ":"\\"+a},da=function(){m()},ea=ta(function(a){return a.disabled===!0},{dir:"parentNode",next:"legend"});try{G.apply(D=H.call(v.childNodes),v.childNodes),D[v.childNodes.length].nodeType}catch(fa){G={apply:D.length?function(a,b){F.apply(a,H.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function ga(a,b,d,e){var f,h,j,k,l,o,r,s=b&&b.ownerDocument,w=b?b.nodeType:9;if(d=d||[],"string"!=typeof a||!a||1!==w&&9!==w&&11!==w)return d;if(!e&&((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,p)){if(11!==w&&(l=Z.exec(a)))if(f=l[1]){if(9===w){if(!(j=b.getElementById(f)))return d;if(j.id===f)return d.push(j),d}else if(s&&(j=s.getElementById(f))&&t(b,j)&&j.id===f)return d.push(j),d}else{if(l[2])return G.apply(d,b.getElementsByTagName(a)),d;if((f=l[3])&&c.getElementsByClassName&&b.getElementsByClassName)return G.apply(d,b.getElementsByClassName(f)),d}if(c.qsa&&!A[a+" "]&&(!q||!q.test(a))){if(1!==w)s=b,r=a;else if("object"!==b.nodeName.toLowerCase()){(k=b.getAttribute("id"))?k=k.replace(ba,ca):b.setAttribute("id",k=u),o=g(a),h=o.length;while(h--)o[h]="#"+k+" "+sa(o[h]);r=o.join(","),s=$.test(a)&&qa(b.parentNode)||b}if(r)try{return G.apply(d,s.querySelectorAll(r)),d}catch(x){}finally{k===u&&b.removeAttribute("id")}}}return i(a.replace(P,"$1"),b,d,e)}function ha(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function ia(a){return a[u]=!0,a}function ja(a){var b=n.createElement("fieldset");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function ka(a,b){var c=a.split("|"),e=c.length;while(e--)d.attrHandle[c[e]]=b}function la(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&a.sourceIndex-b.sourceIndex;if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function ma(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function na(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function oa(a){return function(b){return"label"in b&&b.disabled===a||"form"in b&&b.disabled===a||"form"in b&&b.disabled===!1&&(b.isDisabled===a||b.isDisabled!==!a&&("label"in b||!ea(b))!==a)}}function pa(a){return ia(function(b){return b=+b,ia(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function qa(a){return a&&"undefined"!=typeof a.getElementsByTagName&&a}c=ga.support={},f=ga.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return!!b&&"HTML"!==b.nodeName},m=ga.setDocument=function(a){var b,e,g=a?a.ownerDocument||a:v;return g!==n&&9===g.nodeType&&g.documentElement?(n=g,o=n.documentElement,p=!f(n),v!==n&&(e=n.defaultView)&&e.top!==e&&(e.addEventListener?e.addEventListener("unload",da,!1):e.attachEvent&&e.attachEvent("onunload",da)),c.attributes=ja(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=ja(function(a){return a.appendChild(n.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=Y.test(n.getElementsByClassName),c.getById=ja(function(a){return o.appendChild(a).id=u,!n.getElementsByName||!n.getElementsByName(u).length}),c.getById?(d.find.ID=function(a,b){if("undefined"!=typeof b.getElementById&&p){var c=b.getElementById(a);return c?[c]:[]}},d.filter.ID=function(a){var b=a.replace(_,aa);return function(a){return a.getAttribute("id")===b}}):(delete d.find.ID,d.filter.ID=function(a){var b=a.replace(_,aa);return function(a){var c="undefined"!=typeof a.getAttributeNode&&a.getAttributeNode("id");return c&&c.value===b}}),d.find.TAG=c.getElementsByTagName?function(a,b){return"undefined"!=typeof b.getElementsByTagName?b.getElementsByTagName(a):c.qsa?b.querySelectorAll(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){if("undefined"!=typeof b.getElementsByClassName&&p)return b.getElementsByClassName(a)},r=[],q=[],(c.qsa=Y.test(n.querySelectorAll))&&(ja(function(a){o.appendChild(a).innerHTML="<a id='"+u+"'></a><select id='"+u+"-\r\\' msallowcapture=''><option selected=''></option></select>",a.querySelectorAll("[msallowcapture^='']").length&&q.push("[*^$]="+K+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||q.push("\\["+K+"*(?:value|"+J+")"),a.querySelectorAll("[id~="+u+"-]").length||q.push("~="),a.querySelectorAll(":checked").length||q.push(":checked"),a.querySelectorAll("a#"+u+"+*").length||q.push(".#.+[+~]")}),ja(function(a){a.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var b=n.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.push("name"+K+"*[*^$|!~]?="),2!==a.querySelectorAll(":enabled").length&&q.push(":enabled",":disabled"),o.appendChild(a).disabled=!0,2!==a.querySelectorAll(":disabled").length&&q.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),q.push(",.*:")})),(c.matchesSelector=Y.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ja(function(a){c.disconnectedMatch=s.call(a,"*"),s.call(a,"[s!='']:x"),r.push("!=",N)}),q=q.length&&new RegExp(q.join("|")),r=r.length&&new RegExp(r.join("|")),b=Y.test(o.compareDocumentPosition),t=b||Y.test(o.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===n||a.ownerDocument===v&&t(v,a)?-1:b===n||b.ownerDocument===v&&t(v,b)?1:k?I(k,a)-I(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,e=a.parentNode,f=b.parentNode,g=[a],h=[b];if(!e||!f)return a===n?-1:b===n?1:e?-1:f?1:k?I(k,a)-I(k,b):0;if(e===f)return la(a,b);c=a;while(c=c.parentNode)g.unshift(c);c=b;while(c=c.parentNode)h.unshift(c);while(g[d]===h[d])d++;return d?la(g[d],h[d]):g[d]===v?-1:h[d]===v?1:0},n):n},ga.matches=function(a,b){return ga(a,null,null,b)},ga.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(S,"='$1']"),c.matchesSelector&&p&&!A[b+" "]&&(!r||!r.test(b))&&(!q||!q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return ga(b,n,null,[a]).length>0},ga.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},ga.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&C.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},ga.escape=function(a){return(a+"").replace(ba,ca)},ga.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},ga.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=ga.getText=function(a){var b,c="",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=ga.selectors={cacheLength:50,createPseudo:ia,match:V,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(_,aa),a[3]=(a[3]||a[4]||a[5]||"").replace(_,aa),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||ga.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&ga.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return V.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&T.test(c)&&(b=g(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(_,aa).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+" "];return b||(b=new RegExp("(^|"+K+")"+a+"("+K+"|$)"))&&y(a,function(a){return b.test("string"==typeof a.className&&a.className||"undefined"!=typeof a.getAttribute&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=ga.attr(d,a);return null==e?"!="===b:!b||(e+="","="===b?e===c:"!="===b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e.replace(O," ")+" ").indexOf(c)>-1:"|="===b&&(e===c||e.slice(0,c.length+1)===c+"-"))}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h,t=!1;if(q){if(f){while(p){m=b;while(m=m[p])if(h?m.nodeName.toLowerCase()===r:1===m.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){m=q,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n&&j[2],m=n&&q.childNodes[n];while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if(1===m.nodeType&&++t&&m===b){k[a]=[w,n,t];break}}else if(s&&(m=b,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n),t===!1)while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if((h?m.nodeName.toLowerCase()===r:1===m.nodeType)&&++t&&(s&&(l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),k[a]=[w,t]),m===b))break;return t-=e,t===d||t%d===0&&t/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||ga.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?ia(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=I(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:ia(function(a){var b=[],c=[],d=h(a.replace(P,"$1"));return d[u]?ia(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),b[0]=null,!c.pop()}}),has:ia(function(a){return function(b){return ga(a,b).length>0}}),contains:ia(function(a){return a=a.replace(_,aa),function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:ia(function(a){return U.test(a||"")||ga.error("unsupported lang: "+a),a=a.replace(_,aa).toLowerCase(),function(b){var c;do if(c=p?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:oa(!1),disabled:oa(!0),checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return X.test(a.nodeName)},input:function(a){return W.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:pa(function(){return[0]}),last:pa(function(a,b){return[b-1]}),eq:pa(function(a,b,c){return[c<0?c+b:c]}),even:pa(function(a,b){for(var c=0;c<b;c+=2)a.push(c);return a}),odd:pa(function(a,b){for(var c=1;c<b;c+=2)a.push(c);return a}),lt:pa(function(a,b,c){for(var d=c<0?c+b:c;--d>=0;)a.push(d);return a}),gt:pa(function(a,b,c){for(var d=c<0?c+b:c;++d<b;)a.push(d);return a})}},d.pseudos.nth=d.pseudos.eq;for(b in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})d.pseudos[b]=ma(b);for(b in{submit:!0,reset:!0})d.pseudos[b]=na(b);function ra(){}ra.prototype=d.filters=d.pseudos,d.setFilters=new ra,g=ga.tokenize=function(a,b){var c,e,f,g,h,i,j,k=z[a+" "];if(k)return b?0:k.slice(0);h=a,i=[],j=d.preFilter;while(h){c&&!(e=Q.exec(h))||(e&&(h=h.slice(e[0].length)||h),i.push(f=[])),c=!1,(e=R.exec(h))&&(c=e.shift(),f.push({value:c,type:e[0].replace(P," ")}),h=h.slice(c.length));for(g in d.filter)!(e=V[g].exec(h))||j[g]&&!(e=j[g](e))||(c=e.shift(),f.push({value:c,type:g,matches:e}),h=h.slice(c.length));if(!c)break}return b?h.length:h?ga.error(a):z(a,i).slice(0)};function sa(a){for(var b=0,c=a.length,d="";b<c;b++)d+=a[b].value;return d}function ta(a,b,c){var d=b.dir,e=b.next,f=e||d,g=c&&"parentNode"===f,h=x++;return b.first?function(b,c,e){while(b=b[d])if(1===b.nodeType||g)return a(b,c,e)}:function(b,c,i){var j,k,l,m=[w,h];if(i){while(b=b[d])if((1===b.nodeType||g)&&a(b,c,i))return!0}else while(b=b[d])if(1===b.nodeType||g)if(l=b[u]||(b[u]={}),k=l[b.uniqueID]||(l[b.uniqueID]={}),e&&e===b.nodeName.toLowerCase())b=b[d]||b;else{if((j=k[f])&&j[0]===w&&j[1]===h)return m[2]=j[2];if(k[f]=m,m[2]=a(b,c,i))return!0}}}function ua(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function va(a,b,c){for(var d=0,e=b.length;d<e;d++)ga(a,b[d],c);return c}function wa(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;h<i;h++)(f=a[h])&&(c&&!c(f,d,e)||(g.push(f),j&&b.push(h)));return g}function xa(a,b,c,d,e,f){return d&&!d[u]&&(d=xa(d)),e&&!e[u]&&(e=xa(e,f)),ia(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||va(b||"*",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:wa(p,m,a,h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=wa(r,n),d(j,[],h,i),k=j.length;while(k--)(l=j[k])&&(r[n[k]]=!(q[n[k]]=l))}if(f){if(e||a){if(e){j=[],k=r.length;while(k--)(l=r[k])&&j.push(q[k]=l);e(null,r=[],j,i)}k=r.length;while(k--)(l=r[k])&&(j=e?I(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else r=wa(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):G.apply(g,r)})}function ya(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=ta(function(a){return a===b},h,!0),l=ta(function(a){return I(b,a)>-1},h,!0),m=[function(a,c,d){var e=!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d));return b=null,e}];i<f;i++)if(c=d.relative[a[i].type])m=[ta(ua(m),c)];else{if(c=d.filter[a[i].type].apply(null,a[i].matches),c[u]){for(e=++i;e<f;e++)if(d.relative[a[e].type])break;return xa(i>1&&ua(m),i>1&&sa(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(P,"$1"),c,i<e&&ya(a.slice(i,e)),e<f&&ya(a=a.slice(e)),e<f&&sa(a))}m.push(c)}return ua(m)}function za(a,b){var c=b.length>0,e=a.length>0,f=function(f,g,h,i,k){var l,o,q,r=0,s="0",t=f&&[],u=[],v=j,x=f||e&&d.find.TAG("*",k),y=w+=null==v?1:Math.random()||.1,z=x.length;for(k&&(j=g===n||g||k);s!==z&&null!=(l=x[s]);s++){if(e&&l){o=0,g||l.ownerDocument===n||(m(l),h=!p);while(q=a[o++])if(q(l,g||n,h)){i.push(l);break}k&&(w=y)}c&&((l=!q&&l)&&r--,f&&t.push(l))}if(r+=s,c&&s!==r){o=0;while(q=b[o++])q(t,u,g,h);if(f){if(r>0)while(s--)t[s]||u[s]||(u[s]=E.call(i));u=wa(u)}G.apply(i,u),k&&!f&&u.length>0&&r+b.length>1&&ga.uniqueSort(i)}return k&&(w=y,j=v),t};return c?ia(f):f}return h=ga.compile=function(a,b){var c,d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=ya(b[c]),f[u]?d.push(f):e.push(f);f=A(a,za(e,d)),f.selector=a}return f},i=ga.select=function(a,b,e,f){var i,j,k,l,m,n="function"==typeof a&&a,o=!f&&g(a=n.selector||a);if(e=e||[],1===o.length){if(j=o[0]=o[0].slice(0),j.length>2&&"ID"===(k=j[0]).type&&c.getById&&9===b.nodeType&&p&&d.relative[j[1].type]){if(b=(d.find.ID(k.matches[0].replace(_,aa),b)||[])[0],!b)return e;n&&(b=b.parentNode),a=a.slice(j.shift().value.length)}i=V.needsContext.test(a)?0:j.length;while(i--){if(k=j[i],d.relative[l=k.type])break;if((m=d.find[l])&&(f=m(k.matches[0].replace(_,aa),$.test(j[0].type)&&qa(b.parentNode)||b))){if(j.splice(i,1),a=f.length&&sa(j),!a)return G.apply(e,f),e;break}}}return(n||h(a,o))(f,b,!p,e,!b||$.test(a)&&qa(b.parentNode)||b),e},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ja(function(a){return 1&a.compareDocumentPosition(n.createElement("fieldset"))}),ja(function(a){return a.innerHTML="<a href='#'></a>","#"===a.firstChild.getAttribute("href")})||ka("type|href|height|width",function(a,b,c){if(!c)return a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&ja(function(a){return a.innerHTML="<input/>",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||ka("value",function(a,b,c){if(!c&&"input"===a.nodeName.toLowerCase())return a.defaultValue}),ja(function(a){return null==a.getAttribute("disabled")})||ka(J,function(a,b,c){var d;if(!c)return a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),ga}(a);r.find=x,r.expr=x.selectors,r.expr[":"]=r.expr.pseudos,r.uniqueSort=r.unique=x.uniqueSort,r.text=x.getText,r.isXMLDoc=x.isXML,r.contains=x.contains,r.escapeSelector=x.escape;var y=function(a,b,c){var d=[],e=void 0!==c;while((a=a[b])&&9!==a.nodeType)if(1===a.nodeType){if(e&&r(a).is(c))break;d.push(a)}return d},z=function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c},A=r.expr.match.needsContext,B=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i,C=/^.[^:#\[\.,]*$/;function D(a,b,c){if(r.isFunction(b))return r.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return r.grep(a,function(a){return a===b!==c});if("string"==typeof b){if(C.test(b))return r.filter(b,a,c);b=r.filter(b,a)}return r.grep(a,function(a){return i.call(b,a)>-1!==c&&1===a.nodeType})}r.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?r.find.matchesSelector(d,a)?[d]:[]:r.find.matches(a,r.grep(b,function(a){return 1===a.nodeType}))},r.fn.extend({find:function(a){var b,c,d=this.length,e=this;if("string"!=typeof a)return this.pushStack(r(a).filter(function(){for(b=0;b<d;b++)if(r.contains(e[b],this))return!0}));for(c=this.pushStack([]),b=0;b<d;b++)r.find(a,e[b],c);return d>1?r.uniqueSort(c):c},filter:function(a){return this.pushStack(D(this,a||[],!1))},not:function(a){return this.pushStack(D(this,a||[],!0))},is:function(a){return!!D(this,"string"==typeof a&&A.test(a)?r(a):a||[],!1).length}});var E,F=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,G=r.fn.init=function(a,b,c){var e,f;if(!a)return this;if(c=c||E,"string"==typeof a){if(e="<"===a[0]&&">"===a[a.length-1]&&a.length>=3?[null,a,null]:F.exec(a),!e||!e[1]&&b)return!b||b.jquery?(b||c).find(a):this.constructor(b).find(a);if(e[1]){if(b=b instanceof r?b[0]:b,r.merge(this,r.parseHTML(e[1],b&&b.nodeType?b.ownerDocument||b:d,!0)),B.test(e[1])&&r.isPlainObject(b))for(e in b)r.isFunction(this[e])?this[e](b[e]):this.attr(e,b[e]);return this}return f=d.getElementById(e[2]),f&&(this[0]=f,this.length=1),this}return a.nodeType?(this[0]=a,this.length=1,this):r.isFunction(a)?void 0!==c.ready?c.ready(a):a(r):r.makeArray(a,this)};G.prototype=r.fn,E=r(d);var H=/^(?:parents|prev(?:Until|All))/,I={children:!0,contents:!0,next:!0,prev:!0};r.fn.extend({has:function(a){var b=r(a,this),c=b.length;return this.filter(function(){for(var a=0;a<c;a++)if(r.contains(this,b[a]))return!0})},closest:function(a,b){var c,d=0,e=this.length,f=[],g="string"!=typeof a&&r(a);if(!A.test(a))for(;d<e;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c.nodeType<11&&(g?g.index(c)>-1:1===c.nodeType&&r.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?r.uniqueSort(f):f)},index:function(a){return a?"string"==typeof a?i.call(r(a),this[0]):i.call(this,a.jquery?a[0]:a):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(r.uniqueSort(r.merge(this.get(),r(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function J(a,b){while((a=a[b])&&1!==a.nodeType);return a}r.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return y(a,"parentNode")},parentsUntil:function(a,b,c){return y(a,"parentNode",c)},next:function(a){return J(a,"nextSibling")},prev:function(a){return J(a,"previousSibling")},nextAll:function(a){return y(a,"nextSibling")},prevAll:function(a){return y(a,"previousSibling")},nextUntil:function(a,b,c){return y(a,"nextSibling",c)},prevUntil:function(a,b,c){return y(a,"previousSibling",c)},siblings:function(a){return z((a.parentNode||{}).firstChild,a)},children:function(a){return z(a.firstChild)},contents:function(a){return a.contentDocument||r.merge([],a.childNodes)}},function(a,b){r.fn[a]=function(c,d){var e=r.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=r.filter(d,e)),this.length>1&&(I[a]||r.uniqueSort(e),H.test(a)&&e.reverse()),this.pushStack(e)}});var K=/\S+/g;function L(a){var b={};return r.each(a.match(K)||[],function(a,c){b[c]=!0}),b}r.Callbacks=function(a){a="string"==typeof a?L(a):r.extend({},a);var b,c,d,e,f=[],g=[],h=-1,i=function(){for(e=a.once,d=b=!0;g.length;h=-1){c=g.shift();while(++h<f.length)f[h].apply(c[0],c[1])===!1&&a.stopOnFalse&&(h=f.length,c=!1)}a.memory||(c=!1),b=!1,e&&(f=c?[]:"")},j={add:function(){return f&&(c&&!b&&(h=f.length-1,g.push(c)),function d(b){r.each(b,function(b,c){r.isFunction(c)?a.unique&&j.has(c)||f.push(c):c&&c.length&&"string"!==r.type(c)&&d(c)})}(arguments),c&&!b&&i()),this},remove:function(){return r.each(arguments,function(a,b){var c;while((c=r.inArray(b,f,c))>-1)f.splice(c,1),c<=h&&h--}),this},has:function(a){return a?r.inArray(a,f)>-1:f.length>0},empty:function(){return f&&(f=[]),this},disable:function(){return e=g=[],f=c="",this},disabled:function(){return!f},lock:function(){return e=g=[],c||b||(f=c=""),this},locked:function(){return!!e},fireWith:function(a,c){return e||(c=c||[],c=[a,c.slice?c.slice():c],g.push(c),b||i()),this},fire:function(){return j.fireWith(this,arguments),this},fired:function(){return!!d}};return j};function M(a){return a}function N(a){throw a}function O(a,b,c){var d;try{a&&r.isFunction(d=a.promise)?d.call(a).done(b).fail(c):a&&r.isFunction(d=a.then)?d.call(a,b,c):b.call(void 0,a)}catch(a){c.call(void 0,a)}}r.extend({Deferred:function(b){var c=[["notify","progress",r.Callbacks("memory"),r.Callbacks("memory"),2],["resolve","done",r.Callbacks("once memory"),r.Callbacks("once memory"),0,"resolved"],["reject","fail",r.Callbacks("once memory"),r.Callbacks("once memory"),1,"rejected"]],d="pending",e={state:function(){return d},always:function(){return f.done(arguments).fail(arguments),this},"catch":function(a){return e.then(null,a)},pipe:function(){var a=arguments;return r.Deferred(function(b){r.each(c,function(c,d){var e=r.isFunction(a[d[4]])&&a[d[4]];f[d[1]](function(){var a=e&&e.apply(this,arguments);a&&r.isFunction(a.promise)?a.promise().progress(b.notify).done(b.resolve).fail(b.reject):b[d[0]+"With"](this,e?[a]:arguments)})}),a=null}).promise()},then:function(b,d,e){var f=0;function g(b,c,d,e){return function(){var h=this,i=arguments,j=function(){var a,j;if(!(b<f)){if(a=d.apply(h,i),a===c.promise())throw new TypeError("Thenable self-resolution");j=a&&("object"==typeof a||"function"==typeof a)&&a.then,r.isFunction(j)?e?j.call(a,g(f,c,M,e),g(f,c,N,e)):(f++,j.call(a,g(f,c,M,e),g(f,c,N,e),g(f,c,M,c.notifyWith))):(d!==M&&(h=void 0,i=[a]),(e||c.resolveWith)(h,i))}},k=e?j:function(){try{j()}catch(a){r.Deferred.exceptionHook&&r.Deferred.exceptionHook(a,k.stackTrace),b+1>=f&&(d!==N&&(h=void 0,i=[a]),c.rejectWith(h,i))}};b?k():(r.Deferred.getStackHook&&(k.stackTrace=r.Deferred.getStackHook()),a.setTimeout(k))}}return r.Deferred(function(a){c[0][3].add(g(0,a,r.isFunction(e)?e:M,a.notifyWith)),c[1][3].add(g(0,a,r.isFunction(b)?b:M)),c[2][3].add(g(0,a,r.isFunction(d)?d:N))}).promise()},promise:function(a){return null!=a?r.extend(a,e):e}},f={};return r.each(c,function(a,b){var g=b[2],h=b[5];e[b[1]]=g.add,h&&g.add(function(){d=h},c[3-a][2].disable,c[0][2].lock),g.add(b[3].fire),f[b[0]]=function(){return f[b[0]+"With"](this===f?void 0:this,arguments),this},f[b[0]+"With"]=g.fireWith}),e.promise(f),b&&b.call(f,f),f},when:function(a){var b=arguments.length,c=b,d=Array(c),e=f.call(arguments),g=r.Deferred(),h=function(a){return function(c){d[a]=this,e[a]=arguments.length>1?f.call(arguments):c,--b||g.resolveWith(d,e)}};if(b<=1&&(O(a,g.done(h(c)).resolve,g.reject),"pending"===g.state()||r.isFunction(e[c]&&e[c].then)))return g.then();while(c--)O(e[c],h(c),g.reject);return g.promise()}});var P=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;r.Deferred.exceptionHook=function(b,c){a.console&&a.console.warn&&b&&P.test(b.name)&&a.console.warn("jQuery.Deferred exception: "+b.message,b.stack,c)},r.readyException=function(b){a.setTimeout(function(){throw b})};var Q=r.Deferred();r.fn.ready=function(a){return Q.then(a)["catch"](function(a){r.readyException(a)}),this},r.extend({isReady:!1,readyWait:1,holdReady:function(a){a?r.readyWait++:r.ready(!0)},ready:function(a){(a===!0?--r.readyWait:r.isReady)||(r.isReady=!0,a!==!0&&--r.readyWait>0||Q.resolveWith(d,[r]))}}),r.ready.then=Q.then;function R(){d.removeEventListener("DOMContentLoaded",R),a.removeEventListener("load",R),r.ready()}"complete"===d.readyState||"loading"!==d.readyState&&!d.documentElement.doScroll?a.setTimeout(r.ready):(d.addEventListener("DOMContentLoaded",R),a.addEventListener("load",R));var S=function(a,b,c,d,e,f,g){var h=0,i=a.length,j=null==c;if("object"===r.type(c)){e=!0;for(h in c)S(a,b,h,c[h],!0,f,g)}else if(void 0!==d&&(e=!0,
12r.isFunction(d)||(g=!0),j&&(g?(b.call(a,d),b=null):(j=b,b=function(a,b,c){return j.call(r(a),c)})),b))for(;h<i;h++)b(a[h],c,g?d:d.call(a[h],h,b(a[h],c)));return e?a:j?b.call(a):i?b(a[0],c):f},T=function(a){return 1===a.nodeType||9===a.nodeType||!+a.nodeType};function U(){this.expando=r.expando+U.uid++}U.uid=1,U.prototype={cache:function(a){var b=a[this.expando];return b||(b={},T(a)&&(a.nodeType?a[this.expando]=b:Object.defineProperty(a,this.expando,{value:b,configurable:!0}))),b},set:function(a,b,c){var d,e=this.cache(a);if("string"==typeof b)e[r.camelCase(b)]=c;else for(d in b)e[r.camelCase(d)]=b[d];return e},get:function(a,b){return void 0===b?this.cache(a):a[this.expando]&&a[this.expando][r.camelCase(b)]},access:function(a,b,c){return void 0===b||b&&"string"==typeof b&&void 0===c?this.get(a,b):(this.set(a,b,c),void 0!==c?c:b)},remove:function(a,b){var c,d=a[this.expando];if(void 0!==d){if(void 0!==b){r.isArray(b)?b=b.map(r.camelCase):(b=r.camelCase(b),b=b in d?[b]:b.match(K)||[]),c=b.length;while(c--)delete d[b[c]]}(void 0===b||r.isEmptyObject(d))&&(a.nodeType?a[this.expando]=void 0:delete a[this.expando])}},hasData:function(a){var b=a[this.expando];return void 0!==b&&!r.isEmptyObject(b)}};var V=new U,W=new U,X=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Y=/[A-Z]/g;function Z(a,b,c){var d;if(void 0===c&&1===a.nodeType)if(d="data-"+b.replace(Y,"-$&").toLowerCase(),c=a.getAttribute(d),"string"==typeof c){try{c="true"===c||"false"!==c&&("null"===c?null:+c+""===c?+c:X.test(c)?JSON.parse(c):c)}catch(e){}W.set(a,b,c)}else c=void 0;return c}r.extend({hasData:function(a){return W.hasData(a)||V.hasData(a)},data:function(a,b,c){return W.access(a,b,c)},removeData:function(a,b){W.remove(a,b)},_data:function(a,b,c){return V.access(a,b,c)},_removeData:function(a,b){V.remove(a,b)}}),r.fn.extend({data:function(a,b){var c,d,e,f=this[0],g=f&&f.attributes;if(void 0===a){if(this.length&&(e=W.get(f),1===f.nodeType&&!V.get(f,"hasDataAttrs"))){c=g.length;while(c--)g[c]&&(d=g[c].name,0===d.indexOf("data-")&&(d=r.camelCase(d.slice(5)),Z(f,d,e[d])));V.set(f,"hasDataAttrs",!0)}return e}return"object"==typeof a?this.each(function(){W.set(this,a)}):S(this,function(b){var c;if(f&&void 0===b){if(c=W.get(f,a),void 0!==c)return c;if(c=Z(f,a),void 0!==c)return c}else this.each(function(){W.set(this,a,b)})},null,b,arguments.length>1,null,!0)},removeData:function(a){return this.each(function(){W.remove(this,a)})}}),r.extend({queue:function(a,b,c){var d;if(a)return b=(b||"fx")+"queue",d=V.get(a,b),c&&(!d||r.isArray(c)?d=V.access(a,b,r.makeArray(c)):d.push(c)),d||[]},dequeue:function(a,b){b=b||"fx";var c=r.queue(a,b),d=c.length,e=c.shift(),f=r._queueHooks(a,b),g=function(){r.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return V.get(a,c)||V.access(a,c,{empty:r.Callbacks("once memory").add(function(){V.remove(a,[b+"queue",c])})})}}),r.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.length<c?r.queue(this[0],a):void 0===b?this:this.each(function(){var c=r.queue(this,a,b);r._queueHooks(this,a),"fx"===a&&"inprogress"!==c[0]&&r.dequeue(this,a)})},dequeue:function(a){return this.each(function(){r.dequeue(this,a)})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,b){var c,d=1,e=r.Deferred(),f=this,g=this.length,h=function(){--d||e.resolveWith(f,[f])};"string"!=typeof a&&(b=a,a=void 0),a=a||"fx";while(g--)c=V.get(f[g],a+"queueHooks"),c&&c.empty&&(d++,c.empty.add(h));return h(),e.promise(b)}});var $=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,_=new RegExp("^(?:([+-])=|)("+$+")([a-z%]*)$","i"),aa=["Top","Right","Bottom","Left"],ba=function(a,b){return a=b||a,"none"===a.style.display||""===a.style.display&&r.contains(a.ownerDocument,a)&&"none"===r.css(a,"display")},ca=function(a,b,c,d){var e,f,g={};for(f in b)g[f]=a.style[f],a.style[f]=b[f];e=c.apply(a,d||[]);for(f in b)a.style[f]=g[f];return e};function da(a,b,c,d){var e,f=1,g=20,h=d?function(){return d.cur()}:function(){return r.css(a,b,"")},i=h(),j=c&&c[3]||(r.cssNumber[b]?"":"px"),k=(r.cssNumber[b]||"px"!==j&&+i)&&_.exec(r.css(a,b));if(k&&k[3]!==j){j=j||k[3],c=c||[],k=+i||1;do f=f||".5",k/=f,r.style(a,b,k+j);while(f!==(f=h()/i)&&1!==f&&--g)}return c&&(k=+k||+i||0,e=c[1]?k+(c[1]+1)*c[2]:+c[2],d&&(d.unit=j,d.start=k,d.end=e)),e}var ea={};function fa(a){var b,c=a.ownerDocument,d=a.nodeName,e=ea[d];return e?e:(b=c.body.appendChild(c.createElement(d)),e=r.css(b,"display"),b.parentNode.removeChild(b),"none"===e&&(e="block"),ea[d]=e,e)}function ga(a,b){for(var c,d,e=[],f=0,g=a.length;f<g;f++)d=a[f],d.style&&(c=d.style.display,b?("none"===c&&(e[f]=V.get(d,"display")||null,e[f]||(d.style.display="")),""===d.style.display&&ba(d)&&(e[f]=fa(d))):"none"!==c&&(e[f]="none",V.set(d,"display",c)));for(f=0;f<g;f++)null!=e[f]&&(a[f].style.display=e[f]);return a}r.fn.extend({show:function(){return ga(this,!0)},hide:function(){return ga(this)},toggle:function(a){return"boolean"==typeof a?a?this.show():this.hide():this.each(function(){ba(this)?r(this).show():r(this).hide()})}});var ha=/^(?:checkbox|radio)$/i,ia=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,ja=/^$|\/(?:java|ecma)script/i,ka={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};ka.optgroup=ka.option,ka.tbody=ka.tfoot=ka.colgroup=ka.caption=ka.thead,ka.th=ka.td;function la(a,b){var c="undefined"!=typeof a.getElementsByTagName?a.getElementsByTagName(b||"*"):"undefined"!=typeof a.querySelectorAll?a.querySelectorAll(b||"*"):[];return void 0===b||b&&r.nodeName(a,b)?r.merge([a],c):c}function ma(a,b){for(var c=0,d=a.length;c<d;c++)V.set(a[c],"globalEval",!b||V.get(b[c],"globalEval"))}var na=/<|&#?\w+;/;function oa(a,b,c,d,e){for(var f,g,h,i,j,k,l=b.createDocumentFragment(),m=[],n=0,o=a.length;n<o;n++)if(f=a[n],f||0===f)if("object"===r.type(f))r.merge(m,f.nodeType?[f]:f);else if(na.test(f)){g=g||l.appendChild(b.createElement("div")),h=(ia.exec(f)||["",""])[1].toLowerCase(),i=ka[h]||ka._default,g.innerHTML=i[1]+r.htmlPrefilter(f)+i[2],k=i[0];while(k--)g=g.lastChild;r.merge(m,g.childNodes),g=l.firstChild,g.textContent=""}else m.push(b.createTextNode(f));l.textContent="",n=0;while(f=m[n++])if(d&&r.inArray(f,d)>-1)e&&e.push(f);else if(j=r.contains(f.ownerDocument,f),g=la(l.appendChild(f),"script"),j&&ma(g),c){k=0;while(f=g[k++])ja.test(f.type||"")&&c.push(f)}return l}!function(){var a=d.createDocumentFragment(),b=a.appendChild(d.createElement("div")),c=d.createElement("input");c.setAttribute("type","radio"),c.setAttribute("checked","checked"),c.setAttribute("name","t"),b.appendChild(c),o.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked,b.innerHTML="<textarea>x</textarea>",o.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue}();var pa=d.documentElement,qa=/^key/,ra=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,sa=/^([^.]*)(?:\.(.+)|)/;function ta(){return!0}function ua(){return!1}function va(){try{return d.activeElement}catch(a){}}function wa(a,b,c,d,e,f){var g,h;if("object"==typeof b){"string"!=typeof c&&(d=d||c,c=void 0);for(h in b)wa(a,h,c,d,b[h],f);return a}if(null==d&&null==e?(e=c,d=c=void 0):null==e&&("string"==typeof c?(e=d,d=void 0):(e=d,d=c,c=void 0)),e===!1)e=ua;else if(!e)return a;return 1===f&&(g=e,e=function(a){return r().off(a),g.apply(this,arguments)},e.guid=g.guid||(g.guid=r.guid++)),a.each(function(){r.event.add(this,b,e,d,c)})}r.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q=V.get(a);if(q){c.handler&&(f=c,c=f.handler,e=f.selector),e&&r.find.matchesSelector(pa,e),c.guid||(c.guid=r.guid++),(i=q.events)||(i=q.events={}),(g=q.handle)||(g=q.handle=function(b){return"undefined"!=typeof r&&r.event.triggered!==b.type?r.event.dispatch.apply(a,arguments):void 0}),b=(b||"").match(K)||[""],j=b.length;while(j--)h=sa.exec(b[j])||[],n=p=h[1],o=(h[2]||"").split(".").sort(),n&&(l=r.event.special[n]||{},n=(e?l.delegateType:l.bindType)||n,l=r.event.special[n]||{},k=r.extend({type:n,origType:p,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&r.expr.match.needsContext.test(e),namespace:o.join(".")},f),(m=i[n])||(m=i[n]=[],m.delegateCount=0,l.setup&&l.setup.call(a,d,o,g)!==!1||a.addEventListener&&a.addEventListener(n,g)),l.add&&(l.add.call(a,k),k.handler.guid||(k.handler.guid=c.guid)),e?m.splice(m.delegateCount++,0,k):m.push(k),r.event.global[n]=!0)}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q=V.hasData(a)&&V.get(a);if(q&&(i=q.events)){b=(b||"").match(K)||[""],j=b.length;while(j--)if(h=sa.exec(b[j])||[],n=p=h[1],o=(h[2]||"").split(".").sort(),n){l=r.event.special[n]||{},n=(d?l.delegateType:l.bindType)||n,m=i[n]||[],h=h[2]&&new RegExp("(^|\\.)"+o.join("\\.(?:.*\\.|)")+"(\\.|$)"),g=f=m.length;while(f--)k=m[f],!e&&p!==k.origType||c&&c.guid!==k.guid||h&&!h.test(k.namespace)||d&&d!==k.selector&&("**"!==d||!k.selector)||(m.splice(f,1),k.selector&&m.delegateCount--,l.remove&&l.remove.call(a,k));g&&!m.length&&(l.teardown&&l.teardown.call(a,o,q.handle)!==!1||r.removeEvent(a,n,q.handle),delete i[n])}else for(n in i)r.event.remove(a,n+b[j],c,d,!0);r.isEmptyObject(i)&&V.remove(a,"handle events")}},dispatch:function(a){var b=r.event.fix(a),c,d,e,f,g,h,i=new Array(arguments.length),j=(V.get(this,"events")||{})[b.type]||[],k=r.event.special[b.type]||{};for(i[0]=b,c=1;c<arguments.length;c++)i[c]=arguments[c];if(b.delegateTarget=this,!k.preDispatch||k.preDispatch.call(this,b)!==!1){h=r.event.handlers.call(this,b,j),c=0;while((f=h[c++])&&!b.isPropagationStopped()){b.currentTarget=f.elem,d=0;while((g=f.handlers[d++])&&!b.isImmediatePropagationStopped())b.rnamespace&&!b.rnamespace.test(g.namespace)||(b.handleObj=g,b.data=g.data,e=((r.event.special[g.origType]||{}).handle||g.handler).apply(f.elem,i),void 0!==e&&(b.result=e)===!1&&(b.preventDefault(),b.stopPropagation()))}return k.postDispatch&&k.postDispatch.call(this,b),b.result}},handlers:function(a,b){var c,d,e,f,g=[],h=b.delegateCount,i=a.target;if(h&&i.nodeType&&("click"!==a.type||isNaN(a.button)||a.button<1))for(;i!==this;i=i.parentNode||this)if(1===i.nodeType&&(i.disabled!==!0||"click"!==a.type)){for(d=[],c=0;c<h;c++)f=b[c],e=f.selector+" ",void 0===d[e]&&(d[e]=f.needsContext?r(e,this).index(i)>-1:r.find(e,this,null,[i]).length),d[e]&&d.push(f);d.length&&g.push({elem:i,handlers:d})}return h<b.length&&g.push({elem:this,handlers:b.slice(h)}),g},addProp:function(a,b){Object.defineProperty(r.Event.prototype,a,{enumerable:!0,configurable:!0,get:r.isFunction(b)?function(){if(this.originalEvent)return b(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[a]},set:function(b){Object.defineProperty(this,a,{enumerable:!0,configurable:!0,writable:!0,value:b})}})},fix:function(a){return a[r.expando]?a:new r.Event(a)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==va()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===va()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&r.nodeName(this,"input"))return this.click(),!1},_default:function(a){return r.nodeName(a.target,"a")}},beforeunload:{postDispatch:function(a){void 0!==a.result&&a.originalEvent&&(a.originalEvent.returnValue=a.result)}}}},r.removeEvent=function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c)},r.Event=function(a,b){return this instanceof r.Event?(a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||void 0===a.defaultPrevented&&a.returnValue===!1?ta:ua,this.target=a.target&&3===a.target.nodeType?a.target.parentNode:a.target,this.currentTarget=a.currentTarget,this.relatedTarget=a.relatedTarget):this.type=a,b&&r.extend(this,b),this.timeStamp=a&&a.timeStamp||r.now(),void(this[r.expando]=!0)):new r.Event(a,b)},r.Event.prototype={constructor:r.Event,isDefaultPrevented:ua,isPropagationStopped:ua,isImmediatePropagationStopped:ua,isSimulated:!1,preventDefault:function(){var a=this.originalEvent;this.isDefaultPrevented=ta,a&&!this.isSimulated&&a.preventDefault()},stopPropagation:function(){var a=this.originalEvent;this.isPropagationStopped=ta,a&&!this.isSimulated&&a.stopPropagation()},stopImmediatePropagation:function(){var a=this.originalEvent;this.isImmediatePropagationStopped=ta,a&&!this.isSimulated&&a.stopImmediatePropagation(),this.stopPropagation()}},r.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,"char":!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(a){var b=a.button;return null==a.which&&qa.test(a.type)?null!=a.charCode?a.charCode:a.keyCode:!a.which&&void 0!==b&&ra.test(a.type)?1&b?1:2&b?3:4&b?2:0:a.which}},r.event.addProp),r.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(a,b){r.event.special[a]={delegateType:b,bindType:b,handle:function(a){var c,d=this,e=a.relatedTarget,f=a.handleObj;return e&&(e===d||r.contains(d,e))||(a.type=f.origType,c=f.handler.apply(this,arguments),a.type=b),c}}}),r.fn.extend({on:function(a,b,c,d){return wa(this,a,b,c,d)},one:function(a,b,c,d){return wa(this,a,b,c,d,1)},off:function(a,b,c){var d,e;if(a&&a.preventDefault&&a.handleObj)return d=a.handleObj,r(a.delegateTarget).off(d.namespace?d.origType+"."+d.namespace:d.origType,d.selector,d.handler),this;if("object"==typeof a){for(e in a)this.off(e,b,a[e]);return this}return b!==!1&&"function"!=typeof b||(c=b,b=void 0),c===!1&&(c=ua),this.each(function(){r.event.remove(this,a,c,b)})}});var xa=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,ya=/<script|<style|<link/i,za=/checked\s*(?:[^=]|=\s*.checked.)/i,Aa=/^true\/(.*)/,Ba=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Ca(a,b){return r.nodeName(a,"table")&&r.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a:a}function Da(a){return a.type=(null!==a.getAttribute("type"))+"/"+a.type,a}function Ea(a){var b=Aa.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function Fa(a,b){var c,d,e,f,g,h,i,j;if(1===b.nodeType){if(V.hasData(a)&&(f=V.access(a),g=V.set(b,f),j=f.events)){delete g.handle,g.events={};for(e in j)for(c=0,d=j[e].length;c<d;c++)r.event.add(b,e,j[e][c])}W.hasData(a)&&(h=W.access(a),i=r.extend({},h),W.set(b,i))}}function Ga(a,b){var c=b.nodeName.toLowerCase();"input"===c&&ha.test(a.type)?b.checked=a.checked:"input"!==c&&"textarea"!==c||(b.defaultValue=a.defaultValue)}function Ha(a,b,c,d){b=g.apply([],b);var e,f,h,i,j,k,l=0,m=a.length,n=m-1,q=b[0],s=r.isFunction(q);if(s||m>1&&"string"==typeof q&&!o.checkClone&&za.test(q))return a.each(function(e){var f=a.eq(e);s&&(b[0]=q.call(this,e,f.html())),Ha(f,b,c,d)});if(m&&(e=oa(b,a[0].ownerDocument,!1,a,d),f=e.firstChild,1===e.childNodes.length&&(e=f),f||d)){for(h=r.map(la(e,"script"),Da),i=h.length;l<m;l++)j=e,l!==n&&(j=r.clone(j,!0,!0),i&&r.merge(h,la(j,"script"))),c.call(a[l],j,l);if(i)for(k=h[h.length-1].ownerDocument,r.map(h,Ea),l=0;l<i;l++)j=h[l],ja.test(j.type||"")&&!V.access(j,"globalEval")&&r.contains(k,j)&&(j.src?r._evalUrl&&r._evalUrl(j.src):p(j.textContent.replace(Ba,""),k))}return a}function Ia(a,b,c){for(var d,e=b?r.filter(b,a):a,f=0;null!=(d=e[f]);f++)c||1!==d.nodeType||r.cleanData(la(d)),d.parentNode&&(c&&r.contains(d.ownerDocument,d)&&ma(la(d,"script")),d.parentNode.removeChild(d));return a}r.extend({htmlPrefilter:function(a){return a.replace(xa,"<$1></$2>")},clone:function(a,b,c){var d,e,f,g,h=a.cloneNode(!0),i=r.contains(a.ownerDocument,a);if(!(o.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||r.isXMLDoc(a)))for(g=la(h),f=la(a),d=0,e=f.length;d<e;d++)Ga(f[d],g[d]);if(b)if(c)for(f=f||la(a),g=g||la(h),d=0,e=f.length;d<e;d++)Fa(f[d],g[d]);else Fa(a,h);return g=la(h,"script"),g.length>0&&ma(g,!i&&la(a,"script")),h},cleanData:function(a){for(var b,c,d,e=r.event.special,f=0;void 0!==(c=a[f]);f++)if(T(c)){if(b=c[V.expando]){if(b.events)for(d in b.events)e[d]?r.event.remove(c,d):r.removeEvent(c,d,b.handle);c[V.expando]=void 0}c[W.expando]&&(c[W.expando]=void 0)}}}),r.fn.extend({detach:function(a){return Ia(this,a,!0)},remove:function(a){return Ia(this,a)},text:function(a){return S(this,function(a){return void 0===a?r.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=a)})},null,a,arguments.length)},append:function(){return Ha(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=Ca(this,a);b.appendChild(a)}})},prepend:function(){return Ha(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=Ca(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return Ha(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return Ha(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},empty:function(){for(var a,b=0;null!=(a=this[b]);b++)1===a.nodeType&&(r.cleanData(la(a,!1)),a.textContent="");return this},clone:function(a,b){return a=null!=a&&a,b=null==b?a:b,this.map(function(){return r.clone(this,a,b)})},html:function(a){return S(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a&&1===b.nodeType)return b.innerHTML;if("string"==typeof a&&!ya.test(a)&&!ka[(ia.exec(a)||["",""])[1].toLowerCase()]){a=r.htmlPrefilter(a);try{for(;c<d;c++)b=this[c]||{},1===b.nodeType&&(r.cleanData(la(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=[];return Ha(this,arguments,function(b){var c=this.parentNode;r.inArray(this,a)<0&&(r.cleanData(la(this)),c&&c.replaceChild(b,this))},a)}}),r.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){r.fn[a]=function(a){for(var c,d=[],e=r(a),f=e.length-1,g=0;g<=f;g++)c=g===f?this:this.clone(!0),r(e[g])[b](c),h.apply(d,c.get());return this.pushStack(d)}});var Ja=/^margin/,Ka=new RegExp("^("+$+")(?!px)[a-z%]+$","i"),La=function(b){var c=b.ownerDocument.defaultView;return c&&c.opener||(c=a),c.getComputedStyle(b)};!function(){function b(){if(i){i.style.cssText="box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",i.innerHTML="",pa.appendChild(h);var b=a.getComputedStyle(i);c="1%"!==b.top,g="2px"===b.marginLeft,e="4px"===b.width,i.style.marginRight="50%",f="4px"===b.marginRight,pa.removeChild(h),i=null}}var c,e,f,g,h=d.createElement("div"),i=d.createElement("div");i.style&&(i.style.backgroundClip="content-box",i.cloneNode(!0).style.backgroundClip="",o.clearCloneStyle="content-box"===i.style.backgroundClip,h.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",h.appendChild(i),r.extend(o,{pixelPosition:function(){return b(),c},boxSizingReliable:function(){return b(),e},pixelMarginRight:function(){return b(),f},reliableMarginLeft:function(){return b(),g}}))}();function Ma(a,b,c){var d,e,f,g,h=a.style;return c=c||La(a),c&&(g=c.getPropertyValue(b)||c[b],""!==g||r.contains(a.ownerDocument,a)||(g=r.style(a,b)),!o.pixelMarginRight()&&Ka.test(g)&&Ja.test(b)&&(d=h.width,e=h.minWidth,f=h.maxWidth,h.minWidth=h.maxWidth=h.width=g,g=c.width,h.width=d,h.minWidth=e,h.maxWidth=f)),void 0!==g?g+"":g}function Na(a,b){return{get:function(){return a()?void delete this.get:(this.get=b).apply(this,arguments)}}}var Oa=/^(none|table(?!-c[ea]).+)/,Pa={position:"absolute",visibility:"hidden",display:"block"},Qa={letterSpacing:"0",fontWeight:"400"},Ra=["Webkit","Moz","ms"],Sa=d.createElement("div").style;function Ta(a){if(a in Sa)return a;var b=a[0].toUpperCase()+a.slice(1),c=Ra.length;while(c--)if(a=Ra[c]+b,a in Sa)return a}function Ua(a,b,c){var d=_.exec(b);return d?Math.max(0,d[2]-(c||0))+(d[3]||"px"):b}function Va(a,b,c,d,e){for(var f=c===(d?"border":"content")?4:"width"===b?1:0,g=0;f<4;f+=2)"margin"===c&&(g+=r.css(a,c+aa[f],!0,e)),d?("content"===c&&(g-=r.css(a,"padding"+aa[f],!0,e)),"margin"!==c&&(g-=r.css(a,"border"+aa[f]+"Width",!0,e))):(g+=r.css(a,"padding"+aa[f],!0,e),"padding"!==c&&(g+=r.css(a,"border"+aa[f]+"Width",!0,e)));return g}function Wa(a,b,c){var d,e=!0,f=La(a),g="border-box"===r.css(a,"boxSizing",!1,f);if(a.getClientRects().length&&(d=a.getBoundingClientRect()[b]),d<=0||null==d){if(d=Ma(a,b,f),(d<0||null==d)&&(d=a.style[b]),Ka.test(d))return d;e=g&&(o.boxSizingReliable()||d===a.style[b]),d=parseFloat(d)||0}return d+Va(a,b,c||(g?"border":"content"),e,f)+"px"}r.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=Ma(a,"opacity");return""===c?"1":c}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":"cssFloat"},style:function(a,b,c,d){if(a&&3!==a.nodeType&&8!==a.nodeType&&a.style){var e,f,g,h=r.camelCase(b),i=a.style;return b=r.cssProps[h]||(r.cssProps[h]=Ta(h)||h),g=r.cssHooks[b]||r.cssHooks[h],void 0===c?g&&"get"in g&&void 0!==(e=g.get(a,!1,d))?e:i[b]:(f=typeof c,"string"===f&&(e=_.exec(c))&&e[1]&&(c=da(a,b,e),f="number"),null!=c&&c===c&&("number"===f&&(c+=e&&e[3]||(r.cssNumber[h]?"":"px")),o.clearCloneStyle||""!==c||0!==b.indexOf("background")||(i[b]="inherit"),g&&"set"in g&&void 0===(c=g.set(a,c,d))||(i[b]=c)),void 0)}},css:function(a,b,c,d){var e,f,g,h=r.camelCase(b);return b=r.cssProps[h]||(r.cssProps[h]=Ta(h)||h),g=r.cssHooks[b]||r.cssHooks[h],g&&"get"in g&&(e=g.get(a,!0,c)),void 0===e&&(e=Ma(a,b,d)),"normal"===e&&b in Qa&&(e=Qa[b]),""===c||c?(f=parseFloat(e),c===!0||isFinite(f)?f||0:e):e}}),r.each(["height","width"],function(a,b){r.cssHooks[b]={get:function(a,c,d){if(c)return!Oa.test(r.css(a,"display"))||a.getClientRects().length&&a.getBoundingClientRect().width?Wa(a,b,d):ca(a,Pa,function(){return Wa(a,b,d)})},set:function(a,c,d){var e,f=d&&La(a),g=d&&Va(a,b,d,"border-box"===r.css(a,"boxSizing",!1,f),f);return g&&(e=_.exec(c))&&"px"!==(e[3]||"px")&&(a.style[b]=c,c=r.css(a,b)),Ua(a,c,g)}}}),r.cssHooks.marginLeft=Na(o.reliableMarginLeft,function(a,b){if(b)return(parseFloat(Ma(a,"marginLeft"))||a.getBoundingClientRect().left-ca(a,{marginLeft:0},function(){return a.getBoundingClientRect().left}))+"px"}),r.each({margin:"",padding:"",border:"Width"},function(a,b){r.cssHooks[a+b]={expand:function(c){for(var d=0,e={},f="string"==typeof c?c.split(" "):[c];d<4;d++)e[a+aa[d]+b]=f[d]||f[d-2]||f[0];return e}},Ja.test(a)||(r.cssHooks[a+b].set=Ua)}),r.fn.extend({css:function(a,b){return S(this,function(a,b,c){var d,e,f={},g=0;if(r.isArray(b)){for(d=La(a),e=b.length;g<e;g++)f[b[g]]=r.css(a,b[g],!1,d);return f}return void 0!==c?r.style(a,b,c):r.css(a,b)},a,b,arguments.length>1)}});function Xa(a,b,c,d,e){return new Xa.prototype.init(a,b,c,d,e)}r.Tween=Xa,Xa.prototype={constructor:Xa,init:function(a,b,c,d,e,f){this.elem=a,this.prop=c,this.easing=e||r.easing._default,this.options=b,this.start=this.now=this.cur(),this.end=d,this.unit=f||(r.cssNumber[c]?"":"px")},cur:function(){var a=Xa.propHooks[this.prop];return a&&a.get?a.get(this):Xa.propHooks._default.get(this)},run:function(a){var b,c=Xa.propHooks[this.prop];return this.options.duration?this.pos=b=r.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration):this.pos=b=a,this.now=(this.end-this.start)*b+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),c&&c.set?c.set(this):Xa.propHooks._default.set(this),this}},Xa.prototype.init.prototype=Xa.prototype,Xa.propHooks={_default:{get:function(a){var b;return 1!==a.elem.nodeType||null!=a.elem[a.prop]&&null==a.elem.style[a.prop]?a.elem[a.prop]:(b=r.css(a.elem,a.prop,""),b&&"auto"!==b?b:0)},set:function(a){r.fx.step[a.prop]?r.fx.step[a.prop](a):1!==a.elem.nodeType||null==a.elem.style[r.cssProps[a.prop]]&&!r.cssHooks[a.prop]?a.elem[a.prop]=a.now:r.style(a.elem,a.prop,a.now+a.unit)}}},Xa.propHooks.scrollTop=Xa.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}},r.easing={linear:function(a){return a},swing:function(a){return.5-Math.cos(a*Math.PI)/2},_default:"swing"},r.fx=Xa.prototype.init,r.fx.step={};var Ya,Za,$a=/^(?:toggle|show|hide)$/,_a=/queueHooks$/;function ab(){Za&&(a.requestAnimationFrame(ab),r.fx.tick())}function bb(){return a.setTimeout(function(){Ya=void 0}),Ya=r.now()}function cb(a,b){var c,d=0,e={height:a};for(b=b?1:0;d<4;d+=2-b)c=aa[d],e["margin"+c]=e["padding"+c]=a;return b&&(e.opacity=e.width=a),e}function db(a,b,c){for(var d,e=(gb.tweeners[b]||[]).concat(gb.tweeners["*"]),f=0,g=e.length;f<g;f++)if(d=e[f].call(c,b,a))return d}function eb(a,b,c){var d,e,f,g,h,i,j,k,l="width"in b||"height"in b,m=this,n={},o=a.style,p=a.nodeType&&ba(a),q=V.get(a,"fxshow");c.queue||(g=r._queueHooks(a,"fx"),null==g.unqueued&&(g.unqueued=0,h=g.empty.fire,g.empty.fire=function(){g.unqueued||h()}),g.unqueued++,m.always(function(){m.always(function(){g.unqueued--,r.queue(a,"fx").length||g.empty.fire()})}));for(d in b)if(e=b[d],$a.test(e)){if(delete b[d],f=f||"toggle"===e,e===(p?"hide":"show")){if("show"!==e||!q||void 0===q[d])continue;p=!0}n[d]=q&&q[d]||r.style(a,d)}if(i=!r.isEmptyObject(b),i||!r.isEmptyObject(n)){l&&1===a.nodeType&&(c.overflow=[o.overflow,o.overflowX,o.overflowY],j=q&&q.display,null==j&&(j=V.get(a,"display")),k=r.css(a,"display"),"none"===k&&(j?k=j:(ga([a],!0),j=a.style.display||j,k=r.css(a,"display"),ga([a]))),("inline"===k||"inline-block"===k&&null!=j)&&"none"===r.css(a,"float")&&(i||(m.done(function(){o.display=j}),null==j&&(k=o.display,j="none"===k?"":k)),o.display="inline-block")),c.overflow&&(o.overflow="hidden",m.always(function(){o.overflow=c.overflow[0],o.overflowX=c.overflow[1],o.overflowY=c.overflow[2]})),i=!1;for(d in n)i||(q?"hidden"in q&&(p=q.hidden):q=V.access(a,"fxshow",{display:j}),f&&(q.hidden=!p),p&&ga([a],!0),m.done(function(){p||ga([a]),V.remove(a,"fxshow");for(d in n)r.style(a,d,n[d])})),i=db(p?q[d]:0,d,m),d in q||(q[d]=i.start,p&&(i.end=i.start,i.start=0))}}function fb(a,b){var c,d,e,f,g;for(c in a)if(d=r.camelCase(c),e=b[d],f=a[c],r.isArray(f)&&(e=f[1],f=a[c]=f[0]),c!==d&&(a[d]=f,delete a[c]),g=r.cssHooks[d],g&&"expand"in g){f=g.expand(f),delete a[d];for(c in f)c in a||(a[c]=f[c],b[c]=e)}else b[d]=e}function gb(a,b,c){var d,e,f=0,g=gb.prefilters.length,h=r.Deferred().always(function(){delete i.elem}),i=function(){if(e)return!1;for(var b=Ya||bb(),c=Math.max(0,j.startTime+j.duration-b),d=c/j.duration||0,f=1-d,g=0,i=j.tweens.length;g<i;g++)j.tweens[g].run(f);return h.notifyWith(a,[j,f,c]),f<1&&i?c:(h.resolveWith(a,[j]),!1)},j=h.promise({elem:a,props:r.extend({},b),opts:r.extend(!0,{specialEasing:{},easing:r.easing._default},c),originalProperties:b,originalOptions:c,startTime:Ya||bb(),duration:c.duration,tweens:[],createTween:function(b,c){var d=r.Tween(a,j.opts,b,c,j.opts.specialEasing[b]||j.opts.easing);return j.tweens.push(d),d},stop:function(b){var c=0,d=b?j.tweens.length:0;if(e)return this;for(e=!0;c<d;c++)j.tweens[c].run(1);return b?(h.notifyWith(a,[j,1,0]),h.resolveWith(a,[j,b])):h.rejectWith(a,[j,b]),this}}),k=j.props;for(fb(k,j.opts.specialEasing);f<g;f++)if(d=gb.prefilters[f].call(j,a,k,j.opts))return r.isFunction(d.stop)&&(r._queueHooks(j.elem,j.opts.queue).stop=r.proxy(d.stop,d)),d;return r.map(k,db,j),r.isFunction(j.opts.start)&&j.opts.start.call(a,j),r.fx.timer(r.extend(i,{elem:a,anim:j,queue:j.opts.queue})),j.progress(j.opts.progress).done(j.opts.done,j.opts.complete).fail(j.opts.fail).always(j.opts.always)}r.Animation=r.extend(gb,{tweeners:{"*":[function(a,b){var c=this.createTween(a,b);return da(c.elem,a,_.exec(b),c),c}]},tweener:function(a,b){r.isFunction(a)?(b=a,a=["*"]):a=a.match(K);for(var c,d=0,e=a.length;d<e;d++)c=a[d],gb.tweeners[c]=gb.tweeners[c]||[],gb.tweeners[c].unshift(b)},prefilters:[eb],prefilter:function(a,b){b?gb.prefilters.unshift(a):gb.prefilters.push(a)}}),r.speed=function(a,b,c){var e=a&&"object"==typeof a?r.extend({},a):{complete:c||!c&&b||r.isFunction(a)&&a,duration:a,easing:c&&b||b&&!r.isFunction(b)&&b};return r.fx.off||d.hidden?e.duration=0:e.duration="number"==typeof e.duration?e.duration:e.duration in r.fx.speeds?r.fx.speeds[e.duration]:r.fx.speeds._default,null!=e.queue&&e.queue!==!0||(e.queue="fx"),e.old=e.complete,e.complete=function(){r.isFunction(e.old)&&e.old.call(this),e.queue&&r.dequeue(this,e.queue)},e},r.fn.extend({fadeTo:function(a,b,c,d){return this.filter(ba).css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,d){var e=r.isEmptyObject(a),f=r.speed(b,c,d),g=function(){var b=gb(this,r.extend({},a),f);(e||V.get(this,"finish"))&&b.stop(!0)};return g.finish=g,e||f.queue===!1?this.each(g):this.queue(f.queue,g)},stop:function(a,b,c){var d=function(a){var b=a.stop;delete a.stop,b(c)};return"string"!=typeof a&&(c=b,b=a,a=void 0),b&&a!==!1&&this.queue(a||"fx",[]),this.each(function(){var b=!0,e=null!=a&&a+"queueHooks",f=r.timers,g=V.get(this);if(e)g[e]&&g[e].stop&&d(g[e]);else for(e in g)g[e]&&g[e].stop&&_a.test(e)&&d(g[e]);for(e=f.length;e--;)f[e].elem!==this||null!=a&&f[e].queue!==a||(f[e].anim.stop(c),b=!1,f.splice(e,1));!b&&c||r.dequeue(this,a)})},finish:function(a){return a!==!1&&(a=a||"fx"),this.each(function(){var b,c=V.get(this),d=c[a+"queue"],e=c[a+"queueHooks"],f=r.timers,g=d?d.length:0;for(c.finish=!0,r.queue(this,a,[]),e&&e.stop&&e.stop.call(this,!0),b=f.length;b--;)f[b].elem===this&&f[b].queue===a&&(f[b].anim.stop(!0),f.splice(b,1));for(b=0;b<g;b++)d[b]&&d[b].finish&&d[b].finish.call(this);delete c.finish})}}),r.each(["toggle","show","hide"],function(a,b){var c=r.fn[b];r.fn[b]=function(a,d,e){return null==a||"boolean"==typeof a?c.apply(this,arguments):this.animate(cb(b,!0),a,d,e)}}),r.each({slideDown:cb("show"),slideUp:cb("hide"),slideToggle:cb("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){r.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),r.timers=[],r.fx.tick=function(){var a,b=0,c=r.timers;for(Ya=r.now();b<c.length;b++)a=c[b],a()||c[b]!==a||c.splice(b--,1);c.length||r.fx.stop(),Ya=void 0},r.fx.timer=function(a){r.timers.push(a),a()?r.fx.start():r.timers.pop()},r.fx.interval=13,r.fx.start=function(){Za||(Za=a.requestAnimationFrame?a.requestAnimationFrame(ab):a.setInterval(r.fx.tick,r.fx.interval))},r.fx.stop=function(){a.cancelAnimationFrame?a.cancelAnimationFrame(Za):a.clearInterval(Za),Za=null},r.fx.speeds={slow:600,fast:200,_default:400},r.fn.delay=function(b,c){return b=r.fx?r.fx.speeds[b]||b:b,c=c||"fx",this.queue(c,function(c,d){var e=a.setTimeout(c,b);d.stop=function(){a.clearTimeout(e)}})},function(){var a=d.createElement("input"),b=d.createElement("select"),c=b.appendChild(d.createElement("option"));a.type="checkbox",o.checkOn=""!==a.value,o.optSelected=c.selected,a=d.createElement("input"),a.value="t",a.type="radio",o.radioValue="t"===a.value}();var hb,ib=r.expr.attrHandle;r.fn.extend({attr:function(a,b){return S(this,r.attr,a,b,arguments.length>1)},removeAttr:function(a){return this.each(function(){r.removeAttr(this,a)})}}),r.extend({attr:function(a,b,c){var d,e,f=a.nodeType;if(3!==f&&8!==f&&2!==f)return"undefined"==typeof a.getAttribute?r.prop(a,b,c):(1===f&&r.isXMLDoc(a)||(e=r.attrHooks[b.toLowerCase()]||(r.expr.match.bool.test(b)?hb:void 0)),void 0!==c?null===c?void r.removeAttr(a,b):e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:(a.setAttribute(b,c+""),c):e&&"get"in e&&null!==(d=e.get(a,b))?d:(d=r.find.attr(a,b),null==d?void 0:d))},attrHooks:{type:{set:function(a,b){if(!o.radioValue&&"radio"===b&&r.nodeName(a,"input")){var c=a.value;return a.setAttribute("type",b),c&&(a.value=c),b}}}},removeAttr:function(a,b){var c,d=0,e=b&&b.match(K);
13if(e&&1===a.nodeType)while(c=e[d++])a.removeAttribute(c)}}),hb={set:function(a,b,c){return b===!1?r.removeAttr(a,c):a.setAttribute(c,c),c}},r.each(r.expr.match.bool.source.match(/\w+/g),function(a,b){var c=ib[b]||r.find.attr;ib[b]=function(a,b,d){var e,f,g=b.toLowerCase();return d||(f=ib[g],ib[g]=e,e=null!=c(a,b,d)?g:null,ib[g]=f),e}});var jb=/^(?:input|select|textarea|button)$/i,kb=/^(?:a|area)$/i;r.fn.extend({prop:function(a,b){return S(this,r.prop,a,b,arguments.length>1)},removeProp:function(a){return this.each(function(){delete this[r.propFix[a]||a]})}}),r.extend({prop:function(a,b,c){var d,e,f=a.nodeType;if(3!==f&&8!==f&&2!==f)return 1===f&&r.isXMLDoc(a)||(b=r.propFix[b]||b,e=r.propHooks[b]),void 0!==c?e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:a[b]=c:e&&"get"in e&&null!==(d=e.get(a,b))?d:a[b]},propHooks:{tabIndex:{get:function(a){var b=r.find.attr(a,"tabindex");return b?parseInt(b,10):jb.test(a.nodeName)||kb.test(a.nodeName)&&a.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),o.optSelected||(r.propHooks.selected={get:function(a){var b=a.parentNode;return b&&b.parentNode&&b.parentNode.selectedIndex,null},set:function(a){var b=a.parentNode;b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex)}}),r.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){r.propFix[this.toLowerCase()]=this});var lb=/[\t\r\n\f]/g;function mb(a){return a.getAttribute&&a.getAttribute("class")||""}r.fn.extend({addClass:function(a){var b,c,d,e,f,g,h,i=0;if(r.isFunction(a))return this.each(function(b){r(this).addClass(a.call(this,b,mb(this)))});if("string"==typeof a&&a){b=a.match(K)||[];while(c=this[i++])if(e=mb(c),d=1===c.nodeType&&(" "+e+" ").replace(lb," ")){g=0;while(f=b[g++])d.indexOf(" "+f+" ")<0&&(d+=f+" ");h=r.trim(d),e!==h&&c.setAttribute("class",h)}}return this},removeClass:function(a){var b,c,d,e,f,g,h,i=0;if(r.isFunction(a))return this.each(function(b){r(this).removeClass(a.call(this,b,mb(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof a&&a){b=a.match(K)||[];while(c=this[i++])if(e=mb(c),d=1===c.nodeType&&(" "+e+" ").replace(lb," ")){g=0;while(f=b[g++])while(d.indexOf(" "+f+" ")>-1)d=d.replace(" "+f+" "," ");h=r.trim(d),e!==h&&c.setAttribute("class",h)}}return this},toggleClass:function(a,b){var c=typeof a;return"boolean"==typeof b&&"string"===c?b?this.addClass(a):this.removeClass(a):r.isFunction(a)?this.each(function(c){r(this).toggleClass(a.call(this,c,mb(this),b),b)}):this.each(function(){var b,d,e,f;if("string"===c){d=0,e=r(this),f=a.match(K)||[];while(b=f[d++])e.hasClass(b)?e.removeClass(b):e.addClass(b)}else void 0!==a&&"boolean"!==c||(b=mb(this),b&&V.set(this,"__className__",b),this.setAttribute&&this.setAttribute("class",b||a===!1?"":V.get(this,"__className__")||""))})},hasClass:function(a){var b,c,d=0;b=" "+a+" ";while(c=this[d++])if(1===c.nodeType&&(" "+mb(c)+" ").replace(lb," ").indexOf(b)>-1)return!0;return!1}});var nb=/\r/g,ob=/[\x20\t\r\n\f]+/g;r.fn.extend({val:function(a){var b,c,d,e=this[0];{if(arguments.length)return d=r.isFunction(a),this.each(function(c){var e;1===this.nodeType&&(e=d?a.call(this,c,r(this).val()):a,null==e?e="":"number"==typeof e?e+="":r.isArray(e)&&(e=r.map(e,function(a){return null==a?"":a+""})),b=r.valHooks[this.type]||r.valHooks[this.nodeName.toLowerCase()],b&&"set"in b&&void 0!==b.set(this,e,"value")||(this.value=e))});if(e)return b=r.valHooks[e.type]||r.valHooks[e.nodeName.toLowerCase()],b&&"get"in b&&void 0!==(c=b.get(e,"value"))?c:(c=e.value,"string"==typeof c?c.replace(nb,""):null==c?"":c)}}}),r.extend({valHooks:{option:{get:function(a){var b=r.find.attr(a,"value");return null!=b?b:r.trim(r.text(a)).replace(ob," ")}},select:{get:function(a){for(var b,c,d=a.options,e=a.selectedIndex,f="select-one"===a.type,g=f?null:[],h=f?e+1:d.length,i=e<0?h:f?e:0;i<h;i++)if(c=d[i],(c.selected||i===e)&&!c.disabled&&(!c.parentNode.disabled||!r.nodeName(c.parentNode,"optgroup"))){if(b=r(c).val(),f)return b;g.push(b)}return g},set:function(a,b){var c,d,e=a.options,f=r.makeArray(b),g=e.length;while(g--)d=e[g],(d.selected=r.inArray(r.valHooks.option.get(d),f)>-1)&&(c=!0);return c||(a.selectedIndex=-1),f}}}}),r.each(["radio","checkbox"],function(){r.valHooks[this]={set:function(a,b){if(r.isArray(b))return a.checked=r.inArray(r(a).val(),b)>-1}},o.checkOn||(r.valHooks[this].get=function(a){return null===a.getAttribute("value")?"on":a.value})});var pb=/^(?:focusinfocus|focusoutblur)$/;r.extend(r.event,{trigger:function(b,c,e,f){var g,h,i,j,k,m,n,o=[e||d],p=l.call(b,"type")?b.type:b,q=l.call(b,"namespace")?b.namespace.split("."):[];if(h=i=e=e||d,3!==e.nodeType&&8!==e.nodeType&&!pb.test(p+r.event.triggered)&&(p.indexOf(".")>-1&&(q=p.split("."),p=q.shift(),q.sort()),k=p.indexOf(":")<0&&"on"+p,b=b[r.expando]?b:new r.Event(p,"object"==typeof b&&b),b.isTrigger=f?2:3,b.namespace=q.join("."),b.rnamespace=b.namespace?new RegExp("(^|\\.)"+q.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=e),c=null==c?[b]:r.makeArray(c,[b]),n=r.event.special[p]||{},f||!n.trigger||n.trigger.apply(e,c)!==!1)){if(!f&&!n.noBubble&&!r.isWindow(e)){for(j=n.delegateType||p,pb.test(j+p)||(h=h.parentNode);h;h=h.parentNode)o.push(h),i=h;i===(e.ownerDocument||d)&&o.push(i.defaultView||i.parentWindow||a)}g=0;while((h=o[g++])&&!b.isPropagationStopped())b.type=g>1?j:n.bindType||p,m=(V.get(h,"events")||{})[b.type]&&V.get(h,"handle"),m&&m.apply(h,c),m=k&&h[k],m&&m.apply&&T(h)&&(b.result=m.apply(h,c),b.result===!1&&b.preventDefault());return b.type=p,f||b.isDefaultPrevented()||n._default&&n._default.apply(o.pop(),c)!==!1||!T(e)||k&&r.isFunction(e[p])&&!r.isWindow(e)&&(i=e[k],i&&(e[k]=null),r.event.triggered=p,e[p](),r.event.triggered=void 0,i&&(e[k]=i)),b.result}},simulate:function(a,b,c){var d=r.extend(new r.Event,c,{type:a,isSimulated:!0});r.event.trigger(d,null,b)}}),r.fn.extend({trigger:function(a,b){return this.each(function(){r.event.trigger(a,b,this)})},triggerHandler:function(a,b){var c=this[0];if(c)return r.event.trigger(a,b,c,!0)}}),r.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(a,b){r.fn[b]=function(a,c){return arguments.length>0?this.on(b,null,a,c):this.trigger(b)}}),r.fn.extend({hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}}),o.focusin="onfocusin"in a,o.focusin||r.each({focus:"focusin",blur:"focusout"},function(a,b){var c=function(a){r.event.simulate(b,a.target,r.event.fix(a))};r.event.special[b]={setup:function(){var d=this.ownerDocument||this,e=V.access(d,b);e||d.addEventListener(a,c,!0),V.access(d,b,(e||0)+1)},teardown:function(){var d=this.ownerDocument||this,e=V.access(d,b)-1;e?V.access(d,b,e):(d.removeEventListener(a,c,!0),V.remove(d,b))}}});var qb=a.location,rb=r.now(),sb=/\?/;r.parseXML=function(b){var c;if(!b||"string"!=typeof b)return null;try{c=(new a.DOMParser).parseFromString(b,"text/xml")}catch(d){c=void 0}return c&&!c.getElementsByTagName("parsererror").length||r.error("Invalid XML: "+b),c};var tb=/\[\]$/,ub=/\r?\n/g,vb=/^(?:submit|button|image|reset|file)$/i,wb=/^(?:input|select|textarea|keygen)/i;function xb(a,b,c,d){var e;if(r.isArray(b))r.each(b,function(b,e){c||tb.test(a)?d(a,e):xb(a+"["+("object"==typeof e&&null!=e?b:"")+"]",e,c,d)});else if(c||"object"!==r.type(b))d(a,b);else for(e in b)xb(a+"["+e+"]",b[e],c,d)}r.param=function(a,b){var c,d=[],e=function(a,b){var c=r.isFunction(b)?b():b;d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(null==c?"":c)};if(r.isArray(a)||a.jquery&&!r.isPlainObject(a))r.each(a,function(){e(this.name,this.value)});else for(c in a)xb(c,a[c],b,e);return d.join("&")},r.fn.extend({serialize:function(){return r.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=r.prop(this,"elements");return a?r.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!r(this).is(":disabled")&&wb.test(this.nodeName)&&!vb.test(a)&&(this.checked||!ha.test(a))}).map(function(a,b){var c=r(this).val();return null==c?null:r.isArray(c)?r.map(c,function(a){return{name:b.name,value:a.replace(ub,"\r\n")}}):{name:b.name,value:c.replace(ub,"\r\n")}}).get()}});var yb=/%20/g,zb=/#.*$/,Ab=/([?&])_=[^&]*/,Bb=/^(.*?):[ \t]*([^\r\n]*)$/gm,Cb=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Db=/^(?:GET|HEAD)$/,Eb=/^\/\//,Fb={},Gb={},Hb="*/".concat("*"),Ib=d.createElement("a");Ib.href=qb.href;function Jb(a){return function(b,c){"string"!=typeof b&&(c=b,b="*");var d,e=0,f=b.toLowerCase().match(K)||[];if(r.isFunction(c))while(d=f[e++])"+"===d[0]?(d=d.slice(1)||"*",(a[d]=a[d]||[]).unshift(c)):(a[d]=a[d]||[]).push(c)}}function Kb(a,b,c,d){var e={},f=a===Gb;function g(h){var i;return e[h]=!0,r.each(a[h]||[],function(a,h){var j=h(b,c,d);return"string"!=typeof j||f||e[j]?f?!(i=j):void 0:(b.dataTypes.unshift(j),g(j),!1)}),i}return g(b.dataTypes[0])||!e["*"]&&g("*")}function Lb(a,b){var c,d,e=r.ajaxSettings.flatOptions||{};for(c in b)void 0!==b[c]&&((e[c]?a:d||(d={}))[c]=b[c]);return d&&r.extend(!0,a,d),a}function Mb(a,b,c){var d,e,f,g,h=a.contents,i=a.dataTypes;while("*"===i[0])i.shift(),void 0===d&&(d=a.mimeType||b.getResponseHeader("Content-Type"));if(d)for(e in h)if(h[e]&&h[e].test(d)){i.unshift(e);break}if(i[0]in c)f=i[0];else{for(e in c){if(!i[0]||a.converters[e+" "+i[0]]){f=e;break}g||(g=e)}f=f||g}if(f)return f!==i[0]&&i.unshift(f),c[f]}function Nb(a,b,c,d){var e,f,g,h,i,j={},k=a.dataTypes.slice();if(k[1])for(g in a.converters)j[g.toLowerCase()]=a.converters[g];f=k.shift();while(f)if(a.responseFields[f]&&(c[a.responseFields[f]]=b),!i&&d&&a.dataFilter&&(b=a.dataFilter(b,a.dataType)),i=f,f=k.shift())if("*"===f)f=i;else if("*"!==i&&i!==f){if(g=j[i+" "+f]||j["* "+f],!g)for(e in j)if(h=e.split(" "),h[1]===f&&(g=j[i+" "+h[0]]||j["* "+h[0]])){g===!0?g=j[e]:j[e]!==!0&&(f=h[0],k.unshift(h[1]));break}if(g!==!0)if(g&&a["throws"])b=g(b);else try{b=g(b)}catch(l){return{state:"parsererror",error:g?l:"No conversion from "+i+" to "+f}}}return{state:"success",data:b}}r.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:qb.href,type:"GET",isLocal:Cb.test(qb.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Hb,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":r.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){return b?Lb(Lb(a,r.ajaxSettings),b):Lb(r.ajaxSettings,a)},ajaxPrefilter:Jb(Fb),ajaxTransport:Jb(Gb),ajax:function(b,c){"object"==typeof b&&(c=b,b=void 0),c=c||{};var e,f,g,h,i,j,k,l,m,n,o=r.ajaxSetup({},c),p=o.context||o,q=o.context&&(p.nodeType||p.jquery)?r(p):r.event,s=r.Deferred(),t=r.Callbacks("once memory"),u=o.statusCode||{},v={},w={},x="canceled",y={readyState:0,getResponseHeader:function(a){var b;if(k){if(!h){h={};while(b=Bb.exec(g))h[b[1].toLowerCase()]=b[2]}b=h[a.toLowerCase()]}return null==b?null:b},getAllResponseHeaders:function(){return k?g:null},setRequestHeader:function(a,b){return null==k&&(a=w[a.toLowerCase()]=w[a.toLowerCase()]||a,v[a]=b),this},overrideMimeType:function(a){return null==k&&(o.mimeType=a),this},statusCode:function(a){var b;if(a)if(k)y.always(a[y.status]);else for(b in a)u[b]=[u[b],a[b]];return this},abort:function(a){var b=a||x;return e&&e.abort(b),A(0,b),this}};if(s.promise(y),o.url=((b||o.url||qb.href)+"").replace(Eb,qb.protocol+"//"),o.type=c.method||c.type||o.method||o.type,o.dataTypes=(o.dataType||"*").toLowerCase().match(K)||[""],null==o.crossDomain){j=d.createElement("a");try{j.href=o.url,j.href=j.href,o.crossDomain=Ib.protocol+"//"+Ib.host!=j.protocol+"//"+j.host}catch(z){o.crossDomain=!0}}if(o.data&&o.processData&&"string"!=typeof o.data&&(o.data=r.param(o.data,o.traditional)),Kb(Fb,o,c,y),k)return y;l=r.event&&o.global,l&&0===r.active++&&r.event.trigger("ajaxStart"),o.type=o.type.toUpperCase(),o.hasContent=!Db.test(o.type),f=o.url.replace(zb,""),o.hasContent?o.data&&o.processData&&0===(o.contentType||"").indexOf("application/x-www-form-urlencoded")&&(o.data=o.data.replace(yb,"+")):(n=o.url.slice(f.length),o.data&&(f+=(sb.test(f)?"&":"?")+o.data,delete o.data),o.cache===!1&&(f=f.replace(Ab,""),n=(sb.test(f)?"&":"?")+"_="+rb++ +n),o.url=f+n),o.ifModified&&(r.lastModified[f]&&y.setRequestHeader("If-Modified-Since",r.lastModified[f]),r.etag[f]&&y.setRequestHeader("If-None-Match",r.etag[f])),(o.data&&o.hasContent&&o.contentType!==!1||c.contentType)&&y.setRequestHeader("Content-Type",o.contentType),y.setRequestHeader("Accept",o.dataTypes[0]&&o.accepts[o.dataTypes[0]]?o.accepts[o.dataTypes[0]]+("*"!==o.dataTypes[0]?", "+Hb+"; q=0.01":""):o.accepts["*"]);for(m in o.headers)y.setRequestHeader(m,o.headers[m]);if(o.beforeSend&&(o.beforeSend.call(p,y,o)===!1||k))return y.abort();if(x="abort",t.add(o.complete),y.done(o.success),y.fail(o.error),e=Kb(Gb,o,c,y)){if(y.readyState=1,l&&q.trigger("ajaxSend",[y,o]),k)return y;o.async&&o.timeout>0&&(i=a.setTimeout(function(){y.abort("timeout")},o.timeout));try{k=!1,e.send(v,A)}catch(z){if(k)throw z;A(-1,z)}}else A(-1,"No Transport");function A(b,c,d,h){var j,m,n,v,w,x=c;k||(k=!0,i&&a.clearTimeout(i),e=void 0,g=h||"",y.readyState=b>0?4:0,j=b>=200&&b<300||304===b,d&&(v=Mb(o,y,d)),v=Nb(o,v,y,j),j?(o.ifModified&&(w=y.getResponseHeader("Last-Modified"),w&&(r.lastModified[f]=w),w=y.getResponseHeader("etag"),w&&(r.etag[f]=w)),204===b||"HEAD"===o.type?x="nocontent":304===b?x="notmodified":(x=v.state,m=v.data,n=v.error,j=!n)):(n=x,!b&&x||(x="error",b<0&&(b=0))),y.status=b,y.statusText=(c||x)+"",j?s.resolveWith(p,[m,x,y]):s.rejectWith(p,[y,x,n]),y.statusCode(u),u=void 0,l&&q.trigger(j?"ajaxSuccess":"ajaxError",[y,o,j?m:n]),t.fireWith(p,[y,x]),l&&(q.trigger("ajaxComplete",[y,o]),--r.active||r.event.trigger("ajaxStop")))}return y},getJSON:function(a,b,c){return r.get(a,b,c,"json")},getScript:function(a,b){return r.get(a,void 0,b,"script")}}),r.each(["get","post"],function(a,b){r[b]=function(a,c,d,e){return r.isFunction(c)&&(e=e||d,d=c,c=void 0),r.ajax(r.extend({url:a,type:b,dataType:e,data:c,success:d},r.isPlainObject(a)&&a))}}),r._evalUrl=function(a){return r.ajax({url:a,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,"throws":!0})},r.fn.extend({wrapAll:function(a){var b;return this[0]&&(r.isFunction(a)&&(a=a.call(this[0])),b=r(a,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstElementChild)a=a.firstElementChild;return a}).append(this)),this},wrapInner:function(a){return r.isFunction(a)?this.each(function(b){r(this).wrapInner(a.call(this,b))}):this.each(function(){var b=r(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=r.isFunction(a);return this.each(function(c){r(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(a){return this.parent(a).not("body").each(function(){r(this).replaceWith(this.childNodes)}),this}}),r.expr.pseudos.hidden=function(a){return!r.expr.pseudos.visible(a)},r.expr.pseudos.visible=function(a){return!!(a.offsetWidth||a.offsetHeight||a.getClientRects().length)},r.ajaxSettings.xhr=function(){try{return new a.XMLHttpRequest}catch(b){}};var Ob={0:200,1223:204},Pb=r.ajaxSettings.xhr();o.cors=!!Pb&&"withCredentials"in Pb,o.ajax=Pb=!!Pb,r.ajaxTransport(function(b){var c,d;if(o.cors||Pb&&!b.crossDomain)return{send:function(e,f){var g,h=b.xhr();if(h.open(b.type,b.url,b.async,b.username,b.password),b.xhrFields)for(g in b.xhrFields)h[g]=b.xhrFields[g];b.mimeType&&h.overrideMimeType&&h.overrideMimeType(b.mimeType),b.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest");for(g in e)h.setRequestHeader(g,e[g]);c=function(a){return function(){c&&(c=d=h.onload=h.onerror=h.onabort=h.onreadystatechange=null,"abort"===a?h.abort():"error"===a?"number"!=typeof h.status?f(0,"error"):f(h.status,h.statusText):f(Ob[h.status]||h.status,h.statusText,"text"!==(h.responseType||"text")||"string"!=typeof h.responseText?{binary:h.response}:{text:h.responseText},h.getAllResponseHeaders()))}},h.onload=c(),d=h.onerror=c("error"),void 0!==h.onabort?h.onabort=d:h.onreadystatechange=function(){4===h.readyState&&a.setTimeout(function(){c&&d()})},c=c("abort");try{h.send(b.hasContent&&b.data||null)}catch(i){if(c)throw i}},abort:function(){c&&c()}}}),r.ajaxPrefilter(function(a){a.crossDomain&&(a.contents.script=!1)}),r.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(a){return r.globalEval(a),a}}}),r.ajaxPrefilter("script",function(a){void 0===a.cache&&(a.cache=!1),a.crossDomain&&(a.type="GET")}),r.ajaxTransport("script",function(a){if(a.crossDomain){var b,c;return{send:function(e,f){b=r("<script>").prop({charset:a.scriptCharset,src:a.url}).on("load error",c=function(a){b.remove(),c=null,a&&f("error"===a.type?404:200,a.type)}),d.head.appendChild(b[0])},abort:function(){c&&c()}}}});var Qb=[],Rb=/(=)\?(?=&|$)|\?\?/;r.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=Qb.pop()||r.expando+"_"+rb++;return this[a]=!0,a}}),r.ajaxPrefilter("json jsonp",function(b,c,d){var e,f,g,h=b.jsonp!==!1&&(Rb.test(b.url)?"url":"string"==typeof b.data&&0===(b.contentType||"").indexOf("application/x-www-form-urlencoded")&&Rb.test(b.data)&&"data");if(h||"jsonp"===b.dataTypes[0])return e=b.jsonpCallback=r.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,h?b[h]=b[h].replace(Rb,"$1"+e):b.jsonp!==!1&&(b.url+=(sb.test(b.url)?"&":"?")+b.jsonp+"="+e),b.converters["script json"]=function(){return g||r.error(e+" was not called"),g[0]},b.dataTypes[0]="json",f=a[e],a[e]=function(){g=arguments},d.always(function(){void 0===f?r(a).removeProp(e):a[e]=f,b[e]&&(b.jsonpCallback=c.jsonpCallback,Qb.push(e)),g&&r.isFunction(f)&&f(g[0]),g=f=void 0}),"script"}),o.createHTMLDocument=function(){var a=d.implementation.createHTMLDocument("").body;return a.innerHTML="<form></form><form></form>",2===a.childNodes.length}(),r.parseHTML=function(a,b,c){if("string"!=typeof a)return[];"boolean"==typeof b&&(c=b,b=!1);var e,f,g;return b||(o.createHTMLDocument?(b=d.implementation.createHTMLDocument(""),e=b.createElement("base"),e.href=d.location.href,b.head.appendChild(e)):b=d),f=B.exec(a),g=!c&&[],f?[b.createElement(f[1])]:(f=oa([a],b,g),g&&g.length&&r(g).remove(),r.merge([],f.childNodes))},r.fn.load=function(a,b,c){var d,e,f,g=this,h=a.indexOf(" ");return h>-1&&(d=r.trim(a.slice(h)),a=a.slice(0,h)),r.isFunction(b)?(c=b,b=void 0):b&&"object"==typeof b&&(e="POST"),g.length>0&&r.ajax({url:a,type:e||"GET",dataType:"html",data:b}).done(function(a){f=arguments,g.html(d?r("<div>").append(r.parseHTML(a)).find(d):a)}).always(c&&function(a,b){g.each(function(){c.apply(this,f||[a.responseText,b,a])})}),this},r.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(a,b){r.fn[b]=function(a){return this.on(b,a)}}),r.expr.pseudos.animated=function(a){return r.grep(r.timers,function(b){return a===b.elem}).length};function Sb(a){return r.isWindow(a)?a:9===a.nodeType&&a.defaultView}r.offset={setOffset:function(a,b,c){var d,e,f,g,h,i,j,k=r.css(a,"position"),l=r(a),m={};"static"===k&&(a.style.position="relative"),h=l.offset(),f=r.css(a,"top"),i=r.css(a,"left"),j=("absolute"===k||"fixed"===k)&&(f+i).indexOf("auto")>-1,j?(d=l.position(),g=d.top,e=d.left):(g=parseFloat(f)||0,e=parseFloat(i)||0),r.isFunction(b)&&(b=b.call(a,c,r.extend({},h))),null!=b.top&&(m.top=b.top-h.top+g),null!=b.left&&(m.left=b.left-h.left+e),"using"in b?b.using.call(a,m):l.css(m)}},r.fn.extend({offset:function(a){if(arguments.length)return void 0===a?this:this.each(function(b){r.offset.setOffset(this,a,b)});var b,c,d,e,f=this[0];if(f)return f.getClientRects().length?(d=f.getBoundingClientRect(),d.width||d.height?(e=f.ownerDocument,c=Sb(e),b=e.documentElement,{top:d.top+c.pageYOffset-b.clientTop,left:d.left+c.pageXOffset-b.clientLeft}):d):{top:0,left:0}},position:function(){if(this[0]){var a,b,c=this[0],d={top:0,left:0};return"fixed"===r.css(c,"position")?b=c.getBoundingClientRect():(a=this.offsetParent(),b=this.offset(),r.nodeName(a[0],"html")||(d=a.offset()),d={top:d.top+r.css(a[0],"borderTopWidth",!0),left:d.left+r.css(a[0],"borderLeftWidth",!0)}),{top:b.top-d.top-r.css(c,"marginTop",!0),left:b.left-d.left-r.css(c,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var a=this.offsetParent;while(a&&"static"===r.css(a,"position"))a=a.offsetParent;return a||pa})}}),r.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,b){var c="pageYOffset"===b;r.fn[a]=function(d){return S(this,function(a,d,e){var f=Sb(a);return void 0===e?f?f[b]:a[d]:void(f?f.scrollTo(c?f.pageXOffset:e,c?e:f.pageYOffset):a[d]=e)},a,d,arguments.length)}}),r.each(["top","left"],function(a,b){r.cssHooks[b]=Na(o.pixelPosition,function(a,c){if(c)return c=Ma(a,b),Ka.test(c)?r(a).position()[b]+"px":c})}),r.each({Height:"height",Width:"width"},function(a,b){r.each({padding:"inner"+a,content:b,"":"outer"+a},function(c,d){r.fn[d]=function(e,f){var g=arguments.length&&(c||"boolean"!=typeof e),h=c||(e===!0||f===!0?"margin":"border");return S(this,function(b,c,e){var f;return r.isWindow(b)?0===d.indexOf("outer")?b["inner"+a]:b.document.documentElement["client"+a]:9===b.nodeType?(f=b.documentElement,Math.max(b.body["scroll"+a],f["scroll"+a],b.body["offset"+a],f["offset"+a],f["client"+a])):void 0===e?r.css(b,c,h):r.style(b,c,e,h)},b,g?e:void 0,g)}})}),r.fn.extend({bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},delegate:function(a,b,c,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return 1===arguments.length?this.off(a,"**"):this.off(b,a||"**",c)}}),r.parseJSON=JSON.parse,"function"==typeof define&&define.amd&&define("jquery",[],function(){return r});var Tb=a.jQuery,Ub=a.$;return r.noConflict=function(b){return a.$===r&&(a.$=Ub),b&&a.jQuery===r&&(a.jQuery=Tb),r},b||(a.jQuery=a.$=r),r});
14</script>
15
tragait5e9676e2021-01-14 16:07:07 +000016 <script>
seshukmb3a332a2018-10-05 16:27:16 +080017!function(){var q=null;window.PR_SHOULD_USE_CONTINUATION=!0;
18(function(){function S(a){function d(e){var b=e.charCodeAt(0);if(b!==92)return b;var a=e.charAt(1);return(b=r[a])?b:"0"<=a&&a<="7"?parseInt(e.substring(1),8):a==="u"||a==="x"?parseInt(e.substring(2),16):e.charCodeAt(1)}function g(e){if(e<32)return(e<16?"\\x0":"\\x")+e.toString(16);e=String.fromCharCode(e);return e==="\\"||e==="-"||e==="]"||e==="^"?"\\"+e:e}function b(e){var b=e.substring(1,e.length-1).match(/\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\[0-3][0-7]{0,2}|\\[0-7]{1,2}|\\[\S\s]|[^\\]/g),e=[],a=
19b[0]==="^",c=["["];a&&c.push("^");for(var a=a?1:0,f=b.length;a<f;++a){var h=b[a];if(/\\[bdsw]/i.test(h))c.push(h);else{var h=d(h),l;a+2<f&&"-"===b[a+1]?(l=d(b[a+2]),a+=2):l=h;e.push([h,l]);l<65||h>122||(l<65||h>90||e.push([Math.max(65,h)|32,Math.min(l,90)|32]),l<97||h>122||e.push([Math.max(97,h)&-33,Math.min(l,122)&-33]))}}e.sort(function(e,a){return e[0]-a[0]||a[1]-e[1]});b=[];f=[];for(a=0;a<e.length;++a)h=e[a],h[0]<=f[1]+1?f[1]=Math.max(f[1],h[1]):b.push(f=h);for(a=0;a<b.length;++a)h=b[a],c.push(g(h[0])),
20h[1]>h[0]&&(h[1]+1>h[0]&&c.push("-"),c.push(g(h[1])));c.push("]");return c.join("")}function s(e){for(var a=e.source.match(/\[(?:[^\\\]]|\\[\S\s])*]|\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\\d+|\\[^\dux]|\(\?[!:=]|[()^]|[^()[\\^]+/g),c=a.length,d=[],f=0,h=0;f<c;++f){var l=a[f];l==="("?++h:"\\"===l.charAt(0)&&(l=+l.substring(1))&&(l<=h?d[l]=-1:a[f]=g(l))}for(f=1;f<d.length;++f)-1===d[f]&&(d[f]=++x);for(h=f=0;f<c;++f)l=a[f],l==="("?(++h,d[h]||(a[f]="(?:")):"\\"===l.charAt(0)&&(l=+l.substring(1))&&l<=h&&
21(a[f]="\\"+d[l]);for(f=0;f<c;++f)"^"===a[f]&&"^"!==a[f+1]&&(a[f]="");if(e.ignoreCase&&m)for(f=0;f<c;++f)l=a[f],e=l.charAt(0),l.length>=2&&e==="["?a[f]=b(l):e!=="\\"&&(a[f]=l.replace(/[A-Za-z]/g,function(a){a=a.charCodeAt(0);return"["+String.fromCharCode(a&-33,a|32)+"]"}));return a.join("")}for(var x=0,m=!1,j=!1,k=0,c=a.length;k<c;++k){var i=a[k];if(i.ignoreCase)j=!0;else if(/[a-z]/i.test(i.source.replace(/\\u[\da-f]{4}|\\x[\da-f]{2}|\\[^UXux]/gi,""))){m=!0;j=!1;break}}for(var r={b:8,t:9,n:10,v:11,
22f:12,r:13},n=[],k=0,c=a.length;k<c;++k){i=a[k];if(i.global||i.multiline)throw Error(""+i);n.push("(?:"+s(i)+")")}return RegExp(n.join("|"),j?"gi":"g")}function T(a,d){function g(a){var c=a.nodeType;if(c==1){if(!b.test(a.className)){for(c=a.firstChild;c;c=c.nextSibling)g(c);c=a.nodeName.toLowerCase();if("br"===c||"li"===c)s[j]="\n",m[j<<1]=x++,m[j++<<1|1]=a}}else if(c==3||c==4)c=a.nodeValue,c.length&&(c=d?c.replace(/\r\n?/g,"\n"):c.replace(/[\t\n\r ]+/g," "),s[j]=c,m[j<<1]=x,x+=c.length,m[j++<<1|1]=
23a)}var b=/(?:^|\s)nocode(?:\s|$)/,s=[],x=0,m=[],j=0;g(a);return{a:s.join("").replace(/\n$/,""),d:m}}function H(a,d,g,b){d&&(a={a:d,e:a},g(a),b.push.apply(b,a.g))}function U(a){for(var d=void 0,g=a.firstChild;g;g=g.nextSibling)var b=g.nodeType,d=b===1?d?a:g:b===3?V.test(g.nodeValue)?a:d:d;return d===a?void 0:d}function C(a,d){function g(a){for(var j=a.e,k=[j,"pln"],c=0,i=a.a.match(s)||[],r={},n=0,e=i.length;n<e;++n){var z=i[n],w=r[z],t=void 0,f;if(typeof w==="string")f=!1;else{var h=b[z.charAt(0)];
24if(h)t=z.match(h[1]),w=h[0];else{for(f=0;f<x;++f)if(h=d[f],t=z.match(h[1])){w=h[0];break}t||(w="pln")}if((f=w.length>=5&&"lang-"===w.substring(0,5))&&!(t&&typeof t[1]==="string"))f=!1,w="src";f||(r[z]=w)}h=c;c+=z.length;if(f){f=t[1];var l=z.indexOf(f),B=l+f.length;t[2]&&(B=z.length-t[2].length,l=B-f.length);w=w.substring(5);H(j+h,z.substring(0,l),g,k);H(j+h+l,f,I(w,f),k);H(j+h+B,z.substring(B),g,k)}else k.push(j+h,w)}a.g=k}var b={},s;(function(){for(var g=a.concat(d),j=[],k={},c=0,i=g.length;c<i;++c){var r=
25g[c],n=r[3];if(n)for(var e=n.length;--e>=0;)b[n.charAt(e)]=r;r=r[1];n=""+r;k.hasOwnProperty(n)||(j.push(r),k[n]=q)}j.push(/[\S\s]/);s=S(j)})();var x=d.length;return g}function v(a){var d=[],g=[];a.tripleQuotedStrings?d.push(["str",/^(?:'''(?:[^'\\]|\\[\S\s]|''?(?=[^']))*(?:'''|$)|"""(?:[^"\\]|\\[\S\s]|""?(?=[^"]))*(?:"""|$)|'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$))/,q,"'\""]):a.multiLineStrings?d.push(["str",/^(?:'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$)|`(?:[^\\`]|\\[\S\s])*(?:`|$))/,
26q,"'\"`"]):d.push(["str",/^(?:'(?:[^\n\r'\\]|\\.)*(?:'|$)|"(?:[^\n\r"\\]|\\.)*(?:"|$))/,q,"\"'"]);a.verbatimStrings&&g.push(["str",/^@"(?:[^"]|"")*(?:"|$)/,q]);var b=a.hashComments;b&&(a.cStyleComments?(b>1?d.push(["com",/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,q,"#"]):d.push(["com",/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\n\r]*)/,q,"#"]),g.push(["str",/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,q])):d.push(["com",
27/^#[^\n\r]*/,q,"#"]));a.cStyleComments&&(g.push(["com",/^\/\/[^\n\r]*/,q]),g.push(["com",/^\/\*[\S\s]*?(?:\*\/|$)/,q]));if(b=a.regexLiterals){var s=(b=b>1?"":"\n\r")?".":"[\\S\\s]";g.push(["lang-regex",RegExp("^(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*("+("/(?=[^/*"+b+"])(?:[^/\\x5B\\x5C"+b+"]|\\x5C"+s+"|\\x5B(?:[^\\x5C\\x5D"+b+"]|\\x5C"+
28s+")*(?:\\x5D|$))+/")+")")])}(b=a.types)&&g.push(["typ",b]);b=(""+a.keywords).replace(/^ | $/g,"");b.length&&g.push(["kwd",RegExp("^(?:"+b.replace(/[\s,]+/g,"|")+")\\b"),q]);d.push(["pln",/^\s+/,q," \r\n\t\u00a0"]);b="^.[^\\s\\w.$@'\"`/\\\\]*";a.regexLiterals&&(b+="(?!s*/)");g.push(["lit",/^@[$_a-z][\w$@]*/i,q],["typ",/^(?:[@_]?[A-Z]+[a-z][\w$@]*|\w+_t\b)/,q],["pln",/^[$_a-z][\w$@]*/i,q],["lit",/^(?:0x[\da-f]+|(?:\d(?:_\d+)*\d*(?:\.\d*)?|\.\d\+)(?:e[+-]?\d+)?)[a-z]*/i,q,"0123456789"],["pln",/^\\[\S\s]?/,
29q],["pun",RegExp(b),q]);return C(d,g)}function J(a,d,g){function b(a){var c=a.nodeType;if(c==1&&!x.test(a.className))if("br"===a.nodeName)s(a),a.parentNode&&a.parentNode.removeChild(a);else for(a=a.firstChild;a;a=a.nextSibling)b(a);else if((c==3||c==4)&&g){var d=a.nodeValue,i=d.match(m);if(i)c=d.substring(0,i.index),a.nodeValue=c,(d=d.substring(i.index+i[0].length))&&a.parentNode.insertBefore(j.createTextNode(d),a.nextSibling),s(a),c||a.parentNode.removeChild(a)}}function s(a){function b(a,c){var d=
30c?a.cloneNode(!1):a,e=a.parentNode;if(e){var e=b(e,1),g=a.nextSibling;e.appendChild(d);for(var i=g;i;i=g)g=i.nextSibling,e.appendChild(i)}return d}for(;!a.nextSibling;)if(a=a.parentNode,!a)return;for(var a=b(a.nextSibling,0),d;(d=a.parentNode)&&d.nodeType===1;)a=d;c.push(a)}for(var x=/(?:^|\s)nocode(?:\s|$)/,m=/\r\n?|\n/,j=a.ownerDocument,k=j.createElement("li");a.firstChild;)k.appendChild(a.firstChild);for(var c=[k],i=0;i<c.length;++i)b(c[i]);d===(d|0)&&c[0].setAttribute("value",d);var r=j.createElement("ol");
31r.className="linenums";for(var d=Math.max(0,d-1|0)||0,i=0,n=c.length;i<n;++i)k=c[i],k.className="L"+(i+d)%10,k.firstChild||k.appendChild(j.createTextNode("\u00a0")),r.appendChild(k);a.appendChild(r)}function p(a,d){for(var g=d.length;--g>=0;){var b=d[g];F.hasOwnProperty(b)?D.console&&console.warn("cannot override language handler %s",b):F[b]=a}}function I(a,d){if(!a||!F.hasOwnProperty(a))a=/^\s*</.test(d)?"default-markup":"default-code";return F[a]}function K(a){var d=a.h;try{var g=T(a.c,a.i),b=g.a;
32a.a=b;a.d=g.d;a.e=0;I(d,b)(a);var s=/\bMSIE\s(\d+)/.exec(navigator.userAgent),s=s&&+s[1]<=8,d=/\n/g,x=a.a,m=x.length,g=0,j=a.d,k=j.length,b=0,c=a.g,i=c.length,r=0;c[i]=m;var n,e;for(e=n=0;e<i;)c[e]!==c[e+2]?(c[n++]=c[e++],c[n++]=c[e++]):e+=2;i=n;for(e=n=0;e<i;){for(var p=c[e],w=c[e+1],t=e+2;t+2<=i&&c[t+1]===w;)t+=2;c[n++]=p;c[n++]=w;e=t}c.length=n;var f=a.c,h;if(f)h=f.style.display,f.style.display="none";try{for(;b<k;){var l=j[b+2]||m,B=c[r+2]||m,t=Math.min(l,B),A=j[b+1],G;if(A.nodeType!==1&&(G=x.substring(g,
33t))){s&&(G=G.replace(d,"\r"));A.nodeValue=G;var L=A.ownerDocument,o=L.createElement("span");o.className=c[r+1];var v=A.parentNode;v.replaceChild(o,A);o.appendChild(A);g<l&&(j[b+1]=A=L.createTextNode(x.substring(t,l)),v.insertBefore(A,o.nextSibling))}g=t;g>=l&&(b+=2);g>=B&&(r+=2)}}finally{if(f)f.style.display=h}}catch(u){D.console&&console.log(u&&u.stack||u)}}var D=window,y=["break,continue,do,else,for,if,return,while"],E=[[y,"auto,case,char,const,default,double,enum,extern,float,goto,inline,int,long,register,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"],
34"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],M=[E,"alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,delegate,dynamic_cast,explicit,export,friend,generic,late_check,mutable,namespace,nullptr,property,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],N=[E,"abstract,assert,boolean,byte,extends,final,finally,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"],
35O=[N,"as,base,by,checked,decimal,delegate,descending,dynamic,event,fixed,foreach,from,group,implicit,in,internal,into,is,let,lock,object,out,override,orderby,params,partial,readonly,ref,sbyte,sealed,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,var,virtual,where"],E=[E,"debugger,eval,export,function,get,null,set,undefined,var,with,Infinity,NaN"],P=[y,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"],
36Q=[y,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],W=[y,"as,assert,const,copy,drop,enum,extern,fail,false,fn,impl,let,log,loop,match,mod,move,mut,priv,pub,pure,ref,self,static,struct,true,trait,type,unsafe,use"],y=[y,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],R=/^(DIR|FILE|vector|(de|priority_)?queue|list|stack|(const_)?iterator|(multi)?(set|map)|bitset|u?(int|float)\d*)\b/,
37V=/\S/,X=v({keywords:[M,O,E,"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",P,Q,y],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0}),F={};p(X,["default-code"]);p(C([],[["pln",/^[^<?]+/],["dec",/^<!\w[^>]*(?:>|$)/],["com",/^<\!--[\S\s]*?(?:--\>|$)/],["lang-",/^<\?([\S\s]+?)(?:\?>|$)/],["lang-",/^<%([\S\s]+?)(?:%>|$)/],["pun",/^(?:<[%?]|[%?]>)/],["lang-",
38/^<xmp\b[^>]*>([\S\s]+?)<\/xmp\b[^>]*>/i],["lang-js",/^<script\b[^>]*>([\S\s]*?)(<\/script\b[^>]*>)/i],["lang-css",/^<style\b[^>]*>([\S\s]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]);p(C([["pln",/^\s+/,q," \t\r\n"],["atv",/^(?:"[^"]*"?|'[^']*'?)/,q,"\"'"]],[["tag",/^^<\/?[a-z](?:[\w-.:]*\w)?|\/?>$/i],["atn",/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^\s"'>]*(?:[^\s"'/>]|\/(?=\s)))/],["pun",/^[/<->]+/],
39["lang-js",/^on\w+\s*=\s*"([^"]+)"/i],["lang-js",/^on\w+\s*=\s*'([^']+)'/i],["lang-js",/^on\w+\s*=\s*([^\s"'>]+)/i],["lang-css",/^style\s*=\s*"([^"]+)"/i],["lang-css",/^style\s*=\s*'([^']+)'/i],["lang-css",/^style\s*=\s*([^\s"'>]+)/i]]),["in.tag"]);p(C([],[["atv",/^[\S\s]+/]]),["uq.val"]);p(v({keywords:M,hashComments:!0,cStyleComments:!0,types:R}),["c","cc","cpp","cxx","cyc","m"]);p(v({keywords:"null,true,false"}),["json"]);p(v({keywords:O,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:R}),
40["cs"]);p(v({keywords:N,cStyleComments:!0}),["java"]);p(v({keywords:y,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]);p(v({keywords:P,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]);p(v({keywords:"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]);p(v({keywords:Q,
41hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]);p(v({keywords:E,cStyleComments:!0,regexLiterals:!0}),["javascript","js"]);p(v({keywords:"all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,throw,true,try,unless,until,when,while,yes",hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]);p(v({keywords:W,cStyleComments:!0,multilineStrings:!0}),["rc","rs","rust"]);
42p(C([],[["str",/^[\S\s]+/]]),["regex"]);var Y=D.PR={createSimpleLexer:C,registerLangHandler:p,sourceDecorator:v,PR_ATTRIB_NAME:"atn",PR_ATTRIB_VALUE:"atv",PR_COMMENT:"com",PR_DECLARATION:"dec",PR_KEYWORD:"kwd",PR_LITERAL:"lit",PR_NOCODE:"nocode",PR_PLAIN:"pln",PR_PUNCTUATION:"pun",PR_SOURCE:"src",PR_STRING:"str",PR_TAG:"tag",PR_TYPE:"typ",prettyPrintOne:D.prettyPrintOne=function(a,d,g){var b=document.createElement("div");b.innerHTML="<pre>"+a+"</pre>";b=b.firstChild;g&&J(b,g,!0);K({h:d,j:g,c:b,i:1});
43return b.innerHTML},prettyPrint:D.prettyPrint=function(a,d){function g(){for(var b=D.PR_SHOULD_USE_CONTINUATION?c.now()+250:Infinity;i<p.length&&c.now()<b;i++){for(var d=p[i],j=h,k=d;k=k.previousSibling;){var m=k.nodeType,o=(m===7||m===8)&&k.nodeValue;if(o?!/^\??prettify\b/.test(o):m!==3||/\S/.test(k.nodeValue))break;if(o){j={};o.replace(/\b(\w+)=([\w%+\-.:]+)/g,function(a,b,c){j[b]=c});break}}k=d.className;if((j!==h||e.test(k))&&!v.test(k)){m=!1;for(o=d.parentNode;o;o=o.parentNode)if(f.test(o.tagName)&&
44o.className&&e.test(o.className)){m=!0;break}if(!m){d.className+=" prettyprinted";m=j.lang;if(!m){var m=k.match(n),y;if(!m&&(y=U(d))&&t.test(y.tagName))m=y.className.match(n);m&&(m=m[1])}if(w.test(d.tagName))o=1;else var o=d.currentStyle,u=s.defaultView,o=(o=o?o.whiteSpace:u&&u.getComputedStyle?u.getComputedStyle(d,q).getPropertyValue("white-space"):0)&&"pre"===o.substring(0,3);u=j.linenums;if(!(u=u==="true"||+u))u=(u=k.match(/\blinenums\b(?::(\d+))?/))?u[1]&&u[1].length?+u[1]:!0:!1;u&&J(d,u,o);r=
45{h:m,c:d,j:u,i:o};K(r)}}}i<p.length?setTimeout(g,250):"function"===typeof a&&a()}for(var b=d||document.body,s=b.ownerDocument||document,b=[b.getElementsByTagName("pre"),b.getElementsByTagName("code"),b.getElementsByTagName("xmp")],p=[],m=0;m<b.length;++m)for(var j=0,k=b[m].length;j<k;++j)p.push(b[m][j]);var b=q,c=Date;c.now||(c={now:function(){return+new Date}});var i=0,r,n=/\blang(?:uage)?-([\w.]+)(?!\S)/,e=/\bprettyprint\b/,v=/\bprettyprinted\b/,w=/pre|xmp/i,t=/^code$/i,f=/^(?:pre|code|xmp)$/i,
46h={};g()}};typeof define==="function"&&define.amd&&define("google-code-prettify",[],function(){return Y})})();}()
47</script>
48
tragait5e9676e2021-01-14 16:07:07 +000049 <script>
seshukmb3a332a2018-10-05 16:27:16 +080050/*!
51* Bootstrap.js by @fat & @mdo
52* Copyright 2013 Twitter, Inc.
53* http://www.apache.org/licenses/LICENSE-2.0.txt
54*/
55!function(e){"use strict";e(function(){e.support.transition=function(){var e=function(){var e=document.createElement("bootstrap"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},n;for(n in t)if(e.style[n]!==undefined)return t[n]}();return e&&{end:e}}()})}(window.jQuery),!function(e){"use strict";var t='[data-dismiss="alert"]',n=function(n){e(n).on("click",t,this.close)};n.prototype.close=function(t){function s(){i.trigger("closed").remove()}var n=e(this),r=n.attr("data-target"),i;r||(r=n.attr("href"),r=r&&r.replace(/.*(?=#[^\s]*$)/,"")),i=e(r),t&&t.preventDefault(),i.length||(i=n.hasClass("alert")?n:n.parent()),i.trigger(t=e.Event("close"));if(t.isDefaultPrevented())return;i.removeClass("in"),e.support.transition&&i.hasClass("fade")?i.on(e.support.transition.end,s):s()};var r=e.fn.alert;e.fn.alert=function(t){return this.each(function(){var r=e(this),i=r.data("alert");i||r.data("alert",i=new n(this)),typeof t=="string"&&i[t].call(r)})},e.fn.alert.Constructor=n,e.fn.alert.noConflict=function(){return e.fn.alert=r,this},e(document).on("click.alert.data-api",t,n.prototype.close)}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.options=e.extend({},e.fn.button.defaults,n)};t.prototype.setState=function(e){var t="disabled",n=this.$element,r=n.data(),i=n.is("input")?"val":"html";e+="Text",r.resetText||n.data("resetText",n[i]()),n[i](r[e]||this.options[e]),setTimeout(function(){e=="loadingText"?n.addClass(t).attr(t,t):n.removeClass(t).removeAttr(t)},0)},t.prototype.toggle=function(){var e=this.$element.closest('[data-toggle="buttons-radio"]');e&&e.find(".active").removeClass("active"),this.$element.toggleClass("active")};var n=e.fn.button;e.fn.button=function(n){return this.each(function(){var r=e(this),i=r.data("button"),s=typeof n=="object"&&n;i||r.data("button",i=new t(this,s)),n=="toggle"?i.toggle():n&&i.setState(n)})},e.fn.button.defaults={loadingText:"loading..."},e.fn.button.Constructor=t,e.fn.button.noConflict=function(){return e.fn.button=n,this},e(document).on("click.button.data-api","[data-toggle^=button]",function(t){var n=e(t.target);n.hasClass("btn")||(n=n.closest(".btn")),n.button("toggle")})}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.$indicators=this.$element.find(".carousel-indicators"),this.options=n,this.options.pause=="hover"&&this.$element.on("mouseenter",e.proxy(this.pause,this)).on("mouseleave",e.proxy(this.cycle,this))};t.prototype={cycle:function(t){return t||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(e.proxy(this.next,this),this.options.interval)),this},getActiveIndex:function(){return this.$active=this.$element.find(".item.active"),this.$items=this.$active.parent().children(),this.$items.index(this.$active)},to:function(t){var n=this.getActiveIndex(),r=this;if(t>this.$items.length-1||t<0)return;return this.sliding?this.$element.one("slid",function(){r.to(t)}):n==t?this.pause().cycle():this.slide(t>n?"next":"prev",e(this.$items[t]))},pause:function(t){return t||(this.paused=!0),this.$element.find(".next, .prev").length&&e.support.transition.end&&(this.$element.trigger(e.support.transition.end),this.cycle(!0)),clearInterval(this.interval),this.interval=null,this},next:function(){if(this.sliding)return;return this.slide("next")},prev:function(){if(this.sliding)return;return this.slide("prev")},slide:function(t,n){var r=this.$element.find(".item.active"),i=n||r[t](),s=this.interval,o=t=="next"?"left":"right",u=t=="next"?"first":"last",a=this,f;this.sliding=!0,s&&this.pause(),i=i.length?i:this.$element.find(".item")[u](),f=e.Event("slide",{relatedTarget:i[0],direction:o});if(i.hasClass("active"))return;this.$indicators.length&&(this.$indicators.find(".active").removeClass("active"),this.$element.one("slid",function(){var t=e(a.$indicators.children()[a.getActiveIndex()]);t&&t.addClass("active")}));if(e.support.transition&&this.$element.hasClass("slide")){this.$element.trigger(f);if(f.isDefaultPrevented())return;i.addClass(t),i[0].offsetWidth,r.addClass(o),i.addClass(o),this.$element.one(e.support.transition.end,function(){i.removeClass([t,o].join(" ")).addClass("active"),r.removeClass(["active",o].join(" ")),a.sliding=!1,setTimeout(function(){a.$element.trigger("slid")},0)})}else{this.$element.trigger(f);if(f.isDefaultPrevented())return;r.removeClass("active"),i.addClass("active"),this.sliding=!1,this.$element.trigger("slid")}return s&&this.cycle(),this}};var n=e.fn.carousel;e.fn.carousel=function(n){return this.each(function(){var r=e(this),i=r.data("carousel"),s=e.extend({},e.fn.carousel.defaults,typeof n=="object"&&n),o=typeof n=="string"?n:s.slide;i||r.data("carousel",i=new t(this,s)),typeof n=="number"?i.to(n):o?i[o]():s.interval&&i.pause().cycle()})},e.fn.carousel.defaults={interval:5e3,pause:"hover"},e.fn.carousel.Constructor=t,e.fn.carousel.noConflict=function(){return e.fn.carousel=n,this},e(document).on("click.carousel.data-api","[data-slide], [data-slide-to]",function(t){var n=e(this),r,i=e(n.attr("data-target")||(r=n.attr("href"))&&r.replace(/.*(?=#[^\s]+$)/,"")),s=e.extend({},i.data(),n.data()),o;i.carousel(s),(o=n.attr("data-slide-to"))&&i.data("carousel").pause().to(o).cycle(),t.preventDefault()})}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.options=e.extend({},e.fn.collapse.defaults,n),this.options.parent&&(this.$parent=e(this.options.parent)),this.options.toggle&&this.toggle()};t.prototype={constructor:t,dimension:function(){var e=this.$element.hasClass("width");return e?"width":"height"},show:function(){var t,n,r,i;if(this.transitioning||this.$element.hasClass("in"))return;t=this.dimension(),n=e.camelCase(["scroll",t].join("-")),r=this.$parent&&this.$parent.find("> .accordion-group > .in");if(r&&r.length){i=r.data("collapse");if(i&&i.transitioning)return;r.collapse("hide"),i||r.data("collapse",null)}this.$element[t](0),this.transition("addClass",e.Event("show"),"shown"),e.support.transition&&this.$element[t](this.$element[0][n])},hide:function(){var t;if(this.transitioning||!this.$element.hasClass("in"))return;t=this.dimension(),this.reset(this.$element[t]()),this.transition("removeClass",e.Event("hide"),"hidden"),this.$element[t](0)},reset:function(e){var t=this.dimension();return this.$element.removeClass("collapse")[t](e||"auto")[0].offsetWidth,this.$element[e!==null?"addClass":"removeClass"]("collapse"),this},transition:function(t,n,r){var i=this,s=function(){n.type=="show"&&i.reset(),i.transitioning=0,i.$element.trigger(r)};this.$element.trigger(n);if(n.isDefaultPrevented())return;this.transitioning=1,this.$element[t]("in"),e.support.transition&&this.$element.hasClass("collapse")?this.$element.one(e.support.transition.end,s):s()},toggle:function(){this[this.$element.hasClass("in")?"hide":"show"]()}};var n=e.fn.collapse;e.fn.collapse=function(n){return this.each(function(){var r=e(this),i=r.data("collapse"),s=e.extend({},e.fn.collapse.defaults,r.data(),typeof n=="object"&&n);i||r.data("collapse",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.collapse.defaults={toggle:!0},e.fn.collapse.Constructor=t,e.fn.collapse.noConflict=function(){return e.fn.collapse=n,this},e(document).on("click.collapse.data-api","[data-toggle=collapse]",function(t){var n=e(this),r,i=n.attr("data-target")||t.preventDefault()||(r=n.attr("href"))&&r.replace(/.*(?=#[^\s]+$)/,""),s=e(i).data("collapse")?"toggle":n.data();n[e(i).hasClass("in")?"addClass":"removeClass"]("collapsed"),e(i).collapse(s)})}(window.jQuery),!function(e){"use strict";function r(){e(".dropdown-backdrop").remove(),e(t).each(function(){i(e(this)).removeClass("open")})}function i(t){var n=t.attr("data-target"),r;n||(n=t.attr("href"),n=n&&/#/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,"")),r=n&&e(n);if(!r||!r.length)r=t.parent();return r}var t="[data-toggle=dropdown]",n=function(t){var n=e(t).on("click.dropdown.data-api",this.toggle);e("html").on("click.dropdown.data-api",function(){n.parent().removeClass("open")})};n.prototype={constructor:n,toggle:function(t){var n=e(this),s,o;if(n.is(".disabled, :disabled"))return;return s=i(n),o=s.hasClass("open"),r(),o||("ontouchstart"in document.documentElement&&e('<div class="dropdown-backdrop"/>').insertBefore(e(this)).on("click",r),s.toggleClass("open")),n.focus(),!1},keydown:function(n){var r,s,o,u,a,f;if(!/(38|40|27)/.test(n.keyCode))return;r=e(this),n.preventDefault(),n.stopPropagation();if(r.is(".disabled, :disabled"))return;u=i(r),a=u.hasClass("open");if(!a||a&&n.keyCode==27)return n.which==27&&u.find(t).focus(),r.click();s=e("[role=menu] li:not(.divider):visible a",u);if(!s.length)return;f=s.index(s.filter(":focus")),n.keyCode==38&&f>0&&f--,n.keyCode==40&&f<s.length-1&&f++,~f||(f=0),s.eq(f).focus()}};var s=e.fn.dropdown;e.fn.dropdown=function(t){return this.each(function(){var r=e(this),i=r.data("dropdown");i||r.data("dropdown",i=new n(this)),typeof t=="string"&&i[t].call(r)})},e.fn.dropdown.Constructor=n,e.fn.dropdown.noConflict=function(){return e.fn.dropdown=s,this},e(document).on("click.dropdown.data-api",r).on("click.dropdown.data-api",".dropdown form",function(e){e.stopPropagation()}).on("click.dropdown.data-api",t,n.prototype.toggle).on("keydown.dropdown.data-api",t+", [role=menu]",n.prototype.keydown)}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.options=n,this.$element=e(t).delegate('[data-dismiss="modal"]',"click.dismiss.modal",e.proxy(this.hide,this)),this.options.remote&&this.$element.find(".modal-body").load(this.options.remote)};t.prototype={constructor:t,toggle:function(){return this[this.isShown?"hide":"show"]()},show:function(){var t=this,n=e.Event("show");this.$element.trigger(n);if(this.isShown||n.isDefaultPrevented())return;this.isShown=!0,this.escape(),this.backdrop(function(){var n=e.support.transition&&t.$element.hasClass("fade");t.$element.parent().length||t.$element.appendTo(document.body),t.$element.show(),n&&t.$element[0].offsetWidth,t.$element.addClass("in").attr("aria-hidden",!1),t.enforceFocus(),n?t.$element.one(e.support.transition.end,function(){t.$element.focus().trigger("shown")}):t.$element.focus().trigger("shown")})},hide:function(t){t&&t.preventDefault();var n=this;t=e.Event("hide"),this.$element.trigger(t);if(!this.isShown||t.isDefaultPrevented())return;this.isShown=!1,this.escape(),e(document).off("focusin.modal"),this.$element.removeClass("in").attr("aria-hidden",!0),e.support.transition&&this.$element.hasClass("fade")?this.hideWithTransition():this.hideModal()},enforceFocus:function(){var t=this;e(document).on("focusin.modal",function(e){t.$element[0]!==e.target&&!t.$element.has(e.target).length&&t.$element.focus()})},escape:function(){var e=this;this.isShown&&this.options.keyboard?this.$element.on("keyup.dismiss.modal",function(t){t.which==27&&e.hide()}):this.isShown||this.$element.off("keyup.dismiss.modal")},hideWithTransition:function(){var t=this,n=setTimeout(function(){t.$element.off(e.support.transition.end),t.hideModal()},500);this.$element.one(e.support.transition.end,function(){clearTimeout(n),t.hideModal()})},hideModal:function(){var e=this;this.$element.hide(),this.backdrop(function(){e.removeBackdrop(),e.$element.trigger("hidden")})},removeBackdrop:function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},backdrop:function(t){var n=this,r=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var i=e.support.transition&&r;this.$backdrop=e('<div class="modal-backdrop '+r+'" />').appendTo(document.body),this.$backdrop.click(this.options.backdrop=="static"?e.proxy(this.$element[0].focus,this.$element[0]):e.proxy(this.hide,this)),i&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in");if(!t)return;i?this.$backdrop.one(e.support.transition.end,t):t()}else!this.isShown&&this.$backdrop?(this.$backdrop.removeClass("in"),e.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one(e.support.transition.end,t):t()):t&&t()}};var n=e.fn.modal;e.fn.modal=function(n){return this.each(function(){var r=e(this),i=r.data("modal"),s=e.extend({},e.fn.modal.defaults,r.data(),typeof n=="object"&&n);i||r.data("modal",i=new t(this,s)),typeof n=="string"?i[n]():s.show&&i.show()})},e.fn.modal.defaults={backdrop:!0,keyboard:!0,show:!0},e.fn.modal.Constructor=t,e.fn.modal.noConflict=function(){return e.fn.modal=n,this},e(document).on("click.modal.data-api",'[data-toggle="modal"]',function(t){var n=e(this),r=n.attr("href"),i=e(n.attr("data-target")||r&&r.replace(/.*(?=#[^\s]+$)/,"")),s=i.data("modal")?"toggle":e.extend({remote:!/#/.test(r)&&r},i.data(),n.data());t.preventDefault(),i.modal(s).one("hide",function(){n.focus()})})}(window.jQuery),!function(e){"use strict";var t=function(e,t){this.init("tooltip",e,t)};t.prototype={constructor:t,init:function(t,n,r){var i,s,o,u,a;this.type=t,this.$element=e(n),this.options=this.getOptions(r),this.enabled=!0,o=this.options.trigger.split(" ");for(a=o.length;a--;)u=o[a],u=="click"?this.$element.on("click."+this.type,this.options.selector,e.proxy(this.toggle,this)):u!="manual"&&(i=u=="hover"?"mouseenter":"focus",s=u=="hover"?"mouseleave":"blur",this.$element.on(i+"."+this.type,this.options.selector,e.proxy(this.enter,this)),this.$element.on(s+"."+this.type,this.options.selector,e.proxy(this.leave,this)));this.options.selector?this._options=e.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},getOptions:function(t){return t=e.extend({},e.fn[this.type].defaults,this.$element.data(),t),t.delay&&typeof t.delay=="number"&&(t.delay={show:t.delay,hide:t.delay}),t},enter:function(t){var n=e.fn[this.type].defaults,r={},i;this._options&&e.each(this._options,function(e,t){n[e]!=t&&(r[e]=t)},this),i=e(t.currentTarget)[this.type](r).data(this.type);if(!i.options.delay||!i.options.delay.show)return i.show();clearTimeout(this.timeout),i.hoverState="in",this.timeout=setTimeout(function(){i.hoverState=="in"&&i.show()},i.options.delay.show)},leave:function(t){var n=e(t.currentTarget)[this.type](this._options).data(this.type);this.timeout&&clearTimeout(this.timeout);if(!n.options.delay||!n.options.delay.hide)return n.hide();n.hoverState="out",this.timeout=setTimeout(function(){n.hoverState=="out"&&n.hide()},n.options.delay.hide)},show:function(){var t,n,r,i,s,o,u=e.Event("show");if(this.hasContent()&&this.enabled){this.$element.trigger(u);if(u.isDefaultPrevented())return;t=this.tip(),this.setContent(),this.options.animation&&t.addClass("fade"),s=typeof this.options.placement=="function"?this.options.placement.call(this,t[0],this.$element[0]):this.options.placement,t.detach().css({top:0,left:0,display:"block"}),this.options.container?t.appendTo(this.options.container):t.insertAfter(this.$element),n=this.getPosition(),r=t[0].offsetWidth,i=t[0].offsetHeight;switch(s){case"bottom":o={top:n.top+n.height,left:n.left+n.width/2-r/2};break;case"top":o={top:n.top-i,left:n.left+n.width/2-r/2};break;case"left":o={top:n.top+n.height/2-i/2,left:n.left-r};break;case"right":o={top:n.top+n.height/2-i/2,left:n.left+n.width}}this.applyPlacement(o,s),this.$element.trigger("shown")}},applyPlacement:function(e,t){var n=this.tip(),r=n[0].offsetWidth,i=n[0].offsetHeight,s,o,u,a;n.offset(e).addClass(t).addClass("in"),s=n[0].offsetWidth,o=n[0].offsetHeight,t=="top"&&o!=i&&(e.top=e.top+i-o,a=!0),t=="bottom"||t=="top"?(u=0,e.left<0&&(u=e.left*-2,e.left=0,n.offset(e),s=n[0].offsetWidth,o=n[0].offsetHeight),this.replaceArrow(u-r+s,s,"left")):this.replaceArrow(o-i,o,"top"),a&&n.offset(e)},replaceArrow:function(e,t,n){this.arrow().css(n,e?50*(1-e/t)+"%":"")},setContent:function(){var e=this.tip(),t=this.getTitle();e.find(".tooltip-inner")[this.options.html?"html":"text"](t),e.removeClass("fade in top bottom left right")},hide:function(){function i(){var t=setTimeout(function(){n.off(e.support.transition.end).detach()},500);n.one(e.support.transition.end,function(){clearTimeout(t),n.detach()})}var t=this,n=this.tip(),r=e.Event("hide");this.$element.trigger(r);if(r.isDefaultPrevented())return;return n.removeClass("in"),e.support.transition&&this.$tip.hasClass("fade")?i():n.detach(),this.$element.trigger("hidden"),this},fixTitle:function(){var e=this.$element;(e.attr("title")||typeof e.attr("data-original-title")!="string")&&e.attr("data-original-title",e.attr("title")||"").attr("title","")},hasContent:function(){return this.getTitle()},getPosition:function(){var t=this.$element[0];return e.extend({},typeof t.getBoundingClientRect=="function"?t.getBoundingClientRect():{width:t.offsetWidth,height:t.offsetHeight},this.$element.offset())},getTitle:function(){var e,t=this.$element,n=this.options;return e=t.attr("data-original-title")||(typeof n.title=="function"?n.title.call(t[0]):n.title),e},tip:function(){return this.$tip=this.$tip||e(this.options.template)},arrow:function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},validate:function(){this.$element[0].parentNode||(this.hide(),this.$element=null,this.options=null)},enable:function(){this.enabled=!0},disable:function(){this.enabled=!1},toggleEnabled:function(){this.enabled=!this.enabled},toggle:function(t){var n=t?e(t.currentTarget)[this.type](this._options).data(this.type):this;n.tip().hasClass("in")?n.hide():n.show()},destroy:function(){this.hide().$element.off("."+this.type).removeData(this.type)}};var n=e.fn.tooltip;e.fn.tooltip=function(n){return this.each(function(){var r=e(this),i=r.data("tooltip"),s=typeof n=="object"&&n;i||r.data("tooltip",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.tooltip.Constructor=t,e.fn.tooltip.defaults={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1},e.fn.tooltip.noConflict=function(){return e.fn.tooltip=n,this}}(window.jQuery),!function(e){"use strict";var t=function(e,t){this.init("popover",e,t)};t.prototype=e.extend({},e.fn.tooltip.Constructor.prototype,{constructor:t,setContent:function(){var e=this.tip(),t=this.getTitle(),n=this.getContent();e.find(".popover-title")[this.options.html?"html":"text"](t),e.find(".popover-content")[this.options.html?"html":"text"](n),e.removeClass("fade top bottom left right in")},hasContent:function(){return this.getTitle()||this.getContent()},getContent:function(){var e,t=this.$element,n=this.options;return e=(typeof n.content=="function"?n.content.call(t[0]):n.content)||t.attr("data-content"),e},tip:function(){return this.$tip||(this.$tip=e(this.options.template)),this.$tip},destroy:function(){this.hide().$element.off("."+this.type).removeData(this.type)}});var n=e.fn.popover;e.fn.popover=function(n){return this.each(function(){var r=e(this),i=r.data("popover"),s=typeof n=="object"&&n;i||r.data("popover",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.popover.Constructor=t,e.fn.popover.defaults=e.extend({},e.fn.tooltip.defaults,{placement:"right",trigger:"click",content:"",template:'<div class="popover"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),e.fn.popover.noConflict=function(){return e.fn.popover=n,this}}(window.jQuery),!function(e){"use strict";function t(t,n){var r=e.proxy(this.process,this),i=e(t).is("body")?e(window):e(t),s;this.options=e.extend({},e.fn.scrollspy.defaults,n),this.$scrollElement=i.on("scroll.scroll-spy.data-api",r),this.selector=(this.options.target||(s=e(t).attr("href"))&&s.replace(/.*(?=#[^\s]+$)/,"")||"")+" .nav li > a",this.$body=e("body"),this.refresh(),this.process()}t.prototype={constructor:t,refresh:function(){var t=this,n;this.offsets=e([]),this.targets=e([]),n=this.$body.find(this.selector).map(function(){var n=e(this),r=n.data("target")||n.attr("href"),i=/^#\w/.test(r)&&e(r);return i&&i.length&&[[i.position().top+(!e.isWindow(t.$scrollElement.get(0))&&t.$scrollElement.scrollTop()),r]]||null}).sort(function(e,t){return e[0]-t[0]}).each(function(){t.offsets.push(this[0]),t.targets.push(this[1])})},process:function(){var e=this.$scrollElement.scrollTop()+this.options.offset,t=this.$scrollElement[0].scrollHeight||this.$body[0].scrollHeight,n=t-this.$scrollElement.height(),r=this.offsets,i=this.targets,s=this.activeTarget,o;if(e>=n)return s!=(o=i.last()[0])&&this.activate(o);for(o=r.length;o--;)s!=i[o]&&e>=r[o]&&(!r[o+1]||e<=r[o+1])&&this.activate(i[o])},activate:function(t){var n,r;this.activeTarget=t,e(this.selector).parent(".active").removeClass("active"),r=this.selector+'[data-target="'+t+'"],'+this.selector+'[href="'+t+'"]',n=e(r).parent("li").addClass("active"),n.parent(".dropdown-menu").length&&(n=n.closest("li.dropdown").addClass("active")),n.trigger("activate")}};var n=e.fn.scrollspy;e.fn.scrollspy=function(n){return this.each(function(){var r=e(this),i=r.data("scrollspy"),s=typeof n=="object"&&n;i||r.data("scrollspy",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.scrollspy.Constructor=t,e.fn.scrollspy.defaults={offset:10},e.fn.scrollspy.noConflict=function(){return e.fn.scrollspy=n,this},e(window).on("load",function(){e('[data-spy="scroll"]').each(function(){var t=e(this);t.scrollspy(t.data())})})}(window.jQuery),!function(e){"use strict";var t=function(t){this.element=e(t)};t.prototype={constructor:t,show:function(){var t=this.element,n=t.closest("ul:not(.dropdown-menu)"),r=t.attr("data-target"),i,s,o;r||(r=t.attr("href"),r=r&&r.replace(/.*(?=#[^\s]*$)/,""));if(t.parent("li").hasClass("active"))return;i=n.find(".active:last a")[0],o=e.Event("show",{relatedTarget:i}),t.trigger(o);if(o.isDefaultPrevented())return;s=e(r),this.activate(t.parent("li"),n),this.activate(s,s.parent(),function(){t.trigger({type:"shown",relatedTarget:i})})},activate:function(t,n,r){function o(){i.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),t.addClass("active"),s?(t[0].offsetWidth,t.addClass("in")):t.removeClass("fade"),t.parent(".dropdown-menu")&&t.closest("li.dropdown").addClass("active"),r&&r()}var i=n.find("> .active"),s=r&&e.support.transition&&i.hasClass("fade");s?i.one(e.support.transition.end,o):o(),i.removeClass("in")}};var n=e.fn.tab;e.fn.tab=function(n){return this.each(function(){var r=e(this),i=r.data("tab");i||r.data("tab",i=new t(this)),typeof n=="string"&&i[n]()})},e.fn.tab.Constructor=t,e.fn.tab.noConflict=function(){return e.fn.tab=n,this},e(document).on("click.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(t){t.preventDefault(),e(this).tab("show")})}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.options=e.extend({},e.fn.typeahead.defaults,n),this.matcher=this.options.matcher||this.matcher,this.sorter=this.options.sorter||this.sorter,this.highlighter=this.options.highlighter||this.highlighter,this.updater=this.options.updater||this.updater,this.source=this.options.source,this.$menu=e(this.options.menu),this.shown=!1,this.listen()};t.prototype={constructor:t,select:function(){var e=this.$menu.find(".active").attr("data-value");return this.$element.val(this.updater(e)).change(),this.hide()},updater:function(e){return e},show:function(){var t=e.extend({},this.$element.position(),{height:this.$element[0].offsetHeight});return this.$menu.insertAfter(this.$element).css({top:t.top+t.height,left:t.left}).show(),this.shown=!0,this},hide:function(){return this.$menu.hide(),this.shown=!1,this},lookup:function(t){var n;return this.query=this.$element.val(),!this.query||this.query.length<this.options.minLength?this.shown?this.hide():this:(n=e.isFunction(this.source)?this.source(this.query,e.proxy(this.process,this)):this.source,n?this.process(n):this)},process:function(t){var n=this;return t=e.grep(t,function(e){return n.matcher(e)}),t=this.sorter(t),t.length?this.render(t.slice(0,this.options.items)).show():this.shown?this.hide():this},matcher:function(e){return~e.toLowerCase().indexOf(this.query.toLowerCase())},sorter:function(e){var t=[],n=[],r=[],i;while(i=e.shift())i.toLowerCase().indexOf(this.query.toLowerCase())?~i.indexOf(this.query)?n.push(i):r.push(i):t.push(i);return t.concat(n,r)},highlighter:function(e){var t=this.query.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&");return e.replace(new RegExp("("+t+")","ig"),function(e,t){return"<strong>"+t+"</strong>"})},render:function(t){var n=this;return t=e(t).map(function(t,r){return t=e(n.options.item).attr("data-value",r),t.find("a").html(n.highlighter(r)),t[0]}),t.first().addClass("active"),this.$menu.html(t),this},next:function(t){var n=this.$menu.find(".active").removeClass("active"),r=n.next();r.length||(r=e(this.$menu.find("li")[0])),r.addClass("active")},prev:function(e){var t=this.$menu.find(".active").removeClass("active"),n=t.prev();n.length||(n=this.$menu.find("li").last()),n.addClass("active")},listen:function(){this.$element.on("focus",e.proxy(this.focus,this)).on("blur",e.proxy(this.blur,this)).on("keypress",e.proxy(this.keypress,this)).on("keyup",e.proxy(this.keyup,this)),this.eventSupported("keydown")&&this.$element.on("keydown",e.proxy(this.keydown,this)),this.$menu.on("click",e.proxy(this.click,this)).on("mouseenter","li",e.proxy(this.mouseenter,this)).on("mouseleave","li",e.proxy(this.mouseleave,this))},eventSupported:function(e){var t=e in this.$element;return t||(this.$element.setAttribute(e,"return;"),t=typeof this.$element[e]=="function"),t},move:function(e){if(!this.shown)return;switch(e.keyCode){case 9:case 13:case 27:e.preventDefault();break;case 38:e.preventDefault(),this.prev();break;case 40:e.preventDefault(),this.next()}e.stopPropagation()},keydown:function(t){this.suppressKeyPressRepeat=~e.inArray(t.keyCode,[40,38,9,13,27]),this.move(t)},keypress:function(e){if(this.suppressKeyPressRepeat)return;this.move(e)},keyup:function(e){switch(e.keyCode){case 40:case 38:case 16:case 17:case 18:break;case 9:case 13:if(!this.shown)return;this.select();break;case 27:if(!this.shown)return;this.hide();break;default:this.lookup()}e.stopPropagation(),e.preventDefault()},focus:function(e){this.focused=!0},blur:function(e){this.focused=!1,!this.mousedover&&this.shown&&this.hide()},click:function(e){e.stopPropagation(),e.preventDefault(),this.select(),this.$element.focus()},mouseenter:function(t){this.mousedover=!0,this.$menu.find(".active").removeClass("active"),e(t.currentTarget).addClass("active")},mouseleave:function(e){this.mousedover=!1,!this.focused&&this.shown&&this.hide()}};var n=e.fn.typeahead;e.fn.typeahead=function(n){return this.each(function(){var r=e(this),i=r.data("typeahead"),s=typeof n=="object"&&n;i||r.data("typeahead",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.typeahead.defaults={source:[],items:8,menu:'<ul class="typeahead dropdown-menu"></ul>',item:'<li><a href="#"></a></li>',minLength:1},e.fn.typeahead.Constructor=t,e.fn.typeahead.noConflict=function(){return e.fn.typeahead=n,this},e(document).on("focus.typeahead.data-api",'[data-provide="typeahead"]',function(t){var n=e(this);if(n.data("typeahead"))return;n.typeahead(n.data())})}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.options=e.extend({},e.fn.affix.defaults,n),this.$window=e(window).on("scroll.affix.data-api",e.proxy(this.checkPosition,this)).on("click.affix.data-api",e.proxy(function(){setTimeout(e.proxy(this.checkPosition,this),1)},this)),this.$element=e(t),this.checkPosition()};t.prototype.checkPosition=function(){if(!this.$element.is(":visible"))return;var t=e(document).height(),n=this.$window.scrollTop(),r=this.$element.offset(),i=this.options.offset,s=i.bottom,o=i.top,u="affix affix-top affix-bottom",a;typeof i!="object"&&(s=o=i),typeof o=="function"&&(o=i.top()),typeof s=="function"&&(s=i.bottom()),a=this.unpin!=null&&n+this.unpin<=r.top?!1:s!=null&&r.top+this.$element.height()>=t-s?"bottom":o!=null&&n<=o?"top":!1;if(this.affixed===a)return;this.affixed=a,this.unpin=a=="bottom"?r.top-n:null,this.$element.removeClass(u).addClass("affix"+(a?"-"+a:""))};var n=e.fn.affix;e.fn.affix=function(n){return this.each(function(){var r=e(this),i=r.data("affix"),s=typeof n=="object"&&n;i||r.data("affix",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.affix.Constructor=t,e.fn.affix.defaults={offset:0},e.fn.affix.noConflict=function(){return e.fn.affix=n,this},e(window).on("load",function(){e('[data-spy="affix"]').each(function(){var t=e(this),n=t.data();n.offset=n.offset||{},n.offsetBottom&&(n.offset.bottom=n.offsetBottom),n.offsetTop&&(n.offset.top=n.offsetTop),t.affix(n)})})}(window.jQuery);
56</script>
57
tragait5e9676e2021-01-14 16:07:07 +000058 <script>
seshukmb3a332a2018-10-05 16:27:16 +080059/**
60 * marked - a markdown parser
61 * Copyright (c) 2011-2014, Christopher Jeffrey. (MIT Licensed)
62 * https://github.com/chjj/marked
63 */
64(function(){var block={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:noop,hr:/^( *[-*_]){3,} *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *#* *(?:\n+|$)/,nptable:noop,lheading:/^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,blockquote:/^( *>[^\n]+(\n(?!def)[^\n]+)*\n*)+/,list:/^( *)(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:/^ *(?:comment *(?:\n|\s*$)|closed *(?:\n{2,}|\s*$)|closing *(?:\n{2,}|\s*$))/,def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +["(]([^\n]+)[")])? *(?:\n+|$)/,table:noop,paragraph:/^((?:[^\n]+\n?(?!hr|heading|lheading|blockquote|tag|def))+)\n*/,text:/^[^\n]+/};block.bullet=/(?:[*+-]|\d+\.)/;block.item=/^( *)(bull) [^\n]*(?:\n(?!\1bull )[^\n]*)*/;block.item=replace(block.item,"gm")(/bull/g,block.bullet)();block.list=replace(block.list)(/bull/g,block.bullet)("hr","\\n+(?=\\1?(?:[-*_] *){3,}(?:\\n+|$))")("def","\\n+(?="+block.def.source+")")();block.blockquote=replace(block.blockquote)("def",block.def)();block._tag="(?!(?:"+"a|em|strong|small|s|cite|q|dfn|abbr|data|time|code"+"|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo"+"|span|br|wbr|ins|del|img)\\b)\\w+(?!:/|[^\\w\\s@]*@)\\b";block.html=replace(block.html)("comment",/<!--[\s\S]*?-->/)("closed",/<(tag)[\s\S]+?<\/\1>/)("closing",/<tag(?:"[^"]*"|'[^']*'|[^'">])*?>/)(/tag/g,block._tag)();block.paragraph=replace(block.paragraph)("hr",block.hr)("heading",block.heading)("lheading",block.lheading)("blockquote",block.blockquote)("tag","<"+block._tag)("def",block.def)();block.normal=merge({},block);block.gfm=merge({},block.normal,{fences:/^ *(`{3,}|~{3,})[ \.]*(\S+)? *\n([\s\S]*?)\s*\1 *(?:\n+|$)/,paragraph:/^/,heading:/^ *(#{1,6}) +([^\n]+?) *#* *(?:\n+|$)/});block.gfm.paragraph=replace(block.paragraph)("(?!","(?!"+block.gfm.fences.source.replace("\\1","\\2")+"|"+block.list.source.replace("\\1","\\3")+"|")();block.tables=merge({},block.gfm,{nptable:/^ *(\S.*\|.*)\n *([-:]+ *\|[-| :]*)\n((?:.*\|.*(?:\n|$))*)\n*/,table:/^ *\|(.+)\n *\|( *[-:]+[-| :]*)\n((?: *\|.*(?:\n|$))*)\n*/});function Lexer(options){this.tokens=[];this.tokens.links={};this.options=options||marked.defaults;this.rules=block.normal;if(this.options.gfm){if(this.options.tables){this.rules=block.tables}else{this.rules=block.gfm}}}Lexer.rules=block;Lexer.lex=function(src,options){var lexer=new Lexer(options);return lexer.lex(src)};Lexer.prototype.lex=function(src){src=src.replace(/\r\n|\r/g,"\n").replace(/\t/g," ").replace(/\u00a0/g," ").replace(/\u2424/g,"\n");return this.token(src,true)};Lexer.prototype.token=function(src,top,bq){var src=src.replace(/^ +$/gm,""),next,loose,cap,bull,b,item,space,i,l;while(src){if(cap=this.rules.newline.exec(src)){src=src.substring(cap[0].length);if(cap[0].length>1){this.tokens.push({type:"space"})}}if(cap=this.rules.code.exec(src)){src=src.substring(cap[0].length);cap=cap[0].replace(/^ {4}/gm,"");this.tokens.push({type:"code",text:!this.options.pedantic?cap.replace(/\n+$/,""):cap});continue}if(cap=this.rules.fences.exec(src)){src=src.substring(cap[0].length);this.tokens.push({type:"code",lang:cap[2],text:cap[3]||""});continue}if(cap=this.rules.heading.exec(src)){src=src.substring(cap[0].length);this.tokens.push({type:"heading",depth:cap[1].length,text:cap[2]});continue}if(top&&(cap=this.rules.nptable.exec(src))){src=src.substring(cap[0].length);item={type:"table",header:cap[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:cap[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:cap[3].replace(/\n$/,"").split("\n")};for(i=0;i<item.align.length;i++){if(/^ *-+: *$/.test(item.align[i])){item.align[i]="right"}else if(/^ *:-+: *$/.test(item.align[i])){item.align[i]="center"}else if(/^ *:-+ *$/.test(item.align[i])){item.align[i]="left"}else{item.align[i]=null}}for(i=0;i<item.cells.length;i++){item.cells[i]=item.cells[i].split(/ *\| */)}this.tokens.push(item);continue}if(cap=this.rules.lheading.exec(src)){src=src.substring(cap[0].length);this.tokens.push({type:"heading",depth:cap[2]==="="?1:2,text:cap[1]});continue}if(cap=this.rules.hr.exec(src)){src=src.substring(cap[0].length);this.tokens.push({type:"hr"});continue}if(cap=this.rules.blockquote.exec(src)){src=src.substring(cap[0].length);this.tokens.push({type:"blockquote_start"});cap=cap[0].replace(/^ *> ?/gm,"");this.token(cap,top,true);this.tokens.push({type:"blockquote_end"});continue}if(cap=this.rules.list.exec(src)){src=src.substring(cap[0].length);bull=cap[2];this.tokens.push({type:"list_start",ordered:bull.length>1});cap=cap[0].match(this.rules.item);next=false;l=cap.length;i=0;for(;i<l;i++){item=cap[i];space=item.length;item=item.replace(/^ *([*+-]|\d+\.) +/,"");if(~item.indexOf("\n ")){space-=item.length;item=!this.options.pedantic?item.replace(new RegExp("^ {1,"+space+"}","gm"),""):item.replace(/^ {1,4}/gm,"")}if(this.options.smartLists&&i!==l-1){b=block.bullet.exec(cap[i+1])[0];if(bull!==b&&!(bull.length>1&&b.length>1)){src=cap.slice(i+1).join("\n")+src;i=l-1}}loose=next||/\n\n(?!\s*$)/.test(item);if(i!==l-1){next=item.charAt(item.length-1)==="\n";if(!loose)loose=next}this.tokens.push({type:loose?"loose_item_start":"list_item_start"});this.token(item,false,bq);this.tokens.push({type:"list_item_end"})}this.tokens.push({type:"list_end"});continue}if(cap=this.rules.html.exec(src)){src=src.substring(cap[0].length);this.tokens.push({type:this.options.sanitize?"paragraph":"html",pre:!this.options.sanitizer&&(cap[1]==="pre"||cap[1]==="script"||cap[1]==="style"),text:cap[0]});continue}if(!bq&&top&&(cap=this.rules.def.exec(src))){src=src.substring(cap[0].length);this.tokens.links[cap[1].toLowerCase()]={href:cap[2],title:cap[3]};continue}if(top&&(cap=this.rules.table.exec(src))){src=src.substring(cap[0].length);item={type:"table",header:cap[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:cap[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:cap[3].replace(/(?: *\| *)?\n$/,"").split("\n")};for(i=0;i<item.align.length;i++){if(/^ *-+: *$/.test(item.align[i])){item.align[i]="right"}else if(/^ *:-+: *$/.test(item.align[i])){item.align[i]="center"}else if(/^ *:-+ *$/.test(item.align[i])){item.align[i]="left"}else{item.align[i]=null}}for(i=0;i<item.cells.length;i++){item.cells[i]=item.cells[i].replace(/^ *\| *| *\| *$/g,"").split(/ *\| */)}this.tokens.push(item);continue}if(top&&(cap=this.rules.paragraph.exec(src))){src=src.substring(cap[0].length);this.tokens.push({type:"paragraph",text:cap[1].charAt(cap[1].length-1)==="\n"?cap[1].slice(0,-1):cap[1]});continue}if(cap=this.rules.text.exec(src)){src=src.substring(cap[0].length);this.tokens.push({type:"text",text:cap[0]});continue}if(src){throw new Error("Infinite loop on byte: "+src.charCodeAt(0))}}return this.tokens};var inline={escape:/^\\([\\`*{}\[\]()#+\-.!_>])/,autolink:/^<([^ >]+(@|:\/)[^ >]+)>/,url:noop,tag:/^<!--[\s\S]*?-->|^<\/?\w+(?:"[^"]*"|'[^']*'|[^'">])*?>/,link:/^!?\[(inside)\]\(href\)/,reflink:/^!?\[(inside)\]\s*\[([^\]]*)\]/,nolink:/^!?\[((?:\[[^\]]*\]|[^\[\]])*)\]/,strong:/^__([\s\S]+?)__(?!_)|^\*\*([\s\S]+?)\*\*(?!\*)/,em:/^\b_((?:[^_]|__)+?)_\b|^\*((?:\*\*|[\s\S])+?)\*(?!\*)/,code:/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,br:/^ {2,}\n(?!\s*$)/,del:noop,text:/^[\s\S]+?(?=[\\<!\[_*`]| {2,}\n|$)/};inline._inside=/(?:\[[^\]]*\]|[^\[\]]|\](?=[^\[]*\]))*/;inline._href=/\s*<?([\s\S]*?)>?(?:\s+['"]([\s\S]*?)['"])?\s*/;inline.link=replace(inline.link)("inside",inline._inside)("href",inline._href)();inline.reflink=replace(inline.reflink)("inside",inline._inside)();inline.normal=merge({},inline);inline.pedantic=merge({},inline.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/});inline.gfm=merge({},inline.normal,{escape:replace(inline.escape)("])","~|])")(),url:/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,del:/^~~(?=\S)([\s\S]*?\S)~~/,text:replace(inline.text)("]|","~]|")("|","|https?://|")()});inline.breaks=merge({},inline.gfm,{br:replace(inline.br)("{2,}","*")(),text:replace(inline.gfm.text)("{2,}","*")()});function InlineLexer(links,options){this.options=options||marked.defaults;this.links=links;this.rules=inline.normal;this.renderer=this.options.renderer||new Renderer;this.renderer.options=this.options;if(!this.links){throw new Error("Tokens array requires a `links` property.")}if(this.options.gfm){if(this.options.breaks){this.rules=inline.breaks}else{this.rules=inline.gfm}}else if(this.options.pedantic){this.rules=inline.pedantic}}InlineLexer.rules=inline;InlineLexer.output=function(src,links,options){var inline=new InlineLexer(links,options);return inline.output(src)};InlineLexer.prototype.output=function(src){var out="",link,text,href,cap;while(src){if(cap=this.rules.escape.exec(src)){src=src.substring(cap[0].length);out+=cap[1];continue}if(cap=this.rules.autolink.exec(src)){src=src.substring(cap[0].length);if(cap[2]==="@"){text=cap[1].charAt(6)===":"?this.mangle(cap[1].substring(7)):this.mangle(cap[1]);href=this.mangle("mailto:")+text}else{text=escape(cap[1]);href=text}out+=this.renderer.link(href,null,text);continue}if(!this.inLink&&(cap=this.rules.url.exec(src))){src=src.substring(cap[0].length);text=escape(cap[1]);href=text;out+=this.renderer.link(href,null,text);continue}if(cap=this.rules.tag.exec(src)){if(!this.inLink&&/^<a /i.test(cap[0])){this.inLink=true}else if(this.inLink&&/^<\/a>/i.test(cap[0])){this.inLink=false}src=src.substring(cap[0].length);out+=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(cap[0]):escape(cap[0]):cap[0];continue}if(cap=this.rules.link.exec(src)){src=src.substring(cap[0].length);this.inLink=true;out+=this.outputLink(cap,{href:cap[2],title:cap[3]});this.inLink=false;continue}if((cap=this.rules.reflink.exec(src))||(cap=this.rules.nolink.exec(src))){src=src.substring(cap[0].length);link=(cap[2]||cap[1]).replace(/\s+/g," ");link=this.links[link.toLowerCase()];if(!link||!link.href){out+=cap[0].charAt(0);src=cap[0].substring(1)+src;continue}this.inLink=true;out+=this.outputLink(cap,link);this.inLink=false;continue}if(cap=this.rules.strong.exec(src)){src=src.substring(cap[0].length);out+=this.renderer.strong(this.output(cap[2]||cap[1]));continue}if(cap=this.rules.em.exec(src)){src=src.substring(cap[0].length);out+=this.renderer.em(this.output(cap[2]||cap[1]));continue}if(cap=this.rules.code.exec(src)){src=src.substring(cap[0].length);out+=this.renderer.codespan(escape(cap[2],true));continue}if(cap=this.rules.br.exec(src)){src=src.substring(cap[0].length);out+=this.renderer.br();continue}if(cap=this.rules.del.exec(src)){src=src.substring(cap[0].length);out+=this.renderer.del(this.output(cap[1]));continue}if(cap=this.rules.text.exec(src)){src=src.substring(cap[0].length);out+=this.renderer.text(escape(this.smartypants(cap[0])));continue}if(src){throw new Error("Infinite loop on byte: "+src.charCodeAt(0))}}return out};InlineLexer.prototype.outputLink=function(cap,link){var href=escape(link.href),title=link.title?escape(link.title):null;return cap[0].charAt(0)!=="!"?this.renderer.link(href,title,this.output(cap[1])):this.renderer.image(href,title,escape(cap[1]))};InlineLexer.prototype.smartypants=function(text){if(!this.options.smartypants)return text;return text.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…")};InlineLexer.prototype.mangle=function(text){if(!this.options.mangle)return text;var out="",l=text.length,i=0,ch;for(;i<l;i++){ch=text.charCodeAt(i);if(Math.random()>.5){ch="x"+ch.toString(16)}out+="&#"+ch+";"}return out};function Renderer(options){this.options=options||{}}Renderer.prototype.code=function(code,lang,escaped){if(this.options.highlight){var out=this.options.highlight(code,lang);if(out!=null&&out!==code){escaped=true;code=out}}if(!lang){return"<pre><code>"+(escaped?code:escape(code,true))+"\n</code></pre>"}return'<pre><code class="'+this.options.langPrefix+escape(lang,true)+'">'+(escaped?code:escape(code,true))+"\n</code></pre>\n"};Renderer.prototype.blockquote=function(quote){return"<blockquote>\n"+quote+"</blockquote>\n"};Renderer.prototype.html=function(html){return html};Renderer.prototype.heading=function(text,level,raw){return"<h"+level+' id="'+this.options.headerPrefix+raw.toLowerCase().replace(/[^\w]+/g,"-")+'">'+text+"</h"+level+">\n"};Renderer.prototype.hr=function(){return this.options.xhtml?"<hr/>\n":"<hr>\n"};Renderer.prototype.list=function(body,ordered){var type=ordered?"ol":"ul";return"<"+type+">\n"+body+"</"+type+">\n"};Renderer.prototype.listitem=function(text){return"<li>"+text+"</li>\n"};Renderer.prototype.paragraph=function(text){return"<p>"+text+"</p>\n"};Renderer.prototype.table=function(header,body){return"<table>\n"+"<thead>\n"+header+"</thead>\n"+"<tbody>\n"+body+"</tbody>\n"+"</table>\n"};Renderer.prototype.tablerow=function(content){return"<tr>\n"+content+"</tr>\n"};Renderer.prototype.tablecell=function(content,flags){var type=flags.header?"th":"td";var tag=flags.align?"<"+type+' style="text-align:'+flags.align+'">':"<"+type+">";return tag+content+"</"+type+">\n"};Renderer.prototype.strong=function(text){return"<strong>"+text+"</strong>"};Renderer.prototype.em=function(text){return"<em>"+text+"</em>"};Renderer.prototype.codespan=function(text){return"<code>"+text+"</code>"};Renderer.prototype.br=function(){return this.options.xhtml?"<br/>":"<br>"};Renderer.prototype.del=function(text){return"<del>"+text+"</del>"};Renderer.prototype.link=function(href,title,text){if(this.options.sanitize){try{var prot=decodeURIComponent(unescape(href)).replace(/[^\w:]/g,"").toLowerCase()}catch(e){return""}if(prot.indexOf("javascript:")===0||prot.indexOf("vbscript:")===0){return""}}var out='<a href="'+href+'"';if(title){out+=' title="'+title+'"'}out+=">"+text+"</a>";return out};Renderer.prototype.image=function(href,title,text){var out='<img src="'+href+'" alt="'+text+'"';if(title){out+=' title="'+title+'"'}out+=this.options.xhtml?"/>":">";return out};Renderer.prototype.text=function(text){return text};function Parser(options){this.tokens=[];this.token=null;this.options=options||marked.defaults;this.options.renderer=this.options.renderer||new Renderer;this.renderer=this.options.renderer;this.renderer.options=this.options}Parser.parse=function(src,options,renderer){var parser=new Parser(options,renderer);return parser.parse(src)};Parser.prototype.parse=function(src){this.inline=new InlineLexer(src.links,this.options,this.renderer);this.tokens=src.reverse();var out="";while(this.next()){out+=this.tok()}return out};Parser.prototype.next=function(){return this.token=this.tokens.pop()};Parser.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0};Parser.prototype.parseText=function(){var body=this.token.text;while(this.peek().type==="text"){body+="\n"+this.next().text}return this.inline.output(body)};Parser.prototype.tok=function(){switch(this.token.type){case"space":{return""}case"hr":{return this.renderer.hr()}case"heading":{return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,this.token.text)}case"code":{return this.renderer.code(this.token.text,this.token.lang,this.token.escaped)}case"table":{var header="",body="",i,row,cell,flags,j;cell="";for(i=0;i<this.token.header.length;i++){flags={header:true,align:this.token.align[i]};cell+=this.renderer.tablecell(this.inline.output(this.token.header[i]),{header:true,align:this.token.align[i]})}header+=this.renderer.tablerow(cell);for(i=0;i<this.token.cells.length;i++){row=this.token.cells[i];cell="";for(j=0;j<row.length;j++){cell+=this.renderer.tablecell(this.inline.output(row[j]),{header:false,align:this.token.align[j]})}body+=this.renderer.tablerow(cell)}return this.renderer.table(header,body)}case"blockquote_start":{var body="";while(this.next().type!=="blockquote_end"){body+=this.tok()}return this.renderer.blockquote(body)}case"list_start":{var body="",ordered=this.token.ordered;while(this.next().type!=="list_end"){body+=this.tok()}return this.renderer.list(body,ordered)}case"list_item_start":{var body="";while(this.next().type!=="list_item_end"){body+=this.token.type==="text"?this.parseText():this.tok()}return this.renderer.listitem(body)}case"loose_item_start":{var body="";while(this.next().type!=="list_item_end"){body+=this.tok()}return this.renderer.listitem(body)}case"html":{var html=!this.token.pre&&!this.options.pedantic?this.inline.output(this.token.text):this.token.text;return this.renderer.html(html)}case"paragraph":{return this.renderer.paragraph(this.inline.output(this.token.text))}case"text":{return this.renderer.paragraph(this.parseText())}}};function escape(html,encode){return html.replace(!encode?/&(?!#?\w+;)/g:/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;")}function unescape(html){return html.replace(/&([#\w]+);/g,function(_,n){n=n.toLowerCase();if(n==="colon")return":";if(n.charAt(0)==="#"){return n.charAt(1)==="x"?String.fromCharCode(parseInt(n.substring(2),16)):String.fromCharCode(+n.substring(1))}return""})}function replace(regex,opt){regex=regex.source;opt=opt||"";return function self(name,val){if(!name)return new RegExp(regex,opt);val=val.source||val;val=val.replace(/(^|[^\[])\^/g,"$1");regex=regex.replace(name,val);return self}}function noop(){}noop.exec=noop;function merge(obj){var i=1,target,key;for(;i<arguments.length;i++){target=arguments[i];for(key in target){if(Object.prototype.hasOwnProperty.call(target,key)){obj[key]=target[key]}}}return obj}function marked(src,opt,callback){if(callback||typeof opt==="function"){if(!callback){callback=opt;opt=null}opt=merge({},marked.defaults,opt||{});var highlight=opt.highlight,tokens,pending,i=0;try{tokens=Lexer.lex(src,opt)}catch(e){return callback(e)}pending=tokens.length;var done=function(err){if(err){opt.highlight=highlight;return callback(err)}var out;try{out=Parser.parse(tokens,opt)}catch(e){err=e}opt.highlight=highlight;return err?callback(err):callback(null,out)};if(!highlight||highlight.length<3){return done()}delete opt.highlight;if(!pending)return done();for(;i<tokens.length;i++){(function(token){if(token.type!=="code"){return--pending||done()}return highlight(token.text,token.lang,function(err,code){if(err)return done(err);if(code==null||code===token.text){return--pending||done()}token.text=code;token.escaped=true;--pending||done()})})(tokens[i])}return}try{if(opt)opt=merge({},marked.defaults,opt);return Parser.parse(Lexer.lex(src,opt),opt)}catch(e){e.message+="\nPlease report this to https://github.com/chjj/marked.";if((opt||marked.defaults).silent){return"<p>An error occurred:</p><pre>"+escape(e.message+"",true)+"</pre>"}throw e}}marked.options=marked.setOptions=function(opt){merge(marked.defaults,opt);return marked};marked.defaults={gfm:true,tables:true,breaks:false,pedantic:false,sanitize:false,sanitizer:null,mangle:true,smartLists:false,silent:false,highlight:null,langPrefix:"lang-",smartypants:false,headerPrefix:"",renderer:new Renderer,xhtml:false};marked.Parser=Parser;marked.parser=Parser.parse;marked.Renderer=Renderer;marked.Lexer=Lexer;marked.lexer=Lexer.lex;marked.InlineLexer=InlineLexer;marked.inlineLexer=InlineLexer.output;marked.parse=marked;if(typeof module!=="undefined"&&typeof exports==="object"){module.exports=marked}else if(typeof define==="function"&&define.amd){define(function(){return marked})}else{this.marked=marked}}).call(function(){return this||(typeof window!=="undefined"?window:global)}());
65</script>
66
tragait5e9676e2021-01-14 16:07:07 +000067 <script>
seshukmb3a332a2018-10-05 16:27:16 +080068 $( document ).ready(function() {
69 marked.setOptions({
70 renderer: new marked.Renderer(),
71 gfm: true,
72 tables: true,
73 breaks: false,
74 pedantic: false,
75 sanitize: false,
76 smartLists: true,
77 smartypants: false
78 });
79
80 var textFile = null;
81
82 /// Function to be used to download a text json schema
83 function makeTextFile(text) {
84
85 var data = new Blob([text], {type: 'text/plain'});
86
87 // If we are replacing a previously generated file we need to
88 // manually revoke the object URL to avoid memory leaks.
89 if (textFile !== null) {
90 window.URL.revokeObjectURL(textFile);
91 }
92
93 textFile = window.URL.createObjectURL(data);
94
95 var a = document.createElement("a");
96 document.body.appendChild(a);
97 a.style = "display: none";
98 a.href = textFile;
99 a.download = 'schema.txt';
100 a.click();
101
102 return textFile;
103 };
104
105 /// TODO: Implement resizing for expanding within iframe
106 function callResize() {
107 window.parent.postMessage('resize', "*");
108 }
109
110 function processMarked() {
111 $(".marked").each(function() {
112 $(this).html(marked($(this).html()));
113 });
114 }
115
116 // Bootstrap Scrollspy
117 $(this).scrollspy({ target: '#scrollingNav', offset: 18 });
118
119 // Content-Scroll on Navigation click.
120 $('.sidenav').find('a').on('click', function(e) {
121 e.preventDefault();
122 var id = $(this).attr('href');
123 if ($(id).length > 0)
124 $('html,body').animate({ scrollTop: parseInt($(id).offset().top) }, 400);
125 window.location.hash = $(this).attr('href');
126 });
127
128 // Quickjump on Pageload to hash position.
129 if(window.location.hash) {
130 var id = window.location.hash;
131 if ($(id).length > 0)
132 $('html,body').animate({ scrollTop: parseInt($(id).offset().top) }, 0);
133 }
134
135
136 function initDynamic() {
137 // tabs
138 $('.nav-tabs-examples a').click(function (e) {
139 e.preventDefault();
140 $(this).tab('show');
141 });
142
143
144 $('.nav-tabs-examples').find('a:first').tab('show');
145
146 // call scrollspy refresh method
147 $(window).scrollspy('refresh');
148 }
149
150 initDynamic();
151
152 // Pre- / Code-Format
153 prettyPrint();
154
155 //Convert elements with "marked" class to markdown
156 processMarked();
157 });
158 </script>
tragait5e9676e2021-01-14 16:07:07 +0000159 <style type="text/css">
160
seshukmb3a332a2018-10-05 16:27:16 +0800161/*!
162 * Bootstrap v2.3.2
163 *
164 * Copyright 2013 Twitter, Inc
165 * Licensed under the Apache License v2.0
166 * http://www.apache.org/licenses/LICENSE-2.0
167 *
168 * Designed and built with all the love in the world by @mdo and @fat.
169 */.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;line-height:0;content:""}.clearfix:after{clear:both}.hide-text{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.input-block-level{display:block;width:100%;min-height:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}audio,canvas,video{display:inline-block;*display:inline;*zoom:1}audio:not([controls]){display:none}html{font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}a:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}a:hover,a:active{outline:0}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{width:auto\9;height:auto;max-width:100%;vertical-align:middle;border:0;-ms-interpolation-mode:bicubic}#map_canvas img,.google-maps img{max-width:none}button,input,select,textarea{margin:0;font-size:100%;vertical-align:middle}button,input{*overflow:visible;line-height:normal}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}button,html input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button}label,select,button,input[type="button"],input[type="reset"],input[type="submit"],input[type="radio"],input[type="checkbox"]{cursor:pointer}input[type="search"]{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-appearance:textfield}input[type="search"]::-webkit-search-decoration,input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none}textarea{overflow:auto;vertical-align:top}@media print{*{color:#000!important;text-shadow:none!important;background:transparent!important;box-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}.ir a:after,a[href^="javascript:"]:after,a[href^="#"]:after{content:""}pre,blockquote{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}tr,img{page-break-inside:avoid}img{max-width:100%!important}@page{margin:.5cm}p,h2,h3{orphans:3;widows:3}h2,h3{page-break-after:avoid}}body{margin:0;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:20px;color:#333;background-color:#fff}a{color:#08c;text-decoration:none}a:hover,a:focus{color:#005580;text-decoration:underline}.img-rounded{-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px}.img-polaroid{padding:4px;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.2);-webkit-box-shadow:0 1px 3px rgba(0,0,0,0.1);-moz-box-shadow:0 1px 3px rgba(0,0,0,0.1);box-shadow:0 1px 3px rgba(0,0,0,0.1)}.img-circle{-webkit-border-radius:500px;-moz-border-radius:500px;border-radius:500px}.row{margin-left:-20px;*zoom:1}.row:before,.row:after{display:table;line-height:0;content:""}.row:after{clear:both}[class*="span"]{float:left;min-height:1px;margin-left:20px}.container,.navbar-static-top .container,.navbar-fixed-top .container,.navbar-fixed-bottom .container{width:940px}.span12{width:940px}.span11{width:860px}.span10{width:780px}.span9{width:700px}.span8{width:620px}.span7{width:540px}.span6{width:460px}.span5{width:380px}.span4{width:300px}.span3{width:220px}.span2{width:140px}.span1{width:60px}.offset12{margin-left:980px}.offset11{margin-left:900px}.offset10{margin-left:820px}.offset9{margin-left:740px}.offset8{margin-left:660px}.offset7{margin-left:580px}.offset6{margin-left:500px}.offset5{margin-left:420px}.offset4{margin-left:340px}.offset3{margin-left:260px}.offset2{margin-left:180px}.offset1{margin-left:100px}.row-fluid{width:100%;*zoom:1}.row-fluid:before,.row-fluid:after{display:table;line-height:0;content:""}.row-fluid:after{clear:both}.row-fluid [class*="span"]{display:block;float:left;width:100%;min-height:30px;margin-left:2.127659574468085%;*margin-left:2.074468085106383%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.row-fluid [class*="span"]:first-child{margin-left:0}.row-fluid .controls-row [class*="span"]+[class*="span"]{margin-left:2.127659574468085%}.row-fluid .span12{width:100%;*width:99.94680851063829%}.row-fluid .span11{width:91.48936170212765%;*width:91.43617021276594%}.row-fluid .span10{width:82.97872340425532%;*width:82.92553191489361%}.row-fluid .span9{width:74.46808510638297%;*width:74.41489361702126%}.row-fluid .span8{width:65.95744680851064%;*width:65.90425531914893%}.row-fluid .span7{width:57.44680851063829%;*width:57.39361702127659%}.row-fluid .span6{width:48.93617021276595%;*width:48.88297872340425%}.row-fluid .span5{width:40.42553191489362%;*width:40.37234042553192%}.row-fluid .span4{width:31.914893617021278%;*width:31.861702127659576%}.row-fluid .span3{width:23.404255319148934%;*width:23.351063829787233%}.row-fluid .span2{width:14.893617021276595%;*width:14.840425531914894%}.row-fluid .span1{width:6.382978723404255%;*width:6.329787234042553%}.row-fluid .offset12{margin-left:104.25531914893617%;*margin-left:104.14893617021275%}.row-fluid .offset12:first-child{margin-left:102.12765957446808%;*margin-left:102.02127659574467%}.row-fluid .offset11{margin-left:95.74468085106382%;*margin-left:95.6382978723404%}.row-fluid .offset11:first-child{margin-left:93.61702127659574%;*margin-left:93.51063829787232%}.row-fluid .offset10{margin-left:87.23404255319149%;*margin-left:87.12765957446807%}.row-fluid .offset10:first-child{margin-left:85.1063829787234%;*margin-left:84.99999999999999%}.row-fluid .offset9{margin-left:78.72340425531914%;*margin-left:78.61702127659572%}.row-fluid .offset9:first-child{margin-left:76.59574468085106%;*margin-left:76.48936170212764%}.row-fluid .offset8{margin-left:70.2127659574468%;*margin-left:70.10638297872339%}.row-fluid .offset8:first-child{margin-left:68.08510638297872%;*margin-left:67.9787234042553%}.row-fluid .offset7{margin-left:61.70212765957446%;*margin-left:61.59574468085106%}.row-fluid .offset7:first-child{margin-left:59.574468085106375%;*margin-left:59.46808510638297%}.row-fluid .offset6{margin-left:53.191489361702125%;*margin-left:53.085106382978715%}.row-fluid .offset6:first-child{margin-left:51.063829787234035%;*margin-left:50.95744680851063%}.row-fluid .offset5{margin-left:44.68085106382979%;*margin-left:44.57446808510638%}.row-fluid .offset5:first-child{margin-left:42.5531914893617%;*margin-left:42.4468085106383%}.row-fluid .offset4{margin-left:36.170212765957444%;*margin-left:36.06382978723405%}.row-fluid .offset4:first-child{margin-left:34.04255319148936%;*margin-left:33.93617021276596%}.row-fluid .offset3{margin-left:27.659574468085104%;*margin-left:27.5531914893617%}.row-fluid .offset3:first-child{margin-left:25.53191489361702%;*margin-left:25.425531914893618%}.row-fluid .offset2{margin-left:19.148936170212764%;*margin-left:19.04255319148936%}.row-fluid .offset2:first-child{margin-left:17.02127659574468%;*margin-left:16.914893617021278%}.row-fluid .offset1{margin-left:10.638297872340425%;*margin-left:10.53191489361702%}.row-fluid .offset1:first-child{margin-left:8.51063829787234%;*margin-left:8.404255319148938%}[class*="span"].hide,.row-fluid [class*="span"].hide{display:none}[class*="span"].pull-right,.row-fluid [class*="span"].pull-right{float:right}.container{margin-right:auto;margin-left:auto;*zoom:1}.container:before,.container:after{display:table;line-height:0;content:""}.container:after{clear:both}.container-fluid{padding-right:20px;padding-left:20px;*zoom:1}.container-fluid:before,.container-fluid:after{display:table;line-height:0;content:""}.container-fluid:after{clear:both}p{margin:0 0 10px}.lead{margin-bottom:20px;font-size:21px;font-weight:200;line-height:30px}small{font-size:85%}strong{font-weight:bold}em{font-style:italic}cite{font-style:normal}.muted{color:#999}a.muted:hover,a.muted:focus{color:#808080}.text-warning{color:#c09853}a.text-warning:hover,a.text-warning:focus{color:#a47e3c}.text-error{color:#b94a48}a.text-error:hover,a.text-error:focus{color:#953b39}.text-info{color:#3a87ad}a.text-info:hover,a.text-info:focus{color:#2d6987}.text-success{color:#468847}a.text-success:hover,a.text-success:focus{color:#356635}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}h1,h2,h3,h4,h5,h6{margin:10px 0;font-family:inherit;font-weight:bold;line-height:20px;color:inherit;text-rendering:optimizelegibility}h1 small,h2 small,h3 small,h4 small,h5 small,h6 small{font-weight:normal;line-height:1;color:#999}h1,h2,h3{line-height:40px}h1{font-size:38.5px}h2{font-size:31.5px}h3{font-size:24.5px}h4{font-size:17.5px}h5{font-size:14px}h6{font-size:11.9px}h1 small{font-size:24.5px}h2 small{font-size:17.5px}h3 small{font-size:14px}h4 small{font-size:14px}.page-header{padding-bottom:9px;margin:20px 0 30px;border-bottom:1px solid #eee}ul,ol{padding:0;margin:0 0 10px 25px}ul ul,ul ol,ol ol,ol ul{margin-bottom:0}li{line-height:20px}ul.unstyled,ol.unstyled{margin-left:0;list-style:none}ul.inline,ol.inline{margin-left:0;list-style:none}ul.inline>li,ol.inline>li{display:inline-block;*display:inline;padding-right:5px;padding-left:5px;*zoom:1}dl{margin-bottom:20px}dt,dd{line-height:20px}dt{font-weight:bold}dd{margin-left:10px}.dl-horizontal{*zoom:1}.dl-horizontal:before,.dl-horizontal:after{display:table;line-height:0;content:""}.dl-horizontal:after{clear:both}.dl-horizontal dt{float:left;width:160px;overflow:hidden;clear:left;text-align:right;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}hr{margin:20px 0;border:0;border-top:1px solid #eee;border-bottom:1px solid #fff}abbr[title],abbr[data-original-title]{cursor:help;border-bottom:1px dotted #999}abbr.initialism{font-size:90%;text-transform:uppercase}blockquote{padding:0 0 0 15px;margin:0 0 20px;border-left:5px solid #eee}blockquote p{margin-bottom:0;font-size:17.5px;font-weight:300;line-height:1.25}blockquote small{display:block;line-height:20px;color:#999}blockquote small:before{content:'\2014 \00A0'}blockquote.pull-right{float:right;padding-right:15px;padding-left:0;border-right:5px solid #eee;border-left:0}blockquote.pull-right p,blockquote.pull-right small{text-align:right}blockquote.pull-right small:before{content:''}blockquote.pull-right small:after{content:'\00A0 \2014'}q:before,q:after,blockquote:before,blockquote:after{content:""}address{display:block;margin-bottom:20px;font-style:normal;line-height:20px}code,pre{padding:0 3px 2px;font-family:Monaco,Menlo,Consolas,"Courier New",monospace;font-size:12px;color:#333;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}code{padding:2px 4px;color:#d14;white-space:nowrap;background-color:#f7f7f9;border:1px solid #e1e1e8}pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:20px;word-break:break-all;word-wrap:break-word;white-space:pre;white-space:pre-wrap;background-color:#f5f5f5;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.15);-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}pre.prettyprint{margin-bottom:20px}pre code{padding:0;color:inherit;white-space:pre;white-space:pre-wrap;background-color:transparent;border:0}.pre-scrollable{max-height:340px;overflow-y:scroll}form{margin:0 0 20px}fieldset{padding:0;margin:0;border:0}legend{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:40px;color:#333;border:0;border-bottom:1px solid #e5e5e5}legend small{font-size:15px;color:#999}label,input,button,select,textarea{font-size:14px;font-weight:normal;line-height:20px}input,button,select,textarea{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif}label{display:block;margin-bottom:5px}select,textarea,input[type="text"],input[type="password"],input[type="datetime"],input[type="datetime-local"],input[type="date"],input[type="month"],input[type="time"],input[type="week"],input[type="number"],input[type="email"],input[type="url"],input[type="search"],input[type="tel"],input[type="color"],.uneditable-input{display:inline-block;height:20px;padding:4px 6px;margin-bottom:10px;font-size:14px;line-height:20px;color:#555;vertical-align:middle;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}input,textarea,.uneditable-input{width:206px}textarea{height:auto}textarea,input[type="text"],input[type="password"],input[type="datetime"],input[type="datetime-local"],input[type="date"],input[type="month"],input[type="time"],input[type="week"],input[type="number"],input[type="email"],input[type="url"],input[type="search"],input[type="tel"],input[type="color"],.uneditable-input{background-color:#fff;border:1px solid #ccc;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-webkit-transition:border linear .2s,box-shadow linear .2s;-moz-transition:border linear .2s,box-shadow linear .2s;-o-transition:border linear .2s,box-shadow linear .2s;transition:border linear .2s,box-shadow linear .2s}textarea:focus,input[type="text"]:focus,input[type="password"]:focus,input[type="datetime"]:focus,input[type="datetime-local"]:focus,input[type="date"]:focus,input[type="month"]:focus,input[type="time"]:focus,input[type="week"]:focus,input[type="number"]:focus,input[type="email"]:focus,input[type="url"]:focus,input[type="search"]:focus,input[type="tel"]:focus,input[type="color"]:focus,.uneditable-input:focus{border-color:rgba(82,168,236,0.8);outline:0;outline:thin dotted \9;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(82,168,236,0.6);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(82,168,236,0.6);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(82,168,236,0.6)}input[type="radio"],input[type="checkbox"]{margin:4px 0 0;margin-top:1px \9;*margin-top:0;line-height:normal}input[type="file"],input[type="image"],input[type="submit"],input[type="reset"],input[type="button"],input[type="radio"],input[type="checkbox"]{width:auto}select,input[type="file"]{height:30px;*margin-top:4px;line-height:30px}select{width:220px;background-color:#fff;border:1px solid #ccc}select[multiple],select[size]{height:auto}select:focus,input[type="file"]:focus,input[type="radio"]:focus,input[type="checkbox"]:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.uneditable-input,.uneditable-textarea{color:#999;cursor:not-allowed;background-color:#fcfcfc;border-color:#ccc;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.025);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,0.025);box-shadow:inset 0 1px 2px rgba(0,0,0,0.025)}.uneditable-input{overflow:hidden;white-space:nowrap}.uneditable-textarea{width:auto;height:auto}input:-moz-placeholder,textarea:-moz-placeholder{color:#999}input:-ms-input-placeholder,textarea:-ms-input-placeholder{color:#999}input::-webkit-input-placeholder,textarea::-webkit-input-placeholder{color:#999}.radio,.checkbox{min-height:20px;padding-left:20px}.radio input[type="radio"],.checkbox input[type="checkbox"]{float:left;margin-left:-20px}.controls>.radio:first-child,.controls>.checkbox:first-child{padding-top:5px}.radio.inline,.checkbox.inline{display:inline-block;padding-top:5px;margin-bottom:0;vertical-align:middle}.radio.inline+.radio.inline,.checkbox.inline+.checkbox.inline{margin-left:10px}.input-mini{width:60px}.input-small{width:90px}.input-medium{width:150px}.input-large{width:210px}.input-xlarge{width:270px}.input-xxlarge{width:530px}input[class*="span"],select[class*="span"],textarea[class*="span"],.uneditable-input[class*="span"],.row-fluid input[class*="span"],.row-fluid select[class*="span"],.row-fluid textarea[class*="span"],.row-fluid .uneditable-input[class*="span"]{float:none;margin-left:0}.input-append input[class*="span"],.input-append .uneditable-input[class*="span"],.input-prepend input[class*="span"],.input-prepend .uneditable-input[class*="span"],.row-fluid input[class*="span"],.row-fluid select[class*="span"],.row-fluid textarea[class*="span"],.row-fluid .uneditable-input[class*="span"],.row-fluid .input-prepend [class*="span"],.row-fluid .input-append [class*="span"]{display:inline-block}input,textarea,.uneditable-input{margin-left:0}.controls-row [class*="span"]+[class*="span"]{margin-left:20px}input.span12,textarea.span12,.uneditable-input.span12{width:926px}input.span11,textarea.span11,.uneditable-input.span11{width:846px}input.span10,textarea.span10,.uneditable-input.span10{width:766px}input.span9,textarea.span9,.uneditable-input.span9{width:686px}input.span8,textarea.span8,.uneditable-input.span8{width:606px}input.span7,textarea.span7,.uneditable-input.span7{width:526px}input.span6,textarea.span6,.uneditable-input.span6{width:446px}input.span5,textarea.span5,.uneditable-input.span5{width:366px}input.span4,textarea.span4,.uneditable-input.span4{width:286px}input.span3,textarea.span3,.uneditable-input.span3{width:206px}input.span2,textarea.span2,.uneditable-input.span2{width:126px}input.span1,textarea.span1,.uneditable-input.span1{width:46px}.controls-row{*zoom:1}.controls-row:before,.controls-row:after{display:table;line-height:0;content:""}.controls-row:after{clear:both}.controls-row [class*="span"],.row-fluid .controls-row [class*="span"]{float:left}.controls-row .checkbox[class*="span"],.controls-row .radio[class*="span"]{padding-top:5px}input[disabled],select[disabled],textarea[disabled],input[readonly],select[readonly],textarea[readonly]{cursor:not-allowed;background-color:#eee}input[type="radio"][disabled],input[type="checkbox"][disabled],input[type="radio"][readonly],input[type="checkbox"][readonly]{background-color:transparent}.control-group.warning .control-label,.control-group.warning .help-block,.control-group.warning .help-inline{color:#c09853}.control-group.warning .checkbox,.control-group.warning .radio,.control-group.warning input,.control-group.warning select,.control-group.warning textarea{color:#c09853}.control-group.warning input,.control-group.warning select,.control-group.warning textarea{border-color:#c09853;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.control-group.warning input:focus,.control-group.warning select:focus,.control-group.warning textarea:focus{border-color:#a47e3c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #dbc59e;-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #dbc59e;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #dbc59e}.control-group.warning .input-prepend .add-on,.control-group.warning .input-append .add-on{color:#c09853;background-color:#fcf8e3;border-color:#c09853}.control-group.error .control-label,.control-group.error .help-block,.control-group.error .help-inline{color:#b94a48}.control-group.error .checkbox,.control-group.error .radio,.control-group.error input,.control-group.error select,.control-group.error textarea{color:#b94a48}.control-group.error input,.control-group.error select,.control-group.error textarea{border-color:#b94a48;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.control-group.error input:focus,.control-group.error select:focus,.control-group.error textarea:focus{border-color:#953b39;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #d59392;-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #d59392;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #d59392}.control-group.error .input-prepend .add-on,.control-group.error .input-append .add-on{color:#b94a48;background-color:#f2dede;border-color:#b94a48}.control-group.success .control-label,.control-group.success .help-block,.control-group.success .help-inline{color:#468847}.control-group.success .checkbox,.control-group.success .radio,.control-group.success input,.control-group.success select,.control-group.success textarea{color:#468847}.control-group.success input,.control-group.success select,.control-group.success textarea{border-color:#468847;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.control-group.success input:focus,.control-group.success select:focus,.control-group.success textarea:focus{border-color:#356635;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #7aba7b;-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #7aba7b;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #7aba7b}.control-group.success .input-prepend .add-on,.control-group.success .input-append .add-on{color:#468847;background-color:#dff0d8;border-color:#468847}.control-group.info .control-label,.control-group.info .help-block,.control-group.info .help-inline{color:#3a87ad}.control-group.info .checkbox,.control-group.info .radio,.control-group.info input,.control-group.info select,.control-group.info textarea{color:#3a87ad}.control-group.info input,.control-group.info select,.control-group.info textarea{border-color:#3a87ad;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.control-group.info input:focus,.control-group.info select:focus,.control-group.info textarea:focus{border-color:#2d6987;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #7ab5d3;-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #7ab5d3;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #7ab5d3}.control-group.info .input-prepend .add-on,.control-group.info .input-append .add-on{color:#3a87ad;background-color:#d9edf7;border-color:#3a87ad}input:focus:invalid,textarea:focus:invalid,select:focus:invalid{color:#b94a48;border-color:#ee5f5b}input:focus:invalid:focus,textarea:focus:invalid:focus,select:focus:invalid:focus{border-color:#e9322d;-webkit-box-shadow:0 0 6px #f8b9b7;-moz-box-shadow:0 0 6px #f8b9b7;box-shadow:0 0 6px #f8b9b7}.form-actions{padding:19px 20px 20px;margin-top:20px;margin-bottom:20px;background-color:#f5f5f5;border-top:1px solid #e5e5e5;*zoom:1}.form-actions:before,.form-actions:after{display:table;line-height:0;content:""}.form-actions:after{clear:both}.help-block,.help-inline{color:#595959}.help-block{display:block;margin-bottom:10px}.help-inline{display:inline-block;*display:inline;padding-left:5px;vertical-align:middle;*zoom:1}.input-append,.input-prepend{display:inline-block;margin-bottom:10px;font-size:0;white-space:nowrap;vertical-align:middle}.input-append input,.input-prepend input,.input-append select,.input-prepend select,.input-append .uneditable-input,.input-prepend .uneditable-input,.input-append .dropdown-menu,.input-prepend .dropdown-menu,.input-append .popover,.input-prepend .popover{font-size:14px}.input-append input,.input-prepend input,.input-append select,.input-prepend select,.input-append .uneditable-input,.input-prepend .uneditable-input{position:relative;margin-bottom:0;*margin-left:0;vertical-align:top;-webkit-border-radius:0 4px 4px 0;-moz-border-radius:0 4px 4px 0;border-radius:0 4px 4px 0}.input-append input:focus,.input-prepend input:focus,.input-append select:focus,.input-prepend select:focus,.input-append .uneditable-input:focus,.input-prepend .uneditable-input:focus{z-index:2}.input-append .add-on,.input-prepend .add-on{display:inline-block;width:auto;height:20px;min-width:16px;padding:4px 5px;font-size:14px;font-weight:normal;line-height:20px;text-align:center;text-shadow:0 1px 0 #fff;background-color:#eee;border:1px solid #ccc}.input-append .add-on,.input-prepend .add-on,.input-append .btn,.input-prepend .btn,.input-append .btn-group>.dropdown-toggle,.input-prepend .btn-group>.dropdown-toggle{vertical-align:top;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.input-append .active,.input-prepend .active{background-color:#a9dba9;border-color:#46a546}.input-prepend .add-on,.input-prepend .btn{margin-right:-1px}.input-prepend .add-on:first-child,.input-prepend .btn:first-child{-webkit-border-radius:4px 0 0 4px;-moz-border-radius:4px 0 0 4px;border-radius:4px 0 0 4px}.input-append input,.input-append select,.input-append .uneditable-input{-webkit-border-radius:4px 0 0 4px;-moz-border-radius:4px 0 0 4px;border-radius:4px 0 0 4px}.input-append input+.btn-group .btn:last-child,.input-append select+.btn-group .btn:last-child,.input-append .uneditable-input+.btn-group .btn:last-child{-webkit-border-radius:0 4px 4px 0;-moz-border-radius:0 4px 4px 0;border-radius:0 4px 4px 0}.input-append .add-on,.input-append .btn,.input-append .btn-group{margin-left:-1px}.input-append .add-on:last-child,.input-append .btn:last-child,.input-append .btn-group:last-child>.dropdown-toggle{-webkit-border-radius:0 4px 4px 0;-moz-border-radius:0 4px 4px 0;border-radius:0 4px 4px 0}.input-prepend.input-append input,.input-prepend.input-append select,.input-prepend.input-append .uneditable-input{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.input-prepend.input-append input+.btn-group .btn,.input-prepend.input-append select+.btn-group .btn,.input-prepend.input-append .uneditable-input+.btn-group .btn{-webkit-border-radius:0 4px 4px 0;-moz-border-radius:0 4px 4px 0;border-radius:0 4px 4px 0}.input-prepend.input-append .add-on:first-child,.input-prepend.input-append .btn:first-child{margin-right:-1px;-webkit-border-radius:4px 0 0 4px;-moz-border-radius:4px 0 0 4px;border-radius:4px 0 0 4px}.input-prepend.input-append .add-on:last-child,.input-prepend.input-append .btn:last-child{margin-left:-1px;-webkit-border-radius:0 4px 4px 0;-moz-border-radius:0 4px 4px 0;border-radius:0 4px 4px 0}.input-prepend.input-append .btn-group:first-child{margin-left:0}input.search-query{padding-right:14px;padding-right:4px \9;padding-left:14px;padding-left:4px \9;margin-bottom:0;-webkit-border-radius:15px;-moz-border-radius:15px;border-radius:15px}.form-search .input-append .search-query,.form-search .input-prepend .search-query{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.form-search .input-append .search-query{-webkit-border-radius:14px 0 0 14px;-moz-border-radius:14px 0 0 14px;border-radius:14px 0 0 14px}.form-search .input-append .btn{-webkit-border-radius:0 14px 14px 0;-moz-border-radius:0 14px 14px 0;border-radius:0 14px 14px 0}.form-search .input-prepend .search-query{-webkit-border-radius:0 14px 14px 0;-moz-border-radius:0 14px 14px 0;border-radius:0 14px 14px 0}.form-search .input-prepend .btn{-webkit-border-radius:14px 0 0 14px;-moz-border-radius:14px 0 0 14px;border-radius:14px 0 0 14px}.form-search input,.form-inline input,.form-horizontal input,.form-search textarea,.form-inline textarea,.form-horizontal textarea,.form-search select,.form-inline select,.form-horizontal select,.form-search .help-inline,.form-inline .help-inline,.form-horizontal .help-inline,.form-search .uneditable-input,.form-inline .uneditable-input,.form-horizontal .uneditable-input,.form-search .input-prepend,.form-inline .input-prepend,.form-horizontal .input-prepend,.form-search .input-append,.form-inline .input-append,.form-horizontal .input-append{display:inline-block;*display:inline;margin-bottom:0;vertical-align:middle;*zoom:1}.form-search .hide,.form-inline .hide,.form-horizontal .hide{display:none}.form-search label,.form-inline label,.form-search .btn-group,.form-inline .btn-group{display:inline-block}.form-search .input-append,.form-inline .input-append,.form-search .input-prepend,.form-inline .input-prepend{margin-bottom:0}.form-search .radio,.form-search .checkbox,.form-inline .radio,.form-inline .checkbox{padding-left:0;margin-bottom:0;vertical-align:middle}.form-search .radio input[type="radio"],.form-search .checkbox input[type="checkbox"],.form-inline .radio input[type="radio"],.form-inline .checkbox input[type="checkbox"]{float:left;margin-right:3px;margin-left:0}.control-group{margin-bottom:10px}legend+.control-group{margin-top:20px;-webkit-margin-top-collapse:separate}.form-horizontal .control-group{margin-bottom:20px;*zoom:1}.form-horizontal .control-group:before,.form-horizontal .control-group:after{display:table;line-height:0;content:""}.form-horizontal .control-group:after{clear:both}.form-horizontal .control-label{float:left;width:160px;padding-top:5px;text-align:right}.form-horizontal .controls{*display:inline-block;*padding-left:20px;margin-left:180px;*margin-left:0}.form-horizontal .controls:first-child{*padding-left:180px}.form-horizontal .help-block{margin-bottom:0}.form-horizontal input+.help-block,.form-horizontal select+.help-block,.form-horizontal textarea+.help-block,.form-horizontal .uneditable-input+.help-block,.form-horizontal .input-prepend+.help-block,.form-horizontal .input-append+.help-block{margin-top:10px}.form-horizontal .form-actions{padding-left:180px}table{max-width:100%;background-color:transparent;border-collapse:collapse;border-spacing:0}.table{width:100%;margin-bottom:20px}.table th,.table td{padding:8px;line-height:20px;text-align:left;vertical-align:top;border-top:1px solid #ddd}.table th{font-weight:bold}.table thead th{vertical-align:bottom}.table caption+thead tr:first-child th,.table caption+thead tr:first-child td,.table colgroup+thead tr:first-child th,.table colgroup+thead tr:first-child td,.table thead:first-child tr:first-child th,.table thead:first-child tr:first-child td{border-top:0}.table tbody+tbody{border-top:2px solid #ddd}.table .table{background-color:#fff}.table-condensed th,.table-condensed td{padding:4px 5px}.table-bordered{border:1px solid #ddd;border-collapse:separate;*border-collapse:collapse;border-left:0;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.table-bordered th,.table-bordered td{border-left:1px solid #ddd}.table-bordered caption+thead tr:first-child th,.table-bordered caption+tbody tr:first-child th,.table-bordered caption+tbody tr:first-child td,.table-bordered colgroup+thead tr:first-child th,.table-bordered colgroup+tbody tr:first-child th,.table-bordered colgroup+tbody tr:first-child td,.table-bordered thead:first-child tr:first-child th,.table-bordered tbody:first-child tr:first-child th,.table-bordered tbody:first-child tr:first-child td{border-top:0}.table-bordered thead:first-child tr:first-child>th:first-child,.table-bordered tbody:first-child tr:first-child>td:first-child,.table-bordered tbody:first-child tr:first-child>th:first-child{-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-moz-border-radius-topleft:4px}.table-bordered thead:first-child tr:first-child>th:last-child,.table-bordered tbody:first-child tr:first-child>td:last-child,.table-bordered tbody:first-child tr:first-child>th:last-child{-webkit-border-top-right-radius:4px;border-top-right-radius:4px;-moz-border-radius-topright:4px}.table-bordered thead:last-child tr:last-child>th:first-child,.table-bordered tbody:last-child tr:last-child>td:first-child,.table-bordered tbody:last-child tr:last-child>th:first-child,.table-bordered tfoot:last-child tr:last-child>td:first-child,.table-bordered tfoot:last-child tr:last-child>th:first-child{-webkit-border-bottom-left-radius:4px;border-bottom-left-radius:4px;-moz-border-radius-bottomleft:4px}.table-bordered thead:last-child tr:last-child>th:last-child,.table-bordered tbody:last-child tr:last-child>td:last-child,.table-bordered tbody:last-child tr:last-child>th:last-child,.table-bordered tfoot:last-child tr:last-child>td:last-child,.table-bordered tfoot:last-child tr:last-child>th:last-child{-webkit-border-bottom-right-radius:4px;border-bottom-right-radius:4px;-moz-border-radius-bottomright:4px}.table-bordered tfoot+tbody:last-child tr:last-child td:first-child{-webkit-border-bottom-left-radius:0;border-bottom-left-radius:0;-moz-border-radius-bottomleft:0}.table-bordered tfoot+tbody:last-child tr:last-child td:last-child{-webkit-border-bottom-right-radius:0;border-bottom-right-radius:0;-moz-border-radius-bottomright:0}.table-bordered caption+thead tr:first-child th:first-child,.table-bordered caption+tbody tr:first-child td:first-child,.table-bordered colgroup+thead tr:first-child th:first-child,.table-bordered colgroup+tbody tr:first-child td:first-child{-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-moz-border-radius-topleft:4px}.table-bordered caption+thead tr:first-child th:last-child,.table-bordered caption+tbody tr:first-child td:last-child,.table-bordered colgroup+thead tr:first-child th:last-child,.table-bordered colgroup+tbody tr:first-child td:last-child{-webkit-border-top-right-radius:4px;border-top-right-radius:4px;-moz-border-radius-topright:4px}.table-striped tbody>tr:nth-child(odd)>td,.table-striped tbody>tr:nth-child(odd)>th{background-color:#f9f9f9}.table-hover tbody tr:hover>td,.table-hover tbody tr:hover>th{background-color:#f5f5f5}table td[class*="span"],table th[class*="span"],.row-fluid table td[class*="span"],.row-fluid table th[class*="span"]{display:table-cell;float:none;margin-left:0}.table td.span1,.table th.span1{float:none;width:44px;margin-left:0}.table td.span2,.table th.span2{float:none;width:124px;margin-left:0}.table td.span3,.table th.span3{float:none;width:204px;margin-left:0}.table td.span4,.table th.span4{float:none;width:284px;margin-left:0}.table td.span5,.table th.span5{float:none;width:364px;margin-left:0}.table td.span6,.table th.span6{float:none;width:444px;margin-left:0}.table td.span7,.table th.span7{float:none;width:524px;margin-left:0}.table td.span8,.table th.span8{float:none;width:604px;margin-left:0}.table td.span9,.table th.span9{float:none;width:684px;margin-left:0}.table td.span10,.table th.span10{float:none;width:764px;margin-left:0}.table td.span11,.table th.span11{float:none;width:844px;margin-left:0}.table td.span12,.table th.span12{float:none;width:924px;margin-left:0}.table tbody tr.success>td{background-color:#dff0d8}.table tbody tr.error>td{background-color:#f2dede}.table tbody tr.warning>td{background-color:#fcf8e3}.table tbody tr.info>td{background-color:#d9edf7}.table-hover tbody tr.success:hover>td{background-color:#d0e9c6}.table-hover tbody tr.error:hover>td{background-color:#ebcccc}.table-hover tbody tr.warning:hover>td{background-color:#faf2cc}.table-hover tbody tr.info:hover>td{background-color:#c4e3f3}[class^="icon-"],[class*=" icon-"]{display:inline-block;width:14px;height:14px;margin-top:1px;*margin-right:.3em;line-height:14px;vertical-align:text-top;background-image:url("../img/glyphicons-halflings.png");background-position:14px 14px;background-repeat:no-repeat}.icon-white,.nav-pills>.active>a>[class^="icon-"],.nav-pills>.active>a>[class*=" icon-"],.nav-list>.active>a>[class^="icon-"],.nav-list>.active>a>[class*=" icon-"],.navbar-inverse .nav>.active>a>[class^="icon-"],.navbar-inverse .nav>.active>a>[class*=" icon-"],.dropdown-menu>li>a:hover>[class^="icon-"],.dropdown-menu>li>a:focus>[class^="icon-"],.dropdown-menu>li>a:hover>[class*=" icon-"],.dropdown-menu>li>a:focus>[class*=" icon-"],.dropdown-menu>.active>a>[class^="icon-"],.dropdown-menu>.active>a>[class*=" icon-"],.dropdown-submenu:hover>a>[class^="icon-"],.dropdown-submenu:focus>a>[class^="icon-"],.dropdown-submenu:hover>a>[class*=" icon-"],.dropdown-submenu:focus>a>[class*=" icon-"]{background-image:url("../img/glyphicons-halflings-white.png")}.icon-glass{background-position:0 0}.icon-music{background-position:-24px 0}.icon-search{background-position:-48px 0}.icon-envelope{background-position:-72px 0}.icon-heart{background-position:-96px 0}.icon-star{background-position:-120px 0}.icon-star-empty{background-position:-144px 0}.icon-user{background-position:-168px 0}.icon-film{background-position:-192px 0}.icon-th-large{background-position:-216px 0}.icon-th{background-position:-240px 0}.icon-th-list{background-position:-264px 0}.icon-ok{background-position:-288px 0}.icon-remove{background-position:-312px 0}.icon-zoom-in{background-position:-336px 0}.icon-zoom-out{background-position:-360px 0}.icon-off{background-position:-384px 0}.icon-signal{background-position:-408px 0}.icon-cog{background-position:-432px 0}.icon-trash{background-position:-456px 0}.icon-home{background-position:0 -24px}.icon-file{background-position:-24px -24px}.icon-time{background-position:-48px -24px}.icon-road{background-position:-72px -24px}.icon-download-alt{background-position:-96px -24px}.icon-download{background-position:-120px -24px}.icon-upload{background-position:-144px -24px}.icon-inbox{background-position:-168px -24px}.icon-play-circle{background-position:-192px -24px}.icon-repeat{background-position:-216px -24px}.icon-refresh{background-position:-240px -24px}.icon-list-alt{background-position:-264px -24px}.icon-lock{background-position:-287px -24px}.icon-flag{background-position:-312px -24px}.icon-headphones{background-position:-336px -24px}.icon-volume-off{background-position:-360px -24px}.icon-volume-down{background-position:-384px -24px}.icon-volume-up{background-position:-408px -24px}.icon-qrcode{background-position:-432px -24px}.icon-barcode{background-position:-456px -24px}.icon-tag{background-position:0 -48px}.icon-tags{background-position:-25px -48px}.icon-book{background-position:-48px -48px}.icon-bookmark{background-position:-72px -48px}.icon-print{background-position:-96px -48px}.icon-camera{background-position:-120px -48px}.icon-font{background-position:-144px -48px}.icon-bold{background-position:-167px -48px}.icon-italic{background-position:-192px -48px}.icon-text-height{background-position:-216px -48px}.icon-text-width{background-position:-240px -48px}.icon-align-left{background-position:-264px -48px}.icon-align-center{background-position:-288px -48px}.icon-align-right{background-position:-312px -48px}.icon-align-justify{background-position:-336px -48px}.icon-list{background-position:-360px -48px}.icon-indent-left{background-position:-384px -48px}.icon-indent-right{background-position:-408px -48px}.icon-facetime-video{background-position:-432px -48px}.icon-picture{background-position:-456px -48px}.icon-pencil{background-position:0 -72px}.icon-map-marker{background-position:-24px -72px}.icon-adjust{background-position:-48px -72px}.icon-tint{background-position:-72px -72px}.icon-edit{background-position:-96px -72px}.icon-share{background-position:-120px -72px}.icon-check{background-position:-144px -72px}.icon-move{background-position:-168px -72px}.icon-step-backward{background-position:-192px -72px}.icon-fast-backward{background-position:-216px -72px}.icon-backward{background-position:-240px -72px}.icon-play{background-position:-264px -72px}.icon-pause{background-position:-288px -72px}.icon-stop{background-position:-312px -72px}.icon-forward{background-position:-336px -72px}.icon-fast-forward{background-position:-360px -72px}.icon-step-forward{background-position:-384px -72px}.icon-eject{background-position:-408px -72px}.icon-chevron-left{background-position:-432px -72px}.icon-chevron-right{background-position:-456px -72px}.icon-plus-sign{background-position:0 -96px}.icon-minus-sign{background-position:-24px -96px}.icon-remove-sign{background-position:-48px -96px}.icon-ok-sign{background-position:-72px -96px}.icon-question-sign{background-position:-96px -96px}.icon-info-sign{background-position:-120px -96px}.icon-screenshot{background-position:-144px -96px}.icon-remove-circle{background-position:-168px -96px}.icon-ok-circle{background-position:-192px -96px}.icon-ban-circle{background-position:-216px -96px}.icon-arrow-left{background-position:-240px -96px}.icon-arrow-right{background-position:-264px -96px}.icon-arrow-up{background-position:-289px -96px}.icon-arrow-down{background-position:-312px -96px}.icon-share-alt{background-position:-336px -96px}.icon-resize-full{background-position:-360px -96px}.icon-resize-small{background-position:-384px -96px}.icon-plus{background-position:-408px -96px}.icon-minus{background-position:-433px -96px}.icon-asterisk{background-position:-456px -96px}.icon-exclamation-sign{background-position:0 -120px}.icon-gift{background-position:-24px -120px}.icon-leaf{background-position:-48px -120px}.icon-fire{background-position:-72px -120px}.icon-eye-open{background-position:-96px -120px}.icon-eye-close{background-position:-120px -120px}.icon-warning-sign{background-position:-144px -120px}.icon-plane{background-position:-168px -120px}.icon-calendar{background-position:-192px -120px}.icon-random{width:16px;background-position:-216px -120px}.icon-comment{background-position:-240px -120px}.icon-magnet{background-position:-264px -120px}.icon-chevron-up{background-position:-288px -120px}.icon-chevron-down{background-position:-313px -119px}.icon-retweet{background-position:-336px -120px}.icon-shopping-cart{background-position:-360px -120px}.icon-folder-close{width:16px;background-position:-384px -120px}.icon-folder-open{width:16px;background-position:-408px -120px}.icon-resize-vertical{background-position:-432px -119px}.icon-resize-horizontal{background-position:-456px -118px}.icon-hdd{background-position:0 -144px}.icon-bullhorn{background-position:-24px -144px}.icon-bell{background-position:-48px -144px}.icon-certificate{background-position:-72px -144px}.icon-thumbs-up{background-position:-96px -144px}.icon-thumbs-down{background-position:-120px -144px}.icon-hand-right{background-position:-144px -144px}.icon-hand-left{background-position:-168px -144px}.icon-hand-up{background-position:-192px -144px}.icon-hand-down{background-position:-216px -144px}.icon-circle-arrow-right{background-position:-240px -144px}.icon-circle-arrow-left{background-position:-264px -144px}.icon-circle-arrow-up{background-position:-288px -144px}.icon-circle-arrow-down{background-position:-312px -144px}.icon-globe{background-position:-336px -144px}.icon-wrench{background-position:-360px -144px}.icon-tasks{background-position:-384px -144px}.icon-filter{background-position:-408px -144px}.icon-briefcase{background-position:-432px -144px}.icon-fullscreen{background-position:-456px -144px}.dropup,.dropdown{position:relative}.dropdown-toggle{*margin-bottom:-3px}.dropdown-toggle:active,.open .dropdown-toggle{outline:0}.caret{display:inline-block;width:0;height:0;vertical-align:top;border-top:4px solid #000;border-right:4px solid transparent;border-left:4px solid transparent;content:""}.dropdown .caret{margin-top:8px;margin-left:2px}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;list-style:none;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.2);*border-right-width:2px;*border-bottom-width:2px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,0.2);-moz-box-shadow:0 5px 10px rgba(0,0,0,0.2);box-shadow:0 5px 10px rgba(0,0,0,0.2);-webkit-background-clip:padding-box;-moz-background-clip:padding;background-clip:padding-box}.dropdown-menu.pull-right{right:0;left:auto}.dropdown-menu .divider{*width:100%;height:1px;margin:9px 1px;*margin:-5px 0 5px;overflow:hidden;background-color:#e5e5e5;border-bottom:1px solid #fff}.dropdown-menu>li>a{display:block;padding:3px 20px;clear:both;font-weight:normal;line-height:20px;color:#333;white-space:nowrap}.dropdown-menu>li>a:hover,.dropdown-menu>li>a:focus,.dropdown-submenu:hover>a,.dropdown-submenu:focus>a{color:#fff;text-decoration:none;background-color:#0081c2;background-image:-moz-linear-gradient(top,#08c,#0077b3);background-image:-webkit-gradient(linear,0 0,0 100%,from(#08c),to(#0077b3));background-image:-webkit-linear-gradient(top,#08c,#0077b3);background-image:-o-linear-gradient(top,#08c,#0077b3);background-image:linear-gradient(to bottom,#08c,#0077b3);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc',endColorstr='#ff0077b3',GradientType=0)}.dropdown-menu>.active>a,.dropdown-menu>.active>a:hover,.dropdown-menu>.active>a:focus{color:#fff;text-decoration:none;background-color:#0081c2;background-image:-moz-linear-gradient(top,#08c,#0077b3);background-image:-webkit-gradient(linear,0 0,0 100%,from(#08c),to(#0077b3));background-image:-webkit-linear-gradient(top,#08c,#0077b3);background-image:-o-linear-gradient(top,#08c,#0077b3);background-image:linear-gradient(to bottom,#08c,#0077b3);background-repeat:repeat-x;outline:0;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc',endColorstr='#ff0077b3',GradientType=0)}.dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:hover,.dropdown-menu>.disabled>a:focus{color:#999}.dropdown-menu>.disabled>a:hover,.dropdown-menu>.disabled>a:focus{text-decoration:none;cursor:default;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.open{*z-index:1000}.open>.dropdown-menu{display:block}.dropdown-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:990}.pull-right>.dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{border-top:0;border-bottom:4px solid #000;content:""}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:1px}.dropdown-submenu{position:relative}.dropdown-submenu>.dropdown-menu{top:0;left:100%;margin-top:-6px;margin-left:-1px;-webkit-border-radius:0 6px 6px 6px;-moz-border-radius:0 6px 6px 6px;border-radius:0 6px 6px 6px}.dropdown-submenu:hover>.dropdown-menu{display:block}.dropup .dropdown-submenu>.dropdown-menu{top:auto;bottom:0;margin-top:0;margin-bottom:-2px;-webkit-border-radius:5px 5px 5px 0;-moz-border-radius:5px 5px 5px 0;border-radius:5px 5px 5px 0}.dropdown-submenu>a:after{display:block;float:right;width:0;height:0;margin-top:5px;margin-right:-10px;border-color:transparent;border-left-color:#ccc;border-style:solid;border-width:5px 0 5px 5px;content:" "}.dropdown-submenu:hover>a:after{border-left-color:#fff}.dropdown-submenu.pull-left{float:none}.dropdown-submenu.pull-left>.dropdown-menu{left:-100%;margin-left:10px;-webkit-border-radius:6px 0 6px 6px;-moz-border-radius:6px 0 6px 6px;border-radius:6px 0 6px 6px}.dropdown .dropdown-menu .nav-header{padding-right:20px;padding-left:20px}.typeahead{z-index:1051;margin-top:2px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.05);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.05);box-shadow:inset 0 1px 1px rgba(0,0,0,0.05)}.well blockquote{border-color:#ddd;border-color:rgba(0,0,0,0.15)}.well-large{padding:24px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px}.well-small{padding:9px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.fade{opacity:0;-webkit-transition:opacity .15s linear;-moz-transition:opacity .15s linear;-o-transition:opacity .15s linear;transition:opacity .15s linear}.fade.in{opacity:1}.collapse{position:relative;height:0;overflow:hidden;-webkit-transition:height .35s ease;-moz-transition:height .35s ease;-o-transition:height .35s ease;transition:height .35s ease}.collapse.in{height:auto}.close{float:right;font-size:20px;font-weight:bold;line-height:20px;color:#000;text-shadow:0 1px 0 #fff;opacity:.2;filter:alpha(opacity=20)}.close:hover,.close:focus{color:#000;text-decoration:none;cursor:pointer;opacity:.4;filter:alpha(opacity=40)}button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-appearance:none}.btn{display:inline-block;*display:inline;padding:4px 12px;margin-bottom:0;*margin-left:.3em;font-size:14px;line-height:20px;color:#333;text-align:center;text-shadow:0 1px 1px rgba(255,255,255,0.75);vertical-align:middle;cursor:pointer;background-color:#f5f5f5;*background-color:#e6e6e6;background-image:-moz-linear-gradient(top,#fff,#e6e6e6);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fff),to(#e6e6e6));background-image:-webkit-linear-gradient(top,#fff,#e6e6e6);background-image:-o-linear-gradient(top,#fff,#e6e6e6);background-image:linear-gradient(to bottom,#fff,#e6e6e6);background-repeat:repeat-x;border:1px solid #ccc;*border:0;border-color:#e6e6e6 #e6e6e6 #bfbfbf;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);border-bottom-color:#b3b3b3;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff',endColorstr='#ffe6e6e6',GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);*zoom:1;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);box-shadow:inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05)}.btn:hover,.btn:focus,.btn:active,.btn.active,.btn.disabled,.btn[disabled]{color:#333;background-color:#e6e6e6;*background-color:#d9d9d9}.btn:active,.btn.active{background-color:#ccc \9}.btn:first-child{*margin-left:0}.btn:hover,.btn:focus{color:#333;text-decoration:none;background-position:0 -15px;-webkit-transition:background-position .1s linear;-moz-transition:background-position .1s linear;-o-transition:background-position .1s linear;transition:background-position .1s linear}.btn:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn.active,.btn:active{background-image:none;outline:0;-webkit-box-shadow:inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05);-moz-box-shadow:inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05);box-shadow:inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05)}.btn.disabled,.btn[disabled]{cursor:default;background-image:none;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.btn-large{padding:11px 19px;font-size:17.5px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px}.btn-large [class^="icon-"],.btn-large [class*=" icon-"]{margin-top:4px}.btn-small{padding:2px 10px;font-size:11.9px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.btn-small [class^="icon-"],.btn-small [class*=" icon-"]{margin-top:0}.btn-mini [class^="icon-"],.btn-mini [class*=" icon-"]{margin-top:-1px}.btn-mini{padding:0 6px;font-size:10.5px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.btn-block{display:block;width:100%;padding-right:0;padding-left:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.btn-block+.btn-block{margin-top:5px}input[type="submit"].btn-block,input[type="reset"].btn-block,input[type="button"].btn-block{width:100%}.btn-primary.active,.btn-warning.active,.btn-danger.active,.btn-success.active,.btn-info.active,.btn-inverse.active{color:rgba(255,255,255,0.75)}.btn-primary{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#006dcc;*background-color:#04c;background-image:-moz-linear-gradient(top,#08c,#04c);background-image:-webkit-gradient(linear,0 0,0 100%,from(#08c),to(#04c));background-image:-webkit-linear-gradient(top,#08c,#04c);background-image:-o-linear-gradient(top,#08c,#04c);background-image:linear-gradient(to bottom,#08c,#04c);background-repeat:repeat-x;border-color:#04c #04c #002a80;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc',endColorstr='#ff0044cc',GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-primary:hover,.btn-primary:focus,.btn-primary:active,.btn-primary.active,.btn-primary.disabled,.btn-primary[disabled]{color:#fff;background-color:#04c;*background-color:#003bb3}.btn-primary:active,.btn-primary.active{background-color:#039 \9}.btn-warning{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#faa732;*background-color:#f89406;background-image:-moz-linear-gradient(top,#fbb450,#f89406);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fbb450),to(#f89406));background-image:-webkit-linear-gradient(top,#fbb450,#f89406);background-image:-o-linear-gradient(top,#fbb450,#f89406);background-image:linear-gradient(to bottom,#fbb450,#f89406);background-repeat:repeat-x;border-color:#f89406 #f89406 #ad6704;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffbb450',endColorstr='#fff89406',GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-warning:hover,.btn-warning:focus,.btn-warning:active,.btn-warning.active,.btn-warning.disabled,.btn-warning[disabled]{color:#fff;background-color:#f89406;*background-color:#df8505}.btn-warning:active,.btn-warning.active{background-color:#c67605 \9}.btn-danger{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#da4f49;*background-color:#bd362f;background-image:-moz-linear-gradient(top,#ee5f5b,#bd362f);background-image:-webkit-gradient(linear,0 0,0 100%,from(#ee5f5b),to(#bd362f));background-image:-webkit-linear-gradient(top,#ee5f5b,#bd362f);background-image:-o-linear-gradient(top,#ee5f5b,#bd362f);background-image:linear-gradient(to bottom,#ee5f5b,#bd362f);background-repeat:repeat-x;border-color:#bd362f #bd362f #802420;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffee5f5b',endColorstr='#ffbd362f',GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-danger:hover,.btn-danger:focus,.btn-danger:active,.btn-danger.active,.btn-danger.disabled,.btn-danger[disabled]{color:#fff;background-color:#bd362f;*background-color:#a9302a}.btn-danger:active,.btn-danger.active{background-color:#942a25 \9}.btn-success{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#5bb75b;*background-color:#51a351;background-image:-moz-linear-gradient(top,#62c462,#51a351);background-image:-webkit-gradient(linear,0 0,0 100%,from(#62c462),to(#51a351));background-image:-webkit-linear-gradient(top,#62c462,#51a351);background-image:-o-linear-gradient(top,#62c462,#51a351);background-image:linear-gradient(to bottom,#62c462,#51a351);background-repeat:repeat-x;border-color:#51a351 #51a351 #387038;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff62c462',endColorstr='#ff51a351',GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-success:hover,.btn-success:focus,.btn-success:active,.btn-success.active,.btn-success.disabled,.btn-success[disabled]{color:#fff;background-color:#51a351;*background-color:#499249}.btn-success:active,.btn-success.active{background-color:#408140 \9}.btn-info{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#49afcd;*background-color:#2f96b4;background-image:-moz-linear-gradient(top,#5bc0de,#2f96b4);background-image:-webkit-gradient(linear,0 0,0 100%,from(#5bc0de),to(#2f96b4));background-image:-webkit-linear-gradient(top,#5bc0de,#2f96b4);background-image:-o-linear-gradient(top,#5bc0de,#2f96b4);background-image:linear-gradient(to bottom,#5bc0de,#2f96b4);background-repeat:repeat-x;border-color:#2f96b4 #2f96b4 #1f6377;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de',endColorstr='#ff2f96b4',GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-info:hover,.btn-info:focus,.btn-info:active,.btn-info.active,.btn-info.disabled,.btn-info[disabled]{color:#fff;background-color:#2f96b4;*background-color:#2a85a0}.btn-info:active,.btn-info.active{background-color:#24748c \9}.btn-inverse{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#363636;*background-color:#222;background-image:-moz-linear-gradient(top,#444,#222);background-image:-webkit-gradient(linear,0 0,0 100%,from(#444),to(#222));background-image:-webkit-linear-gradient(top,#444,#222);background-image:-o-linear-gradient(top,#444,#222);background-image:linear-gradient(to bottom,#444,#222);background-repeat:repeat-x;border-color:#222 #222 #000;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff444444',endColorstr='#ff222222',GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-inverse:hover,.btn-inverse:focus,.btn-inverse:active,.btn-inverse.active,.btn-inverse.disabled,.btn-inverse[disabled]{color:#fff;background-color:#222;*background-color:#151515}.btn-inverse:active,.btn-inverse.active{background-color:#080808 \9}button.btn,input[type="submit"].btn{*padding-top:3px;*padding-bottom:3px}button.btn::-moz-focus-inner,input[type="submit"].btn::-moz-focus-inner{padding:0;border:0}button.btn.btn-large,input[type="submit"].btn.btn-large{*padding-top:7px;*padding-bottom:7px}button.btn.btn-small,input[type="submit"].btn.btn-small{*padding-top:3px;*padding-bottom:3px}button.btn.btn-mini,input[type="submit"].btn.btn-mini{*padding-top:1px;*padding-bottom:1px}.btn-link,.btn-link:active,.btn-link[disabled]{background-color:transparent;background-image:none;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.btn-link{color:#08c;cursor:pointer;border-color:transparent;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.btn-link:hover,.btn-link:focus{color:#005580;text-decoration:underline;background-color:transparent}.btn-link[disabled]:hover,.btn-link[disabled]:focus{color:#333;text-decoration:none}.btn-group{position:relative;display:inline-block;*display:inline;*margin-left:.3em;font-size:0;white-space:nowrap;vertical-align:middle;*zoom:1}.btn-group:first-child{*margin-left:0}.btn-group+.btn-group{margin-left:5px}.btn-toolbar{margin-top:10px;margin-bottom:10px;font-size:0}.btn-toolbar>.btn+.btn,.btn-toolbar>.btn-group+.btn,.btn-toolbar>.btn+.btn-group{margin-left:5px}.btn-group>.btn{position:relative;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.btn-group>.btn+.btn{margin-left:-1px}.btn-group>.btn,.btn-group>.dropdown-menu,.btn-group>.popover{font-size:14px}.btn-group>.btn-mini{font-size:10.5px}.btn-group>.btn-small{font-size:11.9px}.btn-group>.btn-large{font-size:17.5px}.btn-group>.btn:first-child{margin-left:0;-webkit-border-bottom-left-radius:4px;border-bottom-left-radius:4px;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-moz-border-radius-bottomleft:4px;-moz-border-radius-topleft:4px}.btn-group>.btn:last-child,.btn-group>.dropdown-toggle{-webkit-border-top-right-radius:4px;border-top-right-radius:4px;-webkit-border-bottom-right-radius:4px;border-bottom-right-radius:4px;-moz-border-radius-topright:4px;-moz-border-radius-bottomright:4px}.btn-group>.btn.large:first-child{margin-left:0;-webkit-border-bottom-left-radius:6px;border-bottom-left-radius:6px;-webkit-border-top-left-radius:6px;border-top-left-radius:6px;-moz-border-radius-bottomleft:6px;-moz-border-radius-topleft:6px}.btn-group>.btn.large:last-child,.btn-group>.large.dropdown-toggle{-webkit-border-top-right-radius:6px;border-top-right-radius:6px;-webkit-border-bottom-right-radius:6px;border-bottom-right-radius:6px;-moz-border-radius-topright:6px;-moz-border-radius-bottomright:6px}.btn-group>.btn:hover,.btn-group>.btn:focus,.btn-group>.btn:active,.btn-group>.btn.active{z-index:2}.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn-group>.btn+.dropdown-toggle{*padding-top:5px;padding-right:8px;*padding-bottom:5px;padding-left:8px;-webkit-box-shadow:inset 1px 0 0 rgba(255,255,255,0.125),inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);-moz-box-shadow:inset 1px 0 0 rgba(255,255,255,0.125),inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);box-shadow:inset 1px 0 0 rgba(255,255,255,0.125),inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05)}.btn-group>.btn-mini+.dropdown-toggle{*padding-top:2px;padding-right:5px;*padding-bottom:2px;padding-left:5px}.btn-group>.btn-small+.dropdown-toggle{*padding-top:5px;*padding-bottom:4px}.btn-group>.btn-large+.dropdown-toggle{*padding-top:7px;padding-right:12px;*padding-bottom:7px;padding-left:12px}.btn-group.open .dropdown-toggle{background-image:none;-webkit-box-shadow:inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05);-moz-box-shadow:inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05);box-shadow:inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05)}.btn-group.open .btn.dropdown-toggle{background-color:#e6e6e6}.btn-group.open .btn-primary.dropdown-toggle{background-color:#04c}.btn-group.open .btn-warning.dropdown-toggle{background-color:#f89406}.btn-group.open .btn-danger.dropdown-toggle{background-color:#bd362f}.btn-group.open .btn-success.dropdown-toggle{background-color:#51a351}.btn-group.open .btn-info.dropdown-toggle{background-color:#2f96b4}.btn-group.open .btn-inverse.dropdown-toggle{background-color:#222}.btn .caret{margin-top:8px;margin-left:0}.btn-large .caret{margin-top:6px}.btn-large .caret{border-top-width:5px;border-right-width:5px;border-left-width:5px}.btn-mini .caret,.btn-small .caret{margin-top:8px}.dropup .btn-large .caret{border-bottom-width:5px}.btn-primary .caret,.btn-warning .caret,.btn-danger .caret,.btn-info .caret,.btn-success .caret,.btn-inverse .caret{border-top-color:#fff;border-bottom-color:#fff}.btn-group-vertical{display:inline-block;*display:inline;*zoom:1}.btn-group-vertical>.btn{display:block;float:none;max-width:100%;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.btn-group-vertical>.btn+.btn{margin-top:-1px;margin-left:0}.btn-group-vertical>.btn:first-child{-webkit-border-radius:4px 4px 0 0;-moz-border-radius:4px 4px 0 0;border-radius:4px 4px 0 0}.btn-group-vertical>.btn:last-child{-webkit-border-radius:0 0 4px 4px;-moz-border-radius:0 0 4px 4px;border-radius:0 0 4px 4px}.btn-group-vertical>.btn-large:first-child{-webkit-border-radius:6px 6px 0 0;-moz-border-radius:6px 6px 0 0;border-radius:6px 6px 0 0}.btn-group-vertical>.btn-large:last-child{-webkit-border-radius:0 0 6px 6px;-moz-border-radius:0 0 6px 6px;border-radius:0 0 6px 6px}.alert{padding:8px 35px 8px 14px;margin-bottom:20px;text-shadow:0 1px 0 rgba(255,255,255,0.5);background-color:#fcf8e3;border:1px solid #fbeed5;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.alert,.alert h4{color:#c09853}.alert h4{margin:0}.alert .close{position:relative;top:-2px;right:-21px;line-height:20px}.alert-success{color:#468847;background-color:#dff0d8;border-color:#d6e9c6}.alert-success h4{color:#468847}.alert-danger,.alert-error{color:#b94a48;background-color:#f2dede;border-color:#eed3d7}.alert-danger h4,.alert-error h4{color:#b94a48}.alert-info{color:#3a87ad;background-color:#d9edf7;border-color:#bce8f1}.alert-info h4{color:#3a87ad}.alert-block{padding-top:14px;padding-bottom:14px}.alert-block>p,.alert-block>ul{margin-bottom:0}.alert-block p+p{margin-top:5px}.nav{margin-bottom:20px;margin-left:0;list-style:none}.nav>li>a{display:block}.nav>li>a:hover,.nav>li>a:focus{text-decoration:none;background-color:#eee}.nav>li>a>img{max-width:none}.nav>.pull-right{float:right}.nav-header{display:block;padding:3px 15px;font-size:11px;font-weight:bold;line-height:20px;color:#999;text-shadow:0 1px 0 rgba(255,255,255,0.5);text-transform:uppercase}.nav li+.nav-header{margin-top:9px}.nav-list{padding-right:15px;padding-left:15px;margin-bottom:0}.nav-list>li>a,.nav-list .nav-header{margin-right:-15px;margin-left:-15px;text-shadow:0 1px 0 rgba(255,255,255,0.5)}.nav-list>li>a{padding:3px 15px}.nav-list>.active>a,.nav-list>.active>a:hover,.nav-list>.active>a:focus{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.2);background-color:#08c}.nav-list [class^="icon-"],.nav-list [class*=" icon-"]{margin-right:2px}.nav-list .divider{*width:100%;height:1px;margin:9px 1px;*margin:-5px 0 5px;overflow:hidden;background-color:#e5e5e5;border-bottom:1px solid #fff}.nav-tabs,.nav-pills{*zoom:1}.nav-tabs:before,.nav-pills:before,.nav-tabs:after,.nav-pills:after{display:table;line-height:0;content:""}.nav-tabs:after,.nav-pills:after{clear:both}.nav-tabs>li,.nav-pills>li{float:left}.nav-tabs>li>a,.nav-pills>li>a{padding-right:12px;padding-left:12px;margin-right:2px;line-height:14px}.nav-tabs{border-bottom:1px solid #ddd}.nav-tabs>li{margin-bottom:-1px}.nav-tabs>li>a{padding-top:8px;padding-bottom:8px;line-height:20px;border:1px solid transparent;-webkit-border-radius:4px 4px 0 0;-moz-border-radius:4px 4px 0 0;border-radius:4px 4px 0 0}.nav-tabs>li>a:hover,.nav-tabs>li>a:focus{border-color:#eee #eee #ddd}.nav-tabs>.active>a,.nav-tabs>.active>a:hover,.nav-tabs>.active>a:focus{color:#555;cursor:default;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent}.nav-pills>li>a{padding-top:8px;padding-bottom:8px;margin-top:2px;margin-bottom:2px;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.nav-pills>.active>a,.nav-pills>.active>a:hover,.nav-pills>.active>a:focus{color:#fff;background-color:#08c}.nav-stacked>li{float:none}.nav-stacked>li>a{margin-right:0}.nav-tabs.nav-stacked{border-bottom:0}.nav-tabs.nav-stacked>li>a{border:1px solid #ddd;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.nav-tabs.nav-stacked>li:first-child>a{-webkit-border-top-right-radius:4px;border-top-right-radius:4px;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-moz-border-radius-topright:4px;-moz-border-radius-topleft:4px}.nav-tabs.nav-stacked>li:last-child>a{-webkit-border-bottom-right-radius:4px;border-bottom-right-radius:4px;-webkit-border-bottom-left-radius:4px;border-bottom-left-radius:4px;-moz-border-radius-bottomright:4px;-moz-border-radius-bottomleft:4px}.nav-tabs.nav-stacked>li>a:hover,.nav-tabs.nav-stacked>li>a:focus{z-index:2;border-color:#ddd}.nav-pills.nav-stacked>li>a{margin-bottom:3px}.nav-pills.nav-stacked>li:last-child>a{margin-bottom:1px}.nav-tabs .dropdown-menu{-webkit-border-radius:0 0 6px 6px;-moz-border-radius:0 0 6px 6px;border-radius:0 0 6px 6px}.nav-pills .dropdown-menu{-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px}.nav .dropdown-toggle .caret{margin-top:6px;border-top-color:#08c;border-bottom-color:#08c}.nav .dropdown-toggle:hover .caret,.nav .dropdown-toggle:focus .caret{border-top-color:#005580;border-bottom-color:#005580}.nav-tabs .dropdown-toggle .caret{margin-top:8px}.nav .active .dropdown-toggle .caret{border-top-color:#fff;border-bottom-color:#fff}.nav-tabs .active .dropdown-toggle .caret{border-top-color:#555;border-bottom-color:#555}.nav>.dropdown.active>a:hover,.nav>.dropdown.active>a:focus{cursor:pointer}.nav-tabs .open .dropdown-toggle,.nav-pills .open .dropdown-toggle,.nav>li.dropdown.open.active>a:hover,.nav>li.dropdown.open.active>a:focus{color:#fff;background-color:#999;border-color:#999}.nav li.dropdown.open .caret,.nav li.dropdown.open.active .caret,.nav li.dropdown.open a:hover .caret,.nav li.dropdown.open a:focus .caret{border-top-color:#fff;border-bottom-color:#fff;opacity:1;filter:alpha(opacity=100)}.tabs-stacked .open>a:hover,.tabs-stacked .open>a:focus{border-color:#999}.tabbable{*zoom:1}.tabbable:before,.tabbable:after{display:table;line-height:0;content:""}.tabbable:after{clear:both}.tab-content{overflow:auto}.tabs-below>.nav-tabs,.tabs-right>.nav-tabs,.tabs-left>.nav-tabs{border-bottom:0}.tab-content>.tab-pane,.pill-content>.pill-pane{display:none}.tab-content>.active,.pill-content>.active{display:block}.tabs-below>.nav-tabs{border-top:1px solid #ddd}.tabs-below>.nav-tabs>li{margin-top:-1px;margin-bottom:0}.tabs-below>.nav-tabs>li>a{-webkit-border-radius:0 0 4px 4px;-moz-border-radius:0 0 4px 4px;border-radius:0 0 4px 4px}.tabs-below>.nav-tabs>li>a:hover,.tabs-below>.nav-tabs>li>a:focus{border-top-color:#ddd;border-bottom-color:transparent}.tabs-below>.nav-tabs>.active>a,.tabs-below>.nav-tabs>.active>a:hover,.tabs-below>.nav-tabs>.active>a:focus{border-color:transparent #ddd #ddd #ddd}.tabs-left>.nav-tabs>li,.tabs-right>.nav-tabs>li{float:none}.tabs-left>.nav-tabs>li>a,.tabs-right>.nav-tabs>li>a{min-width:74px;margin-right:0;margin-bottom:3px}.tabs-left>.nav-tabs{float:left;margin-right:19px;border-right:1px solid #ddd}.tabs-left>.nav-tabs>li>a{margin-right:-1px;-webkit-border-radius:4px 0 0 4px;-moz-border-radius:4px 0 0 4px;border-radius:4px 0 0 4px}.tabs-left>.nav-tabs>li>a:hover,.tabs-left>.nav-tabs>li>a:focus{border-color:#eee #ddd #eee #eee}.tabs-left>.nav-tabs .active>a,.tabs-left>.nav-tabs .active>a:hover,.tabs-left>.nav-tabs .active>a:focus{border-color:#ddd transparent #ddd #ddd;*border-right-color:#fff}.tabs-right>.nav-tabs{float:right;margin-left:19px;border-left:1px solid #ddd}.tabs-right>.nav-tabs>li>a{margin-left:-1px;-webkit-border-radius:0 4px 4px 0;-moz-border-radius:0 4px 4px 0;border-radius:0 4px 4px 0}.tabs-right>.nav-tabs>li>a:hover,.tabs-right>.nav-tabs>li>a:focus{border-color:#eee #eee #eee #ddd}.tabs-right>.nav-tabs .active>a,.tabs-right>.nav-tabs .active>a:hover,.tabs-right>.nav-tabs .active>a:focus{border-color:#ddd #ddd #ddd transparent;*border-left-color:#fff}.nav>.disabled>a{color:#999}.nav>.disabled>a:hover,.nav>.disabled>a:focus{text-decoration:none;cursor:default;background-color:transparent}.navbar{*position:relative;*z-index:2;margin-bottom:20px;overflow:visible}.navbar-inner{min-height:40px;padding-right:20px;padding-left:20px;background-color:#fafafa;background-image:-moz-linear-gradient(top,#fff,#f2f2f2);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fff),to(#f2f2f2));background-image:-webkit-linear-gradient(top,#fff,#f2f2f2);background-image:-o-linear-gradient(top,#fff,#f2f2f2);background-image:linear-gradient(to bottom,#fff,#f2f2f2);background-repeat:repeat-x;border:1px solid #d4d4d4;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff',endColorstr='#fff2f2f2',GradientType=0);*zoom:1;-webkit-box-shadow:0 1px 4px rgba(0,0,0,0.065);-moz-box-shadow:0 1px 4px rgba(0,0,0,0.065);box-shadow:0 1px 4px rgba(0,0,0,0.065)}.navbar-inner:before,.navbar-inner:after{display:table;line-height:0;content:""}.navbar-inner:after{clear:both}.navbar .container{width:auto}.nav-collapse.collapse{height:auto;overflow:visible}.navbar .brand{display:block;float:left;padding:10px 20px 10px;margin-left:-20px;font-size:20px;font-weight:200;color:#777;text-shadow:0 1px 0 #fff}.navbar .brand:hover,.navbar .brand:focus{text-decoration:none}.navbar-text{margin-bottom:0;line-height:40px;color:#777}.navbar-link{color:#777}.navbar-link:hover,.navbar-link:focus{color:#333}.navbar .divider-vertical{height:40px;margin:0 9px;border-right:1px solid #fff;border-left:1px solid #f2f2f2}.navbar .btn,.navbar .btn-group{margin-top:5px}.navbar .btn-group .btn,.navbar .input-prepend .btn,.navbar .input-append .btn,.navbar .input-prepend .btn-group,.navbar .input-append .btn-group{margin-top:0}.navbar-form{margin-bottom:0;*zoom:1}.navbar-form:before,.navbar-form:after{display:table;line-height:0;content:""}.navbar-form:after{clear:both}.navbar-form input,.navbar-form select,.navbar-form .radio,.navbar-form .checkbox{margin-top:5px}.navbar-form input,.navbar-form select,.navbar-form .btn{display:inline-block;margin-bottom:0}.navbar-form input[type="image"],.navbar-form input[type="checkbox"],.navbar-form input[type="radio"]{margin-top:3px}.navbar-form .input-append,.navbar-form .input-prepend{margin-top:5px;white-space:nowrap}.navbar-form .input-append input,.navbar-form .input-prepend input{margin-top:0}.navbar-search{position:relative;float:left;margin-top:5px;margin-bottom:0}.navbar-search .search-query{padding:4px 14px;margin-bottom:0;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;font-weight:normal;line-height:1;-webkit-border-radius:15px;-moz-border-radius:15px;border-radius:15px}.navbar-static-top{position:static;margin-bottom:0}.navbar-static-top .navbar-inner{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.navbar-fixed-top,.navbar-fixed-bottom{position:fixed;right:0;left:0;z-index:1030;margin-bottom:0}.navbar-fixed-top .navbar-inner,.navbar-static-top .navbar-inner{border-width:0 0 1px}.navbar-fixed-bottom .navbar-inner{border-width:1px 0 0}.navbar-fixed-top .navbar-inner,.navbar-fixed-bottom .navbar-inner{padding-right:0;padding-left:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.navbar-static-top .container,.navbar-fixed-top .container,.navbar-fixed-bottom .container{width:940px}.navbar-fixed-top{top:0}.navbar-fixed-top .navbar-inner,.navbar-static-top .navbar-inner{-webkit-box-shadow:0 1px 10px rgba(0,0,0,0.1);-moz-box-shadow:0 1px 10px rgba(0,0,0,0.1);box-shadow:0 1px 10px rgba(0,0,0,0.1)}.navbar-fixed-bottom{bottom:0}.navbar-fixed-bottom .navbar-inner{-webkit-box-shadow:0 -1px 10px rgba(0,0,0,0.1);-moz-box-shadow:0 -1px 10px rgba(0,0,0,0.1);box-shadow:0 -1px 10px rgba(0,0,0,0.1)}.navbar .nav{position:relative;left:0;display:block;float:left;margin:0 10px 0 0}.navbar .nav.pull-right{float:right;margin-right:0}.navbar .nav>li{float:left}.navbar .nav>li>a{float:none;padding:10px 15px 10px;color:#777;text-decoration:none;text-shadow:0 1px 0 #fff}.navbar .nav .dropdown-toggle .caret{margin-top:8px}.navbar .nav>li>a:focus,.navbar .nav>li>a:hover{color:#333;text-decoration:none;background-color:transparent}.navbar .nav>.active>a,.navbar .nav>.active>a:hover,.navbar .nav>.active>a:focus{color:#555;text-decoration:none;background-color:#e5e5e5;-webkit-box-shadow:inset 0 3px 8px rgba(0,0,0,0.125);-moz-box-shadow:inset 0 3px 8px rgba(0,0,0,0.125);box-shadow:inset 0 3px 8px rgba(0,0,0,0.125)}.navbar .btn-navbar{display:none;float:right;padding:7px 10px;margin-right:5px;margin-left:5px;color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#ededed;*background-color:#e5e5e5;background-image:-moz-linear-gradient(top,#f2f2f2,#e5e5e5);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f2f2f2),to(#e5e5e5));background-image:-webkit-linear-gradient(top,#f2f2f2,#e5e5e5);background-image:-o-linear-gradient(top,#f2f2f2,#e5e5e5);background-image:linear-gradient(to bottom,#f2f2f2,#e5e5e5);background-repeat:repeat-x;border-color:#e5e5e5 #e5e5e5 #bfbfbf;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2f2f2',endColorstr='#ffe5e5e5',GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.075);-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.075);box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.075)}.navbar .btn-navbar:hover,.navbar .btn-navbar:focus,.navbar .btn-navbar:active,.navbar .btn-navbar.active,.navbar .btn-navbar.disabled,.navbar .btn-navbar[disabled]{color:#fff;background-color:#e5e5e5;*background-color:#d9d9d9}.navbar .btn-navbar:active,.navbar .btn-navbar.active{background-color:#ccc \9}.navbar .btn-navbar .icon-bar{display:block;width:18px;height:2px;background-color:#f5f5f5;-webkit-border-radius:1px;-moz-border-radius:1px;border-radius:1px;-webkit-box-shadow:0 1px 0 rgba(0,0,0,0.25);-moz-box-shadow:0 1px 0 rgba(0,0,0,0.25);box-shadow:0 1px 0 rgba(0,0,0,0.25)}.btn-navbar .icon-bar+.icon-bar{margin-top:3px}.navbar .nav>li>.dropdown-menu:before{position:absolute;top:-7px;left:9px;display:inline-block;border-right:7px solid transparent;border-bottom:7px solid #ccc;border-left:7px solid transparent;border-bottom-color:rgba(0,0,0,0.2);content:''}.navbar .nav>li>.dropdown-menu:after{position:absolute;top:-6px;left:10px;display:inline-block;border-right:6px solid transparent;border-bottom:6px solid #fff;border-left:6px solid transparent;content:''}.navbar-fixed-bottom .nav>li>.dropdown-menu:before{top:auto;bottom:-7px;border-top:7px solid #ccc;border-bottom:0;border-top-color:rgba(0,0,0,0.2)}.navbar-fixed-bottom .nav>li>.dropdown-menu:after{top:auto;bottom:-6px;border-top:6px solid #fff;border-bottom:0}.navbar .nav li.dropdown>a:hover .caret,.navbar .nav li.dropdown>a:focus .caret{border-top-color:#333;border-bottom-color:#333}.navbar .nav li.dropdown.open>.dropdown-toggle,.navbar .nav li.dropdown.active>.dropdown-toggle,.navbar .nav li.dropdown.open.active>.dropdown-toggle{color:#555;background-color:#e5e5e5}.navbar .nav li.dropdown>.dropdown-toggle .caret{border-top-color:#777;border-bottom-color:#777}.navbar .nav li.dropdown.open>.dropdown-toggle .caret,.navbar .nav li.dropdown.active>.dropdown-toggle .caret,.navbar .nav li.dropdown.open.active>.dropdown-toggle .caret{border-top-color:#555;border-bottom-color:#555}.navbar .pull-right>li>.dropdown-menu,.navbar .nav>li>.dropdown-menu.pull-right{right:0;left:auto}.navbar .pull-right>li>.dropdown-menu:before,.navbar .nav>li>.dropdown-menu.pull-right:before{right:12px;left:auto}.navbar .pull-right>li>.dropdown-menu:after,.navbar .nav>li>.dropdown-menu.pull-right:after{right:13px;left:auto}.navbar .pull-right>li>.dropdown-menu .dropdown-menu,.navbar .nav>li>.dropdown-menu.pull-right .dropdown-menu{right:100%;left:auto;margin-right:-1px;margin-left:0;-webkit-border-radius:6px 0 6px 6px;-moz-border-radius:6px 0 6px 6px;border-radius:6px 0 6px 6px}.navbar-inverse .navbar-inner{background-color:#1b1b1b;background-image:-moz-linear-gradient(top,#222,#111);background-image:-webkit-gradient(linear,0 0,0 100%,from(#222),to(#111));background-image:-webkit-linear-gradient(top,#222,#111);background-image:-o-linear-gradient(top,#222,#111);background-image:linear-gradient(to bottom,#222,#111);background-repeat:repeat-x;border-color:#252525;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff222222',endColorstr='#ff111111',GradientType=0)}.navbar-inverse .brand,.navbar-inverse .nav>li>a{color:#999;text-shadow:0 -1px 0 rgba(0,0,0,0.25)}.navbar-inverse .brand:hover,.navbar-inverse .nav>li>a:hover,.navbar-inverse .brand:focus,.navbar-inverse .nav>li>a:focus{color:#fff}.navbar-inverse .brand{color:#999}.navbar-inverse .navbar-text{color:#999}.navbar-inverse .nav>li>a:focus,.navbar-inverse .nav>li>a:hover{color:#fff;background-color:transparent}.navbar-inverse .nav .active>a,.navbar-inverse .nav .active>a:hover,.navbar-inverse .nav .active>a:focus{color:#fff;background-color:#111}.navbar-inverse .navbar-link{color:#999}.navbar-inverse .navbar-link:hover,.navbar-inverse .navbar-link:focus{color:#fff}.navbar-inverse .divider-vertical{border-right-color:#222;border-left-color:#111}.navbar-inverse .nav li.dropdown.open>.dropdown-toggle,.navbar-inverse .nav li.dropdown.active>.dropdown-toggle,.navbar-inverse .nav li.dropdown.open.active>.dropdown-toggle{color:#fff;background-color:#111}.navbar-inverse .nav li.dropdown>a:hover .caret,.navbar-inverse .nav li.dropdown>a:focus .caret{border-top-color:#fff;border-bottom-color:#fff}.navbar-inverse .nav li.dropdown>.dropdown-toggle .caret{border-top-color:#999;border-bottom-color:#999}.navbar-inverse .nav li.dropdown.open>.dropdown-toggle .caret,.navbar-inverse .nav li.dropdown.active>.dropdown-toggle .caret,.navbar-inverse .nav li.dropdown.open.active>.dropdown-toggle .caret{border-top-color:#fff;border-bottom-color:#fff}.navbar-inverse .navbar-search .search-query{color:#fff;background-color:#515151;border-color:#111;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.1),0 1px 0 rgba(255,255,255,0.15);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,0.1),0 1px 0 rgba(255,255,255,0.15);box-shadow:inset 0 1px 2px rgba(0,0,0,0.1),0 1px 0 rgba(255,255,255,0.15);-webkit-transition:none;-moz-transition:none;-o-transition:none;transition:none}.navbar-inverse .navbar-search .search-query:-moz-placeholder{color:#ccc}.navbar-inverse .navbar-search .search-query:-ms-input-placeholder{color:#ccc}.navbar-inverse .navbar-search .search-query::-webkit-input-placeholder{color:#ccc}.navbar-inverse .navbar-search .search-query:focus,.navbar-inverse .navbar-search .search-query.focused{padding:5px 15px;color:#333;text-shadow:0 1px 0 #fff;background-color:#fff;border:0;outline:0;-webkit-box-shadow:0 0 3px rgba(0,0,0,0.15);-moz-box-shadow:0 0 3px rgba(0,0,0,0.15);box-shadow:0 0 3px rgba(0,0,0,0.15)}.navbar-inverse .btn-navbar{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#0e0e0e;*background-color:#040404;background-image:-moz-linear-gradient(top,#151515,#040404);background-image:-webkit-gradient(linear,0 0,0 100%,from(#151515),to(#040404));background-image:-webkit-linear-gradient(top,#151515,#040404);background-image:-o-linear-gradient(top,#151515,#040404);background-image:linear-gradient(to bottom,#151515,#040404);background-repeat:repeat-x;border-color:#040404 #040404 #000;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff151515',endColorstr='#ff040404',GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.navbar-inverse .btn-navbar:hover,.navbar-inverse .btn-navbar:focus,.navbar-inverse .btn-navbar:active,.navbar-inverse .btn-navbar.active,.navbar-inverse .btn-navbar.disabled,.navbar-inverse .btn-navbar[disabled]{color:#fff;background-color:#040404;*background-color:#000}.navbar-inverse .btn-navbar:active,.navbar-inverse .btn-navbar.active{background-color:#000 \9}.breadcrumb{padding:8px 15px;margin:0 0 20px;list-style:none;background-color:#f5f5f5;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.breadcrumb>li{display:inline-block;*display:inline;text-shadow:0 1px 0 #fff;*zoom:1}.breadcrumb>li>.divider{padding:0 5px;color:#ccc}.breadcrumb>.active{color:#999}.pagination{margin:20px 0}.pagination ul{display:inline-block;*display:inline;margin-bottom:0;margin-left:0;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;*zoom:1;-webkit-box-shadow:0 1px 2px rgba(0,0,0,0.05);-moz-box-shadow:0 1px 2px rgba(0,0,0,0.05);box-shadow:0 1px 2px rgba(0,0,0,0.05)}.pagination ul>li{display:inline}.pagination ul>li>a,.pagination ul>li>span{float:left;padding:4px 12px;line-height:20px;text-decoration:none;background-color:#fff;border:1px solid #ddd;border-left-width:0}.pagination ul>li>a:hover,.pagination ul>li>a:focus,.pagination ul>.active>a,.pagination ul>.active>span{background-color:#f5f5f5}.pagination ul>.active>a,.pagination ul>.active>span{color:#999;cursor:default}.pagination ul>.disabled>span,.pagination ul>.disabled>a,.pagination ul>.disabled>a:hover,.pagination ul>.disabled>a:focus{color:#999;cursor:default;background-color:transparent}.pagination ul>li:first-child>a,.pagination ul>li:first-child>span{border-left-width:1px;-webkit-border-bottom-left-radius:4px;border-bottom-left-radius:4px;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-moz-border-radius-bottomleft:4px;-moz-border-radius-topleft:4px}.pagination ul>li:last-child>a,.pagination ul>li:last-child>span{-webkit-border-top-right-radius:4px;border-top-right-radius:4px;-webkit-border-bottom-right-radius:4px;border-bottom-right-radius:4px;-moz-border-radius-topright:4px;-moz-border-radius-bottomright:4px}.pagination-centered{text-align:center}.pagination-right{text-align:right}.pagination-large ul>li>a,.pagination-large ul>li>span{padding:11px 19px;font-size:17.5px}.pagination-large ul>li:first-child>a,.pagination-large ul>li:first-child>span{-webkit-border-bottom-left-radius:6px;border-bottom-left-radius:6px;-webkit-border-top-left-radius:6px;border-top-left-radius:6px;-moz-border-radius-bottomleft:6px;-moz-border-radius-topleft:6px}.pagination-large ul>li:last-child>a,.pagination-large ul>li:last-child>span{-webkit-border-top-right-radius:6px;border-top-right-radius:6px;-webkit-border-bottom-right-radius:6px;border-bottom-right-radius:6px;-moz-border-radius-topright:6px;-moz-border-radius-bottomright:6px}.pagination-mini ul>li:first-child>a,.pagination-small ul>li:first-child>a,.pagination-mini ul>li:first-child>span,.pagination-small ul>li:first-child>span{-webkit-border-bottom-left-radius:3px;border-bottom-left-radius:3px;-webkit-border-top-left-radius:3px;border-top-left-radius:3px;-moz-border-radius-bottomleft:3px;-moz-border-radius-topleft:3px}.pagination-mini ul>li:last-child>a,.pagination-small ul>li:last-child>a,.pagination-mini ul>li:last-child>span,.pagination-small ul>li:last-child>span{-webkit-border-top-right-radius:3px;border-top-right-radius:3px;-webkit-border-bottom-right-radius:3px;border-bottom-right-radius:3px;-moz-border-radius-topright:3px;-moz-border-radius-bottomright:3px}.pagination-small ul>li>a,.pagination-small ul>li>span{padding:2px 10px;font-size:11.9px}.pagination-mini ul>li>a,.pagination-mini ul>li>span{padding:0 6px;font-size:10.5px}.pager{margin:20px 0;text-align:center;list-style:none;*zoom:1}.pager:before,.pager:after{display:table;line-height:0;content:""}.pager:after{clear:both}.pager li{display:inline}.pager li>a,.pager li>span{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;-webkit-border-radius:15px;-moz-border-radius:15px;border-radius:15px}.pager li>a:hover,.pager li>a:focus{text-decoration:none;background-color:#f5f5f5}.pager .next>a,.pager .next>span{float:right}.pager .previous>a,.pager .previous>span{float:left}.pager .disabled>a,.pager .disabled>a:hover,.pager .disabled>a:focus,.pager .disabled>span{color:#999;cursor:default;background-color:#fff}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000}.modal-backdrop.fade{opacity:0}.modal-backdrop,.modal-backdrop.fade.in{opacity:.8;filter:alpha(opacity=80)}.modal{position:fixed;top:10%;left:50%;z-index:1050;width:560px;margin-left:-280px;background-color:#fff;border:1px solid #999;border:1px solid rgba(0,0,0,0.3);*border:1px solid #999;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;outline:0;-webkit-box-shadow:0 3px 7px rgba(0,0,0,0.3);-moz-box-shadow:0 3px 7px rgba(0,0,0,0.3);box-shadow:0 3px 7px rgba(0,0,0,0.3);-webkit-background-clip:padding-box;-moz-background-clip:padding-box;background-clip:padding-box}.modal.fade{top:-25%;-webkit-transition:opacity .3s linear,top .3s ease-out;-moz-transition:opacity .3s linear,top .3s ease-out;-o-transition:opacity .3s linear,top .3s ease-out;transition:opacity .3s linear,top .3s ease-out}.modal.fade.in{top:10%}.modal-header{padding:9px 15px;border-bottom:1px solid #eee}.modal-header .close{margin-top:2px}.modal-header h3{margin:0;line-height:30px}.modal-body{position:relative;max-height:400px;padding:15px;overflow-y:auto}.modal-form{margin-bottom:0}.modal-footer{padding:14px 15px 15px;margin-bottom:0;text-align:right;background-color:#f5f5f5;border-top:1px solid #ddd;-webkit-border-radius:0 0 6px 6px;-moz-border-radius:0 0 6px 6px;border-radius:0 0 6px 6px;*zoom:1;-webkit-box-shadow:inset 0 1px 0 #fff;-moz-box-shadow:inset 0 1px 0 #fff;box-shadow:inset 0 1px 0 #fff}.modal-footer:before,.modal-footer:after{display:table;line-height:0;content:""}.modal-footer:after{clear:both}.modal-footer .btn+.btn{margin-bottom:0;margin-left:5px}.modal-footer .btn-group .btn+.btn{margin-left:-1px}.modal-footer .btn-block+.btn-block{margin-left:0}.tooltip{position:absolute;z-index:1030;display:block;font-size:11px;line-height:1.4;opacity:0;filter:alpha(opacity=0);visibility:visible}.tooltip.in{opacity:.8;filter:alpha(opacity=80)}.tooltip.top{padding:5px 0;margin-top:-3px}.tooltip.right{padding:0 5px;margin-left:3px}.tooltip.bottom{padding:5px 0;margin-top:3px}.tooltip.left{padding:0 5px;margin-left:-3px}.tooltip-inner{max-width:200px;padding:8px;color:#fff;text-align:center;text-decoration:none;background-color:#000;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-top-color:#000;border-width:5px 5px 0}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-right-color:#000;border-width:5px 5px 5px 0}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-left-color:#000;border-width:5px 0 5px 5px}.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-bottom-color:#000;border-width:0 5px 5px}.popover{position:absolute;top:0;left:0;z-index:1010;display:none;max-width:276px;padding:1px;text-align:left;white-space:normal;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.2);-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,0.2);-moz-box-shadow:0 5px 10px rgba(0,0,0,0.2);box-shadow:0 5px 10px rgba(0,0,0,0.2);-webkit-background-clip:padding-box;-moz-background-clip:padding;background-clip:padding-box}.popover.top{margin-top:-10px}.popover.right{margin-left:10px}.popover.bottom{margin-top:10px}.popover.left{margin-left:-10px}.popover-title{padding:8px 14px;margin:0;font-size:14px;font-weight:normal;line-height:18px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;-webkit-border-radius:5px 5px 0 0;-moz-border-radius:5px 5px 0 0;border-radius:5px 5px 0 0}.popover-title:empty{display:none}.popover-content{padding:9px 14px}.popover .arrow,.popover .arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.popover .arrow{border-width:11px}.popover .arrow:after{border-width:10px;content:""}.popover.top .arrow{bottom:-11px;left:50%;margin-left:-11px;border-top-color:#999;border-top-color:rgba(0,0,0,0.25);border-bottom-width:0}.popover.top .arrow:after{bottom:1px;margin-left:-10px;border-top-color:#fff;border-bottom-width:0}.popover.right .arrow{top:50%;left:-11px;margin-top:-11px;border-right-color:#999;border-right-color:rgba(0,0,0,0.25);border-left-width:0}.popover.right .arrow:after{bottom:-10px;left:1px;border-right-color:#fff;border-left-width:0}.popover.bottom .arrow{top:-11px;left:50%;margin-left:-11px;border-bottom-color:#999;border-bottom-color:rgba(0,0,0,0.25);border-top-width:0}.popover.bottom .arrow:after{top:1px;margin-left:-10px;border-bottom-color:#fff;border-top-width:0}.popover.left .arrow{top:50%;right:-11px;margin-top:-11px;border-left-color:#999;border-left-color:rgba(0,0,0,0.25);border-right-width:0}.popover.left .arrow:after{right:1px;bottom:-10px;border-left-color:#fff;border-right-width:0}.thumbnails{margin-left:-20px;list-style:none;*zoom:1}.thumbnails:before,.thumbnails:after{display:table;line-height:0;content:""}.thumbnails:after{clear:both}.row-fluid .thumbnails{margin-left:0}.thumbnails>li{float:left;margin-bottom:20px;margin-left:20px}.thumbnail{display:block;padding:4px;line-height:20px;border:1px solid #ddd;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:0 1px 3px rgba(0,0,0,0.055);-moz-box-shadow:0 1px 3px rgba(0,0,0,0.055);box-shadow:0 1px 3px rgba(0,0,0,0.055);-webkit-transition:all .2s ease-in-out;-moz-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out}a.thumbnail:hover,a.thumbnail:focus{border-color:#08c;-webkit-box-shadow:0 1px 4px rgba(0,105,214,0.25);-moz-box-shadow:0 1px 4px rgba(0,105,214,0.25);box-shadow:0 1px 4px rgba(0,105,214,0.25)}.thumbnail>img{display:block;max-width:100%;margin-right:auto;margin-left:auto}.thumbnail .caption{padding:9px;color:#555}.media,.media-body{overflow:hidden;*overflow:visible;zoom:1}.media,.media .media{margin-top:15px}.media:first-child{margin-top:0}.media-object{display:block}.media-heading{margin:0 0 5px}.media>.pull-left{margin-right:10px}.media>.pull-right{margin-left:10px}.media-list{margin-left:0;list-style:none}.label,.badge{display:inline-block;padding:2px 4px;font-size:11.844px;font-weight:bold;line-height:14px;color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);white-space:nowrap;vertical-align:baseline;background-color:#999}.label{-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.badge{padding-right:9px;padding-left:9px;-webkit-border-radius:9px;-moz-border-radius:9px;border-radius:9px}.label:empty,.badge:empty{display:none}a.label:hover,a.label:focus,a.badge:hover,a.badge:focus{color:#fff;text-decoration:none;cursor:pointer}.label-important,.badge-important{background-color:#b94a48}.label-important[href],.badge-important[href]{background-color:#953b39}.label-warning,.badge-warning{background-color:#f89406}.label-warning[href],.badge-warning[href]{background-color:#c67605}.label-success,.badge-success{background-color:#468847}.label-success[href],.badge-success[href]{background-color:#356635}.label-info,.badge-info{background-color:#3a87ad}.label-info[href],.badge-info[href]{background-color:#2d6987}.label-inverse,.badge-inverse{background-color:#333}.label-inverse[href],.badge-inverse[href]{background-color:#1a1a1a}.btn .label,.btn .badge{position:relative;top:-1px}.btn-mini .label,.btn-mini .badge{top:0}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-moz-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-ms-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-o-keyframes progress-bar-stripes{from{background-position:0 0}to{background-position:40px 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.progress{height:20px;margin-bottom:20px;overflow:hidden;background-color:#f7f7f7;background-image:-moz-linear-gradient(top,#f5f5f5,#f9f9f9);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f5f5f5),to(#f9f9f9));background-image:-webkit-linear-gradient(top,#f5f5f5,#f9f9f9);background-image:-o-linear-gradient(top,#f5f5f5,#f9f9f9);background-image:linear-gradient(to bottom,#f5f5f5,#f9f9f9);background-repeat:repeat-x;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5',endColorstr='#fff9f9f9',GradientType=0);-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);box-shadow:inset 0 1px 2px rgba(0,0,0,0.1)}.progress .bar{float:left;width:0;height:100%;font-size:12px;color:#fff;text-align:center;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#0e90d2;background-image:-moz-linear-gradient(top,#149bdf,#0480be);background-image:-webkit-gradient(linear,0 0,0 100%,from(#149bdf),to(#0480be));background-image:-webkit-linear-gradient(top,#149bdf,#0480be);background-image:-o-linear-gradient(top,#149bdf,#0480be);background-image:linear-gradient(to bottom,#149bdf,#0480be);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff149bdf',endColorstr='#ff0480be',GradientType=0);-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);-moz-box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:width .6s ease;-moz-transition:width .6s ease;-o-transition:width .6s ease;transition:width .6s ease}.progress .bar+.bar{-webkit-box-shadow:inset 1px 0 0 rgba(0,0,0,0.15),inset 0 -1px 0 rgba(0,0,0,0.15);-moz-box-shadow:inset 1px 0 0 rgba(0,0,0,0.15),inset 0 -1px 0 rgba(0,0,0,0.15);box-shadow:inset 1px 0 0 rgba(0,0,0,0.15),inset 0 -1px 0 rgba(0,0,0,0.15)}.progress-striped .bar{background-color:#149bdf;background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);-webkit-background-size:40px 40px;-moz-background-size:40px 40px;-o-background-size:40px 40px;background-size:40px 40px}.progress.active .bar{-webkit-animation:progress-bar-stripes 2s linear infinite;-moz-animation:progress-bar-stripes 2s linear infinite;-ms-animation:progress-bar-stripes 2s linear infinite;-o-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.progress-danger .bar,.progress .bar-danger{background-color:#dd514c;background-image:-moz-linear-gradient(top,#ee5f5b,#c43c35);background-image:-webkit-gradient(linear,0 0,0 100%,from(#ee5f5b),to(#c43c35));background-image:-webkit-linear-gradient(top,#ee5f5b,#c43c35);background-image:-o-linear-gradient(top,#ee5f5b,#c43c35);background-image:linear-gradient(to bottom,#ee5f5b,#c43c35);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffee5f5b',endColorstr='#ffc43c35',GradientType=0)}.progress-danger.progress-striped .bar,.progress-striped .bar-danger{background-color:#ee5f5b;background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.progress-success .bar,.progress .bar-success{background-color:#5eb95e;background-image:-moz-linear-gradient(top,#62c462,#57a957);background-image:-webkit-gradient(linear,0 0,0 100%,from(#62c462),to(#57a957));background-image:-webkit-linear-gradient(top,#62c462,#57a957);background-image:-o-linear-gradient(top,#62c462,#57a957);background-image:linear-gradient(to bottom,#62c462,#57a957);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff62c462',endColorstr='#ff57a957',GradientType=0)}.progress-success.progress-striped .bar,.progress-striped .bar-success{background-color:#62c462;background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.progress-info .bar,.progress .bar-info{background-color:#4bb1cf;background-image:-moz-linear-gradient(top,#5bc0de,#339bb9);background-image:-webkit-gradient(linear,0 0,0 100%,from(#5bc0de),to(#339bb9));background-image:-webkit-linear-gradient(top,#5bc0de,#339bb9);background-image:-o-linear-gradient(top,#5bc0de,#339bb9);background-image:linear-gradient(to bottom,#5bc0de,#339bb9);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de',endColorstr='#ff339bb9',GradientType=0)}.progress-info.progress-striped .bar,.progress-striped .bar-info{background-color:#5bc0de;background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.progress-warning .bar,.progress .bar-warning{background-color:#faa732;background-image:-moz-linear-gradient(top,#fbb450,#f89406);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fbb450),to(#f89406));background-image:-webkit-linear-gradient(top,#fbb450,#f89406);background-image:-o-linear-gradient(top,#fbb450,#f89406);background-image:linear-gradient(to bottom,#fbb450,#f89406);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffbb450',endColorstr='#fff89406',GradientType=0)}.progress-warning.progress-striped .bar,.progress-striped .bar-warning{background-color:#fbb450;background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.accordion{margin-bottom:20px}.accordion-group{margin-bottom:2px;border:1px solid #e5e5e5;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.accordion-heading{border-bottom:0}.accordion-heading .accordion-toggle{display:block;padding:8px 15px}.accordion-toggle{cursor:pointer}.accordion-inner{padding:9px 15px;border-top:1px solid #e5e5e5}.carousel{position:relative;margin-bottom:20px;line-height:1}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner>.item{position:relative;display:none;-webkit-transition:.6s ease-in-out left;-moz-transition:.6s ease-in-out left;-o-transition:.6s ease-in-out left;transition:.6s ease-in-out left}.carousel-inner>.item>img,.carousel-inner>.item>a>img{display:block;line-height:1}.carousel-inner>.active,.carousel-inner>.next,.carousel-inner>.prev{display:block}.carousel-inner>.active{left:0}.carousel-inner>.next,.carousel-inner>.prev{position:absolute;top:0;width:100%}.carousel-inner>.next{left:100%}.carousel-inner>.prev{left:-100%}.carousel-inner>.next.left,.carousel-inner>.prev.right{left:0}.carousel-inner>.active.left{left:-100%}.carousel-inner>.active.right{left:100%}.carousel-control{position:absolute;top:40%;left:15px;width:40px;height:40px;margin-top:-20px;font-size:60px;font-weight:100;line-height:30px;color:#fff;text-align:center;background:#222;border:3px solid #fff;-webkit-border-radius:23px;-moz-border-radius:23px;border-radius:23px;opacity:.5;filter:alpha(opacity=50)}.carousel-control.right{right:15px;left:auto}.carousel-control:hover,.carousel-control:focus{color:#fff;text-decoration:none;opacity:.9;filter:alpha(opacity=90)}.carousel-indicators{position:absolute;top:15px;right:15px;z-index:5;margin:0;list-style:none}.carousel-indicators li{display:block;float:left;width:10px;height:10px;margin-left:5px;text-indent:-999px;background-color:#ccc;background-color:rgba(255,255,255,0.25);border-radius:5px}.carousel-indicators .active{background-color:#fff}.carousel-caption{position:absolute;right:0;bottom:0;left:0;padding:15px;background:#333;background:rgba(0,0,0,0.75)}.carousel-caption h4,.carousel-caption p{line-height:20px;color:#fff}.carousel-caption h4{margin:0 0 5px}.carousel-caption p{margin-bottom:0}.hero-unit{padding:60px;margin-bottom:30px;font-size:18px;font-weight:200;line-height:30px;color:inherit;background-color:#eee;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px}.hero-unit h1{margin-bottom:0;font-size:60px;line-height:1;letter-spacing:-1px;color:inherit}.hero-unit li{line-height:30px}.pull-right{float:right}.pull-left{float:left}.hide{display:none}.show{display:block}.invisible{visibility:hidden}.affix{position:fixed}
170
171 /* Pretty printing styles. Used with prettify.js. */
172/* Vim sunburst theme by David Leibovic */
173pre .str {
174 color: #65B042;
175}
176/* string - green */
177pre .kwd {
178 color: #E28964;
179}
180/* keyword - dark pink */
181pre .com {
182 color: #AEAEAE;
183 font-style: italic;
184}
185/* comment - gray */
186pre .typ {
187 color: #89bdff;
188}
189/* type - light blue */
190pre .lit {
191 color: #3387CC;
192}
193/* literal - blue */
194pre .pun {
195 color: #fff;
196}
197/* punctuation - white */
198pre .pln {
199 color: #fff;
200}
201/* plaintext - white */
202pre .tag {
203 color: #89bdff;
204}
205/* html/xml tag - light blue */
206pre .atn {
207 color: #bdb76b;
208}
209/* html/xml attribute name - khaki */
210pre .atv {
211 color: #65B042;
212}
213/* html/xml attribute value - green */
214pre .dec {
215 color: #3387CC;
216}
217/* decimal - blue */
218/* Specify class=linenums on a pre to get line numbering */
219ol.linenums {
220 margin-top: 0;
221 margin-bottom: 0;
222 color: #AEAEAE;
223}
224/* IE indents via margin-left */
225li.L0,
226li.L1,
227li.L2,
228li.L3,
229li.L5,
230li.L6,
231li.L7,
232li.L8 {
233 list-style-type: none;
234}
235/* Alternate shading for lines */
236@media print {
237 pre .str {
238 color: #060;
239 }
240 pre .kwd {
241 color: #006;
242 font-weight: bold;
243 }
244 pre .com {
245 color: #600;
246 font-style: italic;
247 }
248 pre .typ {
249 color: #404;
250 font-weight: bold;
251 }
252 pre .lit {
253 color: #044;
254 }
255 pre .pun {
256 color: #440;
257 }
258 pre .pln {
259 color: #000;
260 }
261 pre .tag {
262 color: #006;
263 font-weight: bold;
264 }
265 pre .atn {
266 color: #404;
267 }
268 pre .atv {
269 color: #060;
270 }
271}
272 /* ------------------------------------------------------------------------------------------
273 * Content
274 * ------------------------------------------------------------------------------------------ */
275
276@import url('https://fonts.googleapis.com/css?family=Source+Code+Pro');
277* {
278 font-family: 'Source Code Pro', sans-serif;
279}
280body {
281 min-width: 980px;
282}
283
284body, p, a, div, th, td {
285 font-family: "Source Sans Pro", sans-serif;
286 font-weight: 400;
287 font-size: 16px;
288 text-shadow: none !important;
289}
290
291td.code {
292 font-size: 14px;
293 font-family: "Source Code Pro", monospace;
294 font-style: normal;
295 font-weight: 400;
296}
297
298#content {
299 padding-top: 16px;
300 z-Index: -1;
301 margin-left: 270px;
302}
303
304p {
305 color: #808080;
306}
307
308h1 {
309 font-family: "Source Sans Pro Semibold", sans-serif;
310 font-weight: normal;
311 font-size: 44px;
312 line-height: 50px;
313 margin: 0 0 10px 0;
314 padding: 0;
315}
316
317h2 {
318 font-family: "Source Sans Pro", sans-serif;
319 font-weight: normal;
320 font-size: 24px;
321 line-height: 40px;
322 margin: 0 0 20px 0;
323 padding: 0;
324}
325
326section {
327 border-top: 1px solid #ebebeb;
328 padding: 30px 0;
329}
330
331section h1 {
332 font-family: "Source Sans Pro", sans-serif;
333 font-weight: 700;
334 font-size: 32px;
335 line-height: 40px;
336 padding-bottom: 14px;
337 margin: 0 0 20px 0;
338 padding: 0;
339}
340
341article {
342 padding: 14px 0 30px 0;
343}
344
345article h1 {
346 font-family: "Source Sans Pro Bold", sans-serif;
347 font-weight: 600;
348 font-size: 24px;
349 line-height: 26px;
350}
351
352article h2 {
353 font-family: "Source Sans Pro", sans-serif;
354 font-weight: 600;
355 font-size: 18px;
356 line-height: 24px;
357 margin: 0 0 10px 0;
358}
359
360article h3 {
361 font-family: "Source Sans Pro", sans-serif;
362 font-weight: 600;
363 font-size: 16px;
364 line-height: 18px;
365 margin: 0 0 10px 0;
366}
367
368article h4 {
369 font-family: "Source Sans Pro", sans-serif;
370 font-weight: 600;
371 font-size: 14px;
372 line-height: 16px;
373 margin: 0 0 8px 0;
374}
375
376table {
377 border-collapse: collapse;
378 width: 100%;
379 margin: 0 0 20px 0;
380}
381
382th {
383 background-color: #f5f5f5;
384 text-align: left;
385 font-family: "Source Sans Pro", sans-serif;
386 font-weight: 700;
387 padding: 4px 8px;
388 border: #e0e0e0 1px solid;
389}
390
391td {
392 vertical-align: top;
393 padding: 2px 8px;
394 border: #e0e0e0 1px solid;
395}
396
397#generator .content {
398 color: #b0b0b0;
399 border-top: 1px solid #ebebeb;
400 padding: 10px 0;
401}
402
403.label-optional {
404 float: right;
405}
406
407.open-left {
408 right: 0;
409 left: auto;
410}
411
412/* ------------------------------------------------------------------------------------------
413 * apidoc - intro
414 * ------------------------------------------------------------------------------------------ */
415
416#apidoc .apidoc {
417 border-top: 1px solid #ebebeb;
418 padding: 30px 0;
419}
420
421#apidoc h1 {
422 font-family: "Source Sans Pro", sans-serif;
423 font-weight: 700;
424 font-size: 32px;
425 line-height: 40px;
426 padding-bottom: 14px;
427 margin: 0 0 20px 0;
428 padding: 0;
429}
430
431#apidoc h2 {
432 font-family: "Source Sans Pro Bold", sans-serif;
433 font-weight: 600;
434 font-size: 22px;
435 line-height: 26px;
436 padding-top: 14px;
437}
438
439/* ------------------------------------------------------------------------------------------
440 * pre / code
441 * ------------------------------------------------------------------------------------------ */
442pre {
443 background-color: #292b36;
444 color: #ffffff;
445 padding: 10px;
446 border-radius: 6px;
447 position: relative;
448 margin: 10px 0 20px 0;
449}
450
451code.language-text {
452 word-wrap: break-word;
453}
454
455pre.language-json {
456 overflow: auto;
457}
458
459pre.language-html {
460 margin: 40px 0 20px 0;
461}
462
463pre.language-html:before {
464 content: attr(data-type);
465 position: absolute;
466 top: -30px;
467 left: 0;
468 font-family: "Source Sans Pro", sans-serif;
469 font-weight: 600;
470 font-size: 15px;
471 display: inline-block;
472 padding: 2px 5px;
473 border-radius: 6px;
474 text-transform: uppercase;
475 background-color: #3387CC;
476 color: #ffffff;
477}
478
479pre.language-html[data-type="get"]:before {
480 background-color: green;
481}
482
483pre.language-html[data-type="put"]:before {
484 background-color: #e5c500;
485}
486
487pre.language-html[data-type="post"]:before {
488 background-color: #4070ec;
489}
490
491pre.language-html[data-type="delete"]:before {
492 background-color: #ed0039;
493}
494
495pre.language-api .str {
496 color: #ffffff;
497}
498
499pre.language-api .pln,
500pre.language-api .pun {
501 color: #65B042;
502}
503
504pre code {
505 display: block;
506 font-size: 14px;
507 font-family: "Source Code Pro", monospace;
508 font-style: normal;
509 font-weight: 400;
510}
511
512pre code.sample-request-response-json {
513 white-space: pre-wrap;
514 max-height: 500px;
515 overflow: auto;
516}
517
518/* ------------------------------------------------------------------------------------------
519 * Sidenav
520 * ------------------------------------------------------------------------------------------ */
521.sidenav {
522 width: 228px;
523 margin: 0;
524 padding: 20px;
525 position: fixed;
526 top: 0;
527 left: 0;
528 bottom: 0;
529 overflow-x: hidden;
530 overflow-y: auto;
531 background-color: #f5f5f5;
532 z-index: 10;
533}
534
535.sidenav > li > a {
536 display: block;
537 width: 192px;
538 margin: 0;
539 padding: 2px 11px;
540 border: 0;
541 border-left: transparent 4px solid;
542 border-right: transparent 4px solid;
543 font-family: "Source Sans Pro", sans-serif;
544 font-weight: 400;
545 font-size: 14px;
546}
547
548.sidenav > li.nav-header > a {
549 padding: 5px 15px;
550 border: 1px solid #e5e5e5;
551 width: 190px;
552 font-family: "Source Sans Pro", sans-serif;
553 font-weight: 700;
554 font-size: 16px;
555 background-color: #4c8eca;
556 color: #fff;
557}
558
559.sidenav > li.nav-header.active > a {
560 background-color: #4c8eca;
561 color: #fff;
562}
563
564
56500427D
566
567.sidenav > .active > a {
568 position: relative;
569 z-index: 2;
570}
571
572.sidenav > li > a:hover {
573 background-color: #ffffff;
574}
575
576.sidenav > li.has-modifications a {
577 border-right: #60d060 4px solid;
578}
579
580.sidenav > li.is-new a {
581 border-left: #e5e5e5 4px solid;
582}
583
584
585
586/* ------------------------------------------------------------------------------------------
587 * Tabs
588 * ------------------------------------------------------------------------------------------ */
589ul.nav-tabs {
590 margin: 0;
591}
592
593/* ------------------------------------------------------------------------------------------
594 * Print
595 * ------------------------------------------------------------------------------------------ */
596
597@media print {
598
599 #sidenav,
600 #version,
601 #versions,
602 section .version,
603 section .versions {
604 display: none;
605 }
606
607 #content {
608 margin-left: 0;
609 }
610
611 a {
612 text-decoration: none;
613 color: inherit;
614 }
615
616 a:after {
617 content: " [" attr(href) "] ";
618 }
619
620 p {
621 color: #000000
622 }
623
624 pre {
625 background-color: #ffffff;
626 color: #000000;
627 padding: 10px;
628 border: #808080 1px solid;
629 border-radius: 6px;
630 position: relative;
631 margin: 10px 0 20px 0;
632 }
633
634} /* /@media print */
635
636
637.doc-chapter
638{
639display:none;
640background-color: #eee;
641border-radius: 1px;
642padding: 10px;
643margin-bottom: 20px;
644}
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676/*!
677 * json-schema-view-js
678 * https://github.com/mohsen1/json-schema-view-js#readme
679 * Version: 0.4.1 - 2015-11-12T17:19:27.615Z
680 * License: MIT
681 */.json-schema-view .toggle-handle:after,.json-schema-view.json-schema-view-dark .toggle-handle:after,json-schema-view .toggle-handle:after,json-schema-view[json-schema-view-dark] .toggle-handle:after{content:"\25BC"}.json-schema-view .title,.json-schema-view.json-schema-view-dark .title,json-schema-view .title,json-schema-view[json-schema-view-dark] .title{font-weight:700;cursor:pointer}.json-schema-view,json-schema-view{font-family:monospace;font-size:0;display:table-cell}.json-schema-view>*,json-schema-view>*{font-size:14px}.json-schema-view .toggle-handle,json-schema-view .toggle-handle{cursor:pointer;margin:auto .3em;font-size:10px;display:inline-block;transform-origin:50% 40%;transition:transform 150ms ease-in}.json-schema-view .toggle-handle,.json-schema-view .toggle-handle:hover,json-schema-view .toggle-handle,json-schema-view .toggle-handle:hover{text-decoration:none;color:#333}.json-schema-view .description,json-schema-view .description{color:gray;font-style:italic}
682 .pattern {
683 color: blue;
684 }
685 .default {
686 color: black;
687 }
688 .required {
689 color:black;
690 }
691 .json-schema-view .title,.json-schema-view .title:hover,json-schema-view .title,json-schema-view .title:hover{text-decoration:none;color:#333}.json-schema-view .brace,.json-schema-view .bracket,.json-schema-view .title,json-schema-view .brace,json-schema-view .bracket,json-schema-view .title{color:#333}.json-schema-view .property,json-schema-view .property{font-size:0;display:table-row}.json-schema-view .property>*,json-schema-view .property>*{font-size:14px;padding:.2em}.json-schema-view .name,json-schema-view .name{color:#00f;display:table-cell;vertical-align:top}.json-schema-view .type,json-schema-view .type{color:green}.json-schema-view .type-any,json-schema-view .type-any{color:#33f}.json-schema-view .required,json-schema-view .required{color:red}.json-schema-view .inner,json-schema-view .inner{padding-left:18px}.json-schema-view.collapsed .description,.json-schema-view.collapsed .property,json-schema-view.collapsed .description,json-schema-view.collapsed .property{display:none}.json-schema-view.collapsed .closeing.brace,json-schema-view.collapsed .closeing.brace{display:inline-block}.json-schema-view.collapsed .toggle-handle,json-schema-view.collapsed .toggle-handle{transform:rotate(-90deg)}.json-schema-view.json-schema-view-dark,json-schema-view[json-schema-view-dark]{font-family:monospace;font-size:0;display:table-cell}.json-schema-view.json-schema-view-dark>*,json-schema-view[json-schema-view-dark]>*{font-size:14px}.json-schema-view.json-schema-view-dark .toggle-handle,json-schema-view[json-schema-view-dark] .toggle-handle{cursor:pointer;margin:auto .3em;font-size:10px;display:inline-block;transform-origin:50% 40%;transition:transform 150ms ease-in}.json-schema-view.json-schema-view-dark .toggle-handle,.json-schema-view.json-schema-view-dark .toggle-handle:hover,json-schema-view[json-schema-view-dark] .toggle-handle,json-schema-view[json-schema-view-dark] .toggle-handle:hover{text-decoration:none;color:#eee}.json-schema-view.json-schema-view-dark .description,json-schema-view[json-schema-view-dark] .description{color:gray;font-style:italic}.json-schema-view.json-schema-view-dark .title,.json-schema-view.json-schema-view-dark .title:hover,json-schema-view[json-schema-view-dark] .title,json-schema-view[json-schema-view-dark] .title:hover{text-decoration:none;color:#eee}.json-schema-view.json-schema-view-dark .brace,.json-schema-view.json-schema-view-dark .bracket,.json-schema-view.json-schema-view-dark .title,json-schema-view[json-schema-view-dark] .brace,json-schema-view[json-schema-view-dark] .bracket,json-schema-view[json-schema-view-dark] .title{color:#eee}.json-schema-view.json-schema-view-dark .property,json-schema-view[json-schema-view-dark] .property{font-size:0;display:table-row}.json-schema-view.json-schema-view-dark .property>*,json-schema-view[json-schema-view-dark] .property>*{font-size:14px;padding:.2em}.json-schema-view.json-schema-view-dark .name,json-schema-view[json-schema-view-dark] .name{color:#add8e6;display:table-cell;vertical-align:top}.json-schema-view.json-schema-view-dark .type,json-schema-view[json-schema-view-dark] .type{color:#90ee90}.json-schema-view.json-schema-view-dark .type-any,json-schema-view[json-schema-view-dark] .type-any{color:#d4ebf2}.json-schema-view.json-schema-view-dark .required,json-schema-view[json-schema-view-dark] .required{color:#fe0000}.json-schema-view.json-schema-view-dark .inner,json-schema-view[json-schema-view-dark] .inner{padding-left:18px}.json-schema-view.json-schema-view-dark.collapsed .description,.json-schema-view.json-schema-view-dark.collapsed .property,json-schema-view[json-schema-view-dark].collapsed .description,json-schema-view[json-schema-view-dark].collapsed .property{display:none}.json-schema-view.json-schema-view-dark.collapsed .closeing.brace,json-schema-view[json-schema-view-dark].collapsed .closeing.brace{display:inline-block}.json-schema-view.json-schema-view-dark.collapsed .toggle-handle,json-schema-view[json-schema-view-dark].collapsed .toggle-handle{transform:rotate(-90deg)}
692
693 </style>
694</head>
695<body>
tragait5e9676e2021-01-14 16:07:07 +0000696<script>
seshukmb3a332a2018-10-05 16:27:16 +0800697 // Script section to load models into a JS Var
698 var defs = {}
Priyadharshinic86ab4a2020-08-14 17:11:49 +0530699 defs["3gppServiceActivation"] = {
700 "type" : "object",
701 "properties" : {
702 "serviceInstanceID" : {
703 "type" : "string",
704 "description" : "ID of the service to be activated/deactivated"
705 },
706 "globalSubscriberId" : {
707 "type" : "string"
708 },
709 "subscriptionServiceType" : {
710 "type" : "string",
711 "description" : "Service type for the subscription. For E.G :5G"
712 },
713 "networkType" : {
714 "type" : "string",
715 "description" : "Network type. For E.G :AN/CN/TN"
716 },
717 "additionalProperties" : {
718 "type" : "object",
719 "description" : "Map of additional properties required for service activation/deactivation",
720 "properties" : { }
721 }
722 },
723 "description" : "This describes the request body for 3gpp service activation/deactivation"
724};
725 defs["3gppServiceResponse"] = {
726 "type" : "object",
727 "properties" : {
728 "jobId" : {
729 "type" : "string",
730 "description" : "Job ID to be used to identify the status of the job"
731 },
732 "status" : {
733 "type" : "string",
734 "description" : "status of the job"
735 },
736 "statusDescription" : {
737 "type" : "object",
738 "description" : "Description on status in case of erroneous response",
739 "properties" : { }
740 }
741 },
742 "description" : "This describes the response for 3gpp services"
743};
744 defs["Allocate3gppService"] = {
745 "type" : "object",
746 "properties" : {
747 "name" : {
748 "type" : "string",
749 "description" : "Name of the service to allocate"
750 },
751 "modelInvariantUuid" : {
752 "type" : "string",
753 "description" : "Model Invariant UUID corresponding to the service. For E.g : NSST Model invariant uuid in case of NSSI creation"
754 },
755 "modelUuid" : {
756 "type" : "string",
757 "description" : "Model UUID corresponding to the service. For E.g : NSST Model uuid in case of NSSI creation"
758 },
759 "globalSubscriberId" : {
760 "type" : "string"
761 },
762 "subscriptionServiceType" : {
763 "type" : "string",
764 "description" : "Service type for the subscription. For E.G :5G"
765 },
766 "networkType" : {
767 "type" : "string",
768 "description" : "Network type. For E.G :AN/CN/TN"
769 },
770 "additionalProperties" : {
771 "type" : "object",
772 "description" : "Map of additional properties required for service allocation",
773 "properties" : { }
774 }
775 },
776 "description" : "This describes the request body for 3gpp service allocation"
777};
778 defs["DeAllocate3gppService"] = {
779 "type" : "object",
780 "properties" : {
781 "serviceInstanceID" : {
782 "type" : "string",
783 "description" : "ID of the service to terminate"
784 },
785 "globalSubscriberId" : {
786 "type" : "string"
787 },
788 "subscriptionServiceType" : {
789 "type" : "string",
790 "description" : "Service type for the subscription. For E.G :5G"
791 },
792 "networkType" : {
793 "type" : "string",
794 "description" : "Network type. For E.G :AN/CN/TN"
795 },
796 "additionalProperties" : {
797 "type" : "object",
798 "description" : "Map of additional properties required for service deallocation",
799 "properties" : { }
800 }
801 },
802 "description" : "This describes the request body for 3gpp service Termination/Deallocation"
803};
804 defs["Modify3gppService"] = {
805 "type" : "object",
806 "properties" : {
807 "name" : {
808 "type" : "string",
809 "description" : "Name of the service to modify"
810 },
811 "serviceInstanceID" : {
812 "type" : "string",
813 "description" : "ID of the service to modify"
814 },
815 "globalSubscriberId" : {
816 "type" : "string"
817 },
818 "subscriptionServiceType" : {
819 "type" : "string",
820 "description" : "Service type for the subscription. For E.G :5G"
821 },
822 "networkType" : {
823 "type" : "string",
824 "description" : "Network type. For E.G :AN/CN/TN"
825 },
826 "additionalProperties" : {
827 "type" : "object",
828 "description" : "Map of additional properties required for service modification",
829 "properties" : { }
830 }
831 },
832 "description" : "This describes the request body for 3gpp service modification"
833};
tragait5e9676e2021-01-14 16:07:07 +0000834 defs["PNFCustomWorkflowExecution"] = {
835 "type" : "object",
836 "properties" : {
837 "requestInfo" : {
838 "$ref" : "#/definitions/ServiceLevelWorkflowExecution_requestInfo"
839 },
840 "modelInfo" : {
841 "$ref" : "#/definitions/ServiceLevelWorkflowExecution_modelInfo"
842 },
843 "requestParameters" : {
844 "$ref" : "#/definitions/ServiceLevelWorkflowExecution_requestParameters"
845 },
846 "subscriberInfo" : {
847 "$ref" : "#/definitions/ServiceLevelWorkflowExecution_subscriberInfo"
848 },
849 "project" : {
850 "$ref" : "#/definitions/ServiceLevelWorkflowExecution_project"
851 },
852 "owningEntity" : {
853 "$ref" : "#/definitions/ServiceLevelWorkflowExecution_owningEntity"
854 }
855 },
856 "description" : "This describes the request body of PNF custom workflow execution"
857};
Priyadharshinic86ab4a2020-08-14 17:11:49 +0530858 defs["QuerySubnetCapability"] = {
859 "type" : "object",
860 "properties" : {
861 "subnetTypes" : {
862 "type" : "array",
863 "items" : {
864 "$ref" : "#/definitions/SubnetTypes"
865 }
866 }
867 },
868 "description" : "This describes the subnet capabilities that can be queried"
869};
rameshiyer27553bc772020-08-25 16:49:34 +0100870 defs["RetrievingWorkflowResponse"] = {
871 "type" : "object",
872 "properties" : {
873 "workflowSpecificationList" : {
874 "type" : "array",
875 "description" : "List of Workflow specification data",
876 "items" : {
877 "$ref" : "#/definitions/WorkflowSpecification"
878 }
879 }
880 },
881 "description" : "Response body of fetching workflows using resource target"
882};
883 defs["ServiceLevelWorkflowExecution"] = {
884 "type" : "object",
885 "properties" : {
886 "requestInfo" : {
887 "$ref" : "#/definitions/ServiceLevelWorkflowExecution_requestInfo"
888 },
889 "modelInfo" : {
890 "$ref" : "#/definitions/ServiceLevelWorkflowExecution_modelInfo"
891 },
892 "requestParameters" : {
893 "$ref" : "#/definitions/ServiceLevelWorkflowExecution_requestParameters"
894 },
895 "subscriberInfo" : {
896 "$ref" : "#/definitions/ServiceLevelWorkflowExecution_subscriberInfo"
897 },
898 "project" : {
899 "$ref" : "#/definitions/ServiceLevelWorkflowExecution_project"
900 },
901 "owningEntity" : {
902 "$ref" : "#/definitions/ServiceLevelWorkflowExecution_owningEntity"
903 }
904 },
905 "description" : "This describes the request body of service level custom workflow execution"
906};
907 defs["ServiceLevelWorkflowExecution_modelInfo"] = {
908 "type" : "object",
909 "properties" : {
910 "modelType" : {
911 "type" : "string",
912 "description" : "Type of the model to be executed"
913 },
914 "modelInvariantUuid" : {
915 "type" : "string",
916 "description" : "Model invariant id corresponding to the service"
917 },
918 "modelUuid" : {
919 "type" : "string",
920 "description" : "Model uuid corresponding to the service"
921 },
922 "modelVersionId" : {
923 "type" : "string",
924 "description" : "Model version of the service instance"
925 },
926 "modelName" : {
927 "type" : "string",
928 "description" : "Name of the service"
929 },
930 "modelVersion" : {
931 "type" : "string",
932 "description" : "Version of the service instance"
933 }
934 },
935 "description" : "Parameters related to the service model"
936};
937 defs["ServiceLevelWorkflowExecution_owningEntity"] = {
938 "type" : "object",
939 "properties" : {
940 "owningEntityId" : {
941 "type" : "string",
942 "description" : "Id of the owning Entity"
943 },
944 "owningEntityName" : {
945 "type" : "string",
946 "description" : "Name of the owning Entity"
947 }
948 },
949 "description" : "Object describes the entity details"
950};
951 defs["ServiceLevelWorkflowExecution_project"] = {
952 "type" : "object",
953 "properties" : {
954 "projectName" : {
955 "type" : "string",
956 "description" : "Name of the target project"
957 }
958 },
959 "description" : "Information about the target project name"
960};
961 defs["ServiceLevelWorkflowExecution_requestInfo"] = {
962 "type" : "object",
963 "properties" : {
964 "source" : {
965 "type" : "string",
966 "description" : "Name of the sender"
967 },
968 "suppressRollback" : {
969 "type" : "boolean",
970 "description" : "Enable/disable rollback suppression"
971 },
972 "requestorId" : {
973 "type" : "string",
974 "description" : "Id of the sender"
975 }
976 },
977 "description" : "Request object contains source information"
978};
979 defs["ServiceLevelWorkflowExecution_requestParameters"] = {
980 "type" : "object",
981 "properties" : {
982 "subscriptionServiceType" : {
983 "type" : "string",
984 "description" : "Type of service subscription"
985 }
986 },
987 "description" : "User parameter object"
988};
989 defs["ServiceLevelWorkflowExecution_subscriberInfo"] = {
990 "type" : "object",
991 "properties" : {
992 "globalSubscriberId" : {
993 "type" : "string",
994 "description" : "Id of the subscriber sending the request"
995 }
996 },
997 "description" : "Subscriber id information"
998};
Priyadharshinic86ab4a2020-08-14 17:11:49 +0530999 defs["SubnetTypes"] = {
1000 "type" : "string",
1001 "description" : "This describes allowed subnet types",
1002 "enum" : [ "AN", "AN_NF", "CN", "TN_FH", "TN_MH", "TN_BH" ]
1003};
rameshiyer27553bc772020-08-25 16:49:34 +01001004 defs["WorkflowSpecification"] = {
1005 "type" : "object",
1006 "properties" : {
1007 "artifactInfo" : {
1008 "$ref" : "#/definitions/WorkflowSpecification_artifactInfo"
1009 }
1010 },
1011 "description" : "This describes workflow specification object"
1012};
1013 defs["WorkflowSpecification_artifactInfo"] = {
1014 "type" : "object",
1015 "properties" : {
1016 "artifactType" : {
1017 "type" : "string",
1018 "description" : "Type of the artifact to be queried"
1019 },
1020 "artifactUuid" : {
1021 "type" : "string",
1022 "description" : "UUID of the artifact"
1023 },
1024 "artifactName" : {
1025 "type" : "string",
1026 "description" : "Name of the artifact"
1027 },
1028 "artifactVersion" : {
1029 "type" : "string",
1030 "description" : "Artifact's Version"
1031 },
1032 "artifactDescription" : {
1033 "type" : "string",
1034 "description" : ""
1035 },
1036 "workflowName" : {
1037 "type" : "string",
1038 "description" : "Name of the workflow fetched for the resource type"
1039 },
1040 "operationName" : {
1041 "type" : "string",
1042 "description" : "Mapped operation name of the corresponding workflow"
1043 },
1044 "workflowSource" : {
1045 "type" : "string",
1046 "description" : ""
1047 },
1048 "workflowResourceTarget" : {
1049 "type" : "string",
1050 "description" : "Type of Resource mapped against the workflow"
1051 }
1052 },
1053 "description" : "Attributes related to artifact information "
1054};
seshukmb3a332a2018-10-05 16:27:16 +08001055 </script>
1056
tragait5e9676e2021-01-14 16:07:07 +00001057<div class="container-fluid">
seshukmb3a332a2018-10-05 16:27:16 +08001058 <div class="row-fluid">
tragait5e9676e2021-01-14 16:07:07 +00001059 <div id="sidenav" class="span2">
1060 <nav id="scrollingNav">
1061 <ul class="sidenav nav nav-list">
1062 <!-- Logo Area -->
1063 <!--<div style="width: 80%; background-color: #4c8eca; color: white; padding: 20px; text-align: center; margin-bottom: 20px; ">
seshukmb3a332a2018-10-05 16:27:16 +08001064
1065 API Docs 2
1066
1067 </div>
1068 -->
tragait5e9676e2021-01-14 16:07:07 +00001069 <li class="nav-fixed nav-header active" data-group="_"><a href="#api-_">API Summary</a></li>
seshukmb3a332a2018-10-05 16:27:16 +08001070
tragait5e9676e2021-01-14 16:07:07 +00001071 <li class="nav-header" data-group="E2eServiceInstances"><a href="#api-E2eServiceInstances">API Methods - E2eServiceInstances</a></li>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05301072 <li data-group="E2eServiceInstances" data-name="activateE2EServiceInstances" class="">
tragait5e9676e2021-01-14 16:07:07 +00001073 <a href="#api-E2eServiceInstances-activateE2EServiceInstances">activateE2EServiceInstances</a>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05301074 </li>
seshukmb3a332a2018-10-05 16:27:16 +08001075 <li data-group="E2eServiceInstances" data-name="compareModelwithTargetVersion" class="">
tragait5e9676e2021-01-14 16:07:07 +00001076 <a href="#api-E2eServiceInstances-compareModelwithTargetVersion">compareModelwithTargetVersion</a>
seshukmb3a332a2018-10-05 16:27:16 +08001077 </li>
1078 <li data-group="E2eServiceInstances" data-name="createE2EServiceInstance" class="">
tragait5e9676e2021-01-14 16:07:07 +00001079 <a href="#api-E2eServiceInstances-createE2EServiceInstance">createE2EServiceInstance</a>
seshukmb3a332a2018-10-05 16:27:16 +08001080 </li>
1081 <li data-group="E2eServiceInstances" data-name="deleteE2EServiceInstance" class="">
tragait5e9676e2021-01-14 16:07:07 +00001082 <a href="#api-E2eServiceInstances-deleteE2EServiceInstance">deleteE2EServiceInstance</a>
seshukmb3a332a2018-10-05 16:27:16 +08001083 </li>
1084 <li data-group="E2eServiceInstances" data-name="getE2EServiceInstances" class="">
tragait5e9676e2021-01-14 16:07:07 +00001085 <a href="#api-E2eServiceInstances-getE2EServiceInstances">getE2EServiceInstances</a>
seshukmb3a332a2018-10-05 16:27:16 +08001086 </li>
1087 <li data-group="E2eServiceInstances" data-name="scaleE2EServiceInstance" class="">
tragait5e9676e2021-01-14 16:07:07 +00001088 <a href="#api-E2eServiceInstances-scaleE2EServiceInstance">scaleE2EServiceInstance</a>
seshukmb3a332a2018-10-05 16:27:16 +08001089 </li>
1090 <li data-group="E2eServiceInstances" data-name="updateE2EServiceInstance" class="">
tragait5e9676e2021-01-14 16:07:07 +00001091 <a href="#api-E2eServiceInstances-updateE2EServiceInstance">updateE2EServiceInstance</a>
seshukmb3a332a2018-10-05 16:27:16 +08001092 </li>
tragait5e9676e2021-01-14 16:07:07 +00001093 <li class="nav-header" data-group="Globalhealthcheck"><a href="#api-Globalhealthcheck">API Methods - Globalhealthcheck</a></li>
seshukmb3a332a2018-10-05 16:27:16 +08001094 <li data-group="Globalhealthcheck" data-name="globalHealthcheck" class="">
tragait5e9676e2021-01-14 16:07:07 +00001095 <a href="#api-Globalhealthcheck-globalHealthcheck">globalHealthcheck</a>
seshukmb3a332a2018-10-05 16:27:16 +08001096 </li>
tragait5e9676e2021-01-14 16:07:07 +00001097 <li class="nav-header" data-group="Nodehealthcheck"><a href="#api-Nodehealthcheck">API Methods - Nodehealthcheck</a></li>
seshukmb3a332a2018-10-05 16:27:16 +08001098 <li data-group="Nodehealthcheck" data-name="nodeHealthcheck" class="">
tragait5e9676e2021-01-14 16:07:07 +00001099 <a href="#api-Nodehealthcheck-nodeHealthcheck">nodeHealthcheck</a>
seshukmb3a332a2018-10-05 16:27:16 +08001100 </li>
tragait5e9676e2021-01-14 16:07:07 +00001101 <li class="nav-header" data-group="Onap3gppServiceInstances"><a href="#api-Onap3gppServiceInstances">API Methods - Onap3gppServiceInstances</a></li>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05301102 <li data-group="Onap3gppServiceInstances" data-name="activate3gppService" class="">
tragait5e9676e2021-01-14 16:07:07 +00001103 <a href="#api-Onap3gppServiceInstances-activate3gppService">activate3gppService</a>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05301104 </li>
1105 <li data-group="Onap3gppServiceInstances" data-name="allocate3gppService" class="">
tragait5e9676e2021-01-14 16:07:07 +00001106 <a href="#api-Onap3gppServiceInstances-allocate3gppService">allocate3gppService</a>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05301107 </li>
1108 <li data-group="Onap3gppServiceInstances" data-name="deactivate3gppService" class="">
tragait5e9676e2021-01-14 16:07:07 +00001109 <a href="#api-Onap3gppServiceInstances-deactivate3gppService">deactivate3gppService</a>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05301110 </li>
1111 <li data-group="Onap3gppServiceInstances" data-name="deallocate3gppService" class="">
tragait5e9676e2021-01-14 16:07:07 +00001112 <a href="#api-Onap3gppServiceInstances-deallocate3gppService">deallocate3gppService</a>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05301113 </li>
1114 <li data-group="Onap3gppServiceInstances" data-name="modify3gppService" class="">
tragait5e9676e2021-01-14 16:07:07 +00001115 <a href="#api-Onap3gppServiceInstances-modify3gppService">modify3gppService</a>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05301116 </li>
1117 <li data-group="Onap3gppServiceInstances" data-name="querySubnetCapability" class="">
tragait5e9676e2021-01-14 16:07:07 +00001118 <a href="#api-Onap3gppServiceInstances-querySubnetCapability">querySubnetCapability</a>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05301119 </li>
tragait5e9676e2021-01-14 16:07:07 +00001120 <li class="nav-header" data-group="OnapsoinfracloudResources"><a href="#api-OnapsoinfracloudResources">API Methods - OnapsoinfracloudResources</a></li>
seshukmb3a332a2018-10-05 16:27:16 +08001121 <li data-group="OnapsoinfracloudResources" data-name="activateOperationEnvironment" class="">
tragait5e9676e2021-01-14 16:07:07 +00001122 <a href="#api-OnapsoinfracloudResources-activateOperationEnvironment">activateOperationEnvironment</a>
seshukmb3a332a2018-10-05 16:27:16 +08001123 </li>
1124 <li data-group="OnapsoinfracloudResources" data-name="createOperationEnvironment" class="">
tragait5e9676e2021-01-14 16:07:07 +00001125 <a href="#api-OnapsoinfracloudResources-createOperationEnvironment">createOperationEnvironment</a>
seshukmb3a332a2018-10-05 16:27:16 +08001126 </li>
1127 <li data-group="OnapsoinfracloudResources" data-name="deactivateOperationEnvironment" class="">
tragait5e9676e2021-01-14 16:07:07 +00001128 <a href="#api-OnapsoinfracloudResources-deactivateOperationEnvironment">deactivateOperationEnvironment</a>
seshukmb3a332a2018-10-05 16:27:16 +08001129 </li>
tragait5e9676e2021-01-14 16:07:07 +00001130 <li class="nav-header" data-group="OnapsoinfracloudResourcesRequests"><a href="#api-OnapsoinfracloudResourcesRequests">API Methods - OnapsoinfracloudResourcesRequests</a></li>
seshukmb3a332a2018-10-05 16:27:16 +08001131 <li data-group="OnapsoinfracloudResourcesRequests" data-name="getOperationEnvironmentStatusFilter" class="">
tragait5e9676e2021-01-14 16:07:07 +00001132 <a href="#api-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter">getOperationEnvironmentStatusFilter</a>
seshukmb3a332a2018-10-05 16:27:16 +08001133 </li>
1134 <li data-group="OnapsoinfracloudResourcesRequests" data-name="unlockOrchestrationRequestForReqId" class="">
tragait5e9676e2021-01-14 16:07:07 +00001135 <a href="#api-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId">unlockOrchestrationRequestForReqId</a>
seshukmb3a332a2018-10-05 16:27:16 +08001136 </li>
tragait5e9676e2021-01-14 16:07:07 +00001137 <li class="nav-header" data-group="OnapsoinfrainstanceManagement"><a href="#api-OnapsoinfrainstanceManagement">API Methods - OnapsoinfrainstanceManagement</a></li>
1138 <li data-group="OnapsoinfrainstanceManagement" data-name="executePNFCustomWorkflow" class="">
1139 <a href="#api-OnapsoinfrainstanceManagement-executePNFCustomWorkflow">executePNFCustomWorkflow</a>
1140 </li>
rameshiyer27553bc772020-08-25 16:49:34 +01001141 <li data-group="OnapsoinfrainstanceManagement" data-name="executeServiceLevelCustomWorkflow" class="">
tragait5e9676e2021-01-14 16:07:07 +00001142 <a href="#api-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow">executeServiceLevelCustomWorkflow</a>
rameshiyer27553bc772020-08-25 16:49:34 +01001143 </li>
tragait5e9676e2021-01-14 16:07:07 +00001144 <li class="nav-header" data-group="OnapsoinframodelDistributions"><a href="#api-OnapsoinframodelDistributions">API Methods - OnapsoinframodelDistributions</a></li>
seshukmb3a332a2018-10-05 16:27:16 +08001145 <li data-group="OnapsoinframodelDistributions" data-name="updateModelDistributionStatus" class="">
tragait5e9676e2021-01-14 16:07:07 +00001146 <a href="#api-OnapsoinframodelDistributions-updateModelDistributionStatus">updateModelDistributionStatus</a>
seshukmb3a332a2018-10-05 16:27:16 +08001147 </li>
tragait5e9676e2021-01-14 16:07:07 +00001148 <li class="nav-header" data-group="OnapsoinfraorchestrationRequests"><a href="#api-OnapsoinfraorchestrationRequests">API Methods - OnapsoinfraorchestrationRequests</a></li>
seshukmb3a332a2018-10-05 16:27:16 +08001149 <li data-group="OnapsoinfraorchestrationRequests" data-name="getOrchestrationRequest" class="">
tragait5e9676e2021-01-14 16:07:07 +00001150 <a href="#api-OnapsoinfraorchestrationRequests-getOrchestrationRequest">getOrchestrationRequest</a>
seshukmb3a332a2018-10-05 16:27:16 +08001151 </li>
1152 <li data-group="OnapsoinfraorchestrationRequests" data-name="getOrchestrationRequestForReqId" class="">
tragait5e9676e2021-01-14 16:07:07 +00001153 <a href="#api-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId">getOrchestrationRequestForReqId</a>
seshukmb3a332a2018-10-05 16:27:16 +08001154 </li>
1155 <li data-group="OnapsoinfraorchestrationRequests" data-name="unlockOrchestrationRequest" class="">
tragait5e9676e2021-01-14 16:07:07 +00001156 <a href="#api-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest">unlockOrchestrationRequest</a>
seshukmb3a332a2018-10-05 16:27:16 +08001157 </li>
tragait5e9676e2021-01-14 16:07:07 +00001158 <li class="nav-header" data-group="OnapsoinfraorchestrationTasks"><a href="#api-OnapsoinfraorchestrationTasks">API Methods - OnapsoinfraorchestrationTasks</a></li>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05301159 <li data-group="OnapsoinfraorchestrationTasks" data-name="abortOrchestrationTask" class="">
tragait5e9676e2021-01-14 16:07:07 +00001160 <a href="#api-OnapsoinfraorchestrationTasks-abortOrchestrationTask">abortOrchestrationTask</a>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05301161 </li>
1162 <li data-group="OnapsoinfraorchestrationTasks" data-name="commitOrchestrationTask" class="">
tragait5e9676e2021-01-14 16:07:07 +00001163 <a href="#api-OnapsoinfraorchestrationTasks-commitOrchestrationTask">commitOrchestrationTask</a>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05301164 </li>
1165 <li data-group="OnapsoinfraorchestrationTasks" data-name="createOrchestrationTask" class="">
tragait5e9676e2021-01-14 16:07:07 +00001166 <a href="#api-OnapsoinfraorchestrationTasks-createOrchestrationTask">createOrchestrationTask</a>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05301167 </li>
1168 <li data-group="OnapsoinfraorchestrationTasks" data-name="deleteOrchestrationTask" class="">
tragait5e9676e2021-01-14 16:07:07 +00001169 <a href="#api-OnapsoinfraorchestrationTasks-deleteOrchestrationTask">deleteOrchestrationTask</a>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05301170 </li>
1171 <li data-group="OnapsoinfraorchestrationTasks" data-name="getAllOrchestrationTasks" class="">
tragait5e9676e2021-01-14 16:07:07 +00001172 <a href="#api-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks">getAllOrchestrationTasks</a>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05301173 </li>
1174 <li data-group="OnapsoinfraorchestrationTasks" data-name="getOrchestrationTask" class="">
tragait5e9676e2021-01-14 16:07:07 +00001175 <a href="#api-OnapsoinfraorchestrationTasks-getOrchestrationTask">getOrchestrationTask</a>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05301176 </li>
1177 <li data-group="OnapsoinfraorchestrationTasks" data-name="updateOrchestrationTask" class="">
tragait5e9676e2021-01-14 16:07:07 +00001178 <a href="#api-OnapsoinfraorchestrationTasks-updateOrchestrationTask">updateOrchestrationTask</a>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05301179 </li>
tragait5e9676e2021-01-14 16:07:07 +00001180 <li class="nav-header" data-group="OnapsoinfraserviceInstantiation"><a href="#api-OnapsoinfraserviceInstantiation">API Methods - OnapsoinfraserviceInstantiation</a></li>
seshukmb3a332a2018-10-05 16:27:16 +08001181 <li data-group="OnapsoinfraserviceInstantiation" data-name="activatePort" class="">
tragait5e9676e2021-01-14 16:07:07 +00001182 <a href="#api-OnapsoinfraserviceInstantiation-activatePort">activatePort</a>
seshukmb3a332a2018-10-05 16:27:16 +08001183 </li>
1184 <li data-group="OnapsoinfraserviceInstantiation" data-name="activateServiceInstance" class="">
tragait5e9676e2021-01-14 16:07:07 +00001185 <a href="#api-OnapsoinfraserviceInstantiation-activateServiceInstance">activateServiceInstance</a>
seshukmb3a332a2018-10-05 16:27:16 +08001186 </li>
1187 <li data-group="OnapsoinfraserviceInstantiation" data-name="addRelationships" class="">
tragait5e9676e2021-01-14 16:07:07 +00001188 <a href="#api-OnapsoinfraserviceInstantiation-addRelationships">addRelationships</a>
seshukmb3a332a2018-10-05 16:27:16 +08001189 </li>
1190 <li data-group="OnapsoinfraserviceInstantiation" data-name="applyUpdatedConfig" class="">
tragait5e9676e2021-01-14 16:07:07 +00001191 <a href="#api-OnapsoinfraserviceInstantiation-applyUpdatedConfig">applyUpdatedConfig</a>
seshukmb3a332a2018-10-05 16:27:16 +08001192 </li>
1193 <li data-group="OnapsoinfraserviceInstantiation" data-name="assignServiceInstance" class="">
tragait5e9676e2021-01-14 16:07:07 +00001194 <a href="#api-OnapsoinfraserviceInstantiation-assignServiceInstance">assignServiceInstance</a>
seshukmb3a332a2018-10-05 16:27:16 +08001195 </li>
1196 <li data-group="OnapsoinfraserviceInstantiation" data-name="createNetworkInstance" class="">
tragait5e9676e2021-01-14 16:07:07 +00001197 <a href="#api-OnapsoinfraserviceInstantiation-createNetworkInstance">createNetworkInstance</a>
seshukmb3a332a2018-10-05 16:27:16 +08001198 </li>
1199 <li data-group="OnapsoinfraserviceInstantiation" data-name="createPortConfiguration" class="">
tragait5e9676e2021-01-14 16:07:07 +00001200 <a href="#api-OnapsoinfraserviceInstantiation-createPortConfiguration">createPortConfiguration</a>
seshukmb3a332a2018-10-05 16:27:16 +08001201 </li>
1202 <li data-group="OnapsoinfraserviceInstantiation" data-name="createServiceInstance" class="">
tragait5e9676e2021-01-14 16:07:07 +00001203 <a href="#api-OnapsoinfraserviceInstantiation-createServiceInstance">createServiceInstance</a>
seshukmb3a332a2018-10-05 16:27:16 +08001204 </li>
1205 <li data-group="OnapsoinfraserviceInstantiation" data-name="createVfModuleInstance" class="">
tragait5e9676e2021-01-14 16:07:07 +00001206 <a href="#api-OnapsoinfraserviceInstantiation-createVfModuleInstance">createVfModuleInstance</a>
seshukmb3a332a2018-10-05 16:27:16 +08001207 </li>
1208 <li data-group="OnapsoinfraserviceInstantiation" data-name="createVnfInstance" class="">
tragait5e9676e2021-01-14 16:07:07 +00001209 <a href="#api-OnapsoinfraserviceInstantiation-createVnfInstance">createVnfInstance</a>
seshukmb3a332a2018-10-05 16:27:16 +08001210 </li>
1211 <li data-group="OnapsoinfraserviceInstantiation" data-name="createVolumeGroupInstance" class="">
tragait5e9676e2021-01-14 16:07:07 +00001212 <a href="#api-OnapsoinfraserviceInstantiation-createVolumeGroupInstance">createVolumeGroupInstance</a>
seshukmb3a332a2018-10-05 16:27:16 +08001213 </li>
1214 <li data-group="OnapsoinfraserviceInstantiation" data-name="deactivateAndCloudDeleteVfModuleInstance" class="">
tragait5e9676e2021-01-14 16:07:07 +00001215 <a href="#api-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance">deactivateAndCloudDeleteVfModuleInstance</a>
seshukmb3a332a2018-10-05 16:27:16 +08001216 </li>
1217 <li data-group="OnapsoinfraserviceInstantiation" data-name="deactivatePort" class="">
tragait5e9676e2021-01-14 16:07:07 +00001218 <a href="#api-OnapsoinfraserviceInstantiation-deactivatePort">deactivatePort</a>
seshukmb3a332a2018-10-05 16:27:16 +08001219 </li>
1220 <li data-group="OnapsoinfraserviceInstantiation" data-name="deactivateServiceInstance" class="">
tragait5e9676e2021-01-14 16:07:07 +00001221 <a href="#api-OnapsoinfraserviceInstantiation-deactivateServiceInstance">deactivateServiceInstance</a>
seshukmb3a332a2018-10-05 16:27:16 +08001222 </li>
1223 <li data-group="OnapsoinfraserviceInstantiation" data-name="deleteNetworkInstance" class="">
tragait5e9676e2021-01-14 16:07:07 +00001224 <a href="#api-OnapsoinfraserviceInstantiation-deleteNetworkInstance">deleteNetworkInstance</a>
seshukmb3a332a2018-10-05 16:27:16 +08001225 </li>
1226 <li data-group="OnapsoinfraserviceInstantiation" data-name="deletePortConfiguration" class="">
tragait5e9676e2021-01-14 16:07:07 +00001227 <a href="#api-OnapsoinfraserviceInstantiation-deletePortConfiguration">deletePortConfiguration</a>
seshukmb3a332a2018-10-05 16:27:16 +08001228 </li>
1229 <li data-group="OnapsoinfraserviceInstantiation" data-name="deleteServiceInstance" class="">
tragait5e9676e2021-01-14 16:07:07 +00001230 <a href="#api-OnapsoinfraserviceInstantiation-deleteServiceInstance">deleteServiceInstance</a>
seshukmb3a332a2018-10-05 16:27:16 +08001231 </li>
1232 <li data-group="OnapsoinfraserviceInstantiation" data-name="deleteVfModuleInstance" class="">
tragait5e9676e2021-01-14 16:07:07 +00001233 <a href="#api-OnapsoinfraserviceInstantiation-deleteVfModuleInstance">deleteVfModuleInstance</a>
seshukmb3a332a2018-10-05 16:27:16 +08001234 </li>
1235 <li data-group="OnapsoinfraserviceInstantiation" data-name="deleteVnfInstance" class="">
tragait5e9676e2021-01-14 16:07:07 +00001236 <a href="#api-OnapsoinfraserviceInstantiation-deleteVnfInstance">deleteVnfInstance</a>
seshukmb3a332a2018-10-05 16:27:16 +08001237 </li>
1238 <li data-group="OnapsoinfraserviceInstantiation" data-name="deleteVolumeGroupInstance" class="">
tragait5e9676e2021-01-14 16:07:07 +00001239 <a href="#api-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance">deleteVolumeGroupInstance</a>
seshukmb3a332a2018-10-05 16:27:16 +08001240 </li>
1241 <li data-group="OnapsoinfraserviceInstantiation" data-name="disablePort" class="">
tragait5e9676e2021-01-14 16:07:07 +00001242 <a href="#api-OnapsoinfraserviceInstantiation-disablePort">disablePort</a>
seshukmb3a332a2018-10-05 16:27:16 +08001243 </li>
1244 <li data-group="OnapsoinfraserviceInstantiation" data-name="enablePort" class="">
tragait5e9676e2021-01-14 16:07:07 +00001245 <a href="#api-OnapsoinfraserviceInstantiation-enablePort">enablePort</a>
seshukmb3a332a2018-10-05 16:27:16 +08001246 </li>
1247 <li data-group="OnapsoinfraserviceInstantiation" data-name="inPlaceSoftwareUpdate" class="">
tragait5e9676e2021-01-14 16:07:07 +00001248 <a href="#api-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate">inPlaceSoftwareUpdate</a>
seshukmb3a332a2018-10-05 16:27:16 +08001249 </li>
1250 <li data-group="OnapsoinfraserviceInstantiation" data-name="removeRelationships" class="">
tragait5e9676e2021-01-14 16:07:07 +00001251 <a href="#api-OnapsoinfraserviceInstantiation-removeRelationships">removeRelationships</a>
seshukmb3a332a2018-10-05 16:27:16 +08001252 </li>
1253 <li data-group="OnapsoinfraserviceInstantiation" data-name="replaceVfModuleInstance" class="">
tragait5e9676e2021-01-14 16:07:07 +00001254 <a href="#api-OnapsoinfraserviceInstantiation-replaceVfModuleInstance">replaceVfModuleInstance</a>
seshukmb3a332a2018-10-05 16:27:16 +08001255 </li>
1256 <li data-group="OnapsoinfraserviceInstantiation" data-name="replaceVnfInstance" class="">
tragait5e9676e2021-01-14 16:07:07 +00001257 <a href="#api-OnapsoinfraserviceInstantiation-replaceVnfInstance">replaceVnfInstance</a>
seshukmb3a332a2018-10-05 16:27:16 +08001258 </li>
1259 <li data-group="OnapsoinfraserviceInstantiation" data-name="scaleOutVfModule" class="">
tragait5e9676e2021-01-14 16:07:07 +00001260 <a href="#api-OnapsoinfraserviceInstantiation-scaleOutVfModule">scaleOutVfModule</a>
seshukmb3a332a2018-10-05 16:27:16 +08001261 </li>
1262 <li data-group="OnapsoinfraserviceInstantiation" data-name="unassignServiceInstance" class="">
tragait5e9676e2021-01-14 16:07:07 +00001263 <a href="#api-OnapsoinfraserviceInstantiation-unassignServiceInstance">unassignServiceInstance</a>
seshukmb3a332a2018-10-05 16:27:16 +08001264 </li>
1265 <li data-group="OnapsoinfraserviceInstantiation" data-name="updateNetworkInstance" class="">
tragait5e9676e2021-01-14 16:07:07 +00001266 <a href="#api-OnapsoinfraserviceInstantiation-updateNetworkInstance">updateNetworkInstance</a>
seshukmb3a332a2018-10-05 16:27:16 +08001267 </li>
1268 <li data-group="OnapsoinfraserviceInstantiation" data-name="updateVfModuleInstance" class="">
tragait5e9676e2021-01-14 16:07:07 +00001269 <a href="#api-OnapsoinfraserviceInstantiation-updateVfModuleInstance">updateVfModuleInstance</a>
seshukmb3a332a2018-10-05 16:27:16 +08001270 </li>
1271 <li data-group="OnapsoinfraserviceInstantiation" data-name="updateVnfInstance" class="">
tragait5e9676e2021-01-14 16:07:07 +00001272 <a href="#api-OnapsoinfraserviceInstantiation-updateVnfInstance">updateVnfInstance</a>
seshukmb3a332a2018-10-05 16:27:16 +08001273 </li>
1274 <li data-group="OnapsoinfraserviceInstantiation" data-name="updateVolumeGroupInstance" class="">
tragait5e9676e2021-01-14 16:07:07 +00001275 <a href="#api-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance">updateVolumeGroupInstance</a>
seshukmb3a332a2018-10-05 16:27:16 +08001276 </li>
tragait5e9676e2021-01-14 16:07:07 +00001277 <li class="nav-header" data-group="Onapsoinfratasks"><a href="#api-Onapsoinfratasks">API Methods - Onapsoinfratasks</a></li>
seshukmb3a332a2018-10-05 16:27:16 +08001278 <li data-group="Onapsoinfratasks" data-name="queryFilters" class="">
tragait5e9676e2021-01-14 16:07:07 +00001279 <a href="#api-Onapsoinfratasks-queryFilters">queryFilters</a>
seshukmb3a332a2018-10-05 16:27:16 +08001280 </li>
tragait5e9676e2021-01-14 16:07:07 +00001281 <li class="nav-header" data-group="OnapsoinfraworkflowSpecifications"><a href="#api-OnapsoinfraworkflowSpecifications">API Methods - OnapsoinfraworkflowSpecifications</a></li>
rameshiyer27553bc772020-08-25 16:49:34 +01001282 <li data-group="OnapsoinfraworkflowSpecifications" data-name="queryWorkflowSpecifications" class="">
tragait5e9676e2021-01-14 16:07:07 +00001283 <a href="#api-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications">queryWorkflowSpecifications</a>
rameshiyer27553bc772020-08-25 16:49:34 +01001284 </li>
tragait5e9676e2021-01-14 16:07:07 +00001285 </ul>
1286 </nav>
seshukmb3a332a2018-10-05 16:27:16 +08001287 </div>
tragait5e9676e2021-01-14 16:07:07 +00001288 <div id="content">
1289 <div id="project">
1290 <div class="pull-left">
1291 <h1>SO Guilin APIs</h1>
1292 </div>
1293 <div class="clearfix"></div>
1294 </div>
1295 <div id="header">
1296 <div id="api-_">
1297 <h2 id="welcome-to-apidoc">API and SDK Documentation</h2>
1298 <div class="app-desc">Version: 3.1.2</div>
1299 <hr>
1300 <div>No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)</div>
1301 </div>
1302 </div>
1303 <div id="sections">
seshukmb3a332a2018-10-05 16:27:16 +08001304 <section id="api-E2eServiceInstances">
tragait5e9676e2021-01-14 16:07:07 +00001305 <h1>E2eServiceInstances</h1>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05301306 <div id="api-E2eServiceInstances-activateE2EServiceInstances">
tragait5e9676e2021-01-14 16:07:07 +00001307 <article id="api-E2eServiceInstances-activateE2EServiceInstances-0" data-group="User" data-name="activateE2EServiceInstances" data-version="0">
1308 <div class="pull-left">
1309 <h1>activateE2EServiceInstances</h1>
1310 <p>Activate/Deactivate 5G slice Service on a specified version and serviceId</p>
1311 </div>
1312 <div class="pull-right"></div>
1313 <div class="clearfix"></div>
1314 <p></p>
1315 <p class="marked"></p>
1316 <p></p>
1317 <br />
1318 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/e2eServiceInstances/{version}/{serviceId}/{operationType}</span></code></pre>
1319 <p>
1320 <h3>Usage and SDK Samples</h3>
1321 </p>
1322 <ul class="nav nav-tabs nav-tabs-examples">
1323 <li class="active"><a href="#examples-E2eServiceInstances-activateE2EServiceInstances-0-curl">Curl</a></li>
1324 <li class=""><a href="#examples-E2eServiceInstances-activateE2EServiceInstances-0-java">Java</a></li>
1325 <li class=""><a href="#examples-E2eServiceInstances-activateE2EServiceInstances-0-android">Android</a></li>
1326 <!--<li class=""><a href="#examples-E2eServiceInstances-activateE2EServiceInstances-0-groovy">Groovy</a></li>-->
1327 <li class=""><a href="#examples-E2eServiceInstances-activateE2EServiceInstances-0-objc">Obj-C</a></li>
1328 <li class=""><a href="#examples-E2eServiceInstances-activateE2EServiceInstances-0-javascript">JavaScript</a></li>
1329 <!--<li class=""><a href="#examples-E2eServiceInstances-activateE2EServiceInstances-0-angular">Angular</a></li>-->
1330 <li class=""><a href="#examples-E2eServiceInstances-activateE2EServiceInstances-0-csharp">C#</a></li>
1331 <li class=""><a href="#examples-E2eServiceInstances-activateE2EServiceInstances-0-php">PHP</a></li>
1332 <li class=""><a href="#examples-E2eServiceInstances-activateE2EServiceInstances-0-perl">Perl</a></li>
1333 <li class=""><a href="#examples-E2eServiceInstances-activateE2EServiceInstances-0-python">Python</a></li>
1334 </ul>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05301335
tragait5e9676e2021-01-14 16:07:07 +00001336 <div class="tab-content">
1337 <div class="tab-pane active" id="examples-E2eServiceInstances-activateE2EServiceInstances-0-curl">
1338 <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/e2eServiceInstances/{version}/{serviceId}/{operationType}"</code></pre>
1339 </div>
1340 <div class="tab-pane" id="examples-E2eServiceInstances-activateE2EServiceInstances-0-java">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05301341 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
1342import io.swagger.client.auth.*;
1343import io.swagger.client.model.*;
1344import io.swagger.client.api.E2eServiceInstancesApi;
1345
1346import java.io.File;
1347import java.util.*;
1348
1349public class E2eServiceInstancesApiExample {
1350
1351 public static void main(String[] args) {
tragait5e9676e2021-01-14 16:07:07 +00001352
Priyadharshinic86ab4a2020-08-14 17:11:49 +05301353 E2eServiceInstancesApi apiInstance = new E2eServiceInstancesApi();
tragait5e9676e2021-01-14 16:07:07 +00001354 String version = version_example; // String |
1355 String serviceId = serviceId_example; // String |
1356 String operationType = operationType_example; // String |
1357 String body = body_example; // String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +05301358 try {
1359 apiInstance.activateE2EServiceInstances(version, serviceId, operationType, body);
1360 } catch (ApiException e) {
1361 System.err.println("Exception when calling E2eServiceInstancesApi#activateE2EServiceInstances");
1362 e.printStackTrace();
1363 }
1364 }
1365}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00001366 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05301367
tragait5e9676e2021-01-14 16:07:07 +00001368 <div class="tab-pane" id="examples-E2eServiceInstances-activateE2EServiceInstances-0-android">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05301369 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.E2eServiceInstancesApi;
1370
1371public class E2eServiceInstancesApiExample {
1372
1373 public static void main(String[] args) {
1374 E2eServiceInstancesApi apiInstance = new E2eServiceInstancesApi();
tragait5e9676e2021-01-14 16:07:07 +00001375 String version = version_example; // String |
1376 String serviceId = serviceId_example; // String |
1377 String operationType = operationType_example; // String |
1378 String body = body_example; // String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +05301379 try {
1380 apiInstance.activateE2EServiceInstances(version, serviceId, operationType, body);
1381 } catch (ApiException e) {
1382 System.err.println("Exception when calling E2eServiceInstancesApi#activateE2EServiceInstances");
1383 e.printStackTrace();
1384 }
1385 }
1386}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00001387 </div>
1388 <!--
Priyadharshinic86ab4a2020-08-14 17:11:49 +05301389 <div class="tab-pane" id="examples-E2eServiceInstances-activateE2EServiceInstances-0-groovy">
1390 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
1391 </div> -->
tragait5e9676e2021-01-14 16:07:07 +00001392 <div class="tab-pane" id="examples-E2eServiceInstances-activateE2EServiceInstances-0-objc">
1393 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
1394String *serviceId = serviceId_example; //
1395String *operationType = operationType_example; //
Priyadharshinic86ab4a2020-08-14 17:11:49 +05301396String *body = body_example; // (optional)
1397
1398E2eServiceInstancesApi *apiInstance = [[E2eServiceInstancesApi alloc] init];
1399
1400// Activate/Deactivate 5G slice Service on a specified version and serviceId
1401[apiInstance activateE2EServiceInstancesWith:version
1402 serviceId:serviceId
1403 operationType:operationType
1404 body:body
1405 completionHandler: ^(NSError* error) {
1406 if (error) {
1407 NSLog(@"Error: %@", error);
1408 }
1409 }];
1410</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00001411 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05301412
tragait5e9676e2021-01-14 16:07:07 +00001413 <div class="tab-pane" id="examples-E2eServiceInstances-activateE2EServiceInstances-0-javascript">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05301414 <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is');
1415
1416var api = new SoGuilinApIs.E2eServiceInstancesApi()
1417
tragait5e9676e2021-01-14 16:07:07 +00001418var version = version_example; // {String}
Priyadharshinic86ab4a2020-08-14 17:11:49 +05301419
tragait5e9676e2021-01-14 16:07:07 +00001420var serviceId = serviceId_example; // {String}
Priyadharshinic86ab4a2020-08-14 17:11:49 +05301421
tragait5e9676e2021-01-14 16:07:07 +00001422var operationType = operationType_example; // {String}
Priyadharshinic86ab4a2020-08-14 17:11:49 +05301423
tragait5e9676e2021-01-14 16:07:07 +00001424var opts = {
1425 'body': body_example // {String}
Priyadharshinic86ab4a2020-08-14 17:11:49 +05301426};
1427
1428var callback = function(error, data, response) {
1429 if (error) {
1430 console.error(error);
1431 } else {
1432 console.log('API called successfully.');
1433 }
1434};
1435api.activateE2EServiceInstances(version, serviceId, operationType, opts, callback);
1436</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00001437 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05301438
tragait5e9676e2021-01-14 16:07:07 +00001439 <!--<div class="tab-pane" id="examples-E2eServiceInstances-activateE2EServiceInstances-0-angular">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05301440 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
1441 </div>-->
tragait5e9676e2021-01-14 16:07:07 +00001442 <div class="tab-pane" id="examples-E2eServiceInstances-activateE2EServiceInstances-0-csharp">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05301443 <pre class="prettyprint"><code class="language-cs">using System;
1444using System.Diagnostics;
1445using IO.Swagger.Api;
1446using IO.Swagger.Client;
1447using IO.Swagger.Model;
1448
1449namespace Example
1450{
1451 public class activateE2EServiceInstancesExample
1452 {
1453 public void main()
1454 {
tragait5e9676e2021-01-14 16:07:07 +00001455
Priyadharshinic86ab4a2020-08-14 17:11:49 +05301456 var apiInstance = new E2eServiceInstancesApi();
tragait5e9676e2021-01-14 16:07:07 +00001457 var version = version_example; // String |
1458 var serviceId = serviceId_example; // String |
1459 var operationType = operationType_example; // String |
1460 var body = body_example; // String | (optional)
Priyadharshinic86ab4a2020-08-14 17:11:49 +05301461
1462 try
1463 {
1464 // Activate/Deactivate 5G slice Service on a specified version and serviceId
1465 apiInstance.activateE2EServiceInstances(version, serviceId, operationType, body);
1466 }
1467 catch (Exception e)
1468 {
1469 Debug.Print("Exception when calling E2eServiceInstancesApi.activateE2EServiceInstances: " + e.Message );
1470 }
1471 }
1472 }
1473}
1474</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00001475 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05301476
tragait5e9676e2021-01-14 16:07:07 +00001477 <div class="tab-pane" id="examples-E2eServiceInstances-activateE2EServiceInstances-0-php">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05301478 <pre class="prettyprint"><code class="language-php"><&#63;php
1479require_once(__DIR__ . '/vendor/autoload.php');
1480
1481$api_instance = new Swagger\Client\Api\E2eServiceInstancesApi();
tragait5e9676e2021-01-14 16:07:07 +00001482$version = version_example; // String |
1483$serviceId = serviceId_example; // String |
1484$operationType = operationType_example; // String |
1485$body = body_example; // String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +05301486
1487try {
1488 $api_instance->activateE2EServiceInstances($version, $serviceId, $operationType, $body);
1489} catch (Exception $e) {
1490 echo 'Exception when calling E2eServiceInstancesApi->activateE2EServiceInstances: ', $e->getMessage(), PHP_EOL;
1491}
1492?></code></pre>
tragait5e9676e2021-01-14 16:07:07 +00001493 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05301494
tragait5e9676e2021-01-14 16:07:07 +00001495 <div class="tab-pane" id="examples-E2eServiceInstances-activateE2EServiceInstances-0-perl">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05301496 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
1497use WWW::SwaggerClient::Configuration;
1498use WWW::SwaggerClient::E2eServiceInstancesApi;
1499
1500my $api_instance = WWW::SwaggerClient::E2eServiceInstancesApi->new();
tragait5e9676e2021-01-14 16:07:07 +00001501my $version = version_example; # String |
1502my $serviceId = serviceId_example; # String |
1503my $operationType = operationType_example; # String |
1504my $body = WWW::SwaggerClient::Object::String->new(); # String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +05301505
tragait5e9676e2021-01-14 16:07:07 +00001506eval {
Priyadharshinic86ab4a2020-08-14 17:11:49 +05301507 $api_instance->activateE2EServiceInstances(version => $version, serviceId => $serviceId, operationType => $operationType, body => $body);
1508};
1509if ($@) {
1510 warn "Exception when calling E2eServiceInstancesApi->activateE2EServiceInstances: $@\n";
1511}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00001512 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05301513
tragait5e9676e2021-01-14 16:07:07 +00001514 <div class="tab-pane" id="examples-E2eServiceInstances-activateE2EServiceInstances-0-python">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05301515 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
1516import time
1517import swagger_client
1518from swagger_client.rest import ApiException
1519from pprint import pprint
1520
1521# create an instance of the API class
1522api_instance = swagger_client.E2eServiceInstancesApi()
tragait5e9676e2021-01-14 16:07:07 +00001523version = version_example # String |
1524serviceId = serviceId_example # String |
1525operationType = operationType_example # String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +05301526body = body_example # String | (optional)
1527
tragait5e9676e2021-01-14 16:07:07 +00001528try:
Priyadharshinic86ab4a2020-08-14 17:11:49 +05301529 # Activate/Deactivate 5G slice Service on a specified version and serviceId
1530 api_instance.activate_e2_e_service_instances(version, serviceId, operationType, body=body)
1531except ApiException as e:
1532 print("Exception when calling E2eServiceInstancesApi->activateE2EServiceInstances: %s\n" % e)</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00001533 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05301534 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05301535
tragait5e9676e2021-01-14 16:07:07 +00001536 <h2>Parameters</h2>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05301537
1538 <div class="methodsubtabletitle">Path parameters</div>
1539 <table id="methodsubtable">
1540 <tr>
tragait5e9676e2021-01-14 16:07:07 +00001541 <th width="150px">Name</th>
1542 <th>Description</th>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05301543 </tr>
tragait5e9676e2021-01-14 16:07:07 +00001544 <tr><td style="width:150px;">version*</td>
1545 <td>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05301546
1547
tragait5e9676e2021-01-14 16:07:07 +00001548 <div id="d2e199_activateE2EServiceInstances_version">
1549 <div class="json-schema-view">
1550 <div class="primitive">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05301551 <span class="type">
1552 String
1553 </span>
1554
tragait5e9676e2021-01-14 16:07:07 +00001555 </div>
1556 <div class="inner required">
1557 Required
1558 </div>
1559 </div>
1560 </div>
1561 </td>
1562 </tr>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05301563
tragait5e9676e2021-01-14 16:07:07 +00001564 <tr><td style="width:150px;">serviceId*</td>
1565 <td>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05301566
1567
tragait5e9676e2021-01-14 16:07:07 +00001568 <div id="d2e199_activateE2EServiceInstances_serviceId">
1569 <div class="json-schema-view">
1570 <div class="primitive">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05301571 <span class="type">
1572 String
1573 </span>
1574
tragait5e9676e2021-01-14 16:07:07 +00001575 </div>
1576 <div class="inner required">
1577 Required
1578 </div>
1579 </div>
1580 </div>
1581 </td>
1582 </tr>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05301583
tragait5e9676e2021-01-14 16:07:07 +00001584 <tr><td style="width:150px;">operationType*</td>
1585 <td>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05301586
1587
tragait5e9676e2021-01-14 16:07:07 +00001588 <div id="d2e199_activateE2EServiceInstances_operationType">
1589 <div class="json-schema-view">
1590 <div class="primitive">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05301591 <span class="type">
1592 String
1593 </span>
1594
tragait5e9676e2021-01-14 16:07:07 +00001595 </div>
1596 <div class="inner required">
1597 Required
1598 </div>
1599 </div>
1600 </div>
1601 </td>
1602 </tr>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05301603
1604 </table>
1605
1606
1607 <div class="methodsubtabletitle">Body parameters</div>
1608 <table id="methodsubtable">
tragait5e9676e2021-01-14 16:07:07 +00001609 <tr>
1610 <th width="150px">Name</th>
1611 <th>Description</th>
1612 </tr>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05301613 <tr><td style="width:150px;">body </td>
tragait5e9676e2021-01-14 16:07:07 +00001614 <td>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05301615
1616
tragait5e9676e2021-01-14 16:07:07 +00001617 <script>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05301618$(document).ready(function() {
1619 var schemaWrapper = {
1620 "in" : "body",
1621 "name" : "body",
1622 "required" : false,
1623 "schema" : {
1624 "type" : "string"
1625 }
1626};
1627 var schema = schemaWrapper.schema;
1628 if (schema.$ref != null) {
1629 schema = defsParser.$refs.get(schema.$ref);
1630 } else {
1631 schemaWrapper.definitions = Object.assign({}, defs);
1632 $RefParser.dereference(schemaWrapper).catch(function(err) {
1633 console.log(err);
1634 });
1635 }
1636
1637 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
1638 var result = $('#d2e199_activateE2EServiceInstances_body');
1639 result.empty();
1640 result.append(view.render());
1641});
1642</script>
tragait5e9676e2021-01-14 16:07:07 +00001643 <div id="d2e199_activateE2EServiceInstances_body"></div>
1644 </td>
1645 </tr>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05301646
1647 </table>
1648
1649
1650
tragait5e9676e2021-01-14 16:07:07 +00001651 <h2>Responses</h2>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05301652 <h3> Status: default - successful operation </h3>
1653
1654 <ul class="nav nav-tabs nav-tabs-examples" >
1655 </ul>
1656
1657 <div class="tab-content" style='margin-bottom: 10px;'>
1658 </div>
1659
1660 </article>
tragait5e9676e2021-01-14 16:07:07 +00001661 </div>
1662 <hr>
seshukmb3a332a2018-10-05 16:27:16 +08001663 <div id="api-E2eServiceInstances-compareModelwithTargetVersion">
tragait5e9676e2021-01-14 16:07:07 +00001664 <article id="api-E2eServiceInstances-compareModelwithTargetVersion-0" data-group="User" data-name="compareModelwithTargetVersion" data-version="0">
1665 <div class="pull-left">
1666 <h1>compareModelwithTargetVersion</h1>
1667 <p>Find added and deleted resources of target model for the e2eserviceInstance on a given serviceId </p>
1668 </div>
1669 <div class="pull-right"></div>
1670 <div class="clearfix"></div>
1671 <p></p>
1672 <p class="marked"></p>
1673 <p></p>
1674 <br />
1675 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/e2eServiceInstances/{version}/{serviceId}/modeldifferences</span></code></pre>
1676 <p>
1677 <h3>Usage and SDK Samples</h3>
1678 </p>
1679 <ul class="nav nav-tabs nav-tabs-examples">
1680 <li class="active"><a href="#examples-E2eServiceInstances-compareModelwithTargetVersion-0-curl">Curl</a></li>
1681 <li class=""><a href="#examples-E2eServiceInstances-compareModelwithTargetVersion-0-java">Java</a></li>
1682 <li class=""><a href="#examples-E2eServiceInstances-compareModelwithTargetVersion-0-android">Android</a></li>
1683 <!--<li class=""><a href="#examples-E2eServiceInstances-compareModelwithTargetVersion-0-groovy">Groovy</a></li>-->
1684 <li class=""><a href="#examples-E2eServiceInstances-compareModelwithTargetVersion-0-objc">Obj-C</a></li>
1685 <li class=""><a href="#examples-E2eServiceInstances-compareModelwithTargetVersion-0-javascript">JavaScript</a></li>
1686 <!--<li class=""><a href="#examples-E2eServiceInstances-compareModelwithTargetVersion-0-angular">Angular</a></li>-->
1687 <li class=""><a href="#examples-E2eServiceInstances-compareModelwithTargetVersion-0-csharp">C#</a></li>
1688 <li class=""><a href="#examples-E2eServiceInstances-compareModelwithTargetVersion-0-php">PHP</a></li>
1689 <li class=""><a href="#examples-E2eServiceInstances-compareModelwithTargetVersion-0-perl">Perl</a></li>
1690 <li class=""><a href="#examples-E2eServiceInstances-compareModelwithTargetVersion-0-python">Python</a></li>
1691 </ul>
seshukmb3a332a2018-10-05 16:27:16 +08001692
tragait5e9676e2021-01-14 16:07:07 +00001693 <div class="tab-content">
1694 <div class="tab-pane active" id="examples-E2eServiceInstances-compareModelwithTargetVersion-0-curl">
1695 <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/e2eServiceInstances/{version}/{serviceId}/modeldifferences"</code></pre>
1696 </div>
1697 <div class="tab-pane" id="examples-E2eServiceInstances-compareModelwithTargetVersion-0-java">
seshukmb3a332a2018-10-05 16:27:16 +08001698 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
1699import io.swagger.client.auth.*;
1700import io.swagger.client.model.*;
1701import io.swagger.client.api.E2eServiceInstancesApi;
1702
1703import java.io.File;
1704import java.util.*;
1705
1706public class E2eServiceInstancesApiExample {
1707
1708 public static void main(String[] args) {
tragait5e9676e2021-01-14 16:07:07 +00001709
seshukmb3a332a2018-10-05 16:27:16 +08001710 E2eServiceInstancesApi apiInstance = new E2eServiceInstancesApi();
tragait5e9676e2021-01-14 16:07:07 +00001711 String serviceId = serviceId_example; // String |
1712 String version = version_example; // String |
1713 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +08001714 try {
1715 apiInstance.compareModelwithTargetVersion(serviceId, version, body);
1716 } catch (ApiException e) {
1717 System.err.println("Exception when calling E2eServiceInstancesApi#compareModelwithTargetVersion");
1718 e.printStackTrace();
1719 }
1720 }
1721}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00001722 </div>
seshukmb3a332a2018-10-05 16:27:16 +08001723
tragait5e9676e2021-01-14 16:07:07 +00001724 <div class="tab-pane" id="examples-E2eServiceInstances-compareModelwithTargetVersion-0-android">
seshukmb3a332a2018-10-05 16:27:16 +08001725 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.E2eServiceInstancesApi;
1726
1727public class E2eServiceInstancesApiExample {
1728
1729 public static void main(String[] args) {
1730 E2eServiceInstancesApi apiInstance = new E2eServiceInstancesApi();
tragait5e9676e2021-01-14 16:07:07 +00001731 String serviceId = serviceId_example; // String |
1732 String version = version_example; // String |
1733 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +08001734 try {
1735 apiInstance.compareModelwithTargetVersion(serviceId, version, body);
1736 } catch (ApiException e) {
1737 System.err.println("Exception when calling E2eServiceInstancesApi#compareModelwithTargetVersion");
1738 e.printStackTrace();
1739 }
1740 }
1741}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00001742 </div>
1743 <!--
seshukmb3a332a2018-10-05 16:27:16 +08001744 <div class="tab-pane" id="examples-E2eServiceInstances-compareModelwithTargetVersion-0-groovy">
1745 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
1746 </div> -->
tragait5e9676e2021-01-14 16:07:07 +00001747 <div class="tab-pane" id="examples-E2eServiceInstances-compareModelwithTargetVersion-0-objc">
1748 <pre class="prettyprint"><code class="language-cpp">String *serviceId = serviceId_example; //
1749String *version = version_example; //
seshukmb3a332a2018-10-05 16:27:16 +08001750String *body = body_example; // (optional)
1751
1752E2eServiceInstancesApi *apiInstance = [[E2eServiceInstancesApi alloc] init];
1753
rameshiyer27553bc772020-08-25 16:49:34 +01001754// Find added and deleted resources of target model for the e2eserviceInstance on a given serviceId
seshukmb3a332a2018-10-05 16:27:16 +08001755[apiInstance compareModelwithTargetVersionWith:serviceId
1756 version:version
1757 body:body
1758 completionHandler: ^(NSError* error) {
1759 if (error) {
1760 NSLog(@"Error: %@", error);
1761 }
1762 }];
1763</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00001764 </div>
seshukmb3a332a2018-10-05 16:27:16 +08001765
tragait5e9676e2021-01-14 16:07:07 +00001766 <div class="tab-pane" id="examples-E2eServiceInstances-compareModelwithTargetVersion-0-javascript">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05301767 <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is');
seshukmb3a332a2018-10-05 16:27:16 +08001768
Priyadharshinic86ab4a2020-08-14 17:11:49 +05301769var api = new SoGuilinApIs.E2eServiceInstancesApi()
seshukmb3a332a2018-10-05 16:27:16 +08001770
tragait5e9676e2021-01-14 16:07:07 +00001771var serviceId = serviceId_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +08001772
tragait5e9676e2021-01-14 16:07:07 +00001773var version = version_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +08001774
tragait5e9676e2021-01-14 16:07:07 +00001775var opts = {
1776 'body': body_example // {String}
seshukmb3a332a2018-10-05 16:27:16 +08001777};
1778
1779var callback = function(error, data, response) {
1780 if (error) {
1781 console.error(error);
1782 } else {
1783 console.log('API called successfully.');
1784 }
1785};
1786api.compareModelwithTargetVersion(serviceId, version, opts, callback);
1787</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00001788 </div>
seshukmb3a332a2018-10-05 16:27:16 +08001789
tragait5e9676e2021-01-14 16:07:07 +00001790 <!--<div class="tab-pane" id="examples-E2eServiceInstances-compareModelwithTargetVersion-0-angular">
seshukmb3a332a2018-10-05 16:27:16 +08001791 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
1792 </div>-->
tragait5e9676e2021-01-14 16:07:07 +00001793 <div class="tab-pane" id="examples-E2eServiceInstances-compareModelwithTargetVersion-0-csharp">
seshukmb3a332a2018-10-05 16:27:16 +08001794 <pre class="prettyprint"><code class="language-cs">using System;
1795using System.Diagnostics;
1796using IO.Swagger.Api;
1797using IO.Swagger.Client;
1798using IO.Swagger.Model;
1799
1800namespace Example
1801{
1802 public class compareModelwithTargetVersionExample
1803 {
1804 public void main()
1805 {
tragait5e9676e2021-01-14 16:07:07 +00001806
seshukmb3a332a2018-10-05 16:27:16 +08001807 var apiInstance = new E2eServiceInstancesApi();
tragait5e9676e2021-01-14 16:07:07 +00001808 var serviceId = serviceId_example; // String |
1809 var version = version_example; // String |
1810 var body = body_example; // String | (optional)
seshukmb3a332a2018-10-05 16:27:16 +08001811
1812 try
1813 {
rameshiyer27553bc772020-08-25 16:49:34 +01001814 // Find added and deleted resources of target model for the e2eserviceInstance on a given serviceId
seshukmb3a332a2018-10-05 16:27:16 +08001815 apiInstance.compareModelwithTargetVersion(serviceId, version, body);
1816 }
1817 catch (Exception e)
1818 {
1819 Debug.Print("Exception when calling E2eServiceInstancesApi.compareModelwithTargetVersion: " + e.Message );
1820 }
1821 }
1822 }
1823}
1824</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00001825 </div>
seshukmb3a332a2018-10-05 16:27:16 +08001826
tragait5e9676e2021-01-14 16:07:07 +00001827 <div class="tab-pane" id="examples-E2eServiceInstances-compareModelwithTargetVersion-0-php">
seshukmb3a332a2018-10-05 16:27:16 +08001828 <pre class="prettyprint"><code class="language-php"><&#63;php
1829require_once(__DIR__ . '/vendor/autoload.php');
1830
1831$api_instance = new Swagger\Client\Api\E2eServiceInstancesApi();
tragait5e9676e2021-01-14 16:07:07 +00001832$serviceId = serviceId_example; // String |
1833$version = version_example; // String |
1834$body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +08001835
1836try {
1837 $api_instance->compareModelwithTargetVersion($serviceId, $version, $body);
1838} catch (Exception $e) {
1839 echo 'Exception when calling E2eServiceInstancesApi->compareModelwithTargetVersion: ', $e->getMessage(), PHP_EOL;
1840}
1841?></code></pre>
tragait5e9676e2021-01-14 16:07:07 +00001842 </div>
seshukmb3a332a2018-10-05 16:27:16 +08001843
tragait5e9676e2021-01-14 16:07:07 +00001844 <div class="tab-pane" id="examples-E2eServiceInstances-compareModelwithTargetVersion-0-perl">
seshukmb3a332a2018-10-05 16:27:16 +08001845 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
1846use WWW::SwaggerClient::Configuration;
1847use WWW::SwaggerClient::E2eServiceInstancesApi;
1848
1849my $api_instance = WWW::SwaggerClient::E2eServiceInstancesApi->new();
tragait5e9676e2021-01-14 16:07:07 +00001850my $serviceId = serviceId_example; # String |
1851my $version = version_example; # String |
1852my $body = WWW::SwaggerClient::Object::String->new(); # String |
seshukmb3a332a2018-10-05 16:27:16 +08001853
tragait5e9676e2021-01-14 16:07:07 +00001854eval {
seshukmb3a332a2018-10-05 16:27:16 +08001855 $api_instance->compareModelwithTargetVersion(serviceId => $serviceId, version => $version, body => $body);
1856};
1857if ($@) {
1858 warn "Exception when calling E2eServiceInstancesApi->compareModelwithTargetVersion: $@\n";
1859}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00001860 </div>
seshukmb3a332a2018-10-05 16:27:16 +08001861
tragait5e9676e2021-01-14 16:07:07 +00001862 <div class="tab-pane" id="examples-E2eServiceInstances-compareModelwithTargetVersion-0-python">
seshukmb3a332a2018-10-05 16:27:16 +08001863 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
1864import time
1865import swagger_client
1866from swagger_client.rest import ApiException
1867from pprint import pprint
1868
1869# create an instance of the API class
1870api_instance = swagger_client.E2eServiceInstancesApi()
tragait5e9676e2021-01-14 16:07:07 +00001871serviceId = serviceId_example # String |
1872version = version_example # String |
seshukmb3a332a2018-10-05 16:27:16 +08001873body = body_example # String | (optional)
1874
tragait5e9676e2021-01-14 16:07:07 +00001875try:
rameshiyer27553bc772020-08-25 16:49:34 +01001876 # Find added and deleted resources of target model for the e2eserviceInstance on a given serviceId
seshukmb3a332a2018-10-05 16:27:16 +08001877 api_instance.compare_modelwith_target_version(serviceId, version, body=body)
1878except ApiException as e:
1879 print("Exception when calling E2eServiceInstancesApi->compareModelwithTargetVersion: %s\n" % e)</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00001880 </div>
seshukmb3a332a2018-10-05 16:27:16 +08001881 </div>
seshukmb3a332a2018-10-05 16:27:16 +08001882
tragait5e9676e2021-01-14 16:07:07 +00001883 <h2>Parameters</h2>
seshukmb3a332a2018-10-05 16:27:16 +08001884
1885 <div class="methodsubtabletitle">Path parameters</div>
1886 <table id="methodsubtable">
1887 <tr>
tragait5e9676e2021-01-14 16:07:07 +00001888 <th width="150px">Name</th>
1889 <th>Description</th>
seshukmb3a332a2018-10-05 16:27:16 +08001890 </tr>
tragait5e9676e2021-01-14 16:07:07 +00001891 <tr><td style="width:150px;">serviceId*</td>
1892 <td>
seshukmb3a332a2018-10-05 16:27:16 +08001893
1894
tragait5e9676e2021-01-14 16:07:07 +00001895 <div id="d2e199_compareModelwithTargetVersion_serviceId">
1896 <div class="json-schema-view">
1897 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +08001898 <span class="type">
1899 String
1900 </span>
1901
tragait5e9676e2021-01-14 16:07:07 +00001902 </div>
1903 <div class="inner required">
1904 Required
1905 </div>
1906 </div>
1907 </div>
1908 </td>
1909 </tr>
seshukmb3a332a2018-10-05 16:27:16 +08001910
tragait5e9676e2021-01-14 16:07:07 +00001911 <tr><td style="width:150px;">version*</td>
1912 <td>
seshukmb3a332a2018-10-05 16:27:16 +08001913
1914
tragait5e9676e2021-01-14 16:07:07 +00001915 <div id="d2e199_compareModelwithTargetVersion_version">
1916 <div class="json-schema-view">
1917 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +08001918 <span class="type">
1919 String
1920 </span>
1921
tragait5e9676e2021-01-14 16:07:07 +00001922 </div>
1923 <div class="inner required">
1924 Required
1925 </div>
1926 </div>
1927 </div>
1928 </td>
1929 </tr>
seshukmb3a332a2018-10-05 16:27:16 +08001930
1931 </table>
1932
1933
1934 <div class="methodsubtabletitle">Body parameters</div>
1935 <table id="methodsubtable">
tragait5e9676e2021-01-14 16:07:07 +00001936 <tr>
1937 <th width="150px">Name</th>
1938 <th>Description</th>
1939 </tr>
seshukmb3a332a2018-10-05 16:27:16 +08001940 <tr><td style="width:150px;">body </td>
tragait5e9676e2021-01-14 16:07:07 +00001941 <td>
seshukmb3a332a2018-10-05 16:27:16 +08001942
1943
tragait5e9676e2021-01-14 16:07:07 +00001944 <script>
seshukmb3a332a2018-10-05 16:27:16 +08001945$(document).ready(function() {
1946 var schemaWrapper = {
1947 "in" : "body",
1948 "name" : "body",
1949 "required" : false,
1950 "schema" : {
1951 "type" : "string"
1952 }
1953};
1954 var schema = schemaWrapper.schema;
1955 if (schema.$ref != null) {
1956 schema = defsParser.$refs.get(schema.$ref);
1957 } else {
1958 schemaWrapper.definitions = Object.assign({}, defs);
1959 $RefParser.dereference(schemaWrapper).catch(function(err) {
1960 console.log(err);
1961 });
1962 }
1963
1964 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
1965 var result = $('#d2e199_compareModelwithTargetVersion_body');
1966 result.empty();
1967 result.append(view.render());
1968});
1969</script>
tragait5e9676e2021-01-14 16:07:07 +00001970 <div id="d2e199_compareModelwithTargetVersion_body"></div>
1971 </td>
1972 </tr>
seshukmb3a332a2018-10-05 16:27:16 +08001973
1974 </table>
1975
1976
1977
tragait5e9676e2021-01-14 16:07:07 +00001978 <h2>Responses</h2>
seshukmb3a332a2018-10-05 16:27:16 +08001979 <h3> Status: default - successful operation </h3>
1980
1981 <ul class="nav nav-tabs nav-tabs-examples" >
1982 </ul>
1983
1984 <div class="tab-content" style='margin-bottom: 10px;'>
1985 </div>
1986
1987 </article>
tragait5e9676e2021-01-14 16:07:07 +00001988 </div>
1989 <hr>
seshukmb3a332a2018-10-05 16:27:16 +08001990 <div id="api-E2eServiceInstances-createE2EServiceInstance">
tragait5e9676e2021-01-14 16:07:07 +00001991 <article id="api-E2eServiceInstances-createE2EServiceInstance-0" data-group="User" data-name="createE2EServiceInstance" data-version="0">
1992 <div class="pull-left">
1993 <h1>createE2EServiceInstance</h1>
1994 <p>Create an E2E Service Instance on a version provided</p>
1995 </div>
1996 <div class="pull-right"></div>
1997 <div class="clearfix"></div>
1998 <p></p>
1999 <p class="marked"></p>
2000 <p></p>
2001 <br />
2002 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/e2eServiceInstances/{version}</span></code></pre>
2003 <p>
2004 <h3>Usage and SDK Samples</h3>
2005 </p>
2006 <ul class="nav nav-tabs nav-tabs-examples">
2007 <li class="active"><a href="#examples-E2eServiceInstances-createE2EServiceInstance-0-curl">Curl</a></li>
2008 <li class=""><a href="#examples-E2eServiceInstances-createE2EServiceInstance-0-java">Java</a></li>
2009 <li class=""><a href="#examples-E2eServiceInstances-createE2EServiceInstance-0-android">Android</a></li>
2010 <!--<li class=""><a href="#examples-E2eServiceInstances-createE2EServiceInstance-0-groovy">Groovy</a></li>-->
2011 <li class=""><a href="#examples-E2eServiceInstances-createE2EServiceInstance-0-objc">Obj-C</a></li>
2012 <li class=""><a href="#examples-E2eServiceInstances-createE2EServiceInstance-0-javascript">JavaScript</a></li>
2013 <!--<li class=""><a href="#examples-E2eServiceInstances-createE2EServiceInstance-0-angular">Angular</a></li>-->
2014 <li class=""><a href="#examples-E2eServiceInstances-createE2EServiceInstance-0-csharp">C#</a></li>
2015 <li class=""><a href="#examples-E2eServiceInstances-createE2EServiceInstance-0-php">PHP</a></li>
2016 <li class=""><a href="#examples-E2eServiceInstances-createE2EServiceInstance-0-perl">Perl</a></li>
2017 <li class=""><a href="#examples-E2eServiceInstances-createE2EServiceInstance-0-python">Python</a></li>
2018 </ul>
seshukmb3a332a2018-10-05 16:27:16 +08002019
tragait5e9676e2021-01-14 16:07:07 +00002020 <div class="tab-content">
2021 <div class="tab-pane active" id="examples-E2eServiceInstances-createE2EServiceInstance-0-curl">
2022 <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/e2eServiceInstances/{version}"</code></pre>
2023 </div>
2024 <div class="tab-pane" id="examples-E2eServiceInstances-createE2EServiceInstance-0-java">
seshukmb3a332a2018-10-05 16:27:16 +08002025 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
2026import io.swagger.client.auth.*;
2027import io.swagger.client.model.*;
2028import io.swagger.client.api.E2eServiceInstancesApi;
2029
2030import java.io.File;
2031import java.util.*;
2032
2033public class E2eServiceInstancesApiExample {
2034
2035 public static void main(String[] args) {
tragait5e9676e2021-01-14 16:07:07 +00002036
seshukmb3a332a2018-10-05 16:27:16 +08002037 E2eServiceInstancesApi apiInstance = new E2eServiceInstancesApi();
tragait5e9676e2021-01-14 16:07:07 +00002038 String version = version_example; // String |
2039 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +08002040 try {
2041 apiInstance.createE2EServiceInstance(version, body);
2042 } catch (ApiException e) {
2043 System.err.println("Exception when calling E2eServiceInstancesApi#createE2EServiceInstance");
2044 e.printStackTrace();
2045 }
2046 }
2047}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00002048 </div>
seshukmb3a332a2018-10-05 16:27:16 +08002049
tragait5e9676e2021-01-14 16:07:07 +00002050 <div class="tab-pane" id="examples-E2eServiceInstances-createE2EServiceInstance-0-android">
seshukmb3a332a2018-10-05 16:27:16 +08002051 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.E2eServiceInstancesApi;
2052
2053public class E2eServiceInstancesApiExample {
2054
2055 public static void main(String[] args) {
2056 E2eServiceInstancesApi apiInstance = new E2eServiceInstancesApi();
tragait5e9676e2021-01-14 16:07:07 +00002057 String version = version_example; // String |
2058 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +08002059 try {
2060 apiInstance.createE2EServiceInstance(version, body);
2061 } catch (ApiException e) {
2062 System.err.println("Exception when calling E2eServiceInstancesApi#createE2EServiceInstance");
2063 e.printStackTrace();
2064 }
2065 }
2066}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00002067 </div>
2068 <!--
seshukmb3a332a2018-10-05 16:27:16 +08002069 <div class="tab-pane" id="examples-E2eServiceInstances-createE2EServiceInstance-0-groovy">
2070 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
2071 </div> -->
tragait5e9676e2021-01-14 16:07:07 +00002072 <div class="tab-pane" id="examples-E2eServiceInstances-createE2EServiceInstance-0-objc">
2073 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
seshukmb3a332a2018-10-05 16:27:16 +08002074String *body = body_example; // (optional)
2075
2076E2eServiceInstancesApi *apiInstance = [[E2eServiceInstancesApi alloc] init];
2077
2078// Create an E2E Service Instance on a version provided
2079[apiInstance createE2EServiceInstanceWith:version
2080 body:body
2081 completionHandler: ^(NSError* error) {
2082 if (error) {
2083 NSLog(@"Error: %@", error);
2084 }
2085 }];
2086</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00002087 </div>
seshukmb3a332a2018-10-05 16:27:16 +08002088
tragait5e9676e2021-01-14 16:07:07 +00002089 <div class="tab-pane" id="examples-E2eServiceInstances-createE2EServiceInstance-0-javascript">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05302090 <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is');
seshukmb3a332a2018-10-05 16:27:16 +08002091
Priyadharshinic86ab4a2020-08-14 17:11:49 +05302092var api = new SoGuilinApIs.E2eServiceInstancesApi()
seshukmb3a332a2018-10-05 16:27:16 +08002093
tragait5e9676e2021-01-14 16:07:07 +00002094var version = version_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +08002095
tragait5e9676e2021-01-14 16:07:07 +00002096var opts = {
2097 'body': body_example // {String}
seshukmb3a332a2018-10-05 16:27:16 +08002098};
2099
2100var callback = function(error, data, response) {
2101 if (error) {
2102 console.error(error);
2103 } else {
2104 console.log('API called successfully.');
2105 }
2106};
2107api.createE2EServiceInstance(version, opts, callback);
2108</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00002109 </div>
seshukmb3a332a2018-10-05 16:27:16 +08002110
tragait5e9676e2021-01-14 16:07:07 +00002111 <!--<div class="tab-pane" id="examples-E2eServiceInstances-createE2EServiceInstance-0-angular">
seshukmb3a332a2018-10-05 16:27:16 +08002112 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
2113 </div>-->
tragait5e9676e2021-01-14 16:07:07 +00002114 <div class="tab-pane" id="examples-E2eServiceInstances-createE2EServiceInstance-0-csharp">
seshukmb3a332a2018-10-05 16:27:16 +08002115 <pre class="prettyprint"><code class="language-cs">using System;
2116using System.Diagnostics;
2117using IO.Swagger.Api;
2118using IO.Swagger.Client;
2119using IO.Swagger.Model;
2120
2121namespace Example
2122{
2123 public class createE2EServiceInstanceExample
2124 {
2125 public void main()
2126 {
tragait5e9676e2021-01-14 16:07:07 +00002127
seshukmb3a332a2018-10-05 16:27:16 +08002128 var apiInstance = new E2eServiceInstancesApi();
tragait5e9676e2021-01-14 16:07:07 +00002129 var version = version_example; // String |
2130 var body = body_example; // String | (optional)
seshukmb3a332a2018-10-05 16:27:16 +08002131
2132 try
2133 {
2134 // Create an E2E Service Instance on a version provided
2135 apiInstance.createE2EServiceInstance(version, body);
2136 }
2137 catch (Exception e)
2138 {
2139 Debug.Print("Exception when calling E2eServiceInstancesApi.createE2EServiceInstance: " + e.Message );
2140 }
2141 }
2142 }
2143}
2144</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00002145 </div>
seshukmb3a332a2018-10-05 16:27:16 +08002146
tragait5e9676e2021-01-14 16:07:07 +00002147 <div class="tab-pane" id="examples-E2eServiceInstances-createE2EServiceInstance-0-php">
seshukmb3a332a2018-10-05 16:27:16 +08002148 <pre class="prettyprint"><code class="language-php"><&#63;php
2149require_once(__DIR__ . '/vendor/autoload.php');
2150
2151$api_instance = new Swagger\Client\Api\E2eServiceInstancesApi();
tragait5e9676e2021-01-14 16:07:07 +00002152$version = version_example; // String |
2153$body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +08002154
2155try {
2156 $api_instance->createE2EServiceInstance($version, $body);
2157} catch (Exception $e) {
2158 echo 'Exception when calling E2eServiceInstancesApi->createE2EServiceInstance: ', $e->getMessage(), PHP_EOL;
2159}
2160?></code></pre>
tragait5e9676e2021-01-14 16:07:07 +00002161 </div>
seshukmb3a332a2018-10-05 16:27:16 +08002162
tragait5e9676e2021-01-14 16:07:07 +00002163 <div class="tab-pane" id="examples-E2eServiceInstances-createE2EServiceInstance-0-perl">
seshukmb3a332a2018-10-05 16:27:16 +08002164 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
2165use WWW::SwaggerClient::Configuration;
2166use WWW::SwaggerClient::E2eServiceInstancesApi;
2167
2168my $api_instance = WWW::SwaggerClient::E2eServiceInstancesApi->new();
tragait5e9676e2021-01-14 16:07:07 +00002169my $version = version_example; # String |
2170my $body = WWW::SwaggerClient::Object::String->new(); # String |
seshukmb3a332a2018-10-05 16:27:16 +08002171
tragait5e9676e2021-01-14 16:07:07 +00002172eval {
seshukmb3a332a2018-10-05 16:27:16 +08002173 $api_instance->createE2EServiceInstance(version => $version, body => $body);
2174};
2175if ($@) {
2176 warn "Exception when calling E2eServiceInstancesApi->createE2EServiceInstance: $@\n";
2177}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00002178 </div>
seshukmb3a332a2018-10-05 16:27:16 +08002179
tragait5e9676e2021-01-14 16:07:07 +00002180 <div class="tab-pane" id="examples-E2eServiceInstances-createE2EServiceInstance-0-python">
seshukmb3a332a2018-10-05 16:27:16 +08002181 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
2182import time
2183import swagger_client
2184from swagger_client.rest import ApiException
2185from pprint import pprint
2186
2187# create an instance of the API class
2188api_instance = swagger_client.E2eServiceInstancesApi()
tragait5e9676e2021-01-14 16:07:07 +00002189version = version_example # String |
seshukmb3a332a2018-10-05 16:27:16 +08002190body = body_example # String | (optional)
2191
tragait5e9676e2021-01-14 16:07:07 +00002192try:
seshukmb3a332a2018-10-05 16:27:16 +08002193 # Create an E2E Service Instance on a version provided
2194 api_instance.create_e2_e_service_instance(version, body=body)
2195except ApiException as e:
2196 print("Exception when calling E2eServiceInstancesApi->createE2EServiceInstance: %s\n" % e)</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00002197 </div>
seshukmb3a332a2018-10-05 16:27:16 +08002198 </div>
seshukmb3a332a2018-10-05 16:27:16 +08002199
tragait5e9676e2021-01-14 16:07:07 +00002200 <h2>Parameters</h2>
seshukmb3a332a2018-10-05 16:27:16 +08002201
2202 <div class="methodsubtabletitle">Path parameters</div>
2203 <table id="methodsubtable">
2204 <tr>
tragait5e9676e2021-01-14 16:07:07 +00002205 <th width="150px">Name</th>
2206 <th>Description</th>
seshukmb3a332a2018-10-05 16:27:16 +08002207 </tr>
tragait5e9676e2021-01-14 16:07:07 +00002208 <tr><td style="width:150px;">version*</td>
2209 <td>
seshukmb3a332a2018-10-05 16:27:16 +08002210
2211
tragait5e9676e2021-01-14 16:07:07 +00002212 <div id="d2e199_createE2EServiceInstance_version">
2213 <div class="json-schema-view">
2214 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +08002215 <span class="type">
2216 String
2217 </span>
2218
tragait5e9676e2021-01-14 16:07:07 +00002219 </div>
2220 <div class="inner required">
2221 Required
2222 </div>
2223 </div>
2224 </div>
2225 </td>
2226 </tr>
seshukmb3a332a2018-10-05 16:27:16 +08002227
2228 </table>
2229
2230
2231 <div class="methodsubtabletitle">Body parameters</div>
2232 <table id="methodsubtable">
tragait5e9676e2021-01-14 16:07:07 +00002233 <tr>
2234 <th width="150px">Name</th>
2235 <th>Description</th>
2236 </tr>
seshukmb3a332a2018-10-05 16:27:16 +08002237 <tr><td style="width:150px;">body </td>
tragait5e9676e2021-01-14 16:07:07 +00002238 <td>
seshukmb3a332a2018-10-05 16:27:16 +08002239
2240
tragait5e9676e2021-01-14 16:07:07 +00002241 <script>
seshukmb3a332a2018-10-05 16:27:16 +08002242$(document).ready(function() {
2243 var schemaWrapper = {
2244 "in" : "body",
2245 "name" : "body",
2246 "required" : false,
2247 "schema" : {
2248 "type" : "string"
2249 }
2250};
2251 var schema = schemaWrapper.schema;
2252 if (schema.$ref != null) {
2253 schema = defsParser.$refs.get(schema.$ref);
2254 } else {
2255 schemaWrapper.definitions = Object.assign({}, defs);
2256 $RefParser.dereference(schemaWrapper).catch(function(err) {
2257 console.log(err);
2258 });
2259 }
2260
2261 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
2262 var result = $('#d2e199_createE2EServiceInstance_body');
2263 result.empty();
2264 result.append(view.render());
2265});
2266</script>
tragait5e9676e2021-01-14 16:07:07 +00002267 <div id="d2e199_createE2EServiceInstance_body"></div>
2268 </td>
2269 </tr>
seshukmb3a332a2018-10-05 16:27:16 +08002270
2271 </table>
2272
2273
2274
tragait5e9676e2021-01-14 16:07:07 +00002275 <h2>Responses</h2>
seshukmb3a332a2018-10-05 16:27:16 +08002276 <h3> Status: default - successful operation </h3>
2277
2278 <ul class="nav nav-tabs nav-tabs-examples" >
2279 </ul>
2280
2281 <div class="tab-content" style='margin-bottom: 10px;'>
2282 </div>
2283
2284 </article>
tragait5e9676e2021-01-14 16:07:07 +00002285 </div>
2286 <hr>
seshukmb3a332a2018-10-05 16:27:16 +08002287 <div id="api-E2eServiceInstances-deleteE2EServiceInstance">
tragait5e9676e2021-01-14 16:07:07 +00002288 <article id="api-E2eServiceInstances-deleteE2EServiceInstance-0" data-group="User" data-name="deleteE2EServiceInstance" data-version="0">
2289 <div class="pull-left">
2290 <h1>deleteE2EServiceInstance</h1>
2291 <p>Delete E2E Service Instance on a specified version and serviceId</p>
2292 </div>
2293 <div class="pull-right"></div>
2294 <div class="clearfix"></div>
2295 <p></p>
2296 <p class="marked"></p>
2297 <p></p>
2298 <br />
2299 <pre class="prettyprint language-html prettyprinted" data-type="delete"><code><span class="pln">/onap/so/infra/e2eServiceInstances/{version}/{serviceId}</span></code></pre>
2300 <p>
2301 <h3>Usage and SDK Samples</h3>
2302 </p>
2303 <ul class="nav nav-tabs nav-tabs-examples">
2304 <li class="active"><a href="#examples-E2eServiceInstances-deleteE2EServiceInstance-0-curl">Curl</a></li>
2305 <li class=""><a href="#examples-E2eServiceInstances-deleteE2EServiceInstance-0-java">Java</a></li>
2306 <li class=""><a href="#examples-E2eServiceInstances-deleteE2EServiceInstance-0-android">Android</a></li>
2307 <!--<li class=""><a href="#examples-E2eServiceInstances-deleteE2EServiceInstance-0-groovy">Groovy</a></li>-->
2308 <li class=""><a href="#examples-E2eServiceInstances-deleteE2EServiceInstance-0-objc">Obj-C</a></li>
2309 <li class=""><a href="#examples-E2eServiceInstances-deleteE2EServiceInstance-0-javascript">JavaScript</a></li>
2310 <!--<li class=""><a href="#examples-E2eServiceInstances-deleteE2EServiceInstance-0-angular">Angular</a></li>-->
2311 <li class=""><a href="#examples-E2eServiceInstances-deleteE2EServiceInstance-0-csharp">C#</a></li>
2312 <li class=""><a href="#examples-E2eServiceInstances-deleteE2EServiceInstance-0-php">PHP</a></li>
2313 <li class=""><a href="#examples-E2eServiceInstances-deleteE2EServiceInstance-0-perl">Perl</a></li>
2314 <li class=""><a href="#examples-E2eServiceInstances-deleteE2EServiceInstance-0-python">Python</a></li>
2315 </ul>
seshukmb3a332a2018-10-05 16:27:16 +08002316
tragait5e9676e2021-01-14 16:07:07 +00002317 <div class="tab-content">
2318 <div class="tab-pane active" id="examples-E2eServiceInstances-deleteE2EServiceInstance-0-curl">
2319 <pre class="prettyprint"><code class="language-bsh">curl -X DELETE "http://localhost/onap/so/infra/e2eServiceInstances/{version}/{serviceId}"</code></pre>
2320 </div>
2321 <div class="tab-pane" id="examples-E2eServiceInstances-deleteE2EServiceInstance-0-java">
seshukmb3a332a2018-10-05 16:27:16 +08002322 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
2323import io.swagger.client.auth.*;
2324import io.swagger.client.model.*;
2325import io.swagger.client.api.E2eServiceInstancesApi;
2326
2327import java.io.File;
2328import java.util.*;
2329
2330public class E2eServiceInstancesApiExample {
2331
2332 public static void main(String[] args) {
tragait5e9676e2021-01-14 16:07:07 +00002333
seshukmb3a332a2018-10-05 16:27:16 +08002334 E2eServiceInstancesApi apiInstance = new E2eServiceInstancesApi();
tragait5e9676e2021-01-14 16:07:07 +00002335 String version = version_example; // String |
2336 String serviceId = serviceId_example; // String |
2337 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +08002338 try {
2339 apiInstance.deleteE2EServiceInstance(version, serviceId, body);
2340 } catch (ApiException e) {
2341 System.err.println("Exception when calling E2eServiceInstancesApi#deleteE2EServiceInstance");
2342 e.printStackTrace();
2343 }
2344 }
2345}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00002346 </div>
seshukmb3a332a2018-10-05 16:27:16 +08002347
tragait5e9676e2021-01-14 16:07:07 +00002348 <div class="tab-pane" id="examples-E2eServiceInstances-deleteE2EServiceInstance-0-android">
seshukmb3a332a2018-10-05 16:27:16 +08002349 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.E2eServiceInstancesApi;
2350
2351public class E2eServiceInstancesApiExample {
2352
2353 public static void main(String[] args) {
2354 E2eServiceInstancesApi apiInstance = new E2eServiceInstancesApi();
tragait5e9676e2021-01-14 16:07:07 +00002355 String version = version_example; // String |
2356 String serviceId = serviceId_example; // String |
2357 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +08002358 try {
2359 apiInstance.deleteE2EServiceInstance(version, serviceId, body);
2360 } catch (ApiException e) {
2361 System.err.println("Exception when calling E2eServiceInstancesApi#deleteE2EServiceInstance");
2362 e.printStackTrace();
2363 }
2364 }
2365}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00002366 </div>
2367 <!--
seshukmb3a332a2018-10-05 16:27:16 +08002368 <div class="tab-pane" id="examples-E2eServiceInstances-deleteE2EServiceInstance-0-groovy">
2369 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
2370 </div> -->
tragait5e9676e2021-01-14 16:07:07 +00002371 <div class="tab-pane" id="examples-E2eServiceInstances-deleteE2EServiceInstance-0-objc">
2372 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
2373String *serviceId = serviceId_example; //
seshukmb3a332a2018-10-05 16:27:16 +08002374String *body = body_example; // (optional)
2375
2376E2eServiceInstancesApi *apiInstance = [[E2eServiceInstancesApi alloc] init];
2377
2378// Delete E2E Service Instance on a specified version and serviceId
2379[apiInstance deleteE2EServiceInstanceWith:version
2380 serviceId:serviceId
2381 body:body
2382 completionHandler: ^(NSError* error) {
2383 if (error) {
2384 NSLog(@"Error: %@", error);
2385 }
2386 }];
2387</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00002388 </div>
seshukmb3a332a2018-10-05 16:27:16 +08002389
tragait5e9676e2021-01-14 16:07:07 +00002390 <div class="tab-pane" id="examples-E2eServiceInstances-deleteE2EServiceInstance-0-javascript">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05302391 <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is');
seshukmb3a332a2018-10-05 16:27:16 +08002392
Priyadharshinic86ab4a2020-08-14 17:11:49 +05302393var api = new SoGuilinApIs.E2eServiceInstancesApi()
seshukmb3a332a2018-10-05 16:27:16 +08002394
tragait5e9676e2021-01-14 16:07:07 +00002395var version = version_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +08002396
tragait5e9676e2021-01-14 16:07:07 +00002397var serviceId = serviceId_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +08002398
tragait5e9676e2021-01-14 16:07:07 +00002399var opts = {
2400 'body': body_example // {String}
seshukmb3a332a2018-10-05 16:27:16 +08002401};
2402
2403var callback = function(error, data, response) {
2404 if (error) {
2405 console.error(error);
2406 } else {
2407 console.log('API called successfully.');
2408 }
2409};
2410api.deleteE2EServiceInstance(version, serviceId, opts, callback);
2411</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00002412 </div>
seshukmb3a332a2018-10-05 16:27:16 +08002413
tragait5e9676e2021-01-14 16:07:07 +00002414 <!--<div class="tab-pane" id="examples-E2eServiceInstances-deleteE2EServiceInstance-0-angular">
seshukmb3a332a2018-10-05 16:27:16 +08002415 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
2416 </div>-->
tragait5e9676e2021-01-14 16:07:07 +00002417 <div class="tab-pane" id="examples-E2eServiceInstances-deleteE2EServiceInstance-0-csharp">
seshukmb3a332a2018-10-05 16:27:16 +08002418 <pre class="prettyprint"><code class="language-cs">using System;
2419using System.Diagnostics;
2420using IO.Swagger.Api;
2421using IO.Swagger.Client;
2422using IO.Swagger.Model;
2423
2424namespace Example
2425{
2426 public class deleteE2EServiceInstanceExample
2427 {
2428 public void main()
2429 {
tragait5e9676e2021-01-14 16:07:07 +00002430
seshukmb3a332a2018-10-05 16:27:16 +08002431 var apiInstance = new E2eServiceInstancesApi();
tragait5e9676e2021-01-14 16:07:07 +00002432 var version = version_example; // String |
2433 var serviceId = serviceId_example; // String |
2434 var body = body_example; // String | (optional)
seshukmb3a332a2018-10-05 16:27:16 +08002435
2436 try
2437 {
2438 // Delete E2E Service Instance on a specified version and serviceId
2439 apiInstance.deleteE2EServiceInstance(version, serviceId, body);
2440 }
2441 catch (Exception e)
2442 {
2443 Debug.Print("Exception when calling E2eServiceInstancesApi.deleteE2EServiceInstance: " + e.Message );
2444 }
2445 }
2446 }
2447}
2448</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00002449 </div>
seshukmb3a332a2018-10-05 16:27:16 +08002450
tragait5e9676e2021-01-14 16:07:07 +00002451 <div class="tab-pane" id="examples-E2eServiceInstances-deleteE2EServiceInstance-0-php">
seshukmb3a332a2018-10-05 16:27:16 +08002452 <pre class="prettyprint"><code class="language-php"><&#63;php
2453require_once(__DIR__ . '/vendor/autoload.php');
2454
2455$api_instance = new Swagger\Client\Api\E2eServiceInstancesApi();
tragait5e9676e2021-01-14 16:07:07 +00002456$version = version_example; // String |
2457$serviceId = serviceId_example; // String |
2458$body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +08002459
2460try {
2461 $api_instance->deleteE2EServiceInstance($version, $serviceId, $body);
2462} catch (Exception $e) {
2463 echo 'Exception when calling E2eServiceInstancesApi->deleteE2EServiceInstance: ', $e->getMessage(), PHP_EOL;
2464}
2465?></code></pre>
tragait5e9676e2021-01-14 16:07:07 +00002466 </div>
seshukmb3a332a2018-10-05 16:27:16 +08002467
tragait5e9676e2021-01-14 16:07:07 +00002468 <div class="tab-pane" id="examples-E2eServiceInstances-deleteE2EServiceInstance-0-perl">
seshukmb3a332a2018-10-05 16:27:16 +08002469 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
2470use WWW::SwaggerClient::Configuration;
2471use WWW::SwaggerClient::E2eServiceInstancesApi;
2472
2473my $api_instance = WWW::SwaggerClient::E2eServiceInstancesApi->new();
tragait5e9676e2021-01-14 16:07:07 +00002474my $version = version_example; # String |
2475my $serviceId = serviceId_example; # String |
2476my $body = WWW::SwaggerClient::Object::String->new(); # String |
seshukmb3a332a2018-10-05 16:27:16 +08002477
tragait5e9676e2021-01-14 16:07:07 +00002478eval {
seshukmb3a332a2018-10-05 16:27:16 +08002479 $api_instance->deleteE2EServiceInstance(version => $version, serviceId => $serviceId, body => $body);
2480};
2481if ($@) {
2482 warn "Exception when calling E2eServiceInstancesApi->deleteE2EServiceInstance: $@\n";
2483}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00002484 </div>
seshukmb3a332a2018-10-05 16:27:16 +08002485
tragait5e9676e2021-01-14 16:07:07 +00002486 <div class="tab-pane" id="examples-E2eServiceInstances-deleteE2EServiceInstance-0-python">
seshukmb3a332a2018-10-05 16:27:16 +08002487 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
2488import time
2489import swagger_client
2490from swagger_client.rest import ApiException
2491from pprint import pprint
2492
2493# create an instance of the API class
2494api_instance = swagger_client.E2eServiceInstancesApi()
tragait5e9676e2021-01-14 16:07:07 +00002495version = version_example # String |
2496serviceId = serviceId_example # String |
seshukmb3a332a2018-10-05 16:27:16 +08002497body = body_example # String | (optional)
2498
tragait5e9676e2021-01-14 16:07:07 +00002499try:
seshukmb3a332a2018-10-05 16:27:16 +08002500 # Delete E2E Service Instance on a specified version and serviceId
2501 api_instance.delete_e2_e_service_instance(version, serviceId, body=body)
2502except ApiException as e:
2503 print("Exception when calling E2eServiceInstancesApi->deleteE2EServiceInstance: %s\n" % e)</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00002504 </div>
seshukmb3a332a2018-10-05 16:27:16 +08002505 </div>
seshukmb3a332a2018-10-05 16:27:16 +08002506
tragait5e9676e2021-01-14 16:07:07 +00002507 <h2>Parameters</h2>
seshukmb3a332a2018-10-05 16:27:16 +08002508
2509 <div class="methodsubtabletitle">Path parameters</div>
2510 <table id="methodsubtable">
2511 <tr>
tragait5e9676e2021-01-14 16:07:07 +00002512 <th width="150px">Name</th>
2513 <th>Description</th>
seshukmb3a332a2018-10-05 16:27:16 +08002514 </tr>
tragait5e9676e2021-01-14 16:07:07 +00002515 <tr><td style="width:150px;">version*</td>
2516 <td>
seshukmb3a332a2018-10-05 16:27:16 +08002517
2518
tragait5e9676e2021-01-14 16:07:07 +00002519 <div id="d2e199_deleteE2EServiceInstance_version">
2520 <div class="json-schema-view">
2521 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +08002522 <span class="type">
2523 String
2524 </span>
2525
tragait5e9676e2021-01-14 16:07:07 +00002526 </div>
2527 <div class="inner required">
2528 Required
2529 </div>
2530 </div>
2531 </div>
2532 </td>
2533 </tr>
seshukmb3a332a2018-10-05 16:27:16 +08002534
tragait5e9676e2021-01-14 16:07:07 +00002535 <tr><td style="width:150px;">serviceId*</td>
2536 <td>
seshukmb3a332a2018-10-05 16:27:16 +08002537
2538
tragait5e9676e2021-01-14 16:07:07 +00002539 <div id="d2e199_deleteE2EServiceInstance_serviceId">
2540 <div class="json-schema-view">
2541 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +08002542 <span class="type">
2543 String
2544 </span>
2545
tragait5e9676e2021-01-14 16:07:07 +00002546 </div>
2547 <div class="inner required">
2548 Required
2549 </div>
2550 </div>
2551 </div>
2552 </td>
2553 </tr>
seshukmb3a332a2018-10-05 16:27:16 +08002554
2555 </table>
2556
2557
2558 <div class="methodsubtabletitle">Body parameters</div>
2559 <table id="methodsubtable">
tragait5e9676e2021-01-14 16:07:07 +00002560 <tr>
2561 <th width="150px">Name</th>
2562 <th>Description</th>
2563 </tr>
seshukmb3a332a2018-10-05 16:27:16 +08002564 <tr><td style="width:150px;">body </td>
tragait5e9676e2021-01-14 16:07:07 +00002565 <td>
seshukmb3a332a2018-10-05 16:27:16 +08002566
2567
tragait5e9676e2021-01-14 16:07:07 +00002568 <script>
seshukmb3a332a2018-10-05 16:27:16 +08002569$(document).ready(function() {
2570 var schemaWrapper = {
2571 "in" : "body",
2572 "name" : "body",
2573 "required" : false,
2574 "schema" : {
2575 "type" : "string"
2576 }
2577};
2578 var schema = schemaWrapper.schema;
2579 if (schema.$ref != null) {
2580 schema = defsParser.$refs.get(schema.$ref);
2581 } else {
2582 schemaWrapper.definitions = Object.assign({}, defs);
2583 $RefParser.dereference(schemaWrapper).catch(function(err) {
2584 console.log(err);
2585 });
2586 }
2587
2588 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
2589 var result = $('#d2e199_deleteE2EServiceInstance_body');
2590 result.empty();
2591 result.append(view.render());
2592});
2593</script>
tragait5e9676e2021-01-14 16:07:07 +00002594 <div id="d2e199_deleteE2EServiceInstance_body"></div>
2595 </td>
2596 </tr>
seshukmb3a332a2018-10-05 16:27:16 +08002597
2598 </table>
2599
2600
2601
tragait5e9676e2021-01-14 16:07:07 +00002602 <h2>Responses</h2>
seshukmb3a332a2018-10-05 16:27:16 +08002603 <h3> Status: default - successful operation </h3>
2604
2605 <ul class="nav nav-tabs nav-tabs-examples" >
2606 </ul>
2607
2608 <div class="tab-content" style='margin-bottom: 10px;'>
2609 </div>
2610
2611 </article>
tragait5e9676e2021-01-14 16:07:07 +00002612 </div>
2613 <hr>
seshukmb3a332a2018-10-05 16:27:16 +08002614 <div id="api-E2eServiceInstances-getE2EServiceInstances">
tragait5e9676e2021-01-14 16:07:07 +00002615 <article id="api-E2eServiceInstances-getE2EServiceInstances-0" data-group="User" data-name="getE2EServiceInstances" data-version="0">
2616 <div class="pull-left">
2617 <h1>getE2EServiceInstances</h1>
2618 <p>Find e2eServiceInstances Requests for a given serviceId and operationId</p>
2619 </div>
2620 <div class="pull-right"></div>
2621 <div class="clearfix"></div>
2622 <p></p>
2623 <p class="marked"></p>
2624 <p></p>
2625 <br />
2626 <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/onap/so/infra/e2eServiceInstances/{version}/{serviceId}/operations/{operationId}</span></code></pre>
2627 <p>
2628 <h3>Usage and SDK Samples</h3>
2629 </p>
2630 <ul class="nav nav-tabs nav-tabs-examples">
2631 <li class="active"><a href="#examples-E2eServiceInstances-getE2EServiceInstances-0-curl">Curl</a></li>
2632 <li class=""><a href="#examples-E2eServiceInstances-getE2EServiceInstances-0-java">Java</a></li>
2633 <li class=""><a href="#examples-E2eServiceInstances-getE2EServiceInstances-0-android">Android</a></li>
2634 <!--<li class=""><a href="#examples-E2eServiceInstances-getE2EServiceInstances-0-groovy">Groovy</a></li>-->
2635 <li class=""><a href="#examples-E2eServiceInstances-getE2EServiceInstances-0-objc">Obj-C</a></li>
2636 <li class=""><a href="#examples-E2eServiceInstances-getE2EServiceInstances-0-javascript">JavaScript</a></li>
2637 <!--<li class=""><a href="#examples-E2eServiceInstances-getE2EServiceInstances-0-angular">Angular</a></li>-->
2638 <li class=""><a href="#examples-E2eServiceInstances-getE2EServiceInstances-0-csharp">C#</a></li>
2639 <li class=""><a href="#examples-E2eServiceInstances-getE2EServiceInstances-0-php">PHP</a></li>
2640 <li class=""><a href="#examples-E2eServiceInstances-getE2EServiceInstances-0-perl">Perl</a></li>
2641 <li class=""><a href="#examples-E2eServiceInstances-getE2EServiceInstances-0-python">Python</a></li>
2642 </ul>
seshukmb3a332a2018-10-05 16:27:16 +08002643
tragait5e9676e2021-01-14 16:07:07 +00002644 <div class="tab-content">
2645 <div class="tab-pane active" id="examples-E2eServiceInstances-getE2EServiceInstances-0-curl">
2646 <pre class="prettyprint"><code class="language-bsh">curl -X GET "http://localhost/onap/so/infra/e2eServiceInstances/{version}/{serviceId}/operations/{operationId}"</code></pre>
2647 </div>
2648 <div class="tab-pane" id="examples-E2eServiceInstances-getE2EServiceInstances-0-java">
seshukmb3a332a2018-10-05 16:27:16 +08002649 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
2650import io.swagger.client.auth.*;
2651import io.swagger.client.model.*;
2652import io.swagger.client.api.E2eServiceInstancesApi;
2653
2654import java.io.File;
2655import java.util.*;
2656
2657public class E2eServiceInstancesApiExample {
2658
2659 public static void main(String[] args) {
tragait5e9676e2021-01-14 16:07:07 +00002660
seshukmb3a332a2018-10-05 16:27:16 +08002661 E2eServiceInstancesApi apiInstance = new E2eServiceInstancesApi();
tragait5e9676e2021-01-14 16:07:07 +00002662 String serviceId = serviceId_example; // String |
2663 String version = version_example; // String |
2664 String operationId = operationId_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +08002665 try {
2666 apiInstance.getE2EServiceInstances(serviceId, version, operationId);
2667 } catch (ApiException e) {
2668 System.err.println("Exception when calling E2eServiceInstancesApi#getE2EServiceInstances");
2669 e.printStackTrace();
2670 }
2671 }
2672}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00002673 </div>
seshukmb3a332a2018-10-05 16:27:16 +08002674
tragait5e9676e2021-01-14 16:07:07 +00002675 <div class="tab-pane" id="examples-E2eServiceInstances-getE2EServiceInstances-0-android">
seshukmb3a332a2018-10-05 16:27:16 +08002676 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.E2eServiceInstancesApi;
2677
2678public class E2eServiceInstancesApiExample {
2679
2680 public static void main(String[] args) {
2681 E2eServiceInstancesApi apiInstance = new E2eServiceInstancesApi();
tragait5e9676e2021-01-14 16:07:07 +00002682 String serviceId = serviceId_example; // String |
2683 String version = version_example; // String |
2684 String operationId = operationId_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +08002685 try {
2686 apiInstance.getE2EServiceInstances(serviceId, version, operationId);
2687 } catch (ApiException e) {
2688 System.err.println("Exception when calling E2eServiceInstancesApi#getE2EServiceInstances");
2689 e.printStackTrace();
2690 }
2691 }
2692}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00002693 </div>
2694 <!--
seshukmb3a332a2018-10-05 16:27:16 +08002695 <div class="tab-pane" id="examples-E2eServiceInstances-getE2EServiceInstances-0-groovy">
2696 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
2697 </div> -->
tragait5e9676e2021-01-14 16:07:07 +00002698 <div class="tab-pane" id="examples-E2eServiceInstances-getE2EServiceInstances-0-objc">
2699 <pre class="prettyprint"><code class="language-cpp">String *serviceId = serviceId_example; //
2700String *version = version_example; //
2701String *operationId = operationId_example; //
seshukmb3a332a2018-10-05 16:27:16 +08002702
2703E2eServiceInstancesApi *apiInstance = [[E2eServiceInstancesApi alloc] init];
2704
2705// Find e2eServiceInstances Requests for a given serviceId and operationId
2706[apiInstance getE2EServiceInstancesWith:serviceId
2707 version:version
2708 operationId:operationId
2709 completionHandler: ^(NSError* error) {
2710 if (error) {
2711 NSLog(@"Error: %@", error);
2712 }
2713 }];
2714</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00002715 </div>
seshukmb3a332a2018-10-05 16:27:16 +08002716
tragait5e9676e2021-01-14 16:07:07 +00002717 <div class="tab-pane" id="examples-E2eServiceInstances-getE2EServiceInstances-0-javascript">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05302718 <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is');
seshukmb3a332a2018-10-05 16:27:16 +08002719
Priyadharshinic86ab4a2020-08-14 17:11:49 +05302720var api = new SoGuilinApIs.E2eServiceInstancesApi()
seshukmb3a332a2018-10-05 16:27:16 +08002721
tragait5e9676e2021-01-14 16:07:07 +00002722var serviceId = serviceId_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +08002723
tragait5e9676e2021-01-14 16:07:07 +00002724var version = version_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +08002725
tragait5e9676e2021-01-14 16:07:07 +00002726var operationId = operationId_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +08002727
2728
2729var callback = function(error, data, response) {
2730 if (error) {
2731 console.error(error);
2732 } else {
2733 console.log('API called successfully.');
2734 }
2735};
2736api.getE2EServiceInstances(serviceId, version, operationId, callback);
2737</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00002738 </div>
seshukmb3a332a2018-10-05 16:27:16 +08002739
tragait5e9676e2021-01-14 16:07:07 +00002740 <!--<div class="tab-pane" id="examples-E2eServiceInstances-getE2EServiceInstances-0-angular">
seshukmb3a332a2018-10-05 16:27:16 +08002741 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
2742 </div>-->
tragait5e9676e2021-01-14 16:07:07 +00002743 <div class="tab-pane" id="examples-E2eServiceInstances-getE2EServiceInstances-0-csharp">
seshukmb3a332a2018-10-05 16:27:16 +08002744 <pre class="prettyprint"><code class="language-cs">using System;
2745using System.Diagnostics;
2746using IO.Swagger.Api;
2747using IO.Swagger.Client;
2748using IO.Swagger.Model;
2749
2750namespace Example
2751{
2752 public class getE2EServiceInstancesExample
2753 {
2754 public void main()
2755 {
tragait5e9676e2021-01-14 16:07:07 +00002756
seshukmb3a332a2018-10-05 16:27:16 +08002757 var apiInstance = new E2eServiceInstancesApi();
tragait5e9676e2021-01-14 16:07:07 +00002758 var serviceId = serviceId_example; // String |
2759 var version = version_example; // String |
2760 var operationId = operationId_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +08002761
2762 try
2763 {
2764 // Find e2eServiceInstances Requests for a given serviceId and operationId
2765 apiInstance.getE2EServiceInstances(serviceId, version, operationId);
2766 }
2767 catch (Exception e)
2768 {
2769 Debug.Print("Exception when calling E2eServiceInstancesApi.getE2EServiceInstances: " + e.Message );
2770 }
2771 }
2772 }
2773}
2774</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00002775 </div>
seshukmb3a332a2018-10-05 16:27:16 +08002776
tragait5e9676e2021-01-14 16:07:07 +00002777 <div class="tab-pane" id="examples-E2eServiceInstances-getE2EServiceInstances-0-php">
seshukmb3a332a2018-10-05 16:27:16 +08002778 <pre class="prettyprint"><code class="language-php"><&#63;php
2779require_once(__DIR__ . '/vendor/autoload.php');
2780
2781$api_instance = new Swagger\Client\Api\E2eServiceInstancesApi();
tragait5e9676e2021-01-14 16:07:07 +00002782$serviceId = serviceId_example; // String |
2783$version = version_example; // String |
2784$operationId = operationId_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +08002785
2786try {
2787 $api_instance->getE2EServiceInstances($serviceId, $version, $operationId);
2788} catch (Exception $e) {
2789 echo 'Exception when calling E2eServiceInstancesApi->getE2EServiceInstances: ', $e->getMessage(), PHP_EOL;
2790}
2791?></code></pre>
tragait5e9676e2021-01-14 16:07:07 +00002792 </div>
seshukmb3a332a2018-10-05 16:27:16 +08002793
tragait5e9676e2021-01-14 16:07:07 +00002794 <div class="tab-pane" id="examples-E2eServiceInstances-getE2EServiceInstances-0-perl">
seshukmb3a332a2018-10-05 16:27:16 +08002795 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
2796use WWW::SwaggerClient::Configuration;
2797use WWW::SwaggerClient::E2eServiceInstancesApi;
2798
2799my $api_instance = WWW::SwaggerClient::E2eServiceInstancesApi->new();
tragait5e9676e2021-01-14 16:07:07 +00002800my $serviceId = serviceId_example; # String |
2801my $version = version_example; # String |
2802my $operationId = operationId_example; # String |
seshukmb3a332a2018-10-05 16:27:16 +08002803
tragait5e9676e2021-01-14 16:07:07 +00002804eval {
seshukmb3a332a2018-10-05 16:27:16 +08002805 $api_instance->getE2EServiceInstances(serviceId => $serviceId, version => $version, operationId => $operationId);
2806};
2807if ($@) {
2808 warn "Exception when calling E2eServiceInstancesApi->getE2EServiceInstances: $@\n";
2809}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00002810 </div>
seshukmb3a332a2018-10-05 16:27:16 +08002811
tragait5e9676e2021-01-14 16:07:07 +00002812 <div class="tab-pane" id="examples-E2eServiceInstances-getE2EServiceInstances-0-python">
seshukmb3a332a2018-10-05 16:27:16 +08002813 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
2814import time
2815import swagger_client
2816from swagger_client.rest import ApiException
2817from pprint import pprint
2818
2819# create an instance of the API class
2820api_instance = swagger_client.E2eServiceInstancesApi()
tragait5e9676e2021-01-14 16:07:07 +00002821serviceId = serviceId_example # String |
2822version = version_example # String |
2823operationId = operationId_example # String |
seshukmb3a332a2018-10-05 16:27:16 +08002824
tragait5e9676e2021-01-14 16:07:07 +00002825try:
seshukmb3a332a2018-10-05 16:27:16 +08002826 # Find e2eServiceInstances Requests for a given serviceId and operationId
2827 api_instance.get_e2_e_service_instances(serviceId, version, operationId)
2828except ApiException as e:
2829 print("Exception when calling E2eServiceInstancesApi->getE2EServiceInstances: %s\n" % e)</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00002830 </div>
seshukmb3a332a2018-10-05 16:27:16 +08002831 </div>
seshukmb3a332a2018-10-05 16:27:16 +08002832
tragait5e9676e2021-01-14 16:07:07 +00002833 <h2>Parameters</h2>
seshukmb3a332a2018-10-05 16:27:16 +08002834
2835 <div class="methodsubtabletitle">Path parameters</div>
2836 <table id="methodsubtable">
2837 <tr>
tragait5e9676e2021-01-14 16:07:07 +00002838 <th width="150px">Name</th>
2839 <th>Description</th>
seshukmb3a332a2018-10-05 16:27:16 +08002840 </tr>
tragait5e9676e2021-01-14 16:07:07 +00002841 <tr><td style="width:150px;">serviceId*</td>
2842 <td>
seshukmb3a332a2018-10-05 16:27:16 +08002843
2844
tragait5e9676e2021-01-14 16:07:07 +00002845 <div id="d2e199_getE2EServiceInstances_serviceId">
2846 <div class="json-schema-view">
2847 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +08002848 <span class="type">
2849 String
2850 </span>
2851
tragait5e9676e2021-01-14 16:07:07 +00002852 </div>
2853 <div class="inner required">
2854 Required
2855 </div>
2856 </div>
2857 </div>
2858 </td>
2859 </tr>
seshukmb3a332a2018-10-05 16:27:16 +08002860
tragait5e9676e2021-01-14 16:07:07 +00002861 <tr><td style="width:150px;">version*</td>
2862 <td>
seshukmb3a332a2018-10-05 16:27:16 +08002863
2864
tragait5e9676e2021-01-14 16:07:07 +00002865 <div id="d2e199_getE2EServiceInstances_version">
2866 <div class="json-schema-view">
2867 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +08002868 <span class="type">
2869 String
2870 </span>
2871
tragait5e9676e2021-01-14 16:07:07 +00002872 </div>
2873 <div class="inner required">
2874 Required
2875 </div>
2876 </div>
2877 </div>
2878 </td>
2879 </tr>
seshukmb3a332a2018-10-05 16:27:16 +08002880
tragait5e9676e2021-01-14 16:07:07 +00002881 <tr><td style="width:150px;">operationId*</td>
2882 <td>
seshukmb3a332a2018-10-05 16:27:16 +08002883
2884
tragait5e9676e2021-01-14 16:07:07 +00002885 <div id="d2e199_getE2EServiceInstances_operationId">
2886 <div class="json-schema-view">
2887 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +08002888 <span class="type">
2889 String
2890 </span>
2891
tragait5e9676e2021-01-14 16:07:07 +00002892 </div>
2893 <div class="inner required">
2894 Required
2895 </div>
2896 </div>
2897 </div>
2898 </td>
2899 </tr>
seshukmb3a332a2018-10-05 16:27:16 +08002900
2901 </table>
2902
2903
2904
2905
2906
tragait5e9676e2021-01-14 16:07:07 +00002907 <h2>Responses</h2>
seshukmb3a332a2018-10-05 16:27:16 +08002908 <h3> Status: default - successful operation </h3>
2909
2910 <ul class="nav nav-tabs nav-tabs-examples" >
2911 </ul>
2912
2913 <div class="tab-content" style='margin-bottom: 10px;'>
2914 </div>
2915
2916 </article>
tragait5e9676e2021-01-14 16:07:07 +00002917 </div>
2918 <hr>
seshukmb3a332a2018-10-05 16:27:16 +08002919 <div id="api-E2eServiceInstances-scaleE2EServiceInstance">
tragait5e9676e2021-01-14 16:07:07 +00002920 <article id="api-E2eServiceInstances-scaleE2EServiceInstance-0" data-group="User" data-name="scaleE2EServiceInstance" data-version="0">
2921 <div class="pull-left">
2922 <h1>scaleE2EServiceInstance</h1>
2923 <p>Scale E2E Service Instance on a specified version</p>
2924 </div>
2925 <div class="pull-right"></div>
2926 <div class="clearfix"></div>
2927 <p></p>
2928 <p class="marked"></p>
2929 <p></p>
2930 <br />
2931 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/e2eServiceInstances/{version}/{serviceId}/scale</span></code></pre>
2932 <p>
2933 <h3>Usage and SDK Samples</h3>
2934 </p>
2935 <ul class="nav nav-tabs nav-tabs-examples">
2936 <li class="active"><a href="#examples-E2eServiceInstances-scaleE2EServiceInstance-0-curl">Curl</a></li>
2937 <li class=""><a href="#examples-E2eServiceInstances-scaleE2EServiceInstance-0-java">Java</a></li>
2938 <li class=""><a href="#examples-E2eServiceInstances-scaleE2EServiceInstance-0-android">Android</a></li>
2939 <!--<li class=""><a href="#examples-E2eServiceInstances-scaleE2EServiceInstance-0-groovy">Groovy</a></li>-->
2940 <li class=""><a href="#examples-E2eServiceInstances-scaleE2EServiceInstance-0-objc">Obj-C</a></li>
2941 <li class=""><a href="#examples-E2eServiceInstances-scaleE2EServiceInstance-0-javascript">JavaScript</a></li>
2942 <!--<li class=""><a href="#examples-E2eServiceInstances-scaleE2EServiceInstance-0-angular">Angular</a></li>-->
2943 <li class=""><a href="#examples-E2eServiceInstances-scaleE2EServiceInstance-0-csharp">C#</a></li>
2944 <li class=""><a href="#examples-E2eServiceInstances-scaleE2EServiceInstance-0-php">PHP</a></li>
2945 <li class=""><a href="#examples-E2eServiceInstances-scaleE2EServiceInstance-0-perl">Perl</a></li>
2946 <li class=""><a href="#examples-E2eServiceInstances-scaleE2EServiceInstance-0-python">Python</a></li>
2947 </ul>
seshukmb3a332a2018-10-05 16:27:16 +08002948
tragait5e9676e2021-01-14 16:07:07 +00002949 <div class="tab-content">
2950 <div class="tab-pane active" id="examples-E2eServiceInstances-scaleE2EServiceInstance-0-curl">
2951 <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/e2eServiceInstances/{version}/{serviceId}/scale"</code></pre>
2952 </div>
2953 <div class="tab-pane" id="examples-E2eServiceInstances-scaleE2EServiceInstance-0-java">
seshukmb3a332a2018-10-05 16:27:16 +08002954 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
2955import io.swagger.client.auth.*;
2956import io.swagger.client.model.*;
2957import io.swagger.client.api.E2eServiceInstancesApi;
2958
2959import java.io.File;
2960import java.util.*;
2961
2962public class E2eServiceInstancesApiExample {
2963
2964 public static void main(String[] args) {
tragait5e9676e2021-01-14 16:07:07 +00002965
seshukmb3a332a2018-10-05 16:27:16 +08002966 E2eServiceInstancesApi apiInstance = new E2eServiceInstancesApi();
tragait5e9676e2021-01-14 16:07:07 +00002967 String version = version_example; // String |
2968 String serviceId = serviceId_example; // String |
2969 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +08002970 try {
2971 apiInstance.scaleE2EServiceInstance(version, serviceId, body);
2972 } catch (ApiException e) {
2973 System.err.println("Exception when calling E2eServiceInstancesApi#scaleE2EServiceInstance");
2974 e.printStackTrace();
2975 }
2976 }
2977}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00002978 </div>
seshukmb3a332a2018-10-05 16:27:16 +08002979
tragait5e9676e2021-01-14 16:07:07 +00002980 <div class="tab-pane" id="examples-E2eServiceInstances-scaleE2EServiceInstance-0-android">
seshukmb3a332a2018-10-05 16:27:16 +08002981 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.E2eServiceInstancesApi;
2982
2983public class E2eServiceInstancesApiExample {
2984
2985 public static void main(String[] args) {
2986 E2eServiceInstancesApi apiInstance = new E2eServiceInstancesApi();
tragait5e9676e2021-01-14 16:07:07 +00002987 String version = version_example; // String |
2988 String serviceId = serviceId_example; // String |
2989 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +08002990 try {
2991 apiInstance.scaleE2EServiceInstance(version, serviceId, body);
2992 } catch (ApiException e) {
2993 System.err.println("Exception when calling E2eServiceInstancesApi#scaleE2EServiceInstance");
2994 e.printStackTrace();
2995 }
2996 }
2997}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00002998 </div>
2999 <!--
seshukmb3a332a2018-10-05 16:27:16 +08003000 <div class="tab-pane" id="examples-E2eServiceInstances-scaleE2EServiceInstance-0-groovy">
3001 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
3002 </div> -->
tragait5e9676e2021-01-14 16:07:07 +00003003 <div class="tab-pane" id="examples-E2eServiceInstances-scaleE2EServiceInstance-0-objc">
3004 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
3005String *serviceId = serviceId_example; //
seshukmb3a332a2018-10-05 16:27:16 +08003006String *body = body_example; // (optional)
3007
3008E2eServiceInstancesApi *apiInstance = [[E2eServiceInstancesApi alloc] init];
3009
3010// Scale E2E Service Instance on a specified version
3011[apiInstance scaleE2EServiceInstanceWith:version
3012 serviceId:serviceId
3013 body:body
3014 completionHandler: ^(NSError* error) {
3015 if (error) {
3016 NSLog(@"Error: %@", error);
3017 }
3018 }];
3019</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00003020 </div>
seshukmb3a332a2018-10-05 16:27:16 +08003021
tragait5e9676e2021-01-14 16:07:07 +00003022 <div class="tab-pane" id="examples-E2eServiceInstances-scaleE2EServiceInstance-0-javascript">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05303023 <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is');
seshukmb3a332a2018-10-05 16:27:16 +08003024
Priyadharshinic86ab4a2020-08-14 17:11:49 +05303025var api = new SoGuilinApIs.E2eServiceInstancesApi()
seshukmb3a332a2018-10-05 16:27:16 +08003026
tragait5e9676e2021-01-14 16:07:07 +00003027var version = version_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +08003028
tragait5e9676e2021-01-14 16:07:07 +00003029var serviceId = serviceId_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +08003030
tragait5e9676e2021-01-14 16:07:07 +00003031var opts = {
3032 'body': body_example // {String}
seshukmb3a332a2018-10-05 16:27:16 +08003033};
3034
3035var callback = function(error, data, response) {
3036 if (error) {
3037 console.error(error);
3038 } else {
3039 console.log('API called successfully.');
3040 }
3041};
3042api.scaleE2EServiceInstance(version, serviceId, opts, callback);
3043</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00003044 </div>
seshukmb3a332a2018-10-05 16:27:16 +08003045
tragait5e9676e2021-01-14 16:07:07 +00003046 <!--<div class="tab-pane" id="examples-E2eServiceInstances-scaleE2EServiceInstance-0-angular">
seshukmb3a332a2018-10-05 16:27:16 +08003047 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
3048 </div>-->
tragait5e9676e2021-01-14 16:07:07 +00003049 <div class="tab-pane" id="examples-E2eServiceInstances-scaleE2EServiceInstance-0-csharp">
seshukmb3a332a2018-10-05 16:27:16 +08003050 <pre class="prettyprint"><code class="language-cs">using System;
3051using System.Diagnostics;
3052using IO.Swagger.Api;
3053using IO.Swagger.Client;
3054using IO.Swagger.Model;
3055
3056namespace Example
3057{
3058 public class scaleE2EServiceInstanceExample
3059 {
3060 public void main()
3061 {
tragait5e9676e2021-01-14 16:07:07 +00003062
seshukmb3a332a2018-10-05 16:27:16 +08003063 var apiInstance = new E2eServiceInstancesApi();
tragait5e9676e2021-01-14 16:07:07 +00003064 var version = version_example; // String |
3065 var serviceId = serviceId_example; // String |
3066 var body = body_example; // String | (optional)
seshukmb3a332a2018-10-05 16:27:16 +08003067
3068 try
3069 {
3070 // Scale E2E Service Instance on a specified version
3071 apiInstance.scaleE2EServiceInstance(version, serviceId, body);
3072 }
3073 catch (Exception e)
3074 {
3075 Debug.Print("Exception when calling E2eServiceInstancesApi.scaleE2EServiceInstance: " + e.Message );
3076 }
3077 }
3078 }
3079}
3080</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00003081 </div>
seshukmb3a332a2018-10-05 16:27:16 +08003082
tragait5e9676e2021-01-14 16:07:07 +00003083 <div class="tab-pane" id="examples-E2eServiceInstances-scaleE2EServiceInstance-0-php">
seshukmb3a332a2018-10-05 16:27:16 +08003084 <pre class="prettyprint"><code class="language-php"><&#63;php
3085require_once(__DIR__ . '/vendor/autoload.php');
3086
3087$api_instance = new Swagger\Client\Api\E2eServiceInstancesApi();
tragait5e9676e2021-01-14 16:07:07 +00003088$version = version_example; // String |
3089$serviceId = serviceId_example; // String |
3090$body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +08003091
3092try {
3093 $api_instance->scaleE2EServiceInstance($version, $serviceId, $body);
3094} catch (Exception $e) {
3095 echo 'Exception when calling E2eServiceInstancesApi->scaleE2EServiceInstance: ', $e->getMessage(), PHP_EOL;
3096}
3097?></code></pre>
tragait5e9676e2021-01-14 16:07:07 +00003098 </div>
seshukmb3a332a2018-10-05 16:27:16 +08003099
tragait5e9676e2021-01-14 16:07:07 +00003100 <div class="tab-pane" id="examples-E2eServiceInstances-scaleE2EServiceInstance-0-perl">
seshukmb3a332a2018-10-05 16:27:16 +08003101 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
3102use WWW::SwaggerClient::Configuration;
3103use WWW::SwaggerClient::E2eServiceInstancesApi;
3104
3105my $api_instance = WWW::SwaggerClient::E2eServiceInstancesApi->new();
tragait5e9676e2021-01-14 16:07:07 +00003106my $version = version_example; # String |
3107my $serviceId = serviceId_example; # String |
3108my $body = WWW::SwaggerClient::Object::String->new(); # String |
seshukmb3a332a2018-10-05 16:27:16 +08003109
tragait5e9676e2021-01-14 16:07:07 +00003110eval {
seshukmb3a332a2018-10-05 16:27:16 +08003111 $api_instance->scaleE2EServiceInstance(version => $version, serviceId => $serviceId, body => $body);
3112};
3113if ($@) {
3114 warn "Exception when calling E2eServiceInstancesApi->scaleE2EServiceInstance: $@\n";
3115}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00003116 </div>
seshukmb3a332a2018-10-05 16:27:16 +08003117
tragait5e9676e2021-01-14 16:07:07 +00003118 <div class="tab-pane" id="examples-E2eServiceInstances-scaleE2EServiceInstance-0-python">
seshukmb3a332a2018-10-05 16:27:16 +08003119 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
3120import time
3121import swagger_client
3122from swagger_client.rest import ApiException
3123from pprint import pprint
3124
3125# create an instance of the API class
3126api_instance = swagger_client.E2eServiceInstancesApi()
tragait5e9676e2021-01-14 16:07:07 +00003127version = version_example # String |
3128serviceId = serviceId_example # String |
seshukmb3a332a2018-10-05 16:27:16 +08003129body = body_example # String | (optional)
3130
tragait5e9676e2021-01-14 16:07:07 +00003131try:
seshukmb3a332a2018-10-05 16:27:16 +08003132 # Scale E2E Service Instance on a specified version
3133 api_instance.scale_e2_e_service_instance(version, serviceId, body=body)
3134except ApiException as e:
3135 print("Exception when calling E2eServiceInstancesApi->scaleE2EServiceInstance: %s\n" % e)</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00003136 </div>
seshukmb3a332a2018-10-05 16:27:16 +08003137 </div>
seshukmb3a332a2018-10-05 16:27:16 +08003138
tragait5e9676e2021-01-14 16:07:07 +00003139 <h2>Parameters</h2>
seshukmb3a332a2018-10-05 16:27:16 +08003140
3141 <div class="methodsubtabletitle">Path parameters</div>
3142 <table id="methodsubtable">
3143 <tr>
tragait5e9676e2021-01-14 16:07:07 +00003144 <th width="150px">Name</th>
3145 <th>Description</th>
seshukmb3a332a2018-10-05 16:27:16 +08003146 </tr>
tragait5e9676e2021-01-14 16:07:07 +00003147 <tr><td style="width:150px;">version*</td>
3148 <td>
seshukmb3a332a2018-10-05 16:27:16 +08003149
3150
tragait5e9676e2021-01-14 16:07:07 +00003151 <div id="d2e199_scaleE2EServiceInstance_version">
3152 <div class="json-schema-view">
3153 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +08003154 <span class="type">
3155 String
3156 </span>
3157
tragait5e9676e2021-01-14 16:07:07 +00003158 </div>
3159 <div class="inner required">
3160 Required
3161 </div>
3162 </div>
3163 </div>
3164 </td>
3165 </tr>
seshukmb3a332a2018-10-05 16:27:16 +08003166
tragait5e9676e2021-01-14 16:07:07 +00003167 <tr><td style="width:150px;">serviceId*</td>
3168 <td>
seshukmb3a332a2018-10-05 16:27:16 +08003169
3170
tragait5e9676e2021-01-14 16:07:07 +00003171 <div id="d2e199_scaleE2EServiceInstance_serviceId">
3172 <div class="json-schema-view">
3173 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +08003174 <span class="type">
3175 String
3176 </span>
3177
tragait5e9676e2021-01-14 16:07:07 +00003178 </div>
3179 <div class="inner required">
3180 Required
3181 </div>
3182 </div>
3183 </div>
3184 </td>
3185 </tr>
seshukmb3a332a2018-10-05 16:27:16 +08003186
3187 </table>
3188
3189
3190 <div class="methodsubtabletitle">Body parameters</div>
3191 <table id="methodsubtable">
tragait5e9676e2021-01-14 16:07:07 +00003192 <tr>
3193 <th width="150px">Name</th>
3194 <th>Description</th>
3195 </tr>
seshukmb3a332a2018-10-05 16:27:16 +08003196 <tr><td style="width:150px;">body </td>
tragait5e9676e2021-01-14 16:07:07 +00003197 <td>
seshukmb3a332a2018-10-05 16:27:16 +08003198
3199
tragait5e9676e2021-01-14 16:07:07 +00003200 <script>
seshukmb3a332a2018-10-05 16:27:16 +08003201$(document).ready(function() {
3202 var schemaWrapper = {
3203 "in" : "body",
3204 "name" : "body",
3205 "required" : false,
3206 "schema" : {
3207 "type" : "string"
3208 }
3209};
3210 var schema = schemaWrapper.schema;
3211 if (schema.$ref != null) {
3212 schema = defsParser.$refs.get(schema.$ref);
3213 } else {
3214 schemaWrapper.definitions = Object.assign({}, defs);
3215 $RefParser.dereference(schemaWrapper).catch(function(err) {
3216 console.log(err);
3217 });
3218 }
3219
3220 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
3221 var result = $('#d2e199_scaleE2EServiceInstance_body');
3222 result.empty();
3223 result.append(view.render());
3224});
3225</script>
tragait5e9676e2021-01-14 16:07:07 +00003226 <div id="d2e199_scaleE2EServiceInstance_body"></div>
3227 </td>
3228 </tr>
seshukmb3a332a2018-10-05 16:27:16 +08003229
3230 </table>
3231
3232
3233
tragait5e9676e2021-01-14 16:07:07 +00003234 <h2>Responses</h2>
seshukmb3a332a2018-10-05 16:27:16 +08003235 <h3> Status: default - successful operation </h3>
3236
3237 <ul class="nav nav-tabs nav-tabs-examples" >
3238 </ul>
3239
3240 <div class="tab-content" style='margin-bottom: 10px;'>
3241 </div>
3242
3243 </article>
tragait5e9676e2021-01-14 16:07:07 +00003244 </div>
3245 <hr>
seshukmb3a332a2018-10-05 16:27:16 +08003246 <div id="api-E2eServiceInstances-updateE2EServiceInstance">
tragait5e9676e2021-01-14 16:07:07 +00003247 <article id="api-E2eServiceInstances-updateE2EServiceInstance-0" data-group="User" data-name="updateE2EServiceInstance" data-version="0">
3248 <div class="pull-left">
3249 <h1>updateE2EServiceInstance</h1>
3250 <p>Update an E2E Service Instance on a version provided and serviceId</p>
3251 </div>
3252 <div class="pull-right"></div>
3253 <div class="clearfix"></div>
3254 <p></p>
3255 <p class="marked"></p>
3256 <p></p>
3257 <br />
3258 <pre class="prettyprint language-html prettyprinted" data-type="put"><code><span class="pln">/onap/so/infra/e2eServiceInstances/{version}/{serviceId}</span></code></pre>
3259 <p>
3260 <h3>Usage and SDK Samples</h3>
3261 </p>
3262 <ul class="nav nav-tabs nav-tabs-examples">
3263 <li class="active"><a href="#examples-E2eServiceInstances-updateE2EServiceInstance-0-curl">Curl</a></li>
3264 <li class=""><a href="#examples-E2eServiceInstances-updateE2EServiceInstance-0-java">Java</a></li>
3265 <li class=""><a href="#examples-E2eServiceInstances-updateE2EServiceInstance-0-android">Android</a></li>
3266 <!--<li class=""><a href="#examples-E2eServiceInstances-updateE2EServiceInstance-0-groovy">Groovy</a></li>-->
3267 <li class=""><a href="#examples-E2eServiceInstances-updateE2EServiceInstance-0-objc">Obj-C</a></li>
3268 <li class=""><a href="#examples-E2eServiceInstances-updateE2EServiceInstance-0-javascript">JavaScript</a></li>
3269 <!--<li class=""><a href="#examples-E2eServiceInstances-updateE2EServiceInstance-0-angular">Angular</a></li>-->
3270 <li class=""><a href="#examples-E2eServiceInstances-updateE2EServiceInstance-0-csharp">C#</a></li>
3271 <li class=""><a href="#examples-E2eServiceInstances-updateE2EServiceInstance-0-php">PHP</a></li>
3272 <li class=""><a href="#examples-E2eServiceInstances-updateE2EServiceInstance-0-perl">Perl</a></li>
3273 <li class=""><a href="#examples-E2eServiceInstances-updateE2EServiceInstance-0-python">Python</a></li>
3274 </ul>
seshukmb3a332a2018-10-05 16:27:16 +08003275
tragait5e9676e2021-01-14 16:07:07 +00003276 <div class="tab-content">
3277 <div class="tab-pane active" id="examples-E2eServiceInstances-updateE2EServiceInstance-0-curl">
3278 <pre class="prettyprint"><code class="language-bsh">curl -X PUT "http://localhost/onap/so/infra/e2eServiceInstances/{version}/{serviceId}"</code></pre>
3279 </div>
3280 <div class="tab-pane" id="examples-E2eServiceInstances-updateE2EServiceInstance-0-java">
seshukmb3a332a2018-10-05 16:27:16 +08003281 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
3282import io.swagger.client.auth.*;
3283import io.swagger.client.model.*;
3284import io.swagger.client.api.E2eServiceInstancesApi;
3285
3286import java.io.File;
3287import java.util.*;
3288
3289public class E2eServiceInstancesApiExample {
3290
3291 public static void main(String[] args) {
tragait5e9676e2021-01-14 16:07:07 +00003292
seshukmb3a332a2018-10-05 16:27:16 +08003293 E2eServiceInstancesApi apiInstance = new E2eServiceInstancesApi();
tragait5e9676e2021-01-14 16:07:07 +00003294 String version = version_example; // String |
3295 String serviceId = serviceId_example; // String |
3296 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +08003297 try {
3298 apiInstance.updateE2EServiceInstance(version, serviceId, body);
3299 } catch (ApiException e) {
3300 System.err.println("Exception when calling E2eServiceInstancesApi#updateE2EServiceInstance");
3301 e.printStackTrace();
3302 }
3303 }
3304}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00003305 </div>
seshukmb3a332a2018-10-05 16:27:16 +08003306
tragait5e9676e2021-01-14 16:07:07 +00003307 <div class="tab-pane" id="examples-E2eServiceInstances-updateE2EServiceInstance-0-android">
seshukmb3a332a2018-10-05 16:27:16 +08003308 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.E2eServiceInstancesApi;
3309
3310public class E2eServiceInstancesApiExample {
3311
3312 public static void main(String[] args) {
3313 E2eServiceInstancesApi apiInstance = new E2eServiceInstancesApi();
tragait5e9676e2021-01-14 16:07:07 +00003314 String version = version_example; // String |
3315 String serviceId = serviceId_example; // String |
3316 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +08003317 try {
3318 apiInstance.updateE2EServiceInstance(version, serviceId, body);
3319 } catch (ApiException e) {
3320 System.err.println("Exception when calling E2eServiceInstancesApi#updateE2EServiceInstance");
3321 e.printStackTrace();
3322 }
3323 }
3324}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00003325 </div>
3326 <!--
seshukmb3a332a2018-10-05 16:27:16 +08003327 <div class="tab-pane" id="examples-E2eServiceInstances-updateE2EServiceInstance-0-groovy">
3328 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
3329 </div> -->
tragait5e9676e2021-01-14 16:07:07 +00003330 <div class="tab-pane" id="examples-E2eServiceInstances-updateE2EServiceInstance-0-objc">
3331 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
3332String *serviceId = serviceId_example; //
seshukmb3a332a2018-10-05 16:27:16 +08003333String *body = body_example; // (optional)
3334
3335E2eServiceInstancesApi *apiInstance = [[E2eServiceInstancesApi alloc] init];
3336
3337// Update an E2E Service Instance on a version provided and serviceId
3338[apiInstance updateE2EServiceInstanceWith:version
3339 serviceId:serviceId
3340 body:body
3341 completionHandler: ^(NSError* error) {
3342 if (error) {
3343 NSLog(@"Error: %@", error);
3344 }
3345 }];
3346</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00003347 </div>
seshukmb3a332a2018-10-05 16:27:16 +08003348
tragait5e9676e2021-01-14 16:07:07 +00003349 <div class="tab-pane" id="examples-E2eServiceInstances-updateE2EServiceInstance-0-javascript">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05303350 <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is');
seshukmb3a332a2018-10-05 16:27:16 +08003351
Priyadharshinic86ab4a2020-08-14 17:11:49 +05303352var api = new SoGuilinApIs.E2eServiceInstancesApi()
seshukmb3a332a2018-10-05 16:27:16 +08003353
tragait5e9676e2021-01-14 16:07:07 +00003354var version = version_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +08003355
tragait5e9676e2021-01-14 16:07:07 +00003356var serviceId = serviceId_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +08003357
tragait5e9676e2021-01-14 16:07:07 +00003358var opts = {
3359 'body': body_example // {String}
seshukmb3a332a2018-10-05 16:27:16 +08003360};
3361
3362var callback = function(error, data, response) {
3363 if (error) {
3364 console.error(error);
3365 } else {
3366 console.log('API called successfully.');
3367 }
3368};
3369api.updateE2EServiceInstance(version, serviceId, opts, callback);
3370</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00003371 </div>
seshukmb3a332a2018-10-05 16:27:16 +08003372
tragait5e9676e2021-01-14 16:07:07 +00003373 <!--<div class="tab-pane" id="examples-E2eServiceInstances-updateE2EServiceInstance-0-angular">
seshukmb3a332a2018-10-05 16:27:16 +08003374 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
3375 </div>-->
tragait5e9676e2021-01-14 16:07:07 +00003376 <div class="tab-pane" id="examples-E2eServiceInstances-updateE2EServiceInstance-0-csharp">
seshukmb3a332a2018-10-05 16:27:16 +08003377 <pre class="prettyprint"><code class="language-cs">using System;
3378using System.Diagnostics;
3379using IO.Swagger.Api;
3380using IO.Swagger.Client;
3381using IO.Swagger.Model;
3382
3383namespace Example
3384{
3385 public class updateE2EServiceInstanceExample
3386 {
3387 public void main()
3388 {
tragait5e9676e2021-01-14 16:07:07 +00003389
seshukmb3a332a2018-10-05 16:27:16 +08003390 var apiInstance = new E2eServiceInstancesApi();
tragait5e9676e2021-01-14 16:07:07 +00003391 var version = version_example; // String |
3392 var serviceId = serviceId_example; // String |
3393 var body = body_example; // String | (optional)
seshukmb3a332a2018-10-05 16:27:16 +08003394
3395 try
3396 {
3397 // Update an E2E Service Instance on a version provided and serviceId
3398 apiInstance.updateE2EServiceInstance(version, serviceId, body);
3399 }
3400 catch (Exception e)
3401 {
3402 Debug.Print("Exception when calling E2eServiceInstancesApi.updateE2EServiceInstance: " + e.Message );
3403 }
3404 }
3405 }
3406}
3407</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00003408 </div>
seshukmb3a332a2018-10-05 16:27:16 +08003409
tragait5e9676e2021-01-14 16:07:07 +00003410 <div class="tab-pane" id="examples-E2eServiceInstances-updateE2EServiceInstance-0-php">
seshukmb3a332a2018-10-05 16:27:16 +08003411 <pre class="prettyprint"><code class="language-php"><&#63;php
3412require_once(__DIR__ . '/vendor/autoload.php');
3413
3414$api_instance = new Swagger\Client\Api\E2eServiceInstancesApi();
tragait5e9676e2021-01-14 16:07:07 +00003415$version = version_example; // String |
3416$serviceId = serviceId_example; // String |
3417$body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +08003418
3419try {
3420 $api_instance->updateE2EServiceInstance($version, $serviceId, $body);
3421} catch (Exception $e) {
3422 echo 'Exception when calling E2eServiceInstancesApi->updateE2EServiceInstance: ', $e->getMessage(), PHP_EOL;
3423}
3424?></code></pre>
tragait5e9676e2021-01-14 16:07:07 +00003425 </div>
seshukmb3a332a2018-10-05 16:27:16 +08003426
tragait5e9676e2021-01-14 16:07:07 +00003427 <div class="tab-pane" id="examples-E2eServiceInstances-updateE2EServiceInstance-0-perl">
seshukmb3a332a2018-10-05 16:27:16 +08003428 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
3429use WWW::SwaggerClient::Configuration;
3430use WWW::SwaggerClient::E2eServiceInstancesApi;
3431
3432my $api_instance = WWW::SwaggerClient::E2eServiceInstancesApi->new();
tragait5e9676e2021-01-14 16:07:07 +00003433my $version = version_example; # String |
3434my $serviceId = serviceId_example; # String |
3435my $body = WWW::SwaggerClient::Object::String->new(); # String |
seshukmb3a332a2018-10-05 16:27:16 +08003436
tragait5e9676e2021-01-14 16:07:07 +00003437eval {
seshukmb3a332a2018-10-05 16:27:16 +08003438 $api_instance->updateE2EServiceInstance(version => $version, serviceId => $serviceId, body => $body);
3439};
3440if ($@) {
3441 warn "Exception when calling E2eServiceInstancesApi->updateE2EServiceInstance: $@\n";
3442}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00003443 </div>
seshukmb3a332a2018-10-05 16:27:16 +08003444
tragait5e9676e2021-01-14 16:07:07 +00003445 <div class="tab-pane" id="examples-E2eServiceInstances-updateE2EServiceInstance-0-python">
seshukmb3a332a2018-10-05 16:27:16 +08003446 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
3447import time
3448import swagger_client
3449from swagger_client.rest import ApiException
3450from pprint import pprint
3451
3452# create an instance of the API class
3453api_instance = swagger_client.E2eServiceInstancesApi()
tragait5e9676e2021-01-14 16:07:07 +00003454version = version_example # String |
3455serviceId = serviceId_example # String |
seshukmb3a332a2018-10-05 16:27:16 +08003456body = body_example # String | (optional)
3457
tragait5e9676e2021-01-14 16:07:07 +00003458try:
seshukmb3a332a2018-10-05 16:27:16 +08003459 # Update an E2E Service Instance on a version provided and serviceId
3460 api_instance.update_e2_e_service_instance(version, serviceId, body=body)
3461except ApiException as e:
3462 print("Exception when calling E2eServiceInstancesApi->updateE2EServiceInstance: %s\n" % e)</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00003463 </div>
seshukmb3a332a2018-10-05 16:27:16 +08003464 </div>
seshukmb3a332a2018-10-05 16:27:16 +08003465
tragait5e9676e2021-01-14 16:07:07 +00003466 <h2>Parameters</h2>
seshukmb3a332a2018-10-05 16:27:16 +08003467
3468 <div class="methodsubtabletitle">Path parameters</div>
3469 <table id="methodsubtable">
3470 <tr>
tragait5e9676e2021-01-14 16:07:07 +00003471 <th width="150px">Name</th>
3472 <th>Description</th>
seshukmb3a332a2018-10-05 16:27:16 +08003473 </tr>
tragait5e9676e2021-01-14 16:07:07 +00003474 <tr><td style="width:150px;">version*</td>
3475 <td>
seshukmb3a332a2018-10-05 16:27:16 +08003476
3477
tragait5e9676e2021-01-14 16:07:07 +00003478 <div id="d2e199_updateE2EServiceInstance_version">
3479 <div class="json-schema-view">
3480 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +08003481 <span class="type">
3482 String
3483 </span>
3484
tragait5e9676e2021-01-14 16:07:07 +00003485 </div>
3486 <div class="inner required">
3487 Required
3488 </div>
3489 </div>
3490 </div>
3491 </td>
3492 </tr>
seshukmb3a332a2018-10-05 16:27:16 +08003493
tragait5e9676e2021-01-14 16:07:07 +00003494 <tr><td style="width:150px;">serviceId*</td>
3495 <td>
seshukmb3a332a2018-10-05 16:27:16 +08003496
3497
tragait5e9676e2021-01-14 16:07:07 +00003498 <div id="d2e199_updateE2EServiceInstance_serviceId">
3499 <div class="json-schema-view">
3500 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +08003501 <span class="type">
3502 String
3503 </span>
3504
tragait5e9676e2021-01-14 16:07:07 +00003505 </div>
3506 <div class="inner required">
3507 Required
3508 </div>
3509 </div>
3510 </div>
3511 </td>
3512 </tr>
seshukmb3a332a2018-10-05 16:27:16 +08003513
3514 </table>
3515
3516
3517 <div class="methodsubtabletitle">Body parameters</div>
3518 <table id="methodsubtable">
tragait5e9676e2021-01-14 16:07:07 +00003519 <tr>
3520 <th width="150px">Name</th>
3521 <th>Description</th>
3522 </tr>
seshukmb3a332a2018-10-05 16:27:16 +08003523 <tr><td style="width:150px;">body </td>
tragait5e9676e2021-01-14 16:07:07 +00003524 <td>
seshukmb3a332a2018-10-05 16:27:16 +08003525
3526
tragait5e9676e2021-01-14 16:07:07 +00003527 <script>
seshukmb3a332a2018-10-05 16:27:16 +08003528$(document).ready(function() {
3529 var schemaWrapper = {
3530 "in" : "body",
3531 "name" : "body",
3532 "required" : false,
3533 "schema" : {
3534 "type" : "string"
3535 }
3536};
3537 var schema = schemaWrapper.schema;
3538 if (schema.$ref != null) {
3539 schema = defsParser.$refs.get(schema.$ref);
3540 } else {
3541 schemaWrapper.definitions = Object.assign({}, defs);
3542 $RefParser.dereference(schemaWrapper).catch(function(err) {
3543 console.log(err);
3544 });
3545 }
3546
3547 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
3548 var result = $('#d2e199_updateE2EServiceInstance_body');
3549 result.empty();
3550 result.append(view.render());
3551});
3552</script>
tragait5e9676e2021-01-14 16:07:07 +00003553 <div id="d2e199_updateE2EServiceInstance_body"></div>
3554 </td>
3555 </tr>
seshukmb3a332a2018-10-05 16:27:16 +08003556
3557 </table>
3558
3559
3560
tragait5e9676e2021-01-14 16:07:07 +00003561 <h2>Responses</h2>
seshukmb3a332a2018-10-05 16:27:16 +08003562 <h3> Status: default - successful operation </h3>
3563
3564 <ul class="nav nav-tabs nav-tabs-examples" >
3565 </ul>
3566
3567 <div class="tab-content" style='margin-bottom: 10px;'>
3568 </div>
3569
3570 </article>
tragait5e9676e2021-01-14 16:07:07 +00003571 </div>
3572 <hr>
3573 </section>
seshukmb3a332a2018-10-05 16:27:16 +08003574 <section id="api-Globalhealthcheck">
tragait5e9676e2021-01-14 16:07:07 +00003575 <h1>Globalhealthcheck</h1>
seshukmb3a332a2018-10-05 16:27:16 +08003576 <div id="api-Globalhealthcheck-globalHealthcheck">
tragait5e9676e2021-01-14 16:07:07 +00003577 <article id="api-Globalhealthcheck-globalHealthcheck-0" data-group="User" data-name="globalHealthcheck" data-version="0">
3578 <div class="pull-left">
3579 <h1>globalHealthcheck</h1>
3580 <p>Performing global health check</p>
3581 </div>
3582 <div class="pull-right"></div>
3583 <div class="clearfix"></div>
3584 <p></p>
3585 <p class="marked"></p>
3586 <p></p>
3587 <br />
3588 <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/globalhealthcheck</span></code></pre>
3589 <p>
3590 <h3>Usage and SDK Samples</h3>
3591 </p>
3592 <ul class="nav nav-tabs nav-tabs-examples">
3593 <li class="active"><a href="#examples-Globalhealthcheck-globalHealthcheck-0-curl">Curl</a></li>
3594 <li class=""><a href="#examples-Globalhealthcheck-globalHealthcheck-0-java">Java</a></li>
3595 <li class=""><a href="#examples-Globalhealthcheck-globalHealthcheck-0-android">Android</a></li>
3596 <!--<li class=""><a href="#examples-Globalhealthcheck-globalHealthcheck-0-groovy">Groovy</a></li>-->
3597 <li class=""><a href="#examples-Globalhealthcheck-globalHealthcheck-0-objc">Obj-C</a></li>
3598 <li class=""><a href="#examples-Globalhealthcheck-globalHealthcheck-0-javascript">JavaScript</a></li>
3599 <!--<li class=""><a href="#examples-Globalhealthcheck-globalHealthcheck-0-angular">Angular</a></li>-->
3600 <li class=""><a href="#examples-Globalhealthcheck-globalHealthcheck-0-csharp">C#</a></li>
3601 <li class=""><a href="#examples-Globalhealthcheck-globalHealthcheck-0-php">PHP</a></li>
3602 <li class=""><a href="#examples-Globalhealthcheck-globalHealthcheck-0-perl">Perl</a></li>
3603 <li class=""><a href="#examples-Globalhealthcheck-globalHealthcheck-0-python">Python</a></li>
3604 </ul>
seshukmb3a332a2018-10-05 16:27:16 +08003605
tragait5e9676e2021-01-14 16:07:07 +00003606 <div class="tab-content">
3607 <div class="tab-pane active" id="examples-Globalhealthcheck-globalHealthcheck-0-curl">
3608 <pre class="prettyprint"><code class="language-bsh">curl -X GET "http://localhost/globalhealthcheck?enableBpmn="</code></pre>
3609 </div>
3610 <div class="tab-pane" id="examples-Globalhealthcheck-globalHealthcheck-0-java">
seshukmb3a332a2018-10-05 16:27:16 +08003611 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
3612import io.swagger.client.auth.*;
3613import io.swagger.client.model.*;
3614import io.swagger.client.api.GlobalhealthcheckApi;
3615
3616import java.io.File;
3617import java.util.*;
3618
3619public class GlobalhealthcheckApiExample {
3620
3621 public static void main(String[] args) {
tragait5e9676e2021-01-14 16:07:07 +00003622
seshukmb3a332a2018-10-05 16:27:16 +08003623 GlobalhealthcheckApi apiInstance = new GlobalhealthcheckApi();
tragait5e9676e2021-01-14 16:07:07 +00003624 Boolean enableBpmn = true; // Boolean |
seshukmb3a332a2018-10-05 16:27:16 +08003625 try {
3626 apiInstance.globalHealthcheck(enableBpmn);
3627 } catch (ApiException e) {
3628 System.err.println("Exception when calling GlobalhealthcheckApi#globalHealthcheck");
3629 e.printStackTrace();
3630 }
3631 }
3632}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00003633 </div>
seshukmb3a332a2018-10-05 16:27:16 +08003634
tragait5e9676e2021-01-14 16:07:07 +00003635 <div class="tab-pane" id="examples-Globalhealthcheck-globalHealthcheck-0-android">
seshukmb3a332a2018-10-05 16:27:16 +08003636 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.GlobalhealthcheckApi;
3637
3638public class GlobalhealthcheckApiExample {
3639
3640 public static void main(String[] args) {
3641 GlobalhealthcheckApi apiInstance = new GlobalhealthcheckApi();
tragait5e9676e2021-01-14 16:07:07 +00003642 Boolean enableBpmn = true; // Boolean |
seshukmb3a332a2018-10-05 16:27:16 +08003643 try {
3644 apiInstance.globalHealthcheck(enableBpmn);
3645 } catch (ApiException e) {
3646 System.err.println("Exception when calling GlobalhealthcheckApi#globalHealthcheck");
3647 e.printStackTrace();
3648 }
3649 }
3650}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00003651 </div>
3652 <!--
seshukmb3a332a2018-10-05 16:27:16 +08003653 <div class="tab-pane" id="examples-Globalhealthcheck-globalHealthcheck-0-groovy">
3654 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
3655 </div> -->
tragait5e9676e2021-01-14 16:07:07 +00003656 <div class="tab-pane" id="examples-Globalhealthcheck-globalHealthcheck-0-objc">
seshukmb3a332a2018-10-05 16:27:16 +08003657 <pre class="prettyprint"><code class="language-cpp">Boolean *enableBpmn = true; // (optional) (default to true)
3658
3659GlobalhealthcheckApi *apiInstance = [[GlobalhealthcheckApi alloc] init];
3660
3661// Performing global health check
3662[apiInstance globalHealthcheckWith:enableBpmn
3663 completionHandler: ^(NSError* error) {
3664 if (error) {
3665 NSLog(@"Error: %@", error);
3666 }
3667 }];
3668</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00003669 </div>
seshukmb3a332a2018-10-05 16:27:16 +08003670
tragait5e9676e2021-01-14 16:07:07 +00003671 <div class="tab-pane" id="examples-Globalhealthcheck-globalHealthcheck-0-javascript">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05303672 <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is');
seshukmb3a332a2018-10-05 16:27:16 +08003673
Priyadharshinic86ab4a2020-08-14 17:11:49 +05303674var api = new SoGuilinApIs.GlobalhealthcheckApi()
seshukmb3a332a2018-10-05 16:27:16 +08003675
tragait5e9676e2021-01-14 16:07:07 +00003676var opts = {
3677 'enableBpmn': true // {Boolean}
seshukmb3a332a2018-10-05 16:27:16 +08003678};
3679
3680var callback = function(error, data, response) {
3681 if (error) {
3682 console.error(error);
3683 } else {
3684 console.log('API called successfully.');
3685 }
3686};
3687api.globalHealthcheck(opts, callback);
3688</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00003689 </div>
seshukmb3a332a2018-10-05 16:27:16 +08003690
tragait5e9676e2021-01-14 16:07:07 +00003691 <!--<div class="tab-pane" id="examples-Globalhealthcheck-globalHealthcheck-0-angular">
seshukmb3a332a2018-10-05 16:27:16 +08003692 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
3693 </div>-->
tragait5e9676e2021-01-14 16:07:07 +00003694 <div class="tab-pane" id="examples-Globalhealthcheck-globalHealthcheck-0-csharp">
seshukmb3a332a2018-10-05 16:27:16 +08003695 <pre class="prettyprint"><code class="language-cs">using System;
3696using System.Diagnostics;
3697using IO.Swagger.Api;
3698using IO.Swagger.Client;
3699using IO.Swagger.Model;
3700
3701namespace Example
3702{
3703 public class globalHealthcheckExample
3704 {
3705 public void main()
3706 {
tragait5e9676e2021-01-14 16:07:07 +00003707
seshukmb3a332a2018-10-05 16:27:16 +08003708 var apiInstance = new GlobalhealthcheckApi();
3709 var enableBpmn = true; // Boolean | (optional) (default to true)
3710
3711 try
3712 {
3713 // Performing global health check
3714 apiInstance.globalHealthcheck(enableBpmn);
3715 }
3716 catch (Exception e)
3717 {
3718 Debug.Print("Exception when calling GlobalhealthcheckApi.globalHealthcheck: " + e.Message );
3719 }
3720 }
3721 }
3722}
3723</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00003724 </div>
seshukmb3a332a2018-10-05 16:27:16 +08003725
tragait5e9676e2021-01-14 16:07:07 +00003726 <div class="tab-pane" id="examples-Globalhealthcheck-globalHealthcheck-0-php">
seshukmb3a332a2018-10-05 16:27:16 +08003727 <pre class="prettyprint"><code class="language-php"><&#63;php
3728require_once(__DIR__ . '/vendor/autoload.php');
3729
3730$api_instance = new Swagger\Client\Api\GlobalhealthcheckApi();
tragait5e9676e2021-01-14 16:07:07 +00003731$enableBpmn = true; // Boolean |
seshukmb3a332a2018-10-05 16:27:16 +08003732
3733try {
3734 $api_instance->globalHealthcheck($enableBpmn);
3735} catch (Exception $e) {
3736 echo 'Exception when calling GlobalhealthcheckApi->globalHealthcheck: ', $e->getMessage(), PHP_EOL;
3737}
3738?></code></pre>
tragait5e9676e2021-01-14 16:07:07 +00003739 </div>
seshukmb3a332a2018-10-05 16:27:16 +08003740
tragait5e9676e2021-01-14 16:07:07 +00003741 <div class="tab-pane" id="examples-Globalhealthcheck-globalHealthcheck-0-perl">
seshukmb3a332a2018-10-05 16:27:16 +08003742 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
3743use WWW::SwaggerClient::Configuration;
3744use WWW::SwaggerClient::GlobalhealthcheckApi;
3745
3746my $api_instance = WWW::SwaggerClient::GlobalhealthcheckApi->new();
tragait5e9676e2021-01-14 16:07:07 +00003747my $enableBpmn = true; # Boolean |
seshukmb3a332a2018-10-05 16:27:16 +08003748
tragait5e9676e2021-01-14 16:07:07 +00003749eval {
seshukmb3a332a2018-10-05 16:27:16 +08003750 $api_instance->globalHealthcheck(enableBpmn => $enableBpmn);
3751};
3752if ($@) {
3753 warn "Exception when calling GlobalhealthcheckApi->globalHealthcheck: $@\n";
3754}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00003755 </div>
seshukmb3a332a2018-10-05 16:27:16 +08003756
tragait5e9676e2021-01-14 16:07:07 +00003757 <div class="tab-pane" id="examples-Globalhealthcheck-globalHealthcheck-0-python">
seshukmb3a332a2018-10-05 16:27:16 +08003758 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
3759import time
3760import swagger_client
3761from swagger_client.rest import ApiException
3762from pprint import pprint
3763
3764# create an instance of the API class
3765api_instance = swagger_client.GlobalhealthcheckApi()
3766enableBpmn = true # Boolean | (optional) (default to true)
3767
tragait5e9676e2021-01-14 16:07:07 +00003768try:
seshukmb3a332a2018-10-05 16:27:16 +08003769 # Performing global health check
3770 api_instance.global_healthcheck(enableBpmn=enableBpmn)
3771except ApiException as e:
3772 print("Exception when calling GlobalhealthcheckApi->globalHealthcheck: %s\n" % e)</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00003773 </div>
seshukmb3a332a2018-10-05 16:27:16 +08003774 </div>
seshukmb3a332a2018-10-05 16:27:16 +08003775
tragait5e9676e2021-01-14 16:07:07 +00003776 <h2>Parameters</h2>
seshukmb3a332a2018-10-05 16:27:16 +08003777
3778
3779
3780
3781
3782 <div class="methodsubtabletitle">Query parameters</div>
3783 <table id="methodsubtable">
tragait5e9676e2021-01-14 16:07:07 +00003784 <tr>
3785 <th width="150px">Name</th>
3786 <th>Description</th>
3787 </tr>
seshukmb3a332a2018-10-05 16:27:16 +08003788 <tr><td style="width:150px;">enableBpmn</td>
tragait5e9676e2021-01-14 16:07:07 +00003789 <td>
seshukmb3a332a2018-10-05 16:27:16 +08003790
3791
tragait5e9676e2021-01-14 16:07:07 +00003792 <div id="d2e199_globalHealthcheck_enableBpmn">
3793 <div class="json-schema-view">
3794 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +08003795 <span class="type">
3796 Boolean
3797 </span>
3798
tragait5e9676e2021-01-14 16:07:07 +00003799 </div>
3800 </div>
3801 </div>
3802 </td>
3803 </tr>
seshukmb3a332a2018-10-05 16:27:16 +08003804
3805 </table>
3806
tragait5e9676e2021-01-14 16:07:07 +00003807 <h2>Responses</h2>
seshukmb3a332a2018-10-05 16:27:16 +08003808 <h3> Status: default - successful operation </h3>
3809
3810 <ul class="nav nav-tabs nav-tabs-examples" >
3811 </ul>
3812
3813 <div class="tab-content" style='margin-bottom: 10px;'>
3814 </div>
3815
3816 </article>
tragait5e9676e2021-01-14 16:07:07 +00003817 </div>
3818 <hr>
3819 </section>
seshukmb3a332a2018-10-05 16:27:16 +08003820 <section id="api-Nodehealthcheck">
tragait5e9676e2021-01-14 16:07:07 +00003821 <h1>Nodehealthcheck</h1>
seshukmb3a332a2018-10-05 16:27:16 +08003822 <div id="api-Nodehealthcheck-nodeHealthcheck">
tragait5e9676e2021-01-14 16:07:07 +00003823 <article id="api-Nodehealthcheck-nodeHealthcheck-0" data-group="User" data-name="nodeHealthcheck" data-version="0">
3824 <div class="pull-left">
3825 <h1>nodeHealthcheck</h1>
3826 <p>Performing node health check</p>
3827 </div>
3828 <div class="pull-right"></div>
3829 <div class="clearfix"></div>
3830 <p></p>
3831 <p class="marked"></p>
3832 <p></p>
3833 <br />
3834 <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/nodehealthcheck</span></code></pre>
3835 <p>
3836 <h3>Usage and SDK Samples</h3>
3837 </p>
3838 <ul class="nav nav-tabs nav-tabs-examples">
3839 <li class="active"><a href="#examples-Nodehealthcheck-nodeHealthcheck-0-curl">Curl</a></li>
3840 <li class=""><a href="#examples-Nodehealthcheck-nodeHealthcheck-0-java">Java</a></li>
3841 <li class=""><a href="#examples-Nodehealthcheck-nodeHealthcheck-0-android">Android</a></li>
3842 <!--<li class=""><a href="#examples-Nodehealthcheck-nodeHealthcheck-0-groovy">Groovy</a></li>-->
3843 <li class=""><a href="#examples-Nodehealthcheck-nodeHealthcheck-0-objc">Obj-C</a></li>
3844 <li class=""><a href="#examples-Nodehealthcheck-nodeHealthcheck-0-javascript">JavaScript</a></li>
3845 <!--<li class=""><a href="#examples-Nodehealthcheck-nodeHealthcheck-0-angular">Angular</a></li>-->
3846 <li class=""><a href="#examples-Nodehealthcheck-nodeHealthcheck-0-csharp">C#</a></li>
3847 <li class=""><a href="#examples-Nodehealthcheck-nodeHealthcheck-0-php">PHP</a></li>
3848 <li class=""><a href="#examples-Nodehealthcheck-nodeHealthcheck-0-perl">Perl</a></li>
3849 <li class=""><a href="#examples-Nodehealthcheck-nodeHealthcheck-0-python">Python</a></li>
3850 </ul>
seshukmb3a332a2018-10-05 16:27:16 +08003851
tragait5e9676e2021-01-14 16:07:07 +00003852 <div class="tab-content">
3853 <div class="tab-pane active" id="examples-Nodehealthcheck-nodeHealthcheck-0-curl">
3854 <pre class="prettyprint"><code class="language-bsh">curl -X GET "http://localhost/nodehealthcheck"</code></pre>
3855 </div>
3856 <div class="tab-pane" id="examples-Nodehealthcheck-nodeHealthcheck-0-java">
seshukmb3a332a2018-10-05 16:27:16 +08003857 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
3858import io.swagger.client.auth.*;
3859import io.swagger.client.model.*;
3860import io.swagger.client.api.NodehealthcheckApi;
3861
3862import java.io.File;
3863import java.util.*;
3864
3865public class NodehealthcheckApiExample {
3866
3867 public static void main(String[] args) {
tragait5e9676e2021-01-14 16:07:07 +00003868
seshukmb3a332a2018-10-05 16:27:16 +08003869 NodehealthcheckApi apiInstance = new NodehealthcheckApi();
3870 try {
3871 apiInstance.nodeHealthcheck();
3872 } catch (ApiException e) {
3873 System.err.println("Exception when calling NodehealthcheckApi#nodeHealthcheck");
3874 e.printStackTrace();
3875 }
3876 }
3877}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00003878 </div>
seshukmb3a332a2018-10-05 16:27:16 +08003879
tragait5e9676e2021-01-14 16:07:07 +00003880 <div class="tab-pane" id="examples-Nodehealthcheck-nodeHealthcheck-0-android">
seshukmb3a332a2018-10-05 16:27:16 +08003881 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.NodehealthcheckApi;
3882
3883public class NodehealthcheckApiExample {
3884
3885 public static void main(String[] args) {
3886 NodehealthcheckApi apiInstance = new NodehealthcheckApi();
3887 try {
3888 apiInstance.nodeHealthcheck();
3889 } catch (ApiException e) {
3890 System.err.println("Exception when calling NodehealthcheckApi#nodeHealthcheck");
3891 e.printStackTrace();
3892 }
3893 }
3894}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00003895 </div>
3896 <!--
seshukmb3a332a2018-10-05 16:27:16 +08003897 <div class="tab-pane" id="examples-Nodehealthcheck-nodeHealthcheck-0-groovy">
3898 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
3899 </div> -->
tragait5e9676e2021-01-14 16:07:07 +00003900 <div class="tab-pane" id="examples-Nodehealthcheck-nodeHealthcheck-0-objc">
seshukmb3a332a2018-10-05 16:27:16 +08003901 <pre class="prettyprint"><code class="language-cpp">
3902NodehealthcheckApi *apiInstance = [[NodehealthcheckApi alloc] init];
3903
3904// Performing node health check
tragait5e9676e2021-01-14 16:07:07 +00003905[apiInstance nodeHealthcheckWithCompletionHandler:
seshukmb3a332a2018-10-05 16:27:16 +08003906 ^(NSError* error) {
3907 if (error) {
3908 NSLog(@"Error: %@", error);
3909 }
3910 }];
3911</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00003912 </div>
seshukmb3a332a2018-10-05 16:27:16 +08003913
tragait5e9676e2021-01-14 16:07:07 +00003914 <div class="tab-pane" id="examples-Nodehealthcheck-nodeHealthcheck-0-javascript">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05303915 <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is');
seshukmb3a332a2018-10-05 16:27:16 +08003916
Priyadharshinic86ab4a2020-08-14 17:11:49 +05303917var api = new SoGuilinApIs.NodehealthcheckApi()
seshukmb3a332a2018-10-05 16:27:16 +08003918
3919var callback = function(error, data, response) {
3920 if (error) {
3921 console.error(error);
3922 } else {
3923 console.log('API called successfully.');
3924 }
3925};
3926api.nodeHealthcheck(callback);
3927</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00003928 </div>
seshukmb3a332a2018-10-05 16:27:16 +08003929
tragait5e9676e2021-01-14 16:07:07 +00003930 <!--<div class="tab-pane" id="examples-Nodehealthcheck-nodeHealthcheck-0-angular">
seshukmb3a332a2018-10-05 16:27:16 +08003931 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
3932 </div>-->
tragait5e9676e2021-01-14 16:07:07 +00003933 <div class="tab-pane" id="examples-Nodehealthcheck-nodeHealthcheck-0-csharp">
seshukmb3a332a2018-10-05 16:27:16 +08003934 <pre class="prettyprint"><code class="language-cs">using System;
3935using System.Diagnostics;
3936using IO.Swagger.Api;
3937using IO.Swagger.Client;
3938using IO.Swagger.Model;
3939
3940namespace Example
3941{
3942 public class nodeHealthcheckExample
3943 {
3944 public void main()
3945 {
tragait5e9676e2021-01-14 16:07:07 +00003946
seshukmb3a332a2018-10-05 16:27:16 +08003947 var apiInstance = new NodehealthcheckApi();
3948
3949 try
3950 {
3951 // Performing node health check
3952 apiInstance.nodeHealthcheck();
3953 }
3954 catch (Exception e)
3955 {
3956 Debug.Print("Exception when calling NodehealthcheckApi.nodeHealthcheck: " + e.Message );
3957 }
3958 }
3959 }
3960}
3961</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00003962 </div>
seshukmb3a332a2018-10-05 16:27:16 +08003963
tragait5e9676e2021-01-14 16:07:07 +00003964 <div class="tab-pane" id="examples-Nodehealthcheck-nodeHealthcheck-0-php">
seshukmb3a332a2018-10-05 16:27:16 +08003965 <pre class="prettyprint"><code class="language-php"><&#63;php
3966require_once(__DIR__ . '/vendor/autoload.php');
3967
3968$api_instance = new Swagger\Client\Api\NodehealthcheckApi();
3969
3970try {
3971 $api_instance->nodeHealthcheck();
3972} catch (Exception $e) {
3973 echo 'Exception when calling NodehealthcheckApi->nodeHealthcheck: ', $e->getMessage(), PHP_EOL;
3974}
3975?></code></pre>
tragait5e9676e2021-01-14 16:07:07 +00003976 </div>
seshukmb3a332a2018-10-05 16:27:16 +08003977
tragait5e9676e2021-01-14 16:07:07 +00003978 <div class="tab-pane" id="examples-Nodehealthcheck-nodeHealthcheck-0-perl">
seshukmb3a332a2018-10-05 16:27:16 +08003979 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
3980use WWW::SwaggerClient::Configuration;
3981use WWW::SwaggerClient::NodehealthcheckApi;
3982
3983my $api_instance = WWW::SwaggerClient::NodehealthcheckApi->new();
3984
tragait5e9676e2021-01-14 16:07:07 +00003985eval {
seshukmb3a332a2018-10-05 16:27:16 +08003986 $api_instance->nodeHealthcheck();
3987};
3988if ($@) {
3989 warn "Exception when calling NodehealthcheckApi->nodeHealthcheck: $@\n";
3990}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00003991 </div>
seshukmb3a332a2018-10-05 16:27:16 +08003992
tragait5e9676e2021-01-14 16:07:07 +00003993 <div class="tab-pane" id="examples-Nodehealthcheck-nodeHealthcheck-0-python">
seshukmb3a332a2018-10-05 16:27:16 +08003994 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
3995import time
3996import swagger_client
3997from swagger_client.rest import ApiException
3998from pprint import pprint
3999
4000# create an instance of the API class
4001api_instance = swagger_client.NodehealthcheckApi()
4002
tragait5e9676e2021-01-14 16:07:07 +00004003try:
seshukmb3a332a2018-10-05 16:27:16 +08004004 # Performing node health check
4005 api_instance.node_healthcheck()
4006except ApiException as e:
4007 print("Exception when calling NodehealthcheckApi->nodeHealthcheck: %s\n" % e)</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00004008 </div>
seshukmb3a332a2018-10-05 16:27:16 +08004009 </div>
seshukmb3a332a2018-10-05 16:27:16 +08004010
tragait5e9676e2021-01-14 16:07:07 +00004011 <h2>Parameters</h2>
seshukmb3a332a2018-10-05 16:27:16 +08004012
4013
4014
4015
4016
4017
tragait5e9676e2021-01-14 16:07:07 +00004018 <h2>Responses</h2>
seshukmb3a332a2018-10-05 16:27:16 +08004019 <h3> Status: default - successful operation </h3>
4020
4021 <ul class="nav nav-tabs nav-tabs-examples" >
4022 </ul>
4023
4024 <div class="tab-content" style='margin-bottom: 10px;'>
4025 </div>
4026
4027 </article>
tragait5e9676e2021-01-14 16:07:07 +00004028 </div>
4029 <hr>
4030 </section>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304031 <section id="api-Onap3gppServiceInstances">
tragait5e9676e2021-01-14 16:07:07 +00004032 <h1>Onap3gppServiceInstances</h1>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304033 <div id="api-Onap3gppServiceInstances-activate3gppService">
tragait5e9676e2021-01-14 16:07:07 +00004034 <article id="api-Onap3gppServiceInstances-activate3gppService-0" data-group="User" data-name="activate3gppService" data-version="0">
4035 <div class="pull-left">
4036 <h1>activate3gppService</h1>
4037 <p>Activate a 3GPP Service Instance on a version provided</p>
4038 </div>
4039 <div class="pull-right"></div>
4040 <div class="clearfix"></div>
4041 <p></p>
4042 <p class="marked"></p>
4043 <p></p>
4044 <br />
4045 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/3gppservices/{version}/activate</span></code></pre>
4046 <p>
4047 <h3>Usage and SDK Samples</h3>
4048 </p>
4049 <ul class="nav nav-tabs nav-tabs-examples">
4050 <li class="active"><a href="#examples-Onap3gppServiceInstances-activate3gppService-0-curl">Curl</a></li>
4051 <li class=""><a href="#examples-Onap3gppServiceInstances-activate3gppService-0-java">Java</a></li>
4052 <li class=""><a href="#examples-Onap3gppServiceInstances-activate3gppService-0-android">Android</a></li>
4053 <!--<li class=""><a href="#examples-Onap3gppServiceInstances-activate3gppService-0-groovy">Groovy</a></li>-->
4054 <li class=""><a href="#examples-Onap3gppServiceInstances-activate3gppService-0-objc">Obj-C</a></li>
4055 <li class=""><a href="#examples-Onap3gppServiceInstances-activate3gppService-0-javascript">JavaScript</a></li>
4056 <!--<li class=""><a href="#examples-Onap3gppServiceInstances-activate3gppService-0-angular">Angular</a></li>-->
4057 <li class=""><a href="#examples-Onap3gppServiceInstances-activate3gppService-0-csharp">C#</a></li>
4058 <li class=""><a href="#examples-Onap3gppServiceInstances-activate3gppService-0-php">PHP</a></li>
4059 <li class=""><a href="#examples-Onap3gppServiceInstances-activate3gppService-0-perl">Perl</a></li>
4060 <li class=""><a href="#examples-Onap3gppServiceInstances-activate3gppService-0-python">Python</a></li>
4061 </ul>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304062
tragait5e9676e2021-01-14 16:07:07 +00004063 <div class="tab-content">
4064 <div class="tab-pane active" id="examples-Onap3gppServiceInstances-activate3gppService-0-curl">
4065 <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/3gppservices/{version}/activate"</code></pre>
4066 </div>
4067 <div class="tab-pane" id="examples-Onap3gppServiceInstances-activate3gppService-0-java">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304068 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
4069import io.swagger.client.auth.*;
4070import io.swagger.client.model.*;
4071import io.swagger.client.api.Onap3gppServiceInstancesApi;
4072
4073import java.io.File;
4074import java.util.*;
4075
4076public class Onap3gppServiceInstancesApiExample {
4077
4078 public static void main(String[] args) {
tragait5e9676e2021-01-14 16:07:07 +00004079
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304080 Onap3gppServiceInstancesApi apiInstance = new Onap3gppServiceInstancesApi();
tragait5e9676e2021-01-14 16:07:07 +00004081 3gppServiceActivation body = ; // 3gppServiceActivation |
4082 String version = version_example; // String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304083 try {
4084 3gppServiceResponse result = apiInstance.activate3gppService(body, version);
4085 System.out.println(result);
4086 } catch (ApiException e) {
4087 System.err.println("Exception when calling Onap3gppServiceInstancesApi#activate3gppService");
4088 e.printStackTrace();
4089 }
4090 }
4091}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00004092 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304093
tragait5e9676e2021-01-14 16:07:07 +00004094 <div class="tab-pane" id="examples-Onap3gppServiceInstances-activate3gppService-0-android">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304095 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.Onap3gppServiceInstancesApi;
4096
4097public class Onap3gppServiceInstancesApiExample {
4098
4099 public static void main(String[] args) {
4100 Onap3gppServiceInstancesApi apiInstance = new Onap3gppServiceInstancesApi();
tragait5e9676e2021-01-14 16:07:07 +00004101 3gppServiceActivation body = ; // 3gppServiceActivation |
4102 String version = version_example; // String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304103 try {
4104 3gppServiceResponse result = apiInstance.activate3gppService(body, version);
4105 System.out.println(result);
4106 } catch (ApiException e) {
4107 System.err.println("Exception when calling Onap3gppServiceInstancesApi#activate3gppService");
4108 e.printStackTrace();
4109 }
4110 }
4111}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00004112 </div>
4113 <!--
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304114 <div class="tab-pane" id="examples-Onap3gppServiceInstances-activate3gppService-0-groovy">
4115 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
4116 </div> -->
tragait5e9676e2021-01-14 16:07:07 +00004117 <div class="tab-pane" id="examples-Onap3gppServiceInstances-activate3gppService-0-objc">
4118 <pre class="prettyprint"><code class="language-cpp">3gppServiceActivation *body = ; //
4119String *version = version_example; //
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304120
4121Onap3gppServiceInstancesApi *apiInstance = [[Onap3gppServiceInstancesApi alloc] init];
4122
4123// Activate a 3GPP Service Instance on a version provided
4124[apiInstance activate3gppServiceWith:body
4125 version:version
4126 completionHandler: ^(3gppServiceResponse output, NSError* error) {
4127 if (output) {
4128 NSLog(@"%@", output);
4129 }
4130 if (error) {
4131 NSLog(@"Error: %@", error);
4132 }
4133 }];
4134</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00004135 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304136
tragait5e9676e2021-01-14 16:07:07 +00004137 <div class="tab-pane" id="examples-Onap3gppServiceInstances-activate3gppService-0-javascript">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304138 <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is');
4139
4140var api = new SoGuilinApIs.Onap3gppServiceInstancesApi()
4141
tragait5e9676e2021-01-14 16:07:07 +00004142var body = ; // {3gppServiceActivation}
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304143
tragait5e9676e2021-01-14 16:07:07 +00004144var version = version_example; // {String}
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304145
4146
4147var callback = function(error, data, response) {
4148 if (error) {
4149 console.error(error);
4150 } else {
4151 console.log('API called successfully. Returned data: ' + data);
4152 }
4153};
4154api.activate3gppService(body, version, callback);
4155</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00004156 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304157
tragait5e9676e2021-01-14 16:07:07 +00004158 <!--<div class="tab-pane" id="examples-Onap3gppServiceInstances-activate3gppService-0-angular">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304159 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
4160 </div>-->
tragait5e9676e2021-01-14 16:07:07 +00004161 <div class="tab-pane" id="examples-Onap3gppServiceInstances-activate3gppService-0-csharp">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304162 <pre class="prettyprint"><code class="language-cs">using System;
4163using System.Diagnostics;
4164using IO.Swagger.Api;
4165using IO.Swagger.Client;
4166using IO.Swagger.Model;
4167
4168namespace Example
4169{
4170 public class activate3gppServiceExample
4171 {
4172 public void main()
4173 {
tragait5e9676e2021-01-14 16:07:07 +00004174
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304175 var apiInstance = new Onap3gppServiceInstancesApi();
tragait5e9676e2021-01-14 16:07:07 +00004176 var body = new 3gppServiceActivation(); // 3gppServiceActivation |
4177 var version = version_example; // String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304178
4179 try
4180 {
4181 // Activate a 3GPP Service Instance on a version provided
4182 3gppServiceResponse result = apiInstance.activate3gppService(body, version);
4183 Debug.WriteLine(result);
4184 }
4185 catch (Exception e)
4186 {
4187 Debug.Print("Exception when calling Onap3gppServiceInstancesApi.activate3gppService: " + e.Message );
4188 }
4189 }
4190 }
4191}
4192</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00004193 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304194
tragait5e9676e2021-01-14 16:07:07 +00004195 <div class="tab-pane" id="examples-Onap3gppServiceInstances-activate3gppService-0-php">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304196 <pre class="prettyprint"><code class="language-php"><&#63;php
4197require_once(__DIR__ . '/vendor/autoload.php');
4198
4199$api_instance = new Swagger\Client\Api\Onap3gppServiceInstancesApi();
tragait5e9676e2021-01-14 16:07:07 +00004200$body = ; // 3gppServiceActivation |
4201$version = version_example; // String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304202
4203try {
4204 $result = $api_instance->activate3gppService($body, $version);
4205 print_r($result);
4206} catch (Exception $e) {
4207 echo 'Exception when calling Onap3gppServiceInstancesApi->activate3gppService: ', $e->getMessage(), PHP_EOL;
4208}
4209?></code></pre>
tragait5e9676e2021-01-14 16:07:07 +00004210 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304211
tragait5e9676e2021-01-14 16:07:07 +00004212 <div class="tab-pane" id="examples-Onap3gppServiceInstances-activate3gppService-0-perl">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304213 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
4214use WWW::SwaggerClient::Configuration;
4215use WWW::SwaggerClient::Onap3gppServiceInstancesApi;
4216
4217my $api_instance = WWW::SwaggerClient::Onap3gppServiceInstancesApi->new();
tragait5e9676e2021-01-14 16:07:07 +00004218my $body = WWW::SwaggerClient::Object::3gppServiceActivation->new(); # 3gppServiceActivation |
4219my $version = version_example; # String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304220
tragait5e9676e2021-01-14 16:07:07 +00004221eval {
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304222 my $result = $api_instance->activate3gppService(body => $body, version => $version);
4223 print Dumper($result);
4224};
4225if ($@) {
4226 warn "Exception when calling Onap3gppServiceInstancesApi->activate3gppService: $@\n";
4227}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00004228 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304229
tragait5e9676e2021-01-14 16:07:07 +00004230 <div class="tab-pane" id="examples-Onap3gppServiceInstances-activate3gppService-0-python">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304231 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
4232import time
4233import swagger_client
4234from swagger_client.rest import ApiException
4235from pprint import pprint
4236
4237# create an instance of the API class
4238api_instance = swagger_client.Onap3gppServiceInstancesApi()
tragait5e9676e2021-01-14 16:07:07 +00004239body = # 3gppServiceActivation |
4240version = version_example # String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304241
tragait5e9676e2021-01-14 16:07:07 +00004242try:
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304243 # Activate a 3GPP Service Instance on a version provided
4244 api_response = api_instance.activate3gpp_service(body, version)
4245 pprint(api_response)
4246except ApiException as e:
4247 print("Exception when calling Onap3gppServiceInstancesApi->activate3gppService: %s\n" % e)</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00004248 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304249 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304250
tragait5e9676e2021-01-14 16:07:07 +00004251 <h2>Parameters</h2>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304252
4253 <div class="methodsubtabletitle">Path parameters</div>
4254 <table id="methodsubtable">
4255 <tr>
tragait5e9676e2021-01-14 16:07:07 +00004256 <th width="150px">Name</th>
4257 <th>Description</th>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304258 </tr>
tragait5e9676e2021-01-14 16:07:07 +00004259 <tr><td style="width:150px;">version*</td>
4260 <td>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304261
4262
tragait5e9676e2021-01-14 16:07:07 +00004263 <div id="d2e199_activate3gppService_version">
4264 <div class="json-schema-view">
4265 <div class="primitive">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304266 <span class="type">
4267 String
4268 </span>
4269
tragait5e9676e2021-01-14 16:07:07 +00004270 </div>
4271 <div class="inner required">
4272 Required
4273 </div>
4274 </div>
4275 </div>
4276 </td>
4277 </tr>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304278
4279 </table>
4280
4281
4282 <div class="methodsubtabletitle">Body parameters</div>
4283 <table id="methodsubtable">
tragait5e9676e2021-01-14 16:07:07 +00004284 <tr>
4285 <th width="150px">Name</th>
4286 <th>Description</th>
4287 </tr>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304288 <tr><td style="width:150px;">body <span style="color:red;">*</span></td>
tragait5e9676e2021-01-14 16:07:07 +00004289 <td>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304290
4291
tragait5e9676e2021-01-14 16:07:07 +00004292 <script>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304293$(document).ready(function() {
4294 var schemaWrapper = {
4295 "in" : "body",
4296 "name" : "body",
4297 "required" : true,
4298 "schema" : {
4299 "$ref" : "#/definitions/3gppServiceActivation"
4300 }
4301};
4302 var schema = schemaWrapper.schema;
4303 if (schema.$ref != null) {
4304 schema = defsParser.$refs.get(schema.$ref);
4305 } else {
4306 schemaWrapper.definitions = Object.assign({}, defs);
4307 $RefParser.dereference(schemaWrapper).catch(function(err) {
4308 console.log(err);
4309 });
4310 }
4311
4312 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
4313 var result = $('#d2e199_activate3gppService_body');
4314 result.empty();
4315 result.append(view.render());
4316});
4317</script>
tragait5e9676e2021-01-14 16:07:07 +00004318 <div id="d2e199_activate3gppService_body"></div>
4319 </td>
4320 </tr>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304321
4322 </table>
4323
4324
4325
tragait5e9676e2021-01-14 16:07:07 +00004326 <h2>Responses</h2>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304327 <h3> Status: default - successful operation </h3>
4328
4329 <ul class="nav nav-tabs nav-tabs-examples" >
4330 <li class="active">
tragait5e9676e2021-01-14 16:07:07 +00004331 <a data-toggle="tab" href="#responses-activate3gppService-default-schema">Schema</a>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304332 </li>
4333
4334 </ul>
4335
4336 <div class="tab-content" style='margin-bottom: 10px;'>
4337 <div class="tab-pane active" id="responses-activate3gppService-default-schema">
tragait5e9676e2021-01-14 16:07:07 +00004338 <div id='responses-activate3gppService-default-schema-default' style="padding: 30px; border-left: 1px solid #eee; border-right: 1px solid #eee; border-bottom: 1px solid #eee;">
4339 <script>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304340 $(document).ready(function() {
4341 var schemaWrapper = {
4342 "description" : "successful operation",
4343 "schema" : {
4344 "$ref" : "#/definitions/3gppServiceResponse"
4345 }
4346};
4347 var schema = schemaWrapper.schema;
4348 if (schema.$ref != null) {
4349 schema = defsParser.$refs.get(schema.$ref);
4350 } else {
4351 schemaWrapper.definitions = defs;
4352 $RefParser.dereference(schemaWrapper).catch(function(err) {
4353 console.log(err);
4354 });
4355 }
4356
4357 //console.log(JSON.stringify(schema));
4358 var view = new JSONSchemaView(schema, 3);
4359 $('#responses-activate3gppService-default-schema-data').val(stringify(schema));
4360 var result = $('#responses-activate3gppService-default-schema-default');
4361 result.empty();
4362 result.append(view.render());
4363 });
4364 </script>
tragait5e9676e2021-01-14 16:07:07 +00004365 </div>
4366 <input id='responses-activate3gppService-default-schema-data' type='hidden' value=''></input>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304367 </div>
4368 </div>
4369
4370 </article>
tragait5e9676e2021-01-14 16:07:07 +00004371 </div>
4372 <hr>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304373 <div id="api-Onap3gppServiceInstances-allocate3gppService">
tragait5e9676e2021-01-14 16:07:07 +00004374 <article id="api-Onap3gppServiceInstances-allocate3gppService-0" data-group="User" data-name="allocate3gppService" data-version="0">
4375 <div class="pull-left">
4376 <h1>allocate3gppService</h1>
4377 <p>Create a 3GPP Service Instance on a version provided</p>
4378 </div>
4379 <div class="pull-right"></div>
4380 <div class="clearfix"></div>
4381 <p></p>
4382 <p class="marked"></p>
4383 <p></p>
4384 <br />
4385 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/3gppservices/{version}/allocate</span></code></pre>
4386 <p>
4387 <h3>Usage and SDK Samples</h3>
4388 </p>
4389 <ul class="nav nav-tabs nav-tabs-examples">
4390 <li class="active"><a href="#examples-Onap3gppServiceInstances-allocate3gppService-0-curl">Curl</a></li>
4391 <li class=""><a href="#examples-Onap3gppServiceInstances-allocate3gppService-0-java">Java</a></li>
4392 <li class=""><a href="#examples-Onap3gppServiceInstances-allocate3gppService-0-android">Android</a></li>
4393 <!--<li class=""><a href="#examples-Onap3gppServiceInstances-allocate3gppService-0-groovy">Groovy</a></li>-->
4394 <li class=""><a href="#examples-Onap3gppServiceInstances-allocate3gppService-0-objc">Obj-C</a></li>
4395 <li class=""><a href="#examples-Onap3gppServiceInstances-allocate3gppService-0-javascript">JavaScript</a></li>
4396 <!--<li class=""><a href="#examples-Onap3gppServiceInstances-allocate3gppService-0-angular">Angular</a></li>-->
4397 <li class=""><a href="#examples-Onap3gppServiceInstances-allocate3gppService-0-csharp">C#</a></li>
4398 <li class=""><a href="#examples-Onap3gppServiceInstances-allocate3gppService-0-php">PHP</a></li>
4399 <li class=""><a href="#examples-Onap3gppServiceInstances-allocate3gppService-0-perl">Perl</a></li>
4400 <li class=""><a href="#examples-Onap3gppServiceInstances-allocate3gppService-0-python">Python</a></li>
4401 </ul>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304402
tragait5e9676e2021-01-14 16:07:07 +00004403 <div class="tab-content">
4404 <div class="tab-pane active" id="examples-Onap3gppServiceInstances-allocate3gppService-0-curl">
4405 <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/3gppservices/{version}/allocate"</code></pre>
4406 </div>
4407 <div class="tab-pane" id="examples-Onap3gppServiceInstances-allocate3gppService-0-java">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304408 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
4409import io.swagger.client.auth.*;
4410import io.swagger.client.model.*;
4411import io.swagger.client.api.Onap3gppServiceInstancesApi;
4412
4413import java.io.File;
4414import java.util.*;
4415
4416public class Onap3gppServiceInstancesApiExample {
4417
4418 public static void main(String[] args) {
tragait5e9676e2021-01-14 16:07:07 +00004419
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304420 Onap3gppServiceInstancesApi apiInstance = new Onap3gppServiceInstancesApi();
tragait5e9676e2021-01-14 16:07:07 +00004421 Allocate3gppService body = ; // Allocate3gppService |
4422 String version = version_example; // String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304423 try {
4424 3gppServiceResponse result = apiInstance.allocate3gppService(body, version);
4425 System.out.println(result);
4426 } catch (ApiException e) {
4427 System.err.println("Exception when calling Onap3gppServiceInstancesApi#allocate3gppService");
4428 e.printStackTrace();
4429 }
4430 }
4431}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00004432 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304433
tragait5e9676e2021-01-14 16:07:07 +00004434 <div class="tab-pane" id="examples-Onap3gppServiceInstances-allocate3gppService-0-android">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304435 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.Onap3gppServiceInstancesApi;
4436
4437public class Onap3gppServiceInstancesApiExample {
4438
4439 public static void main(String[] args) {
4440 Onap3gppServiceInstancesApi apiInstance = new Onap3gppServiceInstancesApi();
tragait5e9676e2021-01-14 16:07:07 +00004441 Allocate3gppService body = ; // Allocate3gppService |
4442 String version = version_example; // String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304443 try {
4444 3gppServiceResponse result = apiInstance.allocate3gppService(body, version);
4445 System.out.println(result);
4446 } catch (ApiException e) {
4447 System.err.println("Exception when calling Onap3gppServiceInstancesApi#allocate3gppService");
4448 e.printStackTrace();
4449 }
4450 }
4451}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00004452 </div>
4453 <!--
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304454 <div class="tab-pane" id="examples-Onap3gppServiceInstances-allocate3gppService-0-groovy">
4455 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
4456 </div> -->
tragait5e9676e2021-01-14 16:07:07 +00004457 <div class="tab-pane" id="examples-Onap3gppServiceInstances-allocate3gppService-0-objc">
4458 <pre class="prettyprint"><code class="language-cpp">Allocate3gppService *body = ; //
4459String *version = version_example; //
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304460
4461Onap3gppServiceInstancesApi *apiInstance = [[Onap3gppServiceInstancesApi alloc] init];
4462
4463// Create a 3GPP Service Instance on a version provided
4464[apiInstance allocate3gppServiceWith:body
4465 version:version
4466 completionHandler: ^(3gppServiceResponse output, NSError* error) {
4467 if (output) {
4468 NSLog(@"%@", output);
4469 }
4470 if (error) {
4471 NSLog(@"Error: %@", error);
4472 }
4473 }];
4474</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00004475 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304476
tragait5e9676e2021-01-14 16:07:07 +00004477 <div class="tab-pane" id="examples-Onap3gppServiceInstances-allocate3gppService-0-javascript">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304478 <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is');
4479
4480var api = new SoGuilinApIs.Onap3gppServiceInstancesApi()
4481
tragait5e9676e2021-01-14 16:07:07 +00004482var body = ; // {Allocate3gppService}
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304483
tragait5e9676e2021-01-14 16:07:07 +00004484var version = version_example; // {String}
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304485
4486
4487var callback = function(error, data, response) {
4488 if (error) {
4489 console.error(error);
4490 } else {
4491 console.log('API called successfully. Returned data: ' + data);
4492 }
4493};
4494api.allocate3gppService(body, version, callback);
4495</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00004496 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304497
tragait5e9676e2021-01-14 16:07:07 +00004498 <!--<div class="tab-pane" id="examples-Onap3gppServiceInstances-allocate3gppService-0-angular">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304499 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
4500 </div>-->
tragait5e9676e2021-01-14 16:07:07 +00004501 <div class="tab-pane" id="examples-Onap3gppServiceInstances-allocate3gppService-0-csharp">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304502 <pre class="prettyprint"><code class="language-cs">using System;
4503using System.Diagnostics;
4504using IO.Swagger.Api;
4505using IO.Swagger.Client;
4506using IO.Swagger.Model;
4507
4508namespace Example
4509{
4510 public class allocate3gppServiceExample
4511 {
4512 public void main()
4513 {
tragait5e9676e2021-01-14 16:07:07 +00004514
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304515 var apiInstance = new Onap3gppServiceInstancesApi();
tragait5e9676e2021-01-14 16:07:07 +00004516 var body = new Allocate3gppService(); // Allocate3gppService |
4517 var version = version_example; // String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304518
4519 try
4520 {
4521 // Create a 3GPP Service Instance on a version provided
4522 3gppServiceResponse result = apiInstance.allocate3gppService(body, version);
4523 Debug.WriteLine(result);
4524 }
4525 catch (Exception e)
4526 {
4527 Debug.Print("Exception when calling Onap3gppServiceInstancesApi.allocate3gppService: " + e.Message );
4528 }
4529 }
4530 }
4531}
4532</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00004533 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304534
tragait5e9676e2021-01-14 16:07:07 +00004535 <div class="tab-pane" id="examples-Onap3gppServiceInstances-allocate3gppService-0-php">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304536 <pre class="prettyprint"><code class="language-php"><&#63;php
4537require_once(__DIR__ . '/vendor/autoload.php');
4538
4539$api_instance = new Swagger\Client\Api\Onap3gppServiceInstancesApi();
tragait5e9676e2021-01-14 16:07:07 +00004540$body = ; // Allocate3gppService |
4541$version = version_example; // String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304542
4543try {
4544 $result = $api_instance->allocate3gppService($body, $version);
4545 print_r($result);
4546} catch (Exception $e) {
4547 echo 'Exception when calling Onap3gppServiceInstancesApi->allocate3gppService: ', $e->getMessage(), PHP_EOL;
4548}
4549?></code></pre>
tragait5e9676e2021-01-14 16:07:07 +00004550 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304551
tragait5e9676e2021-01-14 16:07:07 +00004552 <div class="tab-pane" id="examples-Onap3gppServiceInstances-allocate3gppService-0-perl">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304553 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
4554use WWW::SwaggerClient::Configuration;
4555use WWW::SwaggerClient::Onap3gppServiceInstancesApi;
4556
4557my $api_instance = WWW::SwaggerClient::Onap3gppServiceInstancesApi->new();
tragait5e9676e2021-01-14 16:07:07 +00004558my $body = WWW::SwaggerClient::Object::Allocate3gppService->new(); # Allocate3gppService |
4559my $version = version_example; # String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304560
tragait5e9676e2021-01-14 16:07:07 +00004561eval {
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304562 my $result = $api_instance->allocate3gppService(body => $body, version => $version);
4563 print Dumper($result);
4564};
4565if ($@) {
4566 warn "Exception when calling Onap3gppServiceInstancesApi->allocate3gppService: $@\n";
4567}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00004568 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304569
tragait5e9676e2021-01-14 16:07:07 +00004570 <div class="tab-pane" id="examples-Onap3gppServiceInstances-allocate3gppService-0-python">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304571 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
4572import time
4573import swagger_client
4574from swagger_client.rest import ApiException
4575from pprint import pprint
4576
4577# create an instance of the API class
4578api_instance = swagger_client.Onap3gppServiceInstancesApi()
tragait5e9676e2021-01-14 16:07:07 +00004579body = # Allocate3gppService |
4580version = version_example # String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304581
tragait5e9676e2021-01-14 16:07:07 +00004582try:
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304583 # Create a 3GPP Service Instance on a version provided
4584 api_response = api_instance.allocate3gpp_service(body, version)
4585 pprint(api_response)
4586except ApiException as e:
4587 print("Exception when calling Onap3gppServiceInstancesApi->allocate3gppService: %s\n" % e)</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00004588 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304589 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304590
tragait5e9676e2021-01-14 16:07:07 +00004591 <h2>Parameters</h2>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304592
4593 <div class="methodsubtabletitle">Path parameters</div>
4594 <table id="methodsubtable">
4595 <tr>
tragait5e9676e2021-01-14 16:07:07 +00004596 <th width="150px">Name</th>
4597 <th>Description</th>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304598 </tr>
tragait5e9676e2021-01-14 16:07:07 +00004599 <tr><td style="width:150px;">version*</td>
4600 <td>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304601
4602
tragait5e9676e2021-01-14 16:07:07 +00004603 <div id="d2e199_allocate3gppService_version">
4604 <div class="json-schema-view">
4605 <div class="primitive">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304606 <span class="type">
4607 String
4608 </span>
4609
tragait5e9676e2021-01-14 16:07:07 +00004610 </div>
4611 <div class="inner required">
4612 Required
4613 </div>
4614 </div>
4615 </div>
4616 </td>
4617 </tr>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304618
4619 </table>
4620
4621
4622 <div class="methodsubtabletitle">Body parameters</div>
4623 <table id="methodsubtable">
tragait5e9676e2021-01-14 16:07:07 +00004624 <tr>
4625 <th width="150px">Name</th>
4626 <th>Description</th>
4627 </tr>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304628 <tr><td style="width:150px;">body <span style="color:red;">*</span></td>
tragait5e9676e2021-01-14 16:07:07 +00004629 <td>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304630
4631
tragait5e9676e2021-01-14 16:07:07 +00004632 <script>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304633$(document).ready(function() {
4634 var schemaWrapper = {
4635 "in" : "body",
4636 "name" : "body",
4637 "required" : true,
4638 "schema" : {
4639 "$ref" : "#/definitions/Allocate3gppService"
4640 }
4641};
4642 var schema = schemaWrapper.schema;
4643 if (schema.$ref != null) {
4644 schema = defsParser.$refs.get(schema.$ref);
4645 } else {
4646 schemaWrapper.definitions = Object.assign({}, defs);
4647 $RefParser.dereference(schemaWrapper).catch(function(err) {
4648 console.log(err);
4649 });
4650 }
4651
4652 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
4653 var result = $('#d2e199_allocate3gppService_body');
4654 result.empty();
4655 result.append(view.render());
4656});
4657</script>
tragait5e9676e2021-01-14 16:07:07 +00004658 <div id="d2e199_allocate3gppService_body"></div>
4659 </td>
4660 </tr>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304661
4662 </table>
4663
4664
4665
tragait5e9676e2021-01-14 16:07:07 +00004666 <h2>Responses</h2>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304667 <h3> Status: default - successful operation </h3>
4668
4669 <ul class="nav nav-tabs nav-tabs-examples" >
4670 <li class="active">
tragait5e9676e2021-01-14 16:07:07 +00004671 <a data-toggle="tab" href="#responses-allocate3gppService-default-schema">Schema</a>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304672 </li>
4673
4674 </ul>
4675
4676 <div class="tab-content" style='margin-bottom: 10px;'>
4677 <div class="tab-pane active" id="responses-allocate3gppService-default-schema">
tragait5e9676e2021-01-14 16:07:07 +00004678 <div id='responses-allocate3gppService-default-schema-default' style="padding: 30px; border-left: 1px solid #eee; border-right: 1px solid #eee; border-bottom: 1px solid #eee;">
4679 <script>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304680 $(document).ready(function() {
4681 var schemaWrapper = {
4682 "description" : "successful operation",
4683 "schema" : {
4684 "$ref" : "#/definitions/3gppServiceResponse"
4685 }
4686};
4687 var schema = schemaWrapper.schema;
4688 if (schema.$ref != null) {
4689 schema = defsParser.$refs.get(schema.$ref);
4690 } else {
4691 schemaWrapper.definitions = defs;
4692 $RefParser.dereference(schemaWrapper).catch(function(err) {
4693 console.log(err);
4694 });
4695 }
4696
4697 //console.log(JSON.stringify(schema));
4698 var view = new JSONSchemaView(schema, 3);
4699 $('#responses-allocate3gppService-default-schema-data').val(stringify(schema));
4700 var result = $('#responses-allocate3gppService-default-schema-default');
4701 result.empty();
4702 result.append(view.render());
4703 });
4704 </script>
tragait5e9676e2021-01-14 16:07:07 +00004705 </div>
4706 <input id='responses-allocate3gppService-default-schema-data' type='hidden' value=''></input>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304707 </div>
4708 </div>
4709
4710 </article>
tragait5e9676e2021-01-14 16:07:07 +00004711 </div>
4712 <hr>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304713 <div id="api-Onap3gppServiceInstances-deactivate3gppService">
tragait5e9676e2021-01-14 16:07:07 +00004714 <article id="api-Onap3gppServiceInstances-deactivate3gppService-0" data-group="User" data-name="deactivate3gppService" data-version="0">
4715 <div class="pull-left">
4716 <h1>deactivate3gppService</h1>
4717 <p>Deactivate a 3GPP Service Instance on a version provided</p>
4718 </div>
4719 <div class="pull-right"></div>
4720 <div class="clearfix"></div>
4721 <p></p>
4722 <p class="marked"></p>
4723 <p></p>
4724 <br />
4725 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/3gppservices/{version}/deActivate</span></code></pre>
4726 <p>
4727 <h3>Usage and SDK Samples</h3>
4728 </p>
4729 <ul class="nav nav-tabs nav-tabs-examples">
4730 <li class="active"><a href="#examples-Onap3gppServiceInstances-deactivate3gppService-0-curl">Curl</a></li>
4731 <li class=""><a href="#examples-Onap3gppServiceInstances-deactivate3gppService-0-java">Java</a></li>
4732 <li class=""><a href="#examples-Onap3gppServiceInstances-deactivate3gppService-0-android">Android</a></li>
4733 <!--<li class=""><a href="#examples-Onap3gppServiceInstances-deactivate3gppService-0-groovy">Groovy</a></li>-->
4734 <li class=""><a href="#examples-Onap3gppServiceInstances-deactivate3gppService-0-objc">Obj-C</a></li>
4735 <li class=""><a href="#examples-Onap3gppServiceInstances-deactivate3gppService-0-javascript">JavaScript</a></li>
4736 <!--<li class=""><a href="#examples-Onap3gppServiceInstances-deactivate3gppService-0-angular">Angular</a></li>-->
4737 <li class=""><a href="#examples-Onap3gppServiceInstances-deactivate3gppService-0-csharp">C#</a></li>
4738 <li class=""><a href="#examples-Onap3gppServiceInstances-deactivate3gppService-0-php">PHP</a></li>
4739 <li class=""><a href="#examples-Onap3gppServiceInstances-deactivate3gppService-0-perl">Perl</a></li>
4740 <li class=""><a href="#examples-Onap3gppServiceInstances-deactivate3gppService-0-python">Python</a></li>
4741 </ul>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304742
tragait5e9676e2021-01-14 16:07:07 +00004743 <div class="tab-content">
4744 <div class="tab-pane active" id="examples-Onap3gppServiceInstances-deactivate3gppService-0-curl">
4745 <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/3gppservices/{version}/deActivate"</code></pre>
4746 </div>
4747 <div class="tab-pane" id="examples-Onap3gppServiceInstances-deactivate3gppService-0-java">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304748 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
4749import io.swagger.client.auth.*;
4750import io.swagger.client.model.*;
4751import io.swagger.client.api.Onap3gppServiceInstancesApi;
4752
4753import java.io.File;
4754import java.util.*;
4755
4756public class Onap3gppServiceInstancesApiExample {
4757
4758 public static void main(String[] args) {
tragait5e9676e2021-01-14 16:07:07 +00004759
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304760 Onap3gppServiceInstancesApi apiInstance = new Onap3gppServiceInstancesApi();
tragait5e9676e2021-01-14 16:07:07 +00004761 3gppServiceActivation body = ; // 3gppServiceActivation |
4762 String version = version_example; // String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304763 try {
4764 3gppServiceResponse result = apiInstance.deactivate3gppService(body, version);
4765 System.out.println(result);
4766 } catch (ApiException e) {
4767 System.err.println("Exception when calling Onap3gppServiceInstancesApi#deactivate3gppService");
4768 e.printStackTrace();
4769 }
4770 }
4771}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00004772 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304773
tragait5e9676e2021-01-14 16:07:07 +00004774 <div class="tab-pane" id="examples-Onap3gppServiceInstances-deactivate3gppService-0-android">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304775 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.Onap3gppServiceInstancesApi;
4776
4777public class Onap3gppServiceInstancesApiExample {
4778
4779 public static void main(String[] args) {
4780 Onap3gppServiceInstancesApi apiInstance = new Onap3gppServiceInstancesApi();
tragait5e9676e2021-01-14 16:07:07 +00004781 3gppServiceActivation body = ; // 3gppServiceActivation |
4782 String version = version_example; // String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304783 try {
4784 3gppServiceResponse result = apiInstance.deactivate3gppService(body, version);
4785 System.out.println(result);
4786 } catch (ApiException e) {
4787 System.err.println("Exception when calling Onap3gppServiceInstancesApi#deactivate3gppService");
4788 e.printStackTrace();
4789 }
4790 }
4791}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00004792 </div>
4793 <!--
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304794 <div class="tab-pane" id="examples-Onap3gppServiceInstances-deactivate3gppService-0-groovy">
4795 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
4796 </div> -->
tragait5e9676e2021-01-14 16:07:07 +00004797 <div class="tab-pane" id="examples-Onap3gppServiceInstances-deactivate3gppService-0-objc">
4798 <pre class="prettyprint"><code class="language-cpp">3gppServiceActivation *body = ; //
4799String *version = version_example; //
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304800
4801Onap3gppServiceInstancesApi *apiInstance = [[Onap3gppServiceInstancesApi alloc] init];
4802
4803// Deactivate a 3GPP Service Instance on a version provided
4804[apiInstance deactivate3gppServiceWith:body
4805 version:version
4806 completionHandler: ^(3gppServiceResponse output, NSError* error) {
4807 if (output) {
4808 NSLog(@"%@", output);
4809 }
4810 if (error) {
4811 NSLog(@"Error: %@", error);
4812 }
4813 }];
4814</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00004815 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304816
tragait5e9676e2021-01-14 16:07:07 +00004817 <div class="tab-pane" id="examples-Onap3gppServiceInstances-deactivate3gppService-0-javascript">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304818 <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is');
4819
4820var api = new SoGuilinApIs.Onap3gppServiceInstancesApi()
4821
tragait5e9676e2021-01-14 16:07:07 +00004822var body = ; // {3gppServiceActivation}
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304823
tragait5e9676e2021-01-14 16:07:07 +00004824var version = version_example; // {String}
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304825
4826
4827var callback = function(error, data, response) {
4828 if (error) {
4829 console.error(error);
4830 } else {
4831 console.log('API called successfully. Returned data: ' + data);
4832 }
4833};
4834api.deactivate3gppService(body, version, callback);
4835</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00004836 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304837
tragait5e9676e2021-01-14 16:07:07 +00004838 <!--<div class="tab-pane" id="examples-Onap3gppServiceInstances-deactivate3gppService-0-angular">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304839 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
4840 </div>-->
tragait5e9676e2021-01-14 16:07:07 +00004841 <div class="tab-pane" id="examples-Onap3gppServiceInstances-deactivate3gppService-0-csharp">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304842 <pre class="prettyprint"><code class="language-cs">using System;
4843using System.Diagnostics;
4844using IO.Swagger.Api;
4845using IO.Swagger.Client;
4846using IO.Swagger.Model;
4847
4848namespace Example
4849{
4850 public class deactivate3gppServiceExample
4851 {
4852 public void main()
4853 {
tragait5e9676e2021-01-14 16:07:07 +00004854
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304855 var apiInstance = new Onap3gppServiceInstancesApi();
tragait5e9676e2021-01-14 16:07:07 +00004856 var body = new 3gppServiceActivation(); // 3gppServiceActivation |
4857 var version = version_example; // String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304858
4859 try
4860 {
4861 // Deactivate a 3GPP Service Instance on a version provided
4862 3gppServiceResponse result = apiInstance.deactivate3gppService(body, version);
4863 Debug.WriteLine(result);
4864 }
4865 catch (Exception e)
4866 {
4867 Debug.Print("Exception when calling Onap3gppServiceInstancesApi.deactivate3gppService: " + e.Message );
4868 }
4869 }
4870 }
4871}
4872</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00004873 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304874
tragait5e9676e2021-01-14 16:07:07 +00004875 <div class="tab-pane" id="examples-Onap3gppServiceInstances-deactivate3gppService-0-php">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304876 <pre class="prettyprint"><code class="language-php"><&#63;php
4877require_once(__DIR__ . '/vendor/autoload.php');
4878
4879$api_instance = new Swagger\Client\Api\Onap3gppServiceInstancesApi();
tragait5e9676e2021-01-14 16:07:07 +00004880$body = ; // 3gppServiceActivation |
4881$version = version_example; // String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304882
4883try {
4884 $result = $api_instance->deactivate3gppService($body, $version);
4885 print_r($result);
4886} catch (Exception $e) {
4887 echo 'Exception when calling Onap3gppServiceInstancesApi->deactivate3gppService: ', $e->getMessage(), PHP_EOL;
4888}
4889?></code></pre>
tragait5e9676e2021-01-14 16:07:07 +00004890 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304891
tragait5e9676e2021-01-14 16:07:07 +00004892 <div class="tab-pane" id="examples-Onap3gppServiceInstances-deactivate3gppService-0-perl">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304893 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
4894use WWW::SwaggerClient::Configuration;
4895use WWW::SwaggerClient::Onap3gppServiceInstancesApi;
4896
4897my $api_instance = WWW::SwaggerClient::Onap3gppServiceInstancesApi->new();
tragait5e9676e2021-01-14 16:07:07 +00004898my $body = WWW::SwaggerClient::Object::3gppServiceActivation->new(); # 3gppServiceActivation |
4899my $version = version_example; # String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304900
tragait5e9676e2021-01-14 16:07:07 +00004901eval {
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304902 my $result = $api_instance->deactivate3gppService(body => $body, version => $version);
4903 print Dumper($result);
4904};
4905if ($@) {
4906 warn "Exception when calling Onap3gppServiceInstancesApi->deactivate3gppService: $@\n";
4907}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00004908 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304909
tragait5e9676e2021-01-14 16:07:07 +00004910 <div class="tab-pane" id="examples-Onap3gppServiceInstances-deactivate3gppService-0-python">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304911 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
4912import time
4913import swagger_client
4914from swagger_client.rest import ApiException
4915from pprint import pprint
4916
4917# create an instance of the API class
4918api_instance = swagger_client.Onap3gppServiceInstancesApi()
tragait5e9676e2021-01-14 16:07:07 +00004919body = # 3gppServiceActivation |
4920version = version_example # String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304921
tragait5e9676e2021-01-14 16:07:07 +00004922try:
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304923 # Deactivate a 3GPP Service Instance on a version provided
4924 api_response = api_instance.deactivate3gpp_service(body, version)
4925 pprint(api_response)
4926except ApiException as e:
4927 print("Exception when calling Onap3gppServiceInstancesApi->deactivate3gppService: %s\n" % e)</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00004928 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304929 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304930
tragait5e9676e2021-01-14 16:07:07 +00004931 <h2>Parameters</h2>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304932
4933 <div class="methodsubtabletitle">Path parameters</div>
4934 <table id="methodsubtable">
4935 <tr>
tragait5e9676e2021-01-14 16:07:07 +00004936 <th width="150px">Name</th>
4937 <th>Description</th>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304938 </tr>
tragait5e9676e2021-01-14 16:07:07 +00004939 <tr><td style="width:150px;">version*</td>
4940 <td>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304941
4942
tragait5e9676e2021-01-14 16:07:07 +00004943 <div id="d2e199_deactivate3gppService_version">
4944 <div class="json-schema-view">
4945 <div class="primitive">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304946 <span class="type">
4947 String
4948 </span>
4949
tragait5e9676e2021-01-14 16:07:07 +00004950 </div>
4951 <div class="inner required">
4952 Required
4953 </div>
4954 </div>
4955 </div>
4956 </td>
4957 </tr>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304958
4959 </table>
4960
4961
4962 <div class="methodsubtabletitle">Body parameters</div>
4963 <table id="methodsubtable">
tragait5e9676e2021-01-14 16:07:07 +00004964 <tr>
4965 <th width="150px">Name</th>
4966 <th>Description</th>
4967 </tr>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304968 <tr><td style="width:150px;">body <span style="color:red;">*</span></td>
tragait5e9676e2021-01-14 16:07:07 +00004969 <td>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304970
4971
tragait5e9676e2021-01-14 16:07:07 +00004972 <script>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05304973$(document).ready(function() {
4974 var schemaWrapper = {
4975 "in" : "body",
4976 "name" : "body",
4977 "required" : true,
4978 "schema" : {
4979 "$ref" : "#/definitions/3gppServiceActivation"
4980 }
4981};
4982 var schema = schemaWrapper.schema;
4983 if (schema.$ref != null) {
4984 schema = defsParser.$refs.get(schema.$ref);
4985 } else {
4986 schemaWrapper.definitions = Object.assign({}, defs);
4987 $RefParser.dereference(schemaWrapper).catch(function(err) {
4988 console.log(err);
4989 });
4990 }
4991
4992 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
4993 var result = $('#d2e199_deactivate3gppService_body');
4994 result.empty();
4995 result.append(view.render());
4996});
4997</script>
tragait5e9676e2021-01-14 16:07:07 +00004998 <div id="d2e199_deactivate3gppService_body"></div>
4999 </td>
5000 </tr>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305001
5002 </table>
5003
5004
5005
tragait5e9676e2021-01-14 16:07:07 +00005006 <h2>Responses</h2>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305007 <h3> Status: default - successful operation </h3>
5008
5009 <ul class="nav nav-tabs nav-tabs-examples" >
5010 <li class="active">
tragait5e9676e2021-01-14 16:07:07 +00005011 <a data-toggle="tab" href="#responses-deactivate3gppService-default-schema">Schema</a>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305012 </li>
5013
5014 </ul>
5015
5016 <div class="tab-content" style='margin-bottom: 10px;'>
5017 <div class="tab-pane active" id="responses-deactivate3gppService-default-schema">
tragait5e9676e2021-01-14 16:07:07 +00005018 <div id='responses-deactivate3gppService-default-schema-default' style="padding: 30px; border-left: 1px solid #eee; border-right: 1px solid #eee; border-bottom: 1px solid #eee;">
5019 <script>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305020 $(document).ready(function() {
5021 var schemaWrapper = {
5022 "description" : "successful operation",
5023 "schema" : {
5024 "$ref" : "#/definitions/3gppServiceResponse"
5025 }
5026};
5027 var schema = schemaWrapper.schema;
5028 if (schema.$ref != null) {
5029 schema = defsParser.$refs.get(schema.$ref);
5030 } else {
5031 schemaWrapper.definitions = defs;
5032 $RefParser.dereference(schemaWrapper).catch(function(err) {
5033 console.log(err);
5034 });
5035 }
5036
5037 //console.log(JSON.stringify(schema));
5038 var view = new JSONSchemaView(schema, 3);
5039 $('#responses-deactivate3gppService-default-schema-data').val(stringify(schema));
5040 var result = $('#responses-deactivate3gppService-default-schema-default');
5041 result.empty();
5042 result.append(view.render());
5043 });
5044 </script>
tragait5e9676e2021-01-14 16:07:07 +00005045 </div>
5046 <input id='responses-deactivate3gppService-default-schema-data' type='hidden' value=''></input>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305047 </div>
5048 </div>
5049
5050 </article>
tragait5e9676e2021-01-14 16:07:07 +00005051 </div>
5052 <hr>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305053 <div id="api-Onap3gppServiceInstances-deallocate3gppService">
tragait5e9676e2021-01-14 16:07:07 +00005054 <article id="api-Onap3gppServiceInstances-deallocate3gppService-0" data-group="User" data-name="deallocate3gppService" data-version="0">
5055 <div class="pull-left">
5056 <h1>deallocate3gppService</h1>
5057 <p>Terminate/Deallocate a 3GPP Service Instance on a version provided</p>
5058 </div>
5059 <div class="pull-right"></div>
5060 <div class="clearfix"></div>
5061 <p></p>
5062 <p class="marked"></p>
5063 <p></p>
5064 <br />
5065 <pre class="prettyprint language-html prettyprinted" data-type="delete"><code><span class="pln">/onap/so/infra/3gppservices/{version}/deAllocate</span></code></pre>
5066 <p>
5067 <h3>Usage and SDK Samples</h3>
5068 </p>
5069 <ul class="nav nav-tabs nav-tabs-examples">
5070 <li class="active"><a href="#examples-Onap3gppServiceInstances-deallocate3gppService-0-curl">Curl</a></li>
5071 <li class=""><a href="#examples-Onap3gppServiceInstances-deallocate3gppService-0-java">Java</a></li>
5072 <li class=""><a href="#examples-Onap3gppServiceInstances-deallocate3gppService-0-android">Android</a></li>
5073 <!--<li class=""><a href="#examples-Onap3gppServiceInstances-deallocate3gppService-0-groovy">Groovy</a></li>-->
5074 <li class=""><a href="#examples-Onap3gppServiceInstances-deallocate3gppService-0-objc">Obj-C</a></li>
5075 <li class=""><a href="#examples-Onap3gppServiceInstances-deallocate3gppService-0-javascript">JavaScript</a></li>
5076 <!--<li class=""><a href="#examples-Onap3gppServiceInstances-deallocate3gppService-0-angular">Angular</a></li>-->
5077 <li class=""><a href="#examples-Onap3gppServiceInstances-deallocate3gppService-0-csharp">C#</a></li>
5078 <li class=""><a href="#examples-Onap3gppServiceInstances-deallocate3gppService-0-php">PHP</a></li>
5079 <li class=""><a href="#examples-Onap3gppServiceInstances-deallocate3gppService-0-perl">Perl</a></li>
5080 <li class=""><a href="#examples-Onap3gppServiceInstances-deallocate3gppService-0-python">Python</a></li>
5081 </ul>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305082
tragait5e9676e2021-01-14 16:07:07 +00005083 <div class="tab-content">
5084 <div class="tab-pane active" id="examples-Onap3gppServiceInstances-deallocate3gppService-0-curl">
5085 <pre class="prettyprint"><code class="language-bsh">curl -X DELETE "http://localhost/onap/so/infra/3gppservices/{version}/deAllocate"</code></pre>
5086 </div>
5087 <div class="tab-pane" id="examples-Onap3gppServiceInstances-deallocate3gppService-0-java">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305088 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
5089import io.swagger.client.auth.*;
5090import io.swagger.client.model.*;
5091import io.swagger.client.api.Onap3gppServiceInstancesApi;
5092
5093import java.io.File;
5094import java.util.*;
5095
5096public class Onap3gppServiceInstancesApiExample {
5097
5098 public static void main(String[] args) {
tragait5e9676e2021-01-14 16:07:07 +00005099
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305100 Onap3gppServiceInstancesApi apiInstance = new Onap3gppServiceInstancesApi();
tragait5e9676e2021-01-14 16:07:07 +00005101 DeAllocate3gppService body = ; // DeAllocate3gppService |
5102 String version = version_example; // String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305103 try {
5104 3gppServiceResponse result = apiInstance.deallocate3gppService(body, version);
5105 System.out.println(result);
5106 } catch (ApiException e) {
5107 System.err.println("Exception when calling Onap3gppServiceInstancesApi#deallocate3gppService");
5108 e.printStackTrace();
5109 }
5110 }
5111}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00005112 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305113
tragait5e9676e2021-01-14 16:07:07 +00005114 <div class="tab-pane" id="examples-Onap3gppServiceInstances-deallocate3gppService-0-android">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305115 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.Onap3gppServiceInstancesApi;
5116
5117public class Onap3gppServiceInstancesApiExample {
5118
5119 public static void main(String[] args) {
5120 Onap3gppServiceInstancesApi apiInstance = new Onap3gppServiceInstancesApi();
tragait5e9676e2021-01-14 16:07:07 +00005121 DeAllocate3gppService body = ; // DeAllocate3gppService |
5122 String version = version_example; // String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305123 try {
5124 3gppServiceResponse result = apiInstance.deallocate3gppService(body, version);
5125 System.out.println(result);
5126 } catch (ApiException e) {
5127 System.err.println("Exception when calling Onap3gppServiceInstancesApi#deallocate3gppService");
5128 e.printStackTrace();
5129 }
5130 }
5131}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00005132 </div>
5133 <!--
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305134 <div class="tab-pane" id="examples-Onap3gppServiceInstances-deallocate3gppService-0-groovy">
5135 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
5136 </div> -->
tragait5e9676e2021-01-14 16:07:07 +00005137 <div class="tab-pane" id="examples-Onap3gppServiceInstances-deallocate3gppService-0-objc">
5138 <pre class="prettyprint"><code class="language-cpp">DeAllocate3gppService *body = ; //
5139String *version = version_example; //
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305140
5141Onap3gppServiceInstancesApi *apiInstance = [[Onap3gppServiceInstancesApi alloc] init];
5142
5143// Terminate/Deallocate a 3GPP Service Instance on a version provided
5144[apiInstance deallocate3gppServiceWith:body
5145 version:version
5146 completionHandler: ^(3gppServiceResponse output, NSError* error) {
5147 if (output) {
5148 NSLog(@"%@", output);
5149 }
5150 if (error) {
5151 NSLog(@"Error: %@", error);
5152 }
5153 }];
5154</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00005155 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305156
tragait5e9676e2021-01-14 16:07:07 +00005157 <div class="tab-pane" id="examples-Onap3gppServiceInstances-deallocate3gppService-0-javascript">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305158 <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is');
5159
5160var api = new SoGuilinApIs.Onap3gppServiceInstancesApi()
5161
tragait5e9676e2021-01-14 16:07:07 +00005162var body = ; // {DeAllocate3gppService}
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305163
tragait5e9676e2021-01-14 16:07:07 +00005164var version = version_example; // {String}
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305165
5166
5167var callback = function(error, data, response) {
5168 if (error) {
5169 console.error(error);
5170 } else {
5171 console.log('API called successfully. Returned data: ' + data);
5172 }
5173};
5174api.deallocate3gppService(body, version, callback);
5175</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00005176 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305177
tragait5e9676e2021-01-14 16:07:07 +00005178 <!--<div class="tab-pane" id="examples-Onap3gppServiceInstances-deallocate3gppService-0-angular">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305179 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
5180 </div>-->
tragait5e9676e2021-01-14 16:07:07 +00005181 <div class="tab-pane" id="examples-Onap3gppServiceInstances-deallocate3gppService-0-csharp">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305182 <pre class="prettyprint"><code class="language-cs">using System;
5183using System.Diagnostics;
5184using IO.Swagger.Api;
5185using IO.Swagger.Client;
5186using IO.Swagger.Model;
5187
5188namespace Example
5189{
5190 public class deallocate3gppServiceExample
5191 {
5192 public void main()
5193 {
tragait5e9676e2021-01-14 16:07:07 +00005194
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305195 var apiInstance = new Onap3gppServiceInstancesApi();
tragait5e9676e2021-01-14 16:07:07 +00005196 var body = new DeAllocate3gppService(); // DeAllocate3gppService |
5197 var version = version_example; // String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305198
5199 try
5200 {
5201 // Terminate/Deallocate a 3GPP Service Instance on a version provided
5202 3gppServiceResponse result = apiInstance.deallocate3gppService(body, version);
5203 Debug.WriteLine(result);
5204 }
5205 catch (Exception e)
5206 {
5207 Debug.Print("Exception when calling Onap3gppServiceInstancesApi.deallocate3gppService: " + e.Message );
5208 }
5209 }
5210 }
5211}
5212</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00005213 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305214
tragait5e9676e2021-01-14 16:07:07 +00005215 <div class="tab-pane" id="examples-Onap3gppServiceInstances-deallocate3gppService-0-php">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305216 <pre class="prettyprint"><code class="language-php"><&#63;php
5217require_once(__DIR__ . '/vendor/autoload.php');
5218
5219$api_instance = new Swagger\Client\Api\Onap3gppServiceInstancesApi();
tragait5e9676e2021-01-14 16:07:07 +00005220$body = ; // DeAllocate3gppService |
5221$version = version_example; // String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305222
5223try {
5224 $result = $api_instance->deallocate3gppService($body, $version);
5225 print_r($result);
5226} catch (Exception $e) {
5227 echo 'Exception when calling Onap3gppServiceInstancesApi->deallocate3gppService: ', $e->getMessage(), PHP_EOL;
5228}
5229?></code></pre>
tragait5e9676e2021-01-14 16:07:07 +00005230 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305231
tragait5e9676e2021-01-14 16:07:07 +00005232 <div class="tab-pane" id="examples-Onap3gppServiceInstances-deallocate3gppService-0-perl">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305233 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
5234use WWW::SwaggerClient::Configuration;
5235use WWW::SwaggerClient::Onap3gppServiceInstancesApi;
5236
5237my $api_instance = WWW::SwaggerClient::Onap3gppServiceInstancesApi->new();
tragait5e9676e2021-01-14 16:07:07 +00005238my $body = WWW::SwaggerClient::Object::DeAllocate3gppService->new(); # DeAllocate3gppService |
5239my $version = version_example; # String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305240
tragait5e9676e2021-01-14 16:07:07 +00005241eval {
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305242 my $result = $api_instance->deallocate3gppService(body => $body, version => $version);
5243 print Dumper($result);
5244};
5245if ($@) {
5246 warn "Exception when calling Onap3gppServiceInstancesApi->deallocate3gppService: $@\n";
5247}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00005248 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305249
tragait5e9676e2021-01-14 16:07:07 +00005250 <div class="tab-pane" id="examples-Onap3gppServiceInstances-deallocate3gppService-0-python">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305251 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
5252import time
5253import swagger_client
5254from swagger_client.rest import ApiException
5255from pprint import pprint
5256
5257# create an instance of the API class
5258api_instance = swagger_client.Onap3gppServiceInstancesApi()
tragait5e9676e2021-01-14 16:07:07 +00005259body = # DeAllocate3gppService |
5260version = version_example # String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305261
tragait5e9676e2021-01-14 16:07:07 +00005262try:
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305263 # Terminate/Deallocate a 3GPP Service Instance on a version provided
5264 api_response = api_instance.deallocate3gpp_service(body, version)
5265 pprint(api_response)
5266except ApiException as e:
5267 print("Exception when calling Onap3gppServiceInstancesApi->deallocate3gppService: %s\n" % e)</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00005268 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305269 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305270
tragait5e9676e2021-01-14 16:07:07 +00005271 <h2>Parameters</h2>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305272
5273 <div class="methodsubtabletitle">Path parameters</div>
5274 <table id="methodsubtable">
5275 <tr>
tragait5e9676e2021-01-14 16:07:07 +00005276 <th width="150px">Name</th>
5277 <th>Description</th>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305278 </tr>
tragait5e9676e2021-01-14 16:07:07 +00005279 <tr><td style="width:150px;">version*</td>
5280 <td>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305281
5282
tragait5e9676e2021-01-14 16:07:07 +00005283 <div id="d2e199_deallocate3gppService_version">
5284 <div class="json-schema-view">
5285 <div class="primitive">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305286 <span class="type">
5287 String
5288 </span>
5289
tragait5e9676e2021-01-14 16:07:07 +00005290 </div>
5291 <div class="inner required">
5292 Required
5293 </div>
5294 </div>
5295 </div>
5296 </td>
5297 </tr>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305298
5299 </table>
5300
5301
5302 <div class="methodsubtabletitle">Body parameters</div>
5303 <table id="methodsubtable">
tragait5e9676e2021-01-14 16:07:07 +00005304 <tr>
5305 <th width="150px">Name</th>
5306 <th>Description</th>
5307 </tr>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305308 <tr><td style="width:150px;">body <span style="color:red;">*</span></td>
tragait5e9676e2021-01-14 16:07:07 +00005309 <td>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305310
5311
tragait5e9676e2021-01-14 16:07:07 +00005312 <script>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305313$(document).ready(function() {
5314 var schemaWrapper = {
5315 "in" : "body",
5316 "name" : "body",
5317 "required" : true,
5318 "schema" : {
5319 "$ref" : "#/definitions/DeAllocate3gppService"
5320 }
5321};
5322 var schema = schemaWrapper.schema;
5323 if (schema.$ref != null) {
5324 schema = defsParser.$refs.get(schema.$ref);
5325 } else {
5326 schemaWrapper.definitions = Object.assign({}, defs);
5327 $RefParser.dereference(schemaWrapper).catch(function(err) {
5328 console.log(err);
5329 });
5330 }
5331
5332 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
5333 var result = $('#d2e199_deallocate3gppService_body');
5334 result.empty();
5335 result.append(view.render());
5336});
5337</script>
tragait5e9676e2021-01-14 16:07:07 +00005338 <div id="d2e199_deallocate3gppService_body"></div>
5339 </td>
5340 </tr>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305341
5342 </table>
5343
5344
5345
tragait5e9676e2021-01-14 16:07:07 +00005346 <h2>Responses</h2>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305347 <h3> Status: default - successful operation </h3>
5348
5349 <ul class="nav nav-tabs nav-tabs-examples" >
5350 <li class="active">
tragait5e9676e2021-01-14 16:07:07 +00005351 <a data-toggle="tab" href="#responses-deallocate3gppService-default-schema">Schema</a>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305352 </li>
5353
5354 </ul>
5355
5356 <div class="tab-content" style='margin-bottom: 10px;'>
5357 <div class="tab-pane active" id="responses-deallocate3gppService-default-schema">
tragait5e9676e2021-01-14 16:07:07 +00005358 <div id='responses-deallocate3gppService-default-schema-default' style="padding: 30px; border-left: 1px solid #eee; border-right: 1px solid #eee; border-bottom: 1px solid #eee;">
5359 <script>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305360 $(document).ready(function() {
5361 var schemaWrapper = {
5362 "description" : "successful operation",
5363 "schema" : {
5364 "$ref" : "#/definitions/3gppServiceResponse"
5365 }
5366};
5367 var schema = schemaWrapper.schema;
5368 if (schema.$ref != null) {
5369 schema = defsParser.$refs.get(schema.$ref);
5370 } else {
5371 schemaWrapper.definitions = defs;
5372 $RefParser.dereference(schemaWrapper).catch(function(err) {
5373 console.log(err);
5374 });
5375 }
5376
5377 //console.log(JSON.stringify(schema));
5378 var view = new JSONSchemaView(schema, 3);
5379 $('#responses-deallocate3gppService-default-schema-data').val(stringify(schema));
5380 var result = $('#responses-deallocate3gppService-default-schema-default');
5381 result.empty();
5382 result.append(view.render());
5383 });
5384 </script>
tragait5e9676e2021-01-14 16:07:07 +00005385 </div>
5386 <input id='responses-deallocate3gppService-default-schema-data' type='hidden' value=''></input>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305387 </div>
5388 </div>
5389
5390 </article>
tragait5e9676e2021-01-14 16:07:07 +00005391 </div>
5392 <hr>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305393 <div id="api-Onap3gppServiceInstances-modify3gppService">
tragait5e9676e2021-01-14 16:07:07 +00005394 <article id="api-Onap3gppServiceInstances-modify3gppService-0" data-group="User" data-name="modify3gppService" data-version="0">
5395 <div class="pull-left">
5396 <h1>modify3gppService</h1>
5397 <p>Modify a 3GPP Service Instance on a version provided</p>
5398 </div>
5399 <div class="pull-right"></div>
5400 <div class="clearfix"></div>
5401 <p></p>
5402 <p class="marked"></p>
5403 <p></p>
5404 <br />
5405 <pre class="prettyprint language-html prettyprinted" data-type="put"><code><span class="pln">/onap/so/infra/3gppservices/{version}/modify</span></code></pre>
5406 <p>
5407 <h3>Usage and SDK Samples</h3>
5408 </p>
5409 <ul class="nav nav-tabs nav-tabs-examples">
5410 <li class="active"><a href="#examples-Onap3gppServiceInstances-modify3gppService-0-curl">Curl</a></li>
5411 <li class=""><a href="#examples-Onap3gppServiceInstances-modify3gppService-0-java">Java</a></li>
5412 <li class=""><a href="#examples-Onap3gppServiceInstances-modify3gppService-0-android">Android</a></li>
5413 <!--<li class=""><a href="#examples-Onap3gppServiceInstances-modify3gppService-0-groovy">Groovy</a></li>-->
5414 <li class=""><a href="#examples-Onap3gppServiceInstances-modify3gppService-0-objc">Obj-C</a></li>
5415 <li class=""><a href="#examples-Onap3gppServiceInstances-modify3gppService-0-javascript">JavaScript</a></li>
5416 <!--<li class=""><a href="#examples-Onap3gppServiceInstances-modify3gppService-0-angular">Angular</a></li>-->
5417 <li class=""><a href="#examples-Onap3gppServiceInstances-modify3gppService-0-csharp">C#</a></li>
5418 <li class=""><a href="#examples-Onap3gppServiceInstances-modify3gppService-0-php">PHP</a></li>
5419 <li class=""><a href="#examples-Onap3gppServiceInstances-modify3gppService-0-perl">Perl</a></li>
5420 <li class=""><a href="#examples-Onap3gppServiceInstances-modify3gppService-0-python">Python</a></li>
5421 </ul>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305422
tragait5e9676e2021-01-14 16:07:07 +00005423 <div class="tab-content">
5424 <div class="tab-pane active" id="examples-Onap3gppServiceInstances-modify3gppService-0-curl">
5425 <pre class="prettyprint"><code class="language-bsh">curl -X PUT "http://localhost/onap/so/infra/3gppservices/{version}/modify"</code></pre>
5426 </div>
5427 <div class="tab-pane" id="examples-Onap3gppServiceInstances-modify3gppService-0-java">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305428 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
5429import io.swagger.client.auth.*;
5430import io.swagger.client.model.*;
5431import io.swagger.client.api.Onap3gppServiceInstancesApi;
5432
5433import java.io.File;
5434import java.util.*;
5435
5436public class Onap3gppServiceInstancesApiExample {
5437
5438 public static void main(String[] args) {
tragait5e9676e2021-01-14 16:07:07 +00005439
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305440 Onap3gppServiceInstancesApi apiInstance = new Onap3gppServiceInstancesApi();
tragait5e9676e2021-01-14 16:07:07 +00005441 Modify3gppService body = ; // Modify3gppService |
5442 String version = version_example; // String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305443 try {
5444 3gppServiceResponse result = apiInstance.modify3gppService(body, version);
5445 System.out.println(result);
5446 } catch (ApiException e) {
5447 System.err.println("Exception when calling Onap3gppServiceInstancesApi#modify3gppService");
5448 e.printStackTrace();
5449 }
5450 }
5451}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00005452 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305453
tragait5e9676e2021-01-14 16:07:07 +00005454 <div class="tab-pane" id="examples-Onap3gppServiceInstances-modify3gppService-0-android">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305455 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.Onap3gppServiceInstancesApi;
5456
5457public class Onap3gppServiceInstancesApiExample {
5458
5459 public static void main(String[] args) {
5460 Onap3gppServiceInstancesApi apiInstance = new Onap3gppServiceInstancesApi();
tragait5e9676e2021-01-14 16:07:07 +00005461 Modify3gppService body = ; // Modify3gppService |
5462 String version = version_example; // String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305463 try {
5464 3gppServiceResponse result = apiInstance.modify3gppService(body, version);
5465 System.out.println(result);
5466 } catch (ApiException e) {
5467 System.err.println("Exception when calling Onap3gppServiceInstancesApi#modify3gppService");
5468 e.printStackTrace();
5469 }
5470 }
5471}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00005472 </div>
5473 <!--
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305474 <div class="tab-pane" id="examples-Onap3gppServiceInstances-modify3gppService-0-groovy">
5475 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
5476 </div> -->
tragait5e9676e2021-01-14 16:07:07 +00005477 <div class="tab-pane" id="examples-Onap3gppServiceInstances-modify3gppService-0-objc">
5478 <pre class="prettyprint"><code class="language-cpp">Modify3gppService *body = ; //
5479String *version = version_example; //
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305480
5481Onap3gppServiceInstancesApi *apiInstance = [[Onap3gppServiceInstancesApi alloc] init];
5482
5483// Modify a 3GPP Service Instance on a version provided
5484[apiInstance modify3gppServiceWith:body
5485 version:version
5486 completionHandler: ^(3gppServiceResponse output, NSError* error) {
5487 if (output) {
5488 NSLog(@"%@", output);
5489 }
5490 if (error) {
5491 NSLog(@"Error: %@", error);
5492 }
5493 }];
5494</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00005495 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305496
tragait5e9676e2021-01-14 16:07:07 +00005497 <div class="tab-pane" id="examples-Onap3gppServiceInstances-modify3gppService-0-javascript">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305498 <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is');
5499
5500var api = new SoGuilinApIs.Onap3gppServiceInstancesApi()
5501
tragait5e9676e2021-01-14 16:07:07 +00005502var body = ; // {Modify3gppService}
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305503
tragait5e9676e2021-01-14 16:07:07 +00005504var version = version_example; // {String}
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305505
5506
5507var callback = function(error, data, response) {
5508 if (error) {
5509 console.error(error);
5510 } else {
5511 console.log('API called successfully. Returned data: ' + data);
5512 }
5513};
5514api.modify3gppService(body, version, callback);
5515</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00005516 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305517
tragait5e9676e2021-01-14 16:07:07 +00005518 <!--<div class="tab-pane" id="examples-Onap3gppServiceInstances-modify3gppService-0-angular">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305519 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
5520 </div>-->
tragait5e9676e2021-01-14 16:07:07 +00005521 <div class="tab-pane" id="examples-Onap3gppServiceInstances-modify3gppService-0-csharp">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305522 <pre class="prettyprint"><code class="language-cs">using System;
5523using System.Diagnostics;
5524using IO.Swagger.Api;
5525using IO.Swagger.Client;
5526using IO.Swagger.Model;
5527
5528namespace Example
5529{
5530 public class modify3gppServiceExample
5531 {
5532 public void main()
5533 {
tragait5e9676e2021-01-14 16:07:07 +00005534
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305535 var apiInstance = new Onap3gppServiceInstancesApi();
tragait5e9676e2021-01-14 16:07:07 +00005536 var body = new Modify3gppService(); // Modify3gppService |
5537 var version = version_example; // String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305538
5539 try
5540 {
5541 // Modify a 3GPP Service Instance on a version provided
5542 3gppServiceResponse result = apiInstance.modify3gppService(body, version);
5543 Debug.WriteLine(result);
5544 }
5545 catch (Exception e)
5546 {
5547 Debug.Print("Exception when calling Onap3gppServiceInstancesApi.modify3gppService: " + e.Message );
5548 }
5549 }
5550 }
5551}
5552</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00005553 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305554
tragait5e9676e2021-01-14 16:07:07 +00005555 <div class="tab-pane" id="examples-Onap3gppServiceInstances-modify3gppService-0-php">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305556 <pre class="prettyprint"><code class="language-php"><&#63;php
5557require_once(__DIR__ . '/vendor/autoload.php');
5558
5559$api_instance = new Swagger\Client\Api\Onap3gppServiceInstancesApi();
tragait5e9676e2021-01-14 16:07:07 +00005560$body = ; // Modify3gppService |
5561$version = version_example; // String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305562
5563try {
5564 $result = $api_instance->modify3gppService($body, $version);
5565 print_r($result);
5566} catch (Exception $e) {
5567 echo 'Exception when calling Onap3gppServiceInstancesApi->modify3gppService: ', $e->getMessage(), PHP_EOL;
5568}
5569?></code></pre>
tragait5e9676e2021-01-14 16:07:07 +00005570 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305571
tragait5e9676e2021-01-14 16:07:07 +00005572 <div class="tab-pane" id="examples-Onap3gppServiceInstances-modify3gppService-0-perl">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305573 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
5574use WWW::SwaggerClient::Configuration;
5575use WWW::SwaggerClient::Onap3gppServiceInstancesApi;
5576
5577my $api_instance = WWW::SwaggerClient::Onap3gppServiceInstancesApi->new();
tragait5e9676e2021-01-14 16:07:07 +00005578my $body = WWW::SwaggerClient::Object::Modify3gppService->new(); # Modify3gppService |
5579my $version = version_example; # String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305580
tragait5e9676e2021-01-14 16:07:07 +00005581eval {
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305582 my $result = $api_instance->modify3gppService(body => $body, version => $version);
5583 print Dumper($result);
5584};
5585if ($@) {
5586 warn "Exception when calling Onap3gppServiceInstancesApi->modify3gppService: $@\n";
5587}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00005588 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305589
tragait5e9676e2021-01-14 16:07:07 +00005590 <div class="tab-pane" id="examples-Onap3gppServiceInstances-modify3gppService-0-python">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305591 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
5592import time
5593import swagger_client
5594from swagger_client.rest import ApiException
5595from pprint import pprint
5596
5597# create an instance of the API class
5598api_instance = swagger_client.Onap3gppServiceInstancesApi()
tragait5e9676e2021-01-14 16:07:07 +00005599body = # Modify3gppService |
5600version = version_example # String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305601
tragait5e9676e2021-01-14 16:07:07 +00005602try:
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305603 # Modify a 3GPP Service Instance on a version provided
5604 api_response = api_instance.modify3gpp_service(body, version)
5605 pprint(api_response)
5606except ApiException as e:
5607 print("Exception when calling Onap3gppServiceInstancesApi->modify3gppService: %s\n" % e)</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00005608 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305609 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305610
tragait5e9676e2021-01-14 16:07:07 +00005611 <h2>Parameters</h2>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305612
5613 <div class="methodsubtabletitle">Path parameters</div>
5614 <table id="methodsubtable">
5615 <tr>
tragait5e9676e2021-01-14 16:07:07 +00005616 <th width="150px">Name</th>
5617 <th>Description</th>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305618 </tr>
tragait5e9676e2021-01-14 16:07:07 +00005619 <tr><td style="width:150px;">version*</td>
5620 <td>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305621
5622
tragait5e9676e2021-01-14 16:07:07 +00005623 <div id="d2e199_modify3gppService_version">
5624 <div class="json-schema-view">
5625 <div class="primitive">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305626 <span class="type">
5627 String
5628 </span>
5629
tragait5e9676e2021-01-14 16:07:07 +00005630 </div>
5631 <div class="inner required">
5632 Required
5633 </div>
5634 </div>
5635 </div>
5636 </td>
5637 </tr>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305638
5639 </table>
5640
5641
5642 <div class="methodsubtabletitle">Body parameters</div>
5643 <table id="methodsubtable">
tragait5e9676e2021-01-14 16:07:07 +00005644 <tr>
5645 <th width="150px">Name</th>
5646 <th>Description</th>
5647 </tr>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305648 <tr><td style="width:150px;">body <span style="color:red;">*</span></td>
tragait5e9676e2021-01-14 16:07:07 +00005649 <td>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305650
5651
tragait5e9676e2021-01-14 16:07:07 +00005652 <script>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305653$(document).ready(function() {
5654 var schemaWrapper = {
5655 "in" : "body",
5656 "name" : "body",
5657 "required" : true,
5658 "schema" : {
5659 "$ref" : "#/definitions/Modify3gppService"
5660 }
5661};
5662 var schema = schemaWrapper.schema;
5663 if (schema.$ref != null) {
5664 schema = defsParser.$refs.get(schema.$ref);
5665 } else {
5666 schemaWrapper.definitions = Object.assign({}, defs);
5667 $RefParser.dereference(schemaWrapper).catch(function(err) {
5668 console.log(err);
5669 });
5670 }
5671
5672 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
5673 var result = $('#d2e199_modify3gppService_body');
5674 result.empty();
5675 result.append(view.render());
5676});
5677</script>
tragait5e9676e2021-01-14 16:07:07 +00005678 <div id="d2e199_modify3gppService_body"></div>
5679 </td>
5680 </tr>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305681
5682 </table>
5683
5684
5685
tragait5e9676e2021-01-14 16:07:07 +00005686 <h2>Responses</h2>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305687 <h3> Status: default - successful operation </h3>
5688
5689 <ul class="nav nav-tabs nav-tabs-examples" >
5690 <li class="active">
tragait5e9676e2021-01-14 16:07:07 +00005691 <a data-toggle="tab" href="#responses-modify3gppService-default-schema">Schema</a>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305692 </li>
5693
5694 </ul>
5695
5696 <div class="tab-content" style='margin-bottom: 10px;'>
5697 <div class="tab-pane active" id="responses-modify3gppService-default-schema">
tragait5e9676e2021-01-14 16:07:07 +00005698 <div id='responses-modify3gppService-default-schema-default' style="padding: 30px; border-left: 1px solid #eee; border-right: 1px solid #eee; border-bottom: 1px solid #eee;">
5699 <script>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305700 $(document).ready(function() {
5701 var schemaWrapper = {
5702 "description" : "successful operation",
5703 "schema" : {
5704 "$ref" : "#/definitions/3gppServiceResponse"
5705 }
5706};
5707 var schema = schemaWrapper.schema;
5708 if (schema.$ref != null) {
5709 schema = defsParser.$refs.get(schema.$ref);
5710 } else {
5711 schemaWrapper.definitions = defs;
5712 $RefParser.dereference(schemaWrapper).catch(function(err) {
5713 console.log(err);
5714 });
5715 }
5716
5717 //console.log(JSON.stringify(schema));
5718 var view = new JSONSchemaView(schema, 3);
5719 $('#responses-modify3gppService-default-schema-data').val(stringify(schema));
5720 var result = $('#responses-modify3gppService-default-schema-default');
5721 result.empty();
5722 result.append(view.render());
5723 });
5724 </script>
tragait5e9676e2021-01-14 16:07:07 +00005725 </div>
5726 <input id='responses-modify3gppService-default-schema-data' type='hidden' value=''></input>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305727 </div>
5728 </div>
5729
5730 </article>
tragait5e9676e2021-01-14 16:07:07 +00005731 </div>
5732 <hr>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305733 <div id="api-Onap3gppServiceInstances-querySubnetCapability">
tragait5e9676e2021-01-14 16:07:07 +00005734 <article id="api-Onap3gppServiceInstances-querySubnetCapability-0" data-group="User" data-name="querySubnetCapability" data-version="0">
5735 <div class="pull-left">
5736 <h1>querySubnetCapability</h1>
5737 <p>Provides subnet capability based on subnet types</p>
5738 </div>
5739 <div class="pull-right"></div>
5740 <div class="clearfix"></div>
5741 <p></p>
5742 <p class="marked"></p>
5743 <p></p>
5744 <br />
5745 <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/onap/so/infra/3gppservices/{version}/subnetCapabilityQuery</span></code></pre>
5746 <p>
5747 <h3>Usage and SDK Samples</h3>
5748 </p>
5749 <ul class="nav nav-tabs nav-tabs-examples">
5750 <li class="active"><a href="#examples-Onap3gppServiceInstances-querySubnetCapability-0-curl">Curl</a></li>
5751 <li class=""><a href="#examples-Onap3gppServiceInstances-querySubnetCapability-0-java">Java</a></li>
5752 <li class=""><a href="#examples-Onap3gppServiceInstances-querySubnetCapability-0-android">Android</a></li>
5753 <!--<li class=""><a href="#examples-Onap3gppServiceInstances-querySubnetCapability-0-groovy">Groovy</a></li>-->
5754 <li class=""><a href="#examples-Onap3gppServiceInstances-querySubnetCapability-0-objc">Obj-C</a></li>
5755 <li class=""><a href="#examples-Onap3gppServiceInstances-querySubnetCapability-0-javascript">JavaScript</a></li>
5756 <!--<li class=""><a href="#examples-Onap3gppServiceInstances-querySubnetCapability-0-angular">Angular</a></li>-->
5757 <li class=""><a href="#examples-Onap3gppServiceInstances-querySubnetCapability-0-csharp">C#</a></li>
5758 <li class=""><a href="#examples-Onap3gppServiceInstances-querySubnetCapability-0-php">PHP</a></li>
5759 <li class=""><a href="#examples-Onap3gppServiceInstances-querySubnetCapability-0-perl">Perl</a></li>
5760 <li class=""><a href="#examples-Onap3gppServiceInstances-querySubnetCapability-0-python">Python</a></li>
5761 </ul>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305762
tragait5e9676e2021-01-14 16:07:07 +00005763 <div class="tab-content">
5764 <div class="tab-pane active" id="examples-Onap3gppServiceInstances-querySubnetCapability-0-curl">
5765 <pre class="prettyprint"><code class="language-bsh">curl -X GET "http://localhost/onap/so/infra/3gppservices/{version}/subnetCapabilityQuery"</code></pre>
5766 </div>
5767 <div class="tab-pane" id="examples-Onap3gppServiceInstances-querySubnetCapability-0-java">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305768 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
5769import io.swagger.client.auth.*;
5770import io.swagger.client.model.*;
5771import io.swagger.client.api.Onap3gppServiceInstancesApi;
5772
5773import java.io.File;
5774import java.util.*;
5775
5776public class Onap3gppServiceInstancesApiExample {
5777
5778 public static void main(String[] args) {
tragait5e9676e2021-01-14 16:07:07 +00005779
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305780 Onap3gppServiceInstancesApi apiInstance = new Onap3gppServiceInstancesApi();
tragait5e9676e2021-01-14 16:07:07 +00005781 QuerySubnetCapability body = ; // QuerySubnetCapability |
5782 String version = version_example; // String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305783 try {
5784 Object result = apiInstance.querySubnetCapability(body, version);
5785 System.out.println(result);
5786 } catch (ApiException e) {
5787 System.err.println("Exception when calling Onap3gppServiceInstancesApi#querySubnetCapability");
5788 e.printStackTrace();
5789 }
5790 }
5791}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00005792 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305793
tragait5e9676e2021-01-14 16:07:07 +00005794 <div class="tab-pane" id="examples-Onap3gppServiceInstances-querySubnetCapability-0-android">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305795 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.Onap3gppServiceInstancesApi;
5796
5797public class Onap3gppServiceInstancesApiExample {
5798
5799 public static void main(String[] args) {
5800 Onap3gppServiceInstancesApi apiInstance = new Onap3gppServiceInstancesApi();
tragait5e9676e2021-01-14 16:07:07 +00005801 QuerySubnetCapability body = ; // QuerySubnetCapability |
5802 String version = version_example; // String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305803 try {
5804 Object result = apiInstance.querySubnetCapability(body, version);
5805 System.out.println(result);
5806 } catch (ApiException e) {
5807 System.err.println("Exception when calling Onap3gppServiceInstancesApi#querySubnetCapability");
5808 e.printStackTrace();
5809 }
5810 }
5811}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00005812 </div>
5813 <!--
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305814 <div class="tab-pane" id="examples-Onap3gppServiceInstances-querySubnetCapability-0-groovy">
5815 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
5816 </div> -->
tragait5e9676e2021-01-14 16:07:07 +00005817 <div class="tab-pane" id="examples-Onap3gppServiceInstances-querySubnetCapability-0-objc">
5818 <pre class="prettyprint"><code class="language-cpp">QuerySubnetCapability *body = ; //
5819String *version = version_example; //
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305820
5821Onap3gppServiceInstancesApi *apiInstance = [[Onap3gppServiceInstancesApi alloc] init];
5822
5823// Provides subnet capability based on subnet types
5824[apiInstance querySubnetCapabilityWith:body
5825 version:version
5826 completionHandler: ^(Object output, NSError* error) {
5827 if (output) {
5828 NSLog(@"%@", output);
5829 }
5830 if (error) {
5831 NSLog(@"Error: %@", error);
5832 }
5833 }];
5834</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00005835 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305836
tragait5e9676e2021-01-14 16:07:07 +00005837 <div class="tab-pane" id="examples-Onap3gppServiceInstances-querySubnetCapability-0-javascript">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305838 <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is');
5839
5840var api = new SoGuilinApIs.Onap3gppServiceInstancesApi()
5841
tragait5e9676e2021-01-14 16:07:07 +00005842var body = ; // {QuerySubnetCapability}
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305843
tragait5e9676e2021-01-14 16:07:07 +00005844var version = version_example; // {String}
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305845
5846
5847var callback = function(error, data, response) {
5848 if (error) {
5849 console.error(error);
5850 } else {
5851 console.log('API called successfully. Returned data: ' + data);
5852 }
5853};
5854api.querySubnetCapability(body, version, callback);
5855</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00005856 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305857
tragait5e9676e2021-01-14 16:07:07 +00005858 <!--<div class="tab-pane" id="examples-Onap3gppServiceInstances-querySubnetCapability-0-angular">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305859 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
5860 </div>-->
tragait5e9676e2021-01-14 16:07:07 +00005861 <div class="tab-pane" id="examples-Onap3gppServiceInstances-querySubnetCapability-0-csharp">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305862 <pre class="prettyprint"><code class="language-cs">using System;
5863using System.Diagnostics;
5864using IO.Swagger.Api;
5865using IO.Swagger.Client;
5866using IO.Swagger.Model;
5867
5868namespace Example
5869{
5870 public class querySubnetCapabilityExample
5871 {
5872 public void main()
5873 {
tragait5e9676e2021-01-14 16:07:07 +00005874
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305875 var apiInstance = new Onap3gppServiceInstancesApi();
tragait5e9676e2021-01-14 16:07:07 +00005876 var body = new QuerySubnetCapability(); // QuerySubnetCapability |
5877 var version = version_example; // String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305878
5879 try
5880 {
5881 // Provides subnet capability based on subnet types
5882 Object result = apiInstance.querySubnetCapability(body, version);
5883 Debug.WriteLine(result);
5884 }
5885 catch (Exception e)
5886 {
5887 Debug.Print("Exception when calling Onap3gppServiceInstancesApi.querySubnetCapability: " + e.Message );
5888 }
5889 }
5890 }
5891}
5892</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00005893 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305894
tragait5e9676e2021-01-14 16:07:07 +00005895 <div class="tab-pane" id="examples-Onap3gppServiceInstances-querySubnetCapability-0-php">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305896 <pre class="prettyprint"><code class="language-php"><&#63;php
5897require_once(__DIR__ . '/vendor/autoload.php');
5898
5899$api_instance = new Swagger\Client\Api\Onap3gppServiceInstancesApi();
tragait5e9676e2021-01-14 16:07:07 +00005900$body = ; // QuerySubnetCapability |
5901$version = version_example; // String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305902
5903try {
5904 $result = $api_instance->querySubnetCapability($body, $version);
5905 print_r($result);
5906} catch (Exception $e) {
5907 echo 'Exception when calling Onap3gppServiceInstancesApi->querySubnetCapability: ', $e->getMessage(), PHP_EOL;
5908}
5909?></code></pre>
tragait5e9676e2021-01-14 16:07:07 +00005910 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305911
tragait5e9676e2021-01-14 16:07:07 +00005912 <div class="tab-pane" id="examples-Onap3gppServiceInstances-querySubnetCapability-0-perl">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305913 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
5914use WWW::SwaggerClient::Configuration;
5915use WWW::SwaggerClient::Onap3gppServiceInstancesApi;
5916
5917my $api_instance = WWW::SwaggerClient::Onap3gppServiceInstancesApi->new();
tragait5e9676e2021-01-14 16:07:07 +00005918my $body = WWW::SwaggerClient::Object::QuerySubnetCapability->new(); # QuerySubnetCapability |
5919my $version = version_example; # String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305920
tragait5e9676e2021-01-14 16:07:07 +00005921eval {
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305922 my $result = $api_instance->querySubnetCapability(body => $body, version => $version);
5923 print Dumper($result);
5924};
5925if ($@) {
5926 warn "Exception when calling Onap3gppServiceInstancesApi->querySubnetCapability: $@\n";
5927}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00005928 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305929
tragait5e9676e2021-01-14 16:07:07 +00005930 <div class="tab-pane" id="examples-Onap3gppServiceInstances-querySubnetCapability-0-python">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305931 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
5932import time
5933import swagger_client
5934from swagger_client.rest import ApiException
5935from pprint import pprint
5936
5937# create an instance of the API class
5938api_instance = swagger_client.Onap3gppServiceInstancesApi()
tragait5e9676e2021-01-14 16:07:07 +00005939body = # QuerySubnetCapability |
5940version = version_example # String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305941
tragait5e9676e2021-01-14 16:07:07 +00005942try:
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305943 # Provides subnet capability based on subnet types
5944 api_response = api_instance.query_subnet_capability(body, version)
5945 pprint(api_response)
5946except ApiException as e:
5947 print("Exception when calling Onap3gppServiceInstancesApi->querySubnetCapability: %s\n" % e)</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00005948 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305949 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305950
tragait5e9676e2021-01-14 16:07:07 +00005951 <h2>Parameters</h2>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305952
5953 <div class="methodsubtabletitle">Path parameters</div>
5954 <table id="methodsubtable">
5955 <tr>
tragait5e9676e2021-01-14 16:07:07 +00005956 <th width="150px">Name</th>
5957 <th>Description</th>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305958 </tr>
tragait5e9676e2021-01-14 16:07:07 +00005959 <tr><td style="width:150px;">version*</td>
5960 <td>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305961
5962
tragait5e9676e2021-01-14 16:07:07 +00005963 <div id="d2e199_querySubnetCapability_version">
5964 <div class="json-schema-view">
5965 <div class="primitive">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305966 <span class="type">
5967 String
5968 </span>
5969
tragait5e9676e2021-01-14 16:07:07 +00005970 </div>
5971 <div class="inner required">
5972 Required
5973 </div>
5974 </div>
5975 </div>
5976 </td>
5977 </tr>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305978
5979 </table>
5980
5981
5982 <div class="methodsubtabletitle">Body parameters</div>
5983 <table id="methodsubtable">
tragait5e9676e2021-01-14 16:07:07 +00005984 <tr>
5985 <th width="150px">Name</th>
5986 <th>Description</th>
5987 </tr>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305988 <tr><td style="width:150px;">body <span style="color:red;">*</span></td>
tragait5e9676e2021-01-14 16:07:07 +00005989 <td>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305990
5991
tragait5e9676e2021-01-14 16:07:07 +00005992 <script>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05305993$(document).ready(function() {
5994 var schemaWrapper = {
5995 "in" : "body",
5996 "name" : "body",
5997 "required" : true,
5998 "schema" : {
5999 "$ref" : "#/definitions/QuerySubnetCapability"
6000 }
6001};
6002 var schema = schemaWrapper.schema;
6003 if (schema.$ref != null) {
6004 schema = defsParser.$refs.get(schema.$ref);
6005 } else {
6006 schemaWrapper.definitions = Object.assign({}, defs);
6007 $RefParser.dereference(schemaWrapper).catch(function(err) {
6008 console.log(err);
6009 });
6010 }
6011
6012 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
6013 var result = $('#d2e199_querySubnetCapability_body');
6014 result.empty();
6015 result.append(view.render());
6016});
6017</script>
tragait5e9676e2021-01-14 16:07:07 +00006018 <div id="d2e199_querySubnetCapability_body"></div>
6019 </td>
6020 </tr>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05306021
6022 </table>
6023
6024
6025
tragait5e9676e2021-01-14 16:07:07 +00006026 <h2>Responses</h2>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05306027 <h3> Status: default - successful operation with capabilities for the queried subnetTypes </h3>
6028
6029 <ul class="nav nav-tabs nav-tabs-examples" >
6030 <li class="active">
tragait5e9676e2021-01-14 16:07:07 +00006031 <a data-toggle="tab" href="#responses-querySubnetCapability-default-schema">Schema</a>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05306032 </li>
6033
6034 </ul>
6035
6036 <div class="tab-content" style='margin-bottom: 10px;'>
6037 <div class="tab-pane active" id="responses-querySubnetCapability-default-schema">
tragait5e9676e2021-01-14 16:07:07 +00006038 <div id='responses-querySubnetCapability-default-schema-default' style="padding: 30px; border-left: 1px solid #eee; border-right: 1px solid #eee; border-bottom: 1px solid #eee;">
6039 <script>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05306040 $(document).ready(function() {
6041 var schemaWrapper = {
6042 "description" : "successful operation with capabilities for the queried subnetTypes",
6043 "schema" : {
6044 "type" : "object"
6045 }
6046};
6047 var schema = schemaWrapper.schema;
6048 if (schema.$ref != null) {
6049 schema = defsParser.$refs.get(schema.$ref);
6050 } else {
6051 schemaWrapper.definitions = defs;
6052 $RefParser.dereference(schemaWrapper).catch(function(err) {
6053 console.log(err);
6054 });
6055 }
6056
6057 //console.log(JSON.stringify(schema));
6058 var view = new JSONSchemaView(schema, 3);
6059 $('#responses-querySubnetCapability-default-schema-data').val(stringify(schema));
6060 var result = $('#responses-querySubnetCapability-default-schema-default');
6061 result.empty();
6062 result.append(view.render());
6063 });
6064 </script>
tragait5e9676e2021-01-14 16:07:07 +00006065 </div>
6066 <input id='responses-querySubnetCapability-default-schema-data' type='hidden' value=''></input>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05306067 </div>
6068 </div>
6069
6070 </article>
tragait5e9676e2021-01-14 16:07:07 +00006071 </div>
6072 <hr>
6073 </section>
seshukmb3a332a2018-10-05 16:27:16 +08006074 <section id="api-OnapsoinfracloudResources">
tragait5e9676e2021-01-14 16:07:07 +00006075 <h1>OnapsoinfracloudResources</h1>
seshukmb3a332a2018-10-05 16:27:16 +08006076 <div id="api-OnapsoinfracloudResources-activateOperationEnvironment">
tragait5e9676e2021-01-14 16:07:07 +00006077 <article id="api-OnapsoinfracloudResources-activateOperationEnvironment-0" data-group="User" data-name="activateOperationEnvironment" data-version="0">
6078 <div class="pull-left">
6079 <h1>activateOperationEnvironment</h1>
6080 <p>Activate an Operational Environment</p>
6081 </div>
6082 <div class="pull-right"></div>
6083 <div class="clearfix"></div>
6084 <p></p>
6085 <p class="marked"></p>
6086 <p></p>
6087 <br />
6088 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/cloudResources/{version}/operationalEnvironments/{operationalEnvironmentId}/activate</span></code></pre>
6089 <p>
6090 <h3>Usage and SDK Samples</h3>
6091 </p>
6092 <ul class="nav nav-tabs nav-tabs-examples">
6093 <li class="active"><a href="#examples-OnapsoinfracloudResources-activateOperationEnvironment-0-curl">Curl</a></li>
6094 <li class=""><a href="#examples-OnapsoinfracloudResources-activateOperationEnvironment-0-java">Java</a></li>
6095 <li class=""><a href="#examples-OnapsoinfracloudResources-activateOperationEnvironment-0-android">Android</a></li>
6096 <!--<li class=""><a href="#examples-OnapsoinfracloudResources-activateOperationEnvironment-0-groovy">Groovy</a></li>-->
6097 <li class=""><a href="#examples-OnapsoinfracloudResources-activateOperationEnvironment-0-objc">Obj-C</a></li>
6098 <li class=""><a href="#examples-OnapsoinfracloudResources-activateOperationEnvironment-0-javascript">JavaScript</a></li>
6099 <!--<li class=""><a href="#examples-OnapsoinfracloudResources-activateOperationEnvironment-0-angular">Angular</a></li>-->
6100 <li class=""><a href="#examples-OnapsoinfracloudResources-activateOperationEnvironment-0-csharp">C#</a></li>
6101 <li class=""><a href="#examples-OnapsoinfracloudResources-activateOperationEnvironment-0-php">PHP</a></li>
6102 <li class=""><a href="#examples-OnapsoinfracloudResources-activateOperationEnvironment-0-perl">Perl</a></li>
6103 <li class=""><a href="#examples-OnapsoinfracloudResources-activateOperationEnvironment-0-python">Python</a></li>
6104 </ul>
seshukmb3a332a2018-10-05 16:27:16 +08006105
tragait5e9676e2021-01-14 16:07:07 +00006106 <div class="tab-content">
6107 <div class="tab-pane active" id="examples-OnapsoinfracloudResources-activateOperationEnvironment-0-curl">
6108 <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/cloudResources/{version}/operationalEnvironments/{operationalEnvironmentId}/activate"</code></pre>
6109 </div>
6110 <div class="tab-pane" id="examples-OnapsoinfracloudResources-activateOperationEnvironment-0-java">
seshukmb3a332a2018-10-05 16:27:16 +08006111 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
6112import io.swagger.client.auth.*;
6113import io.swagger.client.model.*;
6114import io.swagger.client.api.OnapsoinfracloudResourcesApi;
6115
6116import java.io.File;
6117import java.util.*;
6118
6119public class OnapsoinfracloudResourcesApiExample {
6120
6121 public static void main(String[] args) {
tragait5e9676e2021-01-14 16:07:07 +00006122
seshukmb3a332a2018-10-05 16:27:16 +08006123 OnapsoinfracloudResourcesApi apiInstance = new OnapsoinfracloudResourcesApi();
tragait5e9676e2021-01-14 16:07:07 +00006124 String version = version_example; // String |
6125 String operationalEnvironmentId = operationalEnvironmentId_example; // String |
6126 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +08006127 try {
6128 apiInstance.activateOperationEnvironment(version, operationalEnvironmentId, body);
6129 } catch (ApiException e) {
6130 System.err.println("Exception when calling OnapsoinfracloudResourcesApi#activateOperationEnvironment");
6131 e.printStackTrace();
6132 }
6133 }
6134}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00006135 </div>
seshukmb3a332a2018-10-05 16:27:16 +08006136
tragait5e9676e2021-01-14 16:07:07 +00006137 <div class="tab-pane" id="examples-OnapsoinfracloudResources-activateOperationEnvironment-0-android">
seshukmb3a332a2018-10-05 16:27:16 +08006138 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfracloudResourcesApi;
6139
6140public class OnapsoinfracloudResourcesApiExample {
6141
6142 public static void main(String[] args) {
6143 OnapsoinfracloudResourcesApi apiInstance = new OnapsoinfracloudResourcesApi();
tragait5e9676e2021-01-14 16:07:07 +00006144 String version = version_example; // String |
6145 String operationalEnvironmentId = operationalEnvironmentId_example; // String |
6146 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +08006147 try {
6148 apiInstance.activateOperationEnvironment(version, operationalEnvironmentId, body);
6149 } catch (ApiException e) {
6150 System.err.println("Exception when calling OnapsoinfracloudResourcesApi#activateOperationEnvironment");
6151 e.printStackTrace();
6152 }
6153 }
6154}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00006155 </div>
6156 <!--
seshukmb3a332a2018-10-05 16:27:16 +08006157 <div class="tab-pane" id="examples-OnapsoinfracloudResources-activateOperationEnvironment-0-groovy">
6158 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
6159 </div> -->
tragait5e9676e2021-01-14 16:07:07 +00006160 <div class="tab-pane" id="examples-OnapsoinfracloudResources-activateOperationEnvironment-0-objc">
6161 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
6162String *operationalEnvironmentId = operationalEnvironmentId_example; //
seshukmb3a332a2018-10-05 16:27:16 +08006163String *body = body_example; // (optional)
6164
6165OnapsoinfracloudResourcesApi *apiInstance = [[OnapsoinfracloudResourcesApi alloc] init];
6166
6167// Activate an Operational Environment
6168[apiInstance activateOperationEnvironmentWith:version
6169 operationalEnvironmentId:operationalEnvironmentId
6170 body:body
6171 completionHandler: ^(NSError* error) {
6172 if (error) {
6173 NSLog(@"Error: %@", error);
6174 }
6175 }];
6176</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00006177 </div>
seshukmb3a332a2018-10-05 16:27:16 +08006178
tragait5e9676e2021-01-14 16:07:07 +00006179 <div class="tab-pane" id="examples-OnapsoinfracloudResources-activateOperationEnvironment-0-javascript">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05306180 <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is');
seshukmb3a332a2018-10-05 16:27:16 +08006181
Priyadharshinic86ab4a2020-08-14 17:11:49 +05306182var api = new SoGuilinApIs.OnapsoinfracloudResourcesApi()
seshukmb3a332a2018-10-05 16:27:16 +08006183
tragait5e9676e2021-01-14 16:07:07 +00006184var version = version_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +08006185
tragait5e9676e2021-01-14 16:07:07 +00006186var operationalEnvironmentId = operationalEnvironmentId_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +08006187
tragait5e9676e2021-01-14 16:07:07 +00006188var opts = {
6189 'body': body_example // {String}
seshukmb3a332a2018-10-05 16:27:16 +08006190};
6191
6192var callback = function(error, data, response) {
6193 if (error) {
6194 console.error(error);
6195 } else {
6196 console.log('API called successfully.');
6197 }
6198};
6199api.activateOperationEnvironment(version, operationalEnvironmentId, opts, callback);
6200</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00006201 </div>
seshukmb3a332a2018-10-05 16:27:16 +08006202
tragait5e9676e2021-01-14 16:07:07 +00006203 <!--<div class="tab-pane" id="examples-OnapsoinfracloudResources-activateOperationEnvironment-0-angular">
seshukmb3a332a2018-10-05 16:27:16 +08006204 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
6205 </div>-->
tragait5e9676e2021-01-14 16:07:07 +00006206 <div class="tab-pane" id="examples-OnapsoinfracloudResources-activateOperationEnvironment-0-csharp">
seshukmb3a332a2018-10-05 16:27:16 +08006207 <pre class="prettyprint"><code class="language-cs">using System;
6208using System.Diagnostics;
6209using IO.Swagger.Api;
6210using IO.Swagger.Client;
6211using IO.Swagger.Model;
6212
6213namespace Example
6214{
6215 public class activateOperationEnvironmentExample
6216 {
6217 public void main()
6218 {
tragait5e9676e2021-01-14 16:07:07 +00006219
seshukmb3a332a2018-10-05 16:27:16 +08006220 var apiInstance = new OnapsoinfracloudResourcesApi();
tragait5e9676e2021-01-14 16:07:07 +00006221 var version = version_example; // String |
6222 var operationalEnvironmentId = operationalEnvironmentId_example; // String |
6223 var body = body_example; // String | (optional)
seshukmb3a332a2018-10-05 16:27:16 +08006224
6225 try
6226 {
6227 // Activate an Operational Environment
6228 apiInstance.activateOperationEnvironment(version, operationalEnvironmentId, body);
6229 }
6230 catch (Exception e)
6231 {
6232 Debug.Print("Exception when calling OnapsoinfracloudResourcesApi.activateOperationEnvironment: " + e.Message );
6233 }
6234 }
6235 }
6236}
6237</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00006238 </div>
seshukmb3a332a2018-10-05 16:27:16 +08006239
tragait5e9676e2021-01-14 16:07:07 +00006240 <div class="tab-pane" id="examples-OnapsoinfracloudResources-activateOperationEnvironment-0-php">
seshukmb3a332a2018-10-05 16:27:16 +08006241 <pre class="prettyprint"><code class="language-php"><&#63;php
6242require_once(__DIR__ . '/vendor/autoload.php');
6243
6244$api_instance = new Swagger\Client\Api\OnapsoinfracloudResourcesApi();
tragait5e9676e2021-01-14 16:07:07 +00006245$version = version_example; // String |
6246$operationalEnvironmentId = operationalEnvironmentId_example; // String |
6247$body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +08006248
6249try {
6250 $api_instance->activateOperationEnvironment($version, $operationalEnvironmentId, $body);
6251} catch (Exception $e) {
6252 echo 'Exception when calling OnapsoinfracloudResourcesApi->activateOperationEnvironment: ', $e->getMessage(), PHP_EOL;
6253}
6254?></code></pre>
tragait5e9676e2021-01-14 16:07:07 +00006255 </div>
seshukmb3a332a2018-10-05 16:27:16 +08006256
tragait5e9676e2021-01-14 16:07:07 +00006257 <div class="tab-pane" id="examples-OnapsoinfracloudResources-activateOperationEnvironment-0-perl">
seshukmb3a332a2018-10-05 16:27:16 +08006258 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
6259use WWW::SwaggerClient::Configuration;
6260use WWW::SwaggerClient::OnapsoinfracloudResourcesApi;
6261
6262my $api_instance = WWW::SwaggerClient::OnapsoinfracloudResourcesApi->new();
tragait5e9676e2021-01-14 16:07:07 +00006263my $version = version_example; # String |
6264my $operationalEnvironmentId = operationalEnvironmentId_example; # String |
6265my $body = WWW::SwaggerClient::Object::String->new(); # String |
seshukmb3a332a2018-10-05 16:27:16 +08006266
tragait5e9676e2021-01-14 16:07:07 +00006267eval {
seshukmb3a332a2018-10-05 16:27:16 +08006268 $api_instance->activateOperationEnvironment(version => $version, operationalEnvironmentId => $operationalEnvironmentId, body => $body);
6269};
6270if ($@) {
6271 warn "Exception when calling OnapsoinfracloudResourcesApi->activateOperationEnvironment: $@\n";
6272}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00006273 </div>
seshukmb3a332a2018-10-05 16:27:16 +08006274
tragait5e9676e2021-01-14 16:07:07 +00006275 <div class="tab-pane" id="examples-OnapsoinfracloudResources-activateOperationEnvironment-0-python">
seshukmb3a332a2018-10-05 16:27:16 +08006276 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
6277import time
6278import swagger_client
6279from swagger_client.rest import ApiException
6280from pprint import pprint
6281
6282# create an instance of the API class
6283api_instance = swagger_client.OnapsoinfracloudResourcesApi()
tragait5e9676e2021-01-14 16:07:07 +00006284version = version_example # String |
6285operationalEnvironmentId = operationalEnvironmentId_example # String |
seshukmb3a332a2018-10-05 16:27:16 +08006286body = body_example # String | (optional)
6287
tragait5e9676e2021-01-14 16:07:07 +00006288try:
seshukmb3a332a2018-10-05 16:27:16 +08006289 # Activate an Operational Environment
6290 api_instance.activate_operation_environment(version, operationalEnvironmentId, body=body)
6291except ApiException as e:
6292 print("Exception when calling OnapsoinfracloudResourcesApi->activateOperationEnvironment: %s\n" % e)</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00006293 </div>
seshukmb3a332a2018-10-05 16:27:16 +08006294 </div>
seshukmb3a332a2018-10-05 16:27:16 +08006295
tragait5e9676e2021-01-14 16:07:07 +00006296 <h2>Parameters</h2>
seshukmb3a332a2018-10-05 16:27:16 +08006297
6298 <div class="methodsubtabletitle">Path parameters</div>
6299 <table id="methodsubtable">
6300 <tr>
tragait5e9676e2021-01-14 16:07:07 +00006301 <th width="150px">Name</th>
6302 <th>Description</th>
seshukmb3a332a2018-10-05 16:27:16 +08006303 </tr>
tragait5e9676e2021-01-14 16:07:07 +00006304 <tr><td style="width:150px;">version*</td>
6305 <td>
seshukmb3a332a2018-10-05 16:27:16 +08006306
6307
tragait5e9676e2021-01-14 16:07:07 +00006308 <div id="d2e199_activateOperationEnvironment_version">
6309 <div class="json-schema-view">
6310 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +08006311 <span class="type">
6312 String
6313 </span>
6314
tragait5e9676e2021-01-14 16:07:07 +00006315 </div>
6316 <div class="inner required">
6317 Required
6318 </div>
6319 </div>
6320 </div>
6321 </td>
6322 </tr>
seshukmb3a332a2018-10-05 16:27:16 +08006323
tragait5e9676e2021-01-14 16:07:07 +00006324 <tr><td style="width:150px;">operationalEnvironmentId*</td>
6325 <td>
seshukmb3a332a2018-10-05 16:27:16 +08006326
6327
tragait5e9676e2021-01-14 16:07:07 +00006328 <div id="d2e199_activateOperationEnvironment_operationalEnvironmentId">
6329 <div class="json-schema-view">
6330 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +08006331 <span class="type">
6332 String
6333 </span>
6334
tragait5e9676e2021-01-14 16:07:07 +00006335 </div>
6336 <div class="inner required">
6337 Required
6338 </div>
6339 </div>
6340 </div>
6341 </td>
6342 </tr>
seshukmb3a332a2018-10-05 16:27:16 +08006343
6344 </table>
6345
6346
6347 <div class="methodsubtabletitle">Body parameters</div>
6348 <table id="methodsubtable">
tragait5e9676e2021-01-14 16:07:07 +00006349 <tr>
6350 <th width="150px">Name</th>
6351 <th>Description</th>
6352 </tr>
seshukmb3a332a2018-10-05 16:27:16 +08006353 <tr><td style="width:150px;">body </td>
tragait5e9676e2021-01-14 16:07:07 +00006354 <td>
seshukmb3a332a2018-10-05 16:27:16 +08006355
6356
tragait5e9676e2021-01-14 16:07:07 +00006357 <script>
seshukmb3a332a2018-10-05 16:27:16 +08006358$(document).ready(function() {
6359 var schemaWrapper = {
6360 "in" : "body",
6361 "name" : "body",
6362 "required" : false,
6363 "schema" : {
6364 "type" : "string"
6365 }
6366};
6367 var schema = schemaWrapper.schema;
6368 if (schema.$ref != null) {
6369 schema = defsParser.$refs.get(schema.$ref);
6370 } else {
6371 schemaWrapper.definitions = Object.assign({}, defs);
6372 $RefParser.dereference(schemaWrapper).catch(function(err) {
6373 console.log(err);
6374 });
6375 }
6376
6377 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
6378 var result = $('#d2e199_activateOperationEnvironment_body');
6379 result.empty();
6380 result.append(view.render());
6381});
6382</script>
tragait5e9676e2021-01-14 16:07:07 +00006383 <div id="d2e199_activateOperationEnvironment_body"></div>
6384 </td>
6385 </tr>
seshukmb3a332a2018-10-05 16:27:16 +08006386
6387 </table>
6388
6389
6390
tragait5e9676e2021-01-14 16:07:07 +00006391 <h2>Responses</h2>
seshukmb3a332a2018-10-05 16:27:16 +08006392 <h3> Status: default - successful operation </h3>
6393
6394 <ul class="nav nav-tabs nav-tabs-examples" >
6395 </ul>
6396
6397 <div class="tab-content" style='margin-bottom: 10px;'>
6398 </div>
6399
6400 </article>
tragait5e9676e2021-01-14 16:07:07 +00006401 </div>
6402 <hr>
seshukmb3a332a2018-10-05 16:27:16 +08006403 <div id="api-OnapsoinfracloudResources-createOperationEnvironment">
tragait5e9676e2021-01-14 16:07:07 +00006404 <article id="api-OnapsoinfracloudResources-createOperationEnvironment-0" data-group="User" data-name="createOperationEnvironment" data-version="0">
6405 <div class="pull-left">
6406 <h1>createOperationEnvironment</h1>
6407 <p>Create an Operational Environment</p>
6408 </div>
6409 <div class="pull-right"></div>
6410 <div class="clearfix"></div>
6411 <p></p>
6412 <p class="marked"></p>
6413 <p></p>
6414 <br />
6415 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/cloudResources/{version}/operationalEnvironments</span></code></pre>
6416 <p>
6417 <h3>Usage and SDK Samples</h3>
6418 </p>
6419 <ul class="nav nav-tabs nav-tabs-examples">
6420 <li class="active"><a href="#examples-OnapsoinfracloudResources-createOperationEnvironment-0-curl">Curl</a></li>
6421 <li class=""><a href="#examples-OnapsoinfracloudResources-createOperationEnvironment-0-java">Java</a></li>
6422 <li class=""><a href="#examples-OnapsoinfracloudResources-createOperationEnvironment-0-android">Android</a></li>
6423 <!--<li class=""><a href="#examples-OnapsoinfracloudResources-createOperationEnvironment-0-groovy">Groovy</a></li>-->
6424 <li class=""><a href="#examples-OnapsoinfracloudResources-createOperationEnvironment-0-objc">Obj-C</a></li>
6425 <li class=""><a href="#examples-OnapsoinfracloudResources-createOperationEnvironment-0-javascript">JavaScript</a></li>
6426 <!--<li class=""><a href="#examples-OnapsoinfracloudResources-createOperationEnvironment-0-angular">Angular</a></li>-->
6427 <li class=""><a href="#examples-OnapsoinfracloudResources-createOperationEnvironment-0-csharp">C#</a></li>
6428 <li class=""><a href="#examples-OnapsoinfracloudResources-createOperationEnvironment-0-php">PHP</a></li>
6429 <li class=""><a href="#examples-OnapsoinfracloudResources-createOperationEnvironment-0-perl">Perl</a></li>
6430 <li class=""><a href="#examples-OnapsoinfracloudResources-createOperationEnvironment-0-python">Python</a></li>
6431 </ul>
seshukmb3a332a2018-10-05 16:27:16 +08006432
tragait5e9676e2021-01-14 16:07:07 +00006433 <div class="tab-content">
6434 <div class="tab-pane active" id="examples-OnapsoinfracloudResources-createOperationEnvironment-0-curl">
6435 <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/cloudResources/{version}/operationalEnvironments"</code></pre>
6436 </div>
6437 <div class="tab-pane" id="examples-OnapsoinfracloudResources-createOperationEnvironment-0-java">
seshukmb3a332a2018-10-05 16:27:16 +08006438 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
6439import io.swagger.client.auth.*;
6440import io.swagger.client.model.*;
6441import io.swagger.client.api.OnapsoinfracloudResourcesApi;
6442
6443import java.io.File;
6444import java.util.*;
6445
6446public class OnapsoinfracloudResourcesApiExample {
6447
6448 public static void main(String[] args) {
tragait5e9676e2021-01-14 16:07:07 +00006449
seshukmb3a332a2018-10-05 16:27:16 +08006450 OnapsoinfracloudResourcesApi apiInstance = new OnapsoinfracloudResourcesApi();
tragait5e9676e2021-01-14 16:07:07 +00006451 String version = version_example; // String |
6452 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +08006453 try {
6454 apiInstance.createOperationEnvironment(version, body);
6455 } catch (ApiException e) {
6456 System.err.println("Exception when calling OnapsoinfracloudResourcesApi#createOperationEnvironment");
6457 e.printStackTrace();
6458 }
6459 }
6460}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00006461 </div>
seshukmb3a332a2018-10-05 16:27:16 +08006462
tragait5e9676e2021-01-14 16:07:07 +00006463 <div class="tab-pane" id="examples-OnapsoinfracloudResources-createOperationEnvironment-0-android">
seshukmb3a332a2018-10-05 16:27:16 +08006464 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfracloudResourcesApi;
6465
6466public class OnapsoinfracloudResourcesApiExample {
6467
6468 public static void main(String[] args) {
6469 OnapsoinfracloudResourcesApi apiInstance = new OnapsoinfracloudResourcesApi();
tragait5e9676e2021-01-14 16:07:07 +00006470 String version = version_example; // String |
6471 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +08006472 try {
6473 apiInstance.createOperationEnvironment(version, body);
6474 } catch (ApiException e) {
6475 System.err.println("Exception when calling OnapsoinfracloudResourcesApi#createOperationEnvironment");
6476 e.printStackTrace();
6477 }
6478 }
6479}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00006480 </div>
6481 <!--
seshukmb3a332a2018-10-05 16:27:16 +08006482 <div class="tab-pane" id="examples-OnapsoinfracloudResources-createOperationEnvironment-0-groovy">
6483 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
6484 </div> -->
tragait5e9676e2021-01-14 16:07:07 +00006485 <div class="tab-pane" id="examples-OnapsoinfracloudResources-createOperationEnvironment-0-objc">
6486 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
seshukmb3a332a2018-10-05 16:27:16 +08006487String *body = body_example; // (optional)
6488
6489OnapsoinfracloudResourcesApi *apiInstance = [[OnapsoinfracloudResourcesApi alloc] init];
6490
6491// Create an Operational Environment
6492[apiInstance createOperationEnvironmentWith:version
6493 body:body
6494 completionHandler: ^(NSError* error) {
6495 if (error) {
6496 NSLog(@"Error: %@", error);
6497 }
6498 }];
6499</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00006500 </div>
seshukmb3a332a2018-10-05 16:27:16 +08006501
tragait5e9676e2021-01-14 16:07:07 +00006502 <div class="tab-pane" id="examples-OnapsoinfracloudResources-createOperationEnvironment-0-javascript">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05306503 <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is');
seshukmb3a332a2018-10-05 16:27:16 +08006504
Priyadharshinic86ab4a2020-08-14 17:11:49 +05306505var api = new SoGuilinApIs.OnapsoinfracloudResourcesApi()
seshukmb3a332a2018-10-05 16:27:16 +08006506
tragait5e9676e2021-01-14 16:07:07 +00006507var version = version_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +08006508
tragait5e9676e2021-01-14 16:07:07 +00006509var opts = {
6510 'body': body_example // {String}
seshukmb3a332a2018-10-05 16:27:16 +08006511};
6512
6513var callback = function(error, data, response) {
6514 if (error) {
6515 console.error(error);
6516 } else {
6517 console.log('API called successfully.');
6518 }
6519};
6520api.createOperationEnvironment(version, opts, callback);
6521</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00006522 </div>
seshukmb3a332a2018-10-05 16:27:16 +08006523
tragait5e9676e2021-01-14 16:07:07 +00006524 <!--<div class="tab-pane" id="examples-OnapsoinfracloudResources-createOperationEnvironment-0-angular">
seshukmb3a332a2018-10-05 16:27:16 +08006525 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
6526 </div>-->
tragait5e9676e2021-01-14 16:07:07 +00006527 <div class="tab-pane" id="examples-OnapsoinfracloudResources-createOperationEnvironment-0-csharp">
seshukmb3a332a2018-10-05 16:27:16 +08006528 <pre class="prettyprint"><code class="language-cs">using System;
6529using System.Diagnostics;
6530using IO.Swagger.Api;
6531using IO.Swagger.Client;
6532using IO.Swagger.Model;
6533
6534namespace Example
6535{
6536 public class createOperationEnvironmentExample
6537 {
6538 public void main()
6539 {
tragait5e9676e2021-01-14 16:07:07 +00006540
seshukmb3a332a2018-10-05 16:27:16 +08006541 var apiInstance = new OnapsoinfracloudResourcesApi();
tragait5e9676e2021-01-14 16:07:07 +00006542 var version = version_example; // String |
6543 var body = body_example; // String | (optional)
seshukmb3a332a2018-10-05 16:27:16 +08006544
6545 try
6546 {
6547 // Create an Operational Environment
6548 apiInstance.createOperationEnvironment(version, body);
6549 }
6550 catch (Exception e)
6551 {
6552 Debug.Print("Exception when calling OnapsoinfracloudResourcesApi.createOperationEnvironment: " + e.Message );
6553 }
6554 }
6555 }
6556}
6557</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00006558 </div>
seshukmb3a332a2018-10-05 16:27:16 +08006559
tragait5e9676e2021-01-14 16:07:07 +00006560 <div class="tab-pane" id="examples-OnapsoinfracloudResources-createOperationEnvironment-0-php">
seshukmb3a332a2018-10-05 16:27:16 +08006561 <pre class="prettyprint"><code class="language-php"><&#63;php
6562require_once(__DIR__ . '/vendor/autoload.php');
6563
6564$api_instance = new Swagger\Client\Api\OnapsoinfracloudResourcesApi();
tragait5e9676e2021-01-14 16:07:07 +00006565$version = version_example; // String |
6566$body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +08006567
6568try {
6569 $api_instance->createOperationEnvironment($version, $body);
6570} catch (Exception $e) {
6571 echo 'Exception when calling OnapsoinfracloudResourcesApi->createOperationEnvironment: ', $e->getMessage(), PHP_EOL;
6572}
6573?></code></pre>
tragait5e9676e2021-01-14 16:07:07 +00006574 </div>
seshukmb3a332a2018-10-05 16:27:16 +08006575
tragait5e9676e2021-01-14 16:07:07 +00006576 <div class="tab-pane" id="examples-OnapsoinfracloudResources-createOperationEnvironment-0-perl">
seshukmb3a332a2018-10-05 16:27:16 +08006577 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
6578use WWW::SwaggerClient::Configuration;
6579use WWW::SwaggerClient::OnapsoinfracloudResourcesApi;
6580
6581my $api_instance = WWW::SwaggerClient::OnapsoinfracloudResourcesApi->new();
tragait5e9676e2021-01-14 16:07:07 +00006582my $version = version_example; # String |
6583my $body = WWW::SwaggerClient::Object::String->new(); # String |
seshukmb3a332a2018-10-05 16:27:16 +08006584
tragait5e9676e2021-01-14 16:07:07 +00006585eval {
seshukmb3a332a2018-10-05 16:27:16 +08006586 $api_instance->createOperationEnvironment(version => $version, body => $body);
6587};
6588if ($@) {
6589 warn "Exception when calling OnapsoinfracloudResourcesApi->createOperationEnvironment: $@\n";
6590}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00006591 </div>
seshukmb3a332a2018-10-05 16:27:16 +08006592
tragait5e9676e2021-01-14 16:07:07 +00006593 <div class="tab-pane" id="examples-OnapsoinfracloudResources-createOperationEnvironment-0-python">
seshukmb3a332a2018-10-05 16:27:16 +08006594 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
6595import time
6596import swagger_client
6597from swagger_client.rest import ApiException
6598from pprint import pprint
6599
6600# create an instance of the API class
6601api_instance = swagger_client.OnapsoinfracloudResourcesApi()
tragait5e9676e2021-01-14 16:07:07 +00006602version = version_example # String |
seshukmb3a332a2018-10-05 16:27:16 +08006603body = body_example # String | (optional)
6604
tragait5e9676e2021-01-14 16:07:07 +00006605try:
seshukmb3a332a2018-10-05 16:27:16 +08006606 # Create an Operational Environment
6607 api_instance.create_operation_environment(version, body=body)
6608except ApiException as e:
6609 print("Exception when calling OnapsoinfracloudResourcesApi->createOperationEnvironment: %s\n" % e)</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00006610 </div>
seshukmb3a332a2018-10-05 16:27:16 +08006611 </div>
seshukmb3a332a2018-10-05 16:27:16 +08006612
tragait5e9676e2021-01-14 16:07:07 +00006613 <h2>Parameters</h2>
seshukmb3a332a2018-10-05 16:27:16 +08006614
6615 <div class="methodsubtabletitle">Path parameters</div>
6616 <table id="methodsubtable">
6617 <tr>
tragait5e9676e2021-01-14 16:07:07 +00006618 <th width="150px">Name</th>
6619 <th>Description</th>
seshukmb3a332a2018-10-05 16:27:16 +08006620 </tr>
tragait5e9676e2021-01-14 16:07:07 +00006621 <tr><td style="width:150px;">version*</td>
6622 <td>
seshukmb3a332a2018-10-05 16:27:16 +08006623
6624
tragait5e9676e2021-01-14 16:07:07 +00006625 <div id="d2e199_createOperationEnvironment_version">
6626 <div class="json-schema-view">
6627 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +08006628 <span class="type">
6629 String
6630 </span>
6631
tragait5e9676e2021-01-14 16:07:07 +00006632 </div>
6633 <div class="inner required">
6634 Required
6635 </div>
6636 </div>
6637 </div>
6638 </td>
6639 </tr>
seshukmb3a332a2018-10-05 16:27:16 +08006640
6641 </table>
6642
6643
6644 <div class="methodsubtabletitle">Body parameters</div>
6645 <table id="methodsubtable">
tragait5e9676e2021-01-14 16:07:07 +00006646 <tr>
6647 <th width="150px">Name</th>
6648 <th>Description</th>
6649 </tr>
seshukmb3a332a2018-10-05 16:27:16 +08006650 <tr><td style="width:150px;">body </td>
tragait5e9676e2021-01-14 16:07:07 +00006651 <td>
seshukmb3a332a2018-10-05 16:27:16 +08006652
6653
tragait5e9676e2021-01-14 16:07:07 +00006654 <script>
seshukmb3a332a2018-10-05 16:27:16 +08006655$(document).ready(function() {
6656 var schemaWrapper = {
6657 "in" : "body",
6658 "name" : "body",
6659 "required" : false,
6660 "schema" : {
6661 "type" : "string"
6662 }
6663};
6664 var schema = schemaWrapper.schema;
6665 if (schema.$ref != null) {
6666 schema = defsParser.$refs.get(schema.$ref);
6667 } else {
6668 schemaWrapper.definitions = Object.assign({}, defs);
6669 $RefParser.dereference(schemaWrapper).catch(function(err) {
6670 console.log(err);
6671 });
6672 }
6673
6674 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
6675 var result = $('#d2e199_createOperationEnvironment_body');
6676 result.empty();
6677 result.append(view.render());
6678});
6679</script>
tragait5e9676e2021-01-14 16:07:07 +00006680 <div id="d2e199_createOperationEnvironment_body"></div>
6681 </td>
6682 </tr>
seshukmb3a332a2018-10-05 16:27:16 +08006683
6684 </table>
6685
6686
6687
tragait5e9676e2021-01-14 16:07:07 +00006688 <h2>Responses</h2>
seshukmb3a332a2018-10-05 16:27:16 +08006689 <h3> Status: default - successful operation </h3>
6690
6691 <ul class="nav nav-tabs nav-tabs-examples" >
6692 </ul>
6693
6694 <div class="tab-content" style='margin-bottom: 10px;'>
6695 </div>
6696
6697 </article>
tragait5e9676e2021-01-14 16:07:07 +00006698 </div>
6699 <hr>
seshukmb3a332a2018-10-05 16:27:16 +08006700 <div id="api-OnapsoinfracloudResources-deactivateOperationEnvironment">
tragait5e9676e2021-01-14 16:07:07 +00006701 <article id="api-OnapsoinfracloudResources-deactivateOperationEnvironment-0" data-group="User" data-name="deactivateOperationEnvironment" data-version="0">
6702 <div class="pull-left">
6703 <h1>deactivateOperationEnvironment</h1>
6704 <p>Deactivate an Operational Environment</p>
6705 </div>
6706 <div class="pull-right"></div>
6707 <div class="clearfix"></div>
6708 <p></p>
6709 <p class="marked"></p>
6710 <p></p>
6711 <br />
6712 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/cloudResources/{version}/operationalEnvironments/{operationalEnvironmentId}/deactivate</span></code></pre>
6713 <p>
6714 <h3>Usage and SDK Samples</h3>
6715 </p>
6716 <ul class="nav nav-tabs nav-tabs-examples">
6717 <li class="active"><a href="#examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-curl">Curl</a></li>
6718 <li class=""><a href="#examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-java">Java</a></li>
6719 <li class=""><a href="#examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-android">Android</a></li>
6720 <!--<li class=""><a href="#examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-groovy">Groovy</a></li>-->
6721 <li class=""><a href="#examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-objc">Obj-C</a></li>
6722 <li class=""><a href="#examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-javascript">JavaScript</a></li>
6723 <!--<li class=""><a href="#examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-angular">Angular</a></li>-->
6724 <li class=""><a href="#examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-csharp">C#</a></li>
6725 <li class=""><a href="#examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-php">PHP</a></li>
6726 <li class=""><a href="#examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-perl">Perl</a></li>
6727 <li class=""><a href="#examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-python">Python</a></li>
6728 </ul>
seshukmb3a332a2018-10-05 16:27:16 +08006729
tragait5e9676e2021-01-14 16:07:07 +00006730 <div class="tab-content">
6731 <div class="tab-pane active" id="examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-curl">
6732 <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/cloudResources/{version}/operationalEnvironments/{operationalEnvironmentId}/deactivate"</code></pre>
6733 </div>
6734 <div class="tab-pane" id="examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-java">
seshukmb3a332a2018-10-05 16:27:16 +08006735 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
6736import io.swagger.client.auth.*;
6737import io.swagger.client.model.*;
6738import io.swagger.client.api.OnapsoinfracloudResourcesApi;
6739
6740import java.io.File;
6741import java.util.*;
6742
6743public class OnapsoinfracloudResourcesApiExample {
6744
6745 public static void main(String[] args) {
tragait5e9676e2021-01-14 16:07:07 +00006746
seshukmb3a332a2018-10-05 16:27:16 +08006747 OnapsoinfracloudResourcesApi apiInstance = new OnapsoinfracloudResourcesApi();
tragait5e9676e2021-01-14 16:07:07 +00006748 String version = version_example; // String |
6749 String operationalEnvironmentId = operationalEnvironmentId_example; // String |
6750 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +08006751 try {
6752 apiInstance.deactivateOperationEnvironment(version, operationalEnvironmentId, body);
6753 } catch (ApiException e) {
6754 System.err.println("Exception when calling OnapsoinfracloudResourcesApi#deactivateOperationEnvironment");
6755 e.printStackTrace();
6756 }
6757 }
6758}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00006759 </div>
seshukmb3a332a2018-10-05 16:27:16 +08006760
tragait5e9676e2021-01-14 16:07:07 +00006761 <div class="tab-pane" id="examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-android">
seshukmb3a332a2018-10-05 16:27:16 +08006762 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfracloudResourcesApi;
6763
6764public class OnapsoinfracloudResourcesApiExample {
6765
6766 public static void main(String[] args) {
6767 OnapsoinfracloudResourcesApi apiInstance = new OnapsoinfracloudResourcesApi();
tragait5e9676e2021-01-14 16:07:07 +00006768 String version = version_example; // String |
6769 String operationalEnvironmentId = operationalEnvironmentId_example; // String |
6770 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +08006771 try {
6772 apiInstance.deactivateOperationEnvironment(version, operationalEnvironmentId, body);
6773 } catch (ApiException e) {
6774 System.err.println("Exception when calling OnapsoinfracloudResourcesApi#deactivateOperationEnvironment");
6775 e.printStackTrace();
6776 }
6777 }
6778}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00006779 </div>
6780 <!--
seshukmb3a332a2018-10-05 16:27:16 +08006781 <div class="tab-pane" id="examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-groovy">
6782 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
6783 </div> -->
tragait5e9676e2021-01-14 16:07:07 +00006784 <div class="tab-pane" id="examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-objc">
6785 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
6786String *operationalEnvironmentId = operationalEnvironmentId_example; //
seshukmb3a332a2018-10-05 16:27:16 +08006787String *body = body_example; // (optional)
6788
6789OnapsoinfracloudResourcesApi *apiInstance = [[OnapsoinfracloudResourcesApi alloc] init];
6790
6791// Deactivate an Operational Environment
6792[apiInstance deactivateOperationEnvironmentWith:version
6793 operationalEnvironmentId:operationalEnvironmentId
6794 body:body
6795 completionHandler: ^(NSError* error) {
6796 if (error) {
6797 NSLog(@"Error: %@", error);
6798 }
6799 }];
6800</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00006801 </div>
seshukmb3a332a2018-10-05 16:27:16 +08006802
tragait5e9676e2021-01-14 16:07:07 +00006803 <div class="tab-pane" id="examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-javascript">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05306804 <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is');
seshukmb3a332a2018-10-05 16:27:16 +08006805
Priyadharshinic86ab4a2020-08-14 17:11:49 +05306806var api = new SoGuilinApIs.OnapsoinfracloudResourcesApi()
seshukmb3a332a2018-10-05 16:27:16 +08006807
tragait5e9676e2021-01-14 16:07:07 +00006808var version = version_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +08006809
tragait5e9676e2021-01-14 16:07:07 +00006810var operationalEnvironmentId = operationalEnvironmentId_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +08006811
tragait5e9676e2021-01-14 16:07:07 +00006812var opts = {
6813 'body': body_example // {String}
seshukmb3a332a2018-10-05 16:27:16 +08006814};
6815
6816var callback = function(error, data, response) {
6817 if (error) {
6818 console.error(error);
6819 } else {
6820 console.log('API called successfully.');
6821 }
6822};
6823api.deactivateOperationEnvironment(version, operationalEnvironmentId, opts, callback);
6824</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00006825 </div>
seshukmb3a332a2018-10-05 16:27:16 +08006826
tragait5e9676e2021-01-14 16:07:07 +00006827 <!--<div class="tab-pane" id="examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-angular">
seshukmb3a332a2018-10-05 16:27:16 +08006828 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
6829 </div>-->
tragait5e9676e2021-01-14 16:07:07 +00006830 <div class="tab-pane" id="examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-csharp">
seshukmb3a332a2018-10-05 16:27:16 +08006831 <pre class="prettyprint"><code class="language-cs">using System;
6832using System.Diagnostics;
6833using IO.Swagger.Api;
6834using IO.Swagger.Client;
6835using IO.Swagger.Model;
6836
6837namespace Example
6838{
6839 public class deactivateOperationEnvironmentExample
6840 {
6841 public void main()
6842 {
tragait5e9676e2021-01-14 16:07:07 +00006843
seshukmb3a332a2018-10-05 16:27:16 +08006844 var apiInstance = new OnapsoinfracloudResourcesApi();
tragait5e9676e2021-01-14 16:07:07 +00006845 var version = version_example; // String |
6846 var operationalEnvironmentId = operationalEnvironmentId_example; // String |
6847 var body = body_example; // String | (optional)
seshukmb3a332a2018-10-05 16:27:16 +08006848
6849 try
6850 {
6851 // Deactivate an Operational Environment
6852 apiInstance.deactivateOperationEnvironment(version, operationalEnvironmentId, body);
6853 }
6854 catch (Exception e)
6855 {
6856 Debug.Print("Exception when calling OnapsoinfracloudResourcesApi.deactivateOperationEnvironment: " + e.Message );
6857 }
6858 }
6859 }
6860}
6861</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00006862 </div>
seshukmb3a332a2018-10-05 16:27:16 +08006863
tragait5e9676e2021-01-14 16:07:07 +00006864 <div class="tab-pane" id="examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-php">
seshukmb3a332a2018-10-05 16:27:16 +08006865 <pre class="prettyprint"><code class="language-php"><&#63;php
6866require_once(__DIR__ . '/vendor/autoload.php');
6867
6868$api_instance = new Swagger\Client\Api\OnapsoinfracloudResourcesApi();
tragait5e9676e2021-01-14 16:07:07 +00006869$version = version_example; // String |
6870$operationalEnvironmentId = operationalEnvironmentId_example; // String |
6871$body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +08006872
6873try {
6874 $api_instance->deactivateOperationEnvironment($version, $operationalEnvironmentId, $body);
6875} catch (Exception $e) {
6876 echo 'Exception when calling OnapsoinfracloudResourcesApi->deactivateOperationEnvironment: ', $e->getMessage(), PHP_EOL;
6877}
6878?></code></pre>
tragait5e9676e2021-01-14 16:07:07 +00006879 </div>
seshukmb3a332a2018-10-05 16:27:16 +08006880
tragait5e9676e2021-01-14 16:07:07 +00006881 <div class="tab-pane" id="examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-perl">
seshukmb3a332a2018-10-05 16:27:16 +08006882 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
6883use WWW::SwaggerClient::Configuration;
6884use WWW::SwaggerClient::OnapsoinfracloudResourcesApi;
6885
6886my $api_instance = WWW::SwaggerClient::OnapsoinfracloudResourcesApi->new();
tragait5e9676e2021-01-14 16:07:07 +00006887my $version = version_example; # String |
6888my $operationalEnvironmentId = operationalEnvironmentId_example; # String |
6889my $body = WWW::SwaggerClient::Object::String->new(); # String |
seshukmb3a332a2018-10-05 16:27:16 +08006890
tragait5e9676e2021-01-14 16:07:07 +00006891eval {
seshukmb3a332a2018-10-05 16:27:16 +08006892 $api_instance->deactivateOperationEnvironment(version => $version, operationalEnvironmentId => $operationalEnvironmentId, body => $body);
6893};
6894if ($@) {
6895 warn "Exception when calling OnapsoinfracloudResourcesApi->deactivateOperationEnvironment: $@\n";
6896}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00006897 </div>
seshukmb3a332a2018-10-05 16:27:16 +08006898
tragait5e9676e2021-01-14 16:07:07 +00006899 <div class="tab-pane" id="examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-python">
seshukmb3a332a2018-10-05 16:27:16 +08006900 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
6901import time
6902import swagger_client
6903from swagger_client.rest import ApiException
6904from pprint import pprint
6905
6906# create an instance of the API class
6907api_instance = swagger_client.OnapsoinfracloudResourcesApi()
tragait5e9676e2021-01-14 16:07:07 +00006908version = version_example # String |
6909operationalEnvironmentId = operationalEnvironmentId_example # String |
seshukmb3a332a2018-10-05 16:27:16 +08006910body = body_example # String | (optional)
6911
tragait5e9676e2021-01-14 16:07:07 +00006912try:
seshukmb3a332a2018-10-05 16:27:16 +08006913 # Deactivate an Operational Environment
6914 api_instance.deactivate_operation_environment(version, operationalEnvironmentId, body=body)
6915except ApiException as e:
6916 print("Exception when calling OnapsoinfracloudResourcesApi->deactivateOperationEnvironment: %s\n" % e)</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00006917 </div>
seshukmb3a332a2018-10-05 16:27:16 +08006918 </div>
seshukmb3a332a2018-10-05 16:27:16 +08006919
tragait5e9676e2021-01-14 16:07:07 +00006920 <h2>Parameters</h2>
seshukmb3a332a2018-10-05 16:27:16 +08006921
6922 <div class="methodsubtabletitle">Path parameters</div>
6923 <table id="methodsubtable">
6924 <tr>
tragait5e9676e2021-01-14 16:07:07 +00006925 <th width="150px">Name</th>
6926 <th>Description</th>
seshukmb3a332a2018-10-05 16:27:16 +08006927 </tr>
tragait5e9676e2021-01-14 16:07:07 +00006928 <tr><td style="width:150px;">version*</td>
6929 <td>
seshukmb3a332a2018-10-05 16:27:16 +08006930
6931
tragait5e9676e2021-01-14 16:07:07 +00006932 <div id="d2e199_deactivateOperationEnvironment_version">
6933 <div class="json-schema-view">
6934 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +08006935 <span class="type">
6936 String
6937 </span>
6938
tragait5e9676e2021-01-14 16:07:07 +00006939 </div>
6940 <div class="inner required">
6941 Required
6942 </div>
6943 </div>
6944 </div>
6945 </td>
6946 </tr>
seshukmb3a332a2018-10-05 16:27:16 +08006947
tragait5e9676e2021-01-14 16:07:07 +00006948 <tr><td style="width:150px;">operationalEnvironmentId*</td>
6949 <td>
seshukmb3a332a2018-10-05 16:27:16 +08006950
6951
tragait5e9676e2021-01-14 16:07:07 +00006952 <div id="d2e199_deactivateOperationEnvironment_operationalEnvironmentId">
6953 <div class="json-schema-view">
6954 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +08006955 <span class="type">
6956 String
6957 </span>
6958
tragait5e9676e2021-01-14 16:07:07 +00006959 </div>
6960 <div class="inner required">
6961 Required
6962 </div>
6963 </div>
6964 </div>
6965 </td>
6966 </tr>
seshukmb3a332a2018-10-05 16:27:16 +08006967
6968 </table>
6969
6970
6971 <div class="methodsubtabletitle">Body parameters</div>
6972 <table id="methodsubtable">
tragait5e9676e2021-01-14 16:07:07 +00006973 <tr>
6974 <th width="150px">Name</th>
6975 <th>Description</th>
6976 </tr>
seshukmb3a332a2018-10-05 16:27:16 +08006977 <tr><td style="width:150px;">body </td>
tragait5e9676e2021-01-14 16:07:07 +00006978 <td>
seshukmb3a332a2018-10-05 16:27:16 +08006979
6980
tragait5e9676e2021-01-14 16:07:07 +00006981 <script>
seshukmb3a332a2018-10-05 16:27:16 +08006982$(document).ready(function() {
6983 var schemaWrapper = {
6984 "in" : "body",
6985 "name" : "body",
6986 "required" : false,
6987 "schema" : {
6988 "type" : "string"
6989 }
6990};
6991 var schema = schemaWrapper.schema;
6992 if (schema.$ref != null) {
6993 schema = defsParser.$refs.get(schema.$ref);
6994 } else {
6995 schemaWrapper.definitions = Object.assign({}, defs);
6996 $RefParser.dereference(schemaWrapper).catch(function(err) {
6997 console.log(err);
6998 });
6999 }
7000
7001 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
7002 var result = $('#d2e199_deactivateOperationEnvironment_body');
7003 result.empty();
7004 result.append(view.render());
7005});
7006</script>
tragait5e9676e2021-01-14 16:07:07 +00007007 <div id="d2e199_deactivateOperationEnvironment_body"></div>
7008 </td>
7009 </tr>
seshukmb3a332a2018-10-05 16:27:16 +08007010
7011 </table>
7012
7013
7014
tragait5e9676e2021-01-14 16:07:07 +00007015 <h2>Responses</h2>
seshukmb3a332a2018-10-05 16:27:16 +08007016 <h3> Status: default - successful operation </h3>
7017
7018 <ul class="nav nav-tabs nav-tabs-examples" >
7019 </ul>
7020
7021 <div class="tab-content" style='margin-bottom: 10px;'>
7022 </div>
7023
7024 </article>
tragait5e9676e2021-01-14 16:07:07 +00007025 </div>
7026 <hr>
7027 </section>
seshukmb3a332a2018-10-05 16:27:16 +08007028 <section id="api-OnapsoinfracloudResourcesRequests">
tragait5e9676e2021-01-14 16:07:07 +00007029 <h1>OnapsoinfracloudResourcesRequests</h1>
seshukmb3a332a2018-10-05 16:27:16 +08007030 <div id="api-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter">
tragait5e9676e2021-01-14 16:07:07 +00007031 <article id="api-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0" data-group="User" data-name="getOperationEnvironmentStatusFilter" data-version="0">
7032 <div class="pull-left">
7033 <h1>getOperationEnvironmentStatusFilter</h1>
7034 <p>Get status of an Operational Environment based on filter criteria</p>
7035 </div>
7036 <div class="pull-right"></div>
7037 <div class="clearfix"></div>
7038 <p></p>
7039 <p class="marked"></p>
7040 <p></p>
7041 <br />
7042 <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/onap/so/infra/cloudResourcesRequests/{version}</span></code></pre>
7043 <p>
7044 <h3>Usage and SDK Samples</h3>
7045 </p>
7046 <ul class="nav nav-tabs nav-tabs-examples">
7047 <li class="active"><a href="#examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-curl">Curl</a></li>
7048 <li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-java">Java</a></li>
7049 <li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-android">Android</a></li>
7050 <!--<li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-groovy">Groovy</a></li>-->
7051 <li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-objc">Obj-C</a></li>
7052 <li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-javascript">JavaScript</a></li>
7053 <!--<li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-angular">Angular</a></li>-->
7054 <li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-csharp">C#</a></li>
7055 <li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-php">PHP</a></li>
7056 <li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-perl">Perl</a></li>
7057 <li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-python">Python</a></li>
7058 </ul>
seshukmb3a332a2018-10-05 16:27:16 +08007059
tragait5e9676e2021-01-14 16:07:07 +00007060 <div class="tab-content">
7061 <div class="tab-pane active" id="examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-curl">
7062 <pre class="prettyprint"><code class="language-bsh">curl -X GET "http://localhost/onap/so/infra/cloudResourcesRequests/{version}"</code></pre>
7063 </div>
7064 <div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-java">
seshukmb3a332a2018-10-05 16:27:16 +08007065 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
7066import io.swagger.client.auth.*;
7067import io.swagger.client.model.*;
7068import io.swagger.client.api.OnapsoinfracloudResourcesRequestsApi;
7069
7070import java.io.File;
7071import java.util.*;
7072
7073public class OnapsoinfracloudResourcesRequestsApiExample {
7074
7075 public static void main(String[] args) {
tragait5e9676e2021-01-14 16:07:07 +00007076
seshukmb3a332a2018-10-05 16:27:16 +08007077 OnapsoinfracloudResourcesRequestsApi apiInstance = new OnapsoinfracloudResourcesRequestsApi();
tragait5e9676e2021-01-14 16:07:07 +00007078 String version = version_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +08007079 try {
7080 apiInstance.getOperationEnvironmentStatusFilter(version);
7081 } catch (ApiException e) {
7082 System.err.println("Exception when calling OnapsoinfracloudResourcesRequestsApi#getOperationEnvironmentStatusFilter");
7083 e.printStackTrace();
7084 }
7085 }
7086}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00007087 </div>
seshukmb3a332a2018-10-05 16:27:16 +08007088
tragait5e9676e2021-01-14 16:07:07 +00007089 <div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-android">
seshukmb3a332a2018-10-05 16:27:16 +08007090 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfracloudResourcesRequestsApi;
7091
7092public class OnapsoinfracloudResourcesRequestsApiExample {
7093
7094 public static void main(String[] args) {
7095 OnapsoinfracloudResourcesRequestsApi apiInstance = new OnapsoinfracloudResourcesRequestsApi();
tragait5e9676e2021-01-14 16:07:07 +00007096 String version = version_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +08007097 try {
7098 apiInstance.getOperationEnvironmentStatusFilter(version);
7099 } catch (ApiException e) {
7100 System.err.println("Exception when calling OnapsoinfracloudResourcesRequestsApi#getOperationEnvironmentStatusFilter");
7101 e.printStackTrace();
7102 }
7103 }
7104}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00007105 </div>
7106 <!--
seshukmb3a332a2018-10-05 16:27:16 +08007107 <div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-groovy">
7108 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
7109 </div> -->
tragait5e9676e2021-01-14 16:07:07 +00007110 <div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-objc">
7111 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
seshukmb3a332a2018-10-05 16:27:16 +08007112
7113OnapsoinfracloudResourcesRequestsApi *apiInstance = [[OnapsoinfracloudResourcesRequestsApi alloc] init];
7114
7115// Get status of an Operational Environment based on filter criteria
7116[apiInstance getOperationEnvironmentStatusFilterWith:version
7117 completionHandler: ^(NSError* error) {
7118 if (error) {
7119 NSLog(@"Error: %@", error);
7120 }
7121 }];
7122</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00007123 </div>
seshukmb3a332a2018-10-05 16:27:16 +08007124
tragait5e9676e2021-01-14 16:07:07 +00007125 <div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-javascript">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05307126 <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is');
seshukmb3a332a2018-10-05 16:27:16 +08007127
Priyadharshinic86ab4a2020-08-14 17:11:49 +05307128var api = new SoGuilinApIs.OnapsoinfracloudResourcesRequestsApi()
seshukmb3a332a2018-10-05 16:27:16 +08007129
tragait5e9676e2021-01-14 16:07:07 +00007130var version = version_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +08007131
7132
7133var callback = function(error, data, response) {
7134 if (error) {
7135 console.error(error);
7136 } else {
7137 console.log('API called successfully.');
7138 }
7139};
7140api.getOperationEnvironmentStatusFilter(version, callback);
7141</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00007142 </div>
seshukmb3a332a2018-10-05 16:27:16 +08007143
tragait5e9676e2021-01-14 16:07:07 +00007144 <!--<div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-angular">
seshukmb3a332a2018-10-05 16:27:16 +08007145 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
7146 </div>-->
tragait5e9676e2021-01-14 16:07:07 +00007147 <div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-csharp">
seshukmb3a332a2018-10-05 16:27:16 +08007148 <pre class="prettyprint"><code class="language-cs">using System;
7149using System.Diagnostics;
7150using IO.Swagger.Api;
7151using IO.Swagger.Client;
7152using IO.Swagger.Model;
7153
7154namespace Example
7155{
7156 public class getOperationEnvironmentStatusFilterExample
7157 {
7158 public void main()
7159 {
tragait5e9676e2021-01-14 16:07:07 +00007160
seshukmb3a332a2018-10-05 16:27:16 +08007161 var apiInstance = new OnapsoinfracloudResourcesRequestsApi();
tragait5e9676e2021-01-14 16:07:07 +00007162 var version = version_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +08007163
7164 try
7165 {
7166 // Get status of an Operational Environment based on filter criteria
7167 apiInstance.getOperationEnvironmentStatusFilter(version);
7168 }
7169 catch (Exception e)
7170 {
7171 Debug.Print("Exception when calling OnapsoinfracloudResourcesRequestsApi.getOperationEnvironmentStatusFilter: " + e.Message );
7172 }
7173 }
7174 }
7175}
7176</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00007177 </div>
seshukmb3a332a2018-10-05 16:27:16 +08007178
tragait5e9676e2021-01-14 16:07:07 +00007179 <div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-php">
seshukmb3a332a2018-10-05 16:27:16 +08007180 <pre class="prettyprint"><code class="language-php"><&#63;php
7181require_once(__DIR__ . '/vendor/autoload.php');
7182
7183$api_instance = new Swagger\Client\Api\OnapsoinfracloudResourcesRequestsApi();
tragait5e9676e2021-01-14 16:07:07 +00007184$version = version_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +08007185
7186try {
7187 $api_instance->getOperationEnvironmentStatusFilter($version);
7188} catch (Exception $e) {
7189 echo 'Exception when calling OnapsoinfracloudResourcesRequestsApi->getOperationEnvironmentStatusFilter: ', $e->getMessage(), PHP_EOL;
7190}
7191?></code></pre>
tragait5e9676e2021-01-14 16:07:07 +00007192 </div>
seshukmb3a332a2018-10-05 16:27:16 +08007193
tragait5e9676e2021-01-14 16:07:07 +00007194 <div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-perl">
seshukmb3a332a2018-10-05 16:27:16 +08007195 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
7196use WWW::SwaggerClient::Configuration;
7197use WWW::SwaggerClient::OnapsoinfracloudResourcesRequestsApi;
7198
7199my $api_instance = WWW::SwaggerClient::OnapsoinfracloudResourcesRequestsApi->new();
tragait5e9676e2021-01-14 16:07:07 +00007200my $version = version_example; # String |
seshukmb3a332a2018-10-05 16:27:16 +08007201
tragait5e9676e2021-01-14 16:07:07 +00007202eval {
seshukmb3a332a2018-10-05 16:27:16 +08007203 $api_instance->getOperationEnvironmentStatusFilter(version => $version);
7204};
7205if ($@) {
7206 warn "Exception when calling OnapsoinfracloudResourcesRequestsApi->getOperationEnvironmentStatusFilter: $@\n";
7207}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00007208 </div>
seshukmb3a332a2018-10-05 16:27:16 +08007209
tragait5e9676e2021-01-14 16:07:07 +00007210 <div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-python">
seshukmb3a332a2018-10-05 16:27:16 +08007211 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
7212import time
7213import swagger_client
7214from swagger_client.rest import ApiException
7215from pprint import pprint
7216
7217# create an instance of the API class
7218api_instance = swagger_client.OnapsoinfracloudResourcesRequestsApi()
tragait5e9676e2021-01-14 16:07:07 +00007219version = version_example # String |
seshukmb3a332a2018-10-05 16:27:16 +08007220
tragait5e9676e2021-01-14 16:07:07 +00007221try:
seshukmb3a332a2018-10-05 16:27:16 +08007222 # Get status of an Operational Environment based on filter criteria
7223 api_instance.get_operation_environment_status_filter(version)
7224except ApiException as e:
7225 print("Exception when calling OnapsoinfracloudResourcesRequestsApi->getOperationEnvironmentStatusFilter: %s\n" % e)</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00007226 </div>
seshukmb3a332a2018-10-05 16:27:16 +08007227 </div>
seshukmb3a332a2018-10-05 16:27:16 +08007228
tragait5e9676e2021-01-14 16:07:07 +00007229 <h2>Parameters</h2>
seshukmb3a332a2018-10-05 16:27:16 +08007230
7231 <div class="methodsubtabletitle">Path parameters</div>
7232 <table id="methodsubtable">
7233 <tr>
tragait5e9676e2021-01-14 16:07:07 +00007234 <th width="150px">Name</th>
7235 <th>Description</th>
seshukmb3a332a2018-10-05 16:27:16 +08007236 </tr>
tragait5e9676e2021-01-14 16:07:07 +00007237 <tr><td style="width:150px;">version*</td>
7238 <td>
seshukmb3a332a2018-10-05 16:27:16 +08007239
7240
tragait5e9676e2021-01-14 16:07:07 +00007241 <div id="d2e199_getOperationEnvironmentStatusFilter_version">
7242 <div class="json-schema-view">
7243 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +08007244 <span class="type">
7245 String
7246 </span>
7247
tragait5e9676e2021-01-14 16:07:07 +00007248 </div>
7249 <div class="inner required">
7250 Required
7251 </div>
7252 </div>
7253 </div>
7254 </td>
7255 </tr>
seshukmb3a332a2018-10-05 16:27:16 +08007256
7257 </table>
7258
7259
7260
7261
7262
tragait5e9676e2021-01-14 16:07:07 +00007263 <h2>Responses</h2>
seshukmb3a332a2018-10-05 16:27:16 +08007264 <h3> Status: default - successful operation </h3>
7265
7266 <ul class="nav nav-tabs nav-tabs-examples" >
7267 </ul>
7268
7269 <div class="tab-content" style='margin-bottom: 10px;'>
7270 </div>
7271
7272 </article>
tragait5e9676e2021-01-14 16:07:07 +00007273 </div>
7274 <hr>
seshukmb3a332a2018-10-05 16:27:16 +08007275 <div id="api-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId">
tragait5e9676e2021-01-14 16:07:07 +00007276 <article id="api-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0" data-group="User" data-name="unlockOrchestrationRequestForReqId" data-version="0">
7277 <div class="pull-left">
7278 <h1>unlockOrchestrationRequestForReqId</h1>
7279 <p>Unlock CloudOrchestration requests for a specified requestId</p>
7280 </div>
7281 <div class="pull-right"></div>
7282 <div class="clearfix"></div>
7283 <p></p>
7284 <p class="marked"></p>
7285 <p></p>
7286 <br />
7287 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/cloudResourcesRequests/{version}/{requestId}/unlock</span></code></pre>
7288 <p>
7289 <h3>Usage and SDK Samples</h3>
7290 </p>
7291 <ul class="nav nav-tabs nav-tabs-examples">
7292 <li class="active"><a href="#examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-curl">Curl</a></li>
7293 <li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-java">Java</a></li>
7294 <li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-android">Android</a></li>
7295 <!--<li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-groovy">Groovy</a></li>-->
7296 <li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-objc">Obj-C</a></li>
7297 <li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-javascript">JavaScript</a></li>
7298 <!--<li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-angular">Angular</a></li>-->
7299 <li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-csharp">C#</a></li>
7300 <li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-php">PHP</a></li>
7301 <li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-perl">Perl</a></li>
7302 <li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-python">Python</a></li>
7303 </ul>
seshukmb3a332a2018-10-05 16:27:16 +08007304
tragait5e9676e2021-01-14 16:07:07 +00007305 <div class="tab-content">
7306 <div class="tab-pane active" id="examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-curl">
7307 <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/cloudResourcesRequests/{version}/{requestId}/unlock"</code></pre>
7308 </div>
7309 <div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-java">
seshukmb3a332a2018-10-05 16:27:16 +08007310 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
7311import io.swagger.client.auth.*;
7312import io.swagger.client.model.*;
7313import io.swagger.client.api.OnapsoinfracloudResourcesRequestsApi;
7314
7315import java.io.File;
7316import java.util.*;
7317
7318public class OnapsoinfracloudResourcesRequestsApiExample {
7319
7320 public static void main(String[] args) {
tragait5e9676e2021-01-14 16:07:07 +00007321
seshukmb3a332a2018-10-05 16:27:16 +08007322 OnapsoinfracloudResourcesRequestsApi apiInstance = new OnapsoinfracloudResourcesRequestsApi();
tragait5e9676e2021-01-14 16:07:07 +00007323 String requestId = requestId_example; // String |
7324 String version = version_example; // String |
7325 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +08007326 try {
7327 apiInstance.unlockOrchestrationRequestForReqId(requestId, version, body);
7328 } catch (ApiException e) {
7329 System.err.println("Exception when calling OnapsoinfracloudResourcesRequestsApi#unlockOrchestrationRequestForReqId");
7330 e.printStackTrace();
7331 }
7332 }
7333}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00007334 </div>
seshukmb3a332a2018-10-05 16:27:16 +08007335
tragait5e9676e2021-01-14 16:07:07 +00007336 <div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-android">
seshukmb3a332a2018-10-05 16:27:16 +08007337 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfracloudResourcesRequestsApi;
7338
7339public class OnapsoinfracloudResourcesRequestsApiExample {
7340
7341 public static void main(String[] args) {
7342 OnapsoinfracloudResourcesRequestsApi apiInstance = new OnapsoinfracloudResourcesRequestsApi();
tragait5e9676e2021-01-14 16:07:07 +00007343 String requestId = requestId_example; // String |
7344 String version = version_example; // String |
7345 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +08007346 try {
7347 apiInstance.unlockOrchestrationRequestForReqId(requestId, version, body);
7348 } catch (ApiException e) {
7349 System.err.println("Exception when calling OnapsoinfracloudResourcesRequestsApi#unlockOrchestrationRequestForReqId");
7350 e.printStackTrace();
7351 }
7352 }
7353}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00007354 </div>
7355 <!--
seshukmb3a332a2018-10-05 16:27:16 +08007356 <div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-groovy">
7357 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
7358 </div> -->
tragait5e9676e2021-01-14 16:07:07 +00007359 <div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-objc">
7360 <pre class="prettyprint"><code class="language-cpp">String *requestId = requestId_example; //
7361String *version = version_example; //
seshukmb3a332a2018-10-05 16:27:16 +08007362String *body = body_example; // (optional)
7363
7364OnapsoinfracloudResourcesRequestsApi *apiInstance = [[OnapsoinfracloudResourcesRequestsApi alloc] init];
7365
7366// Unlock CloudOrchestration requests for a specified requestId
7367[apiInstance unlockOrchestrationRequestForReqIdWith:requestId
7368 version:version
7369 body:body
7370 completionHandler: ^(NSError* error) {
7371 if (error) {
7372 NSLog(@"Error: %@", error);
7373 }
7374 }];
7375</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00007376 </div>
seshukmb3a332a2018-10-05 16:27:16 +08007377
tragait5e9676e2021-01-14 16:07:07 +00007378 <div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-javascript">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05307379 <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is');
seshukmb3a332a2018-10-05 16:27:16 +08007380
Priyadharshinic86ab4a2020-08-14 17:11:49 +05307381var api = new SoGuilinApIs.OnapsoinfracloudResourcesRequestsApi()
seshukmb3a332a2018-10-05 16:27:16 +08007382
tragait5e9676e2021-01-14 16:07:07 +00007383var requestId = requestId_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +08007384
tragait5e9676e2021-01-14 16:07:07 +00007385var version = version_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +08007386
tragait5e9676e2021-01-14 16:07:07 +00007387var opts = {
7388 'body': body_example // {String}
seshukmb3a332a2018-10-05 16:27:16 +08007389};
7390
7391var callback = function(error, data, response) {
7392 if (error) {
7393 console.error(error);
7394 } else {
7395 console.log('API called successfully.');
7396 }
7397};
7398api.unlockOrchestrationRequestForReqId(requestId, version, opts, callback);
7399</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00007400 </div>
seshukmb3a332a2018-10-05 16:27:16 +08007401
tragait5e9676e2021-01-14 16:07:07 +00007402 <!--<div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-angular">
seshukmb3a332a2018-10-05 16:27:16 +08007403 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
7404 </div>-->
tragait5e9676e2021-01-14 16:07:07 +00007405 <div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-csharp">
seshukmb3a332a2018-10-05 16:27:16 +08007406 <pre class="prettyprint"><code class="language-cs">using System;
7407using System.Diagnostics;
7408using IO.Swagger.Api;
7409using IO.Swagger.Client;
7410using IO.Swagger.Model;
7411
7412namespace Example
7413{
7414 public class unlockOrchestrationRequestForReqIdExample
7415 {
7416 public void main()
7417 {
tragait5e9676e2021-01-14 16:07:07 +00007418
seshukmb3a332a2018-10-05 16:27:16 +08007419 var apiInstance = new OnapsoinfracloudResourcesRequestsApi();
tragait5e9676e2021-01-14 16:07:07 +00007420 var requestId = requestId_example; // String |
7421 var version = version_example; // String |
7422 var body = body_example; // String | (optional)
seshukmb3a332a2018-10-05 16:27:16 +08007423
7424 try
7425 {
7426 // Unlock CloudOrchestration requests for a specified requestId
7427 apiInstance.unlockOrchestrationRequestForReqId(requestId, version, body);
7428 }
7429 catch (Exception e)
7430 {
7431 Debug.Print("Exception when calling OnapsoinfracloudResourcesRequestsApi.unlockOrchestrationRequestForReqId: " + e.Message );
7432 }
7433 }
7434 }
7435}
7436</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00007437 </div>
seshukmb3a332a2018-10-05 16:27:16 +08007438
tragait5e9676e2021-01-14 16:07:07 +00007439 <div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-php">
seshukmb3a332a2018-10-05 16:27:16 +08007440 <pre class="prettyprint"><code class="language-php"><&#63;php
7441require_once(__DIR__ . '/vendor/autoload.php');
7442
7443$api_instance = new Swagger\Client\Api\OnapsoinfracloudResourcesRequestsApi();
tragait5e9676e2021-01-14 16:07:07 +00007444$requestId = requestId_example; // String |
7445$version = version_example; // String |
7446$body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +08007447
7448try {
7449 $api_instance->unlockOrchestrationRequestForReqId($requestId, $version, $body);
7450} catch (Exception $e) {
7451 echo 'Exception when calling OnapsoinfracloudResourcesRequestsApi->unlockOrchestrationRequestForReqId: ', $e->getMessage(), PHP_EOL;
7452}
7453?></code></pre>
tragait5e9676e2021-01-14 16:07:07 +00007454 </div>
seshukmb3a332a2018-10-05 16:27:16 +08007455
tragait5e9676e2021-01-14 16:07:07 +00007456 <div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-perl">
seshukmb3a332a2018-10-05 16:27:16 +08007457 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
7458use WWW::SwaggerClient::Configuration;
7459use WWW::SwaggerClient::OnapsoinfracloudResourcesRequestsApi;
7460
7461my $api_instance = WWW::SwaggerClient::OnapsoinfracloudResourcesRequestsApi->new();
tragait5e9676e2021-01-14 16:07:07 +00007462my $requestId = requestId_example; # String |
7463my $version = version_example; # String |
7464my $body = WWW::SwaggerClient::Object::String->new(); # String |
seshukmb3a332a2018-10-05 16:27:16 +08007465
tragait5e9676e2021-01-14 16:07:07 +00007466eval {
seshukmb3a332a2018-10-05 16:27:16 +08007467 $api_instance->unlockOrchestrationRequestForReqId(requestId => $requestId, version => $version, body => $body);
7468};
7469if ($@) {
7470 warn "Exception when calling OnapsoinfracloudResourcesRequestsApi->unlockOrchestrationRequestForReqId: $@\n";
7471}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00007472 </div>
seshukmb3a332a2018-10-05 16:27:16 +08007473
tragait5e9676e2021-01-14 16:07:07 +00007474 <div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-python">
seshukmb3a332a2018-10-05 16:27:16 +08007475 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
7476import time
7477import swagger_client
7478from swagger_client.rest import ApiException
7479from pprint import pprint
7480
7481# create an instance of the API class
7482api_instance = swagger_client.OnapsoinfracloudResourcesRequestsApi()
tragait5e9676e2021-01-14 16:07:07 +00007483requestId = requestId_example # String |
7484version = version_example # String |
seshukmb3a332a2018-10-05 16:27:16 +08007485body = body_example # String | (optional)
7486
tragait5e9676e2021-01-14 16:07:07 +00007487try:
seshukmb3a332a2018-10-05 16:27:16 +08007488 # Unlock CloudOrchestration requests for a specified requestId
7489 api_instance.unlock_orchestration_request_for_req_id(requestId, version, body=body)
7490except ApiException as e:
7491 print("Exception when calling OnapsoinfracloudResourcesRequestsApi->unlockOrchestrationRequestForReqId: %s\n" % e)</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00007492 </div>
seshukmb3a332a2018-10-05 16:27:16 +08007493 </div>
seshukmb3a332a2018-10-05 16:27:16 +08007494
tragait5e9676e2021-01-14 16:07:07 +00007495 <h2>Parameters</h2>
seshukmb3a332a2018-10-05 16:27:16 +08007496
7497 <div class="methodsubtabletitle">Path parameters</div>
7498 <table id="methodsubtable">
7499 <tr>
tragait5e9676e2021-01-14 16:07:07 +00007500 <th width="150px">Name</th>
7501 <th>Description</th>
seshukmb3a332a2018-10-05 16:27:16 +08007502 </tr>
tragait5e9676e2021-01-14 16:07:07 +00007503 <tr><td style="width:150px;">requestId*</td>
7504 <td>
seshukmb3a332a2018-10-05 16:27:16 +08007505
7506
tragait5e9676e2021-01-14 16:07:07 +00007507 <div id="d2e199_unlockOrchestrationRequestForReqId_requestId">
7508 <div class="json-schema-view">
7509 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +08007510 <span class="type">
7511 String
7512 </span>
7513
tragait5e9676e2021-01-14 16:07:07 +00007514 </div>
7515 <div class="inner required">
7516 Required
7517 </div>
7518 </div>
7519 </div>
7520 </td>
7521 </tr>
seshukmb3a332a2018-10-05 16:27:16 +08007522
tragait5e9676e2021-01-14 16:07:07 +00007523 <tr><td style="width:150px;">version*</td>
7524 <td>
seshukmb3a332a2018-10-05 16:27:16 +08007525
7526
tragait5e9676e2021-01-14 16:07:07 +00007527 <div id="d2e199_unlockOrchestrationRequestForReqId_version">
7528 <div class="json-schema-view">
7529 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +08007530 <span class="type">
7531 String
7532 </span>
7533
tragait5e9676e2021-01-14 16:07:07 +00007534 </div>
7535 <div class="inner required">
7536 Required
7537 </div>
7538 </div>
7539 </div>
7540 </td>
7541 </tr>
seshukmb3a332a2018-10-05 16:27:16 +08007542
7543 </table>
7544
7545
7546 <div class="methodsubtabletitle">Body parameters</div>
7547 <table id="methodsubtable">
tragait5e9676e2021-01-14 16:07:07 +00007548 <tr>
7549 <th width="150px">Name</th>
7550 <th>Description</th>
7551 </tr>
seshukmb3a332a2018-10-05 16:27:16 +08007552 <tr><td style="width:150px;">body </td>
tragait5e9676e2021-01-14 16:07:07 +00007553 <td>
seshukmb3a332a2018-10-05 16:27:16 +08007554
7555
tragait5e9676e2021-01-14 16:07:07 +00007556 <script>
seshukmb3a332a2018-10-05 16:27:16 +08007557$(document).ready(function() {
7558 var schemaWrapper = {
7559 "in" : "body",
7560 "name" : "body",
7561 "required" : false,
7562 "schema" : {
7563 "type" : "string"
7564 }
7565};
7566 var schema = schemaWrapper.schema;
7567 if (schema.$ref != null) {
7568 schema = defsParser.$refs.get(schema.$ref);
7569 } else {
7570 schemaWrapper.definitions = Object.assign({}, defs);
7571 $RefParser.dereference(schemaWrapper).catch(function(err) {
7572 console.log(err);
7573 });
7574 }
7575
7576 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
7577 var result = $('#d2e199_unlockOrchestrationRequestForReqId_body');
7578 result.empty();
7579 result.append(view.render());
7580});
7581</script>
tragait5e9676e2021-01-14 16:07:07 +00007582 <div id="d2e199_unlockOrchestrationRequestForReqId_body"></div>
7583 </td>
7584 </tr>
seshukmb3a332a2018-10-05 16:27:16 +08007585
7586 </table>
7587
7588
7589
tragait5e9676e2021-01-14 16:07:07 +00007590 <h2>Responses</h2>
seshukmb3a332a2018-10-05 16:27:16 +08007591 <h3> Status: default - successful operation </h3>
7592
7593 <ul class="nav nav-tabs nav-tabs-examples" >
7594 </ul>
7595
7596 <div class="tab-content" style='margin-bottom: 10px;'>
7597 </div>
7598
7599 </article>
tragait5e9676e2021-01-14 16:07:07 +00007600 </div>
7601 <hr>
7602 </section>
rameshiyer27553bc772020-08-25 16:49:34 +01007603 <section id="api-OnapsoinfrainstanceManagement">
tragait5e9676e2021-01-14 16:07:07 +00007604 <h1>OnapsoinfrainstanceManagement</h1>
7605 <div id="api-OnapsoinfrainstanceManagement-executePNFCustomWorkflow">
7606 <article id="api-OnapsoinfrainstanceManagement-executePNFCustomWorkflow-0" data-group="User" data-name="executePNFCustomWorkflow" data-version="0">
7607 <div class="pull-left">
7608 <h1>executePNFCustomWorkflow</h1>
7609 <p>Executing download/activate custom workflow</p>
7610 </div>
7611 <div class="pull-right"></div>
7612 <div class="clearfix"></div>
7613 <p></p>
7614 <p class="marked"></p>
7615 <p></p>
7616 <br />
7617 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/instanceManagement/{version}/serviceInstances/{serviceInstanceId}/pnfs/${pnfName}/workflows/${workflow_UUID}</span></code></pre>
7618 <p>
7619 <h3>Usage and SDK Samples</h3>
7620 </p>
7621 <ul class="nav nav-tabs nav-tabs-examples">
7622 <li class="active"><a href="#examples-OnapsoinfrainstanceManagement-executePNFCustomWorkflow-0-curl">Curl</a></li>
7623 <li class=""><a href="#examples-OnapsoinfrainstanceManagement-executePNFCustomWorkflow-0-java">Java</a></li>
7624 <li class=""><a href="#examples-OnapsoinfrainstanceManagement-executePNFCustomWorkflow-0-android">Android</a></li>
7625 <!--<li class=""><a href="#examples-OnapsoinfrainstanceManagement-executePNFCustomWorkflow-0-groovy">Groovy</a></li>-->
7626 <li class=""><a href="#examples-OnapsoinfrainstanceManagement-executePNFCustomWorkflow-0-objc">Obj-C</a></li>
7627 <li class=""><a href="#examples-OnapsoinfrainstanceManagement-executePNFCustomWorkflow-0-javascript">JavaScript</a></li>
7628 <!--<li class=""><a href="#examples-OnapsoinfrainstanceManagement-executePNFCustomWorkflow-0-angular">Angular</a></li>-->
7629 <li class=""><a href="#examples-OnapsoinfrainstanceManagement-executePNFCustomWorkflow-0-csharp">C#</a></li>
7630 <li class=""><a href="#examples-OnapsoinfrainstanceManagement-executePNFCustomWorkflow-0-php">PHP</a></li>
7631 <li class=""><a href="#examples-OnapsoinfrainstanceManagement-executePNFCustomWorkflow-0-perl">Perl</a></li>
7632 <li class=""><a href="#examples-OnapsoinfrainstanceManagement-executePNFCustomWorkflow-0-python">Python</a></li>
7633 </ul>
rameshiyer27553bc772020-08-25 16:49:34 +01007634
tragait5e9676e2021-01-14 16:07:07 +00007635 <div class="tab-content">
7636 <div class="tab-pane active" id="examples-OnapsoinfrainstanceManagement-executePNFCustomWorkflow-0-curl">
7637 <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/instanceManagement/{version}/serviceInstances/{serviceInstanceId}/pnfs/${pnfName}/workflows/${workflow_UUID}"</code></pre>
7638 </div>
7639 <div class="tab-pane" id="examples-OnapsoinfrainstanceManagement-executePNFCustomWorkflow-0-java">
rameshiyer27553bc772020-08-25 16:49:34 +01007640 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
7641import io.swagger.client.auth.*;
7642import io.swagger.client.model.*;
7643import io.swagger.client.api.OnapsoinfrainstanceManagementApi;
7644
7645import java.io.File;
7646import java.util.*;
7647
7648public class OnapsoinfrainstanceManagementApiExample {
7649
7650 public static void main(String[] args) {
tragait5e9676e2021-01-14 16:07:07 +00007651
rameshiyer27553bc772020-08-25 16:49:34 +01007652 OnapsoinfrainstanceManagementApi apiInstance = new OnapsoinfrainstanceManagementApi();
tragait5e9676e2021-01-14 16:07:07 +00007653 String version = version_example; // String |
7654 String serviceInstanceId = serviceInstanceId_example; // String |
7655 String pnfName = pnfName_example; // String |
7656 String workflowUUID = workflowUUID_example; // String |
7657 PNFCustomWorkflowExecution body = ; // PNFCustomWorkflowExecution |
rameshiyer27553bc772020-08-25 16:49:34 +01007658 try {
tragait5e9676e2021-01-14 16:07:07 +00007659 apiInstance.executePNFCustomWorkflow(version, serviceInstanceId, pnfName, workflowUUID, body);
rameshiyer27553bc772020-08-25 16:49:34 +01007660 } catch (ApiException e) {
tragait5e9676e2021-01-14 16:07:07 +00007661 System.err.println("Exception when calling OnapsoinfrainstanceManagementApi#executePNFCustomWorkflow");
rameshiyer27553bc772020-08-25 16:49:34 +01007662 e.printStackTrace();
7663 }
7664 }
7665}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00007666 </div>
rameshiyer27553bc772020-08-25 16:49:34 +01007667
tragait5e9676e2021-01-14 16:07:07 +00007668 <div class="tab-pane" id="examples-OnapsoinfrainstanceManagement-executePNFCustomWorkflow-0-android">
rameshiyer27553bc772020-08-25 16:49:34 +01007669 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfrainstanceManagementApi;
7670
7671public class OnapsoinfrainstanceManagementApiExample {
7672
7673 public static void main(String[] args) {
7674 OnapsoinfrainstanceManagementApi apiInstance = new OnapsoinfrainstanceManagementApi();
tragait5e9676e2021-01-14 16:07:07 +00007675 String version = version_example; // String |
7676 String serviceInstanceId = serviceInstanceId_example; // String |
7677 String pnfName = pnfName_example; // String |
7678 String workflowUUID = workflowUUID_example; // String |
7679 PNFCustomWorkflowExecution body = ; // PNFCustomWorkflowExecution |
7680 try {
7681 apiInstance.executePNFCustomWorkflow(version, serviceInstanceId, pnfName, workflowUUID, body);
7682 } catch (ApiException e) {
7683 System.err.println("Exception when calling OnapsoinfrainstanceManagementApi#executePNFCustomWorkflow");
7684 e.printStackTrace();
7685 }
7686 }
7687}</code></pre>
7688 </div>
7689 <!--
7690 <div class="tab-pane" id="examples-OnapsoinfrainstanceManagement-executePNFCustomWorkflow-0-groovy">
7691 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
7692 </div> -->
7693 <div class="tab-pane" id="examples-OnapsoinfrainstanceManagement-executePNFCustomWorkflow-0-objc">
7694 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
7695String *serviceInstanceId = serviceInstanceId_example; //
7696String *pnfName = pnfName_example; //
7697String *workflowUUID = workflowUUID_example; //
7698PNFCustomWorkflowExecution *body = ; // (optional)
7699
7700OnapsoinfrainstanceManagementApi *apiInstance = [[OnapsoinfrainstanceManagementApi alloc] init];
7701
7702// Executing download/activate custom workflow
7703[apiInstance executePNFCustomWorkflowWith:version
7704 serviceInstanceId:serviceInstanceId
7705 pnfName:pnfName
7706 workflowUUID:workflowUUID
7707 body:body
7708 completionHandler: ^(NSError* error) {
7709 if (error) {
7710 NSLog(@"Error: %@", error);
7711 }
7712 }];
7713</code></pre>
7714 </div>
7715
7716 <div class="tab-pane" id="examples-OnapsoinfrainstanceManagement-executePNFCustomWorkflow-0-javascript">
7717 <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is');
7718
7719var api = new SoGuilinApIs.OnapsoinfrainstanceManagementApi()
7720
7721var version = version_example; // {String}
7722
7723var serviceInstanceId = serviceInstanceId_example; // {String}
7724
7725var pnfName = pnfName_example; // {String}
7726
7727var workflowUUID = workflowUUID_example; // {String}
7728
7729var opts = {
7730 'body': // {PNFCustomWorkflowExecution}
7731};
7732
7733var callback = function(error, data, response) {
7734 if (error) {
7735 console.error(error);
7736 } else {
7737 console.log('API called successfully.');
7738 }
7739};
7740api.executePNFCustomWorkflow(version, serviceInstanceId, pnfName, workflowUUID, opts, callback);
7741</code></pre>
7742 </div>
7743
7744 <!--<div class="tab-pane" id="examples-OnapsoinfrainstanceManagement-executePNFCustomWorkflow-0-angular">
7745 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
7746 </div>-->
7747 <div class="tab-pane" id="examples-OnapsoinfrainstanceManagement-executePNFCustomWorkflow-0-csharp">
7748 <pre class="prettyprint"><code class="language-cs">using System;
7749using System.Diagnostics;
7750using IO.Swagger.Api;
7751using IO.Swagger.Client;
7752using IO.Swagger.Model;
7753
7754namespace Example
7755{
7756 public class executePNFCustomWorkflowExample
7757 {
7758 public void main()
7759 {
7760
7761 var apiInstance = new OnapsoinfrainstanceManagementApi();
7762 var version = version_example; // String |
7763 var serviceInstanceId = serviceInstanceId_example; // String |
7764 var pnfName = pnfName_example; // String |
7765 var workflowUUID = workflowUUID_example; // String |
7766 var body = new PNFCustomWorkflowExecution(); // PNFCustomWorkflowExecution | (optional)
7767
7768 try
7769 {
7770 // Executing download/activate custom workflow
7771 apiInstance.executePNFCustomWorkflow(version, serviceInstanceId, pnfName, workflowUUID, body);
7772 }
7773 catch (Exception e)
7774 {
7775 Debug.Print("Exception when calling OnapsoinfrainstanceManagementApi.executePNFCustomWorkflow: " + e.Message );
7776 }
7777 }
7778 }
7779}
7780</code></pre>
7781 </div>
7782
7783 <div class="tab-pane" id="examples-OnapsoinfrainstanceManagement-executePNFCustomWorkflow-0-php">
7784 <pre class="prettyprint"><code class="language-php"><&#63;php
7785require_once(__DIR__ . '/vendor/autoload.php');
7786
7787$api_instance = new Swagger\Client\Api\OnapsoinfrainstanceManagementApi();
7788$version = version_example; // String |
7789$serviceInstanceId = serviceInstanceId_example; // String |
7790$pnfName = pnfName_example; // String |
7791$workflowUUID = workflowUUID_example; // String |
7792$body = ; // PNFCustomWorkflowExecution |
7793
7794try {
7795 $api_instance->executePNFCustomWorkflow($version, $serviceInstanceId, $pnfName, $workflowUUID, $body);
7796} catch (Exception $e) {
7797 echo 'Exception when calling OnapsoinfrainstanceManagementApi->executePNFCustomWorkflow: ', $e->getMessage(), PHP_EOL;
7798}
7799?></code></pre>
7800 </div>
7801
7802 <div class="tab-pane" id="examples-OnapsoinfrainstanceManagement-executePNFCustomWorkflow-0-perl">
7803 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
7804use WWW::SwaggerClient::Configuration;
7805use WWW::SwaggerClient::OnapsoinfrainstanceManagementApi;
7806
7807my $api_instance = WWW::SwaggerClient::OnapsoinfrainstanceManagementApi->new();
7808my $version = version_example; # String |
7809my $serviceInstanceId = serviceInstanceId_example; # String |
7810my $pnfName = pnfName_example; # String |
7811my $workflowUUID = workflowUUID_example; # String |
7812my $body = WWW::SwaggerClient::Object::PNFCustomWorkflowExecution->new(); # PNFCustomWorkflowExecution |
7813
7814eval {
7815 $api_instance->executePNFCustomWorkflow(version => $version, serviceInstanceId => $serviceInstanceId, pnfName => $pnfName, workflowUUID => $workflowUUID, body => $body);
7816};
7817if ($@) {
7818 warn "Exception when calling OnapsoinfrainstanceManagementApi->executePNFCustomWorkflow: $@\n";
7819}</code></pre>
7820 </div>
7821
7822 <div class="tab-pane" id="examples-OnapsoinfrainstanceManagement-executePNFCustomWorkflow-0-python">
7823 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
7824import time
7825import swagger_client
7826from swagger_client.rest import ApiException
7827from pprint import pprint
7828
7829# create an instance of the API class
7830api_instance = swagger_client.OnapsoinfrainstanceManagementApi()
7831version = version_example # String |
7832serviceInstanceId = serviceInstanceId_example # String |
7833pnfName = pnfName_example # String |
7834workflowUUID = workflowUUID_example # String |
7835body = # PNFCustomWorkflowExecution | (optional)
7836
7837try:
7838 # Executing download/activate custom workflow
7839 api_instance.execute_pnf_custom_workflow(version, serviceInstanceId, pnfName, workflowUUID, body=body)
7840except ApiException as e:
7841 print("Exception when calling OnapsoinfrainstanceManagementApi->executePNFCustomWorkflow: %s\n" % e)</code></pre>
7842 </div>
7843 </div>
7844
7845 <h2>Parameters</h2>
7846
7847 <div class="methodsubtabletitle">Path parameters</div>
7848 <table id="methodsubtable">
7849 <tr>
7850 <th width="150px">Name</th>
7851 <th>Description</th>
7852 </tr>
7853 <tr><td style="width:150px;">version*</td>
7854 <td>
7855
7856
7857 <div id="d2e199_executePNFCustomWorkflow_version">
7858 <div class="json-schema-view">
7859 <div class="primitive">
7860 <span class="type">
7861 String
7862 </span>
7863
7864 </div>
7865 <div class="inner required">
7866 Required
7867 </div>
7868 </div>
7869 </div>
7870 </td>
7871 </tr>
7872
7873 <tr><td style="width:150px;">serviceInstanceId*</td>
7874 <td>
7875
7876
7877 <div id="d2e199_executePNFCustomWorkflow_serviceInstanceId">
7878 <div class="json-schema-view">
7879 <div class="primitive">
7880 <span class="type">
7881 String
7882 </span>
7883
7884 </div>
7885 <div class="inner required">
7886 Required
7887 </div>
7888 </div>
7889 </div>
7890 </td>
7891 </tr>
7892
7893 <tr><td style="width:150px;">pnfName*</td>
7894 <td>
7895
7896
7897 <div id="d2e199_executePNFCustomWorkflow_pnfName">
7898 <div class="json-schema-view">
7899 <div class="primitive">
7900 <span class="type">
7901 String
7902 </span>
7903
7904 </div>
7905 <div class="inner required">
7906 Required
7907 </div>
7908 </div>
7909 </div>
7910 </td>
7911 </tr>
7912
7913 <tr><td style="width:150px;">workflow_UUID*</td>
7914 <td>
7915
7916
7917 <div id="d2e199_executePNFCustomWorkflow_workflowUUID">
7918 <div class="json-schema-view">
7919 <div class="primitive">
7920 <span class="type">
7921 String
7922 </span>
7923
7924 </div>
7925 <div class="inner required">
7926 Required
7927 </div>
7928 </div>
7929 </div>
7930 </td>
7931 </tr>
7932
7933 </table>
7934
7935
7936 <div class="methodsubtabletitle">Body parameters</div>
7937 <table id="methodsubtable">
7938 <tr>
7939 <th width="150px">Name</th>
7940 <th>Description</th>
7941 </tr>
7942 <tr><td style="width:150px;">body </td>
7943 <td>
7944
7945
7946 <script>
7947$(document).ready(function() {
7948 var schemaWrapper = {
7949 "in" : "body",
7950 "name" : "body",
7951 "required" : false,
7952 "schema" : {
7953 "$ref" : "#/definitions/PNFCustomWorkflowExecution"
7954 }
7955};
7956 var schema = schemaWrapper.schema;
7957 if (schema.$ref != null) {
7958 schema = defsParser.$refs.get(schema.$ref);
7959 } else {
7960 schemaWrapper.definitions = Object.assign({}, defs);
7961 $RefParser.dereference(schemaWrapper).catch(function(err) {
7962 console.log(err);
7963 });
7964 }
7965
7966 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
7967 var result = $('#d2e199_executePNFCustomWorkflow_body');
7968 result.empty();
7969 result.append(view.render());
7970});
7971</script>
7972 <div id="d2e199_executePNFCustomWorkflow_body"></div>
7973 </td>
7974 </tr>
7975
7976 </table>
7977
7978
7979
7980 <h2>Responses</h2>
7981 <h3> Status: default - successful operation </h3>
7982
7983 <ul class="nav nav-tabs nav-tabs-examples" >
7984 </ul>
7985
7986 <div class="tab-content" style='margin-bottom: 10px;'>
7987 </div>
7988
7989 </article>
7990 </div>
7991 <hr>
7992 <div id="api-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow">
7993 <article id="api-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow-0" data-group="User" data-name="executeServiceLevelCustomWorkflow" data-version="0">
7994 <div class="pull-left">
7995 <h1>executeServiceLevelCustomWorkflow</h1>
7996 <p>Executing service level custom workflow</p>
7997 </div>
7998 <div class="pull-right"></div>
7999 <div class="clearfix"></div>
8000 <p></p>
8001 <p class="marked"></p>
8002 <p></p>
8003 <br />
8004 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/instanceManagement/{version}/serviceInstances/{serviceInstanceId}/workflows/{workflow_UUID}</span></code></pre>
8005 <p>
8006 <h3>Usage and SDK Samples</h3>
8007 </p>
8008 <ul class="nav nav-tabs nav-tabs-examples">
8009 <li class="active"><a href="#examples-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow-0-curl">Curl</a></li>
8010 <li class=""><a href="#examples-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow-0-java">Java</a></li>
8011 <li class=""><a href="#examples-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow-0-android">Android</a></li>
8012 <!--<li class=""><a href="#examples-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow-0-groovy">Groovy</a></li>-->
8013 <li class=""><a href="#examples-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow-0-objc">Obj-C</a></li>
8014 <li class=""><a href="#examples-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow-0-javascript">JavaScript</a></li>
8015 <!--<li class=""><a href="#examples-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow-0-angular">Angular</a></li>-->
8016 <li class=""><a href="#examples-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow-0-csharp">C#</a></li>
8017 <li class=""><a href="#examples-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow-0-php">PHP</a></li>
8018 <li class=""><a href="#examples-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow-0-perl">Perl</a></li>
8019 <li class=""><a href="#examples-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow-0-python">Python</a></li>
8020 </ul>
8021
8022 <div class="tab-content">
8023 <div class="tab-pane active" id="examples-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow-0-curl">
8024 <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/instanceManagement/{version}/serviceInstances/{serviceInstanceId}/workflows/{workflow_UUID}"</code></pre>
8025 </div>
8026 <div class="tab-pane" id="examples-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow-0-java">
8027 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
8028import io.swagger.client.auth.*;
8029import io.swagger.client.model.*;
8030import io.swagger.client.api.OnapsoinfrainstanceManagementApi;
8031
8032import java.io.File;
8033import java.util.*;
8034
8035public class OnapsoinfrainstanceManagementApiExample {
8036
8037 public static void main(String[] args) {
8038
8039 OnapsoinfrainstanceManagementApi apiInstance = new OnapsoinfrainstanceManagementApi();
8040 String version = version_example; // String |
8041 String serviceInstanceId = serviceInstanceId_example; // String |
8042 String workflowUUID = workflowUUID_example; // String |
8043 ServiceLevelWorkflowExecution body = ; // ServiceLevelWorkflowExecution |
rameshiyer27553bc772020-08-25 16:49:34 +01008044 try {
8045 apiInstance.executeServiceLevelCustomWorkflow(version, serviceInstanceId, workflowUUID, body);
8046 } catch (ApiException e) {
8047 System.err.println("Exception when calling OnapsoinfrainstanceManagementApi#executeServiceLevelCustomWorkflow");
8048 e.printStackTrace();
8049 }
8050 }
8051}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00008052 </div>
8053
8054 <div class="tab-pane" id="examples-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow-0-android">
8055 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfrainstanceManagementApi;
8056
8057public class OnapsoinfrainstanceManagementApiExample {
8058
8059 public static void main(String[] args) {
8060 OnapsoinfrainstanceManagementApi apiInstance = new OnapsoinfrainstanceManagementApi();
8061 String version = version_example; // String |
8062 String serviceInstanceId = serviceInstanceId_example; // String |
8063 String workflowUUID = workflowUUID_example; // String |
8064 ServiceLevelWorkflowExecution body = ; // ServiceLevelWorkflowExecution |
8065 try {
8066 apiInstance.executeServiceLevelCustomWorkflow(version, serviceInstanceId, workflowUUID, body);
8067 } catch (ApiException e) {
8068 System.err.println("Exception when calling OnapsoinfrainstanceManagementApi#executeServiceLevelCustomWorkflow");
8069 e.printStackTrace();
8070 }
8071 }
8072}</code></pre>
8073 </div>
8074 <!--
rameshiyer27553bc772020-08-25 16:49:34 +01008075 <div class="tab-pane" id="examples-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow-0-groovy">
8076 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
8077 </div> -->
tragait5e9676e2021-01-14 16:07:07 +00008078 <div class="tab-pane" id="examples-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow-0-objc">
8079 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
8080String *serviceInstanceId = serviceInstanceId_example; //
8081String *workflowUUID = workflowUUID_example; //
rameshiyer27553bc772020-08-25 16:49:34 +01008082ServiceLevelWorkflowExecution *body = ; // (optional)
8083
8084OnapsoinfrainstanceManagementApi *apiInstance = [[OnapsoinfrainstanceManagementApi alloc] init];
8085
8086// Executing service level custom workflow
8087[apiInstance executeServiceLevelCustomWorkflowWith:version
8088 serviceInstanceId:serviceInstanceId
8089 workflowUUID:workflowUUID
8090 body:body
8091 completionHandler: ^(NSError* error) {
8092 if (error) {
8093 NSLog(@"Error: %@", error);
8094 }
8095 }];
8096</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00008097 </div>
rameshiyer27553bc772020-08-25 16:49:34 +01008098
tragait5e9676e2021-01-14 16:07:07 +00008099 <div class="tab-pane" id="examples-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow-0-javascript">
rameshiyer27553bc772020-08-25 16:49:34 +01008100 <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is');
8101
8102var api = new SoGuilinApIs.OnapsoinfrainstanceManagementApi()
8103
tragait5e9676e2021-01-14 16:07:07 +00008104var version = version_example; // {String}
rameshiyer27553bc772020-08-25 16:49:34 +01008105
tragait5e9676e2021-01-14 16:07:07 +00008106var serviceInstanceId = serviceInstanceId_example; // {String}
rameshiyer27553bc772020-08-25 16:49:34 +01008107
tragait5e9676e2021-01-14 16:07:07 +00008108var workflowUUID = workflowUUID_example; // {String}
rameshiyer27553bc772020-08-25 16:49:34 +01008109
tragait5e9676e2021-01-14 16:07:07 +00008110var opts = {
8111 'body': // {ServiceLevelWorkflowExecution}
rameshiyer27553bc772020-08-25 16:49:34 +01008112};
8113
8114var callback = function(error, data, response) {
8115 if (error) {
8116 console.error(error);
8117 } else {
8118 console.log('API called successfully.');
8119 }
8120};
8121api.executeServiceLevelCustomWorkflow(version, serviceInstanceId, workflowUUID, opts, callback);
8122</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00008123 </div>
rameshiyer27553bc772020-08-25 16:49:34 +01008124
tragait5e9676e2021-01-14 16:07:07 +00008125 <!--<div class="tab-pane" id="examples-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow-0-angular">
rameshiyer27553bc772020-08-25 16:49:34 +01008126 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
8127 </div>-->
tragait5e9676e2021-01-14 16:07:07 +00008128 <div class="tab-pane" id="examples-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow-0-csharp">
rameshiyer27553bc772020-08-25 16:49:34 +01008129 <pre class="prettyprint"><code class="language-cs">using System;
8130using System.Diagnostics;
8131using IO.Swagger.Api;
8132using IO.Swagger.Client;
8133using IO.Swagger.Model;
8134
8135namespace Example
8136{
8137 public class executeServiceLevelCustomWorkflowExample
8138 {
8139 public void main()
8140 {
tragait5e9676e2021-01-14 16:07:07 +00008141
rameshiyer27553bc772020-08-25 16:49:34 +01008142 var apiInstance = new OnapsoinfrainstanceManagementApi();
tragait5e9676e2021-01-14 16:07:07 +00008143 var version = version_example; // String |
8144 var serviceInstanceId = serviceInstanceId_example; // String |
8145 var workflowUUID = workflowUUID_example; // String |
8146 var body = new ServiceLevelWorkflowExecution(); // ServiceLevelWorkflowExecution | (optional)
rameshiyer27553bc772020-08-25 16:49:34 +01008147
8148 try
8149 {
8150 // Executing service level custom workflow
8151 apiInstance.executeServiceLevelCustomWorkflow(version, serviceInstanceId, workflowUUID, body);
8152 }
8153 catch (Exception e)
8154 {
8155 Debug.Print("Exception when calling OnapsoinfrainstanceManagementApi.executeServiceLevelCustomWorkflow: " + e.Message );
8156 }
8157 }
8158 }
8159}
8160</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00008161 </div>
rameshiyer27553bc772020-08-25 16:49:34 +01008162
tragait5e9676e2021-01-14 16:07:07 +00008163 <div class="tab-pane" id="examples-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow-0-php">
rameshiyer27553bc772020-08-25 16:49:34 +01008164 <pre class="prettyprint"><code class="language-php"><&#63;php
8165require_once(__DIR__ . '/vendor/autoload.php');
8166
8167$api_instance = new Swagger\Client\Api\OnapsoinfrainstanceManagementApi();
tragait5e9676e2021-01-14 16:07:07 +00008168$version = version_example; // String |
8169$serviceInstanceId = serviceInstanceId_example; // String |
8170$workflowUUID = workflowUUID_example; // String |
8171$body = ; // ServiceLevelWorkflowExecution |
rameshiyer27553bc772020-08-25 16:49:34 +01008172
8173try {
8174 $api_instance->executeServiceLevelCustomWorkflow($version, $serviceInstanceId, $workflowUUID, $body);
8175} catch (Exception $e) {
8176 echo 'Exception when calling OnapsoinfrainstanceManagementApi->executeServiceLevelCustomWorkflow: ', $e->getMessage(), PHP_EOL;
8177}
8178?></code></pre>
tragait5e9676e2021-01-14 16:07:07 +00008179 </div>
rameshiyer27553bc772020-08-25 16:49:34 +01008180
tragait5e9676e2021-01-14 16:07:07 +00008181 <div class="tab-pane" id="examples-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow-0-perl">
rameshiyer27553bc772020-08-25 16:49:34 +01008182 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
8183use WWW::SwaggerClient::Configuration;
8184use WWW::SwaggerClient::OnapsoinfrainstanceManagementApi;
8185
8186my $api_instance = WWW::SwaggerClient::OnapsoinfrainstanceManagementApi->new();
tragait5e9676e2021-01-14 16:07:07 +00008187my $version = version_example; # String |
8188my $serviceInstanceId = serviceInstanceId_example; # String |
8189my $workflowUUID = workflowUUID_example; # String |
8190my $body = WWW::SwaggerClient::Object::ServiceLevelWorkflowExecution->new(); # ServiceLevelWorkflowExecution |
rameshiyer27553bc772020-08-25 16:49:34 +01008191
tragait5e9676e2021-01-14 16:07:07 +00008192eval {
rameshiyer27553bc772020-08-25 16:49:34 +01008193 $api_instance->executeServiceLevelCustomWorkflow(version => $version, serviceInstanceId => $serviceInstanceId, workflowUUID => $workflowUUID, body => $body);
8194};
8195if ($@) {
8196 warn "Exception when calling OnapsoinfrainstanceManagementApi->executeServiceLevelCustomWorkflow: $@\n";
8197}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00008198 </div>
rameshiyer27553bc772020-08-25 16:49:34 +01008199
tragait5e9676e2021-01-14 16:07:07 +00008200 <div class="tab-pane" id="examples-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow-0-python">
rameshiyer27553bc772020-08-25 16:49:34 +01008201 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
8202import time
8203import swagger_client
8204from swagger_client.rest import ApiException
8205from pprint import pprint
8206
8207# create an instance of the API class
8208api_instance = swagger_client.OnapsoinfrainstanceManagementApi()
tragait5e9676e2021-01-14 16:07:07 +00008209version = version_example # String |
8210serviceInstanceId = serviceInstanceId_example # String |
8211workflowUUID = workflowUUID_example # String |
rameshiyer27553bc772020-08-25 16:49:34 +01008212body = # ServiceLevelWorkflowExecution | (optional)
8213
tragait5e9676e2021-01-14 16:07:07 +00008214try:
rameshiyer27553bc772020-08-25 16:49:34 +01008215 # Executing service level custom workflow
8216 api_instance.execute_service_level_custom_workflow(version, serviceInstanceId, workflowUUID, body=body)
8217except ApiException as e:
8218 print("Exception when calling OnapsoinfrainstanceManagementApi->executeServiceLevelCustomWorkflow: %s\n" % e)</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00008219 </div>
rameshiyer27553bc772020-08-25 16:49:34 +01008220 </div>
rameshiyer27553bc772020-08-25 16:49:34 +01008221
tragait5e9676e2021-01-14 16:07:07 +00008222 <h2>Parameters</h2>
rameshiyer27553bc772020-08-25 16:49:34 +01008223
8224 <div class="methodsubtabletitle">Path parameters</div>
8225 <table id="methodsubtable">
8226 <tr>
tragait5e9676e2021-01-14 16:07:07 +00008227 <th width="150px">Name</th>
8228 <th>Description</th>
rameshiyer27553bc772020-08-25 16:49:34 +01008229 </tr>
tragait5e9676e2021-01-14 16:07:07 +00008230 <tr><td style="width:150px;">version*</td>
8231 <td>
rameshiyer27553bc772020-08-25 16:49:34 +01008232
8233
tragait5e9676e2021-01-14 16:07:07 +00008234 <div id="d2e199_executeServiceLevelCustomWorkflow_version">
8235 <div class="json-schema-view">
8236 <div class="primitive">
rameshiyer27553bc772020-08-25 16:49:34 +01008237 <span class="type">
8238 String
8239 </span>
8240
tragait5e9676e2021-01-14 16:07:07 +00008241 </div>
8242 <div class="inner required">
8243 Required
8244 </div>
8245 </div>
8246 </div>
8247 </td>
8248 </tr>
rameshiyer27553bc772020-08-25 16:49:34 +01008249
tragait5e9676e2021-01-14 16:07:07 +00008250 <tr><td style="width:150px;">serviceInstanceId*</td>
8251 <td>
rameshiyer27553bc772020-08-25 16:49:34 +01008252
8253
tragait5e9676e2021-01-14 16:07:07 +00008254 <div id="d2e199_executeServiceLevelCustomWorkflow_serviceInstanceId">
8255 <div class="json-schema-view">
8256 <div class="primitive">
rameshiyer27553bc772020-08-25 16:49:34 +01008257 <span class="type">
8258 String
8259 </span>
8260
tragait5e9676e2021-01-14 16:07:07 +00008261 </div>
8262 <div class="inner required">
8263 Required
8264 </div>
8265 </div>
8266 </div>
8267 </td>
8268 </tr>
rameshiyer27553bc772020-08-25 16:49:34 +01008269
tragait5e9676e2021-01-14 16:07:07 +00008270 <tr><td style="width:150px;">workflow_UUID*</td>
8271 <td>
rameshiyer27553bc772020-08-25 16:49:34 +01008272
8273
tragait5e9676e2021-01-14 16:07:07 +00008274 <div id="d2e199_executeServiceLevelCustomWorkflow_workflowUUID">
8275 <div class="json-schema-view">
8276 <div class="primitive">
rameshiyer27553bc772020-08-25 16:49:34 +01008277 <span class="type">
8278 String
8279 </span>
8280
tragait5e9676e2021-01-14 16:07:07 +00008281 </div>
8282 <div class="inner required">
8283 Required
8284 </div>
8285 </div>
8286 </div>
8287 </td>
8288 </tr>
rameshiyer27553bc772020-08-25 16:49:34 +01008289
8290 </table>
8291
8292
8293 <div class="methodsubtabletitle">Body parameters</div>
8294 <table id="methodsubtable">
tragait5e9676e2021-01-14 16:07:07 +00008295 <tr>
8296 <th width="150px">Name</th>
8297 <th>Description</th>
8298 </tr>
rameshiyer27553bc772020-08-25 16:49:34 +01008299 <tr><td style="width:150px;">body </td>
tragait5e9676e2021-01-14 16:07:07 +00008300 <td>
rameshiyer27553bc772020-08-25 16:49:34 +01008301
8302
tragait5e9676e2021-01-14 16:07:07 +00008303 <script>
rameshiyer27553bc772020-08-25 16:49:34 +01008304$(document).ready(function() {
8305 var schemaWrapper = {
8306 "in" : "body",
8307 "name" : "body",
8308 "required" : false,
8309 "schema" : {
8310 "$ref" : "#/definitions/ServiceLevelWorkflowExecution"
8311 }
8312};
8313 var schema = schemaWrapper.schema;
8314 if (schema.$ref != null) {
8315 schema = defsParser.$refs.get(schema.$ref);
8316 } else {
8317 schemaWrapper.definitions = Object.assign({}, defs);
8318 $RefParser.dereference(schemaWrapper).catch(function(err) {
8319 console.log(err);
8320 });
8321 }
8322
8323 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
8324 var result = $('#d2e199_executeServiceLevelCustomWorkflow_body');
8325 result.empty();
8326 result.append(view.render());
8327});
8328</script>
tragait5e9676e2021-01-14 16:07:07 +00008329 <div id="d2e199_executeServiceLevelCustomWorkflow_body"></div>
8330 </td>
8331 </tr>
rameshiyer27553bc772020-08-25 16:49:34 +01008332
8333 </table>
8334
8335
8336
tragait5e9676e2021-01-14 16:07:07 +00008337 <h2>Responses</h2>
rameshiyer27553bc772020-08-25 16:49:34 +01008338 <h3> Status: default - successful operation </h3>
8339
8340 <ul class="nav nav-tabs nav-tabs-examples" >
8341 </ul>
8342
8343 <div class="tab-content" style='margin-bottom: 10px;'>
8344 </div>
8345
8346 </article>
tragait5e9676e2021-01-14 16:07:07 +00008347 </div>
8348 <hr>
8349 </section>
seshukmb3a332a2018-10-05 16:27:16 +08008350 <section id="api-OnapsoinframodelDistributions">
tragait5e9676e2021-01-14 16:07:07 +00008351 <h1>OnapsoinframodelDistributions</h1>
seshukmb3a332a2018-10-05 16:27:16 +08008352 <div id="api-OnapsoinframodelDistributions-updateModelDistributionStatus">
tragait5e9676e2021-01-14 16:07:07 +00008353 <article id="api-OnapsoinframodelDistributions-updateModelDistributionStatus-0" data-group="User" data-name="updateModelDistributionStatus" data-version="0">
8354 <div class="pull-left">
8355 <h1>updateModelDistributionStatus</h1>
8356 <p>Update model distribution status</p>
8357 </div>
8358 <div class="pull-right"></div>
8359 <div class="clearfix"></div>
8360 <p></p>
8361 <p class="marked"></p>
8362 <p></p>
8363 <br />
8364 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/modelDistributions/{version}/distributions/{distributionId}</span></code></pre>
8365 <p>
8366 <h3>Usage and SDK Samples</h3>
8367 </p>
8368 <ul class="nav nav-tabs nav-tabs-examples">
8369 <li class="active"><a href="#examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-curl">Curl</a></li>
8370 <li class=""><a href="#examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-java">Java</a></li>
8371 <li class=""><a href="#examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-android">Android</a></li>
8372 <!--<li class=""><a href="#examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-groovy">Groovy</a></li>-->
8373 <li class=""><a href="#examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-objc">Obj-C</a></li>
8374 <li class=""><a href="#examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-javascript">JavaScript</a></li>
8375 <!--<li class=""><a href="#examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-angular">Angular</a></li>-->
8376 <li class=""><a href="#examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-csharp">C#</a></li>
8377 <li class=""><a href="#examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-php">PHP</a></li>
8378 <li class=""><a href="#examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-perl">Perl</a></li>
8379 <li class=""><a href="#examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-python">Python</a></li>
8380 </ul>
seshukmb3a332a2018-10-05 16:27:16 +08008381
tragait5e9676e2021-01-14 16:07:07 +00008382 <div class="tab-content">
8383 <div class="tab-pane active" id="examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-curl">
8384 <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/modelDistributions/{version}/distributions/{distributionId}"</code></pre>
8385 </div>
8386 <div class="tab-pane" id="examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-java">
seshukmb3a332a2018-10-05 16:27:16 +08008387 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
8388import io.swagger.client.auth.*;
8389import io.swagger.client.model.*;
8390import io.swagger.client.api.OnapsoinframodelDistributionsApi;
8391
8392import java.io.File;
8393import java.util.*;
8394
8395public class OnapsoinframodelDistributionsApiExample {
8396
8397 public static void main(String[] args) {
tragait5e9676e2021-01-14 16:07:07 +00008398
seshukmb3a332a2018-10-05 16:27:16 +08008399 OnapsoinframodelDistributionsApi apiInstance = new OnapsoinframodelDistributionsApi();
tragait5e9676e2021-01-14 16:07:07 +00008400 String version = version_example; // String |
8401 String distributionId = distributionId_example; // String |
8402 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +08008403 try {
8404 apiInstance.updateModelDistributionStatus(version, distributionId, body);
8405 } catch (ApiException e) {
8406 System.err.println("Exception when calling OnapsoinframodelDistributionsApi#updateModelDistributionStatus");
8407 e.printStackTrace();
8408 }
8409 }
8410}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00008411 </div>
seshukmb3a332a2018-10-05 16:27:16 +08008412
tragait5e9676e2021-01-14 16:07:07 +00008413 <div class="tab-pane" id="examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-android">
seshukmb3a332a2018-10-05 16:27:16 +08008414 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinframodelDistributionsApi;
8415
8416public class OnapsoinframodelDistributionsApiExample {
8417
8418 public static void main(String[] args) {
8419 OnapsoinframodelDistributionsApi apiInstance = new OnapsoinframodelDistributionsApi();
tragait5e9676e2021-01-14 16:07:07 +00008420 String version = version_example; // String |
8421 String distributionId = distributionId_example; // String |
8422 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +08008423 try {
8424 apiInstance.updateModelDistributionStatus(version, distributionId, body);
8425 } catch (ApiException e) {
8426 System.err.println("Exception when calling OnapsoinframodelDistributionsApi#updateModelDistributionStatus");
8427 e.printStackTrace();
8428 }
8429 }
8430}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00008431 </div>
8432 <!--
seshukmb3a332a2018-10-05 16:27:16 +08008433 <div class="tab-pane" id="examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-groovy">
8434 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
8435 </div> -->
tragait5e9676e2021-01-14 16:07:07 +00008436 <div class="tab-pane" id="examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-objc">
8437 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
8438String *distributionId = distributionId_example; //
seshukmb3a332a2018-10-05 16:27:16 +08008439String *body = body_example; // (optional)
8440
8441OnapsoinframodelDistributionsApi *apiInstance = [[OnapsoinframodelDistributionsApi alloc] init];
8442
8443// Update model distribution status
8444[apiInstance updateModelDistributionStatusWith:version
8445 distributionId:distributionId
8446 body:body
8447 completionHandler: ^(NSError* error) {
8448 if (error) {
8449 NSLog(@"Error: %@", error);
8450 }
8451 }];
8452</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00008453 </div>
seshukmb3a332a2018-10-05 16:27:16 +08008454
tragait5e9676e2021-01-14 16:07:07 +00008455 <div class="tab-pane" id="examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-javascript">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05308456 <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is');
seshukmb3a332a2018-10-05 16:27:16 +08008457
Priyadharshinic86ab4a2020-08-14 17:11:49 +05308458var api = new SoGuilinApIs.OnapsoinframodelDistributionsApi()
seshukmb3a332a2018-10-05 16:27:16 +08008459
tragait5e9676e2021-01-14 16:07:07 +00008460var version = version_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +08008461
tragait5e9676e2021-01-14 16:07:07 +00008462var distributionId = distributionId_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +08008463
tragait5e9676e2021-01-14 16:07:07 +00008464var opts = {
8465 'body': body_example // {String}
seshukmb3a332a2018-10-05 16:27:16 +08008466};
8467
8468var callback = function(error, data, response) {
8469 if (error) {
8470 console.error(error);
8471 } else {
8472 console.log('API called successfully.');
8473 }
8474};
8475api.updateModelDistributionStatus(version, distributionId, opts, callback);
8476</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00008477 </div>
seshukmb3a332a2018-10-05 16:27:16 +08008478
tragait5e9676e2021-01-14 16:07:07 +00008479 <!--<div class="tab-pane" id="examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-angular">
seshukmb3a332a2018-10-05 16:27:16 +08008480 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
8481 </div>-->
tragait5e9676e2021-01-14 16:07:07 +00008482 <div class="tab-pane" id="examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-csharp">
seshukmb3a332a2018-10-05 16:27:16 +08008483 <pre class="prettyprint"><code class="language-cs">using System;
8484using System.Diagnostics;
8485using IO.Swagger.Api;
8486using IO.Swagger.Client;
8487using IO.Swagger.Model;
8488
8489namespace Example
8490{
8491 public class updateModelDistributionStatusExample
8492 {
8493 public void main()
8494 {
tragait5e9676e2021-01-14 16:07:07 +00008495
seshukmb3a332a2018-10-05 16:27:16 +08008496 var apiInstance = new OnapsoinframodelDistributionsApi();
tragait5e9676e2021-01-14 16:07:07 +00008497 var version = version_example; // String |
8498 var distributionId = distributionId_example; // String |
8499 var body = body_example; // String | (optional)
seshukmb3a332a2018-10-05 16:27:16 +08008500
8501 try
8502 {
8503 // Update model distribution status
8504 apiInstance.updateModelDistributionStatus(version, distributionId, body);
8505 }
8506 catch (Exception e)
8507 {
8508 Debug.Print("Exception when calling OnapsoinframodelDistributionsApi.updateModelDistributionStatus: " + e.Message );
8509 }
8510 }
8511 }
8512}
8513</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00008514 </div>
seshukmb3a332a2018-10-05 16:27:16 +08008515
tragait5e9676e2021-01-14 16:07:07 +00008516 <div class="tab-pane" id="examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-php">
seshukmb3a332a2018-10-05 16:27:16 +08008517 <pre class="prettyprint"><code class="language-php"><&#63;php
8518require_once(__DIR__ . '/vendor/autoload.php');
8519
8520$api_instance = new Swagger\Client\Api\OnapsoinframodelDistributionsApi();
tragait5e9676e2021-01-14 16:07:07 +00008521$version = version_example; // String |
8522$distributionId = distributionId_example; // String |
8523$body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +08008524
8525try {
8526 $api_instance->updateModelDistributionStatus($version, $distributionId, $body);
8527} catch (Exception $e) {
8528 echo 'Exception when calling OnapsoinframodelDistributionsApi->updateModelDistributionStatus: ', $e->getMessage(), PHP_EOL;
8529}
8530?></code></pre>
tragait5e9676e2021-01-14 16:07:07 +00008531 </div>
seshukmb3a332a2018-10-05 16:27:16 +08008532
tragait5e9676e2021-01-14 16:07:07 +00008533 <div class="tab-pane" id="examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-perl">
seshukmb3a332a2018-10-05 16:27:16 +08008534 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
8535use WWW::SwaggerClient::Configuration;
8536use WWW::SwaggerClient::OnapsoinframodelDistributionsApi;
8537
8538my $api_instance = WWW::SwaggerClient::OnapsoinframodelDistributionsApi->new();
tragait5e9676e2021-01-14 16:07:07 +00008539my $version = version_example; # String |
8540my $distributionId = distributionId_example; # String |
8541my $body = WWW::SwaggerClient::Object::String->new(); # String |
seshukmb3a332a2018-10-05 16:27:16 +08008542
tragait5e9676e2021-01-14 16:07:07 +00008543eval {
seshukmb3a332a2018-10-05 16:27:16 +08008544 $api_instance->updateModelDistributionStatus(version => $version, distributionId => $distributionId, body => $body);
8545};
8546if ($@) {
8547 warn "Exception when calling OnapsoinframodelDistributionsApi->updateModelDistributionStatus: $@\n";
8548}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00008549 </div>
seshukmb3a332a2018-10-05 16:27:16 +08008550
tragait5e9676e2021-01-14 16:07:07 +00008551 <div class="tab-pane" id="examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-python">
seshukmb3a332a2018-10-05 16:27:16 +08008552 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
8553import time
8554import swagger_client
8555from swagger_client.rest import ApiException
8556from pprint import pprint
8557
8558# create an instance of the API class
8559api_instance = swagger_client.OnapsoinframodelDistributionsApi()
tragait5e9676e2021-01-14 16:07:07 +00008560version = version_example # String |
8561distributionId = distributionId_example # String |
seshukmb3a332a2018-10-05 16:27:16 +08008562body = body_example # String | (optional)
8563
tragait5e9676e2021-01-14 16:07:07 +00008564try:
seshukmb3a332a2018-10-05 16:27:16 +08008565 # Update model distribution status
8566 api_instance.update_model_distribution_status(version, distributionId, body=body)
8567except ApiException as e:
8568 print("Exception when calling OnapsoinframodelDistributionsApi->updateModelDistributionStatus: %s\n" % e)</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00008569 </div>
seshukmb3a332a2018-10-05 16:27:16 +08008570 </div>
seshukmb3a332a2018-10-05 16:27:16 +08008571
tragait5e9676e2021-01-14 16:07:07 +00008572 <h2>Parameters</h2>
seshukmb3a332a2018-10-05 16:27:16 +08008573
8574 <div class="methodsubtabletitle">Path parameters</div>
8575 <table id="methodsubtable">
8576 <tr>
tragait5e9676e2021-01-14 16:07:07 +00008577 <th width="150px">Name</th>
8578 <th>Description</th>
seshukmb3a332a2018-10-05 16:27:16 +08008579 </tr>
tragait5e9676e2021-01-14 16:07:07 +00008580 <tr><td style="width:150px;">version*</td>
8581 <td>
seshukmb3a332a2018-10-05 16:27:16 +08008582
8583
tragait5e9676e2021-01-14 16:07:07 +00008584 <div id="d2e199_updateModelDistributionStatus_version">
8585 <div class="json-schema-view">
8586 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +08008587 <span class="type">
8588 String
8589 </span>
8590
tragait5e9676e2021-01-14 16:07:07 +00008591 </div>
8592 <div class="inner required">
8593 Required
8594 </div>
8595 </div>
8596 </div>
8597 </td>
8598 </tr>
seshukmb3a332a2018-10-05 16:27:16 +08008599
tragait5e9676e2021-01-14 16:07:07 +00008600 <tr><td style="width:150px;">distributionId*</td>
8601 <td>
seshukmb3a332a2018-10-05 16:27:16 +08008602
8603
tragait5e9676e2021-01-14 16:07:07 +00008604 <div id="d2e199_updateModelDistributionStatus_distributionId">
8605 <div class="json-schema-view">
8606 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +08008607 <span class="type">
8608 String
8609 </span>
8610
tragait5e9676e2021-01-14 16:07:07 +00008611 </div>
8612 <div class="inner required">
8613 Required
8614 </div>
8615 </div>
8616 </div>
8617 </td>
8618 </tr>
seshukmb3a332a2018-10-05 16:27:16 +08008619
8620 </table>
8621
8622
8623 <div class="methodsubtabletitle">Body parameters</div>
8624 <table id="methodsubtable">
tragait5e9676e2021-01-14 16:07:07 +00008625 <tr>
8626 <th width="150px">Name</th>
8627 <th>Description</th>
8628 </tr>
seshukmb3a332a2018-10-05 16:27:16 +08008629 <tr><td style="width:150px;">body </td>
tragait5e9676e2021-01-14 16:07:07 +00008630 <td>
seshukmb3a332a2018-10-05 16:27:16 +08008631
8632
tragait5e9676e2021-01-14 16:07:07 +00008633 <script>
seshukmb3a332a2018-10-05 16:27:16 +08008634$(document).ready(function() {
8635 var schemaWrapper = {
8636 "in" : "body",
8637 "name" : "body",
8638 "required" : false,
8639 "schema" : {
8640 "type" : "string"
8641 }
8642};
8643 var schema = schemaWrapper.schema;
8644 if (schema.$ref != null) {
8645 schema = defsParser.$refs.get(schema.$ref);
8646 } else {
8647 schemaWrapper.definitions = Object.assign({}, defs);
8648 $RefParser.dereference(schemaWrapper).catch(function(err) {
8649 console.log(err);
8650 });
8651 }
8652
8653 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
8654 var result = $('#d2e199_updateModelDistributionStatus_body');
8655 result.empty();
8656 result.append(view.render());
8657});
8658</script>
tragait5e9676e2021-01-14 16:07:07 +00008659 <div id="d2e199_updateModelDistributionStatus_body"></div>
8660 </td>
8661 </tr>
seshukmb3a332a2018-10-05 16:27:16 +08008662
8663 </table>
8664
8665
8666
tragait5e9676e2021-01-14 16:07:07 +00008667 <h2>Responses</h2>
seshukmb3a332a2018-10-05 16:27:16 +08008668 <h3> Status: default - successful operation </h3>
8669
8670 <ul class="nav nav-tabs nav-tabs-examples" >
8671 </ul>
8672
8673 <div class="tab-content" style='margin-bottom: 10px;'>
8674 </div>
8675
8676 </article>
tragait5e9676e2021-01-14 16:07:07 +00008677 </div>
8678 <hr>
8679 </section>
seshukmb3a332a2018-10-05 16:27:16 +08008680 <section id="api-OnapsoinfraorchestrationRequests">
tragait5e9676e2021-01-14 16:07:07 +00008681 <h1>OnapsoinfraorchestrationRequests</h1>
seshukmb3a332a2018-10-05 16:27:16 +08008682 <div id="api-OnapsoinfraorchestrationRequests-getOrchestrationRequest">
tragait5e9676e2021-01-14 16:07:07 +00008683 <article id="api-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0" data-group="User" data-name="getOrchestrationRequest" data-version="0">
8684 <div class="pull-left">
8685 <h1>getOrchestrationRequest</h1>
8686 <p>Find Orchestrated Requests for a URI Information</p>
8687 </div>
8688 <div class="pull-right"></div>
8689 <div class="clearfix"></div>
8690 <p></p>
8691 <p class="marked"></p>
8692 <p></p>
8693 <br />
8694 <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/onap/so/infra/orchestrationRequests/{version}</span></code></pre>
8695 <p>
8696 <h3>Usage and SDK Samples</h3>
8697 </p>
8698 <ul class="nav nav-tabs nav-tabs-examples">
8699 <li class="active"><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-curl">Curl</a></li>
8700 <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-java">Java</a></li>
8701 <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-android">Android</a></li>
8702 <!--<li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-groovy">Groovy</a></li>-->
8703 <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-objc">Obj-C</a></li>
8704 <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-javascript">JavaScript</a></li>
8705 <!--<li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-angular">Angular</a></li>-->
8706 <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-csharp">C#</a></li>
8707 <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-php">PHP</a></li>
8708 <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-perl">Perl</a></li>
8709 <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-python">Python</a></li>
8710 </ul>
seshukmb3a332a2018-10-05 16:27:16 +08008711
tragait5e9676e2021-01-14 16:07:07 +00008712 <div class="tab-content">
8713 <div class="tab-pane active" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-curl">
8714 <pre class="prettyprint"><code class="language-bsh">curl -X GET "http://localhost/onap/so/infra/orchestrationRequests/{version}"</code></pre>
8715 </div>
8716 <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-java">
seshukmb3a332a2018-10-05 16:27:16 +08008717 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
8718import io.swagger.client.auth.*;
8719import io.swagger.client.model.*;
8720import io.swagger.client.api.OnapsoinfraorchestrationRequestsApi;
8721
8722import java.io.File;
8723import java.util.*;
8724
8725public class OnapsoinfraorchestrationRequestsApiExample {
8726
8727 public static void main(String[] args) {
tragait5e9676e2021-01-14 16:07:07 +00008728
seshukmb3a332a2018-10-05 16:27:16 +08008729 OnapsoinfraorchestrationRequestsApi apiInstance = new OnapsoinfraorchestrationRequestsApi();
tragait5e9676e2021-01-14 16:07:07 +00008730 String version = version_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +08008731 try {
8732 apiInstance.getOrchestrationRequest(version);
8733 } catch (ApiException e) {
8734 System.err.println("Exception when calling OnapsoinfraorchestrationRequestsApi#getOrchestrationRequest");
8735 e.printStackTrace();
8736 }
8737 }
8738}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00008739 </div>
seshukmb3a332a2018-10-05 16:27:16 +08008740
tragait5e9676e2021-01-14 16:07:07 +00008741 <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-android">
seshukmb3a332a2018-10-05 16:27:16 +08008742 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraorchestrationRequestsApi;
8743
8744public class OnapsoinfraorchestrationRequestsApiExample {
8745
8746 public static void main(String[] args) {
8747 OnapsoinfraorchestrationRequestsApi apiInstance = new OnapsoinfraorchestrationRequestsApi();
tragait5e9676e2021-01-14 16:07:07 +00008748 String version = version_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +08008749 try {
8750 apiInstance.getOrchestrationRequest(version);
8751 } catch (ApiException e) {
8752 System.err.println("Exception when calling OnapsoinfraorchestrationRequestsApi#getOrchestrationRequest");
8753 e.printStackTrace();
8754 }
8755 }
8756}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00008757 </div>
8758 <!--
seshukmb3a332a2018-10-05 16:27:16 +08008759 <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-groovy">
8760 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
8761 </div> -->
tragait5e9676e2021-01-14 16:07:07 +00008762 <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-objc">
8763 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
seshukmb3a332a2018-10-05 16:27:16 +08008764
8765OnapsoinfraorchestrationRequestsApi *apiInstance = [[OnapsoinfraorchestrationRequestsApi alloc] init];
8766
8767// Find Orchestrated Requests for a URI Information
8768[apiInstance getOrchestrationRequestWith:version
8769 completionHandler: ^(NSError* error) {
8770 if (error) {
8771 NSLog(@"Error: %@", error);
8772 }
8773 }];
8774</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00008775 </div>
seshukmb3a332a2018-10-05 16:27:16 +08008776
tragait5e9676e2021-01-14 16:07:07 +00008777 <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-javascript">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05308778 <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is');
seshukmb3a332a2018-10-05 16:27:16 +08008779
Priyadharshinic86ab4a2020-08-14 17:11:49 +05308780var api = new SoGuilinApIs.OnapsoinfraorchestrationRequestsApi()
seshukmb3a332a2018-10-05 16:27:16 +08008781
tragait5e9676e2021-01-14 16:07:07 +00008782var version = version_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +08008783
8784
8785var callback = function(error, data, response) {
8786 if (error) {
8787 console.error(error);
8788 } else {
8789 console.log('API called successfully.');
8790 }
8791};
8792api.getOrchestrationRequest(version, callback);
8793</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00008794 </div>
seshukmb3a332a2018-10-05 16:27:16 +08008795
tragait5e9676e2021-01-14 16:07:07 +00008796 <!--<div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-angular">
seshukmb3a332a2018-10-05 16:27:16 +08008797 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
8798 </div>-->
tragait5e9676e2021-01-14 16:07:07 +00008799 <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-csharp">
seshukmb3a332a2018-10-05 16:27:16 +08008800 <pre class="prettyprint"><code class="language-cs">using System;
8801using System.Diagnostics;
8802using IO.Swagger.Api;
8803using IO.Swagger.Client;
8804using IO.Swagger.Model;
8805
8806namespace Example
8807{
8808 public class getOrchestrationRequestExample
8809 {
8810 public void main()
8811 {
tragait5e9676e2021-01-14 16:07:07 +00008812
seshukmb3a332a2018-10-05 16:27:16 +08008813 var apiInstance = new OnapsoinfraorchestrationRequestsApi();
tragait5e9676e2021-01-14 16:07:07 +00008814 var version = version_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +08008815
8816 try
8817 {
8818 // Find Orchestrated Requests for a URI Information
8819 apiInstance.getOrchestrationRequest(version);
8820 }
8821 catch (Exception e)
8822 {
8823 Debug.Print("Exception when calling OnapsoinfraorchestrationRequestsApi.getOrchestrationRequest: " + e.Message );
8824 }
8825 }
8826 }
8827}
8828</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00008829 </div>
seshukmb3a332a2018-10-05 16:27:16 +08008830
tragait5e9676e2021-01-14 16:07:07 +00008831 <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-php">
seshukmb3a332a2018-10-05 16:27:16 +08008832 <pre class="prettyprint"><code class="language-php"><&#63;php
8833require_once(__DIR__ . '/vendor/autoload.php');
8834
8835$api_instance = new Swagger\Client\Api\OnapsoinfraorchestrationRequestsApi();
tragait5e9676e2021-01-14 16:07:07 +00008836$version = version_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +08008837
8838try {
8839 $api_instance->getOrchestrationRequest($version);
8840} catch (Exception $e) {
8841 echo 'Exception when calling OnapsoinfraorchestrationRequestsApi->getOrchestrationRequest: ', $e->getMessage(), PHP_EOL;
8842}
8843?></code></pre>
tragait5e9676e2021-01-14 16:07:07 +00008844 </div>
seshukmb3a332a2018-10-05 16:27:16 +08008845
tragait5e9676e2021-01-14 16:07:07 +00008846 <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-perl">
seshukmb3a332a2018-10-05 16:27:16 +08008847 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
8848use WWW::SwaggerClient::Configuration;
8849use WWW::SwaggerClient::OnapsoinfraorchestrationRequestsApi;
8850
8851my $api_instance = WWW::SwaggerClient::OnapsoinfraorchestrationRequestsApi->new();
tragait5e9676e2021-01-14 16:07:07 +00008852my $version = version_example; # String |
seshukmb3a332a2018-10-05 16:27:16 +08008853
tragait5e9676e2021-01-14 16:07:07 +00008854eval {
seshukmb3a332a2018-10-05 16:27:16 +08008855 $api_instance->getOrchestrationRequest(version => $version);
8856};
8857if ($@) {
8858 warn "Exception when calling OnapsoinfraorchestrationRequestsApi->getOrchestrationRequest: $@\n";
8859}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00008860 </div>
seshukmb3a332a2018-10-05 16:27:16 +08008861
tragait5e9676e2021-01-14 16:07:07 +00008862 <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-python">
seshukmb3a332a2018-10-05 16:27:16 +08008863 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
8864import time
8865import swagger_client
8866from swagger_client.rest import ApiException
8867from pprint import pprint
8868
8869# create an instance of the API class
8870api_instance = swagger_client.OnapsoinfraorchestrationRequestsApi()
tragait5e9676e2021-01-14 16:07:07 +00008871version = version_example # String |
seshukmb3a332a2018-10-05 16:27:16 +08008872
tragait5e9676e2021-01-14 16:07:07 +00008873try:
seshukmb3a332a2018-10-05 16:27:16 +08008874 # Find Orchestrated Requests for a URI Information
8875 api_instance.get_orchestration_request(version)
8876except ApiException as e:
8877 print("Exception when calling OnapsoinfraorchestrationRequestsApi->getOrchestrationRequest: %s\n" % e)</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00008878 </div>
seshukmb3a332a2018-10-05 16:27:16 +08008879 </div>
seshukmb3a332a2018-10-05 16:27:16 +08008880
tragait5e9676e2021-01-14 16:07:07 +00008881 <h2>Parameters</h2>
seshukmb3a332a2018-10-05 16:27:16 +08008882
8883 <div class="methodsubtabletitle">Path parameters</div>
8884 <table id="methodsubtable">
8885 <tr>
tragait5e9676e2021-01-14 16:07:07 +00008886 <th width="150px">Name</th>
8887 <th>Description</th>
seshukmb3a332a2018-10-05 16:27:16 +08008888 </tr>
tragait5e9676e2021-01-14 16:07:07 +00008889 <tr><td style="width:150px;">version*</td>
8890 <td>
seshukmb3a332a2018-10-05 16:27:16 +08008891
8892
tragait5e9676e2021-01-14 16:07:07 +00008893 <div id="d2e199_getOrchestrationRequest_version">
8894 <div class="json-schema-view">
8895 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +08008896 <span class="type">
8897 String
8898 </span>
8899
tragait5e9676e2021-01-14 16:07:07 +00008900 </div>
8901 <div class="inner required">
8902 Required
8903 </div>
8904 </div>
8905 </div>
8906 </td>
8907 </tr>
seshukmb3a332a2018-10-05 16:27:16 +08008908
8909 </table>
8910
8911
8912
8913
8914
tragait5e9676e2021-01-14 16:07:07 +00008915 <h2>Responses</h2>
seshukmb3a332a2018-10-05 16:27:16 +08008916 <h3> Status: default - successful operation </h3>
8917
8918 <ul class="nav nav-tabs nav-tabs-examples" >
8919 </ul>
8920
8921 <div class="tab-content" style='margin-bottom: 10px;'>
8922 </div>
8923
8924 </article>
tragait5e9676e2021-01-14 16:07:07 +00008925 </div>
8926 <hr>
seshukmb3a332a2018-10-05 16:27:16 +08008927 <div id="api-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId">
tragait5e9676e2021-01-14 16:07:07 +00008928 <article id="api-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0" data-group="User" data-name="getOrchestrationRequestForReqId" data-version="0">
8929 <div class="pull-left">
8930 <h1>getOrchestrationRequestForReqId</h1>
8931 <p>Find Orchestrated Requests for a given requestId</p>
8932 </div>
8933 <div class="pull-right"></div>
8934 <div class="clearfix"></div>
8935 <p></p>
8936 <p class="marked"></p>
8937 <p></p>
8938 <br />
8939 <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/onap/so/infra/orchestrationRequests/{version}/{requestId}</span></code></pre>
8940 <p>
8941 <h3>Usage and SDK Samples</h3>
8942 </p>
8943 <ul class="nav nav-tabs nav-tabs-examples">
8944 <li class="active"><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-curl">Curl</a></li>
8945 <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-java">Java</a></li>
8946 <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-android">Android</a></li>
8947 <!--<li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-groovy">Groovy</a></li>-->
8948 <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-objc">Obj-C</a></li>
8949 <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-javascript">JavaScript</a></li>
8950 <!--<li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-angular">Angular</a></li>-->
8951 <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-csharp">C#</a></li>
8952 <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-php">PHP</a></li>
8953 <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-perl">Perl</a></li>
8954 <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-python">Python</a></li>
8955 </ul>
seshukmb3a332a2018-10-05 16:27:16 +08008956
tragait5e9676e2021-01-14 16:07:07 +00008957 <div class="tab-content">
8958 <div class="tab-pane active" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-curl">
8959 <pre class="prettyprint"><code class="language-bsh">curl -X GET "http://localhost/onap/so/infra/orchestrationRequests/{version}/{requestId}"</code></pre>
8960 </div>
8961 <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-java">
seshukmb3a332a2018-10-05 16:27:16 +08008962 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
8963import io.swagger.client.auth.*;
8964import io.swagger.client.model.*;
8965import io.swagger.client.api.OnapsoinfraorchestrationRequestsApi;
8966
8967import java.io.File;
8968import java.util.*;
8969
8970public class OnapsoinfraorchestrationRequestsApiExample {
8971
8972 public static void main(String[] args) {
tragait5e9676e2021-01-14 16:07:07 +00008973
seshukmb3a332a2018-10-05 16:27:16 +08008974 OnapsoinfraorchestrationRequestsApi apiInstance = new OnapsoinfraorchestrationRequestsApi();
tragait5e9676e2021-01-14 16:07:07 +00008975 String requestId = requestId_example; // String |
8976 String version = version_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +08008977 try {
8978 apiInstance.getOrchestrationRequestForReqId(requestId, version);
8979 } catch (ApiException e) {
8980 System.err.println("Exception when calling OnapsoinfraorchestrationRequestsApi#getOrchestrationRequestForReqId");
8981 e.printStackTrace();
8982 }
8983 }
8984}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00008985 </div>
seshukmb3a332a2018-10-05 16:27:16 +08008986
tragait5e9676e2021-01-14 16:07:07 +00008987 <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-android">
seshukmb3a332a2018-10-05 16:27:16 +08008988 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraorchestrationRequestsApi;
8989
8990public class OnapsoinfraorchestrationRequestsApiExample {
8991
8992 public static void main(String[] args) {
8993 OnapsoinfraorchestrationRequestsApi apiInstance = new OnapsoinfraorchestrationRequestsApi();
tragait5e9676e2021-01-14 16:07:07 +00008994 String requestId = requestId_example; // String |
8995 String version = version_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +08008996 try {
8997 apiInstance.getOrchestrationRequestForReqId(requestId, version);
8998 } catch (ApiException e) {
8999 System.err.println("Exception when calling OnapsoinfraorchestrationRequestsApi#getOrchestrationRequestForReqId");
9000 e.printStackTrace();
9001 }
9002 }
9003}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00009004 </div>
9005 <!--
seshukmb3a332a2018-10-05 16:27:16 +08009006 <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-groovy">
9007 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
9008 </div> -->
tragait5e9676e2021-01-14 16:07:07 +00009009 <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-objc">
9010 <pre class="prettyprint"><code class="language-cpp">String *requestId = requestId_example; //
9011String *version = version_example; //
seshukmb3a332a2018-10-05 16:27:16 +08009012
9013OnapsoinfraorchestrationRequestsApi *apiInstance = [[OnapsoinfraorchestrationRequestsApi alloc] init];
9014
9015// Find Orchestrated Requests for a given requestId
9016[apiInstance getOrchestrationRequestForReqIdWith:requestId
9017 version:version
9018 completionHandler: ^(NSError* error) {
9019 if (error) {
9020 NSLog(@"Error: %@", error);
9021 }
9022 }];
9023</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00009024 </div>
seshukmb3a332a2018-10-05 16:27:16 +08009025
tragait5e9676e2021-01-14 16:07:07 +00009026 <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-javascript">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05309027 <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is');
seshukmb3a332a2018-10-05 16:27:16 +08009028
Priyadharshinic86ab4a2020-08-14 17:11:49 +05309029var api = new SoGuilinApIs.OnapsoinfraorchestrationRequestsApi()
seshukmb3a332a2018-10-05 16:27:16 +08009030
tragait5e9676e2021-01-14 16:07:07 +00009031var requestId = requestId_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +08009032
tragait5e9676e2021-01-14 16:07:07 +00009033var version = version_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +08009034
9035
9036var callback = function(error, data, response) {
9037 if (error) {
9038 console.error(error);
9039 } else {
9040 console.log('API called successfully.');
9041 }
9042};
9043api.getOrchestrationRequestForReqId(requestId, version, callback);
9044</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00009045 </div>
seshukmb3a332a2018-10-05 16:27:16 +08009046
tragait5e9676e2021-01-14 16:07:07 +00009047 <!--<div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-angular">
seshukmb3a332a2018-10-05 16:27:16 +08009048 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
9049 </div>-->
tragait5e9676e2021-01-14 16:07:07 +00009050 <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-csharp">
seshukmb3a332a2018-10-05 16:27:16 +08009051 <pre class="prettyprint"><code class="language-cs">using System;
9052using System.Diagnostics;
9053using IO.Swagger.Api;
9054using IO.Swagger.Client;
9055using IO.Swagger.Model;
9056
9057namespace Example
9058{
9059 public class getOrchestrationRequestForReqIdExample
9060 {
9061 public void main()
9062 {
tragait5e9676e2021-01-14 16:07:07 +00009063
seshukmb3a332a2018-10-05 16:27:16 +08009064 var apiInstance = new OnapsoinfraorchestrationRequestsApi();
tragait5e9676e2021-01-14 16:07:07 +00009065 var requestId = requestId_example; // String |
9066 var version = version_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +08009067
9068 try
9069 {
9070 // Find Orchestrated Requests for a given requestId
9071 apiInstance.getOrchestrationRequestForReqId(requestId, version);
9072 }
9073 catch (Exception e)
9074 {
9075 Debug.Print("Exception when calling OnapsoinfraorchestrationRequestsApi.getOrchestrationRequestForReqId: " + e.Message );
9076 }
9077 }
9078 }
9079}
9080</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00009081 </div>
seshukmb3a332a2018-10-05 16:27:16 +08009082
tragait5e9676e2021-01-14 16:07:07 +00009083 <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-php">
seshukmb3a332a2018-10-05 16:27:16 +08009084 <pre class="prettyprint"><code class="language-php"><&#63;php
9085require_once(__DIR__ . '/vendor/autoload.php');
9086
9087$api_instance = new Swagger\Client\Api\OnapsoinfraorchestrationRequestsApi();
tragait5e9676e2021-01-14 16:07:07 +00009088$requestId = requestId_example; // String |
9089$version = version_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +08009090
9091try {
9092 $api_instance->getOrchestrationRequestForReqId($requestId, $version);
9093} catch (Exception $e) {
9094 echo 'Exception when calling OnapsoinfraorchestrationRequestsApi->getOrchestrationRequestForReqId: ', $e->getMessage(), PHP_EOL;
9095}
9096?></code></pre>
tragait5e9676e2021-01-14 16:07:07 +00009097 </div>
seshukmb3a332a2018-10-05 16:27:16 +08009098
tragait5e9676e2021-01-14 16:07:07 +00009099 <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-perl">
seshukmb3a332a2018-10-05 16:27:16 +08009100 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
9101use WWW::SwaggerClient::Configuration;
9102use WWW::SwaggerClient::OnapsoinfraorchestrationRequestsApi;
9103
9104my $api_instance = WWW::SwaggerClient::OnapsoinfraorchestrationRequestsApi->new();
tragait5e9676e2021-01-14 16:07:07 +00009105my $requestId = requestId_example; # String |
9106my $version = version_example; # String |
seshukmb3a332a2018-10-05 16:27:16 +08009107
tragait5e9676e2021-01-14 16:07:07 +00009108eval {
seshukmb3a332a2018-10-05 16:27:16 +08009109 $api_instance->getOrchestrationRequestForReqId(requestId => $requestId, version => $version);
9110};
9111if ($@) {
9112 warn "Exception when calling OnapsoinfraorchestrationRequestsApi->getOrchestrationRequestForReqId: $@\n";
9113}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00009114 </div>
seshukmb3a332a2018-10-05 16:27:16 +08009115
tragait5e9676e2021-01-14 16:07:07 +00009116 <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-python">
seshukmb3a332a2018-10-05 16:27:16 +08009117 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
9118import time
9119import swagger_client
9120from swagger_client.rest import ApiException
9121from pprint import pprint
9122
9123# create an instance of the API class
9124api_instance = swagger_client.OnapsoinfraorchestrationRequestsApi()
tragait5e9676e2021-01-14 16:07:07 +00009125requestId = requestId_example # String |
9126version = version_example # String |
seshukmb3a332a2018-10-05 16:27:16 +08009127
tragait5e9676e2021-01-14 16:07:07 +00009128try:
seshukmb3a332a2018-10-05 16:27:16 +08009129 # Find Orchestrated Requests for a given requestId
9130 api_instance.get_orchestration_request_for_req_id(requestId, version)
9131except ApiException as e:
9132 print("Exception when calling OnapsoinfraorchestrationRequestsApi->getOrchestrationRequestForReqId: %s\n" % e)</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00009133 </div>
seshukmb3a332a2018-10-05 16:27:16 +08009134 </div>
seshukmb3a332a2018-10-05 16:27:16 +08009135
tragait5e9676e2021-01-14 16:07:07 +00009136 <h2>Parameters</h2>
seshukmb3a332a2018-10-05 16:27:16 +08009137
9138 <div class="methodsubtabletitle">Path parameters</div>
9139 <table id="methodsubtable">
9140 <tr>
tragait5e9676e2021-01-14 16:07:07 +00009141 <th width="150px">Name</th>
9142 <th>Description</th>
seshukmb3a332a2018-10-05 16:27:16 +08009143 </tr>
tragait5e9676e2021-01-14 16:07:07 +00009144 <tr><td style="width:150px;">requestId*</td>
9145 <td>
seshukmb3a332a2018-10-05 16:27:16 +08009146
9147
tragait5e9676e2021-01-14 16:07:07 +00009148 <div id="d2e199_getOrchestrationRequestForReqId_requestId">
9149 <div class="json-schema-view">
9150 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +08009151 <span class="type">
9152 String
9153 </span>
9154
tragait5e9676e2021-01-14 16:07:07 +00009155 </div>
9156 <div class="inner required">
9157 Required
9158 </div>
9159 </div>
9160 </div>
9161 </td>
9162 </tr>
seshukmb3a332a2018-10-05 16:27:16 +08009163
tragait5e9676e2021-01-14 16:07:07 +00009164 <tr><td style="width:150px;">version*</td>
9165 <td>
seshukmb3a332a2018-10-05 16:27:16 +08009166
9167
tragait5e9676e2021-01-14 16:07:07 +00009168 <div id="d2e199_getOrchestrationRequestForReqId_version">
9169 <div class="json-schema-view">
9170 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +08009171 <span class="type">
9172 String
9173 </span>
9174
tragait5e9676e2021-01-14 16:07:07 +00009175 </div>
9176 <div class="inner required">
9177 Required
9178 </div>
9179 </div>
9180 </div>
9181 </td>
9182 </tr>
seshukmb3a332a2018-10-05 16:27:16 +08009183
9184 </table>
9185
9186
9187
9188
9189
tragait5e9676e2021-01-14 16:07:07 +00009190 <h2>Responses</h2>
seshukmb3a332a2018-10-05 16:27:16 +08009191 <h3> Status: default - successful operation </h3>
9192
9193 <ul class="nav nav-tabs nav-tabs-examples" >
9194 </ul>
9195
9196 <div class="tab-content" style='margin-bottom: 10px;'>
9197 </div>
9198
9199 </article>
tragait5e9676e2021-01-14 16:07:07 +00009200 </div>
9201 <hr>
seshukmb3a332a2018-10-05 16:27:16 +08009202 <div id="api-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest">
tragait5e9676e2021-01-14 16:07:07 +00009203 <article id="api-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0" data-group="User" data-name="unlockOrchestrationRequest" data-version="0">
9204 <div class="pull-left">
9205 <h1>unlockOrchestrationRequest</h1>
9206 <p>Unlock Orchestrated Requests for a given requestId</p>
9207 </div>
9208 <div class="pull-right"></div>
9209 <div class="clearfix"></div>
9210 <p></p>
9211 <p class="marked"></p>
9212 <p></p>
9213 <br />
9214 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/orchestrationRequests/{version}/{requestId}/unlock</span></code></pre>
9215 <p>
9216 <h3>Usage and SDK Samples</h3>
9217 </p>
9218 <ul class="nav nav-tabs nav-tabs-examples">
9219 <li class="active"><a href="#examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-curl">Curl</a></li>
9220 <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-java">Java</a></li>
9221 <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-android">Android</a></li>
9222 <!--<li class=""><a href="#examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-groovy">Groovy</a></li>-->
9223 <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-objc">Obj-C</a></li>
9224 <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-javascript">JavaScript</a></li>
9225 <!--<li class=""><a href="#examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-angular">Angular</a></li>-->
9226 <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-csharp">C#</a></li>
9227 <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-php">PHP</a></li>
9228 <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-perl">Perl</a></li>
9229 <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-python">Python</a></li>
9230 </ul>
seshukmb3a332a2018-10-05 16:27:16 +08009231
tragait5e9676e2021-01-14 16:07:07 +00009232 <div class="tab-content">
9233 <div class="tab-pane active" id="examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-curl">
9234 <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/orchestrationRequests/{version}/{requestId}/unlock"</code></pre>
9235 </div>
9236 <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-java">
seshukmb3a332a2018-10-05 16:27:16 +08009237 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
9238import io.swagger.client.auth.*;
9239import io.swagger.client.model.*;
9240import io.swagger.client.api.OnapsoinfraorchestrationRequestsApi;
9241
9242import java.io.File;
9243import java.util.*;
9244
9245public class OnapsoinfraorchestrationRequestsApiExample {
9246
9247 public static void main(String[] args) {
tragait5e9676e2021-01-14 16:07:07 +00009248
seshukmb3a332a2018-10-05 16:27:16 +08009249 OnapsoinfraorchestrationRequestsApi apiInstance = new OnapsoinfraorchestrationRequestsApi();
tragait5e9676e2021-01-14 16:07:07 +00009250 String requestId = requestId_example; // String |
9251 String version = version_example; // String |
9252 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +08009253 try {
9254 apiInstance.unlockOrchestrationRequest(requestId, version, body);
9255 } catch (ApiException e) {
9256 System.err.println("Exception when calling OnapsoinfraorchestrationRequestsApi#unlockOrchestrationRequest");
9257 e.printStackTrace();
9258 }
9259 }
9260}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00009261 </div>
seshukmb3a332a2018-10-05 16:27:16 +08009262
tragait5e9676e2021-01-14 16:07:07 +00009263 <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-android">
seshukmb3a332a2018-10-05 16:27:16 +08009264 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraorchestrationRequestsApi;
9265
9266public class OnapsoinfraorchestrationRequestsApiExample {
9267
9268 public static void main(String[] args) {
9269 OnapsoinfraorchestrationRequestsApi apiInstance = new OnapsoinfraorchestrationRequestsApi();
tragait5e9676e2021-01-14 16:07:07 +00009270 String requestId = requestId_example; // String |
9271 String version = version_example; // String |
9272 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +08009273 try {
9274 apiInstance.unlockOrchestrationRequest(requestId, version, body);
9275 } catch (ApiException e) {
9276 System.err.println("Exception when calling OnapsoinfraorchestrationRequestsApi#unlockOrchestrationRequest");
9277 e.printStackTrace();
9278 }
9279 }
9280}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00009281 </div>
9282 <!--
seshukmb3a332a2018-10-05 16:27:16 +08009283 <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-groovy">
9284 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
9285 </div> -->
tragait5e9676e2021-01-14 16:07:07 +00009286 <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-objc">
9287 <pre class="prettyprint"><code class="language-cpp">String *requestId = requestId_example; //
9288String *version = version_example; //
seshukmb3a332a2018-10-05 16:27:16 +08009289String *body = body_example; // (optional)
9290
9291OnapsoinfraorchestrationRequestsApi *apiInstance = [[OnapsoinfraorchestrationRequestsApi alloc] init];
9292
9293// Unlock Orchestrated Requests for a given requestId
9294[apiInstance unlockOrchestrationRequestWith:requestId
9295 version:version
9296 body:body
9297 completionHandler: ^(NSError* error) {
9298 if (error) {
9299 NSLog(@"Error: %@", error);
9300 }
9301 }];
9302</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00009303 </div>
seshukmb3a332a2018-10-05 16:27:16 +08009304
tragait5e9676e2021-01-14 16:07:07 +00009305 <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-javascript">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05309306 <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is');
seshukmb3a332a2018-10-05 16:27:16 +08009307
Priyadharshinic86ab4a2020-08-14 17:11:49 +05309308var api = new SoGuilinApIs.OnapsoinfraorchestrationRequestsApi()
seshukmb3a332a2018-10-05 16:27:16 +08009309
tragait5e9676e2021-01-14 16:07:07 +00009310var requestId = requestId_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +08009311
tragait5e9676e2021-01-14 16:07:07 +00009312var version = version_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +08009313
tragait5e9676e2021-01-14 16:07:07 +00009314var opts = {
9315 'body': body_example // {String}
seshukmb3a332a2018-10-05 16:27:16 +08009316};
9317
9318var callback = function(error, data, response) {
9319 if (error) {
9320 console.error(error);
9321 } else {
9322 console.log('API called successfully.');
9323 }
9324};
9325api.unlockOrchestrationRequest(requestId, version, opts, callback);
9326</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00009327 </div>
seshukmb3a332a2018-10-05 16:27:16 +08009328
tragait5e9676e2021-01-14 16:07:07 +00009329 <!--<div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-angular">
seshukmb3a332a2018-10-05 16:27:16 +08009330 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
9331 </div>-->
tragait5e9676e2021-01-14 16:07:07 +00009332 <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-csharp">
seshukmb3a332a2018-10-05 16:27:16 +08009333 <pre class="prettyprint"><code class="language-cs">using System;
9334using System.Diagnostics;
9335using IO.Swagger.Api;
9336using IO.Swagger.Client;
9337using IO.Swagger.Model;
9338
9339namespace Example
9340{
9341 public class unlockOrchestrationRequestExample
9342 {
9343 public void main()
9344 {
tragait5e9676e2021-01-14 16:07:07 +00009345
seshukmb3a332a2018-10-05 16:27:16 +08009346 var apiInstance = new OnapsoinfraorchestrationRequestsApi();
tragait5e9676e2021-01-14 16:07:07 +00009347 var requestId = requestId_example; // String |
9348 var version = version_example; // String |
9349 var body = body_example; // String | (optional)
seshukmb3a332a2018-10-05 16:27:16 +08009350
9351 try
9352 {
9353 // Unlock Orchestrated Requests for a given requestId
9354 apiInstance.unlockOrchestrationRequest(requestId, version, body);
9355 }
9356 catch (Exception e)
9357 {
9358 Debug.Print("Exception when calling OnapsoinfraorchestrationRequestsApi.unlockOrchestrationRequest: " + e.Message );
9359 }
9360 }
9361 }
9362}
9363</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00009364 </div>
seshukmb3a332a2018-10-05 16:27:16 +08009365
tragait5e9676e2021-01-14 16:07:07 +00009366 <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-php">
seshukmb3a332a2018-10-05 16:27:16 +08009367 <pre class="prettyprint"><code class="language-php"><&#63;php
9368require_once(__DIR__ . '/vendor/autoload.php');
9369
9370$api_instance = new Swagger\Client\Api\OnapsoinfraorchestrationRequestsApi();
tragait5e9676e2021-01-14 16:07:07 +00009371$requestId = requestId_example; // String |
9372$version = version_example; // String |
9373$body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +08009374
9375try {
9376 $api_instance->unlockOrchestrationRequest($requestId, $version, $body);
9377} catch (Exception $e) {
9378 echo 'Exception when calling OnapsoinfraorchestrationRequestsApi->unlockOrchestrationRequest: ', $e->getMessage(), PHP_EOL;
9379}
9380?></code></pre>
tragait5e9676e2021-01-14 16:07:07 +00009381 </div>
seshukmb3a332a2018-10-05 16:27:16 +08009382
tragait5e9676e2021-01-14 16:07:07 +00009383 <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-perl">
seshukmb3a332a2018-10-05 16:27:16 +08009384 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
9385use WWW::SwaggerClient::Configuration;
9386use WWW::SwaggerClient::OnapsoinfraorchestrationRequestsApi;
9387
9388my $api_instance = WWW::SwaggerClient::OnapsoinfraorchestrationRequestsApi->new();
tragait5e9676e2021-01-14 16:07:07 +00009389my $requestId = requestId_example; # String |
9390my $version = version_example; # String |
9391my $body = WWW::SwaggerClient::Object::String->new(); # String |
seshukmb3a332a2018-10-05 16:27:16 +08009392
tragait5e9676e2021-01-14 16:07:07 +00009393eval {
seshukmb3a332a2018-10-05 16:27:16 +08009394 $api_instance->unlockOrchestrationRequest(requestId => $requestId, version => $version, body => $body);
9395};
9396if ($@) {
9397 warn "Exception when calling OnapsoinfraorchestrationRequestsApi->unlockOrchestrationRequest: $@\n";
9398}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00009399 </div>
seshukmb3a332a2018-10-05 16:27:16 +08009400
tragait5e9676e2021-01-14 16:07:07 +00009401 <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-python">
seshukmb3a332a2018-10-05 16:27:16 +08009402 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
9403import time
9404import swagger_client
9405from swagger_client.rest import ApiException
9406from pprint import pprint
9407
9408# create an instance of the API class
9409api_instance = swagger_client.OnapsoinfraorchestrationRequestsApi()
tragait5e9676e2021-01-14 16:07:07 +00009410requestId = requestId_example # String |
9411version = version_example # String |
seshukmb3a332a2018-10-05 16:27:16 +08009412body = body_example # String | (optional)
9413
tragait5e9676e2021-01-14 16:07:07 +00009414try:
seshukmb3a332a2018-10-05 16:27:16 +08009415 # Unlock Orchestrated Requests for a given requestId
9416 api_instance.unlock_orchestration_request(requestId, version, body=body)
9417except ApiException as e:
9418 print("Exception when calling OnapsoinfraorchestrationRequestsApi->unlockOrchestrationRequest: %s\n" % e)</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00009419 </div>
seshukmb3a332a2018-10-05 16:27:16 +08009420 </div>
seshukmb3a332a2018-10-05 16:27:16 +08009421
tragait5e9676e2021-01-14 16:07:07 +00009422 <h2>Parameters</h2>
seshukmb3a332a2018-10-05 16:27:16 +08009423
9424 <div class="methodsubtabletitle">Path parameters</div>
9425 <table id="methodsubtable">
9426 <tr>
tragait5e9676e2021-01-14 16:07:07 +00009427 <th width="150px">Name</th>
9428 <th>Description</th>
seshukmb3a332a2018-10-05 16:27:16 +08009429 </tr>
tragait5e9676e2021-01-14 16:07:07 +00009430 <tr><td style="width:150px;">requestId*</td>
9431 <td>
seshukmb3a332a2018-10-05 16:27:16 +08009432
9433
tragait5e9676e2021-01-14 16:07:07 +00009434 <div id="d2e199_unlockOrchestrationRequest_requestId">
9435 <div class="json-schema-view">
9436 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +08009437 <span class="type">
9438 String
9439 </span>
9440
tragait5e9676e2021-01-14 16:07:07 +00009441 </div>
9442 <div class="inner required">
9443 Required
9444 </div>
9445 </div>
9446 </div>
9447 </td>
9448 </tr>
seshukmb3a332a2018-10-05 16:27:16 +08009449
tragait5e9676e2021-01-14 16:07:07 +00009450 <tr><td style="width:150px;">version*</td>
9451 <td>
seshukmb3a332a2018-10-05 16:27:16 +08009452
9453
tragait5e9676e2021-01-14 16:07:07 +00009454 <div id="d2e199_unlockOrchestrationRequest_version">
9455 <div class="json-schema-view">
9456 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +08009457 <span class="type">
9458 String
9459 </span>
9460
tragait5e9676e2021-01-14 16:07:07 +00009461 </div>
9462 <div class="inner required">
9463 Required
9464 </div>
9465 </div>
9466 </div>
9467 </td>
9468 </tr>
seshukmb3a332a2018-10-05 16:27:16 +08009469
9470 </table>
9471
9472
9473 <div class="methodsubtabletitle">Body parameters</div>
9474 <table id="methodsubtable">
tragait5e9676e2021-01-14 16:07:07 +00009475 <tr>
9476 <th width="150px">Name</th>
9477 <th>Description</th>
9478 </tr>
seshukmb3a332a2018-10-05 16:27:16 +08009479 <tr><td style="width:150px;">body </td>
tragait5e9676e2021-01-14 16:07:07 +00009480 <td>
seshukmb3a332a2018-10-05 16:27:16 +08009481
9482
tragait5e9676e2021-01-14 16:07:07 +00009483 <script>
seshukmb3a332a2018-10-05 16:27:16 +08009484$(document).ready(function() {
9485 var schemaWrapper = {
9486 "in" : "body",
9487 "name" : "body",
9488 "required" : false,
9489 "schema" : {
9490 "type" : "string"
9491 }
9492};
9493 var schema = schemaWrapper.schema;
9494 if (schema.$ref != null) {
9495 schema = defsParser.$refs.get(schema.$ref);
9496 } else {
9497 schemaWrapper.definitions = Object.assign({}, defs);
9498 $RefParser.dereference(schemaWrapper).catch(function(err) {
9499 console.log(err);
9500 });
9501 }
9502
9503 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
9504 var result = $('#d2e199_unlockOrchestrationRequest_body');
9505 result.empty();
9506 result.append(view.render());
9507});
9508</script>
tragait5e9676e2021-01-14 16:07:07 +00009509 <div id="d2e199_unlockOrchestrationRequest_body"></div>
9510 </td>
9511 </tr>
seshukmb3a332a2018-10-05 16:27:16 +08009512
9513 </table>
9514
9515
9516
tragait5e9676e2021-01-14 16:07:07 +00009517 <h2>Responses</h2>
seshukmb3a332a2018-10-05 16:27:16 +08009518 <h3> Status: default - successful operation </h3>
9519
9520 <ul class="nav nav-tabs nav-tabs-examples" >
9521 </ul>
9522
9523 <div class="tab-content" style='margin-bottom: 10px;'>
9524 </div>
9525
9526 </article>
tragait5e9676e2021-01-14 16:07:07 +00009527 </div>
9528 <hr>
9529 </section>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05309530 <section id="api-OnapsoinfraorchestrationTasks">
tragait5e9676e2021-01-14 16:07:07 +00009531 <h1>OnapsoinfraorchestrationTasks</h1>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05309532 <div id="api-OnapsoinfraorchestrationTasks-abortOrchestrationTask">
tragait5e9676e2021-01-14 16:07:07 +00009533 <article id="api-OnapsoinfraorchestrationTasks-abortOrchestrationTask-0" data-group="User" data-name="abortOrchestrationTask" data-version="0">
9534 <div class="pull-left">
9535 <h1>abortOrchestrationTask</h1>
9536 <p>abort orchestrationTask for a given taskId</p>
9537 </div>
9538 <div class="pull-right"></div>
9539 <div class="clearfix"></div>
9540 <p></p>
9541 <p class="marked"></p>
9542 <p></p>
9543 <br />
9544 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/orchestrationTasks/{version}/{taskId}/abort</span></code></pre>
9545 <p>
9546 <h3>Usage and SDK Samples</h3>
9547 </p>
9548 <ul class="nav nav-tabs nav-tabs-examples">
9549 <li class="active"><a href="#examples-OnapsoinfraorchestrationTasks-abortOrchestrationTask-0-curl">Curl</a></li>
9550 <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-abortOrchestrationTask-0-java">Java</a></li>
9551 <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-abortOrchestrationTask-0-android">Android</a></li>
9552 <!--<li class=""><a href="#examples-OnapsoinfraorchestrationTasks-abortOrchestrationTask-0-groovy">Groovy</a></li>-->
9553 <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-abortOrchestrationTask-0-objc">Obj-C</a></li>
9554 <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-abortOrchestrationTask-0-javascript">JavaScript</a></li>
9555 <!--<li class=""><a href="#examples-OnapsoinfraorchestrationTasks-abortOrchestrationTask-0-angular">Angular</a></li>-->
9556 <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-abortOrchestrationTask-0-csharp">C#</a></li>
9557 <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-abortOrchestrationTask-0-php">PHP</a></li>
9558 <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-abortOrchestrationTask-0-perl">Perl</a></li>
9559 <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-abortOrchestrationTask-0-python">Python</a></li>
9560 </ul>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05309561
tragait5e9676e2021-01-14 16:07:07 +00009562 <div class="tab-content">
9563 <div class="tab-pane active" id="examples-OnapsoinfraorchestrationTasks-abortOrchestrationTask-0-curl">
9564 <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/orchestrationTasks/{version}/{taskId}/abort"</code></pre>
9565 </div>
9566 <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-abortOrchestrationTask-0-java">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05309567 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
9568import io.swagger.client.auth.*;
9569import io.swagger.client.model.*;
9570import io.swagger.client.api.OnapsoinfraorchestrationTasksApi;
9571
9572import java.io.File;
9573import java.util.*;
9574
9575public class OnapsoinfraorchestrationTasksApiExample {
9576
9577 public static void main(String[] args) {
tragait5e9676e2021-01-14 16:07:07 +00009578
Priyadharshinic86ab4a2020-08-14 17:11:49 +05309579 OnapsoinfraorchestrationTasksApi apiInstance = new OnapsoinfraorchestrationTasksApi();
tragait5e9676e2021-01-14 16:07:07 +00009580 String taskId = taskId_example; // String |
9581 String version = version_example; // String |
9582 String body = body_example; // String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +05309583 try {
9584 apiInstance.abortOrchestrationTask(taskId, version, body);
9585 } catch (ApiException e) {
9586 System.err.println("Exception when calling OnapsoinfraorchestrationTasksApi#abortOrchestrationTask");
9587 e.printStackTrace();
9588 }
9589 }
9590}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00009591 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05309592
tragait5e9676e2021-01-14 16:07:07 +00009593 <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-abortOrchestrationTask-0-android">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05309594 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraorchestrationTasksApi;
9595
9596public class OnapsoinfraorchestrationTasksApiExample {
9597
9598 public static void main(String[] args) {
9599 OnapsoinfraorchestrationTasksApi apiInstance = new OnapsoinfraorchestrationTasksApi();
tragait5e9676e2021-01-14 16:07:07 +00009600 String taskId = taskId_example; // String |
9601 String version = version_example; // String |
9602 String body = body_example; // String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +05309603 try {
9604 apiInstance.abortOrchestrationTask(taskId, version, body);
9605 } catch (ApiException e) {
9606 System.err.println("Exception when calling OnapsoinfraorchestrationTasksApi#abortOrchestrationTask");
9607 e.printStackTrace();
9608 }
9609 }
9610}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00009611 </div>
9612 <!--
Priyadharshinic86ab4a2020-08-14 17:11:49 +05309613 <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-abortOrchestrationTask-0-groovy">
9614 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
9615 </div> -->
tragait5e9676e2021-01-14 16:07:07 +00009616 <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-abortOrchestrationTask-0-objc">
9617 <pre class="prettyprint"><code class="language-cpp">String *taskId = taskId_example; //
9618String *version = version_example; //
Priyadharshinic86ab4a2020-08-14 17:11:49 +05309619String *body = body_example; // (optional)
9620
9621OnapsoinfraorchestrationTasksApi *apiInstance = [[OnapsoinfraorchestrationTasksApi alloc] init];
9622
9623// abort orchestrationTask for a given taskId
9624[apiInstance abortOrchestrationTaskWith:taskId
9625 version:version
9626 body:body
9627 completionHandler: ^(NSError* error) {
9628 if (error) {
9629 NSLog(@"Error: %@", error);
9630 }
9631 }];
9632</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00009633 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05309634
tragait5e9676e2021-01-14 16:07:07 +00009635 <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-abortOrchestrationTask-0-javascript">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05309636 <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is');
9637
9638var api = new SoGuilinApIs.OnapsoinfraorchestrationTasksApi()
9639
tragait5e9676e2021-01-14 16:07:07 +00009640var taskId = taskId_example; // {String}
Priyadharshinic86ab4a2020-08-14 17:11:49 +05309641
tragait5e9676e2021-01-14 16:07:07 +00009642var version = version_example; // {String}
Priyadharshinic86ab4a2020-08-14 17:11:49 +05309643
tragait5e9676e2021-01-14 16:07:07 +00009644var opts = {
9645 'body': body_example // {String}
Priyadharshinic86ab4a2020-08-14 17:11:49 +05309646};
9647
9648var callback = function(error, data, response) {
9649 if (error) {
9650 console.error(error);
9651 } else {
9652 console.log('API called successfully.');
9653 }
9654};
9655api.abortOrchestrationTask(taskId, version, opts, callback);
9656</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00009657 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05309658
tragait5e9676e2021-01-14 16:07:07 +00009659 <!--<div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-abortOrchestrationTask-0-angular">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05309660 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
9661 </div>-->
tragait5e9676e2021-01-14 16:07:07 +00009662 <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-abortOrchestrationTask-0-csharp">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05309663 <pre class="prettyprint"><code class="language-cs">using System;
9664using System.Diagnostics;
9665using IO.Swagger.Api;
9666using IO.Swagger.Client;
9667using IO.Swagger.Model;
9668
9669namespace Example
9670{
9671 public class abortOrchestrationTaskExample
9672 {
9673 public void main()
9674 {
tragait5e9676e2021-01-14 16:07:07 +00009675
Priyadharshinic86ab4a2020-08-14 17:11:49 +05309676 var apiInstance = new OnapsoinfraorchestrationTasksApi();
tragait5e9676e2021-01-14 16:07:07 +00009677 var taskId = taskId_example; // String |
9678 var version = version_example; // String |
9679 var body = body_example; // String | (optional)
Priyadharshinic86ab4a2020-08-14 17:11:49 +05309680
9681 try
9682 {
9683 // abort orchestrationTask for a given taskId
9684 apiInstance.abortOrchestrationTask(taskId, version, body);
9685 }
9686 catch (Exception e)
9687 {
9688 Debug.Print("Exception when calling OnapsoinfraorchestrationTasksApi.abortOrchestrationTask: " + e.Message );
9689 }
9690 }
9691 }
9692}
9693</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00009694 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05309695
tragait5e9676e2021-01-14 16:07:07 +00009696 <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-abortOrchestrationTask-0-php">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05309697 <pre class="prettyprint"><code class="language-php"><&#63;php
9698require_once(__DIR__ . '/vendor/autoload.php');
9699
9700$api_instance = new Swagger\Client\Api\OnapsoinfraorchestrationTasksApi();
tragait5e9676e2021-01-14 16:07:07 +00009701$taskId = taskId_example; // String |
9702$version = version_example; // String |
9703$body = body_example; // String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +05309704
9705try {
9706 $api_instance->abortOrchestrationTask($taskId, $version, $body);
9707} catch (Exception $e) {
9708 echo 'Exception when calling OnapsoinfraorchestrationTasksApi->abortOrchestrationTask: ', $e->getMessage(), PHP_EOL;
9709}
9710?></code></pre>
tragait5e9676e2021-01-14 16:07:07 +00009711 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05309712
tragait5e9676e2021-01-14 16:07:07 +00009713 <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-abortOrchestrationTask-0-perl">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05309714 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
9715use WWW::SwaggerClient::Configuration;
9716use WWW::SwaggerClient::OnapsoinfraorchestrationTasksApi;
9717
9718my $api_instance = WWW::SwaggerClient::OnapsoinfraorchestrationTasksApi->new();
tragait5e9676e2021-01-14 16:07:07 +00009719my $taskId = taskId_example; # String |
9720my $version = version_example; # String |
9721my $body = WWW::SwaggerClient::Object::String->new(); # String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +05309722
tragait5e9676e2021-01-14 16:07:07 +00009723eval {
Priyadharshinic86ab4a2020-08-14 17:11:49 +05309724 $api_instance->abortOrchestrationTask(taskId => $taskId, version => $version, body => $body);
9725};
9726if ($@) {
9727 warn "Exception when calling OnapsoinfraorchestrationTasksApi->abortOrchestrationTask: $@\n";
9728}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00009729 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05309730
tragait5e9676e2021-01-14 16:07:07 +00009731 <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-abortOrchestrationTask-0-python">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05309732 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
9733import time
9734import swagger_client
9735from swagger_client.rest import ApiException
9736from pprint import pprint
9737
9738# create an instance of the API class
9739api_instance = swagger_client.OnapsoinfraorchestrationTasksApi()
tragait5e9676e2021-01-14 16:07:07 +00009740taskId = taskId_example # String |
9741version = version_example # String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +05309742body = body_example # String | (optional)
9743
tragait5e9676e2021-01-14 16:07:07 +00009744try:
Priyadharshinic86ab4a2020-08-14 17:11:49 +05309745 # abort orchestrationTask for a given taskId
9746 api_instance.abort_orchestration_task(taskId, version, body=body)
9747except ApiException as e:
9748 print("Exception when calling OnapsoinfraorchestrationTasksApi->abortOrchestrationTask: %s\n" % e)</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00009749 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05309750 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05309751
tragait5e9676e2021-01-14 16:07:07 +00009752 <h2>Parameters</h2>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05309753
9754 <div class="methodsubtabletitle">Path parameters</div>
9755 <table id="methodsubtable">
9756 <tr>
tragait5e9676e2021-01-14 16:07:07 +00009757 <th width="150px">Name</th>
9758 <th>Description</th>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05309759 </tr>
tragait5e9676e2021-01-14 16:07:07 +00009760 <tr><td style="width:150px;">taskId*</td>
9761 <td>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05309762
9763
tragait5e9676e2021-01-14 16:07:07 +00009764 <div id="d2e199_abortOrchestrationTask_taskId">
9765 <div class="json-schema-view">
9766 <div class="primitive">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05309767 <span class="type">
9768 String
9769 </span>
9770
tragait5e9676e2021-01-14 16:07:07 +00009771 </div>
9772 <div class="inner required">
9773 Required
9774 </div>
9775 </div>
9776 </div>
9777 </td>
9778 </tr>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05309779
tragait5e9676e2021-01-14 16:07:07 +00009780 <tr><td style="width:150px;">version*</td>
9781 <td>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05309782
9783
tragait5e9676e2021-01-14 16:07:07 +00009784 <div id="d2e199_abortOrchestrationTask_version">
9785 <div class="json-schema-view">
9786 <div class="primitive">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05309787 <span class="type">
9788 String
9789 </span>
9790
tragait5e9676e2021-01-14 16:07:07 +00009791 </div>
9792 <div class="inner required">
9793 Required
9794 </div>
9795 </div>
9796 </div>
9797 </td>
9798 </tr>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05309799
9800 </table>
9801
9802
9803 <div class="methodsubtabletitle">Body parameters</div>
9804 <table id="methodsubtable">
tragait5e9676e2021-01-14 16:07:07 +00009805 <tr>
9806 <th width="150px">Name</th>
9807 <th>Description</th>
9808 </tr>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05309809 <tr><td style="width:150px;">body </td>
tragait5e9676e2021-01-14 16:07:07 +00009810 <td>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05309811
9812
tragait5e9676e2021-01-14 16:07:07 +00009813 <script>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05309814$(document).ready(function() {
9815 var schemaWrapper = {
9816 "in" : "body",
9817 "name" : "body",
9818 "required" : false,
9819 "schema" : {
9820 "type" : "string"
9821 }
9822};
9823 var schema = schemaWrapper.schema;
9824 if (schema.$ref != null) {
9825 schema = defsParser.$refs.get(schema.$ref);
9826 } else {
9827 schemaWrapper.definitions = Object.assign({}, defs);
9828 $RefParser.dereference(schemaWrapper).catch(function(err) {
9829 console.log(err);
9830 });
9831 }
9832
9833 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
9834 var result = $('#d2e199_abortOrchestrationTask_body');
9835 result.empty();
9836 result.append(view.render());
9837});
9838</script>
tragait5e9676e2021-01-14 16:07:07 +00009839 <div id="d2e199_abortOrchestrationTask_body"></div>
9840 </td>
9841 </tr>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05309842
9843 </table>
9844
9845
9846
tragait5e9676e2021-01-14 16:07:07 +00009847 <h2>Responses</h2>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05309848 <h3> Status: default - successful operation </h3>
9849
9850 <ul class="nav nav-tabs nav-tabs-examples" >
9851 </ul>
9852
9853 <div class="tab-content" style='margin-bottom: 10px;'>
9854 </div>
9855
9856 </article>
tragait5e9676e2021-01-14 16:07:07 +00009857 </div>
9858 <hr>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05309859 <div id="api-OnapsoinfraorchestrationTasks-commitOrchestrationTask">
tragait5e9676e2021-01-14 16:07:07 +00009860 <article id="api-OnapsoinfraorchestrationTasks-commitOrchestrationTask-0" data-group="User" data-name="commitOrchestrationTask" data-version="0">
9861 <div class="pull-left">
9862 <h1>commitOrchestrationTask</h1>
9863 <p>commit orchestrationTask for a given taskId</p>
9864 </div>
9865 <div class="pull-right"></div>
9866 <div class="clearfix"></div>
9867 <p></p>
9868 <p class="marked"></p>
9869 <p></p>
9870 <br />
9871 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/orchestrationTasks/{version}/{taskId}/commit</span></code></pre>
9872 <p>
9873 <h3>Usage and SDK Samples</h3>
9874 </p>
9875 <ul class="nav nav-tabs nav-tabs-examples">
9876 <li class="active"><a href="#examples-OnapsoinfraorchestrationTasks-commitOrchestrationTask-0-curl">Curl</a></li>
9877 <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-commitOrchestrationTask-0-java">Java</a></li>
9878 <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-commitOrchestrationTask-0-android">Android</a></li>
9879 <!--<li class=""><a href="#examples-OnapsoinfraorchestrationTasks-commitOrchestrationTask-0-groovy">Groovy</a></li>-->
9880 <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-commitOrchestrationTask-0-objc">Obj-C</a></li>
9881 <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-commitOrchestrationTask-0-javascript">JavaScript</a></li>
9882 <!--<li class=""><a href="#examples-OnapsoinfraorchestrationTasks-commitOrchestrationTask-0-angular">Angular</a></li>-->
9883 <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-commitOrchestrationTask-0-csharp">C#</a></li>
9884 <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-commitOrchestrationTask-0-php">PHP</a></li>
9885 <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-commitOrchestrationTask-0-perl">Perl</a></li>
9886 <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-commitOrchestrationTask-0-python">Python</a></li>
9887 </ul>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05309888
tragait5e9676e2021-01-14 16:07:07 +00009889 <div class="tab-content">
9890 <div class="tab-pane active" id="examples-OnapsoinfraorchestrationTasks-commitOrchestrationTask-0-curl">
9891 <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/orchestrationTasks/{version}/{taskId}/commit"</code></pre>
9892 </div>
9893 <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-commitOrchestrationTask-0-java">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05309894 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
9895import io.swagger.client.auth.*;
9896import io.swagger.client.model.*;
9897import io.swagger.client.api.OnapsoinfraorchestrationTasksApi;
9898
9899import java.io.File;
9900import java.util.*;
9901
9902public class OnapsoinfraorchestrationTasksApiExample {
9903
9904 public static void main(String[] args) {
tragait5e9676e2021-01-14 16:07:07 +00009905
Priyadharshinic86ab4a2020-08-14 17:11:49 +05309906 OnapsoinfraorchestrationTasksApi apiInstance = new OnapsoinfraorchestrationTasksApi();
tragait5e9676e2021-01-14 16:07:07 +00009907 String taskId = taskId_example; // String |
9908 String version = version_example; // String |
9909 String body = body_example; // String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +05309910 try {
9911 apiInstance.commitOrchestrationTask(taskId, version, body);
9912 } catch (ApiException e) {
9913 System.err.println("Exception when calling OnapsoinfraorchestrationTasksApi#commitOrchestrationTask");
9914 e.printStackTrace();
9915 }
9916 }
9917}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00009918 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05309919
tragait5e9676e2021-01-14 16:07:07 +00009920 <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-commitOrchestrationTask-0-android">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05309921 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraorchestrationTasksApi;
9922
9923public class OnapsoinfraorchestrationTasksApiExample {
9924
9925 public static void main(String[] args) {
9926 OnapsoinfraorchestrationTasksApi apiInstance = new OnapsoinfraorchestrationTasksApi();
tragait5e9676e2021-01-14 16:07:07 +00009927 String taskId = taskId_example; // String |
9928 String version = version_example; // String |
9929 String body = body_example; // String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +05309930 try {
9931 apiInstance.commitOrchestrationTask(taskId, version, body);
9932 } catch (ApiException e) {
9933 System.err.println("Exception when calling OnapsoinfraorchestrationTasksApi#commitOrchestrationTask");
9934 e.printStackTrace();
9935 }
9936 }
9937}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00009938 </div>
9939 <!--
Priyadharshinic86ab4a2020-08-14 17:11:49 +05309940 <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-commitOrchestrationTask-0-groovy">
9941 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
9942 </div> -->
tragait5e9676e2021-01-14 16:07:07 +00009943 <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-commitOrchestrationTask-0-objc">
9944 <pre class="prettyprint"><code class="language-cpp">String *taskId = taskId_example; //
9945String *version = version_example; //
Priyadharshinic86ab4a2020-08-14 17:11:49 +05309946String *body = body_example; // (optional)
9947
9948OnapsoinfraorchestrationTasksApi *apiInstance = [[OnapsoinfraorchestrationTasksApi alloc] init];
9949
9950// commit orchestrationTask for a given taskId
9951[apiInstance commitOrchestrationTaskWith:taskId
9952 version:version
9953 body:body
9954 completionHandler: ^(NSError* error) {
9955 if (error) {
9956 NSLog(@"Error: %@", error);
9957 }
9958 }];
9959</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00009960 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05309961
tragait5e9676e2021-01-14 16:07:07 +00009962 <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-commitOrchestrationTask-0-javascript">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05309963 <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is');
9964
9965var api = new SoGuilinApIs.OnapsoinfraorchestrationTasksApi()
9966
tragait5e9676e2021-01-14 16:07:07 +00009967var taskId = taskId_example; // {String}
Priyadharshinic86ab4a2020-08-14 17:11:49 +05309968
tragait5e9676e2021-01-14 16:07:07 +00009969var version = version_example; // {String}
Priyadharshinic86ab4a2020-08-14 17:11:49 +05309970
tragait5e9676e2021-01-14 16:07:07 +00009971var opts = {
9972 'body': body_example // {String}
Priyadharshinic86ab4a2020-08-14 17:11:49 +05309973};
9974
9975var callback = function(error, data, response) {
9976 if (error) {
9977 console.error(error);
9978 } else {
9979 console.log('API called successfully.');
9980 }
9981};
9982api.commitOrchestrationTask(taskId, version, opts, callback);
9983</code></pre>
tragait5e9676e2021-01-14 16:07:07 +00009984 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +05309985
tragait5e9676e2021-01-14 16:07:07 +00009986 <!--<div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-commitOrchestrationTask-0-angular">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05309987 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
9988 </div>-->
tragait5e9676e2021-01-14 16:07:07 +00009989 <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-commitOrchestrationTask-0-csharp">
Priyadharshinic86ab4a2020-08-14 17:11:49 +05309990 <pre class="prettyprint"><code class="language-cs">using System;
9991using System.Diagnostics;
9992using IO.Swagger.Api;
9993using IO.Swagger.Client;
9994using IO.Swagger.Model;
9995
9996namespace Example
9997{
9998 public class commitOrchestrationTaskExample
9999 {
10000 public void main()
10001 {
tragait5e9676e2021-01-14 16:07:07 +000010002
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010003 var apiInstance = new OnapsoinfraorchestrationTasksApi();
tragait5e9676e2021-01-14 16:07:07 +000010004 var taskId = taskId_example; // String |
10005 var version = version_example; // String |
10006 var body = body_example; // String | (optional)
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010007
10008 try
10009 {
10010 // commit orchestrationTask for a given taskId
10011 apiInstance.commitOrchestrationTask(taskId, version, body);
10012 }
10013 catch (Exception e)
10014 {
10015 Debug.Print("Exception when calling OnapsoinfraorchestrationTasksApi.commitOrchestrationTask: " + e.Message );
10016 }
10017 }
10018 }
10019}
10020</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000010021 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010022
tragait5e9676e2021-01-14 16:07:07 +000010023 <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-commitOrchestrationTask-0-php">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010024 <pre class="prettyprint"><code class="language-php"><&#63;php
10025require_once(__DIR__ . '/vendor/autoload.php');
10026
10027$api_instance = new Swagger\Client\Api\OnapsoinfraorchestrationTasksApi();
tragait5e9676e2021-01-14 16:07:07 +000010028$taskId = taskId_example; // String |
10029$version = version_example; // String |
10030$body = body_example; // String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010031
10032try {
10033 $api_instance->commitOrchestrationTask($taskId, $version, $body);
10034} catch (Exception $e) {
10035 echo 'Exception when calling OnapsoinfraorchestrationTasksApi->commitOrchestrationTask: ', $e->getMessage(), PHP_EOL;
10036}
10037?></code></pre>
tragait5e9676e2021-01-14 16:07:07 +000010038 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010039
tragait5e9676e2021-01-14 16:07:07 +000010040 <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-commitOrchestrationTask-0-perl">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010041 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
10042use WWW::SwaggerClient::Configuration;
10043use WWW::SwaggerClient::OnapsoinfraorchestrationTasksApi;
10044
10045my $api_instance = WWW::SwaggerClient::OnapsoinfraorchestrationTasksApi->new();
tragait5e9676e2021-01-14 16:07:07 +000010046my $taskId = taskId_example; # String |
10047my $version = version_example; # String |
10048my $body = WWW::SwaggerClient::Object::String->new(); # String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010049
tragait5e9676e2021-01-14 16:07:07 +000010050eval {
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010051 $api_instance->commitOrchestrationTask(taskId => $taskId, version => $version, body => $body);
10052};
10053if ($@) {
10054 warn "Exception when calling OnapsoinfraorchestrationTasksApi->commitOrchestrationTask: $@\n";
10055}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000010056 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010057
tragait5e9676e2021-01-14 16:07:07 +000010058 <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-commitOrchestrationTask-0-python">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010059 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
10060import time
10061import swagger_client
10062from swagger_client.rest import ApiException
10063from pprint import pprint
10064
10065# create an instance of the API class
10066api_instance = swagger_client.OnapsoinfraorchestrationTasksApi()
tragait5e9676e2021-01-14 16:07:07 +000010067taskId = taskId_example # String |
10068version = version_example # String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010069body = body_example # String | (optional)
10070
tragait5e9676e2021-01-14 16:07:07 +000010071try:
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010072 # commit orchestrationTask for a given taskId
10073 api_instance.commit_orchestration_task(taskId, version, body=body)
10074except ApiException as e:
10075 print("Exception when calling OnapsoinfraorchestrationTasksApi->commitOrchestrationTask: %s\n" % e)</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000010076 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010077 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010078
tragait5e9676e2021-01-14 16:07:07 +000010079 <h2>Parameters</h2>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010080
10081 <div class="methodsubtabletitle">Path parameters</div>
10082 <table id="methodsubtable">
10083 <tr>
tragait5e9676e2021-01-14 16:07:07 +000010084 <th width="150px">Name</th>
10085 <th>Description</th>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010086 </tr>
tragait5e9676e2021-01-14 16:07:07 +000010087 <tr><td style="width:150px;">taskId*</td>
10088 <td>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010089
10090
tragait5e9676e2021-01-14 16:07:07 +000010091 <div id="d2e199_commitOrchestrationTask_taskId">
10092 <div class="json-schema-view">
10093 <div class="primitive">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010094 <span class="type">
10095 String
10096 </span>
10097
tragait5e9676e2021-01-14 16:07:07 +000010098 </div>
10099 <div class="inner required">
10100 Required
10101 </div>
10102 </div>
10103 </div>
10104 </td>
10105 </tr>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010106
tragait5e9676e2021-01-14 16:07:07 +000010107 <tr><td style="width:150px;">version*</td>
10108 <td>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010109
10110
tragait5e9676e2021-01-14 16:07:07 +000010111 <div id="d2e199_commitOrchestrationTask_version">
10112 <div class="json-schema-view">
10113 <div class="primitive">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010114 <span class="type">
10115 String
10116 </span>
10117
tragait5e9676e2021-01-14 16:07:07 +000010118 </div>
10119 <div class="inner required">
10120 Required
10121 </div>
10122 </div>
10123 </div>
10124 </td>
10125 </tr>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010126
10127 </table>
10128
10129
10130 <div class="methodsubtabletitle">Body parameters</div>
10131 <table id="methodsubtable">
tragait5e9676e2021-01-14 16:07:07 +000010132 <tr>
10133 <th width="150px">Name</th>
10134 <th>Description</th>
10135 </tr>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010136 <tr><td style="width:150px;">body </td>
tragait5e9676e2021-01-14 16:07:07 +000010137 <td>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010138
10139
tragait5e9676e2021-01-14 16:07:07 +000010140 <script>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010141$(document).ready(function() {
10142 var schemaWrapper = {
10143 "in" : "body",
10144 "name" : "body",
10145 "required" : false,
10146 "schema" : {
10147 "type" : "string"
10148 }
10149};
10150 var schema = schemaWrapper.schema;
10151 if (schema.$ref != null) {
10152 schema = defsParser.$refs.get(schema.$ref);
10153 } else {
10154 schemaWrapper.definitions = Object.assign({}, defs);
10155 $RefParser.dereference(schemaWrapper).catch(function(err) {
10156 console.log(err);
10157 });
10158 }
10159
10160 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
10161 var result = $('#d2e199_commitOrchestrationTask_body');
10162 result.empty();
10163 result.append(view.render());
10164});
10165</script>
tragait5e9676e2021-01-14 16:07:07 +000010166 <div id="d2e199_commitOrchestrationTask_body"></div>
10167 </td>
10168 </tr>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010169
10170 </table>
10171
10172
10173
tragait5e9676e2021-01-14 16:07:07 +000010174 <h2>Responses</h2>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010175 <h3> Status: default - successful operation </h3>
10176
10177 <ul class="nav nav-tabs nav-tabs-examples" >
10178 </ul>
10179
10180 <div class="tab-content" style='margin-bottom: 10px;'>
10181 </div>
10182
10183 </article>
tragait5e9676e2021-01-14 16:07:07 +000010184 </div>
10185 <hr>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010186 <div id="api-OnapsoinfraorchestrationTasks-createOrchestrationTask">
tragait5e9676e2021-01-14 16:07:07 +000010187 <article id="api-OnapsoinfraorchestrationTasks-createOrchestrationTask-0" data-group="User" data-name="createOrchestrationTask" data-version="0">
10188 <div class="pull-left">
10189 <h1>createOrchestrationTask</h1>
10190 <p>Create an orchestrationTask</p>
10191 </div>
10192 <div class="pull-right"></div>
10193 <div class="clearfix"></div>
10194 <p></p>
10195 <p class="marked"></p>
10196 <p></p>
10197 <br />
10198 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/orchestrationTasks/{version}</span></code></pre>
10199 <p>
10200 <h3>Usage and SDK Samples</h3>
10201 </p>
10202 <ul class="nav nav-tabs nav-tabs-examples">
10203 <li class="active"><a href="#examples-OnapsoinfraorchestrationTasks-createOrchestrationTask-0-curl">Curl</a></li>
10204 <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-createOrchestrationTask-0-java">Java</a></li>
10205 <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-createOrchestrationTask-0-android">Android</a></li>
10206 <!--<li class=""><a href="#examples-OnapsoinfraorchestrationTasks-createOrchestrationTask-0-groovy">Groovy</a></li>-->
10207 <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-createOrchestrationTask-0-objc">Obj-C</a></li>
10208 <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-createOrchestrationTask-0-javascript">JavaScript</a></li>
10209 <!--<li class=""><a href="#examples-OnapsoinfraorchestrationTasks-createOrchestrationTask-0-angular">Angular</a></li>-->
10210 <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-createOrchestrationTask-0-csharp">C#</a></li>
10211 <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-createOrchestrationTask-0-php">PHP</a></li>
10212 <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-createOrchestrationTask-0-perl">Perl</a></li>
10213 <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-createOrchestrationTask-0-python">Python</a></li>
10214 </ul>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010215
tragait5e9676e2021-01-14 16:07:07 +000010216 <div class="tab-content">
10217 <div class="tab-pane active" id="examples-OnapsoinfraorchestrationTasks-createOrchestrationTask-0-curl">
10218 <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/orchestrationTasks/{version}"</code></pre>
10219 </div>
10220 <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-createOrchestrationTask-0-java">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010221 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
10222import io.swagger.client.auth.*;
10223import io.swagger.client.model.*;
10224import io.swagger.client.api.OnapsoinfraorchestrationTasksApi;
10225
10226import java.io.File;
10227import java.util.*;
10228
10229public class OnapsoinfraorchestrationTasksApiExample {
10230
10231 public static void main(String[] args) {
tragait5e9676e2021-01-14 16:07:07 +000010232
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010233 OnapsoinfraorchestrationTasksApi apiInstance = new OnapsoinfraorchestrationTasksApi();
tragait5e9676e2021-01-14 16:07:07 +000010234 String version = version_example; // String |
10235 String body = body_example; // String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010236 try {
10237 apiInstance.createOrchestrationTask(version, body);
10238 } catch (ApiException e) {
10239 System.err.println("Exception when calling OnapsoinfraorchestrationTasksApi#createOrchestrationTask");
10240 e.printStackTrace();
10241 }
10242 }
10243}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000010244 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010245
tragait5e9676e2021-01-14 16:07:07 +000010246 <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-createOrchestrationTask-0-android">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010247 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraorchestrationTasksApi;
10248
10249public class OnapsoinfraorchestrationTasksApiExample {
10250
10251 public static void main(String[] args) {
10252 OnapsoinfraorchestrationTasksApi apiInstance = new OnapsoinfraorchestrationTasksApi();
tragait5e9676e2021-01-14 16:07:07 +000010253 String version = version_example; // String |
10254 String body = body_example; // String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010255 try {
10256 apiInstance.createOrchestrationTask(version, body);
10257 } catch (ApiException e) {
10258 System.err.println("Exception when calling OnapsoinfraorchestrationTasksApi#createOrchestrationTask");
10259 e.printStackTrace();
10260 }
10261 }
10262}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000010263 </div>
10264 <!--
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010265 <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-createOrchestrationTask-0-groovy">
10266 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
10267 </div> -->
tragait5e9676e2021-01-14 16:07:07 +000010268 <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-createOrchestrationTask-0-objc">
10269 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010270String *body = body_example; // (optional)
10271
10272OnapsoinfraorchestrationTasksApi *apiInstance = [[OnapsoinfraorchestrationTasksApi alloc] init];
10273
10274// Create an orchestrationTask
10275[apiInstance createOrchestrationTaskWith:version
10276 body:body
10277 completionHandler: ^(NSError* error) {
10278 if (error) {
10279 NSLog(@"Error: %@", error);
10280 }
10281 }];
10282</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000010283 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010284
tragait5e9676e2021-01-14 16:07:07 +000010285 <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-createOrchestrationTask-0-javascript">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010286 <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is');
10287
10288var api = new SoGuilinApIs.OnapsoinfraorchestrationTasksApi()
10289
tragait5e9676e2021-01-14 16:07:07 +000010290var version = version_example; // {String}
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010291
tragait5e9676e2021-01-14 16:07:07 +000010292var opts = {
10293 'body': body_example // {String}
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010294};
10295
10296var callback = function(error, data, response) {
10297 if (error) {
10298 console.error(error);
10299 } else {
10300 console.log('API called successfully.');
10301 }
10302};
10303api.createOrchestrationTask(version, opts, callback);
10304</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000010305 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010306
tragait5e9676e2021-01-14 16:07:07 +000010307 <!--<div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-createOrchestrationTask-0-angular">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010308 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
10309 </div>-->
tragait5e9676e2021-01-14 16:07:07 +000010310 <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-createOrchestrationTask-0-csharp">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010311 <pre class="prettyprint"><code class="language-cs">using System;
10312using System.Diagnostics;
10313using IO.Swagger.Api;
10314using IO.Swagger.Client;
10315using IO.Swagger.Model;
10316
10317namespace Example
10318{
10319 public class createOrchestrationTaskExample
10320 {
10321 public void main()
10322 {
tragait5e9676e2021-01-14 16:07:07 +000010323
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010324 var apiInstance = new OnapsoinfraorchestrationTasksApi();
tragait5e9676e2021-01-14 16:07:07 +000010325 var version = version_example; // String |
10326 var body = body_example; // String | (optional)
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010327
10328 try
10329 {
10330 // Create an orchestrationTask
10331 apiInstance.createOrchestrationTask(version, body);
10332 }
10333 catch (Exception e)
10334 {
10335 Debug.Print("Exception when calling OnapsoinfraorchestrationTasksApi.createOrchestrationTask: " + e.Message );
10336 }
10337 }
10338 }
10339}
10340</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000010341 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010342
tragait5e9676e2021-01-14 16:07:07 +000010343 <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-createOrchestrationTask-0-php">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010344 <pre class="prettyprint"><code class="language-php"><&#63;php
10345require_once(__DIR__ . '/vendor/autoload.php');
10346
10347$api_instance = new Swagger\Client\Api\OnapsoinfraorchestrationTasksApi();
tragait5e9676e2021-01-14 16:07:07 +000010348$version = version_example; // String |
10349$body = body_example; // String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010350
10351try {
10352 $api_instance->createOrchestrationTask($version, $body);
10353} catch (Exception $e) {
10354 echo 'Exception when calling OnapsoinfraorchestrationTasksApi->createOrchestrationTask: ', $e->getMessage(), PHP_EOL;
10355}
10356?></code></pre>
tragait5e9676e2021-01-14 16:07:07 +000010357 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010358
tragait5e9676e2021-01-14 16:07:07 +000010359 <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-createOrchestrationTask-0-perl">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010360 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
10361use WWW::SwaggerClient::Configuration;
10362use WWW::SwaggerClient::OnapsoinfraorchestrationTasksApi;
10363
10364my $api_instance = WWW::SwaggerClient::OnapsoinfraorchestrationTasksApi->new();
tragait5e9676e2021-01-14 16:07:07 +000010365my $version = version_example; # String |
10366my $body = WWW::SwaggerClient::Object::String->new(); # String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010367
tragait5e9676e2021-01-14 16:07:07 +000010368eval {
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010369 $api_instance->createOrchestrationTask(version => $version, body => $body);
10370};
10371if ($@) {
10372 warn "Exception when calling OnapsoinfraorchestrationTasksApi->createOrchestrationTask: $@\n";
10373}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000010374 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010375
tragait5e9676e2021-01-14 16:07:07 +000010376 <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-createOrchestrationTask-0-python">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010377 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
10378import time
10379import swagger_client
10380from swagger_client.rest import ApiException
10381from pprint import pprint
10382
10383# create an instance of the API class
10384api_instance = swagger_client.OnapsoinfraorchestrationTasksApi()
tragait5e9676e2021-01-14 16:07:07 +000010385version = version_example # String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010386body = body_example # String | (optional)
10387
tragait5e9676e2021-01-14 16:07:07 +000010388try:
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010389 # Create an orchestrationTask
10390 api_instance.create_orchestration_task(version, body=body)
10391except ApiException as e:
10392 print("Exception when calling OnapsoinfraorchestrationTasksApi->createOrchestrationTask: %s\n" % e)</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000010393 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010394 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010395
tragait5e9676e2021-01-14 16:07:07 +000010396 <h2>Parameters</h2>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010397
10398 <div class="methodsubtabletitle">Path parameters</div>
10399 <table id="methodsubtable">
10400 <tr>
tragait5e9676e2021-01-14 16:07:07 +000010401 <th width="150px">Name</th>
10402 <th>Description</th>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010403 </tr>
tragait5e9676e2021-01-14 16:07:07 +000010404 <tr><td style="width:150px;">version*</td>
10405 <td>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010406
10407
tragait5e9676e2021-01-14 16:07:07 +000010408 <div id="d2e199_createOrchestrationTask_version">
10409 <div class="json-schema-view">
10410 <div class="primitive">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010411 <span class="type">
10412 String
10413 </span>
10414
tragait5e9676e2021-01-14 16:07:07 +000010415 </div>
10416 <div class="inner required">
10417 Required
10418 </div>
10419 </div>
10420 </div>
10421 </td>
10422 </tr>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010423
10424 </table>
10425
10426
10427 <div class="methodsubtabletitle">Body parameters</div>
10428 <table id="methodsubtable">
tragait5e9676e2021-01-14 16:07:07 +000010429 <tr>
10430 <th width="150px">Name</th>
10431 <th>Description</th>
10432 </tr>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010433 <tr><td style="width:150px;">body </td>
tragait5e9676e2021-01-14 16:07:07 +000010434 <td>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010435
10436
tragait5e9676e2021-01-14 16:07:07 +000010437 <script>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010438$(document).ready(function() {
10439 var schemaWrapper = {
10440 "in" : "body",
10441 "name" : "body",
10442 "required" : false,
10443 "schema" : {
10444 "type" : "string"
10445 }
10446};
10447 var schema = schemaWrapper.schema;
10448 if (schema.$ref != null) {
10449 schema = defsParser.$refs.get(schema.$ref);
10450 } else {
10451 schemaWrapper.definitions = Object.assign({}, defs);
10452 $RefParser.dereference(schemaWrapper).catch(function(err) {
10453 console.log(err);
10454 });
10455 }
10456
10457 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
10458 var result = $('#d2e199_createOrchestrationTask_body');
10459 result.empty();
10460 result.append(view.render());
10461});
10462</script>
tragait5e9676e2021-01-14 16:07:07 +000010463 <div id="d2e199_createOrchestrationTask_body"></div>
10464 </td>
10465 </tr>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010466
10467 </table>
10468
10469
10470
tragait5e9676e2021-01-14 16:07:07 +000010471 <h2>Responses</h2>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010472 <h3> Status: default - successful operation </h3>
10473
10474 <ul class="nav nav-tabs nav-tabs-examples" >
10475 </ul>
10476
10477 <div class="tab-content" style='margin-bottom: 10px;'>
10478 </div>
10479
10480 </article>
tragait5e9676e2021-01-14 16:07:07 +000010481 </div>
10482 <hr>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010483 <div id="api-OnapsoinfraorchestrationTasks-deleteOrchestrationTask">
tragait5e9676e2021-01-14 16:07:07 +000010484 <article id="api-OnapsoinfraorchestrationTasks-deleteOrchestrationTask-0" data-group="User" data-name="deleteOrchestrationTask" data-version="0">
10485 <div class="pull-left">
10486 <h1>deleteOrchestrationTask</h1>
10487 <p>delete orchestrationTask for a given taskId</p>
10488 </div>
10489 <div class="pull-right"></div>
10490 <div class="clearfix"></div>
10491 <p></p>
10492 <p class="marked"></p>
10493 <p></p>
10494 <br />
10495 <pre class="prettyprint language-html prettyprinted" data-type="delete"><code><span class="pln">/onap/so/infra/orchestrationTasks/{version}/{taskId}</span></code></pre>
10496 <p>
10497 <h3>Usage and SDK Samples</h3>
10498 </p>
10499 <ul class="nav nav-tabs nav-tabs-examples">
10500 <li class="active"><a href="#examples-OnapsoinfraorchestrationTasks-deleteOrchestrationTask-0-curl">Curl</a></li>
10501 <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-deleteOrchestrationTask-0-java">Java</a></li>
10502 <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-deleteOrchestrationTask-0-android">Android</a></li>
10503 <!--<li class=""><a href="#examples-OnapsoinfraorchestrationTasks-deleteOrchestrationTask-0-groovy">Groovy</a></li>-->
10504 <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-deleteOrchestrationTask-0-objc">Obj-C</a></li>
10505 <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-deleteOrchestrationTask-0-javascript">JavaScript</a></li>
10506 <!--<li class=""><a href="#examples-OnapsoinfraorchestrationTasks-deleteOrchestrationTask-0-angular">Angular</a></li>-->
10507 <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-deleteOrchestrationTask-0-csharp">C#</a></li>
10508 <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-deleteOrchestrationTask-0-php">PHP</a></li>
10509 <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-deleteOrchestrationTask-0-perl">Perl</a></li>
10510 <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-deleteOrchestrationTask-0-python">Python</a></li>
10511 </ul>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010512
tragait5e9676e2021-01-14 16:07:07 +000010513 <div class="tab-content">
10514 <div class="tab-pane active" id="examples-OnapsoinfraorchestrationTasks-deleteOrchestrationTask-0-curl">
10515 <pre class="prettyprint"><code class="language-bsh">curl -X DELETE "http://localhost/onap/so/infra/orchestrationTasks/{version}/{taskId}"</code></pre>
10516 </div>
10517 <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-deleteOrchestrationTask-0-java">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010518 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
10519import io.swagger.client.auth.*;
10520import io.swagger.client.model.*;
10521import io.swagger.client.api.OnapsoinfraorchestrationTasksApi;
10522
10523import java.io.File;
10524import java.util.*;
10525
10526public class OnapsoinfraorchestrationTasksApiExample {
10527
10528 public static void main(String[] args) {
tragait5e9676e2021-01-14 16:07:07 +000010529
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010530 OnapsoinfraorchestrationTasksApi apiInstance = new OnapsoinfraorchestrationTasksApi();
tragait5e9676e2021-01-14 16:07:07 +000010531 String taskId = taskId_example; // String |
10532 String version = version_example; // String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010533 try {
10534 apiInstance.deleteOrchestrationTask(taskId, version);
10535 } catch (ApiException e) {
10536 System.err.println("Exception when calling OnapsoinfraorchestrationTasksApi#deleteOrchestrationTask");
10537 e.printStackTrace();
10538 }
10539 }
10540}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000010541 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010542
tragait5e9676e2021-01-14 16:07:07 +000010543 <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-deleteOrchestrationTask-0-android">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010544 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraorchestrationTasksApi;
10545
10546public class OnapsoinfraorchestrationTasksApiExample {
10547
10548 public static void main(String[] args) {
10549 OnapsoinfraorchestrationTasksApi apiInstance = new OnapsoinfraorchestrationTasksApi();
tragait5e9676e2021-01-14 16:07:07 +000010550 String taskId = taskId_example; // String |
10551 String version = version_example; // String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010552 try {
10553 apiInstance.deleteOrchestrationTask(taskId, version);
10554 } catch (ApiException e) {
10555 System.err.println("Exception when calling OnapsoinfraorchestrationTasksApi#deleteOrchestrationTask");
10556 e.printStackTrace();
10557 }
10558 }
10559}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000010560 </div>
10561 <!--
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010562 <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-deleteOrchestrationTask-0-groovy">
10563 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
10564 </div> -->
tragait5e9676e2021-01-14 16:07:07 +000010565 <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-deleteOrchestrationTask-0-objc">
10566 <pre class="prettyprint"><code class="language-cpp">String *taskId = taskId_example; //
10567String *version = version_example; //
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010568
10569OnapsoinfraorchestrationTasksApi *apiInstance = [[OnapsoinfraorchestrationTasksApi alloc] init];
10570
10571// delete orchestrationTask for a given taskId
10572[apiInstance deleteOrchestrationTaskWith:taskId
10573 version:version
10574 completionHandler: ^(NSError* error) {
10575 if (error) {
10576 NSLog(@"Error: %@", error);
10577 }
10578 }];
10579</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000010580 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010581
tragait5e9676e2021-01-14 16:07:07 +000010582 <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-deleteOrchestrationTask-0-javascript">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010583 <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is');
10584
10585var api = new SoGuilinApIs.OnapsoinfraorchestrationTasksApi()
10586
tragait5e9676e2021-01-14 16:07:07 +000010587var taskId = taskId_example; // {String}
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010588
tragait5e9676e2021-01-14 16:07:07 +000010589var version = version_example; // {String}
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010590
10591
10592var callback = function(error, data, response) {
10593 if (error) {
10594 console.error(error);
10595 } else {
10596 console.log('API called successfully.');
10597 }
10598};
10599api.deleteOrchestrationTask(taskId, version, callback);
10600</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000010601 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010602
tragait5e9676e2021-01-14 16:07:07 +000010603 <!--<div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-deleteOrchestrationTask-0-angular">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010604 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
10605 </div>-->
tragait5e9676e2021-01-14 16:07:07 +000010606 <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-deleteOrchestrationTask-0-csharp">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010607 <pre class="prettyprint"><code class="language-cs">using System;
10608using System.Diagnostics;
10609using IO.Swagger.Api;
10610using IO.Swagger.Client;
10611using IO.Swagger.Model;
10612
10613namespace Example
10614{
10615 public class deleteOrchestrationTaskExample
10616 {
10617 public void main()
10618 {
tragait5e9676e2021-01-14 16:07:07 +000010619
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010620 var apiInstance = new OnapsoinfraorchestrationTasksApi();
tragait5e9676e2021-01-14 16:07:07 +000010621 var taskId = taskId_example; // String |
10622 var version = version_example; // String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010623
10624 try
10625 {
10626 // delete orchestrationTask for a given taskId
10627 apiInstance.deleteOrchestrationTask(taskId, version);
10628 }
10629 catch (Exception e)
10630 {
10631 Debug.Print("Exception when calling OnapsoinfraorchestrationTasksApi.deleteOrchestrationTask: " + e.Message );
10632 }
10633 }
10634 }
10635}
10636</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000010637 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010638
tragait5e9676e2021-01-14 16:07:07 +000010639 <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-deleteOrchestrationTask-0-php">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010640 <pre class="prettyprint"><code class="language-php"><&#63;php
10641require_once(__DIR__ . '/vendor/autoload.php');
10642
10643$api_instance = new Swagger\Client\Api\OnapsoinfraorchestrationTasksApi();
tragait5e9676e2021-01-14 16:07:07 +000010644$taskId = taskId_example; // String |
10645$version = version_example; // String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010646
10647try {
10648 $api_instance->deleteOrchestrationTask($taskId, $version);
10649} catch (Exception $e) {
10650 echo 'Exception when calling OnapsoinfraorchestrationTasksApi->deleteOrchestrationTask: ', $e->getMessage(), PHP_EOL;
10651}
10652?></code></pre>
tragait5e9676e2021-01-14 16:07:07 +000010653 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010654
tragait5e9676e2021-01-14 16:07:07 +000010655 <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-deleteOrchestrationTask-0-perl">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010656 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
10657use WWW::SwaggerClient::Configuration;
10658use WWW::SwaggerClient::OnapsoinfraorchestrationTasksApi;
10659
10660my $api_instance = WWW::SwaggerClient::OnapsoinfraorchestrationTasksApi->new();
tragait5e9676e2021-01-14 16:07:07 +000010661my $taskId = taskId_example; # String |
10662my $version = version_example; # String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010663
tragait5e9676e2021-01-14 16:07:07 +000010664eval {
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010665 $api_instance->deleteOrchestrationTask(taskId => $taskId, version => $version);
10666};
10667if ($@) {
10668 warn "Exception when calling OnapsoinfraorchestrationTasksApi->deleteOrchestrationTask: $@\n";
10669}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000010670 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010671
tragait5e9676e2021-01-14 16:07:07 +000010672 <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-deleteOrchestrationTask-0-python">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010673 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
10674import time
10675import swagger_client
10676from swagger_client.rest import ApiException
10677from pprint import pprint
10678
10679# create an instance of the API class
10680api_instance = swagger_client.OnapsoinfraorchestrationTasksApi()
tragait5e9676e2021-01-14 16:07:07 +000010681taskId = taskId_example # String |
10682version = version_example # String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010683
tragait5e9676e2021-01-14 16:07:07 +000010684try:
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010685 # delete orchestrationTask for a given taskId
10686 api_instance.delete_orchestration_task(taskId, version)
10687except ApiException as e:
10688 print("Exception when calling OnapsoinfraorchestrationTasksApi->deleteOrchestrationTask: %s\n" % e)</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000010689 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010690 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010691
tragait5e9676e2021-01-14 16:07:07 +000010692 <h2>Parameters</h2>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010693
10694 <div class="methodsubtabletitle">Path parameters</div>
10695 <table id="methodsubtable">
10696 <tr>
tragait5e9676e2021-01-14 16:07:07 +000010697 <th width="150px">Name</th>
10698 <th>Description</th>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010699 </tr>
tragait5e9676e2021-01-14 16:07:07 +000010700 <tr><td style="width:150px;">taskId*</td>
10701 <td>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010702
10703
tragait5e9676e2021-01-14 16:07:07 +000010704 <div id="d2e199_deleteOrchestrationTask_taskId">
10705 <div class="json-schema-view">
10706 <div class="primitive">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010707 <span class="type">
10708 String
10709 </span>
10710
tragait5e9676e2021-01-14 16:07:07 +000010711 </div>
10712 <div class="inner required">
10713 Required
10714 </div>
10715 </div>
10716 </div>
10717 </td>
10718 </tr>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010719
tragait5e9676e2021-01-14 16:07:07 +000010720 <tr><td style="width:150px;">version*</td>
10721 <td>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010722
10723
tragait5e9676e2021-01-14 16:07:07 +000010724 <div id="d2e199_deleteOrchestrationTask_version">
10725 <div class="json-schema-view">
10726 <div class="primitive">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010727 <span class="type">
10728 String
10729 </span>
10730
tragait5e9676e2021-01-14 16:07:07 +000010731 </div>
10732 <div class="inner required">
10733 Required
10734 </div>
10735 </div>
10736 </div>
10737 </td>
10738 </tr>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010739
10740 </table>
10741
10742
10743
10744
10745
tragait5e9676e2021-01-14 16:07:07 +000010746 <h2>Responses</h2>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010747 <h3> Status: default - successful operation </h3>
10748
10749 <ul class="nav nav-tabs nav-tabs-examples" >
10750 </ul>
10751
10752 <div class="tab-content" style='margin-bottom: 10px;'>
10753 </div>
10754
10755 </article>
tragait5e9676e2021-01-14 16:07:07 +000010756 </div>
10757 <hr>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010758 <div id="api-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks">
tragait5e9676e2021-01-14 16:07:07 +000010759 <article id="api-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks-0" data-group="User" data-name="getAllOrchestrationTasks" data-version="0">
10760 <div class="pull-left">
10761 <h1>getAllOrchestrationTasks</h1>
10762 <p>Get all orchestrationTasks</p>
10763 </div>
10764 <div class="pull-right"></div>
10765 <div class="clearfix"></div>
10766 <p></p>
10767 <p class="marked"></p>
10768 <p></p>
10769 <br />
10770 <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/onap/so/infra/orchestrationTasks/{version}</span></code></pre>
10771 <p>
10772 <h3>Usage and SDK Samples</h3>
10773 </p>
10774 <ul class="nav nav-tabs nav-tabs-examples">
10775 <li class="active"><a href="#examples-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks-0-curl">Curl</a></li>
10776 <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks-0-java">Java</a></li>
10777 <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks-0-android">Android</a></li>
10778 <!--<li class=""><a href="#examples-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks-0-groovy">Groovy</a></li>-->
10779 <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks-0-objc">Obj-C</a></li>
10780 <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks-0-javascript">JavaScript</a></li>
10781 <!--<li class=""><a href="#examples-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks-0-angular">Angular</a></li>-->
10782 <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks-0-csharp">C#</a></li>
10783 <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks-0-php">PHP</a></li>
10784 <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks-0-perl">Perl</a></li>
10785 <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks-0-python">Python</a></li>
10786 </ul>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010787
tragait5e9676e2021-01-14 16:07:07 +000010788 <div class="tab-content">
10789 <div class="tab-pane active" id="examples-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks-0-curl">
10790 <pre class="prettyprint"><code class="language-bsh">curl -X GET "http://localhost/onap/so/infra/orchestrationTasks/{version}"</code></pre>
10791 </div>
10792 <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks-0-java">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010793 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
10794import io.swagger.client.auth.*;
10795import io.swagger.client.model.*;
10796import io.swagger.client.api.OnapsoinfraorchestrationTasksApi;
10797
10798import java.io.File;
10799import java.util.*;
10800
10801public class OnapsoinfraorchestrationTasksApiExample {
10802
10803 public static void main(String[] args) {
tragait5e9676e2021-01-14 16:07:07 +000010804
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010805 OnapsoinfraorchestrationTasksApi apiInstance = new OnapsoinfraorchestrationTasksApi();
tragait5e9676e2021-01-14 16:07:07 +000010806 String version = version_example; // String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010807 try {
10808 apiInstance.getAllOrchestrationTasks(version);
10809 } catch (ApiException e) {
10810 System.err.println("Exception when calling OnapsoinfraorchestrationTasksApi#getAllOrchestrationTasks");
10811 e.printStackTrace();
10812 }
10813 }
10814}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000010815 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010816
tragait5e9676e2021-01-14 16:07:07 +000010817 <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks-0-android">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010818 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraorchestrationTasksApi;
10819
10820public class OnapsoinfraorchestrationTasksApiExample {
10821
10822 public static void main(String[] args) {
10823 OnapsoinfraorchestrationTasksApi apiInstance = new OnapsoinfraorchestrationTasksApi();
tragait5e9676e2021-01-14 16:07:07 +000010824 String version = version_example; // String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010825 try {
10826 apiInstance.getAllOrchestrationTasks(version);
10827 } catch (ApiException e) {
10828 System.err.println("Exception when calling OnapsoinfraorchestrationTasksApi#getAllOrchestrationTasks");
10829 e.printStackTrace();
10830 }
10831 }
10832}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000010833 </div>
10834 <!--
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010835 <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks-0-groovy">
10836 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
10837 </div> -->
tragait5e9676e2021-01-14 16:07:07 +000010838 <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks-0-objc">
10839 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010840
10841OnapsoinfraorchestrationTasksApi *apiInstance = [[OnapsoinfraorchestrationTasksApi alloc] init];
10842
10843// Get all orchestrationTasks
10844[apiInstance getAllOrchestrationTasksWith:version
10845 completionHandler: ^(NSError* error) {
10846 if (error) {
10847 NSLog(@"Error: %@", error);
10848 }
10849 }];
10850</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000010851 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010852
tragait5e9676e2021-01-14 16:07:07 +000010853 <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks-0-javascript">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010854 <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is');
10855
10856var api = new SoGuilinApIs.OnapsoinfraorchestrationTasksApi()
10857
tragait5e9676e2021-01-14 16:07:07 +000010858var version = version_example; // {String}
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010859
10860
10861var callback = function(error, data, response) {
10862 if (error) {
10863 console.error(error);
10864 } else {
10865 console.log('API called successfully.');
10866 }
10867};
10868api.getAllOrchestrationTasks(version, callback);
10869</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000010870 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010871
tragait5e9676e2021-01-14 16:07:07 +000010872 <!--<div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks-0-angular">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010873 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
10874 </div>-->
tragait5e9676e2021-01-14 16:07:07 +000010875 <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks-0-csharp">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010876 <pre class="prettyprint"><code class="language-cs">using System;
10877using System.Diagnostics;
10878using IO.Swagger.Api;
10879using IO.Swagger.Client;
10880using IO.Swagger.Model;
10881
10882namespace Example
10883{
10884 public class getAllOrchestrationTasksExample
10885 {
10886 public void main()
10887 {
tragait5e9676e2021-01-14 16:07:07 +000010888
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010889 var apiInstance = new OnapsoinfraorchestrationTasksApi();
tragait5e9676e2021-01-14 16:07:07 +000010890 var version = version_example; // String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010891
10892 try
10893 {
10894 // Get all orchestrationTasks
10895 apiInstance.getAllOrchestrationTasks(version);
10896 }
10897 catch (Exception e)
10898 {
10899 Debug.Print("Exception when calling OnapsoinfraorchestrationTasksApi.getAllOrchestrationTasks: " + e.Message );
10900 }
10901 }
10902 }
10903}
10904</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000010905 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010906
tragait5e9676e2021-01-14 16:07:07 +000010907 <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks-0-php">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010908 <pre class="prettyprint"><code class="language-php"><&#63;php
10909require_once(__DIR__ . '/vendor/autoload.php');
10910
10911$api_instance = new Swagger\Client\Api\OnapsoinfraorchestrationTasksApi();
tragait5e9676e2021-01-14 16:07:07 +000010912$version = version_example; // String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010913
10914try {
10915 $api_instance->getAllOrchestrationTasks($version);
10916} catch (Exception $e) {
10917 echo 'Exception when calling OnapsoinfraorchestrationTasksApi->getAllOrchestrationTasks: ', $e->getMessage(), PHP_EOL;
10918}
10919?></code></pre>
tragait5e9676e2021-01-14 16:07:07 +000010920 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010921
tragait5e9676e2021-01-14 16:07:07 +000010922 <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks-0-perl">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010923 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
10924use WWW::SwaggerClient::Configuration;
10925use WWW::SwaggerClient::OnapsoinfraorchestrationTasksApi;
10926
10927my $api_instance = WWW::SwaggerClient::OnapsoinfraorchestrationTasksApi->new();
tragait5e9676e2021-01-14 16:07:07 +000010928my $version = version_example; # String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010929
tragait5e9676e2021-01-14 16:07:07 +000010930eval {
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010931 $api_instance->getAllOrchestrationTasks(version => $version);
10932};
10933if ($@) {
10934 warn "Exception when calling OnapsoinfraorchestrationTasksApi->getAllOrchestrationTasks: $@\n";
10935}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000010936 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010937
tragait5e9676e2021-01-14 16:07:07 +000010938 <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks-0-python">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010939 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
10940import time
10941import swagger_client
10942from swagger_client.rest import ApiException
10943from pprint import pprint
10944
10945# create an instance of the API class
10946api_instance = swagger_client.OnapsoinfraorchestrationTasksApi()
tragait5e9676e2021-01-14 16:07:07 +000010947version = version_example # String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010948
tragait5e9676e2021-01-14 16:07:07 +000010949try:
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010950 # Get all orchestrationTasks
10951 api_instance.get_all_orchestration_tasks(version)
10952except ApiException as e:
10953 print("Exception when calling OnapsoinfraorchestrationTasksApi->getAllOrchestrationTasks: %s\n" % e)</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000010954 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010955 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010956
tragait5e9676e2021-01-14 16:07:07 +000010957 <h2>Parameters</h2>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010958
10959 <div class="methodsubtabletitle">Path parameters</div>
10960 <table id="methodsubtable">
10961 <tr>
tragait5e9676e2021-01-14 16:07:07 +000010962 <th width="150px">Name</th>
10963 <th>Description</th>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010964 </tr>
tragait5e9676e2021-01-14 16:07:07 +000010965 <tr><td style="width:150px;">version*</td>
10966 <td>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010967
10968
tragait5e9676e2021-01-14 16:07:07 +000010969 <div id="d2e199_getAllOrchestrationTasks_version">
10970 <div class="json-schema-view">
10971 <div class="primitive">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010972 <span class="type">
10973 String
10974 </span>
10975
tragait5e9676e2021-01-14 16:07:07 +000010976 </div>
10977 <div class="inner required">
10978 Required
10979 </div>
10980 </div>
10981 </div>
10982 </td>
10983 </tr>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010984
10985 </table>
10986
10987
10988
10989
10990
tragait5e9676e2021-01-14 16:07:07 +000010991 <h2>Responses</h2>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053010992 <h3> Status: default - successful operation </h3>
10993
10994 <ul class="nav nav-tabs nav-tabs-examples" >
10995 </ul>
10996
10997 <div class="tab-content" style='margin-bottom: 10px;'>
10998 </div>
10999
11000 </article>
tragait5e9676e2021-01-14 16:07:07 +000011001 </div>
11002 <hr>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011003 <div id="api-OnapsoinfraorchestrationTasks-getOrchestrationTask">
tragait5e9676e2021-01-14 16:07:07 +000011004 <article id="api-OnapsoinfraorchestrationTasks-getOrchestrationTask-0" data-group="User" data-name="getOrchestrationTask" data-version="0">
11005 <div class="pull-left">
11006 <h1>getOrchestrationTask</h1>
11007 <p>Get orchestrationTask for a given taskId</p>
11008 </div>
11009 <div class="pull-right"></div>
11010 <div class="clearfix"></div>
11011 <p></p>
11012 <p class="marked"></p>
11013 <p></p>
11014 <br />
11015 <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/onap/so/infra/orchestrationTasks/{version}/{taskId}</span></code></pre>
11016 <p>
11017 <h3>Usage and SDK Samples</h3>
11018 </p>
11019 <ul class="nav nav-tabs nav-tabs-examples">
11020 <li class="active"><a href="#examples-OnapsoinfraorchestrationTasks-getOrchestrationTask-0-curl">Curl</a></li>
11021 <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-getOrchestrationTask-0-java">Java</a></li>
11022 <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-getOrchestrationTask-0-android">Android</a></li>
11023 <!--<li class=""><a href="#examples-OnapsoinfraorchestrationTasks-getOrchestrationTask-0-groovy">Groovy</a></li>-->
11024 <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-getOrchestrationTask-0-objc">Obj-C</a></li>
11025 <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-getOrchestrationTask-0-javascript">JavaScript</a></li>
11026 <!--<li class=""><a href="#examples-OnapsoinfraorchestrationTasks-getOrchestrationTask-0-angular">Angular</a></li>-->
11027 <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-getOrchestrationTask-0-csharp">C#</a></li>
11028 <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-getOrchestrationTask-0-php">PHP</a></li>
11029 <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-getOrchestrationTask-0-perl">Perl</a></li>
11030 <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-getOrchestrationTask-0-python">Python</a></li>
11031 </ul>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011032
tragait5e9676e2021-01-14 16:07:07 +000011033 <div class="tab-content">
11034 <div class="tab-pane active" id="examples-OnapsoinfraorchestrationTasks-getOrchestrationTask-0-curl">
11035 <pre class="prettyprint"><code class="language-bsh">curl -X GET "http://localhost/onap/so/infra/orchestrationTasks/{version}/{taskId}"</code></pre>
11036 </div>
11037 <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-getOrchestrationTask-0-java">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011038 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
11039import io.swagger.client.auth.*;
11040import io.swagger.client.model.*;
11041import io.swagger.client.api.OnapsoinfraorchestrationTasksApi;
11042
11043import java.io.File;
11044import java.util.*;
11045
11046public class OnapsoinfraorchestrationTasksApiExample {
11047
11048 public static void main(String[] args) {
tragait5e9676e2021-01-14 16:07:07 +000011049
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011050 OnapsoinfraorchestrationTasksApi apiInstance = new OnapsoinfraorchestrationTasksApi();
tragait5e9676e2021-01-14 16:07:07 +000011051 String taskId = taskId_example; // String |
11052 String version = version_example; // String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011053 try {
11054 apiInstance.getOrchestrationTask(taskId, version);
11055 } catch (ApiException e) {
11056 System.err.println("Exception when calling OnapsoinfraorchestrationTasksApi#getOrchestrationTask");
11057 e.printStackTrace();
11058 }
11059 }
11060}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000011061 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011062
tragait5e9676e2021-01-14 16:07:07 +000011063 <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-getOrchestrationTask-0-android">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011064 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraorchestrationTasksApi;
11065
11066public class OnapsoinfraorchestrationTasksApiExample {
11067
11068 public static void main(String[] args) {
11069 OnapsoinfraorchestrationTasksApi apiInstance = new OnapsoinfraorchestrationTasksApi();
tragait5e9676e2021-01-14 16:07:07 +000011070 String taskId = taskId_example; // String |
11071 String version = version_example; // String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011072 try {
11073 apiInstance.getOrchestrationTask(taskId, version);
11074 } catch (ApiException e) {
11075 System.err.println("Exception when calling OnapsoinfraorchestrationTasksApi#getOrchestrationTask");
11076 e.printStackTrace();
11077 }
11078 }
11079}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000011080 </div>
11081 <!--
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011082 <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-getOrchestrationTask-0-groovy">
11083 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
11084 </div> -->
tragait5e9676e2021-01-14 16:07:07 +000011085 <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-getOrchestrationTask-0-objc">
11086 <pre class="prettyprint"><code class="language-cpp">String *taskId = taskId_example; //
11087String *version = version_example; //
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011088
11089OnapsoinfraorchestrationTasksApi *apiInstance = [[OnapsoinfraorchestrationTasksApi alloc] init];
11090
11091// Get orchestrationTask for a given taskId
11092[apiInstance getOrchestrationTaskWith:taskId
11093 version:version
11094 completionHandler: ^(NSError* error) {
11095 if (error) {
11096 NSLog(@"Error: %@", error);
11097 }
11098 }];
11099</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000011100 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011101
tragait5e9676e2021-01-14 16:07:07 +000011102 <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-getOrchestrationTask-0-javascript">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011103 <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is');
11104
11105var api = new SoGuilinApIs.OnapsoinfraorchestrationTasksApi()
11106
tragait5e9676e2021-01-14 16:07:07 +000011107var taskId = taskId_example; // {String}
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011108
tragait5e9676e2021-01-14 16:07:07 +000011109var version = version_example; // {String}
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011110
11111
11112var callback = function(error, data, response) {
11113 if (error) {
11114 console.error(error);
11115 } else {
11116 console.log('API called successfully.');
11117 }
11118};
11119api.getOrchestrationTask(taskId, version, callback);
11120</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000011121 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011122
tragait5e9676e2021-01-14 16:07:07 +000011123 <!--<div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-getOrchestrationTask-0-angular">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011124 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
11125 </div>-->
tragait5e9676e2021-01-14 16:07:07 +000011126 <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-getOrchestrationTask-0-csharp">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011127 <pre class="prettyprint"><code class="language-cs">using System;
11128using System.Diagnostics;
11129using IO.Swagger.Api;
11130using IO.Swagger.Client;
11131using IO.Swagger.Model;
11132
11133namespace Example
11134{
11135 public class getOrchestrationTaskExample
11136 {
11137 public void main()
11138 {
tragait5e9676e2021-01-14 16:07:07 +000011139
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011140 var apiInstance = new OnapsoinfraorchestrationTasksApi();
tragait5e9676e2021-01-14 16:07:07 +000011141 var taskId = taskId_example; // String |
11142 var version = version_example; // String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011143
11144 try
11145 {
11146 // Get orchestrationTask for a given taskId
11147 apiInstance.getOrchestrationTask(taskId, version);
11148 }
11149 catch (Exception e)
11150 {
11151 Debug.Print("Exception when calling OnapsoinfraorchestrationTasksApi.getOrchestrationTask: " + e.Message );
11152 }
11153 }
11154 }
11155}
11156</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000011157 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011158
tragait5e9676e2021-01-14 16:07:07 +000011159 <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-getOrchestrationTask-0-php">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011160 <pre class="prettyprint"><code class="language-php"><&#63;php
11161require_once(__DIR__ . '/vendor/autoload.php');
11162
11163$api_instance = new Swagger\Client\Api\OnapsoinfraorchestrationTasksApi();
tragait5e9676e2021-01-14 16:07:07 +000011164$taskId = taskId_example; // String |
11165$version = version_example; // String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011166
11167try {
11168 $api_instance->getOrchestrationTask($taskId, $version);
11169} catch (Exception $e) {
11170 echo 'Exception when calling OnapsoinfraorchestrationTasksApi->getOrchestrationTask: ', $e->getMessage(), PHP_EOL;
11171}
11172?></code></pre>
tragait5e9676e2021-01-14 16:07:07 +000011173 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011174
tragait5e9676e2021-01-14 16:07:07 +000011175 <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-getOrchestrationTask-0-perl">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011176 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
11177use WWW::SwaggerClient::Configuration;
11178use WWW::SwaggerClient::OnapsoinfraorchestrationTasksApi;
11179
11180my $api_instance = WWW::SwaggerClient::OnapsoinfraorchestrationTasksApi->new();
tragait5e9676e2021-01-14 16:07:07 +000011181my $taskId = taskId_example; # String |
11182my $version = version_example; # String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011183
tragait5e9676e2021-01-14 16:07:07 +000011184eval {
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011185 $api_instance->getOrchestrationTask(taskId => $taskId, version => $version);
11186};
11187if ($@) {
11188 warn "Exception when calling OnapsoinfraorchestrationTasksApi->getOrchestrationTask: $@\n";
11189}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000011190 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011191
tragait5e9676e2021-01-14 16:07:07 +000011192 <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-getOrchestrationTask-0-python">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011193 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
11194import time
11195import swagger_client
11196from swagger_client.rest import ApiException
11197from pprint import pprint
11198
11199# create an instance of the API class
11200api_instance = swagger_client.OnapsoinfraorchestrationTasksApi()
tragait5e9676e2021-01-14 16:07:07 +000011201taskId = taskId_example # String |
11202version = version_example # String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011203
tragait5e9676e2021-01-14 16:07:07 +000011204try:
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011205 # Get orchestrationTask for a given taskId
11206 api_instance.get_orchestration_task(taskId, version)
11207except ApiException as e:
11208 print("Exception when calling OnapsoinfraorchestrationTasksApi->getOrchestrationTask: %s\n" % e)</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000011209 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011210 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011211
tragait5e9676e2021-01-14 16:07:07 +000011212 <h2>Parameters</h2>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011213
11214 <div class="methodsubtabletitle">Path parameters</div>
11215 <table id="methodsubtable">
11216 <tr>
tragait5e9676e2021-01-14 16:07:07 +000011217 <th width="150px">Name</th>
11218 <th>Description</th>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011219 </tr>
tragait5e9676e2021-01-14 16:07:07 +000011220 <tr><td style="width:150px;">taskId*</td>
11221 <td>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011222
11223
tragait5e9676e2021-01-14 16:07:07 +000011224 <div id="d2e199_getOrchestrationTask_taskId">
11225 <div class="json-schema-view">
11226 <div class="primitive">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011227 <span class="type">
11228 String
11229 </span>
11230
tragait5e9676e2021-01-14 16:07:07 +000011231 </div>
11232 <div class="inner required">
11233 Required
11234 </div>
11235 </div>
11236 </div>
11237 </td>
11238 </tr>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011239
tragait5e9676e2021-01-14 16:07:07 +000011240 <tr><td style="width:150px;">version*</td>
11241 <td>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011242
11243
tragait5e9676e2021-01-14 16:07:07 +000011244 <div id="d2e199_getOrchestrationTask_version">
11245 <div class="json-schema-view">
11246 <div class="primitive">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011247 <span class="type">
11248 String
11249 </span>
11250
tragait5e9676e2021-01-14 16:07:07 +000011251 </div>
11252 <div class="inner required">
11253 Required
11254 </div>
11255 </div>
11256 </div>
11257 </td>
11258 </tr>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011259
11260 </table>
11261
11262
11263
11264
11265
tragait5e9676e2021-01-14 16:07:07 +000011266 <h2>Responses</h2>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011267 <h3> Status: default - successful operation </h3>
11268
11269 <ul class="nav nav-tabs nav-tabs-examples" >
11270 </ul>
11271
11272 <div class="tab-content" style='margin-bottom: 10px;'>
11273 </div>
11274
11275 </article>
tragait5e9676e2021-01-14 16:07:07 +000011276 </div>
11277 <hr>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011278 <div id="api-OnapsoinfraorchestrationTasks-updateOrchestrationTask">
tragait5e9676e2021-01-14 16:07:07 +000011279 <article id="api-OnapsoinfraorchestrationTasks-updateOrchestrationTask-0" data-group="User" data-name="updateOrchestrationTask" data-version="0">
11280 <div class="pull-left">
11281 <h1>updateOrchestrationTask</h1>
11282 <p>update orchestrationTask for a given taskId</p>
11283 </div>
11284 <div class="pull-right"></div>
11285 <div class="clearfix"></div>
11286 <p></p>
11287 <p class="marked"></p>
11288 <p></p>
11289 <br />
11290 <pre class="prettyprint language-html prettyprinted" data-type="put"><code><span class="pln">/onap/so/infra/orchestrationTasks/{version}/{taskId}</span></code></pre>
11291 <p>
11292 <h3>Usage and SDK Samples</h3>
11293 </p>
11294 <ul class="nav nav-tabs nav-tabs-examples">
11295 <li class="active"><a href="#examples-OnapsoinfraorchestrationTasks-updateOrchestrationTask-0-curl">Curl</a></li>
11296 <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-updateOrchestrationTask-0-java">Java</a></li>
11297 <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-updateOrchestrationTask-0-android">Android</a></li>
11298 <!--<li class=""><a href="#examples-OnapsoinfraorchestrationTasks-updateOrchestrationTask-0-groovy">Groovy</a></li>-->
11299 <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-updateOrchestrationTask-0-objc">Obj-C</a></li>
11300 <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-updateOrchestrationTask-0-javascript">JavaScript</a></li>
11301 <!--<li class=""><a href="#examples-OnapsoinfraorchestrationTasks-updateOrchestrationTask-0-angular">Angular</a></li>-->
11302 <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-updateOrchestrationTask-0-csharp">C#</a></li>
11303 <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-updateOrchestrationTask-0-php">PHP</a></li>
11304 <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-updateOrchestrationTask-0-perl">Perl</a></li>
11305 <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-updateOrchestrationTask-0-python">Python</a></li>
11306 </ul>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011307
tragait5e9676e2021-01-14 16:07:07 +000011308 <div class="tab-content">
11309 <div class="tab-pane active" id="examples-OnapsoinfraorchestrationTasks-updateOrchestrationTask-0-curl">
11310 <pre class="prettyprint"><code class="language-bsh">curl -X PUT "http://localhost/onap/so/infra/orchestrationTasks/{version}/{taskId}"</code></pre>
11311 </div>
11312 <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-updateOrchestrationTask-0-java">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011313 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
11314import io.swagger.client.auth.*;
11315import io.swagger.client.model.*;
11316import io.swagger.client.api.OnapsoinfraorchestrationTasksApi;
11317
11318import java.io.File;
11319import java.util.*;
11320
11321public class OnapsoinfraorchestrationTasksApiExample {
11322
11323 public static void main(String[] args) {
tragait5e9676e2021-01-14 16:07:07 +000011324
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011325 OnapsoinfraorchestrationTasksApi apiInstance = new OnapsoinfraorchestrationTasksApi();
tragait5e9676e2021-01-14 16:07:07 +000011326 String taskId = taskId_example; // String |
11327 String version = version_example; // String |
11328 String body = body_example; // String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011329 try {
11330 apiInstance.updateOrchestrationTask(taskId, version, body);
11331 } catch (ApiException e) {
11332 System.err.println("Exception when calling OnapsoinfraorchestrationTasksApi#updateOrchestrationTask");
11333 e.printStackTrace();
11334 }
11335 }
11336}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000011337 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011338
tragait5e9676e2021-01-14 16:07:07 +000011339 <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-updateOrchestrationTask-0-android">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011340 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraorchestrationTasksApi;
11341
11342public class OnapsoinfraorchestrationTasksApiExample {
11343
11344 public static void main(String[] args) {
11345 OnapsoinfraorchestrationTasksApi apiInstance = new OnapsoinfraorchestrationTasksApi();
tragait5e9676e2021-01-14 16:07:07 +000011346 String taskId = taskId_example; // String |
11347 String version = version_example; // String |
11348 String body = body_example; // String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011349 try {
11350 apiInstance.updateOrchestrationTask(taskId, version, body);
11351 } catch (ApiException e) {
11352 System.err.println("Exception when calling OnapsoinfraorchestrationTasksApi#updateOrchestrationTask");
11353 e.printStackTrace();
11354 }
11355 }
11356}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000011357 </div>
11358 <!--
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011359 <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-updateOrchestrationTask-0-groovy">
11360 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
11361 </div> -->
tragait5e9676e2021-01-14 16:07:07 +000011362 <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-updateOrchestrationTask-0-objc">
11363 <pre class="prettyprint"><code class="language-cpp">String *taskId = taskId_example; //
11364String *version = version_example; //
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011365String *body = body_example; // (optional)
11366
11367OnapsoinfraorchestrationTasksApi *apiInstance = [[OnapsoinfraorchestrationTasksApi alloc] init];
11368
11369// update orchestrationTask for a given taskId
11370[apiInstance updateOrchestrationTaskWith:taskId
11371 version:version
11372 body:body
11373 completionHandler: ^(NSError* error) {
11374 if (error) {
11375 NSLog(@"Error: %@", error);
11376 }
11377 }];
11378</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000011379 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011380
tragait5e9676e2021-01-14 16:07:07 +000011381 <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-updateOrchestrationTask-0-javascript">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011382 <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is');
11383
11384var api = new SoGuilinApIs.OnapsoinfraorchestrationTasksApi()
11385
tragait5e9676e2021-01-14 16:07:07 +000011386var taskId = taskId_example; // {String}
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011387
tragait5e9676e2021-01-14 16:07:07 +000011388var version = version_example; // {String}
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011389
tragait5e9676e2021-01-14 16:07:07 +000011390var opts = {
11391 'body': body_example // {String}
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011392};
11393
11394var callback = function(error, data, response) {
11395 if (error) {
11396 console.error(error);
11397 } else {
11398 console.log('API called successfully.');
11399 }
11400};
11401api.updateOrchestrationTask(taskId, version, opts, callback);
11402</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000011403 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011404
tragait5e9676e2021-01-14 16:07:07 +000011405 <!--<div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-updateOrchestrationTask-0-angular">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011406 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
11407 </div>-->
tragait5e9676e2021-01-14 16:07:07 +000011408 <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-updateOrchestrationTask-0-csharp">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011409 <pre class="prettyprint"><code class="language-cs">using System;
11410using System.Diagnostics;
11411using IO.Swagger.Api;
11412using IO.Swagger.Client;
11413using IO.Swagger.Model;
11414
11415namespace Example
11416{
11417 public class updateOrchestrationTaskExample
11418 {
11419 public void main()
11420 {
tragait5e9676e2021-01-14 16:07:07 +000011421
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011422 var apiInstance = new OnapsoinfraorchestrationTasksApi();
tragait5e9676e2021-01-14 16:07:07 +000011423 var taskId = taskId_example; // String |
11424 var version = version_example; // String |
11425 var body = body_example; // String | (optional)
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011426
11427 try
11428 {
11429 // update orchestrationTask for a given taskId
11430 apiInstance.updateOrchestrationTask(taskId, version, body);
11431 }
11432 catch (Exception e)
11433 {
11434 Debug.Print("Exception when calling OnapsoinfraorchestrationTasksApi.updateOrchestrationTask: " + e.Message );
11435 }
11436 }
11437 }
11438}
11439</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000011440 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011441
tragait5e9676e2021-01-14 16:07:07 +000011442 <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-updateOrchestrationTask-0-php">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011443 <pre class="prettyprint"><code class="language-php"><&#63;php
11444require_once(__DIR__ . '/vendor/autoload.php');
11445
11446$api_instance = new Swagger\Client\Api\OnapsoinfraorchestrationTasksApi();
tragait5e9676e2021-01-14 16:07:07 +000011447$taskId = taskId_example; // String |
11448$version = version_example; // String |
11449$body = body_example; // String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011450
11451try {
11452 $api_instance->updateOrchestrationTask($taskId, $version, $body);
11453} catch (Exception $e) {
11454 echo 'Exception when calling OnapsoinfraorchestrationTasksApi->updateOrchestrationTask: ', $e->getMessage(), PHP_EOL;
11455}
11456?></code></pre>
tragait5e9676e2021-01-14 16:07:07 +000011457 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011458
tragait5e9676e2021-01-14 16:07:07 +000011459 <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-updateOrchestrationTask-0-perl">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011460 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
11461use WWW::SwaggerClient::Configuration;
11462use WWW::SwaggerClient::OnapsoinfraorchestrationTasksApi;
11463
11464my $api_instance = WWW::SwaggerClient::OnapsoinfraorchestrationTasksApi->new();
tragait5e9676e2021-01-14 16:07:07 +000011465my $taskId = taskId_example; # String |
11466my $version = version_example; # String |
11467my $body = WWW::SwaggerClient::Object::String->new(); # String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011468
tragait5e9676e2021-01-14 16:07:07 +000011469eval {
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011470 $api_instance->updateOrchestrationTask(taskId => $taskId, version => $version, body => $body);
11471};
11472if ($@) {
11473 warn "Exception when calling OnapsoinfraorchestrationTasksApi->updateOrchestrationTask: $@\n";
11474}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000011475 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011476
tragait5e9676e2021-01-14 16:07:07 +000011477 <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-updateOrchestrationTask-0-python">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011478 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
11479import time
11480import swagger_client
11481from swagger_client.rest import ApiException
11482from pprint import pprint
11483
11484# create an instance of the API class
11485api_instance = swagger_client.OnapsoinfraorchestrationTasksApi()
tragait5e9676e2021-01-14 16:07:07 +000011486taskId = taskId_example # String |
11487version = version_example # String |
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011488body = body_example # String | (optional)
11489
tragait5e9676e2021-01-14 16:07:07 +000011490try:
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011491 # update orchestrationTask for a given taskId
11492 api_instance.update_orchestration_task(taskId, version, body=body)
11493except ApiException as e:
11494 print("Exception when calling OnapsoinfraorchestrationTasksApi->updateOrchestrationTask: %s\n" % e)</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000011495 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011496 </div>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011497
tragait5e9676e2021-01-14 16:07:07 +000011498 <h2>Parameters</h2>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011499
11500 <div class="methodsubtabletitle">Path parameters</div>
11501 <table id="methodsubtable">
11502 <tr>
tragait5e9676e2021-01-14 16:07:07 +000011503 <th width="150px">Name</th>
11504 <th>Description</th>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011505 </tr>
tragait5e9676e2021-01-14 16:07:07 +000011506 <tr><td style="width:150px;">taskId*</td>
11507 <td>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011508
11509
tragait5e9676e2021-01-14 16:07:07 +000011510 <div id="d2e199_updateOrchestrationTask_taskId">
11511 <div class="json-schema-view">
11512 <div class="primitive">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011513 <span class="type">
11514 String
11515 </span>
11516
tragait5e9676e2021-01-14 16:07:07 +000011517 </div>
11518 <div class="inner required">
11519 Required
11520 </div>
11521 </div>
11522 </div>
11523 </td>
11524 </tr>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011525
tragait5e9676e2021-01-14 16:07:07 +000011526 <tr><td style="width:150px;">version*</td>
11527 <td>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011528
11529
tragait5e9676e2021-01-14 16:07:07 +000011530 <div id="d2e199_updateOrchestrationTask_version">
11531 <div class="json-schema-view">
11532 <div class="primitive">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011533 <span class="type">
11534 String
11535 </span>
11536
tragait5e9676e2021-01-14 16:07:07 +000011537 </div>
11538 <div class="inner required">
11539 Required
11540 </div>
11541 </div>
11542 </div>
11543 </td>
11544 </tr>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011545
11546 </table>
11547
11548
11549 <div class="methodsubtabletitle">Body parameters</div>
11550 <table id="methodsubtable">
tragait5e9676e2021-01-14 16:07:07 +000011551 <tr>
11552 <th width="150px">Name</th>
11553 <th>Description</th>
11554 </tr>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011555 <tr><td style="width:150px;">body </td>
tragait5e9676e2021-01-14 16:07:07 +000011556 <td>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011557
11558
tragait5e9676e2021-01-14 16:07:07 +000011559 <script>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011560$(document).ready(function() {
11561 var schemaWrapper = {
11562 "in" : "body",
11563 "name" : "body",
11564 "required" : false,
11565 "schema" : {
11566 "type" : "string"
11567 }
11568};
11569 var schema = schemaWrapper.schema;
11570 if (schema.$ref != null) {
11571 schema = defsParser.$refs.get(schema.$ref);
11572 } else {
11573 schemaWrapper.definitions = Object.assign({}, defs);
11574 $RefParser.dereference(schemaWrapper).catch(function(err) {
11575 console.log(err);
11576 });
11577 }
11578
11579 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
11580 var result = $('#d2e199_updateOrchestrationTask_body');
11581 result.empty();
11582 result.append(view.render());
11583});
11584</script>
tragait5e9676e2021-01-14 16:07:07 +000011585 <div id="d2e199_updateOrchestrationTask_body"></div>
11586 </td>
11587 </tr>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011588
11589 </table>
11590
11591
11592
tragait5e9676e2021-01-14 16:07:07 +000011593 <h2>Responses</h2>
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011594 <h3> Status: default - successful operation </h3>
11595
11596 <ul class="nav nav-tabs nav-tabs-examples" >
11597 </ul>
11598
11599 <div class="tab-content" style='margin-bottom: 10px;'>
11600 </div>
11601
11602 </article>
tragait5e9676e2021-01-14 16:07:07 +000011603 </div>
11604 <hr>
11605 </section>
seshukmb3a332a2018-10-05 16:27:16 +080011606 <section id="api-OnapsoinfraserviceInstantiation">
tragait5e9676e2021-01-14 16:07:07 +000011607 <h1>OnapsoinfraserviceInstantiation</h1>
seshukmb3a332a2018-10-05 16:27:16 +080011608 <div id="api-OnapsoinfraserviceInstantiation-activatePort">
tragait5e9676e2021-01-14 16:07:07 +000011609 <article id="api-OnapsoinfraserviceInstantiation-activatePort-0" data-group="User" data-name="activatePort" data-version="0">
11610 <div class="pull-left">
11611 <h1>activatePort</h1>
11612 <p>Activate Port Mirroring</p>
11613 </div>
11614 <div class="pull-right"></div>
11615 <div class="clearfix"></div>
11616 <p></p>
11617 <p class="marked"></p>
11618 <p></p>
11619 <br />
11620 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}/activate</span></code></pre>
11621 <p>
11622 <h3>Usage and SDK Samples</h3>
11623 </p>
11624 <ul class="nav nav-tabs nav-tabs-examples">
11625 <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-activatePort-0-curl">Curl</a></li>
11626 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activatePort-0-java">Java</a></li>
11627 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activatePort-0-android">Android</a></li>
11628 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activatePort-0-groovy">Groovy</a></li>-->
11629 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activatePort-0-objc">Obj-C</a></li>
11630 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activatePort-0-javascript">JavaScript</a></li>
11631 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activatePort-0-angular">Angular</a></li>-->
11632 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activatePort-0-csharp">C#</a></li>
11633 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activatePort-0-php">PHP</a></li>
11634 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activatePort-0-perl">Perl</a></li>
11635 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activatePort-0-python">Python</a></li>
11636 </ul>
seshukmb3a332a2018-10-05 16:27:16 +080011637
tragait5e9676e2021-01-14 16:07:07 +000011638 <div class="tab-content">
11639 <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-activatePort-0-curl">
11640 <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}/activate"</code></pre>
11641 </div>
11642 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activatePort-0-java">
seshukmb3a332a2018-10-05 16:27:16 +080011643 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
11644import io.swagger.client.auth.*;
11645import io.swagger.client.model.*;
11646import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
11647
11648import java.io.File;
11649import java.util.*;
11650
11651public class OnapsoinfraserviceInstantiationApiExample {
11652
11653 public static void main(String[] args) {
tragait5e9676e2021-01-14 16:07:07 +000011654
seshukmb3a332a2018-10-05 16:27:16 +080011655 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000011656 String version = version_example; // String |
11657 String serviceInstanceId = serviceInstanceId_example; // String |
11658 String configurationInstanceId = configurationInstanceId_example; // String |
11659 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080011660 try {
11661 apiInstance.activatePort(version, serviceInstanceId, configurationInstanceId, body);
11662 } catch (ApiException e) {
11663 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#activatePort");
11664 e.printStackTrace();
11665 }
11666 }
11667}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000011668 </div>
seshukmb3a332a2018-10-05 16:27:16 +080011669
tragait5e9676e2021-01-14 16:07:07 +000011670 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activatePort-0-android">
seshukmb3a332a2018-10-05 16:27:16 +080011671 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
11672
11673public class OnapsoinfraserviceInstantiationApiExample {
11674
11675 public static void main(String[] args) {
11676 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000011677 String version = version_example; // String |
11678 String serviceInstanceId = serviceInstanceId_example; // String |
11679 String configurationInstanceId = configurationInstanceId_example; // String |
11680 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080011681 try {
11682 apiInstance.activatePort(version, serviceInstanceId, configurationInstanceId, body);
11683 } catch (ApiException e) {
11684 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#activatePort");
11685 e.printStackTrace();
11686 }
11687 }
11688}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000011689 </div>
11690 <!--
seshukmb3a332a2018-10-05 16:27:16 +080011691 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activatePort-0-groovy">
11692 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
11693 </div> -->
tragait5e9676e2021-01-14 16:07:07 +000011694 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activatePort-0-objc">
11695 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
11696String *serviceInstanceId = serviceInstanceId_example; //
11697String *configurationInstanceId = configurationInstanceId_example; //
seshukmb3a332a2018-10-05 16:27:16 +080011698String *body = body_example; // (optional)
11699
11700OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init];
11701
11702// Activate Port Mirroring
11703[apiInstance activatePortWith:version
11704 serviceInstanceId:serviceInstanceId
11705 configurationInstanceId:configurationInstanceId
11706 body:body
11707 completionHandler: ^(NSError* error) {
11708 if (error) {
11709 NSLog(@"Error: %@", error);
11710 }
11711 }];
11712</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000011713 </div>
seshukmb3a332a2018-10-05 16:27:16 +080011714
tragait5e9676e2021-01-14 16:07:07 +000011715 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activatePort-0-javascript">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011716 <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is');
seshukmb3a332a2018-10-05 16:27:16 +080011717
Priyadharshinic86ab4a2020-08-14 17:11:49 +053011718var api = new SoGuilinApIs.OnapsoinfraserviceInstantiationApi()
seshukmb3a332a2018-10-05 16:27:16 +080011719
tragait5e9676e2021-01-14 16:07:07 +000011720var version = version_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080011721
tragait5e9676e2021-01-14 16:07:07 +000011722var serviceInstanceId = serviceInstanceId_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080011723
tragait5e9676e2021-01-14 16:07:07 +000011724var configurationInstanceId = configurationInstanceId_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080011725
tragait5e9676e2021-01-14 16:07:07 +000011726var opts = {
11727 'body': body_example // {String}
seshukmb3a332a2018-10-05 16:27:16 +080011728};
11729
11730var callback = function(error, data, response) {
11731 if (error) {
11732 console.error(error);
11733 } else {
11734 console.log('API called successfully.');
11735 }
11736};
11737api.activatePort(version, serviceInstanceId, configurationInstanceId, opts, callback);
11738</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000011739 </div>
seshukmb3a332a2018-10-05 16:27:16 +080011740
tragait5e9676e2021-01-14 16:07:07 +000011741 <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activatePort-0-angular">
seshukmb3a332a2018-10-05 16:27:16 +080011742 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
11743 </div>-->
tragait5e9676e2021-01-14 16:07:07 +000011744 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activatePort-0-csharp">
seshukmb3a332a2018-10-05 16:27:16 +080011745 <pre class="prettyprint"><code class="language-cs">using System;
11746using System.Diagnostics;
11747using IO.Swagger.Api;
11748using IO.Swagger.Client;
11749using IO.Swagger.Model;
11750
11751namespace Example
11752{
11753 public class activatePortExample
11754 {
11755 public void main()
11756 {
tragait5e9676e2021-01-14 16:07:07 +000011757
seshukmb3a332a2018-10-05 16:27:16 +080011758 var apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000011759 var version = version_example; // String |
11760 var serviceInstanceId = serviceInstanceId_example; // String |
11761 var configurationInstanceId = configurationInstanceId_example; // String |
11762 var body = body_example; // String | (optional)
seshukmb3a332a2018-10-05 16:27:16 +080011763
11764 try
11765 {
11766 // Activate Port Mirroring
11767 apiInstance.activatePort(version, serviceInstanceId, configurationInstanceId, body);
11768 }
11769 catch (Exception e)
11770 {
11771 Debug.Print("Exception when calling OnapsoinfraserviceInstantiationApi.activatePort: " + e.Message );
11772 }
11773 }
11774 }
11775}
11776</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000011777 </div>
seshukmb3a332a2018-10-05 16:27:16 +080011778
tragait5e9676e2021-01-14 16:07:07 +000011779 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activatePort-0-php">
seshukmb3a332a2018-10-05 16:27:16 +080011780 <pre class="prettyprint"><code class="language-php"><&#63;php
11781require_once(__DIR__ . '/vendor/autoload.php');
11782
11783$api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000011784$version = version_example; // String |
11785$serviceInstanceId = serviceInstanceId_example; // String |
11786$configurationInstanceId = configurationInstanceId_example; // String |
11787$body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080011788
11789try {
11790 $api_instance->activatePort($version, $serviceInstanceId, $configurationInstanceId, $body);
11791} catch (Exception $e) {
11792 echo 'Exception when calling OnapsoinfraserviceInstantiationApi->activatePort: ', $e->getMessage(), PHP_EOL;
11793}
11794?></code></pre>
tragait5e9676e2021-01-14 16:07:07 +000011795 </div>
seshukmb3a332a2018-10-05 16:27:16 +080011796
tragait5e9676e2021-01-14 16:07:07 +000011797 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activatePort-0-perl">
seshukmb3a332a2018-10-05 16:27:16 +080011798 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
11799use WWW::SwaggerClient::Configuration;
11800use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi;
11801
11802my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new();
tragait5e9676e2021-01-14 16:07:07 +000011803my $version = version_example; # String |
11804my $serviceInstanceId = serviceInstanceId_example; # String |
11805my $configurationInstanceId = configurationInstanceId_example; # String |
11806my $body = WWW::SwaggerClient::Object::String->new(); # String |
seshukmb3a332a2018-10-05 16:27:16 +080011807
tragait5e9676e2021-01-14 16:07:07 +000011808eval {
seshukmb3a332a2018-10-05 16:27:16 +080011809 $api_instance->activatePort(version => $version, serviceInstanceId => $serviceInstanceId, configurationInstanceId => $configurationInstanceId, body => $body);
11810};
11811if ($@) {
11812 warn "Exception when calling OnapsoinfraserviceInstantiationApi->activatePort: $@\n";
11813}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000011814 </div>
seshukmb3a332a2018-10-05 16:27:16 +080011815
tragait5e9676e2021-01-14 16:07:07 +000011816 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activatePort-0-python">
seshukmb3a332a2018-10-05 16:27:16 +080011817 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
11818import time
11819import swagger_client
11820from swagger_client.rest import ApiException
11821from pprint import pprint
11822
11823# create an instance of the API class
11824api_instance = swagger_client.OnapsoinfraserviceInstantiationApi()
tragait5e9676e2021-01-14 16:07:07 +000011825version = version_example # String |
11826serviceInstanceId = serviceInstanceId_example # String |
11827configurationInstanceId = configurationInstanceId_example # String |
seshukmb3a332a2018-10-05 16:27:16 +080011828body = body_example # String | (optional)
11829
tragait5e9676e2021-01-14 16:07:07 +000011830try:
seshukmb3a332a2018-10-05 16:27:16 +080011831 # Activate Port Mirroring
11832 api_instance.activate_port(version, serviceInstanceId, configurationInstanceId, body=body)
11833except ApiException as e:
11834 print("Exception when calling OnapsoinfraserviceInstantiationApi->activatePort: %s\n" % e)</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000011835 </div>
seshukmb3a332a2018-10-05 16:27:16 +080011836 </div>
seshukmb3a332a2018-10-05 16:27:16 +080011837
tragait5e9676e2021-01-14 16:07:07 +000011838 <h2>Parameters</h2>
seshukmb3a332a2018-10-05 16:27:16 +080011839
11840 <div class="methodsubtabletitle">Path parameters</div>
11841 <table id="methodsubtable">
11842 <tr>
tragait5e9676e2021-01-14 16:07:07 +000011843 <th width="150px">Name</th>
11844 <th>Description</th>
seshukmb3a332a2018-10-05 16:27:16 +080011845 </tr>
tragait5e9676e2021-01-14 16:07:07 +000011846 <tr><td style="width:150px;">version*</td>
11847 <td>
seshukmb3a332a2018-10-05 16:27:16 +080011848
11849
tragait5e9676e2021-01-14 16:07:07 +000011850 <div id="d2e199_activatePort_version">
11851 <div class="json-schema-view">
11852 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080011853 <span class="type">
11854 String
11855 </span>
11856
tragait5e9676e2021-01-14 16:07:07 +000011857 </div>
11858 <div class="inner required">
11859 Required
11860 </div>
11861 </div>
11862 </div>
11863 </td>
11864 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080011865
tragait5e9676e2021-01-14 16:07:07 +000011866 <tr><td style="width:150px;">serviceInstanceId*</td>
11867 <td>
seshukmb3a332a2018-10-05 16:27:16 +080011868
11869
tragait5e9676e2021-01-14 16:07:07 +000011870 <div id="d2e199_activatePort_serviceInstanceId">
11871 <div class="json-schema-view">
11872 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080011873 <span class="type">
11874 String
11875 </span>
11876
tragait5e9676e2021-01-14 16:07:07 +000011877 </div>
11878 <div class="inner required">
11879 Required
11880 </div>
11881 </div>
11882 </div>
11883 </td>
11884 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080011885
tragait5e9676e2021-01-14 16:07:07 +000011886 <tr><td style="width:150px;">configurationInstanceId*</td>
11887 <td>
seshukmb3a332a2018-10-05 16:27:16 +080011888
11889
tragait5e9676e2021-01-14 16:07:07 +000011890 <div id="d2e199_activatePort_configurationInstanceId">
11891 <div class="json-schema-view">
11892 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080011893 <span class="type">
11894 String
11895 </span>
11896
tragait5e9676e2021-01-14 16:07:07 +000011897 </div>
11898 <div class="inner required">
11899 Required
11900 </div>
11901 </div>
11902 </div>
11903 </td>
11904 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080011905
11906 </table>
11907
11908
11909 <div class="methodsubtabletitle">Body parameters</div>
11910 <table id="methodsubtable">
tragait5e9676e2021-01-14 16:07:07 +000011911 <tr>
11912 <th width="150px">Name</th>
11913 <th>Description</th>
11914 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080011915 <tr><td style="width:150px;">body </td>
tragait5e9676e2021-01-14 16:07:07 +000011916 <td>
seshukmb3a332a2018-10-05 16:27:16 +080011917
11918
tragait5e9676e2021-01-14 16:07:07 +000011919 <script>
seshukmb3a332a2018-10-05 16:27:16 +080011920$(document).ready(function() {
11921 var schemaWrapper = {
11922 "in" : "body",
11923 "name" : "body",
11924 "required" : false,
11925 "schema" : {
11926 "type" : "string"
11927 }
11928};
11929 var schema = schemaWrapper.schema;
11930 if (schema.$ref != null) {
11931 schema = defsParser.$refs.get(schema.$ref);
11932 } else {
11933 schemaWrapper.definitions = Object.assign({}, defs);
11934 $RefParser.dereference(schemaWrapper).catch(function(err) {
11935 console.log(err);
11936 });
11937 }
11938
11939 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
11940 var result = $('#d2e199_activatePort_body');
11941 result.empty();
11942 result.append(view.render());
11943});
11944</script>
tragait5e9676e2021-01-14 16:07:07 +000011945 <div id="d2e199_activatePort_body"></div>
11946 </td>
11947 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080011948
11949 </table>
11950
11951
11952
tragait5e9676e2021-01-14 16:07:07 +000011953 <h2>Responses</h2>
seshukmb3a332a2018-10-05 16:27:16 +080011954 <h3> Status: default - successful operation </h3>
11955
11956 <ul class="nav nav-tabs nav-tabs-examples" >
11957 </ul>
11958
11959 <div class="tab-content" style='margin-bottom: 10px;'>
11960 </div>
11961
11962 </article>
tragait5e9676e2021-01-14 16:07:07 +000011963 </div>
11964 <hr>
seshukmb3a332a2018-10-05 16:27:16 +080011965 <div id="api-OnapsoinfraserviceInstantiation-activateServiceInstance">
tragait5e9676e2021-01-14 16:07:07 +000011966 <article id="api-OnapsoinfraserviceInstantiation-activateServiceInstance-0" data-group="User" data-name="activateServiceInstance" data-version="0">
11967 <div class="pull-left">
11968 <h1>activateServiceInstance</h1>
11969 <p>Activate provided Service Instance</p>
11970 </div>
11971 <div class="pull-right"></div>
11972 <div class="clearfix"></div>
11973 <p></p>
11974 <p class="marked"></p>
11975 <p></p>
11976 <br />
11977 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/activate</span></code></pre>
11978 <p>
11979 <h3>Usage and SDK Samples</h3>
11980 </p>
11981 <ul class="nav nav-tabs nav-tabs-examples">
11982 <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-curl">Curl</a></li>
11983 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-java">Java</a></li>
11984 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-android">Android</a></li>
11985 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-groovy">Groovy</a></li>-->
11986 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-objc">Obj-C</a></li>
11987 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-javascript">JavaScript</a></li>
11988 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-angular">Angular</a></li>-->
11989 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-csharp">C#</a></li>
11990 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-php">PHP</a></li>
11991 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-perl">Perl</a></li>
11992 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-python">Python</a></li>
11993 </ul>
seshukmb3a332a2018-10-05 16:27:16 +080011994
tragait5e9676e2021-01-14 16:07:07 +000011995 <div class="tab-content">
11996 <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-curl">
11997 <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/activate"</code></pre>
11998 </div>
11999 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-java">
seshukmb3a332a2018-10-05 16:27:16 +080012000 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
12001import io.swagger.client.auth.*;
12002import io.swagger.client.model.*;
12003import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
12004
12005import java.io.File;
12006import java.util.*;
12007
12008public class OnapsoinfraserviceInstantiationApiExample {
12009
12010 public static void main(String[] args) {
tragait5e9676e2021-01-14 16:07:07 +000012011
seshukmb3a332a2018-10-05 16:27:16 +080012012 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000012013 String version = version_example; // String |
12014 String serviceInstanceId = serviceInstanceId_example; // String |
12015 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080012016 try {
12017 apiInstance.activateServiceInstance(version, serviceInstanceId, body);
12018 } catch (ApiException e) {
12019 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#activateServiceInstance");
12020 e.printStackTrace();
12021 }
12022 }
12023}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000012024 </div>
seshukmb3a332a2018-10-05 16:27:16 +080012025
tragait5e9676e2021-01-14 16:07:07 +000012026 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-android">
seshukmb3a332a2018-10-05 16:27:16 +080012027 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
12028
12029public class OnapsoinfraserviceInstantiationApiExample {
12030
12031 public static void main(String[] args) {
12032 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000012033 String version = version_example; // String |
12034 String serviceInstanceId = serviceInstanceId_example; // String |
12035 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080012036 try {
12037 apiInstance.activateServiceInstance(version, serviceInstanceId, body);
12038 } catch (ApiException e) {
12039 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#activateServiceInstance");
12040 e.printStackTrace();
12041 }
12042 }
12043}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000012044 </div>
12045 <!--
seshukmb3a332a2018-10-05 16:27:16 +080012046 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-groovy">
12047 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
12048 </div> -->
tragait5e9676e2021-01-14 16:07:07 +000012049 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-objc">
12050 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
12051String *serviceInstanceId = serviceInstanceId_example; //
seshukmb3a332a2018-10-05 16:27:16 +080012052String *body = body_example; // (optional)
12053
12054OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init];
12055
12056// Activate provided Service Instance
12057[apiInstance activateServiceInstanceWith:version
12058 serviceInstanceId:serviceInstanceId
12059 body:body
12060 completionHandler: ^(NSError* error) {
12061 if (error) {
12062 NSLog(@"Error: %@", error);
12063 }
12064 }];
12065</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000012066 </div>
seshukmb3a332a2018-10-05 16:27:16 +080012067
tragait5e9676e2021-01-14 16:07:07 +000012068 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-javascript">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053012069 <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is');
seshukmb3a332a2018-10-05 16:27:16 +080012070
Priyadharshinic86ab4a2020-08-14 17:11:49 +053012071var api = new SoGuilinApIs.OnapsoinfraserviceInstantiationApi()
seshukmb3a332a2018-10-05 16:27:16 +080012072
tragait5e9676e2021-01-14 16:07:07 +000012073var version = version_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080012074
tragait5e9676e2021-01-14 16:07:07 +000012075var serviceInstanceId = serviceInstanceId_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080012076
tragait5e9676e2021-01-14 16:07:07 +000012077var opts = {
12078 'body': body_example // {String}
seshukmb3a332a2018-10-05 16:27:16 +080012079};
12080
12081var callback = function(error, data, response) {
12082 if (error) {
12083 console.error(error);
12084 } else {
12085 console.log('API called successfully.');
12086 }
12087};
12088api.activateServiceInstance(version, serviceInstanceId, opts, callback);
12089</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000012090 </div>
seshukmb3a332a2018-10-05 16:27:16 +080012091
tragait5e9676e2021-01-14 16:07:07 +000012092 <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-angular">
seshukmb3a332a2018-10-05 16:27:16 +080012093 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
12094 </div>-->
tragait5e9676e2021-01-14 16:07:07 +000012095 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-csharp">
seshukmb3a332a2018-10-05 16:27:16 +080012096 <pre class="prettyprint"><code class="language-cs">using System;
12097using System.Diagnostics;
12098using IO.Swagger.Api;
12099using IO.Swagger.Client;
12100using IO.Swagger.Model;
12101
12102namespace Example
12103{
12104 public class activateServiceInstanceExample
12105 {
12106 public void main()
12107 {
tragait5e9676e2021-01-14 16:07:07 +000012108
seshukmb3a332a2018-10-05 16:27:16 +080012109 var apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000012110 var version = version_example; // String |
12111 var serviceInstanceId = serviceInstanceId_example; // String |
12112 var body = body_example; // String | (optional)
seshukmb3a332a2018-10-05 16:27:16 +080012113
12114 try
12115 {
12116 // Activate provided Service Instance
12117 apiInstance.activateServiceInstance(version, serviceInstanceId, body);
12118 }
12119 catch (Exception e)
12120 {
12121 Debug.Print("Exception when calling OnapsoinfraserviceInstantiationApi.activateServiceInstance: " + e.Message );
12122 }
12123 }
12124 }
12125}
12126</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000012127 </div>
seshukmb3a332a2018-10-05 16:27:16 +080012128
tragait5e9676e2021-01-14 16:07:07 +000012129 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-php">
seshukmb3a332a2018-10-05 16:27:16 +080012130 <pre class="prettyprint"><code class="language-php"><&#63;php
12131require_once(__DIR__ . '/vendor/autoload.php');
12132
12133$api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000012134$version = version_example; // String |
12135$serviceInstanceId = serviceInstanceId_example; // String |
12136$body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080012137
12138try {
12139 $api_instance->activateServiceInstance($version, $serviceInstanceId, $body);
12140} catch (Exception $e) {
12141 echo 'Exception when calling OnapsoinfraserviceInstantiationApi->activateServiceInstance: ', $e->getMessage(), PHP_EOL;
12142}
12143?></code></pre>
tragait5e9676e2021-01-14 16:07:07 +000012144 </div>
seshukmb3a332a2018-10-05 16:27:16 +080012145
tragait5e9676e2021-01-14 16:07:07 +000012146 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-perl">
seshukmb3a332a2018-10-05 16:27:16 +080012147 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
12148use WWW::SwaggerClient::Configuration;
12149use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi;
12150
12151my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new();
tragait5e9676e2021-01-14 16:07:07 +000012152my $version = version_example; # String |
12153my $serviceInstanceId = serviceInstanceId_example; # String |
12154my $body = WWW::SwaggerClient::Object::String->new(); # String |
seshukmb3a332a2018-10-05 16:27:16 +080012155
tragait5e9676e2021-01-14 16:07:07 +000012156eval {
seshukmb3a332a2018-10-05 16:27:16 +080012157 $api_instance->activateServiceInstance(version => $version, serviceInstanceId => $serviceInstanceId, body => $body);
12158};
12159if ($@) {
12160 warn "Exception when calling OnapsoinfraserviceInstantiationApi->activateServiceInstance: $@\n";
12161}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000012162 </div>
seshukmb3a332a2018-10-05 16:27:16 +080012163
tragait5e9676e2021-01-14 16:07:07 +000012164 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-python">
seshukmb3a332a2018-10-05 16:27:16 +080012165 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
12166import time
12167import swagger_client
12168from swagger_client.rest import ApiException
12169from pprint import pprint
12170
12171# create an instance of the API class
12172api_instance = swagger_client.OnapsoinfraserviceInstantiationApi()
tragait5e9676e2021-01-14 16:07:07 +000012173version = version_example # String |
12174serviceInstanceId = serviceInstanceId_example # String |
seshukmb3a332a2018-10-05 16:27:16 +080012175body = body_example # String | (optional)
12176
tragait5e9676e2021-01-14 16:07:07 +000012177try:
seshukmb3a332a2018-10-05 16:27:16 +080012178 # Activate provided Service Instance
12179 api_instance.activate_service_instance(version, serviceInstanceId, body=body)
12180except ApiException as e:
12181 print("Exception when calling OnapsoinfraserviceInstantiationApi->activateServiceInstance: %s\n" % e)</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000012182 </div>
seshukmb3a332a2018-10-05 16:27:16 +080012183 </div>
seshukmb3a332a2018-10-05 16:27:16 +080012184
tragait5e9676e2021-01-14 16:07:07 +000012185 <h2>Parameters</h2>
seshukmb3a332a2018-10-05 16:27:16 +080012186
12187 <div class="methodsubtabletitle">Path parameters</div>
12188 <table id="methodsubtable">
12189 <tr>
tragait5e9676e2021-01-14 16:07:07 +000012190 <th width="150px">Name</th>
12191 <th>Description</th>
seshukmb3a332a2018-10-05 16:27:16 +080012192 </tr>
tragait5e9676e2021-01-14 16:07:07 +000012193 <tr><td style="width:150px;">version*</td>
12194 <td>
seshukmb3a332a2018-10-05 16:27:16 +080012195
12196
tragait5e9676e2021-01-14 16:07:07 +000012197 <div id="d2e199_activateServiceInstance_version">
12198 <div class="json-schema-view">
12199 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080012200 <span class="type">
12201 String
12202 </span>
12203
tragait5e9676e2021-01-14 16:07:07 +000012204 </div>
12205 <div class="inner required">
12206 Required
12207 </div>
12208 </div>
12209 </div>
12210 </td>
12211 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080012212
tragait5e9676e2021-01-14 16:07:07 +000012213 <tr><td style="width:150px;">serviceInstanceId*</td>
12214 <td>
seshukmb3a332a2018-10-05 16:27:16 +080012215
12216
tragait5e9676e2021-01-14 16:07:07 +000012217 <div id="d2e199_activateServiceInstance_serviceInstanceId">
12218 <div class="json-schema-view">
12219 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080012220 <span class="type">
12221 String
12222 </span>
12223
tragait5e9676e2021-01-14 16:07:07 +000012224 </div>
12225 <div class="inner required">
12226 Required
12227 </div>
12228 </div>
12229 </div>
12230 </td>
12231 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080012232
12233 </table>
12234
12235
12236 <div class="methodsubtabletitle">Body parameters</div>
12237 <table id="methodsubtable">
tragait5e9676e2021-01-14 16:07:07 +000012238 <tr>
12239 <th width="150px">Name</th>
12240 <th>Description</th>
12241 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080012242 <tr><td style="width:150px;">body </td>
tragait5e9676e2021-01-14 16:07:07 +000012243 <td>
seshukmb3a332a2018-10-05 16:27:16 +080012244
12245
tragait5e9676e2021-01-14 16:07:07 +000012246 <script>
seshukmb3a332a2018-10-05 16:27:16 +080012247$(document).ready(function() {
12248 var schemaWrapper = {
12249 "in" : "body",
12250 "name" : "body",
12251 "required" : false,
12252 "schema" : {
12253 "type" : "string"
12254 }
12255};
12256 var schema = schemaWrapper.schema;
12257 if (schema.$ref != null) {
12258 schema = defsParser.$refs.get(schema.$ref);
12259 } else {
12260 schemaWrapper.definitions = Object.assign({}, defs);
12261 $RefParser.dereference(schemaWrapper).catch(function(err) {
12262 console.log(err);
12263 });
12264 }
12265
12266 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
12267 var result = $('#d2e199_activateServiceInstance_body');
12268 result.empty();
12269 result.append(view.render());
12270});
12271</script>
tragait5e9676e2021-01-14 16:07:07 +000012272 <div id="d2e199_activateServiceInstance_body"></div>
12273 </td>
12274 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080012275
12276 </table>
12277
12278
12279
tragait5e9676e2021-01-14 16:07:07 +000012280 <h2>Responses</h2>
seshukmb3a332a2018-10-05 16:27:16 +080012281 <h3> Status: default - successful operation </h3>
12282
12283 <ul class="nav nav-tabs nav-tabs-examples" >
12284 </ul>
12285
12286 <div class="tab-content" style='margin-bottom: 10px;'>
12287 </div>
12288
12289 </article>
tragait5e9676e2021-01-14 16:07:07 +000012290 </div>
12291 <hr>
seshukmb3a332a2018-10-05 16:27:16 +080012292 <div id="api-OnapsoinfraserviceInstantiation-addRelationships">
tragait5e9676e2021-01-14 16:07:07 +000012293 <article id="api-OnapsoinfraserviceInstantiation-addRelationships-0" data-group="User" data-name="addRelationships" data-version="0">
12294 <div class="pull-left">
12295 <h1>addRelationships</h1>
12296 <p>Add Relationships to a Service Instance</p>
12297 </div>
12298 <div class="pull-right"></div>
12299 <div class="clearfix"></div>
12300 <p></p>
12301 <p class="marked"></p>
12302 <p></p>
12303 <br />
12304 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/addRelationships</span></code></pre>
12305 <p>
12306 <h3>Usage and SDK Samples</h3>
12307 </p>
12308 <ul class="nav nav-tabs nav-tabs-examples">
12309 <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-addRelationships-0-curl">Curl</a></li>
12310 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-addRelationships-0-java">Java</a></li>
12311 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-addRelationships-0-android">Android</a></li>
12312 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-addRelationships-0-groovy">Groovy</a></li>-->
12313 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-addRelationships-0-objc">Obj-C</a></li>
12314 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-addRelationships-0-javascript">JavaScript</a></li>
12315 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-addRelationships-0-angular">Angular</a></li>-->
12316 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-addRelationships-0-csharp">C#</a></li>
12317 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-addRelationships-0-php">PHP</a></li>
12318 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-addRelationships-0-perl">Perl</a></li>
12319 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-addRelationships-0-python">Python</a></li>
12320 </ul>
seshukmb3a332a2018-10-05 16:27:16 +080012321
tragait5e9676e2021-01-14 16:07:07 +000012322 <div class="tab-content">
12323 <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-addRelationships-0-curl">
12324 <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/addRelationships"</code></pre>
12325 </div>
12326 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-addRelationships-0-java">
seshukmb3a332a2018-10-05 16:27:16 +080012327 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
12328import io.swagger.client.auth.*;
12329import io.swagger.client.model.*;
12330import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
12331
12332import java.io.File;
12333import java.util.*;
12334
12335public class OnapsoinfraserviceInstantiationApiExample {
12336
12337 public static void main(String[] args) {
tragait5e9676e2021-01-14 16:07:07 +000012338
seshukmb3a332a2018-10-05 16:27:16 +080012339 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000012340 String version = version_example; // String |
12341 String serviceInstanceId = serviceInstanceId_example; // String |
12342 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080012343 try {
12344 apiInstance.addRelationships(version, serviceInstanceId, body);
12345 } catch (ApiException e) {
12346 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#addRelationships");
12347 e.printStackTrace();
12348 }
12349 }
12350}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000012351 </div>
seshukmb3a332a2018-10-05 16:27:16 +080012352
tragait5e9676e2021-01-14 16:07:07 +000012353 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-addRelationships-0-android">
seshukmb3a332a2018-10-05 16:27:16 +080012354 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
12355
12356public class OnapsoinfraserviceInstantiationApiExample {
12357
12358 public static void main(String[] args) {
12359 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000012360 String version = version_example; // String |
12361 String serviceInstanceId = serviceInstanceId_example; // String |
12362 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080012363 try {
12364 apiInstance.addRelationships(version, serviceInstanceId, body);
12365 } catch (ApiException e) {
12366 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#addRelationships");
12367 e.printStackTrace();
12368 }
12369 }
12370}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000012371 </div>
12372 <!--
seshukmb3a332a2018-10-05 16:27:16 +080012373 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-addRelationships-0-groovy">
12374 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
12375 </div> -->
tragait5e9676e2021-01-14 16:07:07 +000012376 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-addRelationships-0-objc">
12377 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
12378String *serviceInstanceId = serviceInstanceId_example; //
seshukmb3a332a2018-10-05 16:27:16 +080012379String *body = body_example; // (optional)
12380
12381OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init];
12382
12383// Add Relationships to a Service Instance
12384[apiInstance addRelationshipsWith:version
12385 serviceInstanceId:serviceInstanceId
12386 body:body
12387 completionHandler: ^(NSError* error) {
12388 if (error) {
12389 NSLog(@"Error: %@", error);
12390 }
12391 }];
12392</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000012393 </div>
seshukmb3a332a2018-10-05 16:27:16 +080012394
tragait5e9676e2021-01-14 16:07:07 +000012395 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-addRelationships-0-javascript">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053012396 <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is');
seshukmb3a332a2018-10-05 16:27:16 +080012397
Priyadharshinic86ab4a2020-08-14 17:11:49 +053012398var api = new SoGuilinApIs.OnapsoinfraserviceInstantiationApi()
seshukmb3a332a2018-10-05 16:27:16 +080012399
tragait5e9676e2021-01-14 16:07:07 +000012400var version = version_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080012401
tragait5e9676e2021-01-14 16:07:07 +000012402var serviceInstanceId = serviceInstanceId_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080012403
tragait5e9676e2021-01-14 16:07:07 +000012404var opts = {
12405 'body': body_example // {String}
seshukmb3a332a2018-10-05 16:27:16 +080012406};
12407
12408var callback = function(error, data, response) {
12409 if (error) {
12410 console.error(error);
12411 } else {
12412 console.log('API called successfully.');
12413 }
12414};
12415api.addRelationships(version, serviceInstanceId, opts, callback);
12416</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000012417 </div>
seshukmb3a332a2018-10-05 16:27:16 +080012418
tragait5e9676e2021-01-14 16:07:07 +000012419 <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-addRelationships-0-angular">
seshukmb3a332a2018-10-05 16:27:16 +080012420 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
12421 </div>-->
tragait5e9676e2021-01-14 16:07:07 +000012422 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-addRelationships-0-csharp">
seshukmb3a332a2018-10-05 16:27:16 +080012423 <pre class="prettyprint"><code class="language-cs">using System;
12424using System.Diagnostics;
12425using IO.Swagger.Api;
12426using IO.Swagger.Client;
12427using IO.Swagger.Model;
12428
12429namespace Example
12430{
12431 public class addRelationshipsExample
12432 {
12433 public void main()
12434 {
tragait5e9676e2021-01-14 16:07:07 +000012435
seshukmb3a332a2018-10-05 16:27:16 +080012436 var apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000012437 var version = version_example; // String |
12438 var serviceInstanceId = serviceInstanceId_example; // String |
12439 var body = body_example; // String | (optional)
seshukmb3a332a2018-10-05 16:27:16 +080012440
12441 try
12442 {
12443 // Add Relationships to a Service Instance
12444 apiInstance.addRelationships(version, serviceInstanceId, body);
12445 }
12446 catch (Exception e)
12447 {
12448 Debug.Print("Exception when calling OnapsoinfraserviceInstantiationApi.addRelationships: " + e.Message );
12449 }
12450 }
12451 }
12452}
12453</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000012454 </div>
seshukmb3a332a2018-10-05 16:27:16 +080012455
tragait5e9676e2021-01-14 16:07:07 +000012456 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-addRelationships-0-php">
seshukmb3a332a2018-10-05 16:27:16 +080012457 <pre class="prettyprint"><code class="language-php"><&#63;php
12458require_once(__DIR__ . '/vendor/autoload.php');
12459
12460$api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000012461$version = version_example; // String |
12462$serviceInstanceId = serviceInstanceId_example; // String |
12463$body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080012464
12465try {
12466 $api_instance->addRelationships($version, $serviceInstanceId, $body);
12467} catch (Exception $e) {
12468 echo 'Exception when calling OnapsoinfraserviceInstantiationApi->addRelationships: ', $e->getMessage(), PHP_EOL;
12469}
12470?></code></pre>
tragait5e9676e2021-01-14 16:07:07 +000012471 </div>
seshukmb3a332a2018-10-05 16:27:16 +080012472
tragait5e9676e2021-01-14 16:07:07 +000012473 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-addRelationships-0-perl">
seshukmb3a332a2018-10-05 16:27:16 +080012474 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
12475use WWW::SwaggerClient::Configuration;
12476use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi;
12477
12478my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new();
tragait5e9676e2021-01-14 16:07:07 +000012479my $version = version_example; # String |
12480my $serviceInstanceId = serviceInstanceId_example; # String |
12481my $body = WWW::SwaggerClient::Object::String->new(); # String |
seshukmb3a332a2018-10-05 16:27:16 +080012482
tragait5e9676e2021-01-14 16:07:07 +000012483eval {
seshukmb3a332a2018-10-05 16:27:16 +080012484 $api_instance->addRelationships(version => $version, serviceInstanceId => $serviceInstanceId, body => $body);
12485};
12486if ($@) {
12487 warn "Exception when calling OnapsoinfraserviceInstantiationApi->addRelationships: $@\n";
12488}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000012489 </div>
seshukmb3a332a2018-10-05 16:27:16 +080012490
tragait5e9676e2021-01-14 16:07:07 +000012491 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-addRelationships-0-python">
seshukmb3a332a2018-10-05 16:27:16 +080012492 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
12493import time
12494import swagger_client
12495from swagger_client.rest import ApiException
12496from pprint import pprint
12497
12498# create an instance of the API class
12499api_instance = swagger_client.OnapsoinfraserviceInstantiationApi()
tragait5e9676e2021-01-14 16:07:07 +000012500version = version_example # String |
12501serviceInstanceId = serviceInstanceId_example # String |
seshukmb3a332a2018-10-05 16:27:16 +080012502body = body_example # String | (optional)
12503
tragait5e9676e2021-01-14 16:07:07 +000012504try:
seshukmb3a332a2018-10-05 16:27:16 +080012505 # Add Relationships to a Service Instance
12506 api_instance.add_relationships(version, serviceInstanceId, body=body)
12507except ApiException as e:
12508 print("Exception when calling OnapsoinfraserviceInstantiationApi->addRelationships: %s\n" % e)</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000012509 </div>
seshukmb3a332a2018-10-05 16:27:16 +080012510 </div>
seshukmb3a332a2018-10-05 16:27:16 +080012511
tragait5e9676e2021-01-14 16:07:07 +000012512 <h2>Parameters</h2>
seshukmb3a332a2018-10-05 16:27:16 +080012513
12514 <div class="methodsubtabletitle">Path parameters</div>
12515 <table id="methodsubtable">
12516 <tr>
tragait5e9676e2021-01-14 16:07:07 +000012517 <th width="150px">Name</th>
12518 <th>Description</th>
seshukmb3a332a2018-10-05 16:27:16 +080012519 </tr>
tragait5e9676e2021-01-14 16:07:07 +000012520 <tr><td style="width:150px;">version*</td>
12521 <td>
seshukmb3a332a2018-10-05 16:27:16 +080012522
12523
tragait5e9676e2021-01-14 16:07:07 +000012524 <div id="d2e199_addRelationships_version">
12525 <div class="json-schema-view">
12526 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080012527 <span class="type">
12528 String
12529 </span>
12530
tragait5e9676e2021-01-14 16:07:07 +000012531 </div>
12532 <div class="inner required">
12533 Required
12534 </div>
12535 </div>
12536 </div>
12537 </td>
12538 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080012539
tragait5e9676e2021-01-14 16:07:07 +000012540 <tr><td style="width:150px;">serviceInstanceId*</td>
12541 <td>
seshukmb3a332a2018-10-05 16:27:16 +080012542
12543
tragait5e9676e2021-01-14 16:07:07 +000012544 <div id="d2e199_addRelationships_serviceInstanceId">
12545 <div class="json-schema-view">
12546 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080012547 <span class="type">
12548 String
12549 </span>
12550
tragait5e9676e2021-01-14 16:07:07 +000012551 </div>
12552 <div class="inner required">
12553 Required
12554 </div>
12555 </div>
12556 </div>
12557 </td>
12558 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080012559
12560 </table>
12561
12562
12563 <div class="methodsubtabletitle">Body parameters</div>
12564 <table id="methodsubtable">
tragait5e9676e2021-01-14 16:07:07 +000012565 <tr>
12566 <th width="150px">Name</th>
12567 <th>Description</th>
12568 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080012569 <tr><td style="width:150px;">body </td>
tragait5e9676e2021-01-14 16:07:07 +000012570 <td>
seshukmb3a332a2018-10-05 16:27:16 +080012571
12572
tragait5e9676e2021-01-14 16:07:07 +000012573 <script>
seshukmb3a332a2018-10-05 16:27:16 +080012574$(document).ready(function() {
12575 var schemaWrapper = {
12576 "in" : "body",
12577 "name" : "body",
12578 "required" : false,
12579 "schema" : {
12580 "type" : "string"
12581 }
12582};
12583 var schema = schemaWrapper.schema;
12584 if (schema.$ref != null) {
12585 schema = defsParser.$refs.get(schema.$ref);
12586 } else {
12587 schemaWrapper.definitions = Object.assign({}, defs);
12588 $RefParser.dereference(schemaWrapper).catch(function(err) {
12589 console.log(err);
12590 });
12591 }
12592
12593 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
12594 var result = $('#d2e199_addRelationships_body');
12595 result.empty();
12596 result.append(view.render());
12597});
12598</script>
tragait5e9676e2021-01-14 16:07:07 +000012599 <div id="d2e199_addRelationships_body"></div>
12600 </td>
12601 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080012602
12603 </table>
12604
12605
12606
tragait5e9676e2021-01-14 16:07:07 +000012607 <h2>Responses</h2>
seshukmb3a332a2018-10-05 16:27:16 +080012608 <h3> Status: default - successful operation </h3>
12609
12610 <ul class="nav nav-tabs nav-tabs-examples" >
12611 </ul>
12612
12613 <div class="tab-content" style='margin-bottom: 10px;'>
12614 </div>
12615
12616 </article>
tragait5e9676e2021-01-14 16:07:07 +000012617 </div>
12618 <hr>
seshukmb3a332a2018-10-05 16:27:16 +080012619 <div id="api-OnapsoinfraserviceInstantiation-applyUpdatedConfig">
tragait5e9676e2021-01-14 16:07:07 +000012620 <article id="api-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0" data-group="User" data-name="applyUpdatedConfig" data-version="0">
12621 <div class="pull-left">
12622 <h1>applyUpdatedConfig</h1>
12623 <p>Apply updated configuration</p>
12624 </div>
12625 <div class="pull-right"></div>
12626 <div class="clearfix"></div>
12627 <p></p>
12628 <p class="marked"></p>
12629 <p></p>
12630 <br />
12631 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/applyUpdatedConfig</span></code></pre>
12632 <p>
12633 <h3>Usage and SDK Samples</h3>
12634 </p>
12635 <ul class="nav nav-tabs nav-tabs-examples">
12636 <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-curl">Curl</a></li>
12637 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-java">Java</a></li>
12638 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-android">Android</a></li>
12639 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-groovy">Groovy</a></li>-->
12640 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-objc">Obj-C</a></li>
12641 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-javascript">JavaScript</a></li>
12642 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-angular">Angular</a></li>-->
12643 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-csharp">C#</a></li>
12644 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-php">PHP</a></li>
12645 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-perl">Perl</a></li>
12646 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-python">Python</a></li>
12647 </ul>
seshukmb3a332a2018-10-05 16:27:16 +080012648
tragait5e9676e2021-01-14 16:07:07 +000012649 <div class="tab-content">
12650 <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-curl">
12651 <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/applyUpdatedConfig"</code></pre>
12652 </div>
12653 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-java">
seshukmb3a332a2018-10-05 16:27:16 +080012654 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
12655import io.swagger.client.auth.*;
12656import io.swagger.client.model.*;
12657import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
12658
12659import java.io.File;
12660import java.util.*;
12661
12662public class OnapsoinfraserviceInstantiationApiExample {
12663
12664 public static void main(String[] args) {
tragait5e9676e2021-01-14 16:07:07 +000012665
seshukmb3a332a2018-10-05 16:27:16 +080012666 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000012667 String version = version_example; // String |
12668 String serviceInstanceId = serviceInstanceId_example; // String |
12669 String vnfInstanceId = vnfInstanceId_example; // String |
12670 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080012671 try {
12672 apiInstance.applyUpdatedConfig(version, serviceInstanceId, vnfInstanceId, body);
12673 } catch (ApiException e) {
12674 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#applyUpdatedConfig");
12675 e.printStackTrace();
12676 }
12677 }
12678}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000012679 </div>
seshukmb3a332a2018-10-05 16:27:16 +080012680
tragait5e9676e2021-01-14 16:07:07 +000012681 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-android">
seshukmb3a332a2018-10-05 16:27:16 +080012682 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
12683
12684public class OnapsoinfraserviceInstantiationApiExample {
12685
12686 public static void main(String[] args) {
12687 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000012688 String version = version_example; // String |
12689 String serviceInstanceId = serviceInstanceId_example; // String |
12690 String vnfInstanceId = vnfInstanceId_example; // String |
12691 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080012692 try {
12693 apiInstance.applyUpdatedConfig(version, serviceInstanceId, vnfInstanceId, body);
12694 } catch (ApiException e) {
12695 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#applyUpdatedConfig");
12696 e.printStackTrace();
12697 }
12698 }
12699}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000012700 </div>
12701 <!--
seshukmb3a332a2018-10-05 16:27:16 +080012702 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-groovy">
12703 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
12704 </div> -->
tragait5e9676e2021-01-14 16:07:07 +000012705 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-objc">
12706 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
12707String *serviceInstanceId = serviceInstanceId_example; //
12708String *vnfInstanceId = vnfInstanceId_example; //
seshukmb3a332a2018-10-05 16:27:16 +080012709String *body = body_example; // (optional)
12710
12711OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init];
12712
12713// Apply updated configuration
12714[apiInstance applyUpdatedConfigWith:version
12715 serviceInstanceId:serviceInstanceId
12716 vnfInstanceId:vnfInstanceId
12717 body:body
12718 completionHandler: ^(NSError* error) {
12719 if (error) {
12720 NSLog(@"Error: %@", error);
12721 }
12722 }];
12723</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000012724 </div>
seshukmb3a332a2018-10-05 16:27:16 +080012725
tragait5e9676e2021-01-14 16:07:07 +000012726 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-javascript">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053012727 <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is');
seshukmb3a332a2018-10-05 16:27:16 +080012728
Priyadharshinic86ab4a2020-08-14 17:11:49 +053012729var api = new SoGuilinApIs.OnapsoinfraserviceInstantiationApi()
seshukmb3a332a2018-10-05 16:27:16 +080012730
tragait5e9676e2021-01-14 16:07:07 +000012731var version = version_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080012732
tragait5e9676e2021-01-14 16:07:07 +000012733var serviceInstanceId = serviceInstanceId_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080012734
tragait5e9676e2021-01-14 16:07:07 +000012735var vnfInstanceId = vnfInstanceId_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080012736
tragait5e9676e2021-01-14 16:07:07 +000012737var opts = {
12738 'body': body_example // {String}
seshukmb3a332a2018-10-05 16:27:16 +080012739};
12740
12741var callback = function(error, data, response) {
12742 if (error) {
12743 console.error(error);
12744 } else {
12745 console.log('API called successfully.');
12746 }
12747};
12748api.applyUpdatedConfig(version, serviceInstanceId, vnfInstanceId, opts, callback);
12749</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000012750 </div>
seshukmb3a332a2018-10-05 16:27:16 +080012751
tragait5e9676e2021-01-14 16:07:07 +000012752 <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-angular">
seshukmb3a332a2018-10-05 16:27:16 +080012753 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
12754 </div>-->
tragait5e9676e2021-01-14 16:07:07 +000012755 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-csharp">
seshukmb3a332a2018-10-05 16:27:16 +080012756 <pre class="prettyprint"><code class="language-cs">using System;
12757using System.Diagnostics;
12758using IO.Swagger.Api;
12759using IO.Swagger.Client;
12760using IO.Swagger.Model;
12761
12762namespace Example
12763{
12764 public class applyUpdatedConfigExample
12765 {
12766 public void main()
12767 {
tragait5e9676e2021-01-14 16:07:07 +000012768
seshukmb3a332a2018-10-05 16:27:16 +080012769 var apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000012770 var version = version_example; // String |
12771 var serviceInstanceId = serviceInstanceId_example; // String |
12772 var vnfInstanceId = vnfInstanceId_example; // String |
12773 var body = body_example; // String | (optional)
seshukmb3a332a2018-10-05 16:27:16 +080012774
12775 try
12776 {
12777 // Apply updated configuration
12778 apiInstance.applyUpdatedConfig(version, serviceInstanceId, vnfInstanceId, body);
12779 }
12780 catch (Exception e)
12781 {
12782 Debug.Print("Exception when calling OnapsoinfraserviceInstantiationApi.applyUpdatedConfig: " + e.Message );
12783 }
12784 }
12785 }
12786}
12787</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000012788 </div>
seshukmb3a332a2018-10-05 16:27:16 +080012789
tragait5e9676e2021-01-14 16:07:07 +000012790 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-php">
seshukmb3a332a2018-10-05 16:27:16 +080012791 <pre class="prettyprint"><code class="language-php"><&#63;php
12792require_once(__DIR__ . '/vendor/autoload.php');
12793
12794$api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000012795$version = version_example; // String |
12796$serviceInstanceId = serviceInstanceId_example; // String |
12797$vnfInstanceId = vnfInstanceId_example; // String |
12798$body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080012799
12800try {
12801 $api_instance->applyUpdatedConfig($version, $serviceInstanceId, $vnfInstanceId, $body);
12802} catch (Exception $e) {
12803 echo 'Exception when calling OnapsoinfraserviceInstantiationApi->applyUpdatedConfig: ', $e->getMessage(), PHP_EOL;
12804}
12805?></code></pre>
tragait5e9676e2021-01-14 16:07:07 +000012806 </div>
seshukmb3a332a2018-10-05 16:27:16 +080012807
tragait5e9676e2021-01-14 16:07:07 +000012808 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-perl">
seshukmb3a332a2018-10-05 16:27:16 +080012809 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
12810use WWW::SwaggerClient::Configuration;
12811use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi;
12812
12813my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new();
tragait5e9676e2021-01-14 16:07:07 +000012814my $version = version_example; # String |
12815my $serviceInstanceId = serviceInstanceId_example; # String |
12816my $vnfInstanceId = vnfInstanceId_example; # String |
12817my $body = WWW::SwaggerClient::Object::String->new(); # String |
seshukmb3a332a2018-10-05 16:27:16 +080012818
tragait5e9676e2021-01-14 16:07:07 +000012819eval {
seshukmb3a332a2018-10-05 16:27:16 +080012820 $api_instance->applyUpdatedConfig(version => $version, serviceInstanceId => $serviceInstanceId, vnfInstanceId => $vnfInstanceId, body => $body);
12821};
12822if ($@) {
12823 warn "Exception when calling OnapsoinfraserviceInstantiationApi->applyUpdatedConfig: $@\n";
12824}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000012825 </div>
seshukmb3a332a2018-10-05 16:27:16 +080012826
tragait5e9676e2021-01-14 16:07:07 +000012827 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-python">
seshukmb3a332a2018-10-05 16:27:16 +080012828 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
12829import time
12830import swagger_client
12831from swagger_client.rest import ApiException
12832from pprint import pprint
12833
12834# create an instance of the API class
12835api_instance = swagger_client.OnapsoinfraserviceInstantiationApi()
tragait5e9676e2021-01-14 16:07:07 +000012836version = version_example # String |
12837serviceInstanceId = serviceInstanceId_example # String |
12838vnfInstanceId = vnfInstanceId_example # String |
seshukmb3a332a2018-10-05 16:27:16 +080012839body = body_example # String | (optional)
12840
tragait5e9676e2021-01-14 16:07:07 +000012841try:
seshukmb3a332a2018-10-05 16:27:16 +080012842 # Apply updated configuration
12843 api_instance.apply_updated_config(version, serviceInstanceId, vnfInstanceId, body=body)
12844except ApiException as e:
12845 print("Exception when calling OnapsoinfraserviceInstantiationApi->applyUpdatedConfig: %s\n" % e)</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000012846 </div>
seshukmb3a332a2018-10-05 16:27:16 +080012847 </div>
seshukmb3a332a2018-10-05 16:27:16 +080012848
tragait5e9676e2021-01-14 16:07:07 +000012849 <h2>Parameters</h2>
seshukmb3a332a2018-10-05 16:27:16 +080012850
12851 <div class="methodsubtabletitle">Path parameters</div>
12852 <table id="methodsubtable">
12853 <tr>
tragait5e9676e2021-01-14 16:07:07 +000012854 <th width="150px">Name</th>
12855 <th>Description</th>
seshukmb3a332a2018-10-05 16:27:16 +080012856 </tr>
tragait5e9676e2021-01-14 16:07:07 +000012857 <tr><td style="width:150px;">version*</td>
12858 <td>
seshukmb3a332a2018-10-05 16:27:16 +080012859
12860
tragait5e9676e2021-01-14 16:07:07 +000012861 <div id="d2e199_applyUpdatedConfig_version">
12862 <div class="json-schema-view">
12863 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080012864 <span class="type">
12865 String
12866 </span>
12867
tragait5e9676e2021-01-14 16:07:07 +000012868 </div>
12869 <div class="inner required">
12870 Required
12871 </div>
12872 </div>
12873 </div>
12874 </td>
12875 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080012876
tragait5e9676e2021-01-14 16:07:07 +000012877 <tr><td style="width:150px;">serviceInstanceId*</td>
12878 <td>
seshukmb3a332a2018-10-05 16:27:16 +080012879
12880
tragait5e9676e2021-01-14 16:07:07 +000012881 <div id="d2e199_applyUpdatedConfig_serviceInstanceId">
12882 <div class="json-schema-view">
12883 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080012884 <span class="type">
12885 String
12886 </span>
12887
tragait5e9676e2021-01-14 16:07:07 +000012888 </div>
12889 <div class="inner required">
12890 Required
12891 </div>
12892 </div>
12893 </div>
12894 </td>
12895 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080012896
tragait5e9676e2021-01-14 16:07:07 +000012897 <tr><td style="width:150px;">vnfInstanceId*</td>
12898 <td>
seshukmb3a332a2018-10-05 16:27:16 +080012899
12900
tragait5e9676e2021-01-14 16:07:07 +000012901 <div id="d2e199_applyUpdatedConfig_vnfInstanceId">
12902 <div class="json-schema-view">
12903 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080012904 <span class="type">
12905 String
12906 </span>
12907
tragait5e9676e2021-01-14 16:07:07 +000012908 </div>
12909 <div class="inner required">
12910 Required
12911 </div>
12912 </div>
12913 </div>
12914 </td>
12915 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080012916
12917 </table>
12918
12919
12920 <div class="methodsubtabletitle">Body parameters</div>
12921 <table id="methodsubtable">
tragait5e9676e2021-01-14 16:07:07 +000012922 <tr>
12923 <th width="150px">Name</th>
12924 <th>Description</th>
12925 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080012926 <tr><td style="width:150px;">body </td>
tragait5e9676e2021-01-14 16:07:07 +000012927 <td>
seshukmb3a332a2018-10-05 16:27:16 +080012928
12929
tragait5e9676e2021-01-14 16:07:07 +000012930 <script>
seshukmb3a332a2018-10-05 16:27:16 +080012931$(document).ready(function() {
12932 var schemaWrapper = {
12933 "in" : "body",
12934 "name" : "body",
12935 "required" : false,
12936 "schema" : {
12937 "type" : "string"
12938 }
12939};
12940 var schema = schemaWrapper.schema;
12941 if (schema.$ref != null) {
12942 schema = defsParser.$refs.get(schema.$ref);
12943 } else {
12944 schemaWrapper.definitions = Object.assign({}, defs);
12945 $RefParser.dereference(schemaWrapper).catch(function(err) {
12946 console.log(err);
12947 });
12948 }
12949
12950 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
12951 var result = $('#d2e199_applyUpdatedConfig_body');
12952 result.empty();
12953 result.append(view.render());
12954});
12955</script>
tragait5e9676e2021-01-14 16:07:07 +000012956 <div id="d2e199_applyUpdatedConfig_body"></div>
12957 </td>
12958 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080012959
12960 </table>
12961
12962
12963
tragait5e9676e2021-01-14 16:07:07 +000012964 <h2>Responses</h2>
seshukmb3a332a2018-10-05 16:27:16 +080012965 <h3> Status: default - successful operation </h3>
12966
12967 <ul class="nav nav-tabs nav-tabs-examples" >
12968 </ul>
12969
12970 <div class="tab-content" style='margin-bottom: 10px;'>
12971 </div>
12972
12973 </article>
tragait5e9676e2021-01-14 16:07:07 +000012974 </div>
12975 <hr>
seshukmb3a332a2018-10-05 16:27:16 +080012976 <div id="api-OnapsoinfraserviceInstantiation-assignServiceInstance">
tragait5e9676e2021-01-14 16:07:07 +000012977 <article id="api-OnapsoinfraserviceInstantiation-assignServiceInstance-0" data-group="User" data-name="assignServiceInstance" data-version="0">
12978 <div class="pull-left">
12979 <h1>assignServiceInstance</h1>
12980 <p>Assign Service Instance</p>
12981 </div>
12982 <div class="pull-right"></div>
12983 <div class="clearfix"></div>
12984 <p></p>
12985 <p class="marked"></p>
12986 <p></p>
12987 <br />
12988 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/assign</span></code></pre>
12989 <p>
12990 <h3>Usage and SDK Samples</h3>
12991 </p>
12992 <ul class="nav nav-tabs nav-tabs-examples">
12993 <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-curl">Curl</a></li>
12994 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-java">Java</a></li>
12995 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-android">Android</a></li>
12996 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-groovy">Groovy</a></li>-->
12997 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-objc">Obj-C</a></li>
12998 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-javascript">JavaScript</a></li>
12999 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-angular">Angular</a></li>-->
13000 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-csharp">C#</a></li>
13001 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-php">PHP</a></li>
13002 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-perl">Perl</a></li>
13003 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-python">Python</a></li>
13004 </ul>
seshukmb3a332a2018-10-05 16:27:16 +080013005
tragait5e9676e2021-01-14 16:07:07 +000013006 <div class="tab-content">
13007 <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-curl">
13008 <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/assign"</code></pre>
13009 </div>
13010 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-java">
seshukmb3a332a2018-10-05 16:27:16 +080013011 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
13012import io.swagger.client.auth.*;
13013import io.swagger.client.model.*;
13014import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
13015
13016import java.io.File;
13017import java.util.*;
13018
13019public class OnapsoinfraserviceInstantiationApiExample {
13020
13021 public static void main(String[] args) {
tragait5e9676e2021-01-14 16:07:07 +000013022
seshukmb3a332a2018-10-05 16:27:16 +080013023 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000013024 String version = version_example; // String |
13025 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080013026 try {
13027 apiInstance.assignServiceInstance(version, body);
13028 } catch (ApiException e) {
13029 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#assignServiceInstance");
13030 e.printStackTrace();
13031 }
13032 }
13033}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000013034 </div>
seshukmb3a332a2018-10-05 16:27:16 +080013035
tragait5e9676e2021-01-14 16:07:07 +000013036 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-android">
seshukmb3a332a2018-10-05 16:27:16 +080013037 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
13038
13039public class OnapsoinfraserviceInstantiationApiExample {
13040
13041 public static void main(String[] args) {
13042 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000013043 String version = version_example; // String |
13044 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080013045 try {
13046 apiInstance.assignServiceInstance(version, body);
13047 } catch (ApiException e) {
13048 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#assignServiceInstance");
13049 e.printStackTrace();
13050 }
13051 }
13052}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000013053 </div>
13054 <!--
seshukmb3a332a2018-10-05 16:27:16 +080013055 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-groovy">
13056 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
13057 </div> -->
tragait5e9676e2021-01-14 16:07:07 +000013058 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-objc">
13059 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
seshukmb3a332a2018-10-05 16:27:16 +080013060String *body = body_example; // (optional)
13061
13062OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init];
13063
13064// Assign Service Instance
13065[apiInstance assignServiceInstanceWith:version
13066 body:body
13067 completionHandler: ^(NSError* error) {
13068 if (error) {
13069 NSLog(@"Error: %@", error);
13070 }
13071 }];
13072</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000013073 </div>
seshukmb3a332a2018-10-05 16:27:16 +080013074
tragait5e9676e2021-01-14 16:07:07 +000013075 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-javascript">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053013076 <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is');
seshukmb3a332a2018-10-05 16:27:16 +080013077
Priyadharshinic86ab4a2020-08-14 17:11:49 +053013078var api = new SoGuilinApIs.OnapsoinfraserviceInstantiationApi()
seshukmb3a332a2018-10-05 16:27:16 +080013079
tragait5e9676e2021-01-14 16:07:07 +000013080var version = version_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080013081
tragait5e9676e2021-01-14 16:07:07 +000013082var opts = {
13083 'body': body_example // {String}
seshukmb3a332a2018-10-05 16:27:16 +080013084};
13085
13086var callback = function(error, data, response) {
13087 if (error) {
13088 console.error(error);
13089 } else {
13090 console.log('API called successfully.');
13091 }
13092};
13093api.assignServiceInstance(version, opts, callback);
13094</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000013095 </div>
seshukmb3a332a2018-10-05 16:27:16 +080013096
tragait5e9676e2021-01-14 16:07:07 +000013097 <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-angular">
seshukmb3a332a2018-10-05 16:27:16 +080013098 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
13099 </div>-->
tragait5e9676e2021-01-14 16:07:07 +000013100 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-csharp">
seshukmb3a332a2018-10-05 16:27:16 +080013101 <pre class="prettyprint"><code class="language-cs">using System;
13102using System.Diagnostics;
13103using IO.Swagger.Api;
13104using IO.Swagger.Client;
13105using IO.Swagger.Model;
13106
13107namespace Example
13108{
13109 public class assignServiceInstanceExample
13110 {
13111 public void main()
13112 {
tragait5e9676e2021-01-14 16:07:07 +000013113
seshukmb3a332a2018-10-05 16:27:16 +080013114 var apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000013115 var version = version_example; // String |
13116 var body = body_example; // String | (optional)
seshukmb3a332a2018-10-05 16:27:16 +080013117
13118 try
13119 {
13120 // Assign Service Instance
13121 apiInstance.assignServiceInstance(version, body);
13122 }
13123 catch (Exception e)
13124 {
13125 Debug.Print("Exception when calling OnapsoinfraserviceInstantiationApi.assignServiceInstance: " + e.Message );
13126 }
13127 }
13128 }
13129}
13130</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000013131 </div>
seshukmb3a332a2018-10-05 16:27:16 +080013132
tragait5e9676e2021-01-14 16:07:07 +000013133 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-php">
seshukmb3a332a2018-10-05 16:27:16 +080013134 <pre class="prettyprint"><code class="language-php"><&#63;php
13135require_once(__DIR__ . '/vendor/autoload.php');
13136
13137$api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000013138$version = version_example; // String |
13139$body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080013140
13141try {
13142 $api_instance->assignServiceInstance($version, $body);
13143} catch (Exception $e) {
13144 echo 'Exception when calling OnapsoinfraserviceInstantiationApi->assignServiceInstance: ', $e->getMessage(), PHP_EOL;
13145}
13146?></code></pre>
tragait5e9676e2021-01-14 16:07:07 +000013147 </div>
seshukmb3a332a2018-10-05 16:27:16 +080013148
tragait5e9676e2021-01-14 16:07:07 +000013149 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-perl">
seshukmb3a332a2018-10-05 16:27:16 +080013150 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
13151use WWW::SwaggerClient::Configuration;
13152use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi;
13153
13154my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new();
tragait5e9676e2021-01-14 16:07:07 +000013155my $version = version_example; # String |
13156my $body = WWW::SwaggerClient::Object::String->new(); # String |
seshukmb3a332a2018-10-05 16:27:16 +080013157
tragait5e9676e2021-01-14 16:07:07 +000013158eval {
seshukmb3a332a2018-10-05 16:27:16 +080013159 $api_instance->assignServiceInstance(version => $version, body => $body);
13160};
13161if ($@) {
13162 warn "Exception when calling OnapsoinfraserviceInstantiationApi->assignServiceInstance: $@\n";
13163}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000013164 </div>
seshukmb3a332a2018-10-05 16:27:16 +080013165
tragait5e9676e2021-01-14 16:07:07 +000013166 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-python">
seshukmb3a332a2018-10-05 16:27:16 +080013167 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
13168import time
13169import swagger_client
13170from swagger_client.rest import ApiException
13171from pprint import pprint
13172
13173# create an instance of the API class
13174api_instance = swagger_client.OnapsoinfraserviceInstantiationApi()
tragait5e9676e2021-01-14 16:07:07 +000013175version = version_example # String |
seshukmb3a332a2018-10-05 16:27:16 +080013176body = body_example # String | (optional)
13177
tragait5e9676e2021-01-14 16:07:07 +000013178try:
seshukmb3a332a2018-10-05 16:27:16 +080013179 # Assign Service Instance
13180 api_instance.assign_service_instance(version, body=body)
13181except ApiException as e:
13182 print("Exception when calling OnapsoinfraserviceInstantiationApi->assignServiceInstance: %s\n" % e)</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000013183 </div>
seshukmb3a332a2018-10-05 16:27:16 +080013184 </div>
seshukmb3a332a2018-10-05 16:27:16 +080013185
tragait5e9676e2021-01-14 16:07:07 +000013186 <h2>Parameters</h2>
seshukmb3a332a2018-10-05 16:27:16 +080013187
13188 <div class="methodsubtabletitle">Path parameters</div>
13189 <table id="methodsubtable">
13190 <tr>
tragait5e9676e2021-01-14 16:07:07 +000013191 <th width="150px">Name</th>
13192 <th>Description</th>
seshukmb3a332a2018-10-05 16:27:16 +080013193 </tr>
tragait5e9676e2021-01-14 16:07:07 +000013194 <tr><td style="width:150px;">version*</td>
13195 <td>
seshukmb3a332a2018-10-05 16:27:16 +080013196
13197
tragait5e9676e2021-01-14 16:07:07 +000013198 <div id="d2e199_assignServiceInstance_version">
13199 <div class="json-schema-view">
13200 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080013201 <span class="type">
13202 String
13203 </span>
13204
tragait5e9676e2021-01-14 16:07:07 +000013205 </div>
13206 <div class="inner required">
13207 Required
13208 </div>
13209 </div>
13210 </div>
13211 </td>
13212 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080013213
13214 </table>
13215
13216
13217 <div class="methodsubtabletitle">Body parameters</div>
13218 <table id="methodsubtable">
tragait5e9676e2021-01-14 16:07:07 +000013219 <tr>
13220 <th width="150px">Name</th>
13221 <th>Description</th>
13222 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080013223 <tr><td style="width:150px;">body </td>
tragait5e9676e2021-01-14 16:07:07 +000013224 <td>
seshukmb3a332a2018-10-05 16:27:16 +080013225
13226
tragait5e9676e2021-01-14 16:07:07 +000013227 <script>
seshukmb3a332a2018-10-05 16:27:16 +080013228$(document).ready(function() {
13229 var schemaWrapper = {
13230 "in" : "body",
13231 "name" : "body",
13232 "required" : false,
13233 "schema" : {
13234 "type" : "string"
13235 }
13236};
13237 var schema = schemaWrapper.schema;
13238 if (schema.$ref != null) {
13239 schema = defsParser.$refs.get(schema.$ref);
13240 } else {
13241 schemaWrapper.definitions = Object.assign({}, defs);
13242 $RefParser.dereference(schemaWrapper).catch(function(err) {
13243 console.log(err);
13244 });
13245 }
13246
13247 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
13248 var result = $('#d2e199_assignServiceInstance_body');
13249 result.empty();
13250 result.append(view.render());
13251});
13252</script>
tragait5e9676e2021-01-14 16:07:07 +000013253 <div id="d2e199_assignServiceInstance_body"></div>
13254 </td>
13255 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080013256
13257 </table>
13258
13259
13260
tragait5e9676e2021-01-14 16:07:07 +000013261 <h2>Responses</h2>
seshukmb3a332a2018-10-05 16:27:16 +080013262 <h3> Status: default - successful operation </h3>
13263
13264 <ul class="nav nav-tabs nav-tabs-examples" >
13265 </ul>
13266
13267 <div class="tab-content" style='margin-bottom: 10px;'>
13268 </div>
13269
13270 </article>
tragait5e9676e2021-01-14 16:07:07 +000013271 </div>
13272 <hr>
seshukmb3a332a2018-10-05 16:27:16 +080013273 <div id="api-OnapsoinfraserviceInstantiation-createNetworkInstance">
tragait5e9676e2021-01-14 16:07:07 +000013274 <article id="api-OnapsoinfraserviceInstantiation-createNetworkInstance-0" data-group="User" data-name="createNetworkInstance" data-version="0">
13275 <div class="pull-left">
13276 <h1>createNetworkInstance</h1>
13277 <p>Create NetworkInstance on a specified version and serviceInstance </p>
13278 </div>
13279 <div class="pull-right"></div>
13280 <div class="clearfix"></div>
13281 <p></p>
13282 <p class="marked"></p>
13283 <p></p>
13284 <br />
13285 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/networks</span></code></pre>
13286 <p>
13287 <h3>Usage and SDK Samples</h3>
13288 </p>
13289 <ul class="nav nav-tabs nav-tabs-examples">
13290 <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-curl">Curl</a></li>
13291 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-java">Java</a></li>
13292 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-android">Android</a></li>
13293 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-groovy">Groovy</a></li>-->
13294 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-objc">Obj-C</a></li>
13295 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-javascript">JavaScript</a></li>
13296 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-angular">Angular</a></li>-->
13297 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-csharp">C#</a></li>
13298 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-php">PHP</a></li>
13299 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-perl">Perl</a></li>
13300 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-python">Python</a></li>
13301 </ul>
seshukmb3a332a2018-10-05 16:27:16 +080013302
tragait5e9676e2021-01-14 16:07:07 +000013303 <div class="tab-content">
13304 <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-curl">
13305 <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/networks"</code></pre>
13306 </div>
13307 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-java">
seshukmb3a332a2018-10-05 16:27:16 +080013308 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
13309import io.swagger.client.auth.*;
13310import io.swagger.client.model.*;
13311import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
13312
13313import java.io.File;
13314import java.util.*;
13315
13316public class OnapsoinfraserviceInstantiationApiExample {
13317
13318 public static void main(String[] args) {
tragait5e9676e2021-01-14 16:07:07 +000013319
seshukmb3a332a2018-10-05 16:27:16 +080013320 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000013321 String version = version_example; // String |
13322 String serviceInstanceId = serviceInstanceId_example; // String |
13323 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080013324 try {
13325 apiInstance.createNetworkInstance(version, serviceInstanceId, body);
13326 } catch (ApiException e) {
13327 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#createNetworkInstance");
13328 e.printStackTrace();
13329 }
13330 }
13331}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000013332 </div>
seshukmb3a332a2018-10-05 16:27:16 +080013333
tragait5e9676e2021-01-14 16:07:07 +000013334 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-android">
seshukmb3a332a2018-10-05 16:27:16 +080013335 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
13336
13337public class OnapsoinfraserviceInstantiationApiExample {
13338
13339 public static void main(String[] args) {
13340 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000013341 String version = version_example; // String |
13342 String serviceInstanceId = serviceInstanceId_example; // String |
13343 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080013344 try {
13345 apiInstance.createNetworkInstance(version, serviceInstanceId, body);
13346 } catch (ApiException e) {
13347 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#createNetworkInstance");
13348 e.printStackTrace();
13349 }
13350 }
13351}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000013352 </div>
13353 <!--
seshukmb3a332a2018-10-05 16:27:16 +080013354 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-groovy">
13355 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
13356 </div> -->
tragait5e9676e2021-01-14 16:07:07 +000013357 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-objc">
13358 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
13359String *serviceInstanceId = serviceInstanceId_example; //
seshukmb3a332a2018-10-05 16:27:16 +080013360String *body = body_example; // (optional)
13361
13362OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init];
13363
tragait5e9676e2021-01-14 16:07:07 +000013364// Create NetworkInstance on a specified version and serviceInstance
seshukmb3a332a2018-10-05 16:27:16 +080013365[apiInstance createNetworkInstanceWith:version
13366 serviceInstanceId:serviceInstanceId
13367 body:body
13368 completionHandler: ^(NSError* error) {
13369 if (error) {
13370 NSLog(@"Error: %@", error);
13371 }
13372 }];
13373</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000013374 </div>
seshukmb3a332a2018-10-05 16:27:16 +080013375
tragait5e9676e2021-01-14 16:07:07 +000013376 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-javascript">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053013377 <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is');
seshukmb3a332a2018-10-05 16:27:16 +080013378
Priyadharshinic86ab4a2020-08-14 17:11:49 +053013379var api = new SoGuilinApIs.OnapsoinfraserviceInstantiationApi()
seshukmb3a332a2018-10-05 16:27:16 +080013380
tragait5e9676e2021-01-14 16:07:07 +000013381var version = version_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080013382
tragait5e9676e2021-01-14 16:07:07 +000013383var serviceInstanceId = serviceInstanceId_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080013384
tragait5e9676e2021-01-14 16:07:07 +000013385var opts = {
13386 'body': body_example // {String}
seshukmb3a332a2018-10-05 16:27:16 +080013387};
13388
13389var callback = function(error, data, response) {
13390 if (error) {
13391 console.error(error);
13392 } else {
13393 console.log('API called successfully.');
13394 }
13395};
13396api.createNetworkInstance(version, serviceInstanceId, opts, callback);
13397</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000013398 </div>
seshukmb3a332a2018-10-05 16:27:16 +080013399
tragait5e9676e2021-01-14 16:07:07 +000013400 <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-angular">
seshukmb3a332a2018-10-05 16:27:16 +080013401 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
13402 </div>-->
tragait5e9676e2021-01-14 16:07:07 +000013403 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-csharp">
seshukmb3a332a2018-10-05 16:27:16 +080013404 <pre class="prettyprint"><code class="language-cs">using System;
13405using System.Diagnostics;
13406using IO.Swagger.Api;
13407using IO.Swagger.Client;
13408using IO.Swagger.Model;
13409
13410namespace Example
13411{
13412 public class createNetworkInstanceExample
13413 {
13414 public void main()
13415 {
tragait5e9676e2021-01-14 16:07:07 +000013416
seshukmb3a332a2018-10-05 16:27:16 +080013417 var apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000013418 var version = version_example; // String |
13419 var serviceInstanceId = serviceInstanceId_example; // String |
13420 var body = body_example; // String | (optional)
seshukmb3a332a2018-10-05 16:27:16 +080013421
13422 try
13423 {
tragait5e9676e2021-01-14 16:07:07 +000013424 // Create NetworkInstance on a specified version and serviceInstance
seshukmb3a332a2018-10-05 16:27:16 +080013425 apiInstance.createNetworkInstance(version, serviceInstanceId, body);
13426 }
13427 catch (Exception e)
13428 {
13429 Debug.Print("Exception when calling OnapsoinfraserviceInstantiationApi.createNetworkInstance: " + e.Message );
13430 }
13431 }
13432 }
13433}
13434</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000013435 </div>
seshukmb3a332a2018-10-05 16:27:16 +080013436
tragait5e9676e2021-01-14 16:07:07 +000013437 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-php">
seshukmb3a332a2018-10-05 16:27:16 +080013438 <pre class="prettyprint"><code class="language-php"><&#63;php
13439require_once(__DIR__ . '/vendor/autoload.php');
13440
13441$api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000013442$version = version_example; // String |
13443$serviceInstanceId = serviceInstanceId_example; // String |
13444$body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080013445
13446try {
13447 $api_instance->createNetworkInstance($version, $serviceInstanceId, $body);
13448} catch (Exception $e) {
13449 echo 'Exception when calling OnapsoinfraserviceInstantiationApi->createNetworkInstance: ', $e->getMessage(), PHP_EOL;
13450}
13451?></code></pre>
tragait5e9676e2021-01-14 16:07:07 +000013452 </div>
seshukmb3a332a2018-10-05 16:27:16 +080013453
tragait5e9676e2021-01-14 16:07:07 +000013454 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-perl">
seshukmb3a332a2018-10-05 16:27:16 +080013455 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
13456use WWW::SwaggerClient::Configuration;
13457use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi;
13458
13459my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new();
tragait5e9676e2021-01-14 16:07:07 +000013460my $version = version_example; # String |
13461my $serviceInstanceId = serviceInstanceId_example; # String |
13462my $body = WWW::SwaggerClient::Object::String->new(); # String |
seshukmb3a332a2018-10-05 16:27:16 +080013463
tragait5e9676e2021-01-14 16:07:07 +000013464eval {
seshukmb3a332a2018-10-05 16:27:16 +080013465 $api_instance->createNetworkInstance(version => $version, serviceInstanceId => $serviceInstanceId, body => $body);
13466};
13467if ($@) {
13468 warn "Exception when calling OnapsoinfraserviceInstantiationApi->createNetworkInstance: $@\n";
13469}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000013470 </div>
seshukmb3a332a2018-10-05 16:27:16 +080013471
tragait5e9676e2021-01-14 16:07:07 +000013472 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-python">
seshukmb3a332a2018-10-05 16:27:16 +080013473 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
13474import time
13475import swagger_client
13476from swagger_client.rest import ApiException
13477from pprint import pprint
13478
13479# create an instance of the API class
13480api_instance = swagger_client.OnapsoinfraserviceInstantiationApi()
tragait5e9676e2021-01-14 16:07:07 +000013481version = version_example # String |
13482serviceInstanceId = serviceInstanceId_example # String |
seshukmb3a332a2018-10-05 16:27:16 +080013483body = body_example # String | (optional)
13484
tragait5e9676e2021-01-14 16:07:07 +000013485try:
13486 # Create NetworkInstance on a specified version and serviceInstance
seshukmb3a332a2018-10-05 16:27:16 +080013487 api_instance.create_network_instance(version, serviceInstanceId, body=body)
13488except ApiException as e:
13489 print("Exception when calling OnapsoinfraserviceInstantiationApi->createNetworkInstance: %s\n" % e)</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000013490 </div>
seshukmb3a332a2018-10-05 16:27:16 +080013491 </div>
seshukmb3a332a2018-10-05 16:27:16 +080013492
tragait5e9676e2021-01-14 16:07:07 +000013493 <h2>Parameters</h2>
seshukmb3a332a2018-10-05 16:27:16 +080013494
13495 <div class="methodsubtabletitle">Path parameters</div>
13496 <table id="methodsubtable">
13497 <tr>
tragait5e9676e2021-01-14 16:07:07 +000013498 <th width="150px">Name</th>
13499 <th>Description</th>
seshukmb3a332a2018-10-05 16:27:16 +080013500 </tr>
tragait5e9676e2021-01-14 16:07:07 +000013501 <tr><td style="width:150px;">version*</td>
13502 <td>
seshukmb3a332a2018-10-05 16:27:16 +080013503
13504
tragait5e9676e2021-01-14 16:07:07 +000013505 <div id="d2e199_createNetworkInstance_version">
13506 <div class="json-schema-view">
13507 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080013508 <span class="type">
13509 String
13510 </span>
13511
tragait5e9676e2021-01-14 16:07:07 +000013512 </div>
13513 <div class="inner required">
13514 Required
13515 </div>
13516 </div>
13517 </div>
13518 </td>
13519 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080013520
tragait5e9676e2021-01-14 16:07:07 +000013521 <tr><td style="width:150px;">serviceInstanceId*</td>
13522 <td>
seshukmb3a332a2018-10-05 16:27:16 +080013523
13524
tragait5e9676e2021-01-14 16:07:07 +000013525 <div id="d2e199_createNetworkInstance_serviceInstanceId">
13526 <div class="json-schema-view">
13527 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080013528 <span class="type">
13529 String
13530 </span>
13531
tragait5e9676e2021-01-14 16:07:07 +000013532 </div>
13533 <div class="inner required">
13534 Required
13535 </div>
13536 </div>
13537 </div>
13538 </td>
13539 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080013540
13541 </table>
13542
13543
13544 <div class="methodsubtabletitle">Body parameters</div>
13545 <table id="methodsubtable">
tragait5e9676e2021-01-14 16:07:07 +000013546 <tr>
13547 <th width="150px">Name</th>
13548 <th>Description</th>
13549 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080013550 <tr><td style="width:150px;">body </td>
tragait5e9676e2021-01-14 16:07:07 +000013551 <td>
seshukmb3a332a2018-10-05 16:27:16 +080013552
13553
tragait5e9676e2021-01-14 16:07:07 +000013554 <script>
seshukmb3a332a2018-10-05 16:27:16 +080013555$(document).ready(function() {
13556 var schemaWrapper = {
13557 "in" : "body",
13558 "name" : "body",
13559 "required" : false,
13560 "schema" : {
13561 "type" : "string"
13562 }
13563};
13564 var schema = schemaWrapper.schema;
13565 if (schema.$ref != null) {
13566 schema = defsParser.$refs.get(schema.$ref);
13567 } else {
13568 schemaWrapper.definitions = Object.assign({}, defs);
13569 $RefParser.dereference(schemaWrapper).catch(function(err) {
13570 console.log(err);
13571 });
13572 }
13573
13574 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
13575 var result = $('#d2e199_createNetworkInstance_body');
13576 result.empty();
13577 result.append(view.render());
13578});
13579</script>
tragait5e9676e2021-01-14 16:07:07 +000013580 <div id="d2e199_createNetworkInstance_body"></div>
13581 </td>
13582 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080013583
13584 </table>
13585
13586
13587
tragait5e9676e2021-01-14 16:07:07 +000013588 <h2>Responses</h2>
seshukmb3a332a2018-10-05 16:27:16 +080013589 <h3> Status: default - successful operation </h3>
13590
13591 <ul class="nav nav-tabs nav-tabs-examples" >
13592 </ul>
13593
13594 <div class="tab-content" style='margin-bottom: 10px;'>
13595 </div>
13596
13597 </article>
tragait5e9676e2021-01-14 16:07:07 +000013598 </div>
13599 <hr>
seshukmb3a332a2018-10-05 16:27:16 +080013600 <div id="api-OnapsoinfraserviceInstantiation-createPortConfiguration">
tragait5e9676e2021-01-14 16:07:07 +000013601 <article id="api-OnapsoinfraserviceInstantiation-createPortConfiguration-0" data-group="User" data-name="createPortConfiguration" data-version="0">
13602 <div class="pull-left">
13603 <h1>createPortConfiguration</h1>
13604 <p>Create Port Mirroring Configuration</p>
13605 </div>
13606 <div class="pull-right"></div>
13607 <div class="clearfix"></div>
13608 <p></p>
13609 <p class="marked"></p>
13610 <p></p>
13611 <br />
13612 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/configurations</span></code></pre>
13613 <p>
13614 <h3>Usage and SDK Samples</h3>
13615 </p>
13616 <ul class="nav nav-tabs nav-tabs-examples">
13617 <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-curl">Curl</a></li>
13618 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-java">Java</a></li>
13619 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-android">Android</a></li>
13620 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-groovy">Groovy</a></li>-->
13621 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-objc">Obj-C</a></li>
13622 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-javascript">JavaScript</a></li>
13623 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-angular">Angular</a></li>-->
13624 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-csharp">C#</a></li>
13625 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-php">PHP</a></li>
13626 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-perl">Perl</a></li>
13627 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-python">Python</a></li>
13628 </ul>
seshukmb3a332a2018-10-05 16:27:16 +080013629
tragait5e9676e2021-01-14 16:07:07 +000013630 <div class="tab-content">
13631 <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-curl">
13632 <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/configurations"</code></pre>
13633 </div>
13634 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-java">
seshukmb3a332a2018-10-05 16:27:16 +080013635 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
13636import io.swagger.client.auth.*;
13637import io.swagger.client.model.*;
13638import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
13639
13640import java.io.File;
13641import java.util.*;
13642
13643public class OnapsoinfraserviceInstantiationApiExample {
13644
13645 public static void main(String[] args) {
tragait5e9676e2021-01-14 16:07:07 +000013646
seshukmb3a332a2018-10-05 16:27:16 +080013647 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000013648 String version = version_example; // String |
13649 String serviceInstanceId = serviceInstanceId_example; // String |
13650 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080013651 try {
13652 apiInstance.createPortConfiguration(version, serviceInstanceId, body);
13653 } catch (ApiException e) {
13654 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#createPortConfiguration");
13655 e.printStackTrace();
13656 }
13657 }
13658}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000013659 </div>
seshukmb3a332a2018-10-05 16:27:16 +080013660
tragait5e9676e2021-01-14 16:07:07 +000013661 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-android">
seshukmb3a332a2018-10-05 16:27:16 +080013662 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
13663
13664public class OnapsoinfraserviceInstantiationApiExample {
13665
13666 public static void main(String[] args) {
13667 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000013668 String version = version_example; // String |
13669 String serviceInstanceId = serviceInstanceId_example; // String |
13670 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080013671 try {
13672 apiInstance.createPortConfiguration(version, serviceInstanceId, body);
13673 } catch (ApiException e) {
13674 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#createPortConfiguration");
13675 e.printStackTrace();
13676 }
13677 }
13678}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000013679 </div>
13680 <!--
seshukmb3a332a2018-10-05 16:27:16 +080013681 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-groovy">
13682 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
13683 </div> -->
tragait5e9676e2021-01-14 16:07:07 +000013684 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-objc">
13685 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
13686String *serviceInstanceId = serviceInstanceId_example; //
seshukmb3a332a2018-10-05 16:27:16 +080013687String *body = body_example; // (optional)
13688
13689OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init];
13690
13691// Create Port Mirroring Configuration
13692[apiInstance createPortConfigurationWith:version
13693 serviceInstanceId:serviceInstanceId
13694 body:body
13695 completionHandler: ^(NSError* error) {
13696 if (error) {
13697 NSLog(@"Error: %@", error);
13698 }
13699 }];
13700</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000013701 </div>
seshukmb3a332a2018-10-05 16:27:16 +080013702
tragait5e9676e2021-01-14 16:07:07 +000013703 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-javascript">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053013704 <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is');
seshukmb3a332a2018-10-05 16:27:16 +080013705
Priyadharshinic86ab4a2020-08-14 17:11:49 +053013706var api = new SoGuilinApIs.OnapsoinfraserviceInstantiationApi()
seshukmb3a332a2018-10-05 16:27:16 +080013707
tragait5e9676e2021-01-14 16:07:07 +000013708var version = version_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080013709
tragait5e9676e2021-01-14 16:07:07 +000013710var serviceInstanceId = serviceInstanceId_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080013711
tragait5e9676e2021-01-14 16:07:07 +000013712var opts = {
13713 'body': body_example // {String}
seshukmb3a332a2018-10-05 16:27:16 +080013714};
13715
13716var callback = function(error, data, response) {
13717 if (error) {
13718 console.error(error);
13719 } else {
13720 console.log('API called successfully.');
13721 }
13722};
13723api.createPortConfiguration(version, serviceInstanceId, opts, callback);
13724</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000013725 </div>
seshukmb3a332a2018-10-05 16:27:16 +080013726
tragait5e9676e2021-01-14 16:07:07 +000013727 <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-angular">
seshukmb3a332a2018-10-05 16:27:16 +080013728 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
13729 </div>-->
tragait5e9676e2021-01-14 16:07:07 +000013730 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-csharp">
seshukmb3a332a2018-10-05 16:27:16 +080013731 <pre class="prettyprint"><code class="language-cs">using System;
13732using System.Diagnostics;
13733using IO.Swagger.Api;
13734using IO.Swagger.Client;
13735using IO.Swagger.Model;
13736
13737namespace Example
13738{
13739 public class createPortConfigurationExample
13740 {
13741 public void main()
13742 {
tragait5e9676e2021-01-14 16:07:07 +000013743
seshukmb3a332a2018-10-05 16:27:16 +080013744 var apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000013745 var version = version_example; // String |
13746 var serviceInstanceId = serviceInstanceId_example; // String |
13747 var body = body_example; // String | (optional)
seshukmb3a332a2018-10-05 16:27:16 +080013748
13749 try
13750 {
13751 // Create Port Mirroring Configuration
13752 apiInstance.createPortConfiguration(version, serviceInstanceId, body);
13753 }
13754 catch (Exception e)
13755 {
13756 Debug.Print("Exception when calling OnapsoinfraserviceInstantiationApi.createPortConfiguration: " + e.Message );
13757 }
13758 }
13759 }
13760}
13761</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000013762 </div>
seshukmb3a332a2018-10-05 16:27:16 +080013763
tragait5e9676e2021-01-14 16:07:07 +000013764 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-php">
seshukmb3a332a2018-10-05 16:27:16 +080013765 <pre class="prettyprint"><code class="language-php"><&#63;php
13766require_once(__DIR__ . '/vendor/autoload.php');
13767
13768$api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000013769$version = version_example; // String |
13770$serviceInstanceId = serviceInstanceId_example; // String |
13771$body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080013772
13773try {
13774 $api_instance->createPortConfiguration($version, $serviceInstanceId, $body);
13775} catch (Exception $e) {
13776 echo 'Exception when calling OnapsoinfraserviceInstantiationApi->createPortConfiguration: ', $e->getMessage(), PHP_EOL;
13777}
13778?></code></pre>
tragait5e9676e2021-01-14 16:07:07 +000013779 </div>
seshukmb3a332a2018-10-05 16:27:16 +080013780
tragait5e9676e2021-01-14 16:07:07 +000013781 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-perl">
seshukmb3a332a2018-10-05 16:27:16 +080013782 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
13783use WWW::SwaggerClient::Configuration;
13784use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi;
13785
13786my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new();
tragait5e9676e2021-01-14 16:07:07 +000013787my $version = version_example; # String |
13788my $serviceInstanceId = serviceInstanceId_example; # String |
13789my $body = WWW::SwaggerClient::Object::String->new(); # String |
seshukmb3a332a2018-10-05 16:27:16 +080013790
tragait5e9676e2021-01-14 16:07:07 +000013791eval {
seshukmb3a332a2018-10-05 16:27:16 +080013792 $api_instance->createPortConfiguration(version => $version, serviceInstanceId => $serviceInstanceId, body => $body);
13793};
13794if ($@) {
13795 warn "Exception when calling OnapsoinfraserviceInstantiationApi->createPortConfiguration: $@\n";
13796}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000013797 </div>
seshukmb3a332a2018-10-05 16:27:16 +080013798
tragait5e9676e2021-01-14 16:07:07 +000013799 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-python">
seshukmb3a332a2018-10-05 16:27:16 +080013800 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
13801import time
13802import swagger_client
13803from swagger_client.rest import ApiException
13804from pprint import pprint
13805
13806# create an instance of the API class
13807api_instance = swagger_client.OnapsoinfraserviceInstantiationApi()
tragait5e9676e2021-01-14 16:07:07 +000013808version = version_example # String |
13809serviceInstanceId = serviceInstanceId_example # String |
seshukmb3a332a2018-10-05 16:27:16 +080013810body = body_example # String | (optional)
13811
tragait5e9676e2021-01-14 16:07:07 +000013812try:
seshukmb3a332a2018-10-05 16:27:16 +080013813 # Create Port Mirroring Configuration
13814 api_instance.create_port_configuration(version, serviceInstanceId, body=body)
13815except ApiException as e:
13816 print("Exception when calling OnapsoinfraserviceInstantiationApi->createPortConfiguration: %s\n" % e)</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000013817 </div>
seshukmb3a332a2018-10-05 16:27:16 +080013818 </div>
seshukmb3a332a2018-10-05 16:27:16 +080013819
tragait5e9676e2021-01-14 16:07:07 +000013820 <h2>Parameters</h2>
seshukmb3a332a2018-10-05 16:27:16 +080013821
13822 <div class="methodsubtabletitle">Path parameters</div>
13823 <table id="methodsubtable">
13824 <tr>
tragait5e9676e2021-01-14 16:07:07 +000013825 <th width="150px">Name</th>
13826 <th>Description</th>
seshukmb3a332a2018-10-05 16:27:16 +080013827 </tr>
tragait5e9676e2021-01-14 16:07:07 +000013828 <tr><td style="width:150px;">version*</td>
13829 <td>
seshukmb3a332a2018-10-05 16:27:16 +080013830
13831
tragait5e9676e2021-01-14 16:07:07 +000013832 <div id="d2e199_createPortConfiguration_version">
13833 <div class="json-schema-view">
13834 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080013835 <span class="type">
13836 String
13837 </span>
13838
tragait5e9676e2021-01-14 16:07:07 +000013839 </div>
13840 <div class="inner required">
13841 Required
13842 </div>
13843 </div>
13844 </div>
13845 </td>
13846 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080013847
tragait5e9676e2021-01-14 16:07:07 +000013848 <tr><td style="width:150px;">serviceInstanceId*</td>
13849 <td>
seshukmb3a332a2018-10-05 16:27:16 +080013850
13851
tragait5e9676e2021-01-14 16:07:07 +000013852 <div id="d2e199_createPortConfiguration_serviceInstanceId">
13853 <div class="json-schema-view">
13854 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080013855 <span class="type">
13856 String
13857 </span>
13858
tragait5e9676e2021-01-14 16:07:07 +000013859 </div>
13860 <div class="inner required">
13861 Required
13862 </div>
13863 </div>
13864 </div>
13865 </td>
13866 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080013867
13868 </table>
13869
13870
13871 <div class="methodsubtabletitle">Body parameters</div>
13872 <table id="methodsubtable">
tragait5e9676e2021-01-14 16:07:07 +000013873 <tr>
13874 <th width="150px">Name</th>
13875 <th>Description</th>
13876 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080013877 <tr><td style="width:150px;">body </td>
tragait5e9676e2021-01-14 16:07:07 +000013878 <td>
seshukmb3a332a2018-10-05 16:27:16 +080013879
13880
tragait5e9676e2021-01-14 16:07:07 +000013881 <script>
seshukmb3a332a2018-10-05 16:27:16 +080013882$(document).ready(function() {
13883 var schemaWrapper = {
13884 "in" : "body",
13885 "name" : "body",
13886 "required" : false,
13887 "schema" : {
13888 "type" : "string"
13889 }
13890};
13891 var schema = schemaWrapper.schema;
13892 if (schema.$ref != null) {
13893 schema = defsParser.$refs.get(schema.$ref);
13894 } else {
13895 schemaWrapper.definitions = Object.assign({}, defs);
13896 $RefParser.dereference(schemaWrapper).catch(function(err) {
13897 console.log(err);
13898 });
13899 }
13900
13901 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
13902 var result = $('#d2e199_createPortConfiguration_body');
13903 result.empty();
13904 result.append(view.render());
13905});
13906</script>
tragait5e9676e2021-01-14 16:07:07 +000013907 <div id="d2e199_createPortConfiguration_body"></div>
13908 </td>
13909 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080013910
13911 </table>
13912
13913
13914
tragait5e9676e2021-01-14 16:07:07 +000013915 <h2>Responses</h2>
seshukmb3a332a2018-10-05 16:27:16 +080013916 <h3> Status: default - successful operation </h3>
13917
13918 <ul class="nav nav-tabs nav-tabs-examples" >
13919 </ul>
13920
13921 <div class="tab-content" style='margin-bottom: 10px;'>
13922 </div>
13923
13924 </article>
tragait5e9676e2021-01-14 16:07:07 +000013925 </div>
13926 <hr>
seshukmb3a332a2018-10-05 16:27:16 +080013927 <div id="api-OnapsoinfraserviceInstantiation-createServiceInstance">
tragait5e9676e2021-01-14 16:07:07 +000013928 <article id="api-OnapsoinfraserviceInstantiation-createServiceInstance-0" data-group="User" data-name="createServiceInstance" data-version="0">
13929 <div class="pull-left">
13930 <h1>createServiceInstance</h1>
13931 <p>Create a Service Instance on a version provided</p>
13932 </div>
13933 <div class="pull-right"></div>
13934 <div class="clearfix"></div>
13935 <p></p>
13936 <p class="marked"></p>
13937 <p></p>
13938 <br />
13939 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances</span></code></pre>
13940 <p>
13941 <h3>Usage and SDK Samples</h3>
13942 </p>
13943 <ul class="nav nav-tabs nav-tabs-examples">
13944 <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-curl">Curl</a></li>
13945 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-java">Java</a></li>
13946 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-android">Android</a></li>
13947 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-groovy">Groovy</a></li>-->
13948 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-objc">Obj-C</a></li>
13949 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-javascript">JavaScript</a></li>
13950 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-angular">Angular</a></li>-->
13951 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-csharp">C#</a></li>
13952 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-php">PHP</a></li>
13953 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-perl">Perl</a></li>
13954 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-python">Python</a></li>
13955 </ul>
seshukmb3a332a2018-10-05 16:27:16 +080013956
tragait5e9676e2021-01-14 16:07:07 +000013957 <div class="tab-content">
13958 <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-curl">
13959 <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances"</code></pre>
13960 </div>
13961 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-java">
seshukmb3a332a2018-10-05 16:27:16 +080013962 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
13963import io.swagger.client.auth.*;
13964import io.swagger.client.model.*;
13965import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
13966
13967import java.io.File;
13968import java.util.*;
13969
13970public class OnapsoinfraserviceInstantiationApiExample {
13971
13972 public static void main(String[] args) {
tragait5e9676e2021-01-14 16:07:07 +000013973
seshukmb3a332a2018-10-05 16:27:16 +080013974 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000013975 String version = version_example; // String |
13976 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080013977 try {
13978 apiInstance.createServiceInstance(version, body);
13979 } catch (ApiException e) {
13980 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#createServiceInstance");
13981 e.printStackTrace();
13982 }
13983 }
13984}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000013985 </div>
seshukmb3a332a2018-10-05 16:27:16 +080013986
tragait5e9676e2021-01-14 16:07:07 +000013987 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-android">
seshukmb3a332a2018-10-05 16:27:16 +080013988 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
13989
13990public class OnapsoinfraserviceInstantiationApiExample {
13991
13992 public static void main(String[] args) {
13993 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000013994 String version = version_example; // String |
13995 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080013996 try {
13997 apiInstance.createServiceInstance(version, body);
13998 } catch (ApiException e) {
13999 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#createServiceInstance");
14000 e.printStackTrace();
14001 }
14002 }
14003}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000014004 </div>
14005 <!--
seshukmb3a332a2018-10-05 16:27:16 +080014006 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-groovy">
14007 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
14008 </div> -->
tragait5e9676e2021-01-14 16:07:07 +000014009 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-objc">
14010 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
seshukmb3a332a2018-10-05 16:27:16 +080014011String *body = body_example; // (optional)
14012
14013OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init];
14014
14015// Create a Service Instance on a version provided
14016[apiInstance createServiceInstanceWith:version
14017 body:body
14018 completionHandler: ^(NSError* error) {
14019 if (error) {
14020 NSLog(@"Error: %@", error);
14021 }
14022 }];
14023</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000014024 </div>
seshukmb3a332a2018-10-05 16:27:16 +080014025
tragait5e9676e2021-01-14 16:07:07 +000014026 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-javascript">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053014027 <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is');
seshukmb3a332a2018-10-05 16:27:16 +080014028
Priyadharshinic86ab4a2020-08-14 17:11:49 +053014029var api = new SoGuilinApIs.OnapsoinfraserviceInstantiationApi()
seshukmb3a332a2018-10-05 16:27:16 +080014030
tragait5e9676e2021-01-14 16:07:07 +000014031var version = version_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080014032
tragait5e9676e2021-01-14 16:07:07 +000014033var opts = {
14034 'body': body_example // {String}
seshukmb3a332a2018-10-05 16:27:16 +080014035};
14036
14037var callback = function(error, data, response) {
14038 if (error) {
14039 console.error(error);
14040 } else {
14041 console.log('API called successfully.');
14042 }
14043};
14044api.createServiceInstance(version, opts, callback);
14045</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000014046 </div>
seshukmb3a332a2018-10-05 16:27:16 +080014047
tragait5e9676e2021-01-14 16:07:07 +000014048 <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-angular">
seshukmb3a332a2018-10-05 16:27:16 +080014049 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
14050 </div>-->
tragait5e9676e2021-01-14 16:07:07 +000014051 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-csharp">
seshukmb3a332a2018-10-05 16:27:16 +080014052 <pre class="prettyprint"><code class="language-cs">using System;
14053using System.Diagnostics;
14054using IO.Swagger.Api;
14055using IO.Swagger.Client;
14056using IO.Swagger.Model;
14057
14058namespace Example
14059{
14060 public class createServiceInstanceExample
14061 {
14062 public void main()
14063 {
tragait5e9676e2021-01-14 16:07:07 +000014064
seshukmb3a332a2018-10-05 16:27:16 +080014065 var apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000014066 var version = version_example; // String |
14067 var body = body_example; // String | (optional)
seshukmb3a332a2018-10-05 16:27:16 +080014068
14069 try
14070 {
14071 // Create a Service Instance on a version provided
14072 apiInstance.createServiceInstance(version, body);
14073 }
14074 catch (Exception e)
14075 {
14076 Debug.Print("Exception when calling OnapsoinfraserviceInstantiationApi.createServiceInstance: " + e.Message );
14077 }
14078 }
14079 }
14080}
14081</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000014082 </div>
seshukmb3a332a2018-10-05 16:27:16 +080014083
tragait5e9676e2021-01-14 16:07:07 +000014084 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-php">
seshukmb3a332a2018-10-05 16:27:16 +080014085 <pre class="prettyprint"><code class="language-php"><&#63;php
14086require_once(__DIR__ . '/vendor/autoload.php');
14087
14088$api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000014089$version = version_example; // String |
14090$body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080014091
14092try {
14093 $api_instance->createServiceInstance($version, $body);
14094} catch (Exception $e) {
14095 echo 'Exception when calling OnapsoinfraserviceInstantiationApi->createServiceInstance: ', $e->getMessage(), PHP_EOL;
14096}
14097?></code></pre>
tragait5e9676e2021-01-14 16:07:07 +000014098 </div>
seshukmb3a332a2018-10-05 16:27:16 +080014099
tragait5e9676e2021-01-14 16:07:07 +000014100 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-perl">
seshukmb3a332a2018-10-05 16:27:16 +080014101 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
14102use WWW::SwaggerClient::Configuration;
14103use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi;
14104
14105my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new();
tragait5e9676e2021-01-14 16:07:07 +000014106my $version = version_example; # String |
14107my $body = WWW::SwaggerClient::Object::String->new(); # String |
seshukmb3a332a2018-10-05 16:27:16 +080014108
tragait5e9676e2021-01-14 16:07:07 +000014109eval {
seshukmb3a332a2018-10-05 16:27:16 +080014110 $api_instance->createServiceInstance(version => $version, body => $body);
14111};
14112if ($@) {
14113 warn "Exception when calling OnapsoinfraserviceInstantiationApi->createServiceInstance: $@\n";
14114}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000014115 </div>
seshukmb3a332a2018-10-05 16:27:16 +080014116
tragait5e9676e2021-01-14 16:07:07 +000014117 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-python">
seshukmb3a332a2018-10-05 16:27:16 +080014118 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
14119import time
14120import swagger_client
14121from swagger_client.rest import ApiException
14122from pprint import pprint
14123
14124# create an instance of the API class
14125api_instance = swagger_client.OnapsoinfraserviceInstantiationApi()
tragait5e9676e2021-01-14 16:07:07 +000014126version = version_example # String |
seshukmb3a332a2018-10-05 16:27:16 +080014127body = body_example # String | (optional)
14128
tragait5e9676e2021-01-14 16:07:07 +000014129try:
seshukmb3a332a2018-10-05 16:27:16 +080014130 # Create a Service Instance on a version provided
14131 api_instance.create_service_instance(version, body=body)
14132except ApiException as e:
14133 print("Exception when calling OnapsoinfraserviceInstantiationApi->createServiceInstance: %s\n" % e)</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000014134 </div>
seshukmb3a332a2018-10-05 16:27:16 +080014135 </div>
seshukmb3a332a2018-10-05 16:27:16 +080014136
tragait5e9676e2021-01-14 16:07:07 +000014137 <h2>Parameters</h2>
seshukmb3a332a2018-10-05 16:27:16 +080014138
14139 <div class="methodsubtabletitle">Path parameters</div>
14140 <table id="methodsubtable">
14141 <tr>
tragait5e9676e2021-01-14 16:07:07 +000014142 <th width="150px">Name</th>
14143 <th>Description</th>
seshukmb3a332a2018-10-05 16:27:16 +080014144 </tr>
tragait5e9676e2021-01-14 16:07:07 +000014145 <tr><td style="width:150px;">version*</td>
14146 <td>
seshukmb3a332a2018-10-05 16:27:16 +080014147
14148
tragait5e9676e2021-01-14 16:07:07 +000014149 <div id="d2e199_createServiceInstance_version">
14150 <div class="json-schema-view">
14151 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080014152 <span class="type">
14153 String
14154 </span>
14155
tragait5e9676e2021-01-14 16:07:07 +000014156 </div>
14157 <div class="inner required">
14158 Required
14159 </div>
14160 </div>
14161 </div>
14162 </td>
14163 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080014164
14165 </table>
14166
14167
14168 <div class="methodsubtabletitle">Body parameters</div>
14169 <table id="methodsubtable">
tragait5e9676e2021-01-14 16:07:07 +000014170 <tr>
14171 <th width="150px">Name</th>
14172 <th>Description</th>
14173 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080014174 <tr><td style="width:150px;">body </td>
tragait5e9676e2021-01-14 16:07:07 +000014175 <td>
seshukmb3a332a2018-10-05 16:27:16 +080014176
14177
tragait5e9676e2021-01-14 16:07:07 +000014178 <script>
seshukmb3a332a2018-10-05 16:27:16 +080014179$(document).ready(function() {
14180 var schemaWrapper = {
14181 "in" : "body",
14182 "name" : "body",
14183 "required" : false,
14184 "schema" : {
14185 "type" : "string"
14186 }
14187};
14188 var schema = schemaWrapper.schema;
14189 if (schema.$ref != null) {
14190 schema = defsParser.$refs.get(schema.$ref);
14191 } else {
14192 schemaWrapper.definitions = Object.assign({}, defs);
14193 $RefParser.dereference(schemaWrapper).catch(function(err) {
14194 console.log(err);
14195 });
14196 }
14197
14198 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
14199 var result = $('#d2e199_createServiceInstance_body');
14200 result.empty();
14201 result.append(view.render());
14202});
14203</script>
tragait5e9676e2021-01-14 16:07:07 +000014204 <div id="d2e199_createServiceInstance_body"></div>
14205 </td>
14206 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080014207
14208 </table>
14209
14210
14211
tragait5e9676e2021-01-14 16:07:07 +000014212 <h2>Responses</h2>
seshukmb3a332a2018-10-05 16:27:16 +080014213 <h3> Status: default - successful operation </h3>
14214
14215 <ul class="nav nav-tabs nav-tabs-examples" >
14216 </ul>
14217
14218 <div class="tab-content" style='margin-bottom: 10px;'>
14219 </div>
14220
14221 </article>
tragait5e9676e2021-01-14 16:07:07 +000014222 </div>
14223 <hr>
seshukmb3a332a2018-10-05 16:27:16 +080014224 <div id="api-OnapsoinfraserviceInstantiation-createVfModuleInstance">
tragait5e9676e2021-01-14 16:07:07 +000014225 <article id="api-OnapsoinfraserviceInstantiation-createVfModuleInstance-0" data-group="User" data-name="createVfModuleInstance" data-version="0">
14226 <div class="pull-left">
14227 <h1>createVfModuleInstance</h1>
14228 <p>Create VfModule on a specified version, serviceInstance and vnfInstance</p>
14229 </div>
14230 <div class="pull-right"></div>
14231 <div class="clearfix"></div>
14232 <p></p>
14233 <p class="marked"></p>
14234 <p></p>
14235 <br />
14236 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules</span></code></pre>
14237 <p>
14238 <h3>Usage and SDK Samples</h3>
14239 </p>
14240 <ul class="nav nav-tabs nav-tabs-examples">
14241 <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-curl">Curl</a></li>
14242 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-java">Java</a></li>
14243 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-android">Android</a></li>
14244 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-groovy">Groovy</a></li>-->
14245 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-objc">Obj-C</a></li>
14246 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-javascript">JavaScript</a></li>
14247 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-angular">Angular</a></li>-->
14248 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-csharp">C#</a></li>
14249 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-php">PHP</a></li>
14250 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-perl">Perl</a></li>
14251 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-python">Python</a></li>
14252 </ul>
seshukmb3a332a2018-10-05 16:27:16 +080014253
tragait5e9676e2021-01-14 16:07:07 +000014254 <div class="tab-content">
14255 <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-curl">
14256 <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules"</code></pre>
14257 </div>
14258 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-java">
seshukmb3a332a2018-10-05 16:27:16 +080014259 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
14260import io.swagger.client.auth.*;
14261import io.swagger.client.model.*;
14262import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
14263
14264import java.io.File;
14265import java.util.*;
14266
14267public class OnapsoinfraserviceInstantiationApiExample {
14268
14269 public static void main(String[] args) {
tragait5e9676e2021-01-14 16:07:07 +000014270
seshukmb3a332a2018-10-05 16:27:16 +080014271 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000014272 String version = version_example; // String |
14273 String serviceInstanceId = serviceInstanceId_example; // String |
14274 String vnfInstanceId = vnfInstanceId_example; // String |
14275 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080014276 try {
14277 apiInstance.createVfModuleInstance(version, serviceInstanceId, vnfInstanceId, body);
14278 } catch (ApiException e) {
14279 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#createVfModuleInstance");
14280 e.printStackTrace();
14281 }
14282 }
14283}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000014284 </div>
seshukmb3a332a2018-10-05 16:27:16 +080014285
tragait5e9676e2021-01-14 16:07:07 +000014286 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-android">
seshukmb3a332a2018-10-05 16:27:16 +080014287 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
14288
14289public class OnapsoinfraserviceInstantiationApiExample {
14290
14291 public static void main(String[] args) {
14292 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000014293 String version = version_example; // String |
14294 String serviceInstanceId = serviceInstanceId_example; // String |
14295 String vnfInstanceId = vnfInstanceId_example; // String |
14296 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080014297 try {
14298 apiInstance.createVfModuleInstance(version, serviceInstanceId, vnfInstanceId, body);
14299 } catch (ApiException e) {
14300 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#createVfModuleInstance");
14301 e.printStackTrace();
14302 }
14303 }
14304}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000014305 </div>
14306 <!--
seshukmb3a332a2018-10-05 16:27:16 +080014307 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-groovy">
14308 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
14309 </div> -->
tragait5e9676e2021-01-14 16:07:07 +000014310 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-objc">
14311 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
14312String *serviceInstanceId = serviceInstanceId_example; //
14313String *vnfInstanceId = vnfInstanceId_example; //
seshukmb3a332a2018-10-05 16:27:16 +080014314String *body = body_example; // (optional)
14315
14316OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init];
14317
14318// Create VfModule on a specified version, serviceInstance and vnfInstance
14319[apiInstance createVfModuleInstanceWith:version
14320 serviceInstanceId:serviceInstanceId
14321 vnfInstanceId:vnfInstanceId
14322 body:body
14323 completionHandler: ^(NSError* error) {
14324 if (error) {
14325 NSLog(@"Error: %@", error);
14326 }
14327 }];
14328</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000014329 </div>
seshukmb3a332a2018-10-05 16:27:16 +080014330
tragait5e9676e2021-01-14 16:07:07 +000014331 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-javascript">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053014332 <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is');
seshukmb3a332a2018-10-05 16:27:16 +080014333
Priyadharshinic86ab4a2020-08-14 17:11:49 +053014334var api = new SoGuilinApIs.OnapsoinfraserviceInstantiationApi()
seshukmb3a332a2018-10-05 16:27:16 +080014335
tragait5e9676e2021-01-14 16:07:07 +000014336var version = version_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080014337
tragait5e9676e2021-01-14 16:07:07 +000014338var serviceInstanceId = serviceInstanceId_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080014339
tragait5e9676e2021-01-14 16:07:07 +000014340var vnfInstanceId = vnfInstanceId_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080014341
tragait5e9676e2021-01-14 16:07:07 +000014342var opts = {
14343 'body': body_example // {String}
seshukmb3a332a2018-10-05 16:27:16 +080014344};
14345
14346var callback = function(error, data, response) {
14347 if (error) {
14348 console.error(error);
14349 } else {
14350 console.log('API called successfully.');
14351 }
14352};
14353api.createVfModuleInstance(version, serviceInstanceId, vnfInstanceId, opts, callback);
14354</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000014355 </div>
seshukmb3a332a2018-10-05 16:27:16 +080014356
tragait5e9676e2021-01-14 16:07:07 +000014357 <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-angular">
seshukmb3a332a2018-10-05 16:27:16 +080014358 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
14359 </div>-->
tragait5e9676e2021-01-14 16:07:07 +000014360 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-csharp">
seshukmb3a332a2018-10-05 16:27:16 +080014361 <pre class="prettyprint"><code class="language-cs">using System;
14362using System.Diagnostics;
14363using IO.Swagger.Api;
14364using IO.Swagger.Client;
14365using IO.Swagger.Model;
14366
14367namespace Example
14368{
14369 public class createVfModuleInstanceExample
14370 {
14371 public void main()
14372 {
tragait5e9676e2021-01-14 16:07:07 +000014373
seshukmb3a332a2018-10-05 16:27:16 +080014374 var apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000014375 var version = version_example; // String |
14376 var serviceInstanceId = serviceInstanceId_example; // String |
14377 var vnfInstanceId = vnfInstanceId_example; // String |
14378 var body = body_example; // String | (optional)
seshukmb3a332a2018-10-05 16:27:16 +080014379
14380 try
14381 {
14382 // Create VfModule on a specified version, serviceInstance and vnfInstance
14383 apiInstance.createVfModuleInstance(version, serviceInstanceId, vnfInstanceId, body);
14384 }
14385 catch (Exception e)
14386 {
14387 Debug.Print("Exception when calling OnapsoinfraserviceInstantiationApi.createVfModuleInstance: " + e.Message );
14388 }
14389 }
14390 }
14391}
14392</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000014393 </div>
seshukmb3a332a2018-10-05 16:27:16 +080014394
tragait5e9676e2021-01-14 16:07:07 +000014395 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-php">
seshukmb3a332a2018-10-05 16:27:16 +080014396 <pre class="prettyprint"><code class="language-php"><&#63;php
14397require_once(__DIR__ . '/vendor/autoload.php');
14398
14399$api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000014400$version = version_example; // String |
14401$serviceInstanceId = serviceInstanceId_example; // String |
14402$vnfInstanceId = vnfInstanceId_example; // String |
14403$body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080014404
14405try {
14406 $api_instance->createVfModuleInstance($version, $serviceInstanceId, $vnfInstanceId, $body);
14407} catch (Exception $e) {
14408 echo 'Exception when calling OnapsoinfraserviceInstantiationApi->createVfModuleInstance: ', $e->getMessage(), PHP_EOL;
14409}
14410?></code></pre>
tragait5e9676e2021-01-14 16:07:07 +000014411 </div>
seshukmb3a332a2018-10-05 16:27:16 +080014412
tragait5e9676e2021-01-14 16:07:07 +000014413 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-perl">
seshukmb3a332a2018-10-05 16:27:16 +080014414 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
14415use WWW::SwaggerClient::Configuration;
14416use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi;
14417
14418my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new();
tragait5e9676e2021-01-14 16:07:07 +000014419my $version = version_example; # String |
14420my $serviceInstanceId = serviceInstanceId_example; # String |
14421my $vnfInstanceId = vnfInstanceId_example; # String |
14422my $body = WWW::SwaggerClient::Object::String->new(); # String |
seshukmb3a332a2018-10-05 16:27:16 +080014423
tragait5e9676e2021-01-14 16:07:07 +000014424eval {
seshukmb3a332a2018-10-05 16:27:16 +080014425 $api_instance->createVfModuleInstance(version => $version, serviceInstanceId => $serviceInstanceId, vnfInstanceId => $vnfInstanceId, body => $body);
14426};
14427if ($@) {
14428 warn "Exception when calling OnapsoinfraserviceInstantiationApi->createVfModuleInstance: $@\n";
14429}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000014430 </div>
seshukmb3a332a2018-10-05 16:27:16 +080014431
tragait5e9676e2021-01-14 16:07:07 +000014432 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-python">
seshukmb3a332a2018-10-05 16:27:16 +080014433 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
14434import time
14435import swagger_client
14436from swagger_client.rest import ApiException
14437from pprint import pprint
14438
14439# create an instance of the API class
14440api_instance = swagger_client.OnapsoinfraserviceInstantiationApi()
tragait5e9676e2021-01-14 16:07:07 +000014441version = version_example # String |
14442serviceInstanceId = serviceInstanceId_example # String |
14443vnfInstanceId = vnfInstanceId_example # String |
seshukmb3a332a2018-10-05 16:27:16 +080014444body = body_example # String | (optional)
14445
tragait5e9676e2021-01-14 16:07:07 +000014446try:
seshukmb3a332a2018-10-05 16:27:16 +080014447 # Create VfModule on a specified version, serviceInstance and vnfInstance
14448 api_instance.create_vf_module_instance(version, serviceInstanceId, vnfInstanceId, body=body)
14449except ApiException as e:
14450 print("Exception when calling OnapsoinfraserviceInstantiationApi->createVfModuleInstance: %s\n" % e)</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000014451 </div>
seshukmb3a332a2018-10-05 16:27:16 +080014452 </div>
seshukmb3a332a2018-10-05 16:27:16 +080014453
tragait5e9676e2021-01-14 16:07:07 +000014454 <h2>Parameters</h2>
seshukmb3a332a2018-10-05 16:27:16 +080014455
14456 <div class="methodsubtabletitle">Path parameters</div>
14457 <table id="methodsubtable">
14458 <tr>
tragait5e9676e2021-01-14 16:07:07 +000014459 <th width="150px">Name</th>
14460 <th>Description</th>
seshukmb3a332a2018-10-05 16:27:16 +080014461 </tr>
tragait5e9676e2021-01-14 16:07:07 +000014462 <tr><td style="width:150px;">version*</td>
14463 <td>
seshukmb3a332a2018-10-05 16:27:16 +080014464
14465
tragait5e9676e2021-01-14 16:07:07 +000014466 <div id="d2e199_createVfModuleInstance_version">
14467 <div class="json-schema-view">
14468 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080014469 <span class="type">
14470 String
14471 </span>
14472
tragait5e9676e2021-01-14 16:07:07 +000014473 </div>
14474 <div class="inner required">
14475 Required
14476 </div>
14477 </div>
14478 </div>
14479 </td>
14480 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080014481
tragait5e9676e2021-01-14 16:07:07 +000014482 <tr><td style="width:150px;">serviceInstanceId*</td>
14483 <td>
seshukmb3a332a2018-10-05 16:27:16 +080014484
14485
tragait5e9676e2021-01-14 16:07:07 +000014486 <div id="d2e199_createVfModuleInstance_serviceInstanceId">
14487 <div class="json-schema-view">
14488 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080014489 <span class="type">
14490 String
14491 </span>
14492
tragait5e9676e2021-01-14 16:07:07 +000014493 </div>
14494 <div class="inner required">
14495 Required
14496 </div>
14497 </div>
14498 </div>
14499 </td>
14500 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080014501
tragait5e9676e2021-01-14 16:07:07 +000014502 <tr><td style="width:150px;">vnfInstanceId*</td>
14503 <td>
seshukmb3a332a2018-10-05 16:27:16 +080014504
14505
tragait5e9676e2021-01-14 16:07:07 +000014506 <div id="d2e199_createVfModuleInstance_vnfInstanceId">
14507 <div class="json-schema-view">
14508 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080014509 <span class="type">
14510 String
14511 </span>
14512
tragait5e9676e2021-01-14 16:07:07 +000014513 </div>
14514 <div class="inner required">
14515 Required
14516 </div>
14517 </div>
14518 </div>
14519 </td>
14520 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080014521
14522 </table>
14523
14524
14525 <div class="methodsubtabletitle">Body parameters</div>
14526 <table id="methodsubtable">
tragait5e9676e2021-01-14 16:07:07 +000014527 <tr>
14528 <th width="150px">Name</th>
14529 <th>Description</th>
14530 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080014531 <tr><td style="width:150px;">body </td>
tragait5e9676e2021-01-14 16:07:07 +000014532 <td>
seshukmb3a332a2018-10-05 16:27:16 +080014533
14534
tragait5e9676e2021-01-14 16:07:07 +000014535 <script>
seshukmb3a332a2018-10-05 16:27:16 +080014536$(document).ready(function() {
14537 var schemaWrapper = {
14538 "in" : "body",
14539 "name" : "body",
14540 "required" : false,
14541 "schema" : {
14542 "type" : "string"
14543 }
14544};
14545 var schema = schemaWrapper.schema;
14546 if (schema.$ref != null) {
14547 schema = defsParser.$refs.get(schema.$ref);
14548 } else {
14549 schemaWrapper.definitions = Object.assign({}, defs);
14550 $RefParser.dereference(schemaWrapper).catch(function(err) {
14551 console.log(err);
14552 });
14553 }
14554
14555 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
14556 var result = $('#d2e199_createVfModuleInstance_body');
14557 result.empty();
14558 result.append(view.render());
14559});
14560</script>
tragait5e9676e2021-01-14 16:07:07 +000014561 <div id="d2e199_createVfModuleInstance_body"></div>
14562 </td>
14563 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080014564
14565 </table>
14566
14567
14568
tragait5e9676e2021-01-14 16:07:07 +000014569 <h2>Responses</h2>
seshukmb3a332a2018-10-05 16:27:16 +080014570 <h3> Status: default - successful operation </h3>
14571
14572 <ul class="nav nav-tabs nav-tabs-examples" >
14573 </ul>
14574
14575 <div class="tab-content" style='margin-bottom: 10px;'>
14576 </div>
14577
14578 </article>
tragait5e9676e2021-01-14 16:07:07 +000014579 </div>
14580 <hr>
seshukmb3a332a2018-10-05 16:27:16 +080014581 <div id="api-OnapsoinfraserviceInstantiation-createVnfInstance">
tragait5e9676e2021-01-14 16:07:07 +000014582 <article id="api-OnapsoinfraserviceInstantiation-createVnfInstance-0" data-group="User" data-name="createVnfInstance" data-version="0">
14583 <div class="pull-left">
14584 <h1>createVnfInstance</h1>
14585 <p>Create VNF on a specified version and serviceInstance</p>
14586 </div>
14587 <div class="pull-right"></div>
14588 <div class="clearfix"></div>
14589 <p></p>
14590 <p class="marked"></p>
14591 <p></p>
14592 <br />
14593 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs</span></code></pre>
14594 <p>
14595 <h3>Usage and SDK Samples</h3>
14596 </p>
14597 <ul class="nav nav-tabs nav-tabs-examples">
14598 <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-curl">Curl</a></li>
14599 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-java">Java</a></li>
14600 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-android">Android</a></li>
14601 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-groovy">Groovy</a></li>-->
14602 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-objc">Obj-C</a></li>
14603 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-javascript">JavaScript</a></li>
14604 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-angular">Angular</a></li>-->
14605 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-csharp">C#</a></li>
14606 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-php">PHP</a></li>
14607 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-perl">Perl</a></li>
14608 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-python">Python</a></li>
14609 </ul>
seshukmb3a332a2018-10-05 16:27:16 +080014610
tragait5e9676e2021-01-14 16:07:07 +000014611 <div class="tab-content">
14612 <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-curl">
14613 <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs"</code></pre>
14614 </div>
14615 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-java">
seshukmb3a332a2018-10-05 16:27:16 +080014616 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
14617import io.swagger.client.auth.*;
14618import io.swagger.client.model.*;
14619import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
14620
14621import java.io.File;
14622import java.util.*;
14623
14624public class OnapsoinfraserviceInstantiationApiExample {
14625
14626 public static void main(String[] args) {
tragait5e9676e2021-01-14 16:07:07 +000014627
seshukmb3a332a2018-10-05 16:27:16 +080014628 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000014629 String version = version_example; // String |
14630 String serviceInstanceId = serviceInstanceId_example; // String |
14631 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080014632 try {
14633 apiInstance.createVnfInstance(version, serviceInstanceId, body);
14634 } catch (ApiException e) {
14635 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#createVnfInstance");
14636 e.printStackTrace();
14637 }
14638 }
14639}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000014640 </div>
seshukmb3a332a2018-10-05 16:27:16 +080014641
tragait5e9676e2021-01-14 16:07:07 +000014642 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-android">
seshukmb3a332a2018-10-05 16:27:16 +080014643 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
14644
14645public class OnapsoinfraserviceInstantiationApiExample {
14646
14647 public static void main(String[] args) {
14648 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000014649 String version = version_example; // String |
14650 String serviceInstanceId = serviceInstanceId_example; // String |
14651 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080014652 try {
14653 apiInstance.createVnfInstance(version, serviceInstanceId, body);
14654 } catch (ApiException e) {
14655 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#createVnfInstance");
14656 e.printStackTrace();
14657 }
14658 }
14659}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000014660 </div>
14661 <!--
seshukmb3a332a2018-10-05 16:27:16 +080014662 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-groovy">
14663 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
14664 </div> -->
tragait5e9676e2021-01-14 16:07:07 +000014665 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-objc">
14666 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
14667String *serviceInstanceId = serviceInstanceId_example; //
seshukmb3a332a2018-10-05 16:27:16 +080014668String *body = body_example; // (optional)
14669
14670OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init];
14671
14672// Create VNF on a specified version and serviceInstance
14673[apiInstance createVnfInstanceWith:version
14674 serviceInstanceId:serviceInstanceId
14675 body:body
14676 completionHandler: ^(NSError* error) {
14677 if (error) {
14678 NSLog(@"Error: %@", error);
14679 }
14680 }];
14681</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000014682 </div>
seshukmb3a332a2018-10-05 16:27:16 +080014683
tragait5e9676e2021-01-14 16:07:07 +000014684 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-javascript">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053014685 <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is');
seshukmb3a332a2018-10-05 16:27:16 +080014686
Priyadharshinic86ab4a2020-08-14 17:11:49 +053014687var api = new SoGuilinApIs.OnapsoinfraserviceInstantiationApi()
seshukmb3a332a2018-10-05 16:27:16 +080014688
tragait5e9676e2021-01-14 16:07:07 +000014689var version = version_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080014690
tragait5e9676e2021-01-14 16:07:07 +000014691var serviceInstanceId = serviceInstanceId_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080014692
tragait5e9676e2021-01-14 16:07:07 +000014693var opts = {
14694 'body': body_example // {String}
seshukmb3a332a2018-10-05 16:27:16 +080014695};
14696
14697var callback = function(error, data, response) {
14698 if (error) {
14699 console.error(error);
14700 } else {
14701 console.log('API called successfully.');
14702 }
14703};
14704api.createVnfInstance(version, serviceInstanceId, opts, callback);
14705</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000014706 </div>
seshukmb3a332a2018-10-05 16:27:16 +080014707
tragait5e9676e2021-01-14 16:07:07 +000014708 <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-angular">
seshukmb3a332a2018-10-05 16:27:16 +080014709 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
14710 </div>-->
tragait5e9676e2021-01-14 16:07:07 +000014711 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-csharp">
seshukmb3a332a2018-10-05 16:27:16 +080014712 <pre class="prettyprint"><code class="language-cs">using System;
14713using System.Diagnostics;
14714using IO.Swagger.Api;
14715using IO.Swagger.Client;
14716using IO.Swagger.Model;
14717
14718namespace Example
14719{
14720 public class createVnfInstanceExample
14721 {
14722 public void main()
14723 {
tragait5e9676e2021-01-14 16:07:07 +000014724
seshukmb3a332a2018-10-05 16:27:16 +080014725 var apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000014726 var version = version_example; // String |
14727 var serviceInstanceId = serviceInstanceId_example; // String |
14728 var body = body_example; // String | (optional)
seshukmb3a332a2018-10-05 16:27:16 +080014729
14730 try
14731 {
14732 // Create VNF on a specified version and serviceInstance
14733 apiInstance.createVnfInstance(version, serviceInstanceId, body);
14734 }
14735 catch (Exception e)
14736 {
14737 Debug.Print("Exception when calling OnapsoinfraserviceInstantiationApi.createVnfInstance: " + e.Message );
14738 }
14739 }
14740 }
14741}
14742</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000014743 </div>
seshukmb3a332a2018-10-05 16:27:16 +080014744
tragait5e9676e2021-01-14 16:07:07 +000014745 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-php">
seshukmb3a332a2018-10-05 16:27:16 +080014746 <pre class="prettyprint"><code class="language-php"><&#63;php
14747require_once(__DIR__ . '/vendor/autoload.php');
14748
14749$api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000014750$version = version_example; // String |
14751$serviceInstanceId = serviceInstanceId_example; // String |
14752$body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080014753
14754try {
14755 $api_instance->createVnfInstance($version, $serviceInstanceId, $body);
14756} catch (Exception $e) {
14757 echo 'Exception when calling OnapsoinfraserviceInstantiationApi->createVnfInstance: ', $e->getMessage(), PHP_EOL;
14758}
14759?></code></pre>
tragait5e9676e2021-01-14 16:07:07 +000014760 </div>
seshukmb3a332a2018-10-05 16:27:16 +080014761
tragait5e9676e2021-01-14 16:07:07 +000014762 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-perl">
seshukmb3a332a2018-10-05 16:27:16 +080014763 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
14764use WWW::SwaggerClient::Configuration;
14765use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi;
14766
14767my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new();
tragait5e9676e2021-01-14 16:07:07 +000014768my $version = version_example; # String |
14769my $serviceInstanceId = serviceInstanceId_example; # String |
14770my $body = WWW::SwaggerClient::Object::String->new(); # String |
seshukmb3a332a2018-10-05 16:27:16 +080014771
tragait5e9676e2021-01-14 16:07:07 +000014772eval {
seshukmb3a332a2018-10-05 16:27:16 +080014773 $api_instance->createVnfInstance(version => $version, serviceInstanceId => $serviceInstanceId, body => $body);
14774};
14775if ($@) {
14776 warn "Exception when calling OnapsoinfraserviceInstantiationApi->createVnfInstance: $@\n";
14777}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000014778 </div>
seshukmb3a332a2018-10-05 16:27:16 +080014779
tragait5e9676e2021-01-14 16:07:07 +000014780 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-python">
seshukmb3a332a2018-10-05 16:27:16 +080014781 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
14782import time
14783import swagger_client
14784from swagger_client.rest import ApiException
14785from pprint import pprint
14786
14787# create an instance of the API class
14788api_instance = swagger_client.OnapsoinfraserviceInstantiationApi()
tragait5e9676e2021-01-14 16:07:07 +000014789version = version_example # String |
14790serviceInstanceId = serviceInstanceId_example # String |
seshukmb3a332a2018-10-05 16:27:16 +080014791body = body_example # String | (optional)
14792
tragait5e9676e2021-01-14 16:07:07 +000014793try:
seshukmb3a332a2018-10-05 16:27:16 +080014794 # Create VNF on a specified version and serviceInstance
14795 api_instance.create_vnf_instance(version, serviceInstanceId, body=body)
14796except ApiException as e:
14797 print("Exception when calling OnapsoinfraserviceInstantiationApi->createVnfInstance: %s\n" % e)</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000014798 </div>
seshukmb3a332a2018-10-05 16:27:16 +080014799 </div>
seshukmb3a332a2018-10-05 16:27:16 +080014800
tragait5e9676e2021-01-14 16:07:07 +000014801 <h2>Parameters</h2>
seshukmb3a332a2018-10-05 16:27:16 +080014802
14803 <div class="methodsubtabletitle">Path parameters</div>
14804 <table id="methodsubtable">
14805 <tr>
tragait5e9676e2021-01-14 16:07:07 +000014806 <th width="150px">Name</th>
14807 <th>Description</th>
seshukmb3a332a2018-10-05 16:27:16 +080014808 </tr>
tragait5e9676e2021-01-14 16:07:07 +000014809 <tr><td style="width:150px;">version*</td>
14810 <td>
seshukmb3a332a2018-10-05 16:27:16 +080014811
14812
tragait5e9676e2021-01-14 16:07:07 +000014813 <div id="d2e199_createVnfInstance_version">
14814 <div class="json-schema-view">
14815 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080014816 <span class="type">
14817 String
14818 </span>
14819
tragait5e9676e2021-01-14 16:07:07 +000014820 </div>
14821 <div class="inner required">
14822 Required
14823 </div>
14824 </div>
14825 </div>
14826 </td>
14827 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080014828
tragait5e9676e2021-01-14 16:07:07 +000014829 <tr><td style="width:150px;">serviceInstanceId*</td>
14830 <td>
seshukmb3a332a2018-10-05 16:27:16 +080014831
14832
tragait5e9676e2021-01-14 16:07:07 +000014833 <div id="d2e199_createVnfInstance_serviceInstanceId">
14834 <div class="json-schema-view">
14835 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080014836 <span class="type">
14837 String
14838 </span>
14839
tragait5e9676e2021-01-14 16:07:07 +000014840 </div>
14841 <div class="inner required">
14842 Required
14843 </div>
14844 </div>
14845 </div>
14846 </td>
14847 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080014848
14849 </table>
14850
14851
14852 <div class="methodsubtabletitle">Body parameters</div>
14853 <table id="methodsubtable">
tragait5e9676e2021-01-14 16:07:07 +000014854 <tr>
14855 <th width="150px">Name</th>
14856 <th>Description</th>
14857 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080014858 <tr><td style="width:150px;">body </td>
tragait5e9676e2021-01-14 16:07:07 +000014859 <td>
seshukmb3a332a2018-10-05 16:27:16 +080014860
14861
tragait5e9676e2021-01-14 16:07:07 +000014862 <script>
seshukmb3a332a2018-10-05 16:27:16 +080014863$(document).ready(function() {
14864 var schemaWrapper = {
14865 "in" : "body",
14866 "name" : "body",
14867 "required" : false,
14868 "schema" : {
14869 "type" : "string"
14870 }
14871};
14872 var schema = schemaWrapper.schema;
14873 if (schema.$ref != null) {
14874 schema = defsParser.$refs.get(schema.$ref);
14875 } else {
14876 schemaWrapper.definitions = Object.assign({}, defs);
14877 $RefParser.dereference(schemaWrapper).catch(function(err) {
14878 console.log(err);
14879 });
14880 }
14881
14882 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
14883 var result = $('#d2e199_createVnfInstance_body');
14884 result.empty();
14885 result.append(view.render());
14886});
14887</script>
tragait5e9676e2021-01-14 16:07:07 +000014888 <div id="d2e199_createVnfInstance_body"></div>
14889 </td>
14890 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080014891
14892 </table>
14893
14894
14895
tragait5e9676e2021-01-14 16:07:07 +000014896 <h2>Responses</h2>
seshukmb3a332a2018-10-05 16:27:16 +080014897 <h3> Status: default - successful operation </h3>
14898
14899 <ul class="nav nav-tabs nav-tabs-examples" >
14900 </ul>
14901
14902 <div class="tab-content" style='margin-bottom: 10px;'>
14903 </div>
14904
14905 </article>
tragait5e9676e2021-01-14 16:07:07 +000014906 </div>
14907 <hr>
seshukmb3a332a2018-10-05 16:27:16 +080014908 <div id="api-OnapsoinfraserviceInstantiation-createVolumeGroupInstance">
tragait5e9676e2021-01-14 16:07:07 +000014909 <article id="api-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0" data-group="User" data-name="createVolumeGroupInstance" data-version="0">
14910 <div class="pull-left">
14911 <h1>createVolumeGroupInstance</h1>
14912 <p>Create VolumeGroup on a specified version, serviceInstance, vnfInstance</p>
14913 </div>
14914 <div class="pull-right"></div>
14915 <div class="clearfix"></div>
14916 <p></p>
14917 <p class="marked"></p>
14918 <p></p>
14919 <br />
14920 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/volumeGroups</span></code></pre>
14921 <p>
14922 <h3>Usage and SDK Samples</h3>
14923 </p>
14924 <ul class="nav nav-tabs nav-tabs-examples">
14925 <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-curl">Curl</a></li>
14926 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-java">Java</a></li>
14927 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-android">Android</a></li>
14928 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-groovy">Groovy</a></li>-->
14929 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-objc">Obj-C</a></li>
14930 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-javascript">JavaScript</a></li>
14931 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-angular">Angular</a></li>-->
14932 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-csharp">C#</a></li>
14933 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-php">PHP</a></li>
14934 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-perl">Perl</a></li>
14935 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-python">Python</a></li>
14936 </ul>
seshukmb3a332a2018-10-05 16:27:16 +080014937
tragait5e9676e2021-01-14 16:07:07 +000014938 <div class="tab-content">
14939 <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-curl">
14940 <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/volumeGroups"</code></pre>
14941 </div>
14942 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-java">
seshukmb3a332a2018-10-05 16:27:16 +080014943 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
14944import io.swagger.client.auth.*;
14945import io.swagger.client.model.*;
14946import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
14947
14948import java.io.File;
14949import java.util.*;
14950
14951public class OnapsoinfraserviceInstantiationApiExample {
14952
14953 public static void main(String[] args) {
tragait5e9676e2021-01-14 16:07:07 +000014954
seshukmb3a332a2018-10-05 16:27:16 +080014955 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000014956 String version = version_example; // String |
14957 String serviceInstanceId = serviceInstanceId_example; // String |
14958 String vnfInstanceId = vnfInstanceId_example; // String |
14959 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080014960 try {
14961 apiInstance.createVolumeGroupInstance(version, serviceInstanceId, vnfInstanceId, body);
14962 } catch (ApiException e) {
14963 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#createVolumeGroupInstance");
14964 e.printStackTrace();
14965 }
14966 }
14967}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000014968 </div>
seshukmb3a332a2018-10-05 16:27:16 +080014969
tragait5e9676e2021-01-14 16:07:07 +000014970 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-android">
seshukmb3a332a2018-10-05 16:27:16 +080014971 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
14972
14973public class OnapsoinfraserviceInstantiationApiExample {
14974
14975 public static void main(String[] args) {
14976 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000014977 String version = version_example; // String |
14978 String serviceInstanceId = serviceInstanceId_example; // String |
14979 String vnfInstanceId = vnfInstanceId_example; // String |
14980 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080014981 try {
14982 apiInstance.createVolumeGroupInstance(version, serviceInstanceId, vnfInstanceId, body);
14983 } catch (ApiException e) {
14984 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#createVolumeGroupInstance");
14985 e.printStackTrace();
14986 }
14987 }
14988}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000014989 </div>
14990 <!--
seshukmb3a332a2018-10-05 16:27:16 +080014991 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-groovy">
14992 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
14993 </div> -->
tragait5e9676e2021-01-14 16:07:07 +000014994 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-objc">
14995 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
14996String *serviceInstanceId = serviceInstanceId_example; //
14997String *vnfInstanceId = vnfInstanceId_example; //
seshukmb3a332a2018-10-05 16:27:16 +080014998String *body = body_example; // (optional)
14999
15000OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init];
15001
15002// Create VolumeGroup on a specified version, serviceInstance, vnfInstance
15003[apiInstance createVolumeGroupInstanceWith:version
15004 serviceInstanceId:serviceInstanceId
15005 vnfInstanceId:vnfInstanceId
15006 body:body
15007 completionHandler: ^(NSError* error) {
15008 if (error) {
15009 NSLog(@"Error: %@", error);
15010 }
15011 }];
15012</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000015013 </div>
seshukmb3a332a2018-10-05 16:27:16 +080015014
tragait5e9676e2021-01-14 16:07:07 +000015015 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-javascript">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053015016 <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is');
seshukmb3a332a2018-10-05 16:27:16 +080015017
Priyadharshinic86ab4a2020-08-14 17:11:49 +053015018var api = new SoGuilinApIs.OnapsoinfraserviceInstantiationApi()
seshukmb3a332a2018-10-05 16:27:16 +080015019
tragait5e9676e2021-01-14 16:07:07 +000015020var version = version_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080015021
tragait5e9676e2021-01-14 16:07:07 +000015022var serviceInstanceId = serviceInstanceId_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080015023
tragait5e9676e2021-01-14 16:07:07 +000015024var vnfInstanceId = vnfInstanceId_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080015025
tragait5e9676e2021-01-14 16:07:07 +000015026var opts = {
15027 'body': body_example // {String}
seshukmb3a332a2018-10-05 16:27:16 +080015028};
15029
15030var callback = function(error, data, response) {
15031 if (error) {
15032 console.error(error);
15033 } else {
15034 console.log('API called successfully.');
15035 }
15036};
15037api.createVolumeGroupInstance(version, serviceInstanceId, vnfInstanceId, opts, callback);
15038</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000015039 </div>
seshukmb3a332a2018-10-05 16:27:16 +080015040
tragait5e9676e2021-01-14 16:07:07 +000015041 <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-angular">
seshukmb3a332a2018-10-05 16:27:16 +080015042 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
15043 </div>-->
tragait5e9676e2021-01-14 16:07:07 +000015044 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-csharp">
seshukmb3a332a2018-10-05 16:27:16 +080015045 <pre class="prettyprint"><code class="language-cs">using System;
15046using System.Diagnostics;
15047using IO.Swagger.Api;
15048using IO.Swagger.Client;
15049using IO.Swagger.Model;
15050
15051namespace Example
15052{
15053 public class createVolumeGroupInstanceExample
15054 {
15055 public void main()
15056 {
tragait5e9676e2021-01-14 16:07:07 +000015057
seshukmb3a332a2018-10-05 16:27:16 +080015058 var apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000015059 var version = version_example; // String |
15060 var serviceInstanceId = serviceInstanceId_example; // String |
15061 var vnfInstanceId = vnfInstanceId_example; // String |
15062 var body = body_example; // String | (optional)
seshukmb3a332a2018-10-05 16:27:16 +080015063
15064 try
15065 {
15066 // Create VolumeGroup on a specified version, serviceInstance, vnfInstance
15067 apiInstance.createVolumeGroupInstance(version, serviceInstanceId, vnfInstanceId, body);
15068 }
15069 catch (Exception e)
15070 {
15071 Debug.Print("Exception when calling OnapsoinfraserviceInstantiationApi.createVolumeGroupInstance: " + e.Message );
15072 }
15073 }
15074 }
15075}
15076</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000015077 </div>
seshukmb3a332a2018-10-05 16:27:16 +080015078
tragait5e9676e2021-01-14 16:07:07 +000015079 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-php">
seshukmb3a332a2018-10-05 16:27:16 +080015080 <pre class="prettyprint"><code class="language-php"><&#63;php
15081require_once(__DIR__ . '/vendor/autoload.php');
15082
15083$api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000015084$version = version_example; // String |
15085$serviceInstanceId = serviceInstanceId_example; // String |
15086$vnfInstanceId = vnfInstanceId_example; // String |
15087$body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080015088
15089try {
15090 $api_instance->createVolumeGroupInstance($version, $serviceInstanceId, $vnfInstanceId, $body);
15091} catch (Exception $e) {
15092 echo 'Exception when calling OnapsoinfraserviceInstantiationApi->createVolumeGroupInstance: ', $e->getMessage(), PHP_EOL;
15093}
15094?></code></pre>
tragait5e9676e2021-01-14 16:07:07 +000015095 </div>
seshukmb3a332a2018-10-05 16:27:16 +080015096
tragait5e9676e2021-01-14 16:07:07 +000015097 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-perl">
seshukmb3a332a2018-10-05 16:27:16 +080015098 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
15099use WWW::SwaggerClient::Configuration;
15100use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi;
15101
15102my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new();
tragait5e9676e2021-01-14 16:07:07 +000015103my $version = version_example; # String |
15104my $serviceInstanceId = serviceInstanceId_example; # String |
15105my $vnfInstanceId = vnfInstanceId_example; # String |
15106my $body = WWW::SwaggerClient::Object::String->new(); # String |
seshukmb3a332a2018-10-05 16:27:16 +080015107
tragait5e9676e2021-01-14 16:07:07 +000015108eval {
seshukmb3a332a2018-10-05 16:27:16 +080015109 $api_instance->createVolumeGroupInstance(version => $version, serviceInstanceId => $serviceInstanceId, vnfInstanceId => $vnfInstanceId, body => $body);
15110};
15111if ($@) {
15112 warn "Exception when calling OnapsoinfraserviceInstantiationApi->createVolumeGroupInstance: $@\n";
15113}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000015114 </div>
seshukmb3a332a2018-10-05 16:27:16 +080015115
tragait5e9676e2021-01-14 16:07:07 +000015116 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-python">
seshukmb3a332a2018-10-05 16:27:16 +080015117 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
15118import time
15119import swagger_client
15120from swagger_client.rest import ApiException
15121from pprint import pprint
15122
15123# create an instance of the API class
15124api_instance = swagger_client.OnapsoinfraserviceInstantiationApi()
tragait5e9676e2021-01-14 16:07:07 +000015125version = version_example # String |
15126serviceInstanceId = serviceInstanceId_example # String |
15127vnfInstanceId = vnfInstanceId_example # String |
seshukmb3a332a2018-10-05 16:27:16 +080015128body = body_example # String | (optional)
15129
tragait5e9676e2021-01-14 16:07:07 +000015130try:
seshukmb3a332a2018-10-05 16:27:16 +080015131 # Create VolumeGroup on a specified version, serviceInstance, vnfInstance
15132 api_instance.create_volume_group_instance(version, serviceInstanceId, vnfInstanceId, body=body)
15133except ApiException as e:
15134 print("Exception when calling OnapsoinfraserviceInstantiationApi->createVolumeGroupInstance: %s\n" % e)</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000015135 </div>
seshukmb3a332a2018-10-05 16:27:16 +080015136 </div>
seshukmb3a332a2018-10-05 16:27:16 +080015137
tragait5e9676e2021-01-14 16:07:07 +000015138 <h2>Parameters</h2>
seshukmb3a332a2018-10-05 16:27:16 +080015139
15140 <div class="methodsubtabletitle">Path parameters</div>
15141 <table id="methodsubtable">
15142 <tr>
tragait5e9676e2021-01-14 16:07:07 +000015143 <th width="150px">Name</th>
15144 <th>Description</th>
seshukmb3a332a2018-10-05 16:27:16 +080015145 </tr>
tragait5e9676e2021-01-14 16:07:07 +000015146 <tr><td style="width:150px;">version*</td>
15147 <td>
seshukmb3a332a2018-10-05 16:27:16 +080015148
15149
tragait5e9676e2021-01-14 16:07:07 +000015150 <div id="d2e199_createVolumeGroupInstance_version">
15151 <div class="json-schema-view">
15152 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080015153 <span class="type">
15154 String
15155 </span>
15156
tragait5e9676e2021-01-14 16:07:07 +000015157 </div>
15158 <div class="inner required">
15159 Required
15160 </div>
15161 </div>
15162 </div>
15163 </td>
15164 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080015165
tragait5e9676e2021-01-14 16:07:07 +000015166 <tr><td style="width:150px;">serviceInstanceId*</td>
15167 <td>
seshukmb3a332a2018-10-05 16:27:16 +080015168
15169
tragait5e9676e2021-01-14 16:07:07 +000015170 <div id="d2e199_createVolumeGroupInstance_serviceInstanceId">
15171 <div class="json-schema-view">
15172 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080015173 <span class="type">
15174 String
15175 </span>
15176
tragait5e9676e2021-01-14 16:07:07 +000015177 </div>
15178 <div class="inner required">
15179 Required
15180 </div>
15181 </div>
15182 </div>
15183 </td>
15184 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080015185
tragait5e9676e2021-01-14 16:07:07 +000015186 <tr><td style="width:150px;">vnfInstanceId*</td>
15187 <td>
seshukmb3a332a2018-10-05 16:27:16 +080015188
15189
tragait5e9676e2021-01-14 16:07:07 +000015190 <div id="d2e199_createVolumeGroupInstance_vnfInstanceId">
15191 <div class="json-schema-view">
15192 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080015193 <span class="type">
15194 String
15195 </span>
15196
tragait5e9676e2021-01-14 16:07:07 +000015197 </div>
15198 <div class="inner required">
15199 Required
15200 </div>
15201 </div>
15202 </div>
15203 </td>
15204 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080015205
15206 </table>
15207
15208
15209 <div class="methodsubtabletitle">Body parameters</div>
15210 <table id="methodsubtable">
tragait5e9676e2021-01-14 16:07:07 +000015211 <tr>
15212 <th width="150px">Name</th>
15213 <th>Description</th>
15214 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080015215 <tr><td style="width:150px;">body </td>
tragait5e9676e2021-01-14 16:07:07 +000015216 <td>
seshukmb3a332a2018-10-05 16:27:16 +080015217
15218
tragait5e9676e2021-01-14 16:07:07 +000015219 <script>
seshukmb3a332a2018-10-05 16:27:16 +080015220$(document).ready(function() {
15221 var schemaWrapper = {
15222 "in" : "body",
15223 "name" : "body",
15224 "required" : false,
15225 "schema" : {
15226 "type" : "string"
15227 }
15228};
15229 var schema = schemaWrapper.schema;
15230 if (schema.$ref != null) {
15231 schema = defsParser.$refs.get(schema.$ref);
15232 } else {
15233 schemaWrapper.definitions = Object.assign({}, defs);
15234 $RefParser.dereference(schemaWrapper).catch(function(err) {
15235 console.log(err);
15236 });
15237 }
15238
15239 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
15240 var result = $('#d2e199_createVolumeGroupInstance_body');
15241 result.empty();
15242 result.append(view.render());
15243});
15244</script>
tragait5e9676e2021-01-14 16:07:07 +000015245 <div id="d2e199_createVolumeGroupInstance_body"></div>
15246 </td>
15247 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080015248
15249 </table>
15250
15251
15252
tragait5e9676e2021-01-14 16:07:07 +000015253 <h2>Responses</h2>
seshukmb3a332a2018-10-05 16:27:16 +080015254 <h3> Status: default - successful operation </h3>
15255
15256 <ul class="nav nav-tabs nav-tabs-examples" >
15257 </ul>
15258
15259 <div class="tab-content" style='margin-bottom: 10px;'>
15260 </div>
15261
15262 </article>
tragait5e9676e2021-01-14 16:07:07 +000015263 </div>
15264 <hr>
seshukmb3a332a2018-10-05 16:27:16 +080015265 <div id="api-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance">
tragait5e9676e2021-01-14 16:07:07 +000015266 <article id="api-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0" data-group="User" data-name="deactivateAndCloudDeleteVfModuleInstance" data-version="0">
15267 <div class="pull-left">
15268 <h1>deactivateAndCloudDeleteVfModuleInstance</h1>
15269 <p>Deactivate and Cloud Delete VfModule instance</p>
15270 </div>
15271 <div class="pull-right"></div>
15272 <div class="clearfix"></div>
15273 <p></p>
15274 <p class="marked"></p>
15275 <p></p>
15276 <br />
15277 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/{vfmoduleInstanceId}/deactivateAndCloudDelete</span></code></pre>
15278 <p>
15279 <h3>Usage and SDK Samples</h3>
15280 </p>
15281 <ul class="nav nav-tabs nav-tabs-examples">
15282 <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-curl">Curl</a></li>
15283 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-java">Java</a></li>
15284 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-android">Android</a></li>
15285 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-groovy">Groovy</a></li>-->
15286 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-objc">Obj-C</a></li>
15287 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-javascript">JavaScript</a></li>
15288 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-angular">Angular</a></li>-->
15289 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-csharp">C#</a></li>
15290 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-php">PHP</a></li>
15291 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-perl">Perl</a></li>
15292 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-python">Python</a></li>
15293 </ul>
seshukmb3a332a2018-10-05 16:27:16 +080015294
tragait5e9676e2021-01-14 16:07:07 +000015295 <div class="tab-content">
15296 <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-curl">
15297 <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/{vfmoduleInstanceId}/deactivateAndCloudDelete"</code></pre>
15298 </div>
15299 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-java">
seshukmb3a332a2018-10-05 16:27:16 +080015300 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
15301import io.swagger.client.auth.*;
15302import io.swagger.client.model.*;
15303import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
15304
15305import java.io.File;
15306import java.util.*;
15307
15308public class OnapsoinfraserviceInstantiationApiExample {
15309
15310 public static void main(String[] args) {
tragait5e9676e2021-01-14 16:07:07 +000015311
seshukmb3a332a2018-10-05 16:27:16 +080015312 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000015313 String version = version_example; // String |
15314 String serviceInstanceId = serviceInstanceId_example; // String |
15315 String vnfInstanceId = vnfInstanceId_example; // String |
15316 String vfmoduleInstanceId = vfmoduleInstanceId_example; // String |
15317 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080015318 try {
15319 apiInstance.deactivateAndCloudDeleteVfModuleInstance(version, serviceInstanceId, vnfInstanceId, vfmoduleInstanceId, body);
15320 } catch (ApiException e) {
15321 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#deactivateAndCloudDeleteVfModuleInstance");
15322 e.printStackTrace();
15323 }
15324 }
15325}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000015326 </div>
seshukmb3a332a2018-10-05 16:27:16 +080015327
tragait5e9676e2021-01-14 16:07:07 +000015328 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-android">
seshukmb3a332a2018-10-05 16:27:16 +080015329 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
15330
15331public class OnapsoinfraserviceInstantiationApiExample {
15332
15333 public static void main(String[] args) {
15334 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000015335 String version = version_example; // String |
15336 String serviceInstanceId = serviceInstanceId_example; // String |
15337 String vnfInstanceId = vnfInstanceId_example; // String |
15338 String vfmoduleInstanceId = vfmoduleInstanceId_example; // String |
15339 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080015340 try {
15341 apiInstance.deactivateAndCloudDeleteVfModuleInstance(version, serviceInstanceId, vnfInstanceId, vfmoduleInstanceId, body);
15342 } catch (ApiException e) {
15343 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#deactivateAndCloudDeleteVfModuleInstance");
15344 e.printStackTrace();
15345 }
15346 }
15347}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000015348 </div>
15349 <!--
seshukmb3a332a2018-10-05 16:27:16 +080015350 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-groovy">
15351 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
15352 </div> -->
tragait5e9676e2021-01-14 16:07:07 +000015353 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-objc">
15354 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
15355String *serviceInstanceId = serviceInstanceId_example; //
15356String *vnfInstanceId = vnfInstanceId_example; //
15357String *vfmoduleInstanceId = vfmoduleInstanceId_example; //
seshukmb3a332a2018-10-05 16:27:16 +080015358String *body = body_example; // (optional)
15359
15360OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init];
15361
15362// Deactivate and Cloud Delete VfModule instance
15363[apiInstance deactivateAndCloudDeleteVfModuleInstanceWith:version
15364 serviceInstanceId:serviceInstanceId
15365 vnfInstanceId:vnfInstanceId
15366 vfmoduleInstanceId:vfmoduleInstanceId
15367 body:body
15368 completionHandler: ^(NSError* error) {
15369 if (error) {
15370 NSLog(@"Error: %@", error);
15371 }
15372 }];
15373</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000015374 </div>
seshukmb3a332a2018-10-05 16:27:16 +080015375
tragait5e9676e2021-01-14 16:07:07 +000015376 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-javascript">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053015377 <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is');
seshukmb3a332a2018-10-05 16:27:16 +080015378
Priyadharshinic86ab4a2020-08-14 17:11:49 +053015379var api = new SoGuilinApIs.OnapsoinfraserviceInstantiationApi()
seshukmb3a332a2018-10-05 16:27:16 +080015380
tragait5e9676e2021-01-14 16:07:07 +000015381var version = version_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080015382
tragait5e9676e2021-01-14 16:07:07 +000015383var serviceInstanceId = serviceInstanceId_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080015384
tragait5e9676e2021-01-14 16:07:07 +000015385var vnfInstanceId = vnfInstanceId_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080015386
tragait5e9676e2021-01-14 16:07:07 +000015387var vfmoduleInstanceId = vfmoduleInstanceId_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080015388
tragait5e9676e2021-01-14 16:07:07 +000015389var opts = {
15390 'body': body_example // {String}
seshukmb3a332a2018-10-05 16:27:16 +080015391};
15392
15393var callback = function(error, data, response) {
15394 if (error) {
15395 console.error(error);
15396 } else {
15397 console.log('API called successfully.');
15398 }
15399};
15400api.deactivateAndCloudDeleteVfModuleInstance(version, serviceInstanceId, vnfInstanceId, vfmoduleInstanceId, opts, callback);
15401</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000015402 </div>
seshukmb3a332a2018-10-05 16:27:16 +080015403
tragait5e9676e2021-01-14 16:07:07 +000015404 <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-angular">
seshukmb3a332a2018-10-05 16:27:16 +080015405 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
15406 </div>-->
tragait5e9676e2021-01-14 16:07:07 +000015407 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-csharp">
seshukmb3a332a2018-10-05 16:27:16 +080015408 <pre class="prettyprint"><code class="language-cs">using System;
15409using System.Diagnostics;
15410using IO.Swagger.Api;
15411using IO.Swagger.Client;
15412using IO.Swagger.Model;
15413
15414namespace Example
15415{
15416 public class deactivateAndCloudDeleteVfModuleInstanceExample
15417 {
15418 public void main()
15419 {
tragait5e9676e2021-01-14 16:07:07 +000015420
seshukmb3a332a2018-10-05 16:27:16 +080015421 var apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000015422 var version = version_example; // String |
15423 var serviceInstanceId = serviceInstanceId_example; // String |
15424 var vnfInstanceId = vnfInstanceId_example; // String |
15425 var vfmoduleInstanceId = vfmoduleInstanceId_example; // String |
15426 var body = body_example; // String | (optional)
seshukmb3a332a2018-10-05 16:27:16 +080015427
15428 try
15429 {
15430 // Deactivate and Cloud Delete VfModule instance
15431 apiInstance.deactivateAndCloudDeleteVfModuleInstance(version, serviceInstanceId, vnfInstanceId, vfmoduleInstanceId, body);
15432 }
15433 catch (Exception e)
15434 {
15435 Debug.Print("Exception when calling OnapsoinfraserviceInstantiationApi.deactivateAndCloudDeleteVfModuleInstance: " + e.Message );
15436 }
15437 }
15438 }
15439}
15440</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000015441 </div>
seshukmb3a332a2018-10-05 16:27:16 +080015442
tragait5e9676e2021-01-14 16:07:07 +000015443 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-php">
seshukmb3a332a2018-10-05 16:27:16 +080015444 <pre class="prettyprint"><code class="language-php"><&#63;php
15445require_once(__DIR__ . '/vendor/autoload.php');
15446
15447$api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000015448$version = version_example; // String |
15449$serviceInstanceId = serviceInstanceId_example; // String |
15450$vnfInstanceId = vnfInstanceId_example; // String |
15451$vfmoduleInstanceId = vfmoduleInstanceId_example; // String |
15452$body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080015453
15454try {
15455 $api_instance->deactivateAndCloudDeleteVfModuleInstance($version, $serviceInstanceId, $vnfInstanceId, $vfmoduleInstanceId, $body);
15456} catch (Exception $e) {
15457 echo 'Exception when calling OnapsoinfraserviceInstantiationApi->deactivateAndCloudDeleteVfModuleInstance: ', $e->getMessage(), PHP_EOL;
15458}
15459?></code></pre>
tragait5e9676e2021-01-14 16:07:07 +000015460 </div>
seshukmb3a332a2018-10-05 16:27:16 +080015461
tragait5e9676e2021-01-14 16:07:07 +000015462 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-perl">
seshukmb3a332a2018-10-05 16:27:16 +080015463 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
15464use WWW::SwaggerClient::Configuration;
15465use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi;
15466
15467my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new();
tragait5e9676e2021-01-14 16:07:07 +000015468my $version = version_example; # String |
15469my $serviceInstanceId = serviceInstanceId_example; # String |
15470my $vnfInstanceId = vnfInstanceId_example; # String |
15471my $vfmoduleInstanceId = vfmoduleInstanceId_example; # String |
15472my $body = WWW::SwaggerClient::Object::String->new(); # String |
seshukmb3a332a2018-10-05 16:27:16 +080015473
tragait5e9676e2021-01-14 16:07:07 +000015474eval {
seshukmb3a332a2018-10-05 16:27:16 +080015475 $api_instance->deactivateAndCloudDeleteVfModuleInstance(version => $version, serviceInstanceId => $serviceInstanceId, vnfInstanceId => $vnfInstanceId, vfmoduleInstanceId => $vfmoduleInstanceId, body => $body);
15476};
15477if ($@) {
15478 warn "Exception when calling OnapsoinfraserviceInstantiationApi->deactivateAndCloudDeleteVfModuleInstance: $@\n";
15479}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000015480 </div>
seshukmb3a332a2018-10-05 16:27:16 +080015481
tragait5e9676e2021-01-14 16:07:07 +000015482 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-python">
seshukmb3a332a2018-10-05 16:27:16 +080015483 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
15484import time
15485import swagger_client
15486from swagger_client.rest import ApiException
15487from pprint import pprint
15488
15489# create an instance of the API class
15490api_instance = swagger_client.OnapsoinfraserviceInstantiationApi()
tragait5e9676e2021-01-14 16:07:07 +000015491version = version_example # String |
15492serviceInstanceId = serviceInstanceId_example # String |
15493vnfInstanceId = vnfInstanceId_example # String |
15494vfmoduleInstanceId = vfmoduleInstanceId_example # String |
seshukmb3a332a2018-10-05 16:27:16 +080015495body = body_example # String | (optional)
15496
tragait5e9676e2021-01-14 16:07:07 +000015497try:
seshukmb3a332a2018-10-05 16:27:16 +080015498 # Deactivate and Cloud Delete VfModule instance
15499 api_instance.deactivate_and_cloud_delete_vf_module_instance(version, serviceInstanceId, vnfInstanceId, vfmoduleInstanceId, body=body)
15500except ApiException as e:
15501 print("Exception when calling OnapsoinfraserviceInstantiationApi->deactivateAndCloudDeleteVfModuleInstance: %s\n" % e)</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000015502 </div>
seshukmb3a332a2018-10-05 16:27:16 +080015503 </div>
seshukmb3a332a2018-10-05 16:27:16 +080015504
tragait5e9676e2021-01-14 16:07:07 +000015505 <h2>Parameters</h2>
seshukmb3a332a2018-10-05 16:27:16 +080015506
15507 <div class="methodsubtabletitle">Path parameters</div>
15508 <table id="methodsubtable">
15509 <tr>
tragait5e9676e2021-01-14 16:07:07 +000015510 <th width="150px">Name</th>
15511 <th>Description</th>
seshukmb3a332a2018-10-05 16:27:16 +080015512 </tr>
tragait5e9676e2021-01-14 16:07:07 +000015513 <tr><td style="width:150px;">version*</td>
15514 <td>
seshukmb3a332a2018-10-05 16:27:16 +080015515
15516
tragait5e9676e2021-01-14 16:07:07 +000015517 <div id="d2e199_deactivateAndCloudDeleteVfModuleInstance_version">
15518 <div class="json-schema-view">
15519 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080015520 <span class="type">
15521 String
15522 </span>
15523
tragait5e9676e2021-01-14 16:07:07 +000015524 </div>
15525 <div class="inner required">
15526 Required
15527 </div>
15528 </div>
15529 </div>
15530 </td>
15531 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080015532
tragait5e9676e2021-01-14 16:07:07 +000015533 <tr><td style="width:150px;">serviceInstanceId*</td>
15534 <td>
seshukmb3a332a2018-10-05 16:27:16 +080015535
15536
tragait5e9676e2021-01-14 16:07:07 +000015537 <div id="d2e199_deactivateAndCloudDeleteVfModuleInstance_serviceInstanceId">
15538 <div class="json-schema-view">
15539 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080015540 <span class="type">
15541 String
15542 </span>
15543
tragait5e9676e2021-01-14 16:07:07 +000015544 </div>
15545 <div class="inner required">
15546 Required
15547 </div>
15548 </div>
15549 </div>
15550 </td>
15551 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080015552
tragait5e9676e2021-01-14 16:07:07 +000015553 <tr><td style="width:150px;">vnfInstanceId*</td>
15554 <td>
seshukmb3a332a2018-10-05 16:27:16 +080015555
15556
tragait5e9676e2021-01-14 16:07:07 +000015557 <div id="d2e199_deactivateAndCloudDeleteVfModuleInstance_vnfInstanceId">
15558 <div class="json-schema-view">
15559 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080015560 <span class="type">
15561 String
15562 </span>
15563
tragait5e9676e2021-01-14 16:07:07 +000015564 </div>
15565 <div class="inner required">
15566 Required
15567 </div>
15568 </div>
15569 </div>
15570 </td>
15571 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080015572
tragait5e9676e2021-01-14 16:07:07 +000015573 <tr><td style="width:150px;">vfmoduleInstanceId*</td>
15574 <td>
seshukmb3a332a2018-10-05 16:27:16 +080015575
15576
tragait5e9676e2021-01-14 16:07:07 +000015577 <div id="d2e199_deactivateAndCloudDeleteVfModuleInstance_vfmoduleInstanceId">
15578 <div class="json-schema-view">
15579 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080015580 <span class="type">
15581 String
15582 </span>
15583
tragait5e9676e2021-01-14 16:07:07 +000015584 </div>
15585 <div class="inner required">
15586 Required
15587 </div>
15588 </div>
15589 </div>
15590 </td>
15591 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080015592
15593 </table>
15594
15595
15596 <div class="methodsubtabletitle">Body parameters</div>
15597 <table id="methodsubtable">
tragait5e9676e2021-01-14 16:07:07 +000015598 <tr>
15599 <th width="150px">Name</th>
15600 <th>Description</th>
15601 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080015602 <tr><td style="width:150px;">body </td>
tragait5e9676e2021-01-14 16:07:07 +000015603 <td>
seshukmb3a332a2018-10-05 16:27:16 +080015604
15605
tragait5e9676e2021-01-14 16:07:07 +000015606 <script>
seshukmb3a332a2018-10-05 16:27:16 +080015607$(document).ready(function() {
15608 var schemaWrapper = {
15609 "in" : "body",
15610 "name" : "body",
15611 "required" : false,
15612 "schema" : {
15613 "type" : "string"
15614 }
15615};
15616 var schema = schemaWrapper.schema;
15617 if (schema.$ref != null) {
15618 schema = defsParser.$refs.get(schema.$ref);
15619 } else {
15620 schemaWrapper.definitions = Object.assign({}, defs);
15621 $RefParser.dereference(schemaWrapper).catch(function(err) {
15622 console.log(err);
15623 });
15624 }
15625
15626 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
15627 var result = $('#d2e199_deactivateAndCloudDeleteVfModuleInstance_body');
15628 result.empty();
15629 result.append(view.render());
15630});
15631</script>
tragait5e9676e2021-01-14 16:07:07 +000015632 <div id="d2e199_deactivateAndCloudDeleteVfModuleInstance_body"></div>
15633 </td>
15634 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080015635
15636 </table>
15637
15638
15639
tragait5e9676e2021-01-14 16:07:07 +000015640 <h2>Responses</h2>
seshukmb3a332a2018-10-05 16:27:16 +080015641 <h3> Status: default - successful operation </h3>
15642
15643 <ul class="nav nav-tabs nav-tabs-examples" >
15644 </ul>
15645
15646 <div class="tab-content" style='margin-bottom: 10px;'>
15647 </div>
15648
15649 </article>
tragait5e9676e2021-01-14 16:07:07 +000015650 </div>
15651 <hr>
seshukmb3a332a2018-10-05 16:27:16 +080015652 <div id="api-OnapsoinfraserviceInstantiation-deactivatePort">
tragait5e9676e2021-01-14 16:07:07 +000015653 <article id="api-OnapsoinfraserviceInstantiation-deactivatePort-0" data-group="User" data-name="deactivatePort" data-version="0">
15654 <div class="pull-left">
15655 <h1>deactivatePort</h1>
15656 <p>Deactivate Port Mirroring</p>
15657 </div>
15658 <div class="pull-right"></div>
15659 <div class="clearfix"></div>
15660 <p></p>
15661 <p class="marked"></p>
15662 <p></p>
15663 <br />
15664 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}/deactivate</span></code></pre>
15665 <p>
15666 <h3>Usage and SDK Samples</h3>
15667 </p>
15668 <ul class="nav nav-tabs nav-tabs-examples">
15669 <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-deactivatePort-0-curl">Curl</a></li>
15670 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivatePort-0-java">Java</a></li>
15671 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivatePort-0-android">Android</a></li>
15672 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivatePort-0-groovy">Groovy</a></li>-->
15673 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivatePort-0-objc">Obj-C</a></li>
15674 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivatePort-0-javascript">JavaScript</a></li>
15675 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivatePort-0-angular">Angular</a></li>-->
15676 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivatePort-0-csharp">C#</a></li>
15677 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivatePort-0-php">PHP</a></li>
15678 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivatePort-0-perl">Perl</a></li>
15679 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivatePort-0-python">Python</a></li>
15680 </ul>
seshukmb3a332a2018-10-05 16:27:16 +080015681
tragait5e9676e2021-01-14 16:07:07 +000015682 <div class="tab-content">
15683 <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-deactivatePort-0-curl">
15684 <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}/deactivate"</code></pre>
15685 </div>
15686 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivatePort-0-java">
seshukmb3a332a2018-10-05 16:27:16 +080015687 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
15688import io.swagger.client.auth.*;
15689import io.swagger.client.model.*;
15690import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
15691
15692import java.io.File;
15693import java.util.*;
15694
15695public class OnapsoinfraserviceInstantiationApiExample {
15696
15697 public static void main(String[] args) {
tragait5e9676e2021-01-14 16:07:07 +000015698
seshukmb3a332a2018-10-05 16:27:16 +080015699 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000015700 String version = version_example; // String |
15701 String serviceInstanceId = serviceInstanceId_example; // String |
15702 String configurationInstanceId = configurationInstanceId_example; // String |
15703 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080015704 try {
15705 apiInstance.deactivatePort(version, serviceInstanceId, configurationInstanceId, body);
15706 } catch (ApiException e) {
15707 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#deactivatePort");
15708 e.printStackTrace();
15709 }
15710 }
15711}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000015712 </div>
seshukmb3a332a2018-10-05 16:27:16 +080015713
tragait5e9676e2021-01-14 16:07:07 +000015714 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivatePort-0-android">
seshukmb3a332a2018-10-05 16:27:16 +080015715 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
15716
15717public class OnapsoinfraserviceInstantiationApiExample {
15718
15719 public static void main(String[] args) {
15720 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000015721 String version = version_example; // String |
15722 String serviceInstanceId = serviceInstanceId_example; // String |
15723 String configurationInstanceId = configurationInstanceId_example; // String |
15724 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080015725 try {
15726 apiInstance.deactivatePort(version, serviceInstanceId, configurationInstanceId, body);
15727 } catch (ApiException e) {
15728 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#deactivatePort");
15729 e.printStackTrace();
15730 }
15731 }
15732}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000015733 </div>
15734 <!--
seshukmb3a332a2018-10-05 16:27:16 +080015735 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivatePort-0-groovy">
15736 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
15737 </div> -->
tragait5e9676e2021-01-14 16:07:07 +000015738 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivatePort-0-objc">
15739 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
15740String *serviceInstanceId = serviceInstanceId_example; //
15741String *configurationInstanceId = configurationInstanceId_example; //
seshukmb3a332a2018-10-05 16:27:16 +080015742String *body = body_example; // (optional)
15743
15744OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init];
15745
15746// Deactivate Port Mirroring
15747[apiInstance deactivatePortWith:version
15748 serviceInstanceId:serviceInstanceId
15749 configurationInstanceId:configurationInstanceId
15750 body:body
15751 completionHandler: ^(NSError* error) {
15752 if (error) {
15753 NSLog(@"Error: %@", error);
15754 }
15755 }];
15756</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000015757 </div>
seshukmb3a332a2018-10-05 16:27:16 +080015758
tragait5e9676e2021-01-14 16:07:07 +000015759 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivatePort-0-javascript">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053015760 <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is');
seshukmb3a332a2018-10-05 16:27:16 +080015761
Priyadharshinic86ab4a2020-08-14 17:11:49 +053015762var api = new SoGuilinApIs.OnapsoinfraserviceInstantiationApi()
seshukmb3a332a2018-10-05 16:27:16 +080015763
tragait5e9676e2021-01-14 16:07:07 +000015764var version = version_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080015765
tragait5e9676e2021-01-14 16:07:07 +000015766var serviceInstanceId = serviceInstanceId_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080015767
tragait5e9676e2021-01-14 16:07:07 +000015768var configurationInstanceId = configurationInstanceId_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080015769
tragait5e9676e2021-01-14 16:07:07 +000015770var opts = {
15771 'body': body_example // {String}
seshukmb3a332a2018-10-05 16:27:16 +080015772};
15773
15774var callback = function(error, data, response) {
15775 if (error) {
15776 console.error(error);
15777 } else {
15778 console.log('API called successfully.');
15779 }
15780};
15781api.deactivatePort(version, serviceInstanceId, configurationInstanceId, opts, callback);
15782</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000015783 </div>
seshukmb3a332a2018-10-05 16:27:16 +080015784
tragait5e9676e2021-01-14 16:07:07 +000015785 <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivatePort-0-angular">
seshukmb3a332a2018-10-05 16:27:16 +080015786 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
15787 </div>-->
tragait5e9676e2021-01-14 16:07:07 +000015788 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivatePort-0-csharp">
seshukmb3a332a2018-10-05 16:27:16 +080015789 <pre class="prettyprint"><code class="language-cs">using System;
15790using System.Diagnostics;
15791using IO.Swagger.Api;
15792using IO.Swagger.Client;
15793using IO.Swagger.Model;
15794
15795namespace Example
15796{
15797 public class deactivatePortExample
15798 {
15799 public void main()
15800 {
tragait5e9676e2021-01-14 16:07:07 +000015801
seshukmb3a332a2018-10-05 16:27:16 +080015802 var apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000015803 var version = version_example; // String |
15804 var serviceInstanceId = serviceInstanceId_example; // String |
15805 var configurationInstanceId = configurationInstanceId_example; // String |
15806 var body = body_example; // String | (optional)
seshukmb3a332a2018-10-05 16:27:16 +080015807
15808 try
15809 {
15810 // Deactivate Port Mirroring
15811 apiInstance.deactivatePort(version, serviceInstanceId, configurationInstanceId, body);
15812 }
15813 catch (Exception e)
15814 {
15815 Debug.Print("Exception when calling OnapsoinfraserviceInstantiationApi.deactivatePort: " + e.Message );
15816 }
15817 }
15818 }
15819}
15820</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000015821 </div>
seshukmb3a332a2018-10-05 16:27:16 +080015822
tragait5e9676e2021-01-14 16:07:07 +000015823 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivatePort-0-php">
seshukmb3a332a2018-10-05 16:27:16 +080015824 <pre class="prettyprint"><code class="language-php"><&#63;php
15825require_once(__DIR__ . '/vendor/autoload.php');
15826
15827$api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000015828$version = version_example; // String |
15829$serviceInstanceId = serviceInstanceId_example; // String |
15830$configurationInstanceId = configurationInstanceId_example; // String |
15831$body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080015832
15833try {
15834 $api_instance->deactivatePort($version, $serviceInstanceId, $configurationInstanceId, $body);
15835} catch (Exception $e) {
15836 echo 'Exception when calling OnapsoinfraserviceInstantiationApi->deactivatePort: ', $e->getMessage(), PHP_EOL;
15837}
15838?></code></pre>
tragait5e9676e2021-01-14 16:07:07 +000015839 </div>
seshukmb3a332a2018-10-05 16:27:16 +080015840
tragait5e9676e2021-01-14 16:07:07 +000015841 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivatePort-0-perl">
seshukmb3a332a2018-10-05 16:27:16 +080015842 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
15843use WWW::SwaggerClient::Configuration;
15844use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi;
15845
15846my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new();
tragait5e9676e2021-01-14 16:07:07 +000015847my $version = version_example; # String |
15848my $serviceInstanceId = serviceInstanceId_example; # String |
15849my $configurationInstanceId = configurationInstanceId_example; # String |
15850my $body = WWW::SwaggerClient::Object::String->new(); # String |
seshukmb3a332a2018-10-05 16:27:16 +080015851
tragait5e9676e2021-01-14 16:07:07 +000015852eval {
seshukmb3a332a2018-10-05 16:27:16 +080015853 $api_instance->deactivatePort(version => $version, serviceInstanceId => $serviceInstanceId, configurationInstanceId => $configurationInstanceId, body => $body);
15854};
15855if ($@) {
15856 warn "Exception when calling OnapsoinfraserviceInstantiationApi->deactivatePort: $@\n";
15857}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000015858 </div>
seshukmb3a332a2018-10-05 16:27:16 +080015859
tragait5e9676e2021-01-14 16:07:07 +000015860 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivatePort-0-python">
seshukmb3a332a2018-10-05 16:27:16 +080015861 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
15862import time
15863import swagger_client
15864from swagger_client.rest import ApiException
15865from pprint import pprint
15866
15867# create an instance of the API class
15868api_instance = swagger_client.OnapsoinfraserviceInstantiationApi()
tragait5e9676e2021-01-14 16:07:07 +000015869version = version_example # String |
15870serviceInstanceId = serviceInstanceId_example # String |
15871configurationInstanceId = configurationInstanceId_example # String |
seshukmb3a332a2018-10-05 16:27:16 +080015872body = body_example # String | (optional)
15873
tragait5e9676e2021-01-14 16:07:07 +000015874try:
seshukmb3a332a2018-10-05 16:27:16 +080015875 # Deactivate Port Mirroring
15876 api_instance.deactivate_port(version, serviceInstanceId, configurationInstanceId, body=body)
15877except ApiException as e:
15878 print("Exception when calling OnapsoinfraserviceInstantiationApi->deactivatePort: %s\n" % e)</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000015879 </div>
seshukmb3a332a2018-10-05 16:27:16 +080015880 </div>
seshukmb3a332a2018-10-05 16:27:16 +080015881
tragait5e9676e2021-01-14 16:07:07 +000015882 <h2>Parameters</h2>
seshukmb3a332a2018-10-05 16:27:16 +080015883
15884 <div class="methodsubtabletitle">Path parameters</div>
15885 <table id="methodsubtable">
15886 <tr>
tragait5e9676e2021-01-14 16:07:07 +000015887 <th width="150px">Name</th>
15888 <th>Description</th>
seshukmb3a332a2018-10-05 16:27:16 +080015889 </tr>
tragait5e9676e2021-01-14 16:07:07 +000015890 <tr><td style="width:150px;">version*</td>
15891 <td>
seshukmb3a332a2018-10-05 16:27:16 +080015892
15893
tragait5e9676e2021-01-14 16:07:07 +000015894 <div id="d2e199_deactivatePort_version">
15895 <div class="json-schema-view">
15896 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080015897 <span class="type">
15898 String
15899 </span>
15900
tragait5e9676e2021-01-14 16:07:07 +000015901 </div>
15902 <div class="inner required">
15903 Required
15904 </div>
15905 </div>
15906 </div>
15907 </td>
15908 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080015909
tragait5e9676e2021-01-14 16:07:07 +000015910 <tr><td style="width:150px;">serviceInstanceId*</td>
15911 <td>
seshukmb3a332a2018-10-05 16:27:16 +080015912
15913
tragait5e9676e2021-01-14 16:07:07 +000015914 <div id="d2e199_deactivatePort_serviceInstanceId">
15915 <div class="json-schema-view">
15916 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080015917 <span class="type">
15918 String
15919 </span>
15920
tragait5e9676e2021-01-14 16:07:07 +000015921 </div>
15922 <div class="inner required">
15923 Required
15924 </div>
15925 </div>
15926 </div>
15927 </td>
15928 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080015929
tragait5e9676e2021-01-14 16:07:07 +000015930 <tr><td style="width:150px;">configurationInstanceId*</td>
15931 <td>
seshukmb3a332a2018-10-05 16:27:16 +080015932
15933
tragait5e9676e2021-01-14 16:07:07 +000015934 <div id="d2e199_deactivatePort_configurationInstanceId">
15935 <div class="json-schema-view">
15936 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080015937 <span class="type">
15938 String
15939 </span>
15940
tragait5e9676e2021-01-14 16:07:07 +000015941 </div>
15942 <div class="inner required">
15943 Required
15944 </div>
15945 </div>
15946 </div>
15947 </td>
15948 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080015949
15950 </table>
15951
15952
15953 <div class="methodsubtabletitle">Body parameters</div>
15954 <table id="methodsubtable">
tragait5e9676e2021-01-14 16:07:07 +000015955 <tr>
15956 <th width="150px">Name</th>
15957 <th>Description</th>
15958 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080015959 <tr><td style="width:150px;">body </td>
tragait5e9676e2021-01-14 16:07:07 +000015960 <td>
seshukmb3a332a2018-10-05 16:27:16 +080015961
15962
tragait5e9676e2021-01-14 16:07:07 +000015963 <script>
seshukmb3a332a2018-10-05 16:27:16 +080015964$(document).ready(function() {
15965 var schemaWrapper = {
15966 "in" : "body",
15967 "name" : "body",
15968 "required" : false,
15969 "schema" : {
15970 "type" : "string"
15971 }
15972};
15973 var schema = schemaWrapper.schema;
15974 if (schema.$ref != null) {
15975 schema = defsParser.$refs.get(schema.$ref);
15976 } else {
15977 schemaWrapper.definitions = Object.assign({}, defs);
15978 $RefParser.dereference(schemaWrapper).catch(function(err) {
15979 console.log(err);
15980 });
15981 }
15982
15983 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
15984 var result = $('#d2e199_deactivatePort_body');
15985 result.empty();
15986 result.append(view.render());
15987});
15988</script>
tragait5e9676e2021-01-14 16:07:07 +000015989 <div id="d2e199_deactivatePort_body"></div>
15990 </td>
15991 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080015992
15993 </table>
15994
15995
15996
tragait5e9676e2021-01-14 16:07:07 +000015997 <h2>Responses</h2>
seshukmb3a332a2018-10-05 16:27:16 +080015998 <h3> Status: default - successful operation </h3>
15999
16000 <ul class="nav nav-tabs nav-tabs-examples" >
16001 </ul>
16002
16003 <div class="tab-content" style='margin-bottom: 10px;'>
16004 </div>
16005
16006 </article>
tragait5e9676e2021-01-14 16:07:07 +000016007 </div>
16008 <hr>
seshukmb3a332a2018-10-05 16:27:16 +080016009 <div id="api-OnapsoinfraserviceInstantiation-deactivateServiceInstance">
tragait5e9676e2021-01-14 16:07:07 +000016010 <article id="api-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0" data-group="User" data-name="deactivateServiceInstance" data-version="0">
16011 <div class="pull-left">
16012 <h1>deactivateServiceInstance</h1>
16013 <p>Deactivate provided Service Instance</p>
16014 </div>
16015 <div class="pull-right"></div>
16016 <div class="clearfix"></div>
16017 <p></p>
16018 <p class="marked"></p>
16019 <p></p>
16020 <br />
16021 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/deactivate</span></code></pre>
16022 <p>
16023 <h3>Usage and SDK Samples</h3>
16024 </p>
16025 <ul class="nav nav-tabs nav-tabs-examples">
16026 <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-curl">Curl</a></li>
16027 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-java">Java</a></li>
16028 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-android">Android</a></li>
16029 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-groovy">Groovy</a></li>-->
16030 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-objc">Obj-C</a></li>
16031 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-javascript">JavaScript</a></li>
16032 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-angular">Angular</a></li>-->
16033 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-csharp">C#</a></li>
16034 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-php">PHP</a></li>
16035 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-perl">Perl</a></li>
16036 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-python">Python</a></li>
16037 </ul>
seshukmb3a332a2018-10-05 16:27:16 +080016038
tragait5e9676e2021-01-14 16:07:07 +000016039 <div class="tab-content">
16040 <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-curl">
16041 <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/deactivate"</code></pre>
16042 </div>
16043 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-java">
seshukmb3a332a2018-10-05 16:27:16 +080016044 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
16045import io.swagger.client.auth.*;
16046import io.swagger.client.model.*;
16047import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
16048
16049import java.io.File;
16050import java.util.*;
16051
16052public class OnapsoinfraserviceInstantiationApiExample {
16053
16054 public static void main(String[] args) {
tragait5e9676e2021-01-14 16:07:07 +000016055
seshukmb3a332a2018-10-05 16:27:16 +080016056 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000016057 String version = version_example; // String |
16058 String serviceInstanceId = serviceInstanceId_example; // String |
16059 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080016060 try {
16061 apiInstance.deactivateServiceInstance(version, serviceInstanceId, body);
16062 } catch (ApiException e) {
16063 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#deactivateServiceInstance");
16064 e.printStackTrace();
16065 }
16066 }
16067}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000016068 </div>
seshukmb3a332a2018-10-05 16:27:16 +080016069
tragait5e9676e2021-01-14 16:07:07 +000016070 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-android">
seshukmb3a332a2018-10-05 16:27:16 +080016071 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
16072
16073public class OnapsoinfraserviceInstantiationApiExample {
16074
16075 public static void main(String[] args) {
16076 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000016077 String version = version_example; // String |
16078 String serviceInstanceId = serviceInstanceId_example; // String |
16079 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080016080 try {
16081 apiInstance.deactivateServiceInstance(version, serviceInstanceId, body);
16082 } catch (ApiException e) {
16083 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#deactivateServiceInstance");
16084 e.printStackTrace();
16085 }
16086 }
16087}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000016088 </div>
16089 <!--
seshukmb3a332a2018-10-05 16:27:16 +080016090 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-groovy">
16091 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
16092 </div> -->
tragait5e9676e2021-01-14 16:07:07 +000016093 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-objc">
16094 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
16095String *serviceInstanceId = serviceInstanceId_example; //
seshukmb3a332a2018-10-05 16:27:16 +080016096String *body = body_example; // (optional)
16097
16098OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init];
16099
16100// Deactivate provided Service Instance
16101[apiInstance deactivateServiceInstanceWith:version
16102 serviceInstanceId:serviceInstanceId
16103 body:body
16104 completionHandler: ^(NSError* error) {
16105 if (error) {
16106 NSLog(@"Error: %@", error);
16107 }
16108 }];
16109</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000016110 </div>
seshukmb3a332a2018-10-05 16:27:16 +080016111
tragait5e9676e2021-01-14 16:07:07 +000016112 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-javascript">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053016113 <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is');
seshukmb3a332a2018-10-05 16:27:16 +080016114
Priyadharshinic86ab4a2020-08-14 17:11:49 +053016115var api = new SoGuilinApIs.OnapsoinfraserviceInstantiationApi()
seshukmb3a332a2018-10-05 16:27:16 +080016116
tragait5e9676e2021-01-14 16:07:07 +000016117var version = version_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080016118
tragait5e9676e2021-01-14 16:07:07 +000016119var serviceInstanceId = serviceInstanceId_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080016120
tragait5e9676e2021-01-14 16:07:07 +000016121var opts = {
16122 'body': body_example // {String}
seshukmb3a332a2018-10-05 16:27:16 +080016123};
16124
16125var callback = function(error, data, response) {
16126 if (error) {
16127 console.error(error);
16128 } else {
16129 console.log('API called successfully.');
16130 }
16131};
16132api.deactivateServiceInstance(version, serviceInstanceId, opts, callback);
16133</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000016134 </div>
seshukmb3a332a2018-10-05 16:27:16 +080016135
tragait5e9676e2021-01-14 16:07:07 +000016136 <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-angular">
seshukmb3a332a2018-10-05 16:27:16 +080016137 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
16138 </div>-->
tragait5e9676e2021-01-14 16:07:07 +000016139 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-csharp">
seshukmb3a332a2018-10-05 16:27:16 +080016140 <pre class="prettyprint"><code class="language-cs">using System;
16141using System.Diagnostics;
16142using IO.Swagger.Api;
16143using IO.Swagger.Client;
16144using IO.Swagger.Model;
16145
16146namespace Example
16147{
16148 public class deactivateServiceInstanceExample
16149 {
16150 public void main()
16151 {
tragait5e9676e2021-01-14 16:07:07 +000016152
seshukmb3a332a2018-10-05 16:27:16 +080016153 var apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000016154 var version = version_example; // String |
16155 var serviceInstanceId = serviceInstanceId_example; // String |
16156 var body = body_example; // String | (optional)
seshukmb3a332a2018-10-05 16:27:16 +080016157
16158 try
16159 {
16160 // Deactivate provided Service Instance
16161 apiInstance.deactivateServiceInstance(version, serviceInstanceId, body);
16162 }
16163 catch (Exception e)
16164 {
16165 Debug.Print("Exception when calling OnapsoinfraserviceInstantiationApi.deactivateServiceInstance: " + e.Message );
16166 }
16167 }
16168 }
16169}
16170</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000016171 </div>
seshukmb3a332a2018-10-05 16:27:16 +080016172
tragait5e9676e2021-01-14 16:07:07 +000016173 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-php">
seshukmb3a332a2018-10-05 16:27:16 +080016174 <pre class="prettyprint"><code class="language-php"><&#63;php
16175require_once(__DIR__ . '/vendor/autoload.php');
16176
16177$api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000016178$version = version_example; // String |
16179$serviceInstanceId = serviceInstanceId_example; // String |
16180$body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080016181
16182try {
16183 $api_instance->deactivateServiceInstance($version, $serviceInstanceId, $body);
16184} catch (Exception $e) {
16185 echo 'Exception when calling OnapsoinfraserviceInstantiationApi->deactivateServiceInstance: ', $e->getMessage(), PHP_EOL;
16186}
16187?></code></pre>
tragait5e9676e2021-01-14 16:07:07 +000016188 </div>
seshukmb3a332a2018-10-05 16:27:16 +080016189
tragait5e9676e2021-01-14 16:07:07 +000016190 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-perl">
seshukmb3a332a2018-10-05 16:27:16 +080016191 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
16192use WWW::SwaggerClient::Configuration;
16193use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi;
16194
16195my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new();
tragait5e9676e2021-01-14 16:07:07 +000016196my $version = version_example; # String |
16197my $serviceInstanceId = serviceInstanceId_example; # String |
16198my $body = WWW::SwaggerClient::Object::String->new(); # String |
seshukmb3a332a2018-10-05 16:27:16 +080016199
tragait5e9676e2021-01-14 16:07:07 +000016200eval {
seshukmb3a332a2018-10-05 16:27:16 +080016201 $api_instance->deactivateServiceInstance(version => $version, serviceInstanceId => $serviceInstanceId, body => $body);
16202};
16203if ($@) {
16204 warn "Exception when calling OnapsoinfraserviceInstantiationApi->deactivateServiceInstance: $@\n";
16205}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000016206 </div>
seshukmb3a332a2018-10-05 16:27:16 +080016207
tragait5e9676e2021-01-14 16:07:07 +000016208 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-python">
seshukmb3a332a2018-10-05 16:27:16 +080016209 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
16210import time
16211import swagger_client
16212from swagger_client.rest import ApiException
16213from pprint import pprint
16214
16215# create an instance of the API class
16216api_instance = swagger_client.OnapsoinfraserviceInstantiationApi()
tragait5e9676e2021-01-14 16:07:07 +000016217version = version_example # String |
16218serviceInstanceId = serviceInstanceId_example # String |
seshukmb3a332a2018-10-05 16:27:16 +080016219body = body_example # String | (optional)
16220
tragait5e9676e2021-01-14 16:07:07 +000016221try:
seshukmb3a332a2018-10-05 16:27:16 +080016222 # Deactivate provided Service Instance
16223 api_instance.deactivate_service_instance(version, serviceInstanceId, body=body)
16224except ApiException as e:
16225 print("Exception when calling OnapsoinfraserviceInstantiationApi->deactivateServiceInstance: %s\n" % e)</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000016226 </div>
seshukmb3a332a2018-10-05 16:27:16 +080016227 </div>
seshukmb3a332a2018-10-05 16:27:16 +080016228
tragait5e9676e2021-01-14 16:07:07 +000016229 <h2>Parameters</h2>
seshukmb3a332a2018-10-05 16:27:16 +080016230
16231 <div class="methodsubtabletitle">Path parameters</div>
16232 <table id="methodsubtable">
16233 <tr>
tragait5e9676e2021-01-14 16:07:07 +000016234 <th width="150px">Name</th>
16235 <th>Description</th>
seshukmb3a332a2018-10-05 16:27:16 +080016236 </tr>
tragait5e9676e2021-01-14 16:07:07 +000016237 <tr><td style="width:150px;">version*</td>
16238 <td>
seshukmb3a332a2018-10-05 16:27:16 +080016239
16240
tragait5e9676e2021-01-14 16:07:07 +000016241 <div id="d2e199_deactivateServiceInstance_version">
16242 <div class="json-schema-view">
16243 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080016244 <span class="type">
16245 String
16246 </span>
16247
tragait5e9676e2021-01-14 16:07:07 +000016248 </div>
16249 <div class="inner required">
16250 Required
16251 </div>
16252 </div>
16253 </div>
16254 </td>
16255 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080016256
tragait5e9676e2021-01-14 16:07:07 +000016257 <tr><td style="width:150px;">serviceInstanceId*</td>
16258 <td>
seshukmb3a332a2018-10-05 16:27:16 +080016259
16260
tragait5e9676e2021-01-14 16:07:07 +000016261 <div id="d2e199_deactivateServiceInstance_serviceInstanceId">
16262 <div class="json-schema-view">
16263 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080016264 <span class="type">
16265 String
16266 </span>
16267
tragait5e9676e2021-01-14 16:07:07 +000016268 </div>
16269 <div class="inner required">
16270 Required
16271 </div>
16272 </div>
16273 </div>
16274 </td>
16275 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080016276
16277 </table>
16278
16279
16280 <div class="methodsubtabletitle">Body parameters</div>
16281 <table id="methodsubtable">
tragait5e9676e2021-01-14 16:07:07 +000016282 <tr>
16283 <th width="150px">Name</th>
16284 <th>Description</th>
16285 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080016286 <tr><td style="width:150px;">body </td>
tragait5e9676e2021-01-14 16:07:07 +000016287 <td>
seshukmb3a332a2018-10-05 16:27:16 +080016288
16289
tragait5e9676e2021-01-14 16:07:07 +000016290 <script>
seshukmb3a332a2018-10-05 16:27:16 +080016291$(document).ready(function() {
16292 var schemaWrapper = {
16293 "in" : "body",
16294 "name" : "body",
16295 "required" : false,
16296 "schema" : {
16297 "type" : "string"
16298 }
16299};
16300 var schema = schemaWrapper.schema;
16301 if (schema.$ref != null) {
16302 schema = defsParser.$refs.get(schema.$ref);
16303 } else {
16304 schemaWrapper.definitions = Object.assign({}, defs);
16305 $RefParser.dereference(schemaWrapper).catch(function(err) {
16306 console.log(err);
16307 });
16308 }
16309
16310 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
16311 var result = $('#d2e199_deactivateServiceInstance_body');
16312 result.empty();
16313 result.append(view.render());
16314});
16315</script>
tragait5e9676e2021-01-14 16:07:07 +000016316 <div id="d2e199_deactivateServiceInstance_body"></div>
16317 </td>
16318 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080016319
16320 </table>
16321
16322
16323
tragait5e9676e2021-01-14 16:07:07 +000016324 <h2>Responses</h2>
seshukmb3a332a2018-10-05 16:27:16 +080016325 <h3> Status: default - successful operation </h3>
16326
16327 <ul class="nav nav-tabs nav-tabs-examples" >
16328 </ul>
16329
16330 <div class="tab-content" style='margin-bottom: 10px;'>
16331 </div>
16332
16333 </article>
tragait5e9676e2021-01-14 16:07:07 +000016334 </div>
16335 <hr>
seshukmb3a332a2018-10-05 16:27:16 +080016336 <div id="api-OnapsoinfraserviceInstantiation-deleteNetworkInstance">
tragait5e9676e2021-01-14 16:07:07 +000016337 <article id="api-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0" data-group="User" data-name="deleteNetworkInstance" data-version="0">
16338 <div class="pull-left">
16339 <h1>deleteNetworkInstance</h1>
16340 <p>Delete provided Network instance</p>
16341 </div>
16342 <div class="pull-right"></div>
16343 <div class="clearfix"></div>
16344 <p></p>
16345 <p class="marked"></p>
16346 <p></p>
16347 <br />
16348 <pre class="prettyprint language-html prettyprinted" data-type="delete"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/networks/{networkInstanceId}</span></code></pre>
16349 <p>
16350 <h3>Usage and SDK Samples</h3>
16351 </p>
16352 <ul class="nav nav-tabs nav-tabs-examples">
16353 <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-curl">Curl</a></li>
16354 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-java">Java</a></li>
16355 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-android">Android</a></li>
16356 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-groovy">Groovy</a></li>-->
16357 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-objc">Obj-C</a></li>
16358 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-javascript">JavaScript</a></li>
16359 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-angular">Angular</a></li>-->
16360 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-csharp">C#</a></li>
16361 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-php">PHP</a></li>
16362 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-perl">Perl</a></li>
16363 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-python">Python</a></li>
16364 </ul>
seshukmb3a332a2018-10-05 16:27:16 +080016365
tragait5e9676e2021-01-14 16:07:07 +000016366 <div class="tab-content">
16367 <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-curl">
16368 <pre class="prettyprint"><code class="language-bsh">curl -X DELETE "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/networks/{networkInstanceId}"</code></pre>
16369 </div>
16370 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-java">
seshukmb3a332a2018-10-05 16:27:16 +080016371 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
16372import io.swagger.client.auth.*;
16373import io.swagger.client.model.*;
16374import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
16375
16376import java.io.File;
16377import java.util.*;
16378
16379public class OnapsoinfraserviceInstantiationApiExample {
16380
16381 public static void main(String[] args) {
tragait5e9676e2021-01-14 16:07:07 +000016382
seshukmb3a332a2018-10-05 16:27:16 +080016383 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000016384 String version = version_example; // String |
16385 String serviceInstanceId = serviceInstanceId_example; // String |
16386 String networkInstanceId = networkInstanceId_example; // String |
16387 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080016388 try {
16389 apiInstance.deleteNetworkInstance(version, serviceInstanceId, networkInstanceId, body);
16390 } catch (ApiException e) {
16391 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#deleteNetworkInstance");
16392 e.printStackTrace();
16393 }
16394 }
16395}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000016396 </div>
seshukmb3a332a2018-10-05 16:27:16 +080016397
tragait5e9676e2021-01-14 16:07:07 +000016398 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-android">
seshukmb3a332a2018-10-05 16:27:16 +080016399 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
16400
16401public class OnapsoinfraserviceInstantiationApiExample {
16402
16403 public static void main(String[] args) {
16404 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000016405 String version = version_example; // String |
16406 String serviceInstanceId = serviceInstanceId_example; // String |
16407 String networkInstanceId = networkInstanceId_example; // String |
16408 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080016409 try {
16410 apiInstance.deleteNetworkInstance(version, serviceInstanceId, networkInstanceId, body);
16411 } catch (ApiException e) {
16412 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#deleteNetworkInstance");
16413 e.printStackTrace();
16414 }
16415 }
16416}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000016417 </div>
16418 <!--
seshukmb3a332a2018-10-05 16:27:16 +080016419 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-groovy">
16420 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
16421 </div> -->
tragait5e9676e2021-01-14 16:07:07 +000016422 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-objc">
16423 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
16424String *serviceInstanceId = serviceInstanceId_example; //
16425String *networkInstanceId = networkInstanceId_example; //
seshukmb3a332a2018-10-05 16:27:16 +080016426String *body = body_example; // (optional)
16427
16428OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init];
16429
16430// Delete provided Network instance
16431[apiInstance deleteNetworkInstanceWith:version
16432 serviceInstanceId:serviceInstanceId
16433 networkInstanceId:networkInstanceId
16434 body:body
16435 completionHandler: ^(NSError* error) {
16436 if (error) {
16437 NSLog(@"Error: %@", error);
16438 }
16439 }];
16440</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000016441 </div>
seshukmb3a332a2018-10-05 16:27:16 +080016442
tragait5e9676e2021-01-14 16:07:07 +000016443 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-javascript">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053016444 <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is');
seshukmb3a332a2018-10-05 16:27:16 +080016445
Priyadharshinic86ab4a2020-08-14 17:11:49 +053016446var api = new SoGuilinApIs.OnapsoinfraserviceInstantiationApi()
seshukmb3a332a2018-10-05 16:27:16 +080016447
tragait5e9676e2021-01-14 16:07:07 +000016448var version = version_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080016449
tragait5e9676e2021-01-14 16:07:07 +000016450var serviceInstanceId = serviceInstanceId_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080016451
tragait5e9676e2021-01-14 16:07:07 +000016452var networkInstanceId = networkInstanceId_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080016453
tragait5e9676e2021-01-14 16:07:07 +000016454var opts = {
16455 'body': body_example // {String}
seshukmb3a332a2018-10-05 16:27:16 +080016456};
16457
16458var callback = function(error, data, response) {
16459 if (error) {
16460 console.error(error);
16461 } else {
16462 console.log('API called successfully.');
16463 }
16464};
16465api.deleteNetworkInstance(version, serviceInstanceId, networkInstanceId, opts, callback);
16466</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000016467 </div>
seshukmb3a332a2018-10-05 16:27:16 +080016468
tragait5e9676e2021-01-14 16:07:07 +000016469 <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-angular">
seshukmb3a332a2018-10-05 16:27:16 +080016470 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
16471 </div>-->
tragait5e9676e2021-01-14 16:07:07 +000016472 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-csharp">
seshukmb3a332a2018-10-05 16:27:16 +080016473 <pre class="prettyprint"><code class="language-cs">using System;
16474using System.Diagnostics;
16475using IO.Swagger.Api;
16476using IO.Swagger.Client;
16477using IO.Swagger.Model;
16478
16479namespace Example
16480{
16481 public class deleteNetworkInstanceExample
16482 {
16483 public void main()
16484 {
tragait5e9676e2021-01-14 16:07:07 +000016485
seshukmb3a332a2018-10-05 16:27:16 +080016486 var apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000016487 var version = version_example; // String |
16488 var serviceInstanceId = serviceInstanceId_example; // String |
16489 var networkInstanceId = networkInstanceId_example; // String |
16490 var body = body_example; // String | (optional)
seshukmb3a332a2018-10-05 16:27:16 +080016491
16492 try
16493 {
16494 // Delete provided Network instance
16495 apiInstance.deleteNetworkInstance(version, serviceInstanceId, networkInstanceId, body);
16496 }
16497 catch (Exception e)
16498 {
16499 Debug.Print("Exception when calling OnapsoinfraserviceInstantiationApi.deleteNetworkInstance: " + e.Message );
16500 }
16501 }
16502 }
16503}
16504</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000016505 </div>
seshukmb3a332a2018-10-05 16:27:16 +080016506
tragait5e9676e2021-01-14 16:07:07 +000016507 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-php">
seshukmb3a332a2018-10-05 16:27:16 +080016508 <pre class="prettyprint"><code class="language-php"><&#63;php
16509require_once(__DIR__ . '/vendor/autoload.php');
16510
16511$api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000016512$version = version_example; // String |
16513$serviceInstanceId = serviceInstanceId_example; // String |
16514$networkInstanceId = networkInstanceId_example; // String |
16515$body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080016516
16517try {
16518 $api_instance->deleteNetworkInstance($version, $serviceInstanceId, $networkInstanceId, $body);
16519} catch (Exception $e) {
16520 echo 'Exception when calling OnapsoinfraserviceInstantiationApi->deleteNetworkInstance: ', $e->getMessage(), PHP_EOL;
16521}
16522?></code></pre>
tragait5e9676e2021-01-14 16:07:07 +000016523 </div>
seshukmb3a332a2018-10-05 16:27:16 +080016524
tragait5e9676e2021-01-14 16:07:07 +000016525 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-perl">
seshukmb3a332a2018-10-05 16:27:16 +080016526 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
16527use WWW::SwaggerClient::Configuration;
16528use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi;
16529
16530my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new();
tragait5e9676e2021-01-14 16:07:07 +000016531my $version = version_example; # String |
16532my $serviceInstanceId = serviceInstanceId_example; # String |
16533my $networkInstanceId = networkInstanceId_example; # String |
16534my $body = WWW::SwaggerClient::Object::String->new(); # String |
seshukmb3a332a2018-10-05 16:27:16 +080016535
tragait5e9676e2021-01-14 16:07:07 +000016536eval {
seshukmb3a332a2018-10-05 16:27:16 +080016537 $api_instance->deleteNetworkInstance(version => $version, serviceInstanceId => $serviceInstanceId, networkInstanceId => $networkInstanceId, body => $body);
16538};
16539if ($@) {
16540 warn "Exception when calling OnapsoinfraserviceInstantiationApi->deleteNetworkInstance: $@\n";
16541}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000016542 </div>
seshukmb3a332a2018-10-05 16:27:16 +080016543
tragait5e9676e2021-01-14 16:07:07 +000016544 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-python">
seshukmb3a332a2018-10-05 16:27:16 +080016545 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
16546import time
16547import swagger_client
16548from swagger_client.rest import ApiException
16549from pprint import pprint
16550
16551# create an instance of the API class
16552api_instance = swagger_client.OnapsoinfraserviceInstantiationApi()
tragait5e9676e2021-01-14 16:07:07 +000016553version = version_example # String |
16554serviceInstanceId = serviceInstanceId_example # String |
16555networkInstanceId = networkInstanceId_example # String |
seshukmb3a332a2018-10-05 16:27:16 +080016556body = body_example # String | (optional)
16557
tragait5e9676e2021-01-14 16:07:07 +000016558try:
seshukmb3a332a2018-10-05 16:27:16 +080016559 # Delete provided Network instance
16560 api_instance.delete_network_instance(version, serviceInstanceId, networkInstanceId, body=body)
16561except ApiException as e:
16562 print("Exception when calling OnapsoinfraserviceInstantiationApi->deleteNetworkInstance: %s\n" % e)</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000016563 </div>
seshukmb3a332a2018-10-05 16:27:16 +080016564 </div>
seshukmb3a332a2018-10-05 16:27:16 +080016565
tragait5e9676e2021-01-14 16:07:07 +000016566 <h2>Parameters</h2>
seshukmb3a332a2018-10-05 16:27:16 +080016567
16568 <div class="methodsubtabletitle">Path parameters</div>
16569 <table id="methodsubtable">
16570 <tr>
tragait5e9676e2021-01-14 16:07:07 +000016571 <th width="150px">Name</th>
16572 <th>Description</th>
seshukmb3a332a2018-10-05 16:27:16 +080016573 </tr>
tragait5e9676e2021-01-14 16:07:07 +000016574 <tr><td style="width:150px;">version*</td>
16575 <td>
seshukmb3a332a2018-10-05 16:27:16 +080016576
16577
tragait5e9676e2021-01-14 16:07:07 +000016578 <div id="d2e199_deleteNetworkInstance_version">
16579 <div class="json-schema-view">
16580 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080016581 <span class="type">
16582 String
16583 </span>
16584
tragait5e9676e2021-01-14 16:07:07 +000016585 </div>
16586 <div class="inner required">
16587 Required
16588 </div>
16589 </div>
16590 </div>
16591 </td>
16592 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080016593
tragait5e9676e2021-01-14 16:07:07 +000016594 <tr><td style="width:150px;">serviceInstanceId*</td>
16595 <td>
seshukmb3a332a2018-10-05 16:27:16 +080016596
16597
tragait5e9676e2021-01-14 16:07:07 +000016598 <div id="d2e199_deleteNetworkInstance_serviceInstanceId">
16599 <div class="json-schema-view">
16600 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080016601 <span class="type">
16602 String
16603 </span>
16604
tragait5e9676e2021-01-14 16:07:07 +000016605 </div>
16606 <div class="inner required">
16607 Required
16608 </div>
16609 </div>
16610 </div>
16611 </td>
16612 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080016613
tragait5e9676e2021-01-14 16:07:07 +000016614 <tr><td style="width:150px;">networkInstanceId*</td>
16615 <td>
seshukmb3a332a2018-10-05 16:27:16 +080016616
16617
tragait5e9676e2021-01-14 16:07:07 +000016618 <div id="d2e199_deleteNetworkInstance_networkInstanceId">
16619 <div class="json-schema-view">
16620 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080016621 <span class="type">
16622 String
16623 </span>
16624
tragait5e9676e2021-01-14 16:07:07 +000016625 </div>
16626 <div class="inner required">
16627 Required
16628 </div>
16629 </div>
16630 </div>
16631 </td>
16632 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080016633
16634 </table>
16635
16636
16637 <div class="methodsubtabletitle">Body parameters</div>
16638 <table id="methodsubtable">
tragait5e9676e2021-01-14 16:07:07 +000016639 <tr>
16640 <th width="150px">Name</th>
16641 <th>Description</th>
16642 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080016643 <tr><td style="width:150px;">body </td>
tragait5e9676e2021-01-14 16:07:07 +000016644 <td>
seshukmb3a332a2018-10-05 16:27:16 +080016645
16646
tragait5e9676e2021-01-14 16:07:07 +000016647 <script>
seshukmb3a332a2018-10-05 16:27:16 +080016648$(document).ready(function() {
16649 var schemaWrapper = {
16650 "in" : "body",
16651 "name" : "body",
16652 "required" : false,
16653 "schema" : {
16654 "type" : "string"
16655 }
16656};
16657 var schema = schemaWrapper.schema;
16658 if (schema.$ref != null) {
16659 schema = defsParser.$refs.get(schema.$ref);
16660 } else {
16661 schemaWrapper.definitions = Object.assign({}, defs);
16662 $RefParser.dereference(schemaWrapper).catch(function(err) {
16663 console.log(err);
16664 });
16665 }
16666
16667 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
16668 var result = $('#d2e199_deleteNetworkInstance_body');
16669 result.empty();
16670 result.append(view.render());
16671});
16672</script>
tragait5e9676e2021-01-14 16:07:07 +000016673 <div id="d2e199_deleteNetworkInstance_body"></div>
16674 </td>
16675 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080016676
16677 </table>
16678
16679
16680
tragait5e9676e2021-01-14 16:07:07 +000016681 <h2>Responses</h2>
seshukmb3a332a2018-10-05 16:27:16 +080016682 <h3> Status: default - successful operation </h3>
16683
16684 <ul class="nav nav-tabs nav-tabs-examples" >
16685 </ul>
16686
16687 <div class="tab-content" style='margin-bottom: 10px;'>
16688 </div>
16689
16690 </article>
tragait5e9676e2021-01-14 16:07:07 +000016691 </div>
16692 <hr>
seshukmb3a332a2018-10-05 16:27:16 +080016693 <div id="api-OnapsoinfraserviceInstantiation-deletePortConfiguration">
tragait5e9676e2021-01-14 16:07:07 +000016694 <article id="api-OnapsoinfraserviceInstantiation-deletePortConfiguration-0" data-group="User" data-name="deletePortConfiguration" data-version="0">
16695 <div class="pull-left">
16696 <h1>deletePortConfiguration</h1>
16697 <p>Delete provided Port</p>
16698 </div>
16699 <div class="pull-right"></div>
16700 <div class="clearfix"></div>
16701 <p></p>
16702 <p class="marked"></p>
16703 <p></p>
16704 <br />
16705 <pre class="prettyprint language-html prettyprinted" data-type="delete"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}</span></code></pre>
16706 <p>
16707 <h3>Usage and SDK Samples</h3>
16708 </p>
16709 <ul class="nav nav-tabs nav-tabs-examples">
16710 <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-curl">Curl</a></li>
16711 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-java">Java</a></li>
16712 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-android">Android</a></li>
16713 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-groovy">Groovy</a></li>-->
16714 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-objc">Obj-C</a></li>
16715 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-javascript">JavaScript</a></li>
16716 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-angular">Angular</a></li>-->
16717 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-csharp">C#</a></li>
16718 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-php">PHP</a></li>
16719 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-perl">Perl</a></li>
16720 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-python">Python</a></li>
16721 </ul>
seshukmb3a332a2018-10-05 16:27:16 +080016722
tragait5e9676e2021-01-14 16:07:07 +000016723 <div class="tab-content">
16724 <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-curl">
16725 <pre class="prettyprint"><code class="language-bsh">curl -X DELETE "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}"</code></pre>
16726 </div>
16727 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-java">
seshukmb3a332a2018-10-05 16:27:16 +080016728 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
16729import io.swagger.client.auth.*;
16730import io.swagger.client.model.*;
16731import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
16732
16733import java.io.File;
16734import java.util.*;
16735
16736public class OnapsoinfraserviceInstantiationApiExample {
16737
16738 public static void main(String[] args) {
tragait5e9676e2021-01-14 16:07:07 +000016739
seshukmb3a332a2018-10-05 16:27:16 +080016740 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000016741 String version = version_example; // String |
16742 String serviceInstanceId = serviceInstanceId_example; // String |
16743 String configurationInstanceId = configurationInstanceId_example; // String |
16744 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080016745 try {
16746 apiInstance.deletePortConfiguration(version, serviceInstanceId, configurationInstanceId, body);
16747 } catch (ApiException e) {
16748 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#deletePortConfiguration");
16749 e.printStackTrace();
16750 }
16751 }
16752}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000016753 </div>
seshukmb3a332a2018-10-05 16:27:16 +080016754
tragait5e9676e2021-01-14 16:07:07 +000016755 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-android">
seshukmb3a332a2018-10-05 16:27:16 +080016756 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
16757
16758public class OnapsoinfraserviceInstantiationApiExample {
16759
16760 public static void main(String[] args) {
16761 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000016762 String version = version_example; // String |
16763 String serviceInstanceId = serviceInstanceId_example; // String |
16764 String configurationInstanceId = configurationInstanceId_example; // String |
16765 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080016766 try {
16767 apiInstance.deletePortConfiguration(version, serviceInstanceId, configurationInstanceId, body);
16768 } catch (ApiException e) {
16769 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#deletePortConfiguration");
16770 e.printStackTrace();
16771 }
16772 }
16773}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000016774 </div>
16775 <!--
seshukmb3a332a2018-10-05 16:27:16 +080016776 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-groovy">
16777 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
16778 </div> -->
tragait5e9676e2021-01-14 16:07:07 +000016779 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-objc">
16780 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
16781String *serviceInstanceId = serviceInstanceId_example; //
16782String *configurationInstanceId = configurationInstanceId_example; //
seshukmb3a332a2018-10-05 16:27:16 +080016783String *body = body_example; // (optional)
16784
16785OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init];
16786
16787// Delete provided Port
16788[apiInstance deletePortConfigurationWith:version
16789 serviceInstanceId:serviceInstanceId
16790 configurationInstanceId:configurationInstanceId
16791 body:body
16792 completionHandler: ^(NSError* error) {
16793 if (error) {
16794 NSLog(@"Error: %@", error);
16795 }
16796 }];
16797</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000016798 </div>
seshukmb3a332a2018-10-05 16:27:16 +080016799
tragait5e9676e2021-01-14 16:07:07 +000016800 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-javascript">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053016801 <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is');
seshukmb3a332a2018-10-05 16:27:16 +080016802
Priyadharshinic86ab4a2020-08-14 17:11:49 +053016803var api = new SoGuilinApIs.OnapsoinfraserviceInstantiationApi()
seshukmb3a332a2018-10-05 16:27:16 +080016804
tragait5e9676e2021-01-14 16:07:07 +000016805var version = version_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080016806
tragait5e9676e2021-01-14 16:07:07 +000016807var serviceInstanceId = serviceInstanceId_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080016808
tragait5e9676e2021-01-14 16:07:07 +000016809var configurationInstanceId = configurationInstanceId_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080016810
tragait5e9676e2021-01-14 16:07:07 +000016811var opts = {
16812 'body': body_example // {String}
seshukmb3a332a2018-10-05 16:27:16 +080016813};
16814
16815var callback = function(error, data, response) {
16816 if (error) {
16817 console.error(error);
16818 } else {
16819 console.log('API called successfully.');
16820 }
16821};
16822api.deletePortConfiguration(version, serviceInstanceId, configurationInstanceId, opts, callback);
16823</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000016824 </div>
seshukmb3a332a2018-10-05 16:27:16 +080016825
tragait5e9676e2021-01-14 16:07:07 +000016826 <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-angular">
seshukmb3a332a2018-10-05 16:27:16 +080016827 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
16828 </div>-->
tragait5e9676e2021-01-14 16:07:07 +000016829 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-csharp">
seshukmb3a332a2018-10-05 16:27:16 +080016830 <pre class="prettyprint"><code class="language-cs">using System;
16831using System.Diagnostics;
16832using IO.Swagger.Api;
16833using IO.Swagger.Client;
16834using IO.Swagger.Model;
16835
16836namespace Example
16837{
16838 public class deletePortConfigurationExample
16839 {
16840 public void main()
16841 {
tragait5e9676e2021-01-14 16:07:07 +000016842
seshukmb3a332a2018-10-05 16:27:16 +080016843 var apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000016844 var version = version_example; // String |
16845 var serviceInstanceId = serviceInstanceId_example; // String |
16846 var configurationInstanceId = configurationInstanceId_example; // String |
16847 var body = body_example; // String | (optional)
seshukmb3a332a2018-10-05 16:27:16 +080016848
16849 try
16850 {
16851 // Delete provided Port
16852 apiInstance.deletePortConfiguration(version, serviceInstanceId, configurationInstanceId, body);
16853 }
16854 catch (Exception e)
16855 {
16856 Debug.Print("Exception when calling OnapsoinfraserviceInstantiationApi.deletePortConfiguration: " + e.Message );
16857 }
16858 }
16859 }
16860}
16861</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000016862 </div>
seshukmb3a332a2018-10-05 16:27:16 +080016863
tragait5e9676e2021-01-14 16:07:07 +000016864 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-php">
seshukmb3a332a2018-10-05 16:27:16 +080016865 <pre class="prettyprint"><code class="language-php"><&#63;php
16866require_once(__DIR__ . '/vendor/autoload.php');
16867
16868$api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000016869$version = version_example; // String |
16870$serviceInstanceId = serviceInstanceId_example; // String |
16871$configurationInstanceId = configurationInstanceId_example; // String |
16872$body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080016873
16874try {
16875 $api_instance->deletePortConfiguration($version, $serviceInstanceId, $configurationInstanceId, $body);
16876} catch (Exception $e) {
16877 echo 'Exception when calling OnapsoinfraserviceInstantiationApi->deletePortConfiguration: ', $e->getMessage(), PHP_EOL;
16878}
16879?></code></pre>
tragait5e9676e2021-01-14 16:07:07 +000016880 </div>
seshukmb3a332a2018-10-05 16:27:16 +080016881
tragait5e9676e2021-01-14 16:07:07 +000016882 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-perl">
seshukmb3a332a2018-10-05 16:27:16 +080016883 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
16884use WWW::SwaggerClient::Configuration;
16885use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi;
16886
16887my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new();
tragait5e9676e2021-01-14 16:07:07 +000016888my $version = version_example; # String |
16889my $serviceInstanceId = serviceInstanceId_example; # String |
16890my $configurationInstanceId = configurationInstanceId_example; # String |
16891my $body = WWW::SwaggerClient::Object::String->new(); # String |
seshukmb3a332a2018-10-05 16:27:16 +080016892
tragait5e9676e2021-01-14 16:07:07 +000016893eval {
seshukmb3a332a2018-10-05 16:27:16 +080016894 $api_instance->deletePortConfiguration(version => $version, serviceInstanceId => $serviceInstanceId, configurationInstanceId => $configurationInstanceId, body => $body);
16895};
16896if ($@) {
16897 warn "Exception when calling OnapsoinfraserviceInstantiationApi->deletePortConfiguration: $@\n";
16898}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000016899 </div>
seshukmb3a332a2018-10-05 16:27:16 +080016900
tragait5e9676e2021-01-14 16:07:07 +000016901 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-python">
seshukmb3a332a2018-10-05 16:27:16 +080016902 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
16903import time
16904import swagger_client
16905from swagger_client.rest import ApiException
16906from pprint import pprint
16907
16908# create an instance of the API class
16909api_instance = swagger_client.OnapsoinfraserviceInstantiationApi()
tragait5e9676e2021-01-14 16:07:07 +000016910version = version_example # String |
16911serviceInstanceId = serviceInstanceId_example # String |
16912configurationInstanceId = configurationInstanceId_example # String |
seshukmb3a332a2018-10-05 16:27:16 +080016913body = body_example # String | (optional)
16914
tragait5e9676e2021-01-14 16:07:07 +000016915try:
seshukmb3a332a2018-10-05 16:27:16 +080016916 # Delete provided Port
16917 api_instance.delete_port_configuration(version, serviceInstanceId, configurationInstanceId, body=body)
16918except ApiException as e:
16919 print("Exception when calling OnapsoinfraserviceInstantiationApi->deletePortConfiguration: %s\n" % e)</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000016920 </div>
seshukmb3a332a2018-10-05 16:27:16 +080016921 </div>
seshukmb3a332a2018-10-05 16:27:16 +080016922
tragait5e9676e2021-01-14 16:07:07 +000016923 <h2>Parameters</h2>
seshukmb3a332a2018-10-05 16:27:16 +080016924
16925 <div class="methodsubtabletitle">Path parameters</div>
16926 <table id="methodsubtable">
16927 <tr>
tragait5e9676e2021-01-14 16:07:07 +000016928 <th width="150px">Name</th>
16929 <th>Description</th>
seshukmb3a332a2018-10-05 16:27:16 +080016930 </tr>
tragait5e9676e2021-01-14 16:07:07 +000016931 <tr><td style="width:150px;">version*</td>
16932 <td>
seshukmb3a332a2018-10-05 16:27:16 +080016933
16934
tragait5e9676e2021-01-14 16:07:07 +000016935 <div id="d2e199_deletePortConfiguration_version">
16936 <div class="json-schema-view">
16937 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080016938 <span class="type">
16939 String
16940 </span>
16941
tragait5e9676e2021-01-14 16:07:07 +000016942 </div>
16943 <div class="inner required">
16944 Required
16945 </div>
16946 </div>
16947 </div>
16948 </td>
16949 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080016950
tragait5e9676e2021-01-14 16:07:07 +000016951 <tr><td style="width:150px;">serviceInstanceId*</td>
16952 <td>
seshukmb3a332a2018-10-05 16:27:16 +080016953
16954
tragait5e9676e2021-01-14 16:07:07 +000016955 <div id="d2e199_deletePortConfiguration_serviceInstanceId">
16956 <div class="json-schema-view">
16957 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080016958 <span class="type">
16959 String
16960 </span>
16961
tragait5e9676e2021-01-14 16:07:07 +000016962 </div>
16963 <div class="inner required">
16964 Required
16965 </div>
16966 </div>
16967 </div>
16968 </td>
16969 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080016970
tragait5e9676e2021-01-14 16:07:07 +000016971 <tr><td style="width:150px;">configurationInstanceId*</td>
16972 <td>
seshukmb3a332a2018-10-05 16:27:16 +080016973
16974
tragait5e9676e2021-01-14 16:07:07 +000016975 <div id="d2e199_deletePortConfiguration_configurationInstanceId">
16976 <div class="json-schema-view">
16977 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080016978 <span class="type">
16979 String
16980 </span>
16981
tragait5e9676e2021-01-14 16:07:07 +000016982 </div>
16983 <div class="inner required">
16984 Required
16985 </div>
16986 </div>
16987 </div>
16988 </td>
16989 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080016990
16991 </table>
16992
16993
16994 <div class="methodsubtabletitle">Body parameters</div>
16995 <table id="methodsubtable">
tragait5e9676e2021-01-14 16:07:07 +000016996 <tr>
16997 <th width="150px">Name</th>
16998 <th>Description</th>
16999 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080017000 <tr><td style="width:150px;">body </td>
tragait5e9676e2021-01-14 16:07:07 +000017001 <td>
seshukmb3a332a2018-10-05 16:27:16 +080017002
17003
tragait5e9676e2021-01-14 16:07:07 +000017004 <script>
seshukmb3a332a2018-10-05 16:27:16 +080017005$(document).ready(function() {
17006 var schemaWrapper = {
17007 "in" : "body",
17008 "name" : "body",
17009 "required" : false,
17010 "schema" : {
17011 "type" : "string"
17012 }
17013};
17014 var schema = schemaWrapper.schema;
17015 if (schema.$ref != null) {
17016 schema = defsParser.$refs.get(schema.$ref);
17017 } else {
17018 schemaWrapper.definitions = Object.assign({}, defs);
17019 $RefParser.dereference(schemaWrapper).catch(function(err) {
17020 console.log(err);
17021 });
17022 }
17023
17024 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
17025 var result = $('#d2e199_deletePortConfiguration_body');
17026 result.empty();
17027 result.append(view.render());
17028});
17029</script>
tragait5e9676e2021-01-14 16:07:07 +000017030 <div id="d2e199_deletePortConfiguration_body"></div>
17031 </td>
17032 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080017033
17034 </table>
17035
17036
17037
tragait5e9676e2021-01-14 16:07:07 +000017038 <h2>Responses</h2>
seshukmb3a332a2018-10-05 16:27:16 +080017039 <h3> Status: default - successful operation </h3>
17040
17041 <ul class="nav nav-tabs nav-tabs-examples" >
17042 </ul>
17043
17044 <div class="tab-content" style='margin-bottom: 10px;'>
17045 </div>
17046
17047 </article>
tragait5e9676e2021-01-14 16:07:07 +000017048 </div>
17049 <hr>
seshukmb3a332a2018-10-05 16:27:16 +080017050 <div id="api-OnapsoinfraserviceInstantiation-deleteServiceInstance">
tragait5e9676e2021-01-14 16:07:07 +000017051 <article id="api-OnapsoinfraserviceInstantiation-deleteServiceInstance-0" data-group="User" data-name="deleteServiceInstance" data-version="0">
17052 <div class="pull-left">
17053 <h1>deleteServiceInstance</h1>
17054 <p>Delete provided Service Instance</p>
17055 </div>
17056 <div class="pull-right"></div>
17057 <div class="clearfix"></div>
17058 <p></p>
17059 <p class="marked"></p>
17060 <p></p>
17061 <br />
17062 <pre class="prettyprint language-html prettyprinted" data-type="delete"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}</span></code></pre>
17063 <p>
17064 <h3>Usage and SDK Samples</h3>
17065 </p>
17066 <ul class="nav nav-tabs nav-tabs-examples">
17067 <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-curl">Curl</a></li>
17068 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-java">Java</a></li>
17069 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-android">Android</a></li>
17070 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-groovy">Groovy</a></li>-->
17071 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-objc">Obj-C</a></li>
17072 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-javascript">JavaScript</a></li>
17073 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-angular">Angular</a></li>-->
17074 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-csharp">C#</a></li>
17075 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-php">PHP</a></li>
17076 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-perl">Perl</a></li>
17077 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-python">Python</a></li>
17078 </ul>
seshukmb3a332a2018-10-05 16:27:16 +080017079
tragait5e9676e2021-01-14 16:07:07 +000017080 <div class="tab-content">
17081 <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-curl">
17082 <pre class="prettyprint"><code class="language-bsh">curl -X DELETE "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}"</code></pre>
17083 </div>
17084 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-java">
seshukmb3a332a2018-10-05 16:27:16 +080017085 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
17086import io.swagger.client.auth.*;
17087import io.swagger.client.model.*;
17088import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
17089
17090import java.io.File;
17091import java.util.*;
17092
17093public class OnapsoinfraserviceInstantiationApiExample {
17094
17095 public static void main(String[] args) {
tragait5e9676e2021-01-14 16:07:07 +000017096
seshukmb3a332a2018-10-05 16:27:16 +080017097 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000017098 String version = version_example; // String |
17099 String serviceInstanceId = serviceInstanceId_example; // String |
17100 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080017101 try {
17102 apiInstance.deleteServiceInstance(version, serviceInstanceId, body);
17103 } catch (ApiException e) {
17104 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#deleteServiceInstance");
17105 e.printStackTrace();
17106 }
17107 }
17108}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000017109 </div>
seshukmb3a332a2018-10-05 16:27:16 +080017110
tragait5e9676e2021-01-14 16:07:07 +000017111 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-android">
seshukmb3a332a2018-10-05 16:27:16 +080017112 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
17113
17114public class OnapsoinfraserviceInstantiationApiExample {
17115
17116 public static void main(String[] args) {
17117 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000017118 String version = version_example; // String |
17119 String serviceInstanceId = serviceInstanceId_example; // String |
17120 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080017121 try {
17122 apiInstance.deleteServiceInstance(version, serviceInstanceId, body);
17123 } catch (ApiException e) {
17124 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#deleteServiceInstance");
17125 e.printStackTrace();
17126 }
17127 }
17128}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000017129 </div>
17130 <!--
seshukmb3a332a2018-10-05 16:27:16 +080017131 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-groovy">
17132 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
17133 </div> -->
tragait5e9676e2021-01-14 16:07:07 +000017134 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-objc">
17135 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
17136String *serviceInstanceId = serviceInstanceId_example; //
seshukmb3a332a2018-10-05 16:27:16 +080017137String *body = body_example; // (optional)
17138
17139OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init];
17140
17141// Delete provided Service Instance
17142[apiInstance deleteServiceInstanceWith:version
17143 serviceInstanceId:serviceInstanceId
17144 body:body
17145 completionHandler: ^(NSError* error) {
17146 if (error) {
17147 NSLog(@"Error: %@", error);
17148 }
17149 }];
17150</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000017151 </div>
seshukmb3a332a2018-10-05 16:27:16 +080017152
tragait5e9676e2021-01-14 16:07:07 +000017153 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-javascript">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053017154 <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is');
seshukmb3a332a2018-10-05 16:27:16 +080017155
Priyadharshinic86ab4a2020-08-14 17:11:49 +053017156var api = new SoGuilinApIs.OnapsoinfraserviceInstantiationApi()
seshukmb3a332a2018-10-05 16:27:16 +080017157
tragait5e9676e2021-01-14 16:07:07 +000017158var version = version_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080017159
tragait5e9676e2021-01-14 16:07:07 +000017160var serviceInstanceId = serviceInstanceId_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080017161
tragait5e9676e2021-01-14 16:07:07 +000017162var opts = {
17163 'body': body_example // {String}
seshukmb3a332a2018-10-05 16:27:16 +080017164};
17165
17166var callback = function(error, data, response) {
17167 if (error) {
17168 console.error(error);
17169 } else {
17170 console.log('API called successfully.');
17171 }
17172};
17173api.deleteServiceInstance(version, serviceInstanceId, opts, callback);
17174</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000017175 </div>
seshukmb3a332a2018-10-05 16:27:16 +080017176
tragait5e9676e2021-01-14 16:07:07 +000017177 <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-angular">
seshukmb3a332a2018-10-05 16:27:16 +080017178 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
17179 </div>-->
tragait5e9676e2021-01-14 16:07:07 +000017180 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-csharp">
seshukmb3a332a2018-10-05 16:27:16 +080017181 <pre class="prettyprint"><code class="language-cs">using System;
17182using System.Diagnostics;
17183using IO.Swagger.Api;
17184using IO.Swagger.Client;
17185using IO.Swagger.Model;
17186
17187namespace Example
17188{
17189 public class deleteServiceInstanceExample
17190 {
17191 public void main()
17192 {
tragait5e9676e2021-01-14 16:07:07 +000017193
seshukmb3a332a2018-10-05 16:27:16 +080017194 var apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000017195 var version = version_example; // String |
17196 var serviceInstanceId = serviceInstanceId_example; // String |
17197 var body = body_example; // String | (optional)
seshukmb3a332a2018-10-05 16:27:16 +080017198
17199 try
17200 {
17201 // Delete provided Service Instance
17202 apiInstance.deleteServiceInstance(version, serviceInstanceId, body);
17203 }
17204 catch (Exception e)
17205 {
17206 Debug.Print("Exception when calling OnapsoinfraserviceInstantiationApi.deleteServiceInstance: " + e.Message );
17207 }
17208 }
17209 }
17210}
17211</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000017212 </div>
seshukmb3a332a2018-10-05 16:27:16 +080017213
tragait5e9676e2021-01-14 16:07:07 +000017214 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-php">
seshukmb3a332a2018-10-05 16:27:16 +080017215 <pre class="prettyprint"><code class="language-php"><&#63;php
17216require_once(__DIR__ . '/vendor/autoload.php');
17217
17218$api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000017219$version = version_example; // String |
17220$serviceInstanceId = serviceInstanceId_example; // String |
17221$body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080017222
17223try {
17224 $api_instance->deleteServiceInstance($version, $serviceInstanceId, $body);
17225} catch (Exception $e) {
17226 echo 'Exception when calling OnapsoinfraserviceInstantiationApi->deleteServiceInstance: ', $e->getMessage(), PHP_EOL;
17227}
17228?></code></pre>
tragait5e9676e2021-01-14 16:07:07 +000017229 </div>
seshukmb3a332a2018-10-05 16:27:16 +080017230
tragait5e9676e2021-01-14 16:07:07 +000017231 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-perl">
seshukmb3a332a2018-10-05 16:27:16 +080017232 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
17233use WWW::SwaggerClient::Configuration;
17234use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi;
17235
17236my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new();
tragait5e9676e2021-01-14 16:07:07 +000017237my $version = version_example; # String |
17238my $serviceInstanceId = serviceInstanceId_example; # String |
17239my $body = WWW::SwaggerClient::Object::String->new(); # String |
seshukmb3a332a2018-10-05 16:27:16 +080017240
tragait5e9676e2021-01-14 16:07:07 +000017241eval {
seshukmb3a332a2018-10-05 16:27:16 +080017242 $api_instance->deleteServiceInstance(version => $version, serviceInstanceId => $serviceInstanceId, body => $body);
17243};
17244if ($@) {
17245 warn "Exception when calling OnapsoinfraserviceInstantiationApi->deleteServiceInstance: $@\n";
17246}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000017247 </div>
seshukmb3a332a2018-10-05 16:27:16 +080017248
tragait5e9676e2021-01-14 16:07:07 +000017249 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-python">
seshukmb3a332a2018-10-05 16:27:16 +080017250 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
17251import time
17252import swagger_client
17253from swagger_client.rest import ApiException
17254from pprint import pprint
17255
17256# create an instance of the API class
17257api_instance = swagger_client.OnapsoinfraserviceInstantiationApi()
tragait5e9676e2021-01-14 16:07:07 +000017258version = version_example # String |
17259serviceInstanceId = serviceInstanceId_example # String |
seshukmb3a332a2018-10-05 16:27:16 +080017260body = body_example # String | (optional)
17261
tragait5e9676e2021-01-14 16:07:07 +000017262try:
seshukmb3a332a2018-10-05 16:27:16 +080017263 # Delete provided Service Instance
17264 api_instance.delete_service_instance(version, serviceInstanceId, body=body)
17265except ApiException as e:
17266 print("Exception when calling OnapsoinfraserviceInstantiationApi->deleteServiceInstance: %s\n" % e)</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000017267 </div>
seshukmb3a332a2018-10-05 16:27:16 +080017268 </div>
seshukmb3a332a2018-10-05 16:27:16 +080017269
tragait5e9676e2021-01-14 16:07:07 +000017270 <h2>Parameters</h2>
seshukmb3a332a2018-10-05 16:27:16 +080017271
17272 <div class="methodsubtabletitle">Path parameters</div>
17273 <table id="methodsubtable">
17274 <tr>
tragait5e9676e2021-01-14 16:07:07 +000017275 <th width="150px">Name</th>
17276 <th>Description</th>
seshukmb3a332a2018-10-05 16:27:16 +080017277 </tr>
tragait5e9676e2021-01-14 16:07:07 +000017278 <tr><td style="width:150px;">version*</td>
17279 <td>
seshukmb3a332a2018-10-05 16:27:16 +080017280
17281
tragait5e9676e2021-01-14 16:07:07 +000017282 <div id="d2e199_deleteServiceInstance_version">
17283 <div class="json-schema-view">
17284 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080017285 <span class="type">
17286 String
17287 </span>
17288
tragait5e9676e2021-01-14 16:07:07 +000017289 </div>
17290 <div class="inner required">
17291 Required
17292 </div>
17293 </div>
17294 </div>
17295 </td>
17296 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080017297
tragait5e9676e2021-01-14 16:07:07 +000017298 <tr><td style="width:150px;">serviceInstanceId*</td>
17299 <td>
seshukmb3a332a2018-10-05 16:27:16 +080017300
17301
tragait5e9676e2021-01-14 16:07:07 +000017302 <div id="d2e199_deleteServiceInstance_serviceInstanceId">
17303 <div class="json-schema-view">
17304 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080017305 <span class="type">
17306 String
17307 </span>
17308
tragait5e9676e2021-01-14 16:07:07 +000017309 </div>
17310 <div class="inner required">
17311 Required
17312 </div>
17313 </div>
17314 </div>
17315 </td>
17316 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080017317
17318 </table>
17319
17320
17321 <div class="methodsubtabletitle">Body parameters</div>
17322 <table id="methodsubtable">
tragait5e9676e2021-01-14 16:07:07 +000017323 <tr>
17324 <th width="150px">Name</th>
17325 <th>Description</th>
17326 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080017327 <tr><td style="width:150px;">body </td>
tragait5e9676e2021-01-14 16:07:07 +000017328 <td>
seshukmb3a332a2018-10-05 16:27:16 +080017329
17330
tragait5e9676e2021-01-14 16:07:07 +000017331 <script>
seshukmb3a332a2018-10-05 16:27:16 +080017332$(document).ready(function() {
17333 var schemaWrapper = {
17334 "in" : "body",
17335 "name" : "body",
17336 "required" : false,
17337 "schema" : {
17338 "type" : "string"
17339 }
17340};
17341 var schema = schemaWrapper.schema;
17342 if (schema.$ref != null) {
17343 schema = defsParser.$refs.get(schema.$ref);
17344 } else {
17345 schemaWrapper.definitions = Object.assign({}, defs);
17346 $RefParser.dereference(schemaWrapper).catch(function(err) {
17347 console.log(err);
17348 });
17349 }
17350
17351 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
17352 var result = $('#d2e199_deleteServiceInstance_body');
17353 result.empty();
17354 result.append(view.render());
17355});
17356</script>
tragait5e9676e2021-01-14 16:07:07 +000017357 <div id="d2e199_deleteServiceInstance_body"></div>
17358 </td>
17359 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080017360
17361 </table>
17362
17363
17364
tragait5e9676e2021-01-14 16:07:07 +000017365 <h2>Responses</h2>
seshukmb3a332a2018-10-05 16:27:16 +080017366 <h3> Status: default - successful operation </h3>
17367
17368 <ul class="nav nav-tabs nav-tabs-examples" >
17369 </ul>
17370
17371 <div class="tab-content" style='margin-bottom: 10px;'>
17372 </div>
17373
17374 </article>
tragait5e9676e2021-01-14 16:07:07 +000017375 </div>
17376 <hr>
seshukmb3a332a2018-10-05 16:27:16 +080017377 <div id="api-OnapsoinfraserviceInstantiation-deleteVfModuleInstance">
tragait5e9676e2021-01-14 16:07:07 +000017378 <article id="api-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0" data-group="User" data-name="deleteVfModuleInstance" data-version="0">
17379 <div class="pull-left">
17380 <h1>deleteVfModuleInstance</h1>
17381 <p>Delete provided VfModule instance</p>
17382 </div>
17383 <div class="pull-right"></div>
17384 <div class="clearfix"></div>
17385 <p></p>
17386 <p class="marked"></p>
17387 <p></p>
17388 <br />
17389 <pre class="prettyprint language-html prettyprinted" data-type="delete"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/{vfmoduleInstanceId}</span></code></pre>
17390 <p>
17391 <h3>Usage and SDK Samples</h3>
17392 </p>
17393 <ul class="nav nav-tabs nav-tabs-examples">
17394 <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-curl">Curl</a></li>
17395 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-java">Java</a></li>
17396 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-android">Android</a></li>
17397 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-groovy">Groovy</a></li>-->
17398 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-objc">Obj-C</a></li>
17399 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-javascript">JavaScript</a></li>
17400 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-angular">Angular</a></li>-->
17401 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-csharp">C#</a></li>
17402 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-php">PHP</a></li>
17403 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-perl">Perl</a></li>
17404 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-python">Python</a></li>
17405 </ul>
seshukmb3a332a2018-10-05 16:27:16 +080017406
tragait5e9676e2021-01-14 16:07:07 +000017407 <div class="tab-content">
17408 <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-curl">
17409 <pre class="prettyprint"><code class="language-bsh">curl -X DELETE "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/{vfmoduleInstanceId}"</code></pre>
17410 </div>
17411 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-java">
seshukmb3a332a2018-10-05 16:27:16 +080017412 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
17413import io.swagger.client.auth.*;
17414import io.swagger.client.model.*;
17415import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
17416
17417import java.io.File;
17418import java.util.*;
17419
17420public class OnapsoinfraserviceInstantiationApiExample {
17421
17422 public static void main(String[] args) {
tragait5e9676e2021-01-14 16:07:07 +000017423
seshukmb3a332a2018-10-05 16:27:16 +080017424 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000017425 String version = version_example; // String |
17426 String serviceInstanceId = serviceInstanceId_example; // String |
17427 String vnfInstanceId = vnfInstanceId_example; // String |
17428 String vfmoduleInstanceId = vfmoduleInstanceId_example; // String |
17429 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080017430 try {
17431 apiInstance.deleteVfModuleInstance(version, serviceInstanceId, vnfInstanceId, vfmoduleInstanceId, body);
17432 } catch (ApiException e) {
17433 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#deleteVfModuleInstance");
17434 e.printStackTrace();
17435 }
17436 }
17437}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000017438 </div>
seshukmb3a332a2018-10-05 16:27:16 +080017439
tragait5e9676e2021-01-14 16:07:07 +000017440 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-android">
seshukmb3a332a2018-10-05 16:27:16 +080017441 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
17442
17443public class OnapsoinfraserviceInstantiationApiExample {
17444
17445 public static void main(String[] args) {
17446 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000017447 String version = version_example; // String |
17448 String serviceInstanceId = serviceInstanceId_example; // String |
17449 String vnfInstanceId = vnfInstanceId_example; // String |
17450 String vfmoduleInstanceId = vfmoduleInstanceId_example; // String |
17451 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080017452 try {
17453 apiInstance.deleteVfModuleInstance(version, serviceInstanceId, vnfInstanceId, vfmoduleInstanceId, body);
17454 } catch (ApiException e) {
17455 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#deleteVfModuleInstance");
17456 e.printStackTrace();
17457 }
17458 }
17459}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000017460 </div>
17461 <!--
seshukmb3a332a2018-10-05 16:27:16 +080017462 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-groovy">
17463 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
17464 </div> -->
tragait5e9676e2021-01-14 16:07:07 +000017465 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-objc">
17466 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
17467String *serviceInstanceId = serviceInstanceId_example; //
17468String *vnfInstanceId = vnfInstanceId_example; //
17469String *vfmoduleInstanceId = vfmoduleInstanceId_example; //
seshukmb3a332a2018-10-05 16:27:16 +080017470String *body = body_example; // (optional)
17471
17472OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init];
17473
17474// Delete provided VfModule instance
17475[apiInstance deleteVfModuleInstanceWith:version
17476 serviceInstanceId:serviceInstanceId
17477 vnfInstanceId:vnfInstanceId
17478 vfmoduleInstanceId:vfmoduleInstanceId
17479 body:body
17480 completionHandler: ^(NSError* error) {
17481 if (error) {
17482 NSLog(@"Error: %@", error);
17483 }
17484 }];
17485</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000017486 </div>
seshukmb3a332a2018-10-05 16:27:16 +080017487
tragait5e9676e2021-01-14 16:07:07 +000017488 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-javascript">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053017489 <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is');
seshukmb3a332a2018-10-05 16:27:16 +080017490
Priyadharshinic86ab4a2020-08-14 17:11:49 +053017491var api = new SoGuilinApIs.OnapsoinfraserviceInstantiationApi()
seshukmb3a332a2018-10-05 16:27:16 +080017492
tragait5e9676e2021-01-14 16:07:07 +000017493var version = version_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080017494
tragait5e9676e2021-01-14 16:07:07 +000017495var serviceInstanceId = serviceInstanceId_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080017496
tragait5e9676e2021-01-14 16:07:07 +000017497var vnfInstanceId = vnfInstanceId_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080017498
tragait5e9676e2021-01-14 16:07:07 +000017499var vfmoduleInstanceId = vfmoduleInstanceId_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080017500
tragait5e9676e2021-01-14 16:07:07 +000017501var opts = {
17502 'body': body_example // {String}
seshukmb3a332a2018-10-05 16:27:16 +080017503};
17504
17505var callback = function(error, data, response) {
17506 if (error) {
17507 console.error(error);
17508 } else {
17509 console.log('API called successfully.');
17510 }
17511};
17512api.deleteVfModuleInstance(version, serviceInstanceId, vnfInstanceId, vfmoduleInstanceId, opts, callback);
17513</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000017514 </div>
seshukmb3a332a2018-10-05 16:27:16 +080017515
tragait5e9676e2021-01-14 16:07:07 +000017516 <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-angular">
seshukmb3a332a2018-10-05 16:27:16 +080017517 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
17518 </div>-->
tragait5e9676e2021-01-14 16:07:07 +000017519 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-csharp">
seshukmb3a332a2018-10-05 16:27:16 +080017520 <pre class="prettyprint"><code class="language-cs">using System;
17521using System.Diagnostics;
17522using IO.Swagger.Api;
17523using IO.Swagger.Client;
17524using IO.Swagger.Model;
17525
17526namespace Example
17527{
17528 public class deleteVfModuleInstanceExample
17529 {
17530 public void main()
17531 {
tragait5e9676e2021-01-14 16:07:07 +000017532
seshukmb3a332a2018-10-05 16:27:16 +080017533 var apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000017534 var version = version_example; // String |
17535 var serviceInstanceId = serviceInstanceId_example; // String |
17536 var vnfInstanceId = vnfInstanceId_example; // String |
17537 var vfmoduleInstanceId = vfmoduleInstanceId_example; // String |
17538 var body = body_example; // String | (optional)
seshukmb3a332a2018-10-05 16:27:16 +080017539
17540 try
17541 {
17542 // Delete provided VfModule instance
17543 apiInstance.deleteVfModuleInstance(version, serviceInstanceId, vnfInstanceId, vfmoduleInstanceId, body);
17544 }
17545 catch (Exception e)
17546 {
17547 Debug.Print("Exception when calling OnapsoinfraserviceInstantiationApi.deleteVfModuleInstance: " + e.Message );
17548 }
17549 }
17550 }
17551}
17552</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000017553 </div>
seshukmb3a332a2018-10-05 16:27:16 +080017554
tragait5e9676e2021-01-14 16:07:07 +000017555 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-php">
seshukmb3a332a2018-10-05 16:27:16 +080017556 <pre class="prettyprint"><code class="language-php"><&#63;php
17557require_once(__DIR__ . '/vendor/autoload.php');
17558
17559$api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000017560$version = version_example; // String |
17561$serviceInstanceId = serviceInstanceId_example; // String |
17562$vnfInstanceId = vnfInstanceId_example; // String |
17563$vfmoduleInstanceId = vfmoduleInstanceId_example; // String |
17564$body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080017565
17566try {
17567 $api_instance->deleteVfModuleInstance($version, $serviceInstanceId, $vnfInstanceId, $vfmoduleInstanceId, $body);
17568} catch (Exception $e) {
17569 echo 'Exception when calling OnapsoinfraserviceInstantiationApi->deleteVfModuleInstance: ', $e->getMessage(), PHP_EOL;
17570}
17571?></code></pre>
tragait5e9676e2021-01-14 16:07:07 +000017572 </div>
seshukmb3a332a2018-10-05 16:27:16 +080017573
tragait5e9676e2021-01-14 16:07:07 +000017574 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-perl">
seshukmb3a332a2018-10-05 16:27:16 +080017575 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
17576use WWW::SwaggerClient::Configuration;
17577use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi;
17578
17579my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new();
tragait5e9676e2021-01-14 16:07:07 +000017580my $version = version_example; # String |
17581my $serviceInstanceId = serviceInstanceId_example; # String |
17582my $vnfInstanceId = vnfInstanceId_example; # String |
17583my $vfmoduleInstanceId = vfmoduleInstanceId_example; # String |
17584my $body = WWW::SwaggerClient::Object::String->new(); # String |
seshukmb3a332a2018-10-05 16:27:16 +080017585
tragait5e9676e2021-01-14 16:07:07 +000017586eval {
seshukmb3a332a2018-10-05 16:27:16 +080017587 $api_instance->deleteVfModuleInstance(version => $version, serviceInstanceId => $serviceInstanceId, vnfInstanceId => $vnfInstanceId, vfmoduleInstanceId => $vfmoduleInstanceId, body => $body);
17588};
17589if ($@) {
17590 warn "Exception when calling OnapsoinfraserviceInstantiationApi->deleteVfModuleInstance: $@\n";
17591}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000017592 </div>
seshukmb3a332a2018-10-05 16:27:16 +080017593
tragait5e9676e2021-01-14 16:07:07 +000017594 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-python">
seshukmb3a332a2018-10-05 16:27:16 +080017595 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
17596import time
17597import swagger_client
17598from swagger_client.rest import ApiException
17599from pprint import pprint
17600
17601# create an instance of the API class
17602api_instance = swagger_client.OnapsoinfraserviceInstantiationApi()
tragait5e9676e2021-01-14 16:07:07 +000017603version = version_example # String |
17604serviceInstanceId = serviceInstanceId_example # String |
17605vnfInstanceId = vnfInstanceId_example # String |
17606vfmoduleInstanceId = vfmoduleInstanceId_example # String |
seshukmb3a332a2018-10-05 16:27:16 +080017607body = body_example # String | (optional)
17608
tragait5e9676e2021-01-14 16:07:07 +000017609try:
seshukmb3a332a2018-10-05 16:27:16 +080017610 # Delete provided VfModule instance
17611 api_instance.delete_vf_module_instance(version, serviceInstanceId, vnfInstanceId, vfmoduleInstanceId, body=body)
17612except ApiException as e:
17613 print("Exception when calling OnapsoinfraserviceInstantiationApi->deleteVfModuleInstance: %s\n" % e)</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000017614 </div>
seshukmb3a332a2018-10-05 16:27:16 +080017615 </div>
seshukmb3a332a2018-10-05 16:27:16 +080017616
tragait5e9676e2021-01-14 16:07:07 +000017617 <h2>Parameters</h2>
seshukmb3a332a2018-10-05 16:27:16 +080017618
17619 <div class="methodsubtabletitle">Path parameters</div>
17620 <table id="methodsubtable">
17621 <tr>
tragait5e9676e2021-01-14 16:07:07 +000017622 <th width="150px">Name</th>
17623 <th>Description</th>
seshukmb3a332a2018-10-05 16:27:16 +080017624 </tr>
tragait5e9676e2021-01-14 16:07:07 +000017625 <tr><td style="width:150px;">version*</td>
17626 <td>
seshukmb3a332a2018-10-05 16:27:16 +080017627
17628
tragait5e9676e2021-01-14 16:07:07 +000017629 <div id="d2e199_deleteVfModuleInstance_version">
17630 <div class="json-schema-view">
17631 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080017632 <span class="type">
17633 String
17634 </span>
17635
tragait5e9676e2021-01-14 16:07:07 +000017636 </div>
17637 <div class="inner required">
17638 Required
17639 </div>
17640 </div>
17641 </div>
17642 </td>
17643 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080017644
tragait5e9676e2021-01-14 16:07:07 +000017645 <tr><td style="width:150px;">serviceInstanceId*</td>
17646 <td>
seshukmb3a332a2018-10-05 16:27:16 +080017647
17648
tragait5e9676e2021-01-14 16:07:07 +000017649 <div id="d2e199_deleteVfModuleInstance_serviceInstanceId">
17650 <div class="json-schema-view">
17651 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080017652 <span class="type">
17653 String
17654 </span>
17655
tragait5e9676e2021-01-14 16:07:07 +000017656 </div>
17657 <div class="inner required">
17658 Required
17659 </div>
17660 </div>
17661 </div>
17662 </td>
17663 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080017664
tragait5e9676e2021-01-14 16:07:07 +000017665 <tr><td style="width:150px;">vnfInstanceId*</td>
17666 <td>
seshukmb3a332a2018-10-05 16:27:16 +080017667
17668
tragait5e9676e2021-01-14 16:07:07 +000017669 <div id="d2e199_deleteVfModuleInstance_vnfInstanceId">
17670 <div class="json-schema-view">
17671 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080017672 <span class="type">
17673 String
17674 </span>
17675
tragait5e9676e2021-01-14 16:07:07 +000017676 </div>
17677 <div class="inner required">
17678 Required
17679 </div>
17680 </div>
17681 </div>
17682 </td>
17683 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080017684
tragait5e9676e2021-01-14 16:07:07 +000017685 <tr><td style="width:150px;">vfmoduleInstanceId*</td>
17686 <td>
seshukmb3a332a2018-10-05 16:27:16 +080017687
17688
tragait5e9676e2021-01-14 16:07:07 +000017689 <div id="d2e199_deleteVfModuleInstance_vfmoduleInstanceId">
17690 <div class="json-schema-view">
17691 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080017692 <span class="type">
17693 String
17694 </span>
17695
tragait5e9676e2021-01-14 16:07:07 +000017696 </div>
17697 <div class="inner required">
17698 Required
17699 </div>
17700 </div>
17701 </div>
17702 </td>
17703 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080017704
17705 </table>
17706
17707
17708 <div class="methodsubtabletitle">Body parameters</div>
17709 <table id="methodsubtable">
tragait5e9676e2021-01-14 16:07:07 +000017710 <tr>
17711 <th width="150px">Name</th>
17712 <th>Description</th>
17713 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080017714 <tr><td style="width:150px;">body </td>
tragait5e9676e2021-01-14 16:07:07 +000017715 <td>
seshukmb3a332a2018-10-05 16:27:16 +080017716
17717
tragait5e9676e2021-01-14 16:07:07 +000017718 <script>
seshukmb3a332a2018-10-05 16:27:16 +080017719$(document).ready(function() {
17720 var schemaWrapper = {
17721 "in" : "body",
17722 "name" : "body",
17723 "required" : false,
17724 "schema" : {
17725 "type" : "string"
17726 }
17727};
17728 var schema = schemaWrapper.schema;
17729 if (schema.$ref != null) {
17730 schema = defsParser.$refs.get(schema.$ref);
17731 } else {
17732 schemaWrapper.definitions = Object.assign({}, defs);
17733 $RefParser.dereference(schemaWrapper).catch(function(err) {
17734 console.log(err);
17735 });
17736 }
17737
17738 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
17739 var result = $('#d2e199_deleteVfModuleInstance_body');
17740 result.empty();
17741 result.append(view.render());
17742});
17743</script>
tragait5e9676e2021-01-14 16:07:07 +000017744 <div id="d2e199_deleteVfModuleInstance_body"></div>
17745 </td>
17746 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080017747
17748 </table>
17749
17750
17751
tragait5e9676e2021-01-14 16:07:07 +000017752 <h2>Responses</h2>
seshukmb3a332a2018-10-05 16:27:16 +080017753 <h3> Status: default - successful operation </h3>
17754
17755 <ul class="nav nav-tabs nav-tabs-examples" >
17756 </ul>
17757
17758 <div class="tab-content" style='margin-bottom: 10px;'>
17759 </div>
17760
17761 </article>
tragait5e9676e2021-01-14 16:07:07 +000017762 </div>
17763 <hr>
seshukmb3a332a2018-10-05 16:27:16 +080017764 <div id="api-OnapsoinfraserviceInstantiation-deleteVnfInstance">
tragait5e9676e2021-01-14 16:07:07 +000017765 <article id="api-OnapsoinfraserviceInstantiation-deleteVnfInstance-0" data-group="User" data-name="deleteVnfInstance" data-version="0">
17766 <div class="pull-left">
17767 <h1>deleteVnfInstance</h1>
17768 <p>Delete provided VNF instance</p>
17769 </div>
17770 <div class="pull-right"></div>
17771 <div class="clearfix"></div>
17772 <p></p>
17773 <p class="marked"></p>
17774 <p></p>
17775 <br />
17776 <pre class="prettyprint language-html prettyprinted" data-type="delete"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}</span></code></pre>
17777 <p>
17778 <h3>Usage and SDK Samples</h3>
17779 </p>
17780 <ul class="nav nav-tabs nav-tabs-examples">
17781 <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-curl">Curl</a></li>
17782 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-java">Java</a></li>
17783 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-android">Android</a></li>
17784 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-groovy">Groovy</a></li>-->
17785 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-objc">Obj-C</a></li>
17786 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-javascript">JavaScript</a></li>
17787 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-angular">Angular</a></li>-->
17788 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-csharp">C#</a></li>
17789 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-php">PHP</a></li>
17790 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-perl">Perl</a></li>
17791 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-python">Python</a></li>
17792 </ul>
seshukmb3a332a2018-10-05 16:27:16 +080017793
tragait5e9676e2021-01-14 16:07:07 +000017794 <div class="tab-content">
17795 <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-curl">
17796 <pre class="prettyprint"><code class="language-bsh">curl -X DELETE "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}"</code></pre>
17797 </div>
17798 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-java">
seshukmb3a332a2018-10-05 16:27:16 +080017799 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
17800import io.swagger.client.auth.*;
17801import io.swagger.client.model.*;
17802import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
17803
17804import java.io.File;
17805import java.util.*;
17806
17807public class OnapsoinfraserviceInstantiationApiExample {
17808
17809 public static void main(String[] args) {
tragait5e9676e2021-01-14 16:07:07 +000017810
seshukmb3a332a2018-10-05 16:27:16 +080017811 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000017812 String version = version_example; // String |
17813 String serviceInstanceId = serviceInstanceId_example; // String |
17814 String vnfInstanceId = vnfInstanceId_example; // String |
17815 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080017816 try {
17817 apiInstance.deleteVnfInstance(version, serviceInstanceId, vnfInstanceId, body);
17818 } catch (ApiException e) {
17819 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#deleteVnfInstance");
17820 e.printStackTrace();
17821 }
17822 }
17823}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000017824 </div>
seshukmb3a332a2018-10-05 16:27:16 +080017825
tragait5e9676e2021-01-14 16:07:07 +000017826 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-android">
seshukmb3a332a2018-10-05 16:27:16 +080017827 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
17828
17829public class OnapsoinfraserviceInstantiationApiExample {
17830
17831 public static void main(String[] args) {
17832 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000017833 String version = version_example; // String |
17834 String serviceInstanceId = serviceInstanceId_example; // String |
17835 String vnfInstanceId = vnfInstanceId_example; // String |
17836 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080017837 try {
17838 apiInstance.deleteVnfInstance(version, serviceInstanceId, vnfInstanceId, body);
17839 } catch (ApiException e) {
17840 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#deleteVnfInstance");
17841 e.printStackTrace();
17842 }
17843 }
17844}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000017845 </div>
17846 <!--
seshukmb3a332a2018-10-05 16:27:16 +080017847 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-groovy">
17848 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
17849 </div> -->
tragait5e9676e2021-01-14 16:07:07 +000017850 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-objc">
17851 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
17852String *serviceInstanceId = serviceInstanceId_example; //
17853String *vnfInstanceId = vnfInstanceId_example; //
seshukmb3a332a2018-10-05 16:27:16 +080017854String *body = body_example; // (optional)
17855
17856OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init];
17857
17858// Delete provided VNF instance
17859[apiInstance deleteVnfInstanceWith:version
17860 serviceInstanceId:serviceInstanceId
17861 vnfInstanceId:vnfInstanceId
17862 body:body
17863 completionHandler: ^(NSError* error) {
17864 if (error) {
17865 NSLog(@"Error: %@", error);
17866 }
17867 }];
17868</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000017869 </div>
seshukmb3a332a2018-10-05 16:27:16 +080017870
tragait5e9676e2021-01-14 16:07:07 +000017871 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-javascript">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053017872 <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is');
seshukmb3a332a2018-10-05 16:27:16 +080017873
Priyadharshinic86ab4a2020-08-14 17:11:49 +053017874var api = new SoGuilinApIs.OnapsoinfraserviceInstantiationApi()
seshukmb3a332a2018-10-05 16:27:16 +080017875
tragait5e9676e2021-01-14 16:07:07 +000017876var version = version_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080017877
tragait5e9676e2021-01-14 16:07:07 +000017878var serviceInstanceId = serviceInstanceId_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080017879
tragait5e9676e2021-01-14 16:07:07 +000017880var vnfInstanceId = vnfInstanceId_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080017881
tragait5e9676e2021-01-14 16:07:07 +000017882var opts = {
17883 'body': body_example // {String}
seshukmb3a332a2018-10-05 16:27:16 +080017884};
17885
17886var callback = function(error, data, response) {
17887 if (error) {
17888 console.error(error);
17889 } else {
17890 console.log('API called successfully.');
17891 }
17892};
17893api.deleteVnfInstance(version, serviceInstanceId, vnfInstanceId, opts, callback);
17894</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000017895 </div>
seshukmb3a332a2018-10-05 16:27:16 +080017896
tragait5e9676e2021-01-14 16:07:07 +000017897 <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-angular">
seshukmb3a332a2018-10-05 16:27:16 +080017898 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
17899 </div>-->
tragait5e9676e2021-01-14 16:07:07 +000017900 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-csharp">
seshukmb3a332a2018-10-05 16:27:16 +080017901 <pre class="prettyprint"><code class="language-cs">using System;
17902using System.Diagnostics;
17903using IO.Swagger.Api;
17904using IO.Swagger.Client;
17905using IO.Swagger.Model;
17906
17907namespace Example
17908{
17909 public class deleteVnfInstanceExample
17910 {
17911 public void main()
17912 {
tragait5e9676e2021-01-14 16:07:07 +000017913
seshukmb3a332a2018-10-05 16:27:16 +080017914 var apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000017915 var version = version_example; // String |
17916 var serviceInstanceId = serviceInstanceId_example; // String |
17917 var vnfInstanceId = vnfInstanceId_example; // String |
17918 var body = body_example; // String | (optional)
seshukmb3a332a2018-10-05 16:27:16 +080017919
17920 try
17921 {
17922 // Delete provided VNF instance
17923 apiInstance.deleteVnfInstance(version, serviceInstanceId, vnfInstanceId, body);
17924 }
17925 catch (Exception e)
17926 {
17927 Debug.Print("Exception when calling OnapsoinfraserviceInstantiationApi.deleteVnfInstance: " + e.Message );
17928 }
17929 }
17930 }
17931}
17932</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000017933 </div>
seshukmb3a332a2018-10-05 16:27:16 +080017934
tragait5e9676e2021-01-14 16:07:07 +000017935 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-php">
seshukmb3a332a2018-10-05 16:27:16 +080017936 <pre class="prettyprint"><code class="language-php"><&#63;php
17937require_once(__DIR__ . '/vendor/autoload.php');
17938
17939$api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000017940$version = version_example; // String |
17941$serviceInstanceId = serviceInstanceId_example; // String |
17942$vnfInstanceId = vnfInstanceId_example; // String |
17943$body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080017944
17945try {
17946 $api_instance->deleteVnfInstance($version, $serviceInstanceId, $vnfInstanceId, $body);
17947} catch (Exception $e) {
17948 echo 'Exception when calling OnapsoinfraserviceInstantiationApi->deleteVnfInstance: ', $e->getMessage(), PHP_EOL;
17949}
17950?></code></pre>
tragait5e9676e2021-01-14 16:07:07 +000017951 </div>
seshukmb3a332a2018-10-05 16:27:16 +080017952
tragait5e9676e2021-01-14 16:07:07 +000017953 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-perl">
seshukmb3a332a2018-10-05 16:27:16 +080017954 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
17955use WWW::SwaggerClient::Configuration;
17956use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi;
17957
17958my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new();
tragait5e9676e2021-01-14 16:07:07 +000017959my $version = version_example; # String |
17960my $serviceInstanceId = serviceInstanceId_example; # String |
17961my $vnfInstanceId = vnfInstanceId_example; # String |
17962my $body = WWW::SwaggerClient::Object::String->new(); # String |
seshukmb3a332a2018-10-05 16:27:16 +080017963
tragait5e9676e2021-01-14 16:07:07 +000017964eval {
seshukmb3a332a2018-10-05 16:27:16 +080017965 $api_instance->deleteVnfInstance(version => $version, serviceInstanceId => $serviceInstanceId, vnfInstanceId => $vnfInstanceId, body => $body);
17966};
17967if ($@) {
17968 warn "Exception when calling OnapsoinfraserviceInstantiationApi->deleteVnfInstance: $@\n";
17969}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000017970 </div>
seshukmb3a332a2018-10-05 16:27:16 +080017971
tragait5e9676e2021-01-14 16:07:07 +000017972 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-python">
seshukmb3a332a2018-10-05 16:27:16 +080017973 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
17974import time
17975import swagger_client
17976from swagger_client.rest import ApiException
17977from pprint import pprint
17978
17979# create an instance of the API class
17980api_instance = swagger_client.OnapsoinfraserviceInstantiationApi()
tragait5e9676e2021-01-14 16:07:07 +000017981version = version_example # String |
17982serviceInstanceId = serviceInstanceId_example # String |
17983vnfInstanceId = vnfInstanceId_example # String |
seshukmb3a332a2018-10-05 16:27:16 +080017984body = body_example # String | (optional)
17985
tragait5e9676e2021-01-14 16:07:07 +000017986try:
seshukmb3a332a2018-10-05 16:27:16 +080017987 # Delete provided VNF instance
17988 api_instance.delete_vnf_instance(version, serviceInstanceId, vnfInstanceId, body=body)
17989except ApiException as e:
17990 print("Exception when calling OnapsoinfraserviceInstantiationApi->deleteVnfInstance: %s\n" % e)</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000017991 </div>
seshukmb3a332a2018-10-05 16:27:16 +080017992 </div>
seshukmb3a332a2018-10-05 16:27:16 +080017993
tragait5e9676e2021-01-14 16:07:07 +000017994 <h2>Parameters</h2>
seshukmb3a332a2018-10-05 16:27:16 +080017995
17996 <div class="methodsubtabletitle">Path parameters</div>
17997 <table id="methodsubtable">
17998 <tr>
tragait5e9676e2021-01-14 16:07:07 +000017999 <th width="150px">Name</th>
18000 <th>Description</th>
seshukmb3a332a2018-10-05 16:27:16 +080018001 </tr>
tragait5e9676e2021-01-14 16:07:07 +000018002 <tr><td style="width:150px;">version*</td>
18003 <td>
seshukmb3a332a2018-10-05 16:27:16 +080018004
18005
tragait5e9676e2021-01-14 16:07:07 +000018006 <div id="d2e199_deleteVnfInstance_version">
18007 <div class="json-schema-view">
18008 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080018009 <span class="type">
18010 String
18011 </span>
18012
tragait5e9676e2021-01-14 16:07:07 +000018013 </div>
18014 <div class="inner required">
18015 Required
18016 </div>
18017 </div>
18018 </div>
18019 </td>
18020 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080018021
tragait5e9676e2021-01-14 16:07:07 +000018022 <tr><td style="width:150px;">serviceInstanceId*</td>
18023 <td>
seshukmb3a332a2018-10-05 16:27:16 +080018024
18025
tragait5e9676e2021-01-14 16:07:07 +000018026 <div id="d2e199_deleteVnfInstance_serviceInstanceId">
18027 <div class="json-schema-view">
18028 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080018029 <span class="type">
18030 String
18031 </span>
18032
tragait5e9676e2021-01-14 16:07:07 +000018033 </div>
18034 <div class="inner required">
18035 Required
18036 </div>
18037 </div>
18038 </div>
18039 </td>
18040 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080018041
tragait5e9676e2021-01-14 16:07:07 +000018042 <tr><td style="width:150px;">vnfInstanceId*</td>
18043 <td>
seshukmb3a332a2018-10-05 16:27:16 +080018044
18045
tragait5e9676e2021-01-14 16:07:07 +000018046 <div id="d2e199_deleteVnfInstance_vnfInstanceId">
18047 <div class="json-schema-view">
18048 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080018049 <span class="type">
18050 String
18051 </span>
18052
tragait5e9676e2021-01-14 16:07:07 +000018053 </div>
18054 <div class="inner required">
18055 Required
18056 </div>
18057 </div>
18058 </div>
18059 </td>
18060 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080018061
18062 </table>
18063
18064
18065 <div class="methodsubtabletitle">Body parameters</div>
18066 <table id="methodsubtable">
tragait5e9676e2021-01-14 16:07:07 +000018067 <tr>
18068 <th width="150px">Name</th>
18069 <th>Description</th>
18070 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080018071 <tr><td style="width:150px;">body </td>
tragait5e9676e2021-01-14 16:07:07 +000018072 <td>
seshukmb3a332a2018-10-05 16:27:16 +080018073
18074
tragait5e9676e2021-01-14 16:07:07 +000018075 <script>
seshukmb3a332a2018-10-05 16:27:16 +080018076$(document).ready(function() {
18077 var schemaWrapper = {
18078 "in" : "body",
18079 "name" : "body",
18080 "required" : false,
18081 "schema" : {
18082 "type" : "string"
18083 }
18084};
18085 var schema = schemaWrapper.schema;
18086 if (schema.$ref != null) {
18087 schema = defsParser.$refs.get(schema.$ref);
18088 } else {
18089 schemaWrapper.definitions = Object.assign({}, defs);
18090 $RefParser.dereference(schemaWrapper).catch(function(err) {
18091 console.log(err);
18092 });
18093 }
18094
18095 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
18096 var result = $('#d2e199_deleteVnfInstance_body');
18097 result.empty();
18098 result.append(view.render());
18099});
18100</script>
tragait5e9676e2021-01-14 16:07:07 +000018101 <div id="d2e199_deleteVnfInstance_body"></div>
18102 </td>
18103 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080018104
18105 </table>
18106
18107
18108
tragait5e9676e2021-01-14 16:07:07 +000018109 <h2>Responses</h2>
seshukmb3a332a2018-10-05 16:27:16 +080018110 <h3> Status: default - successful operation </h3>
18111
18112 <ul class="nav nav-tabs nav-tabs-examples" >
18113 </ul>
18114
18115 <div class="tab-content" style='margin-bottom: 10px;'>
18116 </div>
18117
18118 </article>
tragait5e9676e2021-01-14 16:07:07 +000018119 </div>
18120 <hr>
seshukmb3a332a2018-10-05 16:27:16 +080018121 <div id="api-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance">
tragait5e9676e2021-01-14 16:07:07 +000018122 <article id="api-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0" data-group="User" data-name="deleteVolumeGroupInstance" data-version="0">
18123 <div class="pull-left">
18124 <h1>deleteVolumeGroupInstance</h1>
18125 <p>Delete provided VolumeGroup instance</p>
18126 </div>
18127 <div class="pull-right"></div>
18128 <div class="clearfix"></div>
18129 <p></p>
18130 <p class="marked"></p>
18131 <p></p>
18132 <br />
18133 <pre class="prettyprint language-html prettyprinted" data-type="delete"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/volumeGroups/{volumeGroupInstanceId}</span></code></pre>
18134 <p>
18135 <h3>Usage and SDK Samples</h3>
18136 </p>
18137 <ul class="nav nav-tabs nav-tabs-examples">
18138 <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-curl">Curl</a></li>
18139 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-java">Java</a></li>
18140 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-android">Android</a></li>
18141 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-groovy">Groovy</a></li>-->
18142 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-objc">Obj-C</a></li>
18143 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-javascript">JavaScript</a></li>
18144 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-angular">Angular</a></li>-->
18145 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-csharp">C#</a></li>
18146 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-php">PHP</a></li>
18147 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-perl">Perl</a></li>
18148 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-python">Python</a></li>
18149 </ul>
seshukmb3a332a2018-10-05 16:27:16 +080018150
tragait5e9676e2021-01-14 16:07:07 +000018151 <div class="tab-content">
18152 <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-curl">
18153 <pre class="prettyprint"><code class="language-bsh">curl -X DELETE "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/volumeGroups/{volumeGroupInstanceId}"</code></pre>
18154 </div>
18155 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-java">
seshukmb3a332a2018-10-05 16:27:16 +080018156 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
18157import io.swagger.client.auth.*;
18158import io.swagger.client.model.*;
18159import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
18160
18161import java.io.File;
18162import java.util.*;
18163
18164public class OnapsoinfraserviceInstantiationApiExample {
18165
18166 public static void main(String[] args) {
tragait5e9676e2021-01-14 16:07:07 +000018167
seshukmb3a332a2018-10-05 16:27:16 +080018168 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000018169 String version = version_example; // String |
18170 String serviceInstanceId = serviceInstanceId_example; // String |
18171 String vnfInstanceId = vnfInstanceId_example; // String |
18172 String volumeGroupInstanceId = volumeGroupInstanceId_example; // String |
18173 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080018174 try {
18175 apiInstance.deleteVolumeGroupInstance(version, serviceInstanceId, vnfInstanceId, volumeGroupInstanceId, body);
18176 } catch (ApiException e) {
18177 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#deleteVolumeGroupInstance");
18178 e.printStackTrace();
18179 }
18180 }
18181}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000018182 </div>
seshukmb3a332a2018-10-05 16:27:16 +080018183
tragait5e9676e2021-01-14 16:07:07 +000018184 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-android">
seshukmb3a332a2018-10-05 16:27:16 +080018185 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
18186
18187public class OnapsoinfraserviceInstantiationApiExample {
18188
18189 public static void main(String[] args) {
18190 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000018191 String version = version_example; // String |
18192 String serviceInstanceId = serviceInstanceId_example; // String |
18193 String vnfInstanceId = vnfInstanceId_example; // String |
18194 String volumeGroupInstanceId = volumeGroupInstanceId_example; // String |
18195 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080018196 try {
18197 apiInstance.deleteVolumeGroupInstance(version, serviceInstanceId, vnfInstanceId, volumeGroupInstanceId, body);
18198 } catch (ApiException e) {
18199 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#deleteVolumeGroupInstance");
18200 e.printStackTrace();
18201 }
18202 }
18203}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000018204 </div>
18205 <!--
seshukmb3a332a2018-10-05 16:27:16 +080018206 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-groovy">
18207 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
18208 </div> -->
tragait5e9676e2021-01-14 16:07:07 +000018209 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-objc">
18210 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
18211String *serviceInstanceId = serviceInstanceId_example; //
18212String *vnfInstanceId = vnfInstanceId_example; //
18213String *volumeGroupInstanceId = volumeGroupInstanceId_example; //
seshukmb3a332a2018-10-05 16:27:16 +080018214String *body = body_example; // (optional)
18215
18216OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init];
18217
18218// Delete provided VolumeGroup instance
18219[apiInstance deleteVolumeGroupInstanceWith:version
18220 serviceInstanceId:serviceInstanceId
18221 vnfInstanceId:vnfInstanceId
18222 volumeGroupInstanceId:volumeGroupInstanceId
18223 body:body
18224 completionHandler: ^(NSError* error) {
18225 if (error) {
18226 NSLog(@"Error: %@", error);
18227 }
18228 }];
18229</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000018230 </div>
seshukmb3a332a2018-10-05 16:27:16 +080018231
tragait5e9676e2021-01-14 16:07:07 +000018232 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-javascript">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053018233 <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is');
seshukmb3a332a2018-10-05 16:27:16 +080018234
Priyadharshinic86ab4a2020-08-14 17:11:49 +053018235var api = new SoGuilinApIs.OnapsoinfraserviceInstantiationApi()
seshukmb3a332a2018-10-05 16:27:16 +080018236
tragait5e9676e2021-01-14 16:07:07 +000018237var version = version_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080018238
tragait5e9676e2021-01-14 16:07:07 +000018239var serviceInstanceId = serviceInstanceId_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080018240
tragait5e9676e2021-01-14 16:07:07 +000018241var vnfInstanceId = vnfInstanceId_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080018242
tragait5e9676e2021-01-14 16:07:07 +000018243var volumeGroupInstanceId = volumeGroupInstanceId_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080018244
tragait5e9676e2021-01-14 16:07:07 +000018245var opts = {
18246 'body': body_example // {String}
seshukmb3a332a2018-10-05 16:27:16 +080018247};
18248
18249var callback = function(error, data, response) {
18250 if (error) {
18251 console.error(error);
18252 } else {
18253 console.log('API called successfully.');
18254 }
18255};
18256api.deleteVolumeGroupInstance(version, serviceInstanceId, vnfInstanceId, volumeGroupInstanceId, opts, callback);
18257</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000018258 </div>
seshukmb3a332a2018-10-05 16:27:16 +080018259
tragait5e9676e2021-01-14 16:07:07 +000018260 <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-angular">
seshukmb3a332a2018-10-05 16:27:16 +080018261 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
18262 </div>-->
tragait5e9676e2021-01-14 16:07:07 +000018263 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-csharp">
seshukmb3a332a2018-10-05 16:27:16 +080018264 <pre class="prettyprint"><code class="language-cs">using System;
18265using System.Diagnostics;
18266using IO.Swagger.Api;
18267using IO.Swagger.Client;
18268using IO.Swagger.Model;
18269
18270namespace Example
18271{
18272 public class deleteVolumeGroupInstanceExample
18273 {
18274 public void main()
18275 {
tragait5e9676e2021-01-14 16:07:07 +000018276
seshukmb3a332a2018-10-05 16:27:16 +080018277 var apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000018278 var version = version_example; // String |
18279 var serviceInstanceId = serviceInstanceId_example; // String |
18280 var vnfInstanceId = vnfInstanceId_example; // String |
18281 var volumeGroupInstanceId = volumeGroupInstanceId_example; // String |
18282 var body = body_example; // String | (optional)
seshukmb3a332a2018-10-05 16:27:16 +080018283
18284 try
18285 {
18286 // Delete provided VolumeGroup instance
18287 apiInstance.deleteVolumeGroupInstance(version, serviceInstanceId, vnfInstanceId, volumeGroupInstanceId, body);
18288 }
18289 catch (Exception e)
18290 {
18291 Debug.Print("Exception when calling OnapsoinfraserviceInstantiationApi.deleteVolumeGroupInstance: " + e.Message );
18292 }
18293 }
18294 }
18295}
18296</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000018297 </div>
seshukmb3a332a2018-10-05 16:27:16 +080018298
tragait5e9676e2021-01-14 16:07:07 +000018299 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-php">
seshukmb3a332a2018-10-05 16:27:16 +080018300 <pre class="prettyprint"><code class="language-php"><&#63;php
18301require_once(__DIR__ . '/vendor/autoload.php');
18302
18303$api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000018304$version = version_example; // String |
18305$serviceInstanceId = serviceInstanceId_example; // String |
18306$vnfInstanceId = vnfInstanceId_example; // String |
18307$volumeGroupInstanceId = volumeGroupInstanceId_example; // String |
18308$body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080018309
18310try {
18311 $api_instance->deleteVolumeGroupInstance($version, $serviceInstanceId, $vnfInstanceId, $volumeGroupInstanceId, $body);
18312} catch (Exception $e) {
18313 echo 'Exception when calling OnapsoinfraserviceInstantiationApi->deleteVolumeGroupInstance: ', $e->getMessage(), PHP_EOL;
18314}
18315?></code></pre>
tragait5e9676e2021-01-14 16:07:07 +000018316 </div>
seshukmb3a332a2018-10-05 16:27:16 +080018317
tragait5e9676e2021-01-14 16:07:07 +000018318 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-perl">
seshukmb3a332a2018-10-05 16:27:16 +080018319 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
18320use WWW::SwaggerClient::Configuration;
18321use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi;
18322
18323my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new();
tragait5e9676e2021-01-14 16:07:07 +000018324my $version = version_example; # String |
18325my $serviceInstanceId = serviceInstanceId_example; # String |
18326my $vnfInstanceId = vnfInstanceId_example; # String |
18327my $volumeGroupInstanceId = volumeGroupInstanceId_example; # String |
18328my $body = WWW::SwaggerClient::Object::String->new(); # String |
seshukmb3a332a2018-10-05 16:27:16 +080018329
tragait5e9676e2021-01-14 16:07:07 +000018330eval {
seshukmb3a332a2018-10-05 16:27:16 +080018331 $api_instance->deleteVolumeGroupInstance(version => $version, serviceInstanceId => $serviceInstanceId, vnfInstanceId => $vnfInstanceId, volumeGroupInstanceId => $volumeGroupInstanceId, body => $body);
18332};
18333if ($@) {
18334 warn "Exception when calling OnapsoinfraserviceInstantiationApi->deleteVolumeGroupInstance: $@\n";
18335}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000018336 </div>
seshukmb3a332a2018-10-05 16:27:16 +080018337
tragait5e9676e2021-01-14 16:07:07 +000018338 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-python">
seshukmb3a332a2018-10-05 16:27:16 +080018339 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
18340import time
18341import swagger_client
18342from swagger_client.rest import ApiException
18343from pprint import pprint
18344
18345# create an instance of the API class
18346api_instance = swagger_client.OnapsoinfraserviceInstantiationApi()
tragait5e9676e2021-01-14 16:07:07 +000018347version = version_example # String |
18348serviceInstanceId = serviceInstanceId_example # String |
18349vnfInstanceId = vnfInstanceId_example # String |
18350volumeGroupInstanceId = volumeGroupInstanceId_example # String |
seshukmb3a332a2018-10-05 16:27:16 +080018351body = body_example # String | (optional)
18352
tragait5e9676e2021-01-14 16:07:07 +000018353try:
seshukmb3a332a2018-10-05 16:27:16 +080018354 # Delete provided VolumeGroup instance
18355 api_instance.delete_volume_group_instance(version, serviceInstanceId, vnfInstanceId, volumeGroupInstanceId, body=body)
18356except ApiException as e:
18357 print("Exception when calling OnapsoinfraserviceInstantiationApi->deleteVolumeGroupInstance: %s\n" % e)</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000018358 </div>
seshukmb3a332a2018-10-05 16:27:16 +080018359 </div>
seshukmb3a332a2018-10-05 16:27:16 +080018360
tragait5e9676e2021-01-14 16:07:07 +000018361 <h2>Parameters</h2>
seshukmb3a332a2018-10-05 16:27:16 +080018362
18363 <div class="methodsubtabletitle">Path parameters</div>
18364 <table id="methodsubtable">
18365 <tr>
tragait5e9676e2021-01-14 16:07:07 +000018366 <th width="150px">Name</th>
18367 <th>Description</th>
seshukmb3a332a2018-10-05 16:27:16 +080018368 </tr>
tragait5e9676e2021-01-14 16:07:07 +000018369 <tr><td style="width:150px;">version*</td>
18370 <td>
seshukmb3a332a2018-10-05 16:27:16 +080018371
18372
tragait5e9676e2021-01-14 16:07:07 +000018373 <div id="d2e199_deleteVolumeGroupInstance_version">
18374 <div class="json-schema-view">
18375 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080018376 <span class="type">
18377 String
18378 </span>
18379
tragait5e9676e2021-01-14 16:07:07 +000018380 </div>
18381 <div class="inner required">
18382 Required
18383 </div>
18384 </div>
18385 </div>
18386 </td>
18387 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080018388
tragait5e9676e2021-01-14 16:07:07 +000018389 <tr><td style="width:150px;">serviceInstanceId*</td>
18390 <td>
seshukmb3a332a2018-10-05 16:27:16 +080018391
18392
tragait5e9676e2021-01-14 16:07:07 +000018393 <div id="d2e199_deleteVolumeGroupInstance_serviceInstanceId">
18394 <div class="json-schema-view">
18395 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080018396 <span class="type">
18397 String
18398 </span>
18399
tragait5e9676e2021-01-14 16:07:07 +000018400 </div>
18401 <div class="inner required">
18402 Required
18403 </div>
18404 </div>
18405 </div>
18406 </td>
18407 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080018408
tragait5e9676e2021-01-14 16:07:07 +000018409 <tr><td style="width:150px;">vnfInstanceId*</td>
18410 <td>
seshukmb3a332a2018-10-05 16:27:16 +080018411
18412
tragait5e9676e2021-01-14 16:07:07 +000018413 <div id="d2e199_deleteVolumeGroupInstance_vnfInstanceId">
18414 <div class="json-schema-view">
18415 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080018416 <span class="type">
18417 String
18418 </span>
18419
tragait5e9676e2021-01-14 16:07:07 +000018420 </div>
18421 <div class="inner required">
18422 Required
18423 </div>
18424 </div>
18425 </div>
18426 </td>
18427 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080018428
tragait5e9676e2021-01-14 16:07:07 +000018429 <tr><td style="width:150px;">volumeGroupInstanceId*</td>
18430 <td>
seshukmb3a332a2018-10-05 16:27:16 +080018431
18432
tragait5e9676e2021-01-14 16:07:07 +000018433 <div id="d2e199_deleteVolumeGroupInstance_volumeGroupInstanceId">
18434 <div class="json-schema-view">
18435 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080018436 <span class="type">
18437 String
18438 </span>
18439
tragait5e9676e2021-01-14 16:07:07 +000018440 </div>
18441 <div class="inner required">
18442 Required
18443 </div>
18444 </div>
18445 </div>
18446 </td>
18447 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080018448
18449 </table>
18450
18451
18452 <div class="methodsubtabletitle">Body parameters</div>
18453 <table id="methodsubtable">
tragait5e9676e2021-01-14 16:07:07 +000018454 <tr>
18455 <th width="150px">Name</th>
18456 <th>Description</th>
18457 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080018458 <tr><td style="width:150px;">body </td>
tragait5e9676e2021-01-14 16:07:07 +000018459 <td>
seshukmb3a332a2018-10-05 16:27:16 +080018460
18461
tragait5e9676e2021-01-14 16:07:07 +000018462 <script>
seshukmb3a332a2018-10-05 16:27:16 +080018463$(document).ready(function() {
18464 var schemaWrapper = {
18465 "in" : "body",
18466 "name" : "body",
18467 "required" : false,
18468 "schema" : {
18469 "type" : "string"
18470 }
18471};
18472 var schema = schemaWrapper.schema;
18473 if (schema.$ref != null) {
18474 schema = defsParser.$refs.get(schema.$ref);
18475 } else {
18476 schemaWrapper.definitions = Object.assign({}, defs);
18477 $RefParser.dereference(schemaWrapper).catch(function(err) {
18478 console.log(err);
18479 });
18480 }
18481
18482 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
18483 var result = $('#d2e199_deleteVolumeGroupInstance_body');
18484 result.empty();
18485 result.append(view.render());
18486});
18487</script>
tragait5e9676e2021-01-14 16:07:07 +000018488 <div id="d2e199_deleteVolumeGroupInstance_body"></div>
18489 </td>
18490 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080018491
18492 </table>
18493
18494
18495
tragait5e9676e2021-01-14 16:07:07 +000018496 <h2>Responses</h2>
seshukmb3a332a2018-10-05 16:27:16 +080018497 <h3> Status: default - successful operation </h3>
18498
18499 <ul class="nav nav-tabs nav-tabs-examples" >
18500 </ul>
18501
18502 <div class="tab-content" style='margin-bottom: 10px;'>
18503 </div>
18504
18505 </article>
tragait5e9676e2021-01-14 16:07:07 +000018506 </div>
18507 <hr>
seshukmb3a332a2018-10-05 16:27:16 +080018508 <div id="api-OnapsoinfraserviceInstantiation-disablePort">
tragait5e9676e2021-01-14 16:07:07 +000018509 <article id="api-OnapsoinfraserviceInstantiation-disablePort-0" data-group="User" data-name="disablePort" data-version="0">
18510 <div class="pull-left">
18511 <h1>disablePort</h1>
18512 <p>Disable Port Mirroring</p>
18513 </div>
18514 <div class="pull-right"></div>
18515 <div class="clearfix"></div>
18516 <p></p>
18517 <p class="marked"></p>
18518 <p></p>
18519 <br />
18520 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}/disablePort</span></code></pre>
18521 <p>
18522 <h3>Usage and SDK Samples</h3>
18523 </p>
18524 <ul class="nav nav-tabs nav-tabs-examples">
18525 <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-disablePort-0-curl">Curl</a></li>
18526 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-disablePort-0-java">Java</a></li>
18527 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-disablePort-0-android">Android</a></li>
18528 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-disablePort-0-groovy">Groovy</a></li>-->
18529 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-disablePort-0-objc">Obj-C</a></li>
18530 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-disablePort-0-javascript">JavaScript</a></li>
18531 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-disablePort-0-angular">Angular</a></li>-->
18532 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-disablePort-0-csharp">C#</a></li>
18533 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-disablePort-0-php">PHP</a></li>
18534 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-disablePort-0-perl">Perl</a></li>
18535 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-disablePort-0-python">Python</a></li>
18536 </ul>
seshukmb3a332a2018-10-05 16:27:16 +080018537
tragait5e9676e2021-01-14 16:07:07 +000018538 <div class="tab-content">
18539 <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-disablePort-0-curl">
18540 <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}/disablePort"</code></pre>
18541 </div>
18542 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-disablePort-0-java">
seshukmb3a332a2018-10-05 16:27:16 +080018543 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
18544import io.swagger.client.auth.*;
18545import io.swagger.client.model.*;
18546import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
18547
18548import java.io.File;
18549import java.util.*;
18550
18551public class OnapsoinfraserviceInstantiationApiExample {
18552
18553 public static void main(String[] args) {
tragait5e9676e2021-01-14 16:07:07 +000018554
seshukmb3a332a2018-10-05 16:27:16 +080018555 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000018556 String version = version_example; // String |
18557 String serviceInstanceId = serviceInstanceId_example; // String |
18558 String configurationInstanceId = configurationInstanceId_example; // String |
18559 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080018560 try {
18561 apiInstance.disablePort(version, serviceInstanceId, configurationInstanceId, body);
18562 } catch (ApiException e) {
18563 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#disablePort");
18564 e.printStackTrace();
18565 }
18566 }
18567}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000018568 </div>
seshukmb3a332a2018-10-05 16:27:16 +080018569
tragait5e9676e2021-01-14 16:07:07 +000018570 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-disablePort-0-android">
seshukmb3a332a2018-10-05 16:27:16 +080018571 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
18572
18573public class OnapsoinfraserviceInstantiationApiExample {
18574
18575 public static void main(String[] args) {
18576 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000018577 String version = version_example; // String |
18578 String serviceInstanceId = serviceInstanceId_example; // String |
18579 String configurationInstanceId = configurationInstanceId_example; // String |
18580 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080018581 try {
18582 apiInstance.disablePort(version, serviceInstanceId, configurationInstanceId, body);
18583 } catch (ApiException e) {
18584 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#disablePort");
18585 e.printStackTrace();
18586 }
18587 }
18588}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000018589 </div>
18590 <!--
seshukmb3a332a2018-10-05 16:27:16 +080018591 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-disablePort-0-groovy">
18592 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
18593 </div> -->
tragait5e9676e2021-01-14 16:07:07 +000018594 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-disablePort-0-objc">
18595 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
18596String *serviceInstanceId = serviceInstanceId_example; //
18597String *configurationInstanceId = configurationInstanceId_example; //
seshukmb3a332a2018-10-05 16:27:16 +080018598String *body = body_example; // (optional)
18599
18600OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init];
18601
18602// Disable Port Mirroring
18603[apiInstance disablePortWith:version
18604 serviceInstanceId:serviceInstanceId
18605 configurationInstanceId:configurationInstanceId
18606 body:body
18607 completionHandler: ^(NSError* error) {
18608 if (error) {
18609 NSLog(@"Error: %@", error);
18610 }
18611 }];
18612</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000018613 </div>
seshukmb3a332a2018-10-05 16:27:16 +080018614
tragait5e9676e2021-01-14 16:07:07 +000018615 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-disablePort-0-javascript">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053018616 <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is');
seshukmb3a332a2018-10-05 16:27:16 +080018617
Priyadharshinic86ab4a2020-08-14 17:11:49 +053018618var api = new SoGuilinApIs.OnapsoinfraserviceInstantiationApi()
seshukmb3a332a2018-10-05 16:27:16 +080018619
tragait5e9676e2021-01-14 16:07:07 +000018620var version = version_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080018621
tragait5e9676e2021-01-14 16:07:07 +000018622var serviceInstanceId = serviceInstanceId_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080018623
tragait5e9676e2021-01-14 16:07:07 +000018624var configurationInstanceId = configurationInstanceId_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080018625
tragait5e9676e2021-01-14 16:07:07 +000018626var opts = {
18627 'body': body_example // {String}
seshukmb3a332a2018-10-05 16:27:16 +080018628};
18629
18630var callback = function(error, data, response) {
18631 if (error) {
18632 console.error(error);
18633 } else {
18634 console.log('API called successfully.');
18635 }
18636};
18637api.disablePort(version, serviceInstanceId, configurationInstanceId, opts, callback);
18638</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000018639 </div>
seshukmb3a332a2018-10-05 16:27:16 +080018640
tragait5e9676e2021-01-14 16:07:07 +000018641 <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-disablePort-0-angular">
seshukmb3a332a2018-10-05 16:27:16 +080018642 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
18643 </div>-->
tragait5e9676e2021-01-14 16:07:07 +000018644 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-disablePort-0-csharp">
seshukmb3a332a2018-10-05 16:27:16 +080018645 <pre class="prettyprint"><code class="language-cs">using System;
18646using System.Diagnostics;
18647using IO.Swagger.Api;
18648using IO.Swagger.Client;
18649using IO.Swagger.Model;
18650
18651namespace Example
18652{
18653 public class disablePortExample
18654 {
18655 public void main()
18656 {
tragait5e9676e2021-01-14 16:07:07 +000018657
seshukmb3a332a2018-10-05 16:27:16 +080018658 var apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000018659 var version = version_example; // String |
18660 var serviceInstanceId = serviceInstanceId_example; // String |
18661 var configurationInstanceId = configurationInstanceId_example; // String |
18662 var body = body_example; // String | (optional)
seshukmb3a332a2018-10-05 16:27:16 +080018663
18664 try
18665 {
18666 // Disable Port Mirroring
18667 apiInstance.disablePort(version, serviceInstanceId, configurationInstanceId, body);
18668 }
18669 catch (Exception e)
18670 {
18671 Debug.Print("Exception when calling OnapsoinfraserviceInstantiationApi.disablePort: " + e.Message );
18672 }
18673 }
18674 }
18675}
18676</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000018677 </div>
seshukmb3a332a2018-10-05 16:27:16 +080018678
tragait5e9676e2021-01-14 16:07:07 +000018679 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-disablePort-0-php">
seshukmb3a332a2018-10-05 16:27:16 +080018680 <pre class="prettyprint"><code class="language-php"><&#63;php
18681require_once(__DIR__ . '/vendor/autoload.php');
18682
18683$api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000018684$version = version_example; // String |
18685$serviceInstanceId = serviceInstanceId_example; // String |
18686$configurationInstanceId = configurationInstanceId_example; // String |
18687$body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080018688
18689try {
18690 $api_instance->disablePort($version, $serviceInstanceId, $configurationInstanceId, $body);
18691} catch (Exception $e) {
18692 echo 'Exception when calling OnapsoinfraserviceInstantiationApi->disablePort: ', $e->getMessage(), PHP_EOL;
18693}
18694?></code></pre>
tragait5e9676e2021-01-14 16:07:07 +000018695 </div>
seshukmb3a332a2018-10-05 16:27:16 +080018696
tragait5e9676e2021-01-14 16:07:07 +000018697 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-disablePort-0-perl">
seshukmb3a332a2018-10-05 16:27:16 +080018698 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
18699use WWW::SwaggerClient::Configuration;
18700use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi;
18701
18702my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new();
tragait5e9676e2021-01-14 16:07:07 +000018703my $version = version_example; # String |
18704my $serviceInstanceId = serviceInstanceId_example; # String |
18705my $configurationInstanceId = configurationInstanceId_example; # String |
18706my $body = WWW::SwaggerClient::Object::String->new(); # String |
seshukmb3a332a2018-10-05 16:27:16 +080018707
tragait5e9676e2021-01-14 16:07:07 +000018708eval {
seshukmb3a332a2018-10-05 16:27:16 +080018709 $api_instance->disablePort(version => $version, serviceInstanceId => $serviceInstanceId, configurationInstanceId => $configurationInstanceId, body => $body);
18710};
18711if ($@) {
18712 warn "Exception when calling OnapsoinfraserviceInstantiationApi->disablePort: $@\n";
18713}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000018714 </div>
seshukmb3a332a2018-10-05 16:27:16 +080018715
tragait5e9676e2021-01-14 16:07:07 +000018716 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-disablePort-0-python">
seshukmb3a332a2018-10-05 16:27:16 +080018717 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
18718import time
18719import swagger_client
18720from swagger_client.rest import ApiException
18721from pprint import pprint
18722
18723# create an instance of the API class
18724api_instance = swagger_client.OnapsoinfraserviceInstantiationApi()
tragait5e9676e2021-01-14 16:07:07 +000018725version = version_example # String |
18726serviceInstanceId = serviceInstanceId_example # String |
18727configurationInstanceId = configurationInstanceId_example # String |
seshukmb3a332a2018-10-05 16:27:16 +080018728body = body_example # String | (optional)
18729
tragait5e9676e2021-01-14 16:07:07 +000018730try:
seshukmb3a332a2018-10-05 16:27:16 +080018731 # Disable Port Mirroring
18732 api_instance.disable_port(version, serviceInstanceId, configurationInstanceId, body=body)
18733except ApiException as e:
18734 print("Exception when calling OnapsoinfraserviceInstantiationApi->disablePort: %s\n" % e)</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000018735 </div>
seshukmb3a332a2018-10-05 16:27:16 +080018736 </div>
seshukmb3a332a2018-10-05 16:27:16 +080018737
tragait5e9676e2021-01-14 16:07:07 +000018738 <h2>Parameters</h2>
seshukmb3a332a2018-10-05 16:27:16 +080018739
18740 <div class="methodsubtabletitle">Path parameters</div>
18741 <table id="methodsubtable">
18742 <tr>
tragait5e9676e2021-01-14 16:07:07 +000018743 <th width="150px">Name</th>
18744 <th>Description</th>
seshukmb3a332a2018-10-05 16:27:16 +080018745 </tr>
tragait5e9676e2021-01-14 16:07:07 +000018746 <tr><td style="width:150px;">version*</td>
18747 <td>
seshukmb3a332a2018-10-05 16:27:16 +080018748
18749
tragait5e9676e2021-01-14 16:07:07 +000018750 <div id="d2e199_disablePort_version">
18751 <div class="json-schema-view">
18752 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080018753 <span class="type">
18754 String
18755 </span>
18756
tragait5e9676e2021-01-14 16:07:07 +000018757 </div>
18758 <div class="inner required">
18759 Required
18760 </div>
18761 </div>
18762 </div>
18763 </td>
18764 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080018765
tragait5e9676e2021-01-14 16:07:07 +000018766 <tr><td style="width:150px;">serviceInstanceId*</td>
18767 <td>
seshukmb3a332a2018-10-05 16:27:16 +080018768
18769
tragait5e9676e2021-01-14 16:07:07 +000018770 <div id="d2e199_disablePort_serviceInstanceId">
18771 <div class="json-schema-view">
18772 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080018773 <span class="type">
18774 String
18775 </span>
18776
tragait5e9676e2021-01-14 16:07:07 +000018777 </div>
18778 <div class="inner required">
18779 Required
18780 </div>
18781 </div>
18782 </div>
18783 </td>
18784 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080018785
tragait5e9676e2021-01-14 16:07:07 +000018786 <tr><td style="width:150px;">configurationInstanceId*</td>
18787 <td>
seshukmb3a332a2018-10-05 16:27:16 +080018788
18789
tragait5e9676e2021-01-14 16:07:07 +000018790 <div id="d2e199_disablePort_configurationInstanceId">
18791 <div class="json-schema-view">
18792 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080018793 <span class="type">
18794 String
18795 </span>
18796
tragait5e9676e2021-01-14 16:07:07 +000018797 </div>
18798 <div class="inner required">
18799 Required
18800 </div>
18801 </div>
18802 </div>
18803 </td>
18804 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080018805
18806 </table>
18807
18808
18809 <div class="methodsubtabletitle">Body parameters</div>
18810 <table id="methodsubtable">
tragait5e9676e2021-01-14 16:07:07 +000018811 <tr>
18812 <th width="150px">Name</th>
18813 <th>Description</th>
18814 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080018815 <tr><td style="width:150px;">body </td>
tragait5e9676e2021-01-14 16:07:07 +000018816 <td>
seshukmb3a332a2018-10-05 16:27:16 +080018817
18818
tragait5e9676e2021-01-14 16:07:07 +000018819 <script>
seshukmb3a332a2018-10-05 16:27:16 +080018820$(document).ready(function() {
18821 var schemaWrapper = {
18822 "in" : "body",
18823 "name" : "body",
18824 "required" : false,
18825 "schema" : {
18826 "type" : "string"
18827 }
18828};
18829 var schema = schemaWrapper.schema;
18830 if (schema.$ref != null) {
18831 schema = defsParser.$refs.get(schema.$ref);
18832 } else {
18833 schemaWrapper.definitions = Object.assign({}, defs);
18834 $RefParser.dereference(schemaWrapper).catch(function(err) {
18835 console.log(err);
18836 });
18837 }
18838
18839 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
18840 var result = $('#d2e199_disablePort_body');
18841 result.empty();
18842 result.append(view.render());
18843});
18844</script>
tragait5e9676e2021-01-14 16:07:07 +000018845 <div id="d2e199_disablePort_body"></div>
18846 </td>
18847 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080018848
18849 </table>
18850
18851
18852
tragait5e9676e2021-01-14 16:07:07 +000018853 <h2>Responses</h2>
seshukmb3a332a2018-10-05 16:27:16 +080018854 <h3> Status: default - successful operation </h3>
18855
18856 <ul class="nav nav-tabs nav-tabs-examples" >
18857 </ul>
18858
18859 <div class="tab-content" style='margin-bottom: 10px;'>
18860 </div>
18861
18862 </article>
tragait5e9676e2021-01-14 16:07:07 +000018863 </div>
18864 <hr>
seshukmb3a332a2018-10-05 16:27:16 +080018865 <div id="api-OnapsoinfraserviceInstantiation-enablePort">
tragait5e9676e2021-01-14 16:07:07 +000018866 <article id="api-OnapsoinfraserviceInstantiation-enablePort-0" data-group="User" data-name="enablePort" data-version="0">
18867 <div class="pull-left">
18868 <h1>enablePort</h1>
18869 <p>Enable Port Mirroring</p>
18870 </div>
18871 <div class="pull-right"></div>
18872 <div class="clearfix"></div>
18873 <p></p>
18874 <p class="marked"></p>
18875 <p></p>
18876 <br />
18877 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}/enablePort</span></code></pre>
18878 <p>
18879 <h3>Usage and SDK Samples</h3>
18880 </p>
18881 <ul class="nav nav-tabs nav-tabs-examples">
18882 <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-enablePort-0-curl">Curl</a></li>
18883 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-enablePort-0-java">Java</a></li>
18884 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-enablePort-0-android">Android</a></li>
18885 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-enablePort-0-groovy">Groovy</a></li>-->
18886 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-enablePort-0-objc">Obj-C</a></li>
18887 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-enablePort-0-javascript">JavaScript</a></li>
18888 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-enablePort-0-angular">Angular</a></li>-->
18889 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-enablePort-0-csharp">C#</a></li>
18890 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-enablePort-0-php">PHP</a></li>
18891 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-enablePort-0-perl">Perl</a></li>
18892 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-enablePort-0-python">Python</a></li>
18893 </ul>
seshukmb3a332a2018-10-05 16:27:16 +080018894
tragait5e9676e2021-01-14 16:07:07 +000018895 <div class="tab-content">
18896 <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-enablePort-0-curl">
18897 <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}/enablePort"</code></pre>
18898 </div>
18899 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-enablePort-0-java">
seshukmb3a332a2018-10-05 16:27:16 +080018900 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
18901import io.swagger.client.auth.*;
18902import io.swagger.client.model.*;
18903import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
18904
18905import java.io.File;
18906import java.util.*;
18907
18908public class OnapsoinfraserviceInstantiationApiExample {
18909
18910 public static void main(String[] args) {
tragait5e9676e2021-01-14 16:07:07 +000018911
seshukmb3a332a2018-10-05 16:27:16 +080018912 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000018913 String version = version_example; // String |
18914 String serviceInstanceId = serviceInstanceId_example; // String |
18915 String configurationInstanceId = configurationInstanceId_example; // String |
18916 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080018917 try {
18918 apiInstance.enablePort(version, serviceInstanceId, configurationInstanceId, body);
18919 } catch (ApiException e) {
18920 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#enablePort");
18921 e.printStackTrace();
18922 }
18923 }
18924}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000018925 </div>
seshukmb3a332a2018-10-05 16:27:16 +080018926
tragait5e9676e2021-01-14 16:07:07 +000018927 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-enablePort-0-android">
seshukmb3a332a2018-10-05 16:27:16 +080018928 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
18929
18930public class OnapsoinfraserviceInstantiationApiExample {
18931
18932 public static void main(String[] args) {
18933 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000018934 String version = version_example; // String |
18935 String serviceInstanceId = serviceInstanceId_example; // String |
18936 String configurationInstanceId = configurationInstanceId_example; // String |
18937 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080018938 try {
18939 apiInstance.enablePort(version, serviceInstanceId, configurationInstanceId, body);
18940 } catch (ApiException e) {
18941 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#enablePort");
18942 e.printStackTrace();
18943 }
18944 }
18945}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000018946 </div>
18947 <!--
seshukmb3a332a2018-10-05 16:27:16 +080018948 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-enablePort-0-groovy">
18949 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
18950 </div> -->
tragait5e9676e2021-01-14 16:07:07 +000018951 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-enablePort-0-objc">
18952 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
18953String *serviceInstanceId = serviceInstanceId_example; //
18954String *configurationInstanceId = configurationInstanceId_example; //
seshukmb3a332a2018-10-05 16:27:16 +080018955String *body = body_example; // (optional)
18956
18957OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init];
18958
18959// Enable Port Mirroring
18960[apiInstance enablePortWith:version
18961 serviceInstanceId:serviceInstanceId
18962 configurationInstanceId:configurationInstanceId
18963 body:body
18964 completionHandler: ^(NSError* error) {
18965 if (error) {
18966 NSLog(@"Error: %@", error);
18967 }
18968 }];
18969</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000018970 </div>
seshukmb3a332a2018-10-05 16:27:16 +080018971
tragait5e9676e2021-01-14 16:07:07 +000018972 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-enablePort-0-javascript">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053018973 <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is');
seshukmb3a332a2018-10-05 16:27:16 +080018974
Priyadharshinic86ab4a2020-08-14 17:11:49 +053018975var api = new SoGuilinApIs.OnapsoinfraserviceInstantiationApi()
seshukmb3a332a2018-10-05 16:27:16 +080018976
tragait5e9676e2021-01-14 16:07:07 +000018977var version = version_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080018978
tragait5e9676e2021-01-14 16:07:07 +000018979var serviceInstanceId = serviceInstanceId_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080018980
tragait5e9676e2021-01-14 16:07:07 +000018981var configurationInstanceId = configurationInstanceId_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080018982
tragait5e9676e2021-01-14 16:07:07 +000018983var opts = {
18984 'body': body_example // {String}
seshukmb3a332a2018-10-05 16:27:16 +080018985};
18986
18987var callback = function(error, data, response) {
18988 if (error) {
18989 console.error(error);
18990 } else {
18991 console.log('API called successfully.');
18992 }
18993};
18994api.enablePort(version, serviceInstanceId, configurationInstanceId, opts, callback);
18995</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000018996 </div>
seshukmb3a332a2018-10-05 16:27:16 +080018997
tragait5e9676e2021-01-14 16:07:07 +000018998 <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-enablePort-0-angular">
seshukmb3a332a2018-10-05 16:27:16 +080018999 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
19000 </div>-->
tragait5e9676e2021-01-14 16:07:07 +000019001 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-enablePort-0-csharp">
seshukmb3a332a2018-10-05 16:27:16 +080019002 <pre class="prettyprint"><code class="language-cs">using System;
19003using System.Diagnostics;
19004using IO.Swagger.Api;
19005using IO.Swagger.Client;
19006using IO.Swagger.Model;
19007
19008namespace Example
19009{
19010 public class enablePortExample
19011 {
19012 public void main()
19013 {
tragait5e9676e2021-01-14 16:07:07 +000019014
seshukmb3a332a2018-10-05 16:27:16 +080019015 var apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000019016 var version = version_example; // String |
19017 var serviceInstanceId = serviceInstanceId_example; // String |
19018 var configurationInstanceId = configurationInstanceId_example; // String |
19019 var body = body_example; // String | (optional)
seshukmb3a332a2018-10-05 16:27:16 +080019020
19021 try
19022 {
19023 // Enable Port Mirroring
19024 apiInstance.enablePort(version, serviceInstanceId, configurationInstanceId, body);
19025 }
19026 catch (Exception e)
19027 {
19028 Debug.Print("Exception when calling OnapsoinfraserviceInstantiationApi.enablePort: " + e.Message );
19029 }
19030 }
19031 }
19032}
19033</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000019034 </div>
seshukmb3a332a2018-10-05 16:27:16 +080019035
tragait5e9676e2021-01-14 16:07:07 +000019036 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-enablePort-0-php">
seshukmb3a332a2018-10-05 16:27:16 +080019037 <pre class="prettyprint"><code class="language-php"><&#63;php
19038require_once(__DIR__ . '/vendor/autoload.php');
19039
19040$api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000019041$version = version_example; // String |
19042$serviceInstanceId = serviceInstanceId_example; // String |
19043$configurationInstanceId = configurationInstanceId_example; // String |
19044$body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080019045
19046try {
19047 $api_instance->enablePort($version, $serviceInstanceId, $configurationInstanceId, $body);
19048} catch (Exception $e) {
19049 echo 'Exception when calling OnapsoinfraserviceInstantiationApi->enablePort: ', $e->getMessage(), PHP_EOL;
19050}
19051?></code></pre>
tragait5e9676e2021-01-14 16:07:07 +000019052 </div>
seshukmb3a332a2018-10-05 16:27:16 +080019053
tragait5e9676e2021-01-14 16:07:07 +000019054 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-enablePort-0-perl">
seshukmb3a332a2018-10-05 16:27:16 +080019055 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
19056use WWW::SwaggerClient::Configuration;
19057use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi;
19058
19059my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new();
tragait5e9676e2021-01-14 16:07:07 +000019060my $version = version_example; # String |
19061my $serviceInstanceId = serviceInstanceId_example; # String |
19062my $configurationInstanceId = configurationInstanceId_example; # String |
19063my $body = WWW::SwaggerClient::Object::String->new(); # String |
seshukmb3a332a2018-10-05 16:27:16 +080019064
tragait5e9676e2021-01-14 16:07:07 +000019065eval {
seshukmb3a332a2018-10-05 16:27:16 +080019066 $api_instance->enablePort(version => $version, serviceInstanceId => $serviceInstanceId, configurationInstanceId => $configurationInstanceId, body => $body);
19067};
19068if ($@) {
19069 warn "Exception when calling OnapsoinfraserviceInstantiationApi->enablePort: $@\n";
19070}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000019071 </div>
seshukmb3a332a2018-10-05 16:27:16 +080019072
tragait5e9676e2021-01-14 16:07:07 +000019073 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-enablePort-0-python">
seshukmb3a332a2018-10-05 16:27:16 +080019074 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
19075import time
19076import swagger_client
19077from swagger_client.rest import ApiException
19078from pprint import pprint
19079
19080# create an instance of the API class
19081api_instance = swagger_client.OnapsoinfraserviceInstantiationApi()
tragait5e9676e2021-01-14 16:07:07 +000019082version = version_example # String |
19083serviceInstanceId = serviceInstanceId_example # String |
19084configurationInstanceId = configurationInstanceId_example # String |
seshukmb3a332a2018-10-05 16:27:16 +080019085body = body_example # String | (optional)
19086
tragait5e9676e2021-01-14 16:07:07 +000019087try:
seshukmb3a332a2018-10-05 16:27:16 +080019088 # Enable Port Mirroring
19089 api_instance.enable_port(version, serviceInstanceId, configurationInstanceId, body=body)
19090except ApiException as e:
19091 print("Exception when calling OnapsoinfraserviceInstantiationApi->enablePort: %s\n" % e)</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000019092 </div>
seshukmb3a332a2018-10-05 16:27:16 +080019093 </div>
seshukmb3a332a2018-10-05 16:27:16 +080019094
tragait5e9676e2021-01-14 16:07:07 +000019095 <h2>Parameters</h2>
seshukmb3a332a2018-10-05 16:27:16 +080019096
19097 <div class="methodsubtabletitle">Path parameters</div>
19098 <table id="methodsubtable">
19099 <tr>
tragait5e9676e2021-01-14 16:07:07 +000019100 <th width="150px">Name</th>
19101 <th>Description</th>
seshukmb3a332a2018-10-05 16:27:16 +080019102 </tr>
tragait5e9676e2021-01-14 16:07:07 +000019103 <tr><td style="width:150px;">version*</td>
19104 <td>
seshukmb3a332a2018-10-05 16:27:16 +080019105
19106
tragait5e9676e2021-01-14 16:07:07 +000019107 <div id="d2e199_enablePort_version">
19108 <div class="json-schema-view">
19109 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080019110 <span class="type">
19111 String
19112 </span>
19113
tragait5e9676e2021-01-14 16:07:07 +000019114 </div>
19115 <div class="inner required">
19116 Required
19117 </div>
19118 </div>
19119 </div>
19120 </td>
19121 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080019122
tragait5e9676e2021-01-14 16:07:07 +000019123 <tr><td style="width:150px;">serviceInstanceId*</td>
19124 <td>
seshukmb3a332a2018-10-05 16:27:16 +080019125
19126
tragait5e9676e2021-01-14 16:07:07 +000019127 <div id="d2e199_enablePort_serviceInstanceId">
19128 <div class="json-schema-view">
19129 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080019130 <span class="type">
19131 String
19132 </span>
19133
tragait5e9676e2021-01-14 16:07:07 +000019134 </div>
19135 <div class="inner required">
19136 Required
19137 </div>
19138 </div>
19139 </div>
19140 </td>
19141 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080019142
tragait5e9676e2021-01-14 16:07:07 +000019143 <tr><td style="width:150px;">configurationInstanceId*</td>
19144 <td>
seshukmb3a332a2018-10-05 16:27:16 +080019145
19146
tragait5e9676e2021-01-14 16:07:07 +000019147 <div id="d2e199_enablePort_configurationInstanceId">
19148 <div class="json-schema-view">
19149 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080019150 <span class="type">
19151 String
19152 </span>
19153
tragait5e9676e2021-01-14 16:07:07 +000019154 </div>
19155 <div class="inner required">
19156 Required
19157 </div>
19158 </div>
19159 </div>
19160 </td>
19161 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080019162
19163 </table>
19164
19165
19166 <div class="methodsubtabletitle">Body parameters</div>
19167 <table id="methodsubtable">
tragait5e9676e2021-01-14 16:07:07 +000019168 <tr>
19169 <th width="150px">Name</th>
19170 <th>Description</th>
19171 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080019172 <tr><td style="width:150px;">body </td>
tragait5e9676e2021-01-14 16:07:07 +000019173 <td>
seshukmb3a332a2018-10-05 16:27:16 +080019174
19175
tragait5e9676e2021-01-14 16:07:07 +000019176 <script>
seshukmb3a332a2018-10-05 16:27:16 +080019177$(document).ready(function() {
19178 var schemaWrapper = {
19179 "in" : "body",
19180 "name" : "body",
19181 "required" : false,
19182 "schema" : {
19183 "type" : "string"
19184 }
19185};
19186 var schema = schemaWrapper.schema;
19187 if (schema.$ref != null) {
19188 schema = defsParser.$refs.get(schema.$ref);
19189 } else {
19190 schemaWrapper.definitions = Object.assign({}, defs);
19191 $RefParser.dereference(schemaWrapper).catch(function(err) {
19192 console.log(err);
19193 });
19194 }
19195
19196 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
19197 var result = $('#d2e199_enablePort_body');
19198 result.empty();
19199 result.append(view.render());
19200});
19201</script>
tragait5e9676e2021-01-14 16:07:07 +000019202 <div id="d2e199_enablePort_body"></div>
19203 </td>
19204 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080019205
19206 </table>
19207
19208
19209
tragait5e9676e2021-01-14 16:07:07 +000019210 <h2>Responses</h2>
seshukmb3a332a2018-10-05 16:27:16 +080019211 <h3> Status: default - successful operation </h3>
19212
19213 <ul class="nav nav-tabs nav-tabs-examples" >
19214 </ul>
19215
19216 <div class="tab-content" style='margin-bottom: 10px;'>
19217 </div>
19218
19219 </article>
tragait5e9676e2021-01-14 16:07:07 +000019220 </div>
19221 <hr>
seshukmb3a332a2018-10-05 16:27:16 +080019222 <div id="api-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate">
tragait5e9676e2021-01-14 16:07:07 +000019223 <article id="api-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0" data-group="User" data-name="inPlaceSoftwareUpdate" data-version="0">
19224 <div class="pull-left">
19225 <h1>inPlaceSoftwareUpdate</h1>
19226 <p>Perform VNF software update</p>
19227 </div>
19228 <div class="pull-right"></div>
19229 <div class="clearfix"></div>
19230 <p></p>
19231 <p class="marked"></p>
19232 <p></p>
19233 <br />
19234 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/inPlaceSoftwareUpdate</span></code></pre>
19235 <p>
19236 <h3>Usage and SDK Samples</h3>
19237 </p>
19238 <ul class="nav nav-tabs nav-tabs-examples">
19239 <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-curl">Curl</a></li>
19240 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-java">Java</a></li>
19241 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-android">Android</a></li>
19242 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-groovy">Groovy</a></li>-->
19243 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-objc">Obj-C</a></li>
19244 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-javascript">JavaScript</a></li>
19245 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-angular">Angular</a></li>-->
19246 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-csharp">C#</a></li>
19247 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-php">PHP</a></li>
19248 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-perl">Perl</a></li>
19249 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-python">Python</a></li>
19250 </ul>
seshukmb3a332a2018-10-05 16:27:16 +080019251
tragait5e9676e2021-01-14 16:07:07 +000019252 <div class="tab-content">
19253 <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-curl">
19254 <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/inPlaceSoftwareUpdate"</code></pre>
19255 </div>
19256 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-java">
seshukmb3a332a2018-10-05 16:27:16 +080019257 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
19258import io.swagger.client.auth.*;
19259import io.swagger.client.model.*;
19260import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
19261
19262import java.io.File;
19263import java.util.*;
19264
19265public class OnapsoinfraserviceInstantiationApiExample {
19266
19267 public static void main(String[] args) {
tragait5e9676e2021-01-14 16:07:07 +000019268
seshukmb3a332a2018-10-05 16:27:16 +080019269 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000019270 String version = version_example; // String |
19271 String serviceInstanceId = serviceInstanceId_example; // String |
19272 String vnfInstanceId = vnfInstanceId_example; // String |
19273 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080019274 try {
19275 apiInstance.inPlaceSoftwareUpdate(version, serviceInstanceId, vnfInstanceId, body);
19276 } catch (ApiException e) {
19277 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#inPlaceSoftwareUpdate");
19278 e.printStackTrace();
19279 }
19280 }
19281}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000019282 </div>
seshukmb3a332a2018-10-05 16:27:16 +080019283
tragait5e9676e2021-01-14 16:07:07 +000019284 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-android">
seshukmb3a332a2018-10-05 16:27:16 +080019285 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
19286
19287public class OnapsoinfraserviceInstantiationApiExample {
19288
19289 public static void main(String[] args) {
19290 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000019291 String version = version_example; // String |
19292 String serviceInstanceId = serviceInstanceId_example; // String |
19293 String vnfInstanceId = vnfInstanceId_example; // String |
19294 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080019295 try {
19296 apiInstance.inPlaceSoftwareUpdate(version, serviceInstanceId, vnfInstanceId, body);
19297 } catch (ApiException e) {
19298 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#inPlaceSoftwareUpdate");
19299 e.printStackTrace();
19300 }
19301 }
19302}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000019303 </div>
19304 <!--
seshukmb3a332a2018-10-05 16:27:16 +080019305 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-groovy">
19306 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
19307 </div> -->
tragait5e9676e2021-01-14 16:07:07 +000019308 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-objc">
19309 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
19310String *serviceInstanceId = serviceInstanceId_example; //
19311String *vnfInstanceId = vnfInstanceId_example; //
seshukmb3a332a2018-10-05 16:27:16 +080019312String *body = body_example; // (optional)
19313
19314OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init];
19315
19316// Perform VNF software update
19317[apiInstance inPlaceSoftwareUpdateWith:version
19318 serviceInstanceId:serviceInstanceId
19319 vnfInstanceId:vnfInstanceId
19320 body:body
19321 completionHandler: ^(NSError* error) {
19322 if (error) {
19323 NSLog(@"Error: %@", error);
19324 }
19325 }];
19326</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000019327 </div>
seshukmb3a332a2018-10-05 16:27:16 +080019328
tragait5e9676e2021-01-14 16:07:07 +000019329 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-javascript">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053019330 <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is');
seshukmb3a332a2018-10-05 16:27:16 +080019331
Priyadharshinic86ab4a2020-08-14 17:11:49 +053019332var api = new SoGuilinApIs.OnapsoinfraserviceInstantiationApi()
seshukmb3a332a2018-10-05 16:27:16 +080019333
tragait5e9676e2021-01-14 16:07:07 +000019334var version = version_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080019335
tragait5e9676e2021-01-14 16:07:07 +000019336var serviceInstanceId = serviceInstanceId_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080019337
tragait5e9676e2021-01-14 16:07:07 +000019338var vnfInstanceId = vnfInstanceId_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080019339
tragait5e9676e2021-01-14 16:07:07 +000019340var opts = {
19341 'body': body_example // {String}
seshukmb3a332a2018-10-05 16:27:16 +080019342};
19343
19344var callback = function(error, data, response) {
19345 if (error) {
19346 console.error(error);
19347 } else {
19348 console.log('API called successfully.');
19349 }
19350};
19351api.inPlaceSoftwareUpdate(version, serviceInstanceId, vnfInstanceId, opts, callback);
19352</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000019353 </div>
seshukmb3a332a2018-10-05 16:27:16 +080019354
tragait5e9676e2021-01-14 16:07:07 +000019355 <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-angular">
seshukmb3a332a2018-10-05 16:27:16 +080019356 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
19357 </div>-->
tragait5e9676e2021-01-14 16:07:07 +000019358 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-csharp">
seshukmb3a332a2018-10-05 16:27:16 +080019359 <pre class="prettyprint"><code class="language-cs">using System;
19360using System.Diagnostics;
19361using IO.Swagger.Api;
19362using IO.Swagger.Client;
19363using IO.Swagger.Model;
19364
19365namespace Example
19366{
19367 public class inPlaceSoftwareUpdateExample
19368 {
19369 public void main()
19370 {
tragait5e9676e2021-01-14 16:07:07 +000019371
seshukmb3a332a2018-10-05 16:27:16 +080019372 var apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000019373 var version = version_example; // String |
19374 var serviceInstanceId = serviceInstanceId_example; // String |
19375 var vnfInstanceId = vnfInstanceId_example; // String |
19376 var body = body_example; // String | (optional)
seshukmb3a332a2018-10-05 16:27:16 +080019377
19378 try
19379 {
19380 // Perform VNF software update
19381 apiInstance.inPlaceSoftwareUpdate(version, serviceInstanceId, vnfInstanceId, body);
19382 }
19383 catch (Exception e)
19384 {
19385 Debug.Print("Exception when calling OnapsoinfraserviceInstantiationApi.inPlaceSoftwareUpdate: " + e.Message );
19386 }
19387 }
19388 }
19389}
19390</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000019391 </div>
seshukmb3a332a2018-10-05 16:27:16 +080019392
tragait5e9676e2021-01-14 16:07:07 +000019393 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-php">
seshukmb3a332a2018-10-05 16:27:16 +080019394 <pre class="prettyprint"><code class="language-php"><&#63;php
19395require_once(__DIR__ . '/vendor/autoload.php');
19396
19397$api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000019398$version = version_example; // String |
19399$serviceInstanceId = serviceInstanceId_example; // String |
19400$vnfInstanceId = vnfInstanceId_example; // String |
19401$body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080019402
19403try {
19404 $api_instance->inPlaceSoftwareUpdate($version, $serviceInstanceId, $vnfInstanceId, $body);
19405} catch (Exception $e) {
19406 echo 'Exception when calling OnapsoinfraserviceInstantiationApi->inPlaceSoftwareUpdate: ', $e->getMessage(), PHP_EOL;
19407}
19408?></code></pre>
tragait5e9676e2021-01-14 16:07:07 +000019409 </div>
seshukmb3a332a2018-10-05 16:27:16 +080019410
tragait5e9676e2021-01-14 16:07:07 +000019411 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-perl">
seshukmb3a332a2018-10-05 16:27:16 +080019412 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
19413use WWW::SwaggerClient::Configuration;
19414use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi;
19415
19416my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new();
tragait5e9676e2021-01-14 16:07:07 +000019417my $version = version_example; # String |
19418my $serviceInstanceId = serviceInstanceId_example; # String |
19419my $vnfInstanceId = vnfInstanceId_example; # String |
19420my $body = WWW::SwaggerClient::Object::String->new(); # String |
seshukmb3a332a2018-10-05 16:27:16 +080019421
tragait5e9676e2021-01-14 16:07:07 +000019422eval {
seshukmb3a332a2018-10-05 16:27:16 +080019423 $api_instance->inPlaceSoftwareUpdate(version => $version, serviceInstanceId => $serviceInstanceId, vnfInstanceId => $vnfInstanceId, body => $body);
19424};
19425if ($@) {
19426 warn "Exception when calling OnapsoinfraserviceInstantiationApi->inPlaceSoftwareUpdate: $@\n";
19427}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000019428 </div>
seshukmb3a332a2018-10-05 16:27:16 +080019429
tragait5e9676e2021-01-14 16:07:07 +000019430 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-python">
seshukmb3a332a2018-10-05 16:27:16 +080019431 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
19432import time
19433import swagger_client
19434from swagger_client.rest import ApiException
19435from pprint import pprint
19436
19437# create an instance of the API class
19438api_instance = swagger_client.OnapsoinfraserviceInstantiationApi()
tragait5e9676e2021-01-14 16:07:07 +000019439version = version_example # String |
19440serviceInstanceId = serviceInstanceId_example # String |
19441vnfInstanceId = vnfInstanceId_example # String |
seshukmb3a332a2018-10-05 16:27:16 +080019442body = body_example # String | (optional)
19443
tragait5e9676e2021-01-14 16:07:07 +000019444try:
seshukmb3a332a2018-10-05 16:27:16 +080019445 # Perform VNF software update
19446 api_instance.in_place_software_update(version, serviceInstanceId, vnfInstanceId, body=body)
19447except ApiException as e:
19448 print("Exception when calling OnapsoinfraserviceInstantiationApi->inPlaceSoftwareUpdate: %s\n" % e)</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000019449 </div>
seshukmb3a332a2018-10-05 16:27:16 +080019450 </div>
seshukmb3a332a2018-10-05 16:27:16 +080019451
tragait5e9676e2021-01-14 16:07:07 +000019452 <h2>Parameters</h2>
seshukmb3a332a2018-10-05 16:27:16 +080019453
19454 <div class="methodsubtabletitle">Path parameters</div>
19455 <table id="methodsubtable">
19456 <tr>
tragait5e9676e2021-01-14 16:07:07 +000019457 <th width="150px">Name</th>
19458 <th>Description</th>
seshukmb3a332a2018-10-05 16:27:16 +080019459 </tr>
tragait5e9676e2021-01-14 16:07:07 +000019460 <tr><td style="width:150px;">version*</td>
19461 <td>
seshukmb3a332a2018-10-05 16:27:16 +080019462
19463
tragait5e9676e2021-01-14 16:07:07 +000019464 <div id="d2e199_inPlaceSoftwareUpdate_version">
19465 <div class="json-schema-view">
19466 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080019467 <span class="type">
19468 String
19469 </span>
19470
tragait5e9676e2021-01-14 16:07:07 +000019471 </div>
19472 <div class="inner required">
19473 Required
19474 </div>
19475 </div>
19476 </div>
19477 </td>
19478 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080019479
tragait5e9676e2021-01-14 16:07:07 +000019480 <tr><td style="width:150px;">serviceInstanceId*</td>
19481 <td>
seshukmb3a332a2018-10-05 16:27:16 +080019482
19483
tragait5e9676e2021-01-14 16:07:07 +000019484 <div id="d2e199_inPlaceSoftwareUpdate_serviceInstanceId">
19485 <div class="json-schema-view">
19486 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080019487 <span class="type">
19488 String
19489 </span>
19490
tragait5e9676e2021-01-14 16:07:07 +000019491 </div>
19492 <div class="inner required">
19493 Required
19494 </div>
19495 </div>
19496 </div>
19497 </td>
19498 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080019499
tragait5e9676e2021-01-14 16:07:07 +000019500 <tr><td style="width:150px;">vnfInstanceId*</td>
19501 <td>
seshukmb3a332a2018-10-05 16:27:16 +080019502
19503
tragait5e9676e2021-01-14 16:07:07 +000019504 <div id="d2e199_inPlaceSoftwareUpdate_vnfInstanceId">
19505 <div class="json-schema-view">
19506 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080019507 <span class="type">
19508 String
19509 </span>
19510
tragait5e9676e2021-01-14 16:07:07 +000019511 </div>
19512 <div class="inner required">
19513 Required
19514 </div>
19515 </div>
19516 </div>
19517 </td>
19518 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080019519
19520 </table>
19521
19522
19523 <div class="methodsubtabletitle">Body parameters</div>
19524 <table id="methodsubtable">
tragait5e9676e2021-01-14 16:07:07 +000019525 <tr>
19526 <th width="150px">Name</th>
19527 <th>Description</th>
19528 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080019529 <tr><td style="width:150px;">body </td>
tragait5e9676e2021-01-14 16:07:07 +000019530 <td>
seshukmb3a332a2018-10-05 16:27:16 +080019531
19532
tragait5e9676e2021-01-14 16:07:07 +000019533 <script>
seshukmb3a332a2018-10-05 16:27:16 +080019534$(document).ready(function() {
19535 var schemaWrapper = {
19536 "in" : "body",
19537 "name" : "body",
19538 "required" : false,
19539 "schema" : {
19540 "type" : "string"
19541 }
19542};
19543 var schema = schemaWrapper.schema;
19544 if (schema.$ref != null) {
19545 schema = defsParser.$refs.get(schema.$ref);
19546 } else {
19547 schemaWrapper.definitions = Object.assign({}, defs);
19548 $RefParser.dereference(schemaWrapper).catch(function(err) {
19549 console.log(err);
19550 });
19551 }
19552
19553 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
19554 var result = $('#d2e199_inPlaceSoftwareUpdate_body');
19555 result.empty();
19556 result.append(view.render());
19557});
19558</script>
tragait5e9676e2021-01-14 16:07:07 +000019559 <div id="d2e199_inPlaceSoftwareUpdate_body"></div>
19560 </td>
19561 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080019562
19563 </table>
19564
19565
19566
tragait5e9676e2021-01-14 16:07:07 +000019567 <h2>Responses</h2>
seshukmb3a332a2018-10-05 16:27:16 +080019568 <h3> Status: default - successful operation </h3>
19569
19570 <ul class="nav nav-tabs nav-tabs-examples" >
19571 </ul>
19572
19573 <div class="tab-content" style='margin-bottom: 10px;'>
19574 </div>
19575
19576 </article>
tragait5e9676e2021-01-14 16:07:07 +000019577 </div>
19578 <hr>
seshukmb3a332a2018-10-05 16:27:16 +080019579 <div id="api-OnapsoinfraserviceInstantiation-removeRelationships">
tragait5e9676e2021-01-14 16:07:07 +000019580 <article id="api-OnapsoinfraserviceInstantiation-removeRelationships-0" data-group="User" data-name="removeRelationships" data-version="0">
19581 <div class="pull-left">
19582 <h1>removeRelationships</h1>
19583 <p>Remove Relationships from Service Instance</p>
19584 </div>
19585 <div class="pull-right"></div>
19586 <div class="clearfix"></div>
19587 <p></p>
19588 <p class="marked"></p>
19589 <p></p>
19590 <br />
19591 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/removeRelationships</span></code></pre>
19592 <p>
19593 <h3>Usage and SDK Samples</h3>
19594 </p>
19595 <ul class="nav nav-tabs nav-tabs-examples">
19596 <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-removeRelationships-0-curl">Curl</a></li>
19597 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-removeRelationships-0-java">Java</a></li>
19598 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-removeRelationships-0-android">Android</a></li>
19599 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-removeRelationships-0-groovy">Groovy</a></li>-->
19600 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-removeRelationships-0-objc">Obj-C</a></li>
19601 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-removeRelationships-0-javascript">JavaScript</a></li>
19602 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-removeRelationships-0-angular">Angular</a></li>-->
19603 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-removeRelationships-0-csharp">C#</a></li>
19604 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-removeRelationships-0-php">PHP</a></li>
19605 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-removeRelationships-0-perl">Perl</a></li>
19606 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-removeRelationships-0-python">Python</a></li>
19607 </ul>
seshukmb3a332a2018-10-05 16:27:16 +080019608
tragait5e9676e2021-01-14 16:07:07 +000019609 <div class="tab-content">
19610 <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-removeRelationships-0-curl">
19611 <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/removeRelationships"</code></pre>
19612 </div>
19613 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-removeRelationships-0-java">
seshukmb3a332a2018-10-05 16:27:16 +080019614 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
19615import io.swagger.client.auth.*;
19616import io.swagger.client.model.*;
19617import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
19618
19619import java.io.File;
19620import java.util.*;
19621
19622public class OnapsoinfraserviceInstantiationApiExample {
19623
19624 public static void main(String[] args) {
tragait5e9676e2021-01-14 16:07:07 +000019625
seshukmb3a332a2018-10-05 16:27:16 +080019626 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000019627 String version = version_example; // String |
19628 String serviceInstanceId = serviceInstanceId_example; // String |
19629 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080019630 try {
19631 apiInstance.removeRelationships(version, serviceInstanceId, body);
19632 } catch (ApiException e) {
19633 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#removeRelationships");
19634 e.printStackTrace();
19635 }
19636 }
19637}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000019638 </div>
seshukmb3a332a2018-10-05 16:27:16 +080019639
tragait5e9676e2021-01-14 16:07:07 +000019640 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-removeRelationships-0-android">
seshukmb3a332a2018-10-05 16:27:16 +080019641 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
19642
19643public class OnapsoinfraserviceInstantiationApiExample {
19644
19645 public static void main(String[] args) {
19646 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000019647 String version = version_example; // String |
19648 String serviceInstanceId = serviceInstanceId_example; // String |
19649 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080019650 try {
19651 apiInstance.removeRelationships(version, serviceInstanceId, body);
19652 } catch (ApiException e) {
19653 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#removeRelationships");
19654 e.printStackTrace();
19655 }
19656 }
19657}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000019658 </div>
19659 <!--
seshukmb3a332a2018-10-05 16:27:16 +080019660 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-removeRelationships-0-groovy">
19661 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
19662 </div> -->
tragait5e9676e2021-01-14 16:07:07 +000019663 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-removeRelationships-0-objc">
19664 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
19665String *serviceInstanceId = serviceInstanceId_example; //
seshukmb3a332a2018-10-05 16:27:16 +080019666String *body = body_example; // (optional)
19667
19668OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init];
19669
19670// Remove Relationships from Service Instance
19671[apiInstance removeRelationshipsWith:version
19672 serviceInstanceId:serviceInstanceId
19673 body:body
19674 completionHandler: ^(NSError* error) {
19675 if (error) {
19676 NSLog(@"Error: %@", error);
19677 }
19678 }];
19679</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000019680 </div>
seshukmb3a332a2018-10-05 16:27:16 +080019681
tragait5e9676e2021-01-14 16:07:07 +000019682 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-removeRelationships-0-javascript">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053019683 <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is');
seshukmb3a332a2018-10-05 16:27:16 +080019684
Priyadharshinic86ab4a2020-08-14 17:11:49 +053019685var api = new SoGuilinApIs.OnapsoinfraserviceInstantiationApi()
seshukmb3a332a2018-10-05 16:27:16 +080019686
tragait5e9676e2021-01-14 16:07:07 +000019687var version = version_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080019688
tragait5e9676e2021-01-14 16:07:07 +000019689var serviceInstanceId = serviceInstanceId_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080019690
tragait5e9676e2021-01-14 16:07:07 +000019691var opts = {
19692 'body': body_example // {String}
seshukmb3a332a2018-10-05 16:27:16 +080019693};
19694
19695var callback = function(error, data, response) {
19696 if (error) {
19697 console.error(error);
19698 } else {
19699 console.log('API called successfully.');
19700 }
19701};
19702api.removeRelationships(version, serviceInstanceId, opts, callback);
19703</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000019704 </div>
seshukmb3a332a2018-10-05 16:27:16 +080019705
tragait5e9676e2021-01-14 16:07:07 +000019706 <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-removeRelationships-0-angular">
seshukmb3a332a2018-10-05 16:27:16 +080019707 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
19708 </div>-->
tragait5e9676e2021-01-14 16:07:07 +000019709 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-removeRelationships-0-csharp">
seshukmb3a332a2018-10-05 16:27:16 +080019710 <pre class="prettyprint"><code class="language-cs">using System;
19711using System.Diagnostics;
19712using IO.Swagger.Api;
19713using IO.Swagger.Client;
19714using IO.Swagger.Model;
19715
19716namespace Example
19717{
19718 public class removeRelationshipsExample
19719 {
19720 public void main()
19721 {
tragait5e9676e2021-01-14 16:07:07 +000019722
seshukmb3a332a2018-10-05 16:27:16 +080019723 var apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000019724 var version = version_example; // String |
19725 var serviceInstanceId = serviceInstanceId_example; // String |
19726 var body = body_example; // String | (optional)
seshukmb3a332a2018-10-05 16:27:16 +080019727
19728 try
19729 {
19730 // Remove Relationships from Service Instance
19731 apiInstance.removeRelationships(version, serviceInstanceId, body);
19732 }
19733 catch (Exception e)
19734 {
19735 Debug.Print("Exception when calling OnapsoinfraserviceInstantiationApi.removeRelationships: " + e.Message );
19736 }
19737 }
19738 }
19739}
19740</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000019741 </div>
seshukmb3a332a2018-10-05 16:27:16 +080019742
tragait5e9676e2021-01-14 16:07:07 +000019743 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-removeRelationships-0-php">
seshukmb3a332a2018-10-05 16:27:16 +080019744 <pre class="prettyprint"><code class="language-php"><&#63;php
19745require_once(__DIR__ . '/vendor/autoload.php');
19746
19747$api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000019748$version = version_example; // String |
19749$serviceInstanceId = serviceInstanceId_example; // String |
19750$body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080019751
19752try {
19753 $api_instance->removeRelationships($version, $serviceInstanceId, $body);
19754} catch (Exception $e) {
19755 echo 'Exception when calling OnapsoinfraserviceInstantiationApi->removeRelationships: ', $e->getMessage(), PHP_EOL;
19756}
19757?></code></pre>
tragait5e9676e2021-01-14 16:07:07 +000019758 </div>
seshukmb3a332a2018-10-05 16:27:16 +080019759
tragait5e9676e2021-01-14 16:07:07 +000019760 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-removeRelationships-0-perl">
seshukmb3a332a2018-10-05 16:27:16 +080019761 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
19762use WWW::SwaggerClient::Configuration;
19763use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi;
19764
19765my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new();
tragait5e9676e2021-01-14 16:07:07 +000019766my $version = version_example; # String |
19767my $serviceInstanceId = serviceInstanceId_example; # String |
19768my $body = WWW::SwaggerClient::Object::String->new(); # String |
seshukmb3a332a2018-10-05 16:27:16 +080019769
tragait5e9676e2021-01-14 16:07:07 +000019770eval {
seshukmb3a332a2018-10-05 16:27:16 +080019771 $api_instance->removeRelationships(version => $version, serviceInstanceId => $serviceInstanceId, body => $body);
19772};
19773if ($@) {
19774 warn "Exception when calling OnapsoinfraserviceInstantiationApi->removeRelationships: $@\n";
19775}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000019776 </div>
seshukmb3a332a2018-10-05 16:27:16 +080019777
tragait5e9676e2021-01-14 16:07:07 +000019778 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-removeRelationships-0-python">
seshukmb3a332a2018-10-05 16:27:16 +080019779 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
19780import time
19781import swagger_client
19782from swagger_client.rest import ApiException
19783from pprint import pprint
19784
19785# create an instance of the API class
19786api_instance = swagger_client.OnapsoinfraserviceInstantiationApi()
tragait5e9676e2021-01-14 16:07:07 +000019787version = version_example # String |
19788serviceInstanceId = serviceInstanceId_example # String |
seshukmb3a332a2018-10-05 16:27:16 +080019789body = body_example # String | (optional)
19790
tragait5e9676e2021-01-14 16:07:07 +000019791try:
seshukmb3a332a2018-10-05 16:27:16 +080019792 # Remove Relationships from Service Instance
19793 api_instance.remove_relationships(version, serviceInstanceId, body=body)
19794except ApiException as e:
19795 print("Exception when calling OnapsoinfraserviceInstantiationApi->removeRelationships: %s\n" % e)</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000019796 </div>
seshukmb3a332a2018-10-05 16:27:16 +080019797 </div>
seshukmb3a332a2018-10-05 16:27:16 +080019798
tragait5e9676e2021-01-14 16:07:07 +000019799 <h2>Parameters</h2>
seshukmb3a332a2018-10-05 16:27:16 +080019800
19801 <div class="methodsubtabletitle">Path parameters</div>
19802 <table id="methodsubtable">
19803 <tr>
tragait5e9676e2021-01-14 16:07:07 +000019804 <th width="150px">Name</th>
19805 <th>Description</th>
seshukmb3a332a2018-10-05 16:27:16 +080019806 </tr>
tragait5e9676e2021-01-14 16:07:07 +000019807 <tr><td style="width:150px;">version*</td>
19808 <td>
seshukmb3a332a2018-10-05 16:27:16 +080019809
19810
tragait5e9676e2021-01-14 16:07:07 +000019811 <div id="d2e199_removeRelationships_version">
19812 <div class="json-schema-view">
19813 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080019814 <span class="type">
19815 String
19816 </span>
19817
tragait5e9676e2021-01-14 16:07:07 +000019818 </div>
19819 <div class="inner required">
19820 Required
19821 </div>
19822 </div>
19823 </div>
19824 </td>
19825 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080019826
tragait5e9676e2021-01-14 16:07:07 +000019827 <tr><td style="width:150px;">serviceInstanceId*</td>
19828 <td>
seshukmb3a332a2018-10-05 16:27:16 +080019829
19830
tragait5e9676e2021-01-14 16:07:07 +000019831 <div id="d2e199_removeRelationships_serviceInstanceId">
19832 <div class="json-schema-view">
19833 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080019834 <span class="type">
19835 String
19836 </span>
19837
tragait5e9676e2021-01-14 16:07:07 +000019838 </div>
19839 <div class="inner required">
19840 Required
19841 </div>
19842 </div>
19843 </div>
19844 </td>
19845 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080019846
19847 </table>
19848
19849
19850 <div class="methodsubtabletitle">Body parameters</div>
19851 <table id="methodsubtable">
tragait5e9676e2021-01-14 16:07:07 +000019852 <tr>
19853 <th width="150px">Name</th>
19854 <th>Description</th>
19855 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080019856 <tr><td style="width:150px;">body </td>
tragait5e9676e2021-01-14 16:07:07 +000019857 <td>
seshukmb3a332a2018-10-05 16:27:16 +080019858
19859
tragait5e9676e2021-01-14 16:07:07 +000019860 <script>
seshukmb3a332a2018-10-05 16:27:16 +080019861$(document).ready(function() {
19862 var schemaWrapper = {
19863 "in" : "body",
19864 "name" : "body",
19865 "required" : false,
19866 "schema" : {
19867 "type" : "string"
19868 }
19869};
19870 var schema = schemaWrapper.schema;
19871 if (schema.$ref != null) {
19872 schema = defsParser.$refs.get(schema.$ref);
19873 } else {
19874 schemaWrapper.definitions = Object.assign({}, defs);
19875 $RefParser.dereference(schemaWrapper).catch(function(err) {
19876 console.log(err);
19877 });
19878 }
19879
19880 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
19881 var result = $('#d2e199_removeRelationships_body');
19882 result.empty();
19883 result.append(view.render());
19884});
19885</script>
tragait5e9676e2021-01-14 16:07:07 +000019886 <div id="d2e199_removeRelationships_body"></div>
19887 </td>
19888 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080019889
19890 </table>
19891
19892
19893
tragait5e9676e2021-01-14 16:07:07 +000019894 <h2>Responses</h2>
seshukmb3a332a2018-10-05 16:27:16 +080019895 <h3> Status: default - successful operation </h3>
19896
19897 <ul class="nav nav-tabs nav-tabs-examples" >
19898 </ul>
19899
19900 <div class="tab-content" style='margin-bottom: 10px;'>
19901 </div>
19902
19903 </article>
tragait5e9676e2021-01-14 16:07:07 +000019904 </div>
19905 <hr>
seshukmb3a332a2018-10-05 16:27:16 +080019906 <div id="api-OnapsoinfraserviceInstantiation-replaceVfModuleInstance">
tragait5e9676e2021-01-14 16:07:07 +000019907 <article id="api-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0" data-group="User" data-name="replaceVfModuleInstance" data-version="0">
19908 <div class="pull-left">
19909 <h1>replaceVfModuleInstance</h1>
19910 <p>Create VfModule on a specified version, serviceInstance and vnfInstance</p>
19911 </div>
19912 <div class="pull-right"></div>
19913 <div class="clearfix"></div>
19914 <p></p>
19915 <p class="marked"></p>
19916 <p></p>
19917 <br />
19918 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/{vfmoduleInstanceId}/replace</span></code></pre>
19919 <p>
19920 <h3>Usage and SDK Samples</h3>
19921 </p>
19922 <ul class="nav nav-tabs nav-tabs-examples">
19923 <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-curl">Curl</a></li>
19924 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-java">Java</a></li>
19925 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-android">Android</a></li>
19926 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-groovy">Groovy</a></li>-->
19927 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-objc">Obj-C</a></li>
19928 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-javascript">JavaScript</a></li>
19929 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-angular">Angular</a></li>-->
19930 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-csharp">C#</a></li>
19931 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-php">PHP</a></li>
19932 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-perl">Perl</a></li>
19933 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-python">Python</a></li>
19934 </ul>
seshukmb3a332a2018-10-05 16:27:16 +080019935
tragait5e9676e2021-01-14 16:07:07 +000019936 <div class="tab-content">
19937 <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-curl">
19938 <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/{vfmoduleInstanceId}/replace"</code></pre>
19939 </div>
19940 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-java">
seshukmb3a332a2018-10-05 16:27:16 +080019941 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
19942import io.swagger.client.auth.*;
19943import io.swagger.client.model.*;
19944import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
19945
19946import java.io.File;
19947import java.util.*;
19948
19949public class OnapsoinfraserviceInstantiationApiExample {
19950
19951 public static void main(String[] args) {
tragait5e9676e2021-01-14 16:07:07 +000019952
seshukmb3a332a2018-10-05 16:27:16 +080019953 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000019954 String version = version_example; // String |
19955 String serviceInstanceId = serviceInstanceId_example; // String |
19956 String vnfInstanceId = vnfInstanceId_example; // String |
19957 String vfmoduleInstanceId = vfmoduleInstanceId_example; // String |
19958 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080019959 try {
19960 apiInstance.replaceVfModuleInstance(version, serviceInstanceId, vnfInstanceId, vfmoduleInstanceId, body);
19961 } catch (ApiException e) {
19962 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#replaceVfModuleInstance");
19963 e.printStackTrace();
19964 }
19965 }
19966}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000019967 </div>
seshukmb3a332a2018-10-05 16:27:16 +080019968
tragait5e9676e2021-01-14 16:07:07 +000019969 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-android">
seshukmb3a332a2018-10-05 16:27:16 +080019970 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
19971
19972public class OnapsoinfraserviceInstantiationApiExample {
19973
19974 public static void main(String[] args) {
19975 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000019976 String version = version_example; // String |
19977 String serviceInstanceId = serviceInstanceId_example; // String |
19978 String vnfInstanceId = vnfInstanceId_example; // String |
19979 String vfmoduleInstanceId = vfmoduleInstanceId_example; // String |
19980 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080019981 try {
19982 apiInstance.replaceVfModuleInstance(version, serviceInstanceId, vnfInstanceId, vfmoduleInstanceId, body);
19983 } catch (ApiException e) {
19984 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#replaceVfModuleInstance");
19985 e.printStackTrace();
19986 }
19987 }
19988}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000019989 </div>
19990 <!--
seshukmb3a332a2018-10-05 16:27:16 +080019991 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-groovy">
19992 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
19993 </div> -->
tragait5e9676e2021-01-14 16:07:07 +000019994 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-objc">
19995 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
19996String *serviceInstanceId = serviceInstanceId_example; //
19997String *vnfInstanceId = vnfInstanceId_example; //
19998String *vfmoduleInstanceId = vfmoduleInstanceId_example; //
seshukmb3a332a2018-10-05 16:27:16 +080019999String *body = body_example; // (optional)
20000
20001OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init];
20002
20003// Create VfModule on a specified version, serviceInstance and vnfInstance
20004[apiInstance replaceVfModuleInstanceWith:version
20005 serviceInstanceId:serviceInstanceId
20006 vnfInstanceId:vnfInstanceId
20007 vfmoduleInstanceId:vfmoduleInstanceId
20008 body:body
20009 completionHandler: ^(NSError* error) {
20010 if (error) {
20011 NSLog(@"Error: %@", error);
20012 }
20013 }];
20014</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000020015 </div>
seshukmb3a332a2018-10-05 16:27:16 +080020016
tragait5e9676e2021-01-14 16:07:07 +000020017 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-javascript">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053020018 <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is');
seshukmb3a332a2018-10-05 16:27:16 +080020019
Priyadharshinic86ab4a2020-08-14 17:11:49 +053020020var api = new SoGuilinApIs.OnapsoinfraserviceInstantiationApi()
seshukmb3a332a2018-10-05 16:27:16 +080020021
tragait5e9676e2021-01-14 16:07:07 +000020022var version = version_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080020023
tragait5e9676e2021-01-14 16:07:07 +000020024var serviceInstanceId = serviceInstanceId_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080020025
tragait5e9676e2021-01-14 16:07:07 +000020026var vnfInstanceId = vnfInstanceId_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080020027
tragait5e9676e2021-01-14 16:07:07 +000020028var vfmoduleInstanceId = vfmoduleInstanceId_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080020029
tragait5e9676e2021-01-14 16:07:07 +000020030var opts = {
20031 'body': body_example // {String}
seshukmb3a332a2018-10-05 16:27:16 +080020032};
20033
20034var callback = function(error, data, response) {
20035 if (error) {
20036 console.error(error);
20037 } else {
20038 console.log('API called successfully.');
20039 }
20040};
20041api.replaceVfModuleInstance(version, serviceInstanceId, vnfInstanceId, vfmoduleInstanceId, opts, callback);
20042</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000020043 </div>
seshukmb3a332a2018-10-05 16:27:16 +080020044
tragait5e9676e2021-01-14 16:07:07 +000020045 <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-angular">
seshukmb3a332a2018-10-05 16:27:16 +080020046 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
20047 </div>-->
tragait5e9676e2021-01-14 16:07:07 +000020048 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-csharp">
seshukmb3a332a2018-10-05 16:27:16 +080020049 <pre class="prettyprint"><code class="language-cs">using System;
20050using System.Diagnostics;
20051using IO.Swagger.Api;
20052using IO.Swagger.Client;
20053using IO.Swagger.Model;
20054
20055namespace Example
20056{
20057 public class replaceVfModuleInstanceExample
20058 {
20059 public void main()
20060 {
tragait5e9676e2021-01-14 16:07:07 +000020061
seshukmb3a332a2018-10-05 16:27:16 +080020062 var apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000020063 var version = version_example; // String |
20064 var serviceInstanceId = serviceInstanceId_example; // String |
20065 var vnfInstanceId = vnfInstanceId_example; // String |
20066 var vfmoduleInstanceId = vfmoduleInstanceId_example; // String |
20067 var body = body_example; // String | (optional)
seshukmb3a332a2018-10-05 16:27:16 +080020068
20069 try
20070 {
20071 // Create VfModule on a specified version, serviceInstance and vnfInstance
20072 apiInstance.replaceVfModuleInstance(version, serviceInstanceId, vnfInstanceId, vfmoduleInstanceId, body);
20073 }
20074 catch (Exception e)
20075 {
20076 Debug.Print("Exception when calling OnapsoinfraserviceInstantiationApi.replaceVfModuleInstance: " + e.Message );
20077 }
20078 }
20079 }
20080}
20081</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000020082 </div>
seshukmb3a332a2018-10-05 16:27:16 +080020083
tragait5e9676e2021-01-14 16:07:07 +000020084 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-php">
seshukmb3a332a2018-10-05 16:27:16 +080020085 <pre class="prettyprint"><code class="language-php"><&#63;php
20086require_once(__DIR__ . '/vendor/autoload.php');
20087
20088$api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000020089$version = version_example; // String |
20090$serviceInstanceId = serviceInstanceId_example; // String |
20091$vnfInstanceId = vnfInstanceId_example; // String |
20092$vfmoduleInstanceId = vfmoduleInstanceId_example; // String |
20093$body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080020094
20095try {
20096 $api_instance->replaceVfModuleInstance($version, $serviceInstanceId, $vnfInstanceId, $vfmoduleInstanceId, $body);
20097} catch (Exception $e) {
20098 echo 'Exception when calling OnapsoinfraserviceInstantiationApi->replaceVfModuleInstance: ', $e->getMessage(), PHP_EOL;
20099}
20100?></code></pre>
tragait5e9676e2021-01-14 16:07:07 +000020101 </div>
seshukmb3a332a2018-10-05 16:27:16 +080020102
tragait5e9676e2021-01-14 16:07:07 +000020103 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-perl">
seshukmb3a332a2018-10-05 16:27:16 +080020104 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
20105use WWW::SwaggerClient::Configuration;
20106use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi;
20107
20108my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new();
tragait5e9676e2021-01-14 16:07:07 +000020109my $version = version_example; # String |
20110my $serviceInstanceId = serviceInstanceId_example; # String |
20111my $vnfInstanceId = vnfInstanceId_example; # String |
20112my $vfmoduleInstanceId = vfmoduleInstanceId_example; # String |
20113my $body = WWW::SwaggerClient::Object::String->new(); # String |
seshukmb3a332a2018-10-05 16:27:16 +080020114
tragait5e9676e2021-01-14 16:07:07 +000020115eval {
seshukmb3a332a2018-10-05 16:27:16 +080020116 $api_instance->replaceVfModuleInstance(version => $version, serviceInstanceId => $serviceInstanceId, vnfInstanceId => $vnfInstanceId, vfmoduleInstanceId => $vfmoduleInstanceId, body => $body);
20117};
20118if ($@) {
20119 warn "Exception when calling OnapsoinfraserviceInstantiationApi->replaceVfModuleInstance: $@\n";
20120}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000020121 </div>
seshukmb3a332a2018-10-05 16:27:16 +080020122
tragait5e9676e2021-01-14 16:07:07 +000020123 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-python">
seshukmb3a332a2018-10-05 16:27:16 +080020124 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
20125import time
20126import swagger_client
20127from swagger_client.rest import ApiException
20128from pprint import pprint
20129
20130# create an instance of the API class
20131api_instance = swagger_client.OnapsoinfraserviceInstantiationApi()
tragait5e9676e2021-01-14 16:07:07 +000020132version = version_example # String |
20133serviceInstanceId = serviceInstanceId_example # String |
20134vnfInstanceId = vnfInstanceId_example # String |
20135vfmoduleInstanceId = vfmoduleInstanceId_example # String |
seshukmb3a332a2018-10-05 16:27:16 +080020136body = body_example # String | (optional)
20137
tragait5e9676e2021-01-14 16:07:07 +000020138try:
seshukmb3a332a2018-10-05 16:27:16 +080020139 # Create VfModule on a specified version, serviceInstance and vnfInstance
20140 api_instance.replace_vf_module_instance(version, serviceInstanceId, vnfInstanceId, vfmoduleInstanceId, body=body)
20141except ApiException as e:
20142 print("Exception when calling OnapsoinfraserviceInstantiationApi->replaceVfModuleInstance: %s\n" % e)</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000020143 </div>
seshukmb3a332a2018-10-05 16:27:16 +080020144 </div>
seshukmb3a332a2018-10-05 16:27:16 +080020145
tragait5e9676e2021-01-14 16:07:07 +000020146 <h2>Parameters</h2>
seshukmb3a332a2018-10-05 16:27:16 +080020147
20148 <div class="methodsubtabletitle">Path parameters</div>
20149 <table id="methodsubtable">
20150 <tr>
tragait5e9676e2021-01-14 16:07:07 +000020151 <th width="150px">Name</th>
20152 <th>Description</th>
seshukmb3a332a2018-10-05 16:27:16 +080020153 </tr>
tragait5e9676e2021-01-14 16:07:07 +000020154 <tr><td style="width:150px;">version*</td>
20155 <td>
seshukmb3a332a2018-10-05 16:27:16 +080020156
20157
tragait5e9676e2021-01-14 16:07:07 +000020158 <div id="d2e199_replaceVfModuleInstance_version">
20159 <div class="json-schema-view">
20160 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080020161 <span class="type">
20162 String
20163 </span>
20164
tragait5e9676e2021-01-14 16:07:07 +000020165 </div>
20166 <div class="inner required">
20167 Required
20168 </div>
20169 </div>
20170 </div>
20171 </td>
20172 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080020173
tragait5e9676e2021-01-14 16:07:07 +000020174 <tr><td style="width:150px;">serviceInstanceId*</td>
20175 <td>
seshukmb3a332a2018-10-05 16:27:16 +080020176
20177
tragait5e9676e2021-01-14 16:07:07 +000020178 <div id="d2e199_replaceVfModuleInstance_serviceInstanceId">
20179 <div class="json-schema-view">
20180 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080020181 <span class="type">
20182 String
20183 </span>
20184
tragait5e9676e2021-01-14 16:07:07 +000020185 </div>
20186 <div class="inner required">
20187 Required
20188 </div>
20189 </div>
20190 </div>
20191 </td>
20192 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080020193
tragait5e9676e2021-01-14 16:07:07 +000020194 <tr><td style="width:150px;">vnfInstanceId*</td>
20195 <td>
seshukmb3a332a2018-10-05 16:27:16 +080020196
20197
tragait5e9676e2021-01-14 16:07:07 +000020198 <div id="d2e199_replaceVfModuleInstance_vnfInstanceId">
20199 <div class="json-schema-view">
20200 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080020201 <span class="type">
20202 String
20203 </span>
20204
tragait5e9676e2021-01-14 16:07:07 +000020205 </div>
20206 <div class="inner required">
20207 Required
20208 </div>
20209 </div>
20210 </div>
20211 </td>
20212 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080020213
tragait5e9676e2021-01-14 16:07:07 +000020214 <tr><td style="width:150px;">vfmoduleInstanceId*</td>
20215 <td>
seshukmb3a332a2018-10-05 16:27:16 +080020216
20217
tragait5e9676e2021-01-14 16:07:07 +000020218 <div id="d2e199_replaceVfModuleInstance_vfmoduleInstanceId">
20219 <div class="json-schema-view">
20220 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080020221 <span class="type">
20222 String
20223 </span>
20224
tragait5e9676e2021-01-14 16:07:07 +000020225 </div>
20226 <div class="inner required">
20227 Required
20228 </div>
20229 </div>
20230 </div>
20231 </td>
20232 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080020233
20234 </table>
20235
20236
20237 <div class="methodsubtabletitle">Body parameters</div>
20238 <table id="methodsubtable">
tragait5e9676e2021-01-14 16:07:07 +000020239 <tr>
20240 <th width="150px">Name</th>
20241 <th>Description</th>
20242 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080020243 <tr><td style="width:150px;">body </td>
tragait5e9676e2021-01-14 16:07:07 +000020244 <td>
seshukmb3a332a2018-10-05 16:27:16 +080020245
20246
tragait5e9676e2021-01-14 16:07:07 +000020247 <script>
seshukmb3a332a2018-10-05 16:27:16 +080020248$(document).ready(function() {
20249 var schemaWrapper = {
20250 "in" : "body",
20251 "name" : "body",
20252 "required" : false,
20253 "schema" : {
20254 "type" : "string"
20255 }
20256};
20257 var schema = schemaWrapper.schema;
20258 if (schema.$ref != null) {
20259 schema = defsParser.$refs.get(schema.$ref);
20260 } else {
20261 schemaWrapper.definitions = Object.assign({}, defs);
20262 $RefParser.dereference(schemaWrapper).catch(function(err) {
20263 console.log(err);
20264 });
20265 }
20266
20267 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
20268 var result = $('#d2e199_replaceVfModuleInstance_body');
20269 result.empty();
20270 result.append(view.render());
20271});
20272</script>
tragait5e9676e2021-01-14 16:07:07 +000020273 <div id="d2e199_replaceVfModuleInstance_body"></div>
20274 </td>
20275 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080020276
20277 </table>
20278
20279
20280
tragait5e9676e2021-01-14 16:07:07 +000020281 <h2>Responses</h2>
seshukmb3a332a2018-10-05 16:27:16 +080020282 <h3> Status: default - successful operation </h3>
20283
20284 <ul class="nav nav-tabs nav-tabs-examples" >
20285 </ul>
20286
20287 <div class="tab-content" style='margin-bottom: 10px;'>
20288 </div>
20289
20290 </article>
tragait5e9676e2021-01-14 16:07:07 +000020291 </div>
20292 <hr>
seshukmb3a332a2018-10-05 16:27:16 +080020293 <div id="api-OnapsoinfraserviceInstantiation-replaceVnfInstance">
tragait5e9676e2021-01-14 16:07:07 +000020294 <article id="api-OnapsoinfraserviceInstantiation-replaceVnfInstance-0" data-group="User" data-name="replaceVnfInstance" data-version="0">
20295 <div class="pull-left">
20296 <h1>replaceVnfInstance</h1>
20297 <p>Replace provided VNF instance</p>
20298 </div>
20299 <div class="pull-right"></div>
20300 <div class="clearfix"></div>
20301 <p></p>
20302 <p class="marked"></p>
20303 <p></p>
20304 <br />
20305 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/replace</span></code></pre>
20306 <p>
20307 <h3>Usage and SDK Samples</h3>
20308 </p>
20309 <ul class="nav nav-tabs nav-tabs-examples">
20310 <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-curl">Curl</a></li>
20311 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-java">Java</a></li>
20312 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-android">Android</a></li>
20313 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-groovy">Groovy</a></li>-->
20314 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-objc">Obj-C</a></li>
20315 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-javascript">JavaScript</a></li>
20316 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-angular">Angular</a></li>-->
20317 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-csharp">C#</a></li>
20318 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-php">PHP</a></li>
20319 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-perl">Perl</a></li>
20320 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-python">Python</a></li>
20321 </ul>
seshukmb3a332a2018-10-05 16:27:16 +080020322
tragait5e9676e2021-01-14 16:07:07 +000020323 <div class="tab-content">
20324 <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-curl">
20325 <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/replace"</code></pre>
20326 </div>
20327 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-java">
seshukmb3a332a2018-10-05 16:27:16 +080020328 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
20329import io.swagger.client.auth.*;
20330import io.swagger.client.model.*;
20331import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
20332
20333import java.io.File;
20334import java.util.*;
20335
20336public class OnapsoinfraserviceInstantiationApiExample {
20337
20338 public static void main(String[] args) {
tragait5e9676e2021-01-14 16:07:07 +000020339
seshukmb3a332a2018-10-05 16:27:16 +080020340 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000020341 String version = version_example; // String |
20342 String serviceInstanceId = serviceInstanceId_example; // String |
20343 String vnfInstanceId = vnfInstanceId_example; // String |
20344 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080020345 try {
20346 apiInstance.replaceVnfInstance(version, serviceInstanceId, vnfInstanceId, body);
20347 } catch (ApiException e) {
20348 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#replaceVnfInstance");
20349 e.printStackTrace();
20350 }
20351 }
20352}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000020353 </div>
seshukmb3a332a2018-10-05 16:27:16 +080020354
tragait5e9676e2021-01-14 16:07:07 +000020355 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-android">
seshukmb3a332a2018-10-05 16:27:16 +080020356 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
20357
20358public class OnapsoinfraserviceInstantiationApiExample {
20359
20360 public static void main(String[] args) {
20361 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000020362 String version = version_example; // String |
20363 String serviceInstanceId = serviceInstanceId_example; // String |
20364 String vnfInstanceId = vnfInstanceId_example; // String |
20365 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080020366 try {
20367 apiInstance.replaceVnfInstance(version, serviceInstanceId, vnfInstanceId, body);
20368 } catch (ApiException e) {
20369 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#replaceVnfInstance");
20370 e.printStackTrace();
20371 }
20372 }
20373}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000020374 </div>
20375 <!--
seshukmb3a332a2018-10-05 16:27:16 +080020376 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-groovy">
20377 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
20378 </div> -->
tragait5e9676e2021-01-14 16:07:07 +000020379 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-objc">
20380 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
20381String *serviceInstanceId = serviceInstanceId_example; //
20382String *vnfInstanceId = vnfInstanceId_example; //
seshukmb3a332a2018-10-05 16:27:16 +080020383String *body = body_example; // (optional)
20384
20385OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init];
20386
20387// Replace provided VNF instance
20388[apiInstance replaceVnfInstanceWith:version
20389 serviceInstanceId:serviceInstanceId
20390 vnfInstanceId:vnfInstanceId
20391 body:body
20392 completionHandler: ^(NSError* error) {
20393 if (error) {
20394 NSLog(@"Error: %@", error);
20395 }
20396 }];
20397</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000020398 </div>
seshukmb3a332a2018-10-05 16:27:16 +080020399
tragait5e9676e2021-01-14 16:07:07 +000020400 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-javascript">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053020401 <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is');
seshukmb3a332a2018-10-05 16:27:16 +080020402
Priyadharshinic86ab4a2020-08-14 17:11:49 +053020403var api = new SoGuilinApIs.OnapsoinfraserviceInstantiationApi()
seshukmb3a332a2018-10-05 16:27:16 +080020404
tragait5e9676e2021-01-14 16:07:07 +000020405var version = version_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080020406
tragait5e9676e2021-01-14 16:07:07 +000020407var serviceInstanceId = serviceInstanceId_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080020408
tragait5e9676e2021-01-14 16:07:07 +000020409var vnfInstanceId = vnfInstanceId_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080020410
tragait5e9676e2021-01-14 16:07:07 +000020411var opts = {
20412 'body': body_example // {String}
seshukmb3a332a2018-10-05 16:27:16 +080020413};
20414
20415var callback = function(error, data, response) {
20416 if (error) {
20417 console.error(error);
20418 } else {
20419 console.log('API called successfully.');
20420 }
20421};
20422api.replaceVnfInstance(version, serviceInstanceId, vnfInstanceId, opts, callback);
20423</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000020424 </div>
seshukmb3a332a2018-10-05 16:27:16 +080020425
tragait5e9676e2021-01-14 16:07:07 +000020426 <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-angular">
seshukmb3a332a2018-10-05 16:27:16 +080020427 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
20428 </div>-->
tragait5e9676e2021-01-14 16:07:07 +000020429 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-csharp">
seshukmb3a332a2018-10-05 16:27:16 +080020430 <pre class="prettyprint"><code class="language-cs">using System;
20431using System.Diagnostics;
20432using IO.Swagger.Api;
20433using IO.Swagger.Client;
20434using IO.Swagger.Model;
20435
20436namespace Example
20437{
20438 public class replaceVnfInstanceExample
20439 {
20440 public void main()
20441 {
tragait5e9676e2021-01-14 16:07:07 +000020442
seshukmb3a332a2018-10-05 16:27:16 +080020443 var apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000020444 var version = version_example; // String |
20445 var serviceInstanceId = serviceInstanceId_example; // String |
20446 var vnfInstanceId = vnfInstanceId_example; // String |
20447 var body = body_example; // String | (optional)
seshukmb3a332a2018-10-05 16:27:16 +080020448
20449 try
20450 {
20451 // Replace provided VNF instance
20452 apiInstance.replaceVnfInstance(version, serviceInstanceId, vnfInstanceId, body);
20453 }
20454 catch (Exception e)
20455 {
20456 Debug.Print("Exception when calling OnapsoinfraserviceInstantiationApi.replaceVnfInstance: " + e.Message );
20457 }
20458 }
20459 }
20460}
20461</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000020462 </div>
seshukmb3a332a2018-10-05 16:27:16 +080020463
tragait5e9676e2021-01-14 16:07:07 +000020464 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-php">
seshukmb3a332a2018-10-05 16:27:16 +080020465 <pre class="prettyprint"><code class="language-php"><&#63;php
20466require_once(__DIR__ . '/vendor/autoload.php');
20467
20468$api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000020469$version = version_example; // String |
20470$serviceInstanceId = serviceInstanceId_example; // String |
20471$vnfInstanceId = vnfInstanceId_example; // String |
20472$body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080020473
20474try {
20475 $api_instance->replaceVnfInstance($version, $serviceInstanceId, $vnfInstanceId, $body);
20476} catch (Exception $e) {
20477 echo 'Exception when calling OnapsoinfraserviceInstantiationApi->replaceVnfInstance: ', $e->getMessage(), PHP_EOL;
20478}
20479?></code></pre>
tragait5e9676e2021-01-14 16:07:07 +000020480 </div>
seshukmb3a332a2018-10-05 16:27:16 +080020481
tragait5e9676e2021-01-14 16:07:07 +000020482 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-perl">
seshukmb3a332a2018-10-05 16:27:16 +080020483 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
20484use WWW::SwaggerClient::Configuration;
20485use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi;
20486
20487my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new();
tragait5e9676e2021-01-14 16:07:07 +000020488my $version = version_example; # String |
20489my $serviceInstanceId = serviceInstanceId_example; # String |
20490my $vnfInstanceId = vnfInstanceId_example; # String |
20491my $body = WWW::SwaggerClient::Object::String->new(); # String |
seshukmb3a332a2018-10-05 16:27:16 +080020492
tragait5e9676e2021-01-14 16:07:07 +000020493eval {
seshukmb3a332a2018-10-05 16:27:16 +080020494 $api_instance->replaceVnfInstance(version => $version, serviceInstanceId => $serviceInstanceId, vnfInstanceId => $vnfInstanceId, body => $body);
20495};
20496if ($@) {
20497 warn "Exception when calling OnapsoinfraserviceInstantiationApi->replaceVnfInstance: $@\n";
20498}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000020499 </div>
seshukmb3a332a2018-10-05 16:27:16 +080020500
tragait5e9676e2021-01-14 16:07:07 +000020501 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-python">
seshukmb3a332a2018-10-05 16:27:16 +080020502 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
20503import time
20504import swagger_client
20505from swagger_client.rest import ApiException
20506from pprint import pprint
20507
20508# create an instance of the API class
20509api_instance = swagger_client.OnapsoinfraserviceInstantiationApi()
tragait5e9676e2021-01-14 16:07:07 +000020510version = version_example # String |
20511serviceInstanceId = serviceInstanceId_example # String |
20512vnfInstanceId = vnfInstanceId_example # String |
seshukmb3a332a2018-10-05 16:27:16 +080020513body = body_example # String | (optional)
20514
tragait5e9676e2021-01-14 16:07:07 +000020515try:
seshukmb3a332a2018-10-05 16:27:16 +080020516 # Replace provided VNF instance
20517 api_instance.replace_vnf_instance(version, serviceInstanceId, vnfInstanceId, body=body)
20518except ApiException as e:
20519 print("Exception when calling OnapsoinfraserviceInstantiationApi->replaceVnfInstance: %s\n" % e)</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000020520 </div>
seshukmb3a332a2018-10-05 16:27:16 +080020521 </div>
seshukmb3a332a2018-10-05 16:27:16 +080020522
tragait5e9676e2021-01-14 16:07:07 +000020523 <h2>Parameters</h2>
seshukmb3a332a2018-10-05 16:27:16 +080020524
20525 <div class="methodsubtabletitle">Path parameters</div>
20526 <table id="methodsubtable">
20527 <tr>
tragait5e9676e2021-01-14 16:07:07 +000020528 <th width="150px">Name</th>
20529 <th>Description</th>
seshukmb3a332a2018-10-05 16:27:16 +080020530 </tr>
tragait5e9676e2021-01-14 16:07:07 +000020531 <tr><td style="width:150px;">version*</td>
20532 <td>
seshukmb3a332a2018-10-05 16:27:16 +080020533
20534
tragait5e9676e2021-01-14 16:07:07 +000020535 <div id="d2e199_replaceVnfInstance_version">
20536 <div class="json-schema-view">
20537 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080020538 <span class="type">
20539 String
20540 </span>
20541
tragait5e9676e2021-01-14 16:07:07 +000020542 </div>
20543 <div class="inner required">
20544 Required
20545 </div>
20546 </div>
20547 </div>
20548 </td>
20549 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080020550
tragait5e9676e2021-01-14 16:07:07 +000020551 <tr><td style="width:150px;">serviceInstanceId*</td>
20552 <td>
seshukmb3a332a2018-10-05 16:27:16 +080020553
20554
tragait5e9676e2021-01-14 16:07:07 +000020555 <div id="d2e199_replaceVnfInstance_serviceInstanceId">
20556 <div class="json-schema-view">
20557 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080020558 <span class="type">
20559 String
20560 </span>
20561
tragait5e9676e2021-01-14 16:07:07 +000020562 </div>
20563 <div class="inner required">
20564 Required
20565 </div>
20566 </div>
20567 </div>
20568 </td>
20569 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080020570
tragait5e9676e2021-01-14 16:07:07 +000020571 <tr><td style="width:150px;">vnfInstanceId*</td>
20572 <td>
seshukmb3a332a2018-10-05 16:27:16 +080020573
20574
tragait5e9676e2021-01-14 16:07:07 +000020575 <div id="d2e199_replaceVnfInstance_vnfInstanceId">
20576 <div class="json-schema-view">
20577 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080020578 <span class="type">
20579 String
20580 </span>
20581
tragait5e9676e2021-01-14 16:07:07 +000020582 </div>
20583 <div class="inner required">
20584 Required
20585 </div>
20586 </div>
20587 </div>
20588 </td>
20589 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080020590
20591 </table>
20592
20593
20594 <div class="methodsubtabletitle">Body parameters</div>
20595 <table id="methodsubtable">
tragait5e9676e2021-01-14 16:07:07 +000020596 <tr>
20597 <th width="150px">Name</th>
20598 <th>Description</th>
20599 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080020600 <tr><td style="width:150px;">body </td>
tragait5e9676e2021-01-14 16:07:07 +000020601 <td>
seshukmb3a332a2018-10-05 16:27:16 +080020602
20603
tragait5e9676e2021-01-14 16:07:07 +000020604 <script>
seshukmb3a332a2018-10-05 16:27:16 +080020605$(document).ready(function() {
20606 var schemaWrapper = {
20607 "in" : "body",
20608 "name" : "body",
20609 "required" : false,
20610 "schema" : {
20611 "type" : "string"
20612 }
20613};
20614 var schema = schemaWrapper.schema;
20615 if (schema.$ref != null) {
20616 schema = defsParser.$refs.get(schema.$ref);
20617 } else {
20618 schemaWrapper.definitions = Object.assign({}, defs);
20619 $RefParser.dereference(schemaWrapper).catch(function(err) {
20620 console.log(err);
20621 });
20622 }
20623
20624 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
20625 var result = $('#d2e199_replaceVnfInstance_body');
20626 result.empty();
20627 result.append(view.render());
20628});
20629</script>
tragait5e9676e2021-01-14 16:07:07 +000020630 <div id="d2e199_replaceVnfInstance_body"></div>
20631 </td>
20632 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080020633
20634 </table>
20635
20636
20637
tragait5e9676e2021-01-14 16:07:07 +000020638 <h2>Responses</h2>
seshukmb3a332a2018-10-05 16:27:16 +080020639 <h3> Status: default - successful operation </h3>
20640
20641 <ul class="nav nav-tabs nav-tabs-examples" >
20642 </ul>
20643
20644 <div class="tab-content" style='margin-bottom: 10px;'>
20645 </div>
20646
20647 </article>
tragait5e9676e2021-01-14 16:07:07 +000020648 </div>
20649 <hr>
seshukmb3a332a2018-10-05 16:27:16 +080020650 <div id="api-OnapsoinfraserviceInstantiation-scaleOutVfModule">
tragait5e9676e2021-01-14 16:07:07 +000020651 <article id="api-OnapsoinfraserviceInstantiation-scaleOutVfModule-0" data-group="User" data-name="scaleOutVfModule" data-version="0">
20652 <div class="pull-left">
20653 <h1>scaleOutVfModule</h1>
20654 <p>VF Auto Scale Out</p>
20655 </div>
20656 <div class="pull-right"></div>
20657 <div class="clearfix"></div>
20658 <p></p>
20659 <p class="marked"></p>
20660 <p></p>
20661 <br />
20662 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/scaleOut</span></code></pre>
20663 <p>
20664 <h3>Usage and SDK Samples</h3>
20665 </p>
20666 <ul class="nav nav-tabs nav-tabs-examples">
20667 <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-curl">Curl</a></li>
20668 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-java">Java</a></li>
20669 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-android">Android</a></li>
20670 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-groovy">Groovy</a></li>-->
20671 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-objc">Obj-C</a></li>
20672 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-javascript">JavaScript</a></li>
20673 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-angular">Angular</a></li>-->
20674 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-csharp">C#</a></li>
20675 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-php">PHP</a></li>
20676 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-perl">Perl</a></li>
20677 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-python">Python</a></li>
20678 </ul>
seshukmb3a332a2018-10-05 16:27:16 +080020679
tragait5e9676e2021-01-14 16:07:07 +000020680 <div class="tab-content">
20681 <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-curl">
20682 <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/scaleOut"</code></pre>
20683 </div>
20684 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-java">
seshukmb3a332a2018-10-05 16:27:16 +080020685 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
20686import io.swagger.client.auth.*;
20687import io.swagger.client.model.*;
20688import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
20689
20690import java.io.File;
20691import java.util.*;
20692
20693public class OnapsoinfraserviceInstantiationApiExample {
20694
20695 public static void main(String[] args) {
tragait5e9676e2021-01-14 16:07:07 +000020696
seshukmb3a332a2018-10-05 16:27:16 +080020697 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000020698 String version = version_example; // String |
20699 String serviceInstanceId = serviceInstanceId_example; // String |
20700 String vnfInstanceId = vnfInstanceId_example; // String |
20701 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080020702 try {
20703 apiInstance.scaleOutVfModule(version, serviceInstanceId, vnfInstanceId, body);
20704 } catch (ApiException e) {
20705 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#scaleOutVfModule");
20706 e.printStackTrace();
20707 }
20708 }
20709}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000020710 </div>
seshukmb3a332a2018-10-05 16:27:16 +080020711
tragait5e9676e2021-01-14 16:07:07 +000020712 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-android">
seshukmb3a332a2018-10-05 16:27:16 +080020713 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
20714
20715public class OnapsoinfraserviceInstantiationApiExample {
20716
20717 public static void main(String[] args) {
20718 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000020719 String version = version_example; // String |
20720 String serviceInstanceId = serviceInstanceId_example; // String |
20721 String vnfInstanceId = vnfInstanceId_example; // String |
20722 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080020723 try {
20724 apiInstance.scaleOutVfModule(version, serviceInstanceId, vnfInstanceId, body);
20725 } catch (ApiException e) {
20726 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#scaleOutVfModule");
20727 e.printStackTrace();
20728 }
20729 }
20730}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000020731 </div>
20732 <!--
seshukmb3a332a2018-10-05 16:27:16 +080020733 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-groovy">
20734 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
20735 </div> -->
tragait5e9676e2021-01-14 16:07:07 +000020736 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-objc">
20737 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
20738String *serviceInstanceId = serviceInstanceId_example; //
20739String *vnfInstanceId = vnfInstanceId_example; //
seshukmb3a332a2018-10-05 16:27:16 +080020740String *body = body_example; // (optional)
20741
20742OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init];
20743
20744// VF Auto Scale Out
20745[apiInstance scaleOutVfModuleWith:version
20746 serviceInstanceId:serviceInstanceId
20747 vnfInstanceId:vnfInstanceId
20748 body:body
20749 completionHandler: ^(NSError* error) {
20750 if (error) {
20751 NSLog(@"Error: %@", error);
20752 }
20753 }];
20754</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000020755 </div>
seshukmb3a332a2018-10-05 16:27:16 +080020756
tragait5e9676e2021-01-14 16:07:07 +000020757 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-javascript">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053020758 <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is');
seshukmb3a332a2018-10-05 16:27:16 +080020759
Priyadharshinic86ab4a2020-08-14 17:11:49 +053020760var api = new SoGuilinApIs.OnapsoinfraserviceInstantiationApi()
seshukmb3a332a2018-10-05 16:27:16 +080020761
tragait5e9676e2021-01-14 16:07:07 +000020762var version = version_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080020763
tragait5e9676e2021-01-14 16:07:07 +000020764var serviceInstanceId = serviceInstanceId_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080020765
tragait5e9676e2021-01-14 16:07:07 +000020766var vnfInstanceId = vnfInstanceId_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080020767
tragait5e9676e2021-01-14 16:07:07 +000020768var opts = {
20769 'body': body_example // {String}
seshukmb3a332a2018-10-05 16:27:16 +080020770};
20771
20772var callback = function(error, data, response) {
20773 if (error) {
20774 console.error(error);
20775 } else {
20776 console.log('API called successfully.');
20777 }
20778};
20779api.scaleOutVfModule(version, serviceInstanceId, vnfInstanceId, opts, callback);
20780</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000020781 </div>
seshukmb3a332a2018-10-05 16:27:16 +080020782
tragait5e9676e2021-01-14 16:07:07 +000020783 <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-angular">
seshukmb3a332a2018-10-05 16:27:16 +080020784 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
20785 </div>-->
tragait5e9676e2021-01-14 16:07:07 +000020786 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-csharp">
seshukmb3a332a2018-10-05 16:27:16 +080020787 <pre class="prettyprint"><code class="language-cs">using System;
20788using System.Diagnostics;
20789using IO.Swagger.Api;
20790using IO.Swagger.Client;
20791using IO.Swagger.Model;
20792
20793namespace Example
20794{
20795 public class scaleOutVfModuleExample
20796 {
20797 public void main()
20798 {
tragait5e9676e2021-01-14 16:07:07 +000020799
seshukmb3a332a2018-10-05 16:27:16 +080020800 var apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000020801 var version = version_example; // String |
20802 var serviceInstanceId = serviceInstanceId_example; // String |
20803 var vnfInstanceId = vnfInstanceId_example; // String |
20804 var body = body_example; // String | (optional)
seshukmb3a332a2018-10-05 16:27:16 +080020805
20806 try
20807 {
20808 // VF Auto Scale Out
20809 apiInstance.scaleOutVfModule(version, serviceInstanceId, vnfInstanceId, body);
20810 }
20811 catch (Exception e)
20812 {
20813 Debug.Print("Exception when calling OnapsoinfraserviceInstantiationApi.scaleOutVfModule: " + e.Message );
20814 }
20815 }
20816 }
20817}
20818</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000020819 </div>
seshukmb3a332a2018-10-05 16:27:16 +080020820
tragait5e9676e2021-01-14 16:07:07 +000020821 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-php">
seshukmb3a332a2018-10-05 16:27:16 +080020822 <pre class="prettyprint"><code class="language-php"><&#63;php
20823require_once(__DIR__ . '/vendor/autoload.php');
20824
20825$api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000020826$version = version_example; // String |
20827$serviceInstanceId = serviceInstanceId_example; // String |
20828$vnfInstanceId = vnfInstanceId_example; // String |
20829$body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080020830
20831try {
20832 $api_instance->scaleOutVfModule($version, $serviceInstanceId, $vnfInstanceId, $body);
20833} catch (Exception $e) {
20834 echo 'Exception when calling OnapsoinfraserviceInstantiationApi->scaleOutVfModule: ', $e->getMessage(), PHP_EOL;
20835}
20836?></code></pre>
tragait5e9676e2021-01-14 16:07:07 +000020837 </div>
seshukmb3a332a2018-10-05 16:27:16 +080020838
tragait5e9676e2021-01-14 16:07:07 +000020839 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-perl">
seshukmb3a332a2018-10-05 16:27:16 +080020840 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
20841use WWW::SwaggerClient::Configuration;
20842use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi;
20843
20844my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new();
tragait5e9676e2021-01-14 16:07:07 +000020845my $version = version_example; # String |
20846my $serviceInstanceId = serviceInstanceId_example; # String |
20847my $vnfInstanceId = vnfInstanceId_example; # String |
20848my $body = WWW::SwaggerClient::Object::String->new(); # String |
seshukmb3a332a2018-10-05 16:27:16 +080020849
tragait5e9676e2021-01-14 16:07:07 +000020850eval {
seshukmb3a332a2018-10-05 16:27:16 +080020851 $api_instance->scaleOutVfModule(version => $version, serviceInstanceId => $serviceInstanceId, vnfInstanceId => $vnfInstanceId, body => $body);
20852};
20853if ($@) {
20854 warn "Exception when calling OnapsoinfraserviceInstantiationApi->scaleOutVfModule: $@\n";
20855}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000020856 </div>
seshukmb3a332a2018-10-05 16:27:16 +080020857
tragait5e9676e2021-01-14 16:07:07 +000020858 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-python">
seshukmb3a332a2018-10-05 16:27:16 +080020859 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
20860import time
20861import swagger_client
20862from swagger_client.rest import ApiException
20863from pprint import pprint
20864
20865# create an instance of the API class
20866api_instance = swagger_client.OnapsoinfraserviceInstantiationApi()
tragait5e9676e2021-01-14 16:07:07 +000020867version = version_example # String |
20868serviceInstanceId = serviceInstanceId_example # String |
20869vnfInstanceId = vnfInstanceId_example # String |
seshukmb3a332a2018-10-05 16:27:16 +080020870body = body_example # String | (optional)
20871
tragait5e9676e2021-01-14 16:07:07 +000020872try:
seshukmb3a332a2018-10-05 16:27:16 +080020873 # VF Auto Scale Out
20874 api_instance.scale_out_vf_module(version, serviceInstanceId, vnfInstanceId, body=body)
20875except ApiException as e:
20876 print("Exception when calling OnapsoinfraserviceInstantiationApi->scaleOutVfModule: %s\n" % e)</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000020877 </div>
seshukmb3a332a2018-10-05 16:27:16 +080020878 </div>
seshukmb3a332a2018-10-05 16:27:16 +080020879
tragait5e9676e2021-01-14 16:07:07 +000020880 <h2>Parameters</h2>
seshukmb3a332a2018-10-05 16:27:16 +080020881
20882 <div class="methodsubtabletitle">Path parameters</div>
20883 <table id="methodsubtable">
20884 <tr>
tragait5e9676e2021-01-14 16:07:07 +000020885 <th width="150px">Name</th>
20886 <th>Description</th>
seshukmb3a332a2018-10-05 16:27:16 +080020887 </tr>
tragait5e9676e2021-01-14 16:07:07 +000020888 <tr><td style="width:150px;">version*</td>
20889 <td>
seshukmb3a332a2018-10-05 16:27:16 +080020890
20891
tragait5e9676e2021-01-14 16:07:07 +000020892 <div id="d2e199_scaleOutVfModule_version">
20893 <div class="json-schema-view">
20894 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080020895 <span class="type">
20896 String
20897 </span>
20898
tragait5e9676e2021-01-14 16:07:07 +000020899 </div>
20900 <div class="inner required">
20901 Required
20902 </div>
20903 </div>
20904 </div>
20905 </td>
20906 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080020907
tragait5e9676e2021-01-14 16:07:07 +000020908 <tr><td style="width:150px;">serviceInstanceId*</td>
20909 <td>
seshukmb3a332a2018-10-05 16:27:16 +080020910
20911
tragait5e9676e2021-01-14 16:07:07 +000020912 <div id="d2e199_scaleOutVfModule_serviceInstanceId">
20913 <div class="json-schema-view">
20914 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080020915 <span class="type">
20916 String
20917 </span>
20918
tragait5e9676e2021-01-14 16:07:07 +000020919 </div>
20920 <div class="inner required">
20921 Required
20922 </div>
20923 </div>
20924 </div>
20925 </td>
20926 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080020927
tragait5e9676e2021-01-14 16:07:07 +000020928 <tr><td style="width:150px;">vnfInstanceId*</td>
20929 <td>
seshukmb3a332a2018-10-05 16:27:16 +080020930
20931
tragait5e9676e2021-01-14 16:07:07 +000020932 <div id="d2e199_scaleOutVfModule_vnfInstanceId">
20933 <div class="json-schema-view">
20934 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080020935 <span class="type">
20936 String
20937 </span>
20938
tragait5e9676e2021-01-14 16:07:07 +000020939 </div>
20940 <div class="inner required">
20941 Required
20942 </div>
20943 </div>
20944 </div>
20945 </td>
20946 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080020947
20948 </table>
20949
20950
20951 <div class="methodsubtabletitle">Body parameters</div>
20952 <table id="methodsubtable">
tragait5e9676e2021-01-14 16:07:07 +000020953 <tr>
20954 <th width="150px">Name</th>
20955 <th>Description</th>
20956 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080020957 <tr><td style="width:150px;">body </td>
tragait5e9676e2021-01-14 16:07:07 +000020958 <td>
seshukmb3a332a2018-10-05 16:27:16 +080020959
20960
tragait5e9676e2021-01-14 16:07:07 +000020961 <script>
seshukmb3a332a2018-10-05 16:27:16 +080020962$(document).ready(function() {
20963 var schemaWrapper = {
20964 "in" : "body",
20965 "name" : "body",
20966 "required" : false,
20967 "schema" : {
20968 "type" : "string"
20969 }
20970};
20971 var schema = schemaWrapper.schema;
20972 if (schema.$ref != null) {
20973 schema = defsParser.$refs.get(schema.$ref);
20974 } else {
20975 schemaWrapper.definitions = Object.assign({}, defs);
20976 $RefParser.dereference(schemaWrapper).catch(function(err) {
20977 console.log(err);
20978 });
20979 }
20980
20981 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
20982 var result = $('#d2e199_scaleOutVfModule_body');
20983 result.empty();
20984 result.append(view.render());
20985});
20986</script>
tragait5e9676e2021-01-14 16:07:07 +000020987 <div id="d2e199_scaleOutVfModule_body"></div>
20988 </td>
20989 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080020990
20991 </table>
20992
20993
20994
tragait5e9676e2021-01-14 16:07:07 +000020995 <h2>Responses</h2>
seshukmb3a332a2018-10-05 16:27:16 +080020996 <h3> Status: default - successful operation </h3>
20997
20998 <ul class="nav nav-tabs nav-tabs-examples" >
20999 </ul>
21000
21001 <div class="tab-content" style='margin-bottom: 10px;'>
21002 </div>
21003
21004 </article>
tragait5e9676e2021-01-14 16:07:07 +000021005 </div>
21006 <hr>
seshukmb3a332a2018-10-05 16:27:16 +080021007 <div id="api-OnapsoinfraserviceInstantiation-unassignServiceInstance">
tragait5e9676e2021-01-14 16:07:07 +000021008 <article id="api-OnapsoinfraserviceInstantiation-unassignServiceInstance-0" data-group="User" data-name="unassignServiceInstance" data-version="0">
21009 <div class="pull-left">
21010 <h1>unassignServiceInstance</h1>
21011 <p>Unassign Service Instance</p>
21012 </div>
21013 <div class="pull-right"></div>
21014 <div class="clearfix"></div>
21015 <p></p>
21016 <p class="marked"></p>
21017 <p></p>
21018 <br />
21019 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/unassign</span></code></pre>
21020 <p>
21021 <h3>Usage and SDK Samples</h3>
21022 </p>
21023 <ul class="nav nav-tabs nav-tabs-examples">
21024 <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-curl">Curl</a></li>
21025 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-java">Java</a></li>
21026 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-android">Android</a></li>
21027 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-groovy">Groovy</a></li>-->
21028 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-objc">Obj-C</a></li>
21029 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-javascript">JavaScript</a></li>
21030 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-angular">Angular</a></li>-->
21031 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-csharp">C#</a></li>
21032 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-php">PHP</a></li>
21033 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-perl">Perl</a></li>
21034 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-python">Python</a></li>
21035 </ul>
seshukmb3a332a2018-10-05 16:27:16 +080021036
tragait5e9676e2021-01-14 16:07:07 +000021037 <div class="tab-content">
21038 <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-curl">
21039 <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/unassign"</code></pre>
21040 </div>
21041 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-java">
seshukmb3a332a2018-10-05 16:27:16 +080021042 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
21043import io.swagger.client.auth.*;
21044import io.swagger.client.model.*;
21045import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
21046
21047import java.io.File;
21048import java.util.*;
21049
21050public class OnapsoinfraserviceInstantiationApiExample {
21051
21052 public static void main(String[] args) {
tragait5e9676e2021-01-14 16:07:07 +000021053
seshukmb3a332a2018-10-05 16:27:16 +080021054 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000021055 String version = version_example; // String |
21056 String serviceInstanceId = serviceInstanceId_example; // String |
21057 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080021058 try {
21059 apiInstance.unassignServiceInstance(version, serviceInstanceId, body);
21060 } catch (ApiException e) {
21061 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#unassignServiceInstance");
21062 e.printStackTrace();
21063 }
21064 }
21065}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000021066 </div>
seshukmb3a332a2018-10-05 16:27:16 +080021067
tragait5e9676e2021-01-14 16:07:07 +000021068 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-android">
seshukmb3a332a2018-10-05 16:27:16 +080021069 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
21070
21071public class OnapsoinfraserviceInstantiationApiExample {
21072
21073 public static void main(String[] args) {
21074 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000021075 String version = version_example; // String |
21076 String serviceInstanceId = serviceInstanceId_example; // String |
21077 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080021078 try {
21079 apiInstance.unassignServiceInstance(version, serviceInstanceId, body);
21080 } catch (ApiException e) {
21081 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#unassignServiceInstance");
21082 e.printStackTrace();
21083 }
21084 }
21085}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000021086 </div>
21087 <!--
seshukmb3a332a2018-10-05 16:27:16 +080021088 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-groovy">
21089 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
21090 </div> -->
tragait5e9676e2021-01-14 16:07:07 +000021091 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-objc">
21092 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
21093String *serviceInstanceId = serviceInstanceId_example; //
seshukmb3a332a2018-10-05 16:27:16 +080021094String *body = body_example; // (optional)
21095
21096OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init];
21097
21098// Unassign Service Instance
21099[apiInstance unassignServiceInstanceWith:version
21100 serviceInstanceId:serviceInstanceId
21101 body:body
21102 completionHandler: ^(NSError* error) {
21103 if (error) {
21104 NSLog(@"Error: %@", error);
21105 }
21106 }];
21107</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000021108 </div>
seshukmb3a332a2018-10-05 16:27:16 +080021109
tragait5e9676e2021-01-14 16:07:07 +000021110 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-javascript">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053021111 <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is');
seshukmb3a332a2018-10-05 16:27:16 +080021112
Priyadharshinic86ab4a2020-08-14 17:11:49 +053021113var api = new SoGuilinApIs.OnapsoinfraserviceInstantiationApi()
seshukmb3a332a2018-10-05 16:27:16 +080021114
tragait5e9676e2021-01-14 16:07:07 +000021115var version = version_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080021116
tragait5e9676e2021-01-14 16:07:07 +000021117var serviceInstanceId = serviceInstanceId_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080021118
tragait5e9676e2021-01-14 16:07:07 +000021119var opts = {
21120 'body': body_example // {String}
seshukmb3a332a2018-10-05 16:27:16 +080021121};
21122
21123var callback = function(error, data, response) {
21124 if (error) {
21125 console.error(error);
21126 } else {
21127 console.log('API called successfully.');
21128 }
21129};
21130api.unassignServiceInstance(version, serviceInstanceId, opts, callback);
21131</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000021132 </div>
seshukmb3a332a2018-10-05 16:27:16 +080021133
tragait5e9676e2021-01-14 16:07:07 +000021134 <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-angular">
seshukmb3a332a2018-10-05 16:27:16 +080021135 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
21136 </div>-->
tragait5e9676e2021-01-14 16:07:07 +000021137 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-csharp">
seshukmb3a332a2018-10-05 16:27:16 +080021138 <pre class="prettyprint"><code class="language-cs">using System;
21139using System.Diagnostics;
21140using IO.Swagger.Api;
21141using IO.Swagger.Client;
21142using IO.Swagger.Model;
21143
21144namespace Example
21145{
21146 public class unassignServiceInstanceExample
21147 {
21148 public void main()
21149 {
tragait5e9676e2021-01-14 16:07:07 +000021150
seshukmb3a332a2018-10-05 16:27:16 +080021151 var apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000021152 var version = version_example; // String |
21153 var serviceInstanceId = serviceInstanceId_example; // String |
21154 var body = body_example; // String | (optional)
seshukmb3a332a2018-10-05 16:27:16 +080021155
21156 try
21157 {
21158 // Unassign Service Instance
21159 apiInstance.unassignServiceInstance(version, serviceInstanceId, body);
21160 }
21161 catch (Exception e)
21162 {
21163 Debug.Print("Exception when calling OnapsoinfraserviceInstantiationApi.unassignServiceInstance: " + e.Message );
21164 }
21165 }
21166 }
21167}
21168</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000021169 </div>
seshukmb3a332a2018-10-05 16:27:16 +080021170
tragait5e9676e2021-01-14 16:07:07 +000021171 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-php">
seshukmb3a332a2018-10-05 16:27:16 +080021172 <pre class="prettyprint"><code class="language-php"><&#63;php
21173require_once(__DIR__ . '/vendor/autoload.php');
21174
21175$api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000021176$version = version_example; // String |
21177$serviceInstanceId = serviceInstanceId_example; // String |
21178$body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080021179
21180try {
21181 $api_instance->unassignServiceInstance($version, $serviceInstanceId, $body);
21182} catch (Exception $e) {
21183 echo 'Exception when calling OnapsoinfraserviceInstantiationApi->unassignServiceInstance: ', $e->getMessage(), PHP_EOL;
21184}
21185?></code></pre>
tragait5e9676e2021-01-14 16:07:07 +000021186 </div>
seshukmb3a332a2018-10-05 16:27:16 +080021187
tragait5e9676e2021-01-14 16:07:07 +000021188 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-perl">
seshukmb3a332a2018-10-05 16:27:16 +080021189 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
21190use WWW::SwaggerClient::Configuration;
21191use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi;
21192
21193my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new();
tragait5e9676e2021-01-14 16:07:07 +000021194my $version = version_example; # String |
21195my $serviceInstanceId = serviceInstanceId_example; # String |
21196my $body = WWW::SwaggerClient::Object::String->new(); # String |
seshukmb3a332a2018-10-05 16:27:16 +080021197
tragait5e9676e2021-01-14 16:07:07 +000021198eval {
seshukmb3a332a2018-10-05 16:27:16 +080021199 $api_instance->unassignServiceInstance(version => $version, serviceInstanceId => $serviceInstanceId, body => $body);
21200};
21201if ($@) {
21202 warn "Exception when calling OnapsoinfraserviceInstantiationApi->unassignServiceInstance: $@\n";
21203}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000021204 </div>
seshukmb3a332a2018-10-05 16:27:16 +080021205
tragait5e9676e2021-01-14 16:07:07 +000021206 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-python">
seshukmb3a332a2018-10-05 16:27:16 +080021207 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
21208import time
21209import swagger_client
21210from swagger_client.rest import ApiException
21211from pprint import pprint
21212
21213# create an instance of the API class
21214api_instance = swagger_client.OnapsoinfraserviceInstantiationApi()
tragait5e9676e2021-01-14 16:07:07 +000021215version = version_example # String |
21216serviceInstanceId = serviceInstanceId_example # String |
seshukmb3a332a2018-10-05 16:27:16 +080021217body = body_example # String | (optional)
21218
tragait5e9676e2021-01-14 16:07:07 +000021219try:
seshukmb3a332a2018-10-05 16:27:16 +080021220 # Unassign Service Instance
21221 api_instance.unassign_service_instance(version, serviceInstanceId, body=body)
21222except ApiException as e:
21223 print("Exception when calling OnapsoinfraserviceInstantiationApi->unassignServiceInstance: %s\n" % e)</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000021224 </div>
seshukmb3a332a2018-10-05 16:27:16 +080021225 </div>
seshukmb3a332a2018-10-05 16:27:16 +080021226
tragait5e9676e2021-01-14 16:07:07 +000021227 <h2>Parameters</h2>
seshukmb3a332a2018-10-05 16:27:16 +080021228
21229 <div class="methodsubtabletitle">Path parameters</div>
21230 <table id="methodsubtable">
21231 <tr>
tragait5e9676e2021-01-14 16:07:07 +000021232 <th width="150px">Name</th>
21233 <th>Description</th>
seshukmb3a332a2018-10-05 16:27:16 +080021234 </tr>
tragait5e9676e2021-01-14 16:07:07 +000021235 <tr><td style="width:150px;">version*</td>
21236 <td>
seshukmb3a332a2018-10-05 16:27:16 +080021237
21238
tragait5e9676e2021-01-14 16:07:07 +000021239 <div id="d2e199_unassignServiceInstance_version">
21240 <div class="json-schema-view">
21241 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080021242 <span class="type">
21243 String
21244 </span>
21245
tragait5e9676e2021-01-14 16:07:07 +000021246 </div>
21247 <div class="inner required">
21248 Required
21249 </div>
21250 </div>
21251 </div>
21252 </td>
21253 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080021254
tragait5e9676e2021-01-14 16:07:07 +000021255 <tr><td style="width:150px;">serviceInstanceId*</td>
21256 <td>
seshukmb3a332a2018-10-05 16:27:16 +080021257
21258
tragait5e9676e2021-01-14 16:07:07 +000021259 <div id="d2e199_unassignServiceInstance_serviceInstanceId">
21260 <div class="json-schema-view">
21261 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080021262 <span class="type">
21263 String
21264 </span>
21265
tragait5e9676e2021-01-14 16:07:07 +000021266 </div>
21267 <div class="inner required">
21268 Required
21269 </div>
21270 </div>
21271 </div>
21272 </td>
21273 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080021274
21275 </table>
21276
21277
21278 <div class="methodsubtabletitle">Body parameters</div>
21279 <table id="methodsubtable">
tragait5e9676e2021-01-14 16:07:07 +000021280 <tr>
21281 <th width="150px">Name</th>
21282 <th>Description</th>
21283 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080021284 <tr><td style="width:150px;">body </td>
tragait5e9676e2021-01-14 16:07:07 +000021285 <td>
seshukmb3a332a2018-10-05 16:27:16 +080021286
21287
tragait5e9676e2021-01-14 16:07:07 +000021288 <script>
seshukmb3a332a2018-10-05 16:27:16 +080021289$(document).ready(function() {
21290 var schemaWrapper = {
21291 "in" : "body",
21292 "name" : "body",
21293 "required" : false,
21294 "schema" : {
21295 "type" : "string"
21296 }
21297};
21298 var schema = schemaWrapper.schema;
21299 if (schema.$ref != null) {
21300 schema = defsParser.$refs.get(schema.$ref);
21301 } else {
21302 schemaWrapper.definitions = Object.assign({}, defs);
21303 $RefParser.dereference(schemaWrapper).catch(function(err) {
21304 console.log(err);
21305 });
21306 }
21307
21308 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
21309 var result = $('#d2e199_unassignServiceInstance_body');
21310 result.empty();
21311 result.append(view.render());
21312});
21313</script>
tragait5e9676e2021-01-14 16:07:07 +000021314 <div id="d2e199_unassignServiceInstance_body"></div>
21315 </td>
21316 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080021317
21318 </table>
21319
21320
21321
tragait5e9676e2021-01-14 16:07:07 +000021322 <h2>Responses</h2>
seshukmb3a332a2018-10-05 16:27:16 +080021323 <h3> Status: default - successful operation </h3>
21324
21325 <ul class="nav nav-tabs nav-tabs-examples" >
21326 </ul>
21327
21328 <div class="tab-content" style='margin-bottom: 10px;'>
21329 </div>
21330
21331 </article>
tragait5e9676e2021-01-14 16:07:07 +000021332 </div>
21333 <hr>
seshukmb3a332a2018-10-05 16:27:16 +080021334 <div id="api-OnapsoinfraserviceInstantiation-updateNetworkInstance">
tragait5e9676e2021-01-14 16:07:07 +000021335 <article id="api-OnapsoinfraserviceInstantiation-updateNetworkInstance-0" data-group="User" data-name="updateNetworkInstance" data-version="0">
21336 <div class="pull-left">
21337 <h1>updateNetworkInstance</h1>
21338 <p>Update VolumeGroup on a specified version, serviceInstance, networkInstance</p>
21339 </div>
21340 <div class="pull-right"></div>
21341 <div class="clearfix"></div>
21342 <p></p>
21343 <p class="marked"></p>
21344 <p></p>
21345 <br />
21346 <pre class="prettyprint language-html prettyprinted" data-type="put"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/networks/{networkInstanceId}</span></code></pre>
21347 <p>
21348 <h3>Usage and SDK Samples</h3>
21349 </p>
21350 <ul class="nav nav-tabs nav-tabs-examples">
21351 <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-curl">Curl</a></li>
21352 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-java">Java</a></li>
21353 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-android">Android</a></li>
21354 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-groovy">Groovy</a></li>-->
21355 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-objc">Obj-C</a></li>
21356 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-javascript">JavaScript</a></li>
21357 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-angular">Angular</a></li>-->
21358 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-csharp">C#</a></li>
21359 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-php">PHP</a></li>
21360 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-perl">Perl</a></li>
21361 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-python">Python</a></li>
21362 </ul>
seshukmb3a332a2018-10-05 16:27:16 +080021363
tragait5e9676e2021-01-14 16:07:07 +000021364 <div class="tab-content">
21365 <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-curl">
21366 <pre class="prettyprint"><code class="language-bsh">curl -X PUT "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/networks/{networkInstanceId}"</code></pre>
21367 </div>
21368 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-java">
seshukmb3a332a2018-10-05 16:27:16 +080021369 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
21370import io.swagger.client.auth.*;
21371import io.swagger.client.model.*;
21372import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
21373
21374import java.io.File;
21375import java.util.*;
21376
21377public class OnapsoinfraserviceInstantiationApiExample {
21378
21379 public static void main(String[] args) {
tragait5e9676e2021-01-14 16:07:07 +000021380
seshukmb3a332a2018-10-05 16:27:16 +080021381 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000021382 String version = version_example; // String |
21383 String serviceInstanceId = serviceInstanceId_example; // String |
21384 String networkInstanceId = networkInstanceId_example; // String |
21385 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080021386 try {
21387 apiInstance.updateNetworkInstance(version, serviceInstanceId, networkInstanceId, body);
21388 } catch (ApiException e) {
21389 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#updateNetworkInstance");
21390 e.printStackTrace();
21391 }
21392 }
21393}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000021394 </div>
seshukmb3a332a2018-10-05 16:27:16 +080021395
tragait5e9676e2021-01-14 16:07:07 +000021396 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-android">
seshukmb3a332a2018-10-05 16:27:16 +080021397 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
21398
21399public class OnapsoinfraserviceInstantiationApiExample {
21400
21401 public static void main(String[] args) {
21402 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000021403 String version = version_example; // String |
21404 String serviceInstanceId = serviceInstanceId_example; // String |
21405 String networkInstanceId = networkInstanceId_example; // String |
21406 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080021407 try {
21408 apiInstance.updateNetworkInstance(version, serviceInstanceId, networkInstanceId, body);
21409 } catch (ApiException e) {
21410 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#updateNetworkInstance");
21411 e.printStackTrace();
21412 }
21413 }
21414}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000021415 </div>
21416 <!--
seshukmb3a332a2018-10-05 16:27:16 +080021417 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-groovy">
21418 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
21419 </div> -->
tragait5e9676e2021-01-14 16:07:07 +000021420 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-objc">
21421 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
21422String *serviceInstanceId = serviceInstanceId_example; //
21423String *networkInstanceId = networkInstanceId_example; //
seshukmb3a332a2018-10-05 16:27:16 +080021424String *body = body_example; // (optional)
21425
21426OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init];
21427
21428// Update VolumeGroup on a specified version, serviceInstance, networkInstance
21429[apiInstance updateNetworkInstanceWith:version
21430 serviceInstanceId:serviceInstanceId
21431 networkInstanceId:networkInstanceId
21432 body:body
21433 completionHandler: ^(NSError* error) {
21434 if (error) {
21435 NSLog(@"Error: %@", error);
21436 }
21437 }];
21438</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000021439 </div>
seshukmb3a332a2018-10-05 16:27:16 +080021440
tragait5e9676e2021-01-14 16:07:07 +000021441 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-javascript">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053021442 <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is');
seshukmb3a332a2018-10-05 16:27:16 +080021443
Priyadharshinic86ab4a2020-08-14 17:11:49 +053021444var api = new SoGuilinApIs.OnapsoinfraserviceInstantiationApi()
seshukmb3a332a2018-10-05 16:27:16 +080021445
tragait5e9676e2021-01-14 16:07:07 +000021446var version = version_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080021447
tragait5e9676e2021-01-14 16:07:07 +000021448var serviceInstanceId = serviceInstanceId_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080021449
tragait5e9676e2021-01-14 16:07:07 +000021450var networkInstanceId = networkInstanceId_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080021451
tragait5e9676e2021-01-14 16:07:07 +000021452var opts = {
21453 'body': body_example // {String}
seshukmb3a332a2018-10-05 16:27:16 +080021454};
21455
21456var callback = function(error, data, response) {
21457 if (error) {
21458 console.error(error);
21459 } else {
21460 console.log('API called successfully.');
21461 }
21462};
21463api.updateNetworkInstance(version, serviceInstanceId, networkInstanceId, opts, callback);
21464</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000021465 </div>
seshukmb3a332a2018-10-05 16:27:16 +080021466
tragait5e9676e2021-01-14 16:07:07 +000021467 <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-angular">
seshukmb3a332a2018-10-05 16:27:16 +080021468 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
21469 </div>-->
tragait5e9676e2021-01-14 16:07:07 +000021470 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-csharp">
seshukmb3a332a2018-10-05 16:27:16 +080021471 <pre class="prettyprint"><code class="language-cs">using System;
21472using System.Diagnostics;
21473using IO.Swagger.Api;
21474using IO.Swagger.Client;
21475using IO.Swagger.Model;
21476
21477namespace Example
21478{
21479 public class updateNetworkInstanceExample
21480 {
21481 public void main()
21482 {
tragait5e9676e2021-01-14 16:07:07 +000021483
seshukmb3a332a2018-10-05 16:27:16 +080021484 var apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000021485 var version = version_example; // String |
21486 var serviceInstanceId = serviceInstanceId_example; // String |
21487 var networkInstanceId = networkInstanceId_example; // String |
21488 var body = body_example; // String | (optional)
seshukmb3a332a2018-10-05 16:27:16 +080021489
21490 try
21491 {
21492 // Update VolumeGroup on a specified version, serviceInstance, networkInstance
21493 apiInstance.updateNetworkInstance(version, serviceInstanceId, networkInstanceId, body);
21494 }
21495 catch (Exception e)
21496 {
21497 Debug.Print("Exception when calling OnapsoinfraserviceInstantiationApi.updateNetworkInstance: " + e.Message );
21498 }
21499 }
21500 }
21501}
21502</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000021503 </div>
seshukmb3a332a2018-10-05 16:27:16 +080021504
tragait5e9676e2021-01-14 16:07:07 +000021505 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-php">
seshukmb3a332a2018-10-05 16:27:16 +080021506 <pre class="prettyprint"><code class="language-php"><&#63;php
21507require_once(__DIR__ . '/vendor/autoload.php');
21508
21509$api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000021510$version = version_example; // String |
21511$serviceInstanceId = serviceInstanceId_example; // String |
21512$networkInstanceId = networkInstanceId_example; // String |
21513$body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080021514
21515try {
21516 $api_instance->updateNetworkInstance($version, $serviceInstanceId, $networkInstanceId, $body);
21517} catch (Exception $e) {
21518 echo 'Exception when calling OnapsoinfraserviceInstantiationApi->updateNetworkInstance: ', $e->getMessage(), PHP_EOL;
21519}
21520?></code></pre>
tragait5e9676e2021-01-14 16:07:07 +000021521 </div>
seshukmb3a332a2018-10-05 16:27:16 +080021522
tragait5e9676e2021-01-14 16:07:07 +000021523 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-perl">
seshukmb3a332a2018-10-05 16:27:16 +080021524 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
21525use WWW::SwaggerClient::Configuration;
21526use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi;
21527
21528my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new();
tragait5e9676e2021-01-14 16:07:07 +000021529my $version = version_example; # String |
21530my $serviceInstanceId = serviceInstanceId_example; # String |
21531my $networkInstanceId = networkInstanceId_example; # String |
21532my $body = WWW::SwaggerClient::Object::String->new(); # String |
seshukmb3a332a2018-10-05 16:27:16 +080021533
tragait5e9676e2021-01-14 16:07:07 +000021534eval {
seshukmb3a332a2018-10-05 16:27:16 +080021535 $api_instance->updateNetworkInstance(version => $version, serviceInstanceId => $serviceInstanceId, networkInstanceId => $networkInstanceId, body => $body);
21536};
21537if ($@) {
21538 warn "Exception when calling OnapsoinfraserviceInstantiationApi->updateNetworkInstance: $@\n";
21539}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000021540 </div>
seshukmb3a332a2018-10-05 16:27:16 +080021541
tragait5e9676e2021-01-14 16:07:07 +000021542 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-python">
seshukmb3a332a2018-10-05 16:27:16 +080021543 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
21544import time
21545import swagger_client
21546from swagger_client.rest import ApiException
21547from pprint import pprint
21548
21549# create an instance of the API class
21550api_instance = swagger_client.OnapsoinfraserviceInstantiationApi()
tragait5e9676e2021-01-14 16:07:07 +000021551version = version_example # String |
21552serviceInstanceId = serviceInstanceId_example # String |
21553networkInstanceId = networkInstanceId_example # String |
seshukmb3a332a2018-10-05 16:27:16 +080021554body = body_example # String | (optional)
21555
tragait5e9676e2021-01-14 16:07:07 +000021556try:
seshukmb3a332a2018-10-05 16:27:16 +080021557 # Update VolumeGroup on a specified version, serviceInstance, networkInstance
21558 api_instance.update_network_instance(version, serviceInstanceId, networkInstanceId, body=body)
21559except ApiException as e:
21560 print("Exception when calling OnapsoinfraserviceInstantiationApi->updateNetworkInstance: %s\n" % e)</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000021561 </div>
seshukmb3a332a2018-10-05 16:27:16 +080021562 </div>
seshukmb3a332a2018-10-05 16:27:16 +080021563
tragait5e9676e2021-01-14 16:07:07 +000021564 <h2>Parameters</h2>
seshukmb3a332a2018-10-05 16:27:16 +080021565
21566 <div class="methodsubtabletitle">Path parameters</div>
21567 <table id="methodsubtable">
21568 <tr>
tragait5e9676e2021-01-14 16:07:07 +000021569 <th width="150px">Name</th>
21570 <th>Description</th>
seshukmb3a332a2018-10-05 16:27:16 +080021571 </tr>
tragait5e9676e2021-01-14 16:07:07 +000021572 <tr><td style="width:150px;">version*</td>
21573 <td>
seshukmb3a332a2018-10-05 16:27:16 +080021574
21575
tragait5e9676e2021-01-14 16:07:07 +000021576 <div id="d2e199_updateNetworkInstance_version">
21577 <div class="json-schema-view">
21578 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080021579 <span class="type">
21580 String
21581 </span>
21582
tragait5e9676e2021-01-14 16:07:07 +000021583 </div>
21584 <div class="inner required">
21585 Required
21586 </div>
21587 </div>
21588 </div>
21589 </td>
21590 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080021591
tragait5e9676e2021-01-14 16:07:07 +000021592 <tr><td style="width:150px;">serviceInstanceId*</td>
21593 <td>
seshukmb3a332a2018-10-05 16:27:16 +080021594
21595
tragait5e9676e2021-01-14 16:07:07 +000021596 <div id="d2e199_updateNetworkInstance_serviceInstanceId">
21597 <div class="json-schema-view">
21598 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080021599 <span class="type">
21600 String
21601 </span>
21602
tragait5e9676e2021-01-14 16:07:07 +000021603 </div>
21604 <div class="inner required">
21605 Required
21606 </div>
21607 </div>
21608 </div>
21609 </td>
21610 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080021611
tragait5e9676e2021-01-14 16:07:07 +000021612 <tr><td style="width:150px;">networkInstanceId*</td>
21613 <td>
seshukmb3a332a2018-10-05 16:27:16 +080021614
21615
tragait5e9676e2021-01-14 16:07:07 +000021616 <div id="d2e199_updateNetworkInstance_networkInstanceId">
21617 <div class="json-schema-view">
21618 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080021619 <span class="type">
21620 String
21621 </span>
21622
tragait5e9676e2021-01-14 16:07:07 +000021623 </div>
21624 <div class="inner required">
21625 Required
21626 </div>
21627 </div>
21628 </div>
21629 </td>
21630 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080021631
21632 </table>
21633
21634
21635 <div class="methodsubtabletitle">Body parameters</div>
21636 <table id="methodsubtable">
tragait5e9676e2021-01-14 16:07:07 +000021637 <tr>
21638 <th width="150px">Name</th>
21639 <th>Description</th>
21640 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080021641 <tr><td style="width:150px;">body </td>
tragait5e9676e2021-01-14 16:07:07 +000021642 <td>
seshukmb3a332a2018-10-05 16:27:16 +080021643
21644
tragait5e9676e2021-01-14 16:07:07 +000021645 <script>
seshukmb3a332a2018-10-05 16:27:16 +080021646$(document).ready(function() {
21647 var schemaWrapper = {
21648 "in" : "body",
21649 "name" : "body",
21650 "required" : false,
21651 "schema" : {
21652 "type" : "string"
21653 }
21654};
21655 var schema = schemaWrapper.schema;
21656 if (schema.$ref != null) {
21657 schema = defsParser.$refs.get(schema.$ref);
21658 } else {
21659 schemaWrapper.definitions = Object.assign({}, defs);
21660 $RefParser.dereference(schemaWrapper).catch(function(err) {
21661 console.log(err);
21662 });
21663 }
21664
21665 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
21666 var result = $('#d2e199_updateNetworkInstance_body');
21667 result.empty();
21668 result.append(view.render());
21669});
21670</script>
tragait5e9676e2021-01-14 16:07:07 +000021671 <div id="d2e199_updateNetworkInstance_body"></div>
21672 </td>
21673 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080021674
21675 </table>
21676
21677
21678
tragait5e9676e2021-01-14 16:07:07 +000021679 <h2>Responses</h2>
seshukmb3a332a2018-10-05 16:27:16 +080021680 <h3> Status: default - successful operation </h3>
21681
21682 <ul class="nav nav-tabs nav-tabs-examples" >
21683 </ul>
21684
21685 <div class="tab-content" style='margin-bottom: 10px;'>
21686 </div>
21687
21688 </article>
tragait5e9676e2021-01-14 16:07:07 +000021689 </div>
21690 <hr>
seshukmb3a332a2018-10-05 16:27:16 +080021691 <div id="api-OnapsoinfraserviceInstantiation-updateVfModuleInstance">
tragait5e9676e2021-01-14 16:07:07 +000021692 <article id="api-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0" data-group="User" data-name="updateVfModuleInstance" data-version="0">
21693 <div class="pull-left">
21694 <h1>updateVfModuleInstance</h1>
21695 <p>Update VfModule on a specified version, serviceInstance, vnfInstance and vfModule</p>
21696 </div>
21697 <div class="pull-right"></div>
21698 <div class="clearfix"></div>
21699 <p></p>
21700 <p class="marked"></p>
21701 <p></p>
21702 <br />
21703 <pre class="prettyprint language-html prettyprinted" data-type="put"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/{vfmoduleInstanceId}</span></code></pre>
21704 <p>
21705 <h3>Usage and SDK Samples</h3>
21706 </p>
21707 <ul class="nav nav-tabs nav-tabs-examples">
21708 <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-curl">Curl</a></li>
21709 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-java">Java</a></li>
21710 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-android">Android</a></li>
21711 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-groovy">Groovy</a></li>-->
21712 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-objc">Obj-C</a></li>
21713 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-javascript">JavaScript</a></li>
21714 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-angular">Angular</a></li>-->
21715 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-csharp">C#</a></li>
21716 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-php">PHP</a></li>
21717 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-perl">Perl</a></li>
21718 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-python">Python</a></li>
21719 </ul>
seshukmb3a332a2018-10-05 16:27:16 +080021720
tragait5e9676e2021-01-14 16:07:07 +000021721 <div class="tab-content">
21722 <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-curl">
21723 <pre class="prettyprint"><code class="language-bsh">curl -X PUT "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/{vfmoduleInstanceId}"</code></pre>
21724 </div>
21725 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-java">
seshukmb3a332a2018-10-05 16:27:16 +080021726 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
21727import io.swagger.client.auth.*;
21728import io.swagger.client.model.*;
21729import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
21730
21731import java.io.File;
21732import java.util.*;
21733
21734public class OnapsoinfraserviceInstantiationApiExample {
21735
21736 public static void main(String[] args) {
tragait5e9676e2021-01-14 16:07:07 +000021737
seshukmb3a332a2018-10-05 16:27:16 +080021738 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000021739 String version = version_example; // String |
21740 String serviceInstanceId = serviceInstanceId_example; // String |
21741 String vnfInstanceId = vnfInstanceId_example; // String |
21742 String vfmoduleInstanceId = vfmoduleInstanceId_example; // String |
21743 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080021744 try {
21745 apiInstance.updateVfModuleInstance(version, serviceInstanceId, vnfInstanceId, vfmoduleInstanceId, body);
21746 } catch (ApiException e) {
21747 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#updateVfModuleInstance");
21748 e.printStackTrace();
21749 }
21750 }
21751}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000021752 </div>
seshukmb3a332a2018-10-05 16:27:16 +080021753
tragait5e9676e2021-01-14 16:07:07 +000021754 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-android">
seshukmb3a332a2018-10-05 16:27:16 +080021755 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
21756
21757public class OnapsoinfraserviceInstantiationApiExample {
21758
21759 public static void main(String[] args) {
21760 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000021761 String version = version_example; // String |
21762 String serviceInstanceId = serviceInstanceId_example; // String |
21763 String vnfInstanceId = vnfInstanceId_example; // String |
21764 String vfmoduleInstanceId = vfmoduleInstanceId_example; // String |
21765 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080021766 try {
21767 apiInstance.updateVfModuleInstance(version, serviceInstanceId, vnfInstanceId, vfmoduleInstanceId, body);
21768 } catch (ApiException e) {
21769 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#updateVfModuleInstance");
21770 e.printStackTrace();
21771 }
21772 }
21773}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000021774 </div>
21775 <!--
seshukmb3a332a2018-10-05 16:27:16 +080021776 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-groovy">
21777 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
21778 </div> -->
tragait5e9676e2021-01-14 16:07:07 +000021779 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-objc">
21780 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
21781String *serviceInstanceId = serviceInstanceId_example; //
21782String *vnfInstanceId = vnfInstanceId_example; //
21783String *vfmoduleInstanceId = vfmoduleInstanceId_example; //
seshukmb3a332a2018-10-05 16:27:16 +080021784String *body = body_example; // (optional)
21785
21786OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init];
21787
21788// Update VfModule on a specified version, serviceInstance, vnfInstance and vfModule
21789[apiInstance updateVfModuleInstanceWith:version
21790 serviceInstanceId:serviceInstanceId
21791 vnfInstanceId:vnfInstanceId
21792 vfmoduleInstanceId:vfmoduleInstanceId
21793 body:body
21794 completionHandler: ^(NSError* error) {
21795 if (error) {
21796 NSLog(@"Error: %@", error);
21797 }
21798 }];
21799</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000021800 </div>
seshukmb3a332a2018-10-05 16:27:16 +080021801
tragait5e9676e2021-01-14 16:07:07 +000021802 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-javascript">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053021803 <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is');
seshukmb3a332a2018-10-05 16:27:16 +080021804
Priyadharshinic86ab4a2020-08-14 17:11:49 +053021805var api = new SoGuilinApIs.OnapsoinfraserviceInstantiationApi()
seshukmb3a332a2018-10-05 16:27:16 +080021806
tragait5e9676e2021-01-14 16:07:07 +000021807var version = version_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080021808
tragait5e9676e2021-01-14 16:07:07 +000021809var serviceInstanceId = serviceInstanceId_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080021810
tragait5e9676e2021-01-14 16:07:07 +000021811var vnfInstanceId = vnfInstanceId_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080021812
tragait5e9676e2021-01-14 16:07:07 +000021813var vfmoduleInstanceId = vfmoduleInstanceId_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080021814
tragait5e9676e2021-01-14 16:07:07 +000021815var opts = {
21816 'body': body_example // {String}
seshukmb3a332a2018-10-05 16:27:16 +080021817};
21818
21819var callback = function(error, data, response) {
21820 if (error) {
21821 console.error(error);
21822 } else {
21823 console.log('API called successfully.');
21824 }
21825};
21826api.updateVfModuleInstance(version, serviceInstanceId, vnfInstanceId, vfmoduleInstanceId, opts, callback);
21827</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000021828 </div>
seshukmb3a332a2018-10-05 16:27:16 +080021829
tragait5e9676e2021-01-14 16:07:07 +000021830 <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-angular">
seshukmb3a332a2018-10-05 16:27:16 +080021831 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
21832 </div>-->
tragait5e9676e2021-01-14 16:07:07 +000021833 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-csharp">
seshukmb3a332a2018-10-05 16:27:16 +080021834 <pre class="prettyprint"><code class="language-cs">using System;
21835using System.Diagnostics;
21836using IO.Swagger.Api;
21837using IO.Swagger.Client;
21838using IO.Swagger.Model;
21839
21840namespace Example
21841{
21842 public class updateVfModuleInstanceExample
21843 {
21844 public void main()
21845 {
tragait5e9676e2021-01-14 16:07:07 +000021846
seshukmb3a332a2018-10-05 16:27:16 +080021847 var apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000021848 var version = version_example; // String |
21849 var serviceInstanceId = serviceInstanceId_example; // String |
21850 var vnfInstanceId = vnfInstanceId_example; // String |
21851 var vfmoduleInstanceId = vfmoduleInstanceId_example; // String |
21852 var body = body_example; // String | (optional)
seshukmb3a332a2018-10-05 16:27:16 +080021853
21854 try
21855 {
21856 // Update VfModule on a specified version, serviceInstance, vnfInstance and vfModule
21857 apiInstance.updateVfModuleInstance(version, serviceInstanceId, vnfInstanceId, vfmoduleInstanceId, body);
21858 }
21859 catch (Exception e)
21860 {
21861 Debug.Print("Exception when calling OnapsoinfraserviceInstantiationApi.updateVfModuleInstance: " + e.Message );
21862 }
21863 }
21864 }
21865}
21866</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000021867 </div>
seshukmb3a332a2018-10-05 16:27:16 +080021868
tragait5e9676e2021-01-14 16:07:07 +000021869 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-php">
seshukmb3a332a2018-10-05 16:27:16 +080021870 <pre class="prettyprint"><code class="language-php"><&#63;php
21871require_once(__DIR__ . '/vendor/autoload.php');
21872
21873$api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000021874$version = version_example; // String |
21875$serviceInstanceId = serviceInstanceId_example; // String |
21876$vnfInstanceId = vnfInstanceId_example; // String |
21877$vfmoduleInstanceId = vfmoduleInstanceId_example; // String |
21878$body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080021879
21880try {
21881 $api_instance->updateVfModuleInstance($version, $serviceInstanceId, $vnfInstanceId, $vfmoduleInstanceId, $body);
21882} catch (Exception $e) {
21883 echo 'Exception when calling OnapsoinfraserviceInstantiationApi->updateVfModuleInstance: ', $e->getMessage(), PHP_EOL;
21884}
21885?></code></pre>
tragait5e9676e2021-01-14 16:07:07 +000021886 </div>
seshukmb3a332a2018-10-05 16:27:16 +080021887
tragait5e9676e2021-01-14 16:07:07 +000021888 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-perl">
seshukmb3a332a2018-10-05 16:27:16 +080021889 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
21890use WWW::SwaggerClient::Configuration;
21891use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi;
21892
21893my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new();
tragait5e9676e2021-01-14 16:07:07 +000021894my $version = version_example; # String |
21895my $serviceInstanceId = serviceInstanceId_example; # String |
21896my $vnfInstanceId = vnfInstanceId_example; # String |
21897my $vfmoduleInstanceId = vfmoduleInstanceId_example; # String |
21898my $body = WWW::SwaggerClient::Object::String->new(); # String |
seshukmb3a332a2018-10-05 16:27:16 +080021899
tragait5e9676e2021-01-14 16:07:07 +000021900eval {
seshukmb3a332a2018-10-05 16:27:16 +080021901 $api_instance->updateVfModuleInstance(version => $version, serviceInstanceId => $serviceInstanceId, vnfInstanceId => $vnfInstanceId, vfmoduleInstanceId => $vfmoduleInstanceId, body => $body);
21902};
21903if ($@) {
21904 warn "Exception when calling OnapsoinfraserviceInstantiationApi->updateVfModuleInstance: $@\n";
21905}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000021906 </div>
seshukmb3a332a2018-10-05 16:27:16 +080021907
tragait5e9676e2021-01-14 16:07:07 +000021908 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-python">
seshukmb3a332a2018-10-05 16:27:16 +080021909 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
21910import time
21911import swagger_client
21912from swagger_client.rest import ApiException
21913from pprint import pprint
21914
21915# create an instance of the API class
21916api_instance = swagger_client.OnapsoinfraserviceInstantiationApi()
tragait5e9676e2021-01-14 16:07:07 +000021917version = version_example # String |
21918serviceInstanceId = serviceInstanceId_example # String |
21919vnfInstanceId = vnfInstanceId_example # String |
21920vfmoduleInstanceId = vfmoduleInstanceId_example # String |
seshukmb3a332a2018-10-05 16:27:16 +080021921body = body_example # String | (optional)
21922
tragait5e9676e2021-01-14 16:07:07 +000021923try:
seshukmb3a332a2018-10-05 16:27:16 +080021924 # Update VfModule on a specified version, serviceInstance, vnfInstance and vfModule
21925 api_instance.update_vf_module_instance(version, serviceInstanceId, vnfInstanceId, vfmoduleInstanceId, body=body)
21926except ApiException as e:
21927 print("Exception when calling OnapsoinfraserviceInstantiationApi->updateVfModuleInstance: %s\n" % e)</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000021928 </div>
seshukmb3a332a2018-10-05 16:27:16 +080021929 </div>
seshukmb3a332a2018-10-05 16:27:16 +080021930
tragait5e9676e2021-01-14 16:07:07 +000021931 <h2>Parameters</h2>
seshukmb3a332a2018-10-05 16:27:16 +080021932
21933 <div class="methodsubtabletitle">Path parameters</div>
21934 <table id="methodsubtable">
21935 <tr>
tragait5e9676e2021-01-14 16:07:07 +000021936 <th width="150px">Name</th>
21937 <th>Description</th>
seshukmb3a332a2018-10-05 16:27:16 +080021938 </tr>
tragait5e9676e2021-01-14 16:07:07 +000021939 <tr><td style="width:150px;">version*</td>
21940 <td>
seshukmb3a332a2018-10-05 16:27:16 +080021941
21942
tragait5e9676e2021-01-14 16:07:07 +000021943 <div id="d2e199_updateVfModuleInstance_version">
21944 <div class="json-schema-view">
21945 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080021946 <span class="type">
21947 String
21948 </span>
21949
tragait5e9676e2021-01-14 16:07:07 +000021950 </div>
21951 <div class="inner required">
21952 Required
21953 </div>
21954 </div>
21955 </div>
21956 </td>
21957 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080021958
tragait5e9676e2021-01-14 16:07:07 +000021959 <tr><td style="width:150px;">serviceInstanceId*</td>
21960 <td>
seshukmb3a332a2018-10-05 16:27:16 +080021961
21962
tragait5e9676e2021-01-14 16:07:07 +000021963 <div id="d2e199_updateVfModuleInstance_serviceInstanceId">
21964 <div class="json-schema-view">
21965 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080021966 <span class="type">
21967 String
21968 </span>
21969
tragait5e9676e2021-01-14 16:07:07 +000021970 </div>
21971 <div class="inner required">
21972 Required
21973 </div>
21974 </div>
21975 </div>
21976 </td>
21977 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080021978
tragait5e9676e2021-01-14 16:07:07 +000021979 <tr><td style="width:150px;">vnfInstanceId*</td>
21980 <td>
seshukmb3a332a2018-10-05 16:27:16 +080021981
21982
tragait5e9676e2021-01-14 16:07:07 +000021983 <div id="d2e199_updateVfModuleInstance_vnfInstanceId">
21984 <div class="json-schema-view">
21985 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080021986 <span class="type">
21987 String
21988 </span>
21989
tragait5e9676e2021-01-14 16:07:07 +000021990 </div>
21991 <div class="inner required">
21992 Required
21993 </div>
21994 </div>
21995 </div>
21996 </td>
21997 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080021998
tragait5e9676e2021-01-14 16:07:07 +000021999 <tr><td style="width:150px;">vfmoduleInstanceId*</td>
22000 <td>
seshukmb3a332a2018-10-05 16:27:16 +080022001
22002
tragait5e9676e2021-01-14 16:07:07 +000022003 <div id="d2e199_updateVfModuleInstance_vfmoduleInstanceId">
22004 <div class="json-schema-view">
22005 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080022006 <span class="type">
22007 String
22008 </span>
22009
tragait5e9676e2021-01-14 16:07:07 +000022010 </div>
22011 <div class="inner required">
22012 Required
22013 </div>
22014 </div>
22015 </div>
22016 </td>
22017 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080022018
22019 </table>
22020
22021
22022 <div class="methodsubtabletitle">Body parameters</div>
22023 <table id="methodsubtable">
tragait5e9676e2021-01-14 16:07:07 +000022024 <tr>
22025 <th width="150px">Name</th>
22026 <th>Description</th>
22027 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080022028 <tr><td style="width:150px;">body </td>
tragait5e9676e2021-01-14 16:07:07 +000022029 <td>
seshukmb3a332a2018-10-05 16:27:16 +080022030
22031
tragait5e9676e2021-01-14 16:07:07 +000022032 <script>
seshukmb3a332a2018-10-05 16:27:16 +080022033$(document).ready(function() {
22034 var schemaWrapper = {
22035 "in" : "body",
22036 "name" : "body",
22037 "required" : false,
22038 "schema" : {
22039 "type" : "string"
22040 }
22041};
22042 var schema = schemaWrapper.schema;
22043 if (schema.$ref != null) {
22044 schema = defsParser.$refs.get(schema.$ref);
22045 } else {
22046 schemaWrapper.definitions = Object.assign({}, defs);
22047 $RefParser.dereference(schemaWrapper).catch(function(err) {
22048 console.log(err);
22049 });
22050 }
22051
22052 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
22053 var result = $('#d2e199_updateVfModuleInstance_body');
22054 result.empty();
22055 result.append(view.render());
22056});
22057</script>
tragait5e9676e2021-01-14 16:07:07 +000022058 <div id="d2e199_updateVfModuleInstance_body"></div>
22059 </td>
22060 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080022061
22062 </table>
22063
22064
22065
tragait5e9676e2021-01-14 16:07:07 +000022066 <h2>Responses</h2>
seshukmb3a332a2018-10-05 16:27:16 +080022067 <h3> Status: default - successful operation </h3>
22068
22069 <ul class="nav nav-tabs nav-tabs-examples" >
22070 </ul>
22071
22072 <div class="tab-content" style='margin-bottom: 10px;'>
22073 </div>
22074
22075 </article>
tragait5e9676e2021-01-14 16:07:07 +000022076 </div>
22077 <hr>
seshukmb3a332a2018-10-05 16:27:16 +080022078 <div id="api-OnapsoinfraserviceInstantiation-updateVnfInstance">
tragait5e9676e2021-01-14 16:07:07 +000022079 <article id="api-OnapsoinfraserviceInstantiation-updateVnfInstance-0" data-group="User" data-name="updateVnfInstance" data-version="0">
22080 <div class="pull-left">
22081 <h1>updateVnfInstance</h1>
22082 <p>Update VNF on a specified version, serviceInstance and vnfInstance</p>
22083 </div>
22084 <div class="pull-right"></div>
22085 <div class="clearfix"></div>
22086 <p></p>
22087 <p class="marked"></p>
22088 <p></p>
22089 <br />
22090 <pre class="prettyprint language-html prettyprinted" data-type="put"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}</span></code></pre>
22091 <p>
22092 <h3>Usage and SDK Samples</h3>
22093 </p>
22094 <ul class="nav nav-tabs nav-tabs-examples">
22095 <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-curl">Curl</a></li>
22096 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-java">Java</a></li>
22097 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-android">Android</a></li>
22098 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-groovy">Groovy</a></li>-->
22099 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-objc">Obj-C</a></li>
22100 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-javascript">JavaScript</a></li>
22101 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-angular">Angular</a></li>-->
22102 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-csharp">C#</a></li>
22103 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-php">PHP</a></li>
22104 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-perl">Perl</a></li>
22105 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-python">Python</a></li>
22106 </ul>
seshukmb3a332a2018-10-05 16:27:16 +080022107
tragait5e9676e2021-01-14 16:07:07 +000022108 <div class="tab-content">
22109 <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-curl">
22110 <pre class="prettyprint"><code class="language-bsh">curl -X PUT "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}"</code></pre>
22111 </div>
22112 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-java">
seshukmb3a332a2018-10-05 16:27:16 +080022113 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
22114import io.swagger.client.auth.*;
22115import io.swagger.client.model.*;
22116import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
22117
22118import java.io.File;
22119import java.util.*;
22120
22121public class OnapsoinfraserviceInstantiationApiExample {
22122
22123 public static void main(String[] args) {
tragait5e9676e2021-01-14 16:07:07 +000022124
seshukmb3a332a2018-10-05 16:27:16 +080022125 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000022126 String version = version_example; // String |
22127 String serviceInstanceId = serviceInstanceId_example; // String |
22128 String vnfInstanceId = vnfInstanceId_example; // String |
22129 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080022130 try {
22131 apiInstance.updateVnfInstance(version, serviceInstanceId, vnfInstanceId, body);
22132 } catch (ApiException e) {
22133 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#updateVnfInstance");
22134 e.printStackTrace();
22135 }
22136 }
22137}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000022138 </div>
seshukmb3a332a2018-10-05 16:27:16 +080022139
tragait5e9676e2021-01-14 16:07:07 +000022140 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-android">
seshukmb3a332a2018-10-05 16:27:16 +080022141 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
22142
22143public class OnapsoinfraserviceInstantiationApiExample {
22144
22145 public static void main(String[] args) {
22146 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000022147 String version = version_example; // String |
22148 String serviceInstanceId = serviceInstanceId_example; // String |
22149 String vnfInstanceId = vnfInstanceId_example; // String |
22150 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080022151 try {
22152 apiInstance.updateVnfInstance(version, serviceInstanceId, vnfInstanceId, body);
22153 } catch (ApiException e) {
22154 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#updateVnfInstance");
22155 e.printStackTrace();
22156 }
22157 }
22158}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000022159 </div>
22160 <!--
seshukmb3a332a2018-10-05 16:27:16 +080022161 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-groovy">
22162 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
22163 </div> -->
tragait5e9676e2021-01-14 16:07:07 +000022164 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-objc">
22165 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
22166String *serviceInstanceId = serviceInstanceId_example; //
22167String *vnfInstanceId = vnfInstanceId_example; //
seshukmb3a332a2018-10-05 16:27:16 +080022168String *body = body_example; // (optional)
22169
22170OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init];
22171
22172// Update VNF on a specified version, serviceInstance and vnfInstance
22173[apiInstance updateVnfInstanceWith:version
22174 serviceInstanceId:serviceInstanceId
22175 vnfInstanceId:vnfInstanceId
22176 body:body
22177 completionHandler: ^(NSError* error) {
22178 if (error) {
22179 NSLog(@"Error: %@", error);
22180 }
22181 }];
22182</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000022183 </div>
seshukmb3a332a2018-10-05 16:27:16 +080022184
tragait5e9676e2021-01-14 16:07:07 +000022185 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-javascript">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053022186 <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is');
seshukmb3a332a2018-10-05 16:27:16 +080022187
Priyadharshinic86ab4a2020-08-14 17:11:49 +053022188var api = new SoGuilinApIs.OnapsoinfraserviceInstantiationApi()
seshukmb3a332a2018-10-05 16:27:16 +080022189
tragait5e9676e2021-01-14 16:07:07 +000022190var version = version_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080022191
tragait5e9676e2021-01-14 16:07:07 +000022192var serviceInstanceId = serviceInstanceId_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080022193
tragait5e9676e2021-01-14 16:07:07 +000022194var vnfInstanceId = vnfInstanceId_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080022195
tragait5e9676e2021-01-14 16:07:07 +000022196var opts = {
22197 'body': body_example // {String}
seshukmb3a332a2018-10-05 16:27:16 +080022198};
22199
22200var callback = function(error, data, response) {
22201 if (error) {
22202 console.error(error);
22203 } else {
22204 console.log('API called successfully.');
22205 }
22206};
22207api.updateVnfInstance(version, serviceInstanceId, vnfInstanceId, opts, callback);
22208</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000022209 </div>
seshukmb3a332a2018-10-05 16:27:16 +080022210
tragait5e9676e2021-01-14 16:07:07 +000022211 <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-angular">
seshukmb3a332a2018-10-05 16:27:16 +080022212 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
22213 </div>-->
tragait5e9676e2021-01-14 16:07:07 +000022214 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-csharp">
seshukmb3a332a2018-10-05 16:27:16 +080022215 <pre class="prettyprint"><code class="language-cs">using System;
22216using System.Diagnostics;
22217using IO.Swagger.Api;
22218using IO.Swagger.Client;
22219using IO.Swagger.Model;
22220
22221namespace Example
22222{
22223 public class updateVnfInstanceExample
22224 {
22225 public void main()
22226 {
tragait5e9676e2021-01-14 16:07:07 +000022227
seshukmb3a332a2018-10-05 16:27:16 +080022228 var apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000022229 var version = version_example; // String |
22230 var serviceInstanceId = serviceInstanceId_example; // String |
22231 var vnfInstanceId = vnfInstanceId_example; // String |
22232 var body = body_example; // String | (optional)
seshukmb3a332a2018-10-05 16:27:16 +080022233
22234 try
22235 {
22236 // Update VNF on a specified version, serviceInstance and vnfInstance
22237 apiInstance.updateVnfInstance(version, serviceInstanceId, vnfInstanceId, body);
22238 }
22239 catch (Exception e)
22240 {
22241 Debug.Print("Exception when calling OnapsoinfraserviceInstantiationApi.updateVnfInstance: " + e.Message );
22242 }
22243 }
22244 }
22245}
22246</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000022247 </div>
seshukmb3a332a2018-10-05 16:27:16 +080022248
tragait5e9676e2021-01-14 16:07:07 +000022249 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-php">
seshukmb3a332a2018-10-05 16:27:16 +080022250 <pre class="prettyprint"><code class="language-php"><&#63;php
22251require_once(__DIR__ . '/vendor/autoload.php');
22252
22253$api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000022254$version = version_example; // String |
22255$serviceInstanceId = serviceInstanceId_example; // String |
22256$vnfInstanceId = vnfInstanceId_example; // String |
22257$body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080022258
22259try {
22260 $api_instance->updateVnfInstance($version, $serviceInstanceId, $vnfInstanceId, $body);
22261} catch (Exception $e) {
22262 echo 'Exception when calling OnapsoinfraserviceInstantiationApi->updateVnfInstance: ', $e->getMessage(), PHP_EOL;
22263}
22264?></code></pre>
tragait5e9676e2021-01-14 16:07:07 +000022265 </div>
seshukmb3a332a2018-10-05 16:27:16 +080022266
tragait5e9676e2021-01-14 16:07:07 +000022267 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-perl">
seshukmb3a332a2018-10-05 16:27:16 +080022268 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
22269use WWW::SwaggerClient::Configuration;
22270use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi;
22271
22272my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new();
tragait5e9676e2021-01-14 16:07:07 +000022273my $version = version_example; # String |
22274my $serviceInstanceId = serviceInstanceId_example; # String |
22275my $vnfInstanceId = vnfInstanceId_example; # String |
22276my $body = WWW::SwaggerClient::Object::String->new(); # String |
seshukmb3a332a2018-10-05 16:27:16 +080022277
tragait5e9676e2021-01-14 16:07:07 +000022278eval {
seshukmb3a332a2018-10-05 16:27:16 +080022279 $api_instance->updateVnfInstance(version => $version, serviceInstanceId => $serviceInstanceId, vnfInstanceId => $vnfInstanceId, body => $body);
22280};
22281if ($@) {
22282 warn "Exception when calling OnapsoinfraserviceInstantiationApi->updateVnfInstance: $@\n";
22283}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000022284 </div>
seshukmb3a332a2018-10-05 16:27:16 +080022285
tragait5e9676e2021-01-14 16:07:07 +000022286 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-python">
seshukmb3a332a2018-10-05 16:27:16 +080022287 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
22288import time
22289import swagger_client
22290from swagger_client.rest import ApiException
22291from pprint import pprint
22292
22293# create an instance of the API class
22294api_instance = swagger_client.OnapsoinfraserviceInstantiationApi()
tragait5e9676e2021-01-14 16:07:07 +000022295version = version_example # String |
22296serviceInstanceId = serviceInstanceId_example # String |
22297vnfInstanceId = vnfInstanceId_example # String |
seshukmb3a332a2018-10-05 16:27:16 +080022298body = body_example # String | (optional)
22299
tragait5e9676e2021-01-14 16:07:07 +000022300try:
seshukmb3a332a2018-10-05 16:27:16 +080022301 # Update VNF on a specified version, serviceInstance and vnfInstance
22302 api_instance.update_vnf_instance(version, serviceInstanceId, vnfInstanceId, body=body)
22303except ApiException as e:
22304 print("Exception when calling OnapsoinfraserviceInstantiationApi->updateVnfInstance: %s\n" % e)</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000022305 </div>
seshukmb3a332a2018-10-05 16:27:16 +080022306 </div>
seshukmb3a332a2018-10-05 16:27:16 +080022307
tragait5e9676e2021-01-14 16:07:07 +000022308 <h2>Parameters</h2>
seshukmb3a332a2018-10-05 16:27:16 +080022309
22310 <div class="methodsubtabletitle">Path parameters</div>
22311 <table id="methodsubtable">
22312 <tr>
tragait5e9676e2021-01-14 16:07:07 +000022313 <th width="150px">Name</th>
22314 <th>Description</th>
seshukmb3a332a2018-10-05 16:27:16 +080022315 </tr>
tragait5e9676e2021-01-14 16:07:07 +000022316 <tr><td style="width:150px;">version*</td>
22317 <td>
seshukmb3a332a2018-10-05 16:27:16 +080022318
22319
tragait5e9676e2021-01-14 16:07:07 +000022320 <div id="d2e199_updateVnfInstance_version">
22321 <div class="json-schema-view">
22322 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080022323 <span class="type">
22324 String
22325 </span>
22326
tragait5e9676e2021-01-14 16:07:07 +000022327 </div>
22328 <div class="inner required">
22329 Required
22330 </div>
22331 </div>
22332 </div>
22333 </td>
22334 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080022335
tragait5e9676e2021-01-14 16:07:07 +000022336 <tr><td style="width:150px;">serviceInstanceId*</td>
22337 <td>
seshukmb3a332a2018-10-05 16:27:16 +080022338
22339
tragait5e9676e2021-01-14 16:07:07 +000022340 <div id="d2e199_updateVnfInstance_serviceInstanceId">
22341 <div class="json-schema-view">
22342 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080022343 <span class="type">
22344 String
22345 </span>
22346
tragait5e9676e2021-01-14 16:07:07 +000022347 </div>
22348 <div class="inner required">
22349 Required
22350 </div>
22351 </div>
22352 </div>
22353 </td>
22354 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080022355
tragait5e9676e2021-01-14 16:07:07 +000022356 <tr><td style="width:150px;">vnfInstanceId*</td>
22357 <td>
seshukmb3a332a2018-10-05 16:27:16 +080022358
22359
tragait5e9676e2021-01-14 16:07:07 +000022360 <div id="d2e199_updateVnfInstance_vnfInstanceId">
22361 <div class="json-schema-view">
22362 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080022363 <span class="type">
22364 String
22365 </span>
22366
tragait5e9676e2021-01-14 16:07:07 +000022367 </div>
22368 <div class="inner required">
22369 Required
22370 </div>
22371 </div>
22372 </div>
22373 </td>
22374 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080022375
22376 </table>
22377
22378
22379 <div class="methodsubtabletitle">Body parameters</div>
22380 <table id="methodsubtable">
tragait5e9676e2021-01-14 16:07:07 +000022381 <tr>
22382 <th width="150px">Name</th>
22383 <th>Description</th>
22384 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080022385 <tr><td style="width:150px;">body </td>
tragait5e9676e2021-01-14 16:07:07 +000022386 <td>
seshukmb3a332a2018-10-05 16:27:16 +080022387
22388
tragait5e9676e2021-01-14 16:07:07 +000022389 <script>
seshukmb3a332a2018-10-05 16:27:16 +080022390$(document).ready(function() {
22391 var schemaWrapper = {
22392 "in" : "body",
22393 "name" : "body",
22394 "required" : false,
22395 "schema" : {
22396 "type" : "string"
22397 }
22398};
22399 var schema = schemaWrapper.schema;
22400 if (schema.$ref != null) {
22401 schema = defsParser.$refs.get(schema.$ref);
22402 } else {
22403 schemaWrapper.definitions = Object.assign({}, defs);
22404 $RefParser.dereference(schemaWrapper).catch(function(err) {
22405 console.log(err);
22406 });
22407 }
22408
22409 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
22410 var result = $('#d2e199_updateVnfInstance_body');
22411 result.empty();
22412 result.append(view.render());
22413});
22414</script>
tragait5e9676e2021-01-14 16:07:07 +000022415 <div id="d2e199_updateVnfInstance_body"></div>
22416 </td>
22417 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080022418
22419 </table>
22420
22421
22422
tragait5e9676e2021-01-14 16:07:07 +000022423 <h2>Responses</h2>
seshukmb3a332a2018-10-05 16:27:16 +080022424 <h3> Status: default - successful operation </h3>
22425
22426 <ul class="nav nav-tabs nav-tabs-examples" >
22427 </ul>
22428
22429 <div class="tab-content" style='margin-bottom: 10px;'>
22430 </div>
22431
22432 </article>
tragait5e9676e2021-01-14 16:07:07 +000022433 </div>
22434 <hr>
seshukmb3a332a2018-10-05 16:27:16 +080022435 <div id="api-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance">
tragait5e9676e2021-01-14 16:07:07 +000022436 <article id="api-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0" data-group="User" data-name="updateVolumeGroupInstance" data-version="0">
22437 <div class="pull-left">
22438 <h1>updateVolumeGroupInstance</h1>
22439 <p>Update VolumeGroup on a specified version, serviceInstance, vnfInstance and volumeGroup</p>
22440 </div>
22441 <div class="pull-right"></div>
22442 <div class="clearfix"></div>
22443 <p></p>
22444 <p class="marked"></p>
22445 <p></p>
22446 <br />
22447 <pre class="prettyprint language-html prettyprinted" data-type="put"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/volumeGroups/{volumeGroupInstanceId}</span></code></pre>
22448 <p>
22449 <h3>Usage and SDK Samples</h3>
22450 </p>
22451 <ul class="nav nav-tabs nav-tabs-examples">
22452 <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-curl">Curl</a></li>
22453 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-java">Java</a></li>
22454 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-android">Android</a></li>
22455 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-groovy">Groovy</a></li>-->
22456 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-objc">Obj-C</a></li>
22457 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-javascript">JavaScript</a></li>
22458 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-angular">Angular</a></li>-->
22459 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-csharp">C#</a></li>
22460 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-php">PHP</a></li>
22461 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-perl">Perl</a></li>
22462 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-python">Python</a></li>
22463 </ul>
seshukmb3a332a2018-10-05 16:27:16 +080022464
tragait5e9676e2021-01-14 16:07:07 +000022465 <div class="tab-content">
22466 <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-curl">
22467 <pre class="prettyprint"><code class="language-bsh">curl -X PUT "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/volumeGroups/{volumeGroupInstanceId}"</code></pre>
22468 </div>
22469 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-java">
seshukmb3a332a2018-10-05 16:27:16 +080022470 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
22471import io.swagger.client.auth.*;
22472import io.swagger.client.model.*;
22473import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
22474
22475import java.io.File;
22476import java.util.*;
22477
22478public class OnapsoinfraserviceInstantiationApiExample {
22479
22480 public static void main(String[] args) {
tragait5e9676e2021-01-14 16:07:07 +000022481
seshukmb3a332a2018-10-05 16:27:16 +080022482 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000022483 String version = version_example; // String |
22484 String serviceInstanceId = serviceInstanceId_example; // String |
22485 String vnfInstanceId = vnfInstanceId_example; // String |
22486 String volumeGroupInstanceId = volumeGroupInstanceId_example; // String |
22487 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080022488 try {
22489 apiInstance.updateVolumeGroupInstance(version, serviceInstanceId, vnfInstanceId, volumeGroupInstanceId, body);
22490 } catch (ApiException e) {
22491 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#updateVolumeGroupInstance");
22492 e.printStackTrace();
22493 }
22494 }
22495}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000022496 </div>
seshukmb3a332a2018-10-05 16:27:16 +080022497
tragait5e9676e2021-01-14 16:07:07 +000022498 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-android">
seshukmb3a332a2018-10-05 16:27:16 +080022499 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
22500
22501public class OnapsoinfraserviceInstantiationApiExample {
22502
22503 public static void main(String[] args) {
22504 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000022505 String version = version_example; // String |
22506 String serviceInstanceId = serviceInstanceId_example; // String |
22507 String vnfInstanceId = vnfInstanceId_example; // String |
22508 String volumeGroupInstanceId = volumeGroupInstanceId_example; // String |
22509 String body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080022510 try {
22511 apiInstance.updateVolumeGroupInstance(version, serviceInstanceId, vnfInstanceId, volumeGroupInstanceId, body);
22512 } catch (ApiException e) {
22513 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#updateVolumeGroupInstance");
22514 e.printStackTrace();
22515 }
22516 }
22517}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000022518 </div>
22519 <!--
seshukmb3a332a2018-10-05 16:27:16 +080022520 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-groovy">
22521 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
22522 </div> -->
tragait5e9676e2021-01-14 16:07:07 +000022523 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-objc">
22524 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
22525String *serviceInstanceId = serviceInstanceId_example; //
22526String *vnfInstanceId = vnfInstanceId_example; //
22527String *volumeGroupInstanceId = volumeGroupInstanceId_example; //
seshukmb3a332a2018-10-05 16:27:16 +080022528String *body = body_example; // (optional)
22529
22530OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init];
22531
22532// Update VolumeGroup on a specified version, serviceInstance, vnfInstance and volumeGroup
22533[apiInstance updateVolumeGroupInstanceWith:version
22534 serviceInstanceId:serviceInstanceId
22535 vnfInstanceId:vnfInstanceId
22536 volumeGroupInstanceId:volumeGroupInstanceId
22537 body:body
22538 completionHandler: ^(NSError* error) {
22539 if (error) {
22540 NSLog(@"Error: %@", error);
22541 }
22542 }];
22543</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000022544 </div>
seshukmb3a332a2018-10-05 16:27:16 +080022545
tragait5e9676e2021-01-14 16:07:07 +000022546 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-javascript">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053022547 <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is');
seshukmb3a332a2018-10-05 16:27:16 +080022548
Priyadharshinic86ab4a2020-08-14 17:11:49 +053022549var api = new SoGuilinApIs.OnapsoinfraserviceInstantiationApi()
seshukmb3a332a2018-10-05 16:27:16 +080022550
tragait5e9676e2021-01-14 16:07:07 +000022551var version = version_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080022552
tragait5e9676e2021-01-14 16:07:07 +000022553var serviceInstanceId = serviceInstanceId_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080022554
tragait5e9676e2021-01-14 16:07:07 +000022555var vnfInstanceId = vnfInstanceId_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080022556
tragait5e9676e2021-01-14 16:07:07 +000022557var volumeGroupInstanceId = volumeGroupInstanceId_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080022558
tragait5e9676e2021-01-14 16:07:07 +000022559var opts = {
22560 'body': body_example // {String}
seshukmb3a332a2018-10-05 16:27:16 +080022561};
22562
22563var callback = function(error, data, response) {
22564 if (error) {
22565 console.error(error);
22566 } else {
22567 console.log('API called successfully.');
22568 }
22569};
22570api.updateVolumeGroupInstance(version, serviceInstanceId, vnfInstanceId, volumeGroupInstanceId, opts, callback);
22571</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000022572 </div>
seshukmb3a332a2018-10-05 16:27:16 +080022573
tragait5e9676e2021-01-14 16:07:07 +000022574 <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-angular">
seshukmb3a332a2018-10-05 16:27:16 +080022575 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
22576 </div>-->
tragait5e9676e2021-01-14 16:07:07 +000022577 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-csharp">
seshukmb3a332a2018-10-05 16:27:16 +080022578 <pre class="prettyprint"><code class="language-cs">using System;
22579using System.Diagnostics;
22580using IO.Swagger.Api;
22581using IO.Swagger.Client;
22582using IO.Swagger.Model;
22583
22584namespace Example
22585{
22586 public class updateVolumeGroupInstanceExample
22587 {
22588 public void main()
22589 {
tragait5e9676e2021-01-14 16:07:07 +000022590
seshukmb3a332a2018-10-05 16:27:16 +080022591 var apiInstance = new OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000022592 var version = version_example; // String |
22593 var serviceInstanceId = serviceInstanceId_example; // String |
22594 var vnfInstanceId = vnfInstanceId_example; // String |
22595 var volumeGroupInstanceId = volumeGroupInstanceId_example; // String |
22596 var body = body_example; // String | (optional)
seshukmb3a332a2018-10-05 16:27:16 +080022597
22598 try
22599 {
22600 // Update VolumeGroup on a specified version, serviceInstance, vnfInstance and volumeGroup
22601 apiInstance.updateVolumeGroupInstance(version, serviceInstanceId, vnfInstanceId, volumeGroupInstanceId, body);
22602 }
22603 catch (Exception e)
22604 {
22605 Debug.Print("Exception when calling OnapsoinfraserviceInstantiationApi.updateVolumeGroupInstance: " + e.Message );
22606 }
22607 }
22608 }
22609}
22610</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000022611 </div>
seshukmb3a332a2018-10-05 16:27:16 +080022612
tragait5e9676e2021-01-14 16:07:07 +000022613 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-php">
seshukmb3a332a2018-10-05 16:27:16 +080022614 <pre class="prettyprint"><code class="language-php"><&#63;php
22615require_once(__DIR__ . '/vendor/autoload.php');
22616
22617$api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi();
tragait5e9676e2021-01-14 16:07:07 +000022618$version = version_example; // String |
22619$serviceInstanceId = serviceInstanceId_example; // String |
22620$vnfInstanceId = vnfInstanceId_example; // String |
22621$volumeGroupInstanceId = volumeGroupInstanceId_example; // String |
22622$body = body_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080022623
22624try {
22625 $api_instance->updateVolumeGroupInstance($version, $serviceInstanceId, $vnfInstanceId, $volumeGroupInstanceId, $body);
22626} catch (Exception $e) {
22627 echo 'Exception when calling OnapsoinfraserviceInstantiationApi->updateVolumeGroupInstance: ', $e->getMessage(), PHP_EOL;
22628}
22629?></code></pre>
tragait5e9676e2021-01-14 16:07:07 +000022630 </div>
seshukmb3a332a2018-10-05 16:27:16 +080022631
tragait5e9676e2021-01-14 16:07:07 +000022632 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-perl">
seshukmb3a332a2018-10-05 16:27:16 +080022633 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
22634use WWW::SwaggerClient::Configuration;
22635use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi;
22636
22637my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new();
tragait5e9676e2021-01-14 16:07:07 +000022638my $version = version_example; # String |
22639my $serviceInstanceId = serviceInstanceId_example; # String |
22640my $vnfInstanceId = vnfInstanceId_example; # String |
22641my $volumeGroupInstanceId = volumeGroupInstanceId_example; # String |
22642my $body = WWW::SwaggerClient::Object::String->new(); # String |
seshukmb3a332a2018-10-05 16:27:16 +080022643
tragait5e9676e2021-01-14 16:07:07 +000022644eval {
seshukmb3a332a2018-10-05 16:27:16 +080022645 $api_instance->updateVolumeGroupInstance(version => $version, serviceInstanceId => $serviceInstanceId, vnfInstanceId => $vnfInstanceId, volumeGroupInstanceId => $volumeGroupInstanceId, body => $body);
22646};
22647if ($@) {
22648 warn "Exception when calling OnapsoinfraserviceInstantiationApi->updateVolumeGroupInstance: $@\n";
22649}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000022650 </div>
seshukmb3a332a2018-10-05 16:27:16 +080022651
tragait5e9676e2021-01-14 16:07:07 +000022652 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-python">
seshukmb3a332a2018-10-05 16:27:16 +080022653 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
22654import time
22655import swagger_client
22656from swagger_client.rest import ApiException
22657from pprint import pprint
22658
22659# create an instance of the API class
22660api_instance = swagger_client.OnapsoinfraserviceInstantiationApi()
tragait5e9676e2021-01-14 16:07:07 +000022661version = version_example # String |
22662serviceInstanceId = serviceInstanceId_example # String |
22663vnfInstanceId = vnfInstanceId_example # String |
22664volumeGroupInstanceId = volumeGroupInstanceId_example # String |
seshukmb3a332a2018-10-05 16:27:16 +080022665body = body_example # String | (optional)
22666
tragait5e9676e2021-01-14 16:07:07 +000022667try:
seshukmb3a332a2018-10-05 16:27:16 +080022668 # Update VolumeGroup on a specified version, serviceInstance, vnfInstance and volumeGroup
22669 api_instance.update_volume_group_instance(version, serviceInstanceId, vnfInstanceId, volumeGroupInstanceId, body=body)
22670except ApiException as e:
22671 print("Exception when calling OnapsoinfraserviceInstantiationApi->updateVolumeGroupInstance: %s\n" % e)</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000022672 </div>
seshukmb3a332a2018-10-05 16:27:16 +080022673 </div>
seshukmb3a332a2018-10-05 16:27:16 +080022674
tragait5e9676e2021-01-14 16:07:07 +000022675 <h2>Parameters</h2>
seshukmb3a332a2018-10-05 16:27:16 +080022676
22677 <div class="methodsubtabletitle">Path parameters</div>
22678 <table id="methodsubtable">
22679 <tr>
tragait5e9676e2021-01-14 16:07:07 +000022680 <th width="150px">Name</th>
22681 <th>Description</th>
seshukmb3a332a2018-10-05 16:27:16 +080022682 </tr>
tragait5e9676e2021-01-14 16:07:07 +000022683 <tr><td style="width:150px;">version*</td>
22684 <td>
seshukmb3a332a2018-10-05 16:27:16 +080022685
22686
tragait5e9676e2021-01-14 16:07:07 +000022687 <div id="d2e199_updateVolumeGroupInstance_version">
22688 <div class="json-schema-view">
22689 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080022690 <span class="type">
22691 String
22692 </span>
22693
tragait5e9676e2021-01-14 16:07:07 +000022694 </div>
22695 <div class="inner required">
22696 Required
22697 </div>
22698 </div>
22699 </div>
22700 </td>
22701 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080022702
tragait5e9676e2021-01-14 16:07:07 +000022703 <tr><td style="width:150px;">serviceInstanceId*</td>
22704 <td>
seshukmb3a332a2018-10-05 16:27:16 +080022705
22706
tragait5e9676e2021-01-14 16:07:07 +000022707 <div id="d2e199_updateVolumeGroupInstance_serviceInstanceId">
22708 <div class="json-schema-view">
22709 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080022710 <span class="type">
22711 String
22712 </span>
22713
tragait5e9676e2021-01-14 16:07:07 +000022714 </div>
22715 <div class="inner required">
22716 Required
22717 </div>
22718 </div>
22719 </div>
22720 </td>
22721 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080022722
tragait5e9676e2021-01-14 16:07:07 +000022723 <tr><td style="width:150px;">vnfInstanceId*</td>
22724 <td>
seshukmb3a332a2018-10-05 16:27:16 +080022725
22726
tragait5e9676e2021-01-14 16:07:07 +000022727 <div id="d2e199_updateVolumeGroupInstance_vnfInstanceId">
22728 <div class="json-schema-view">
22729 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080022730 <span class="type">
22731 String
22732 </span>
22733
tragait5e9676e2021-01-14 16:07:07 +000022734 </div>
22735 <div class="inner required">
22736 Required
22737 </div>
22738 </div>
22739 </div>
22740 </td>
22741 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080022742
tragait5e9676e2021-01-14 16:07:07 +000022743 <tr><td style="width:150px;">volumeGroupInstanceId*</td>
22744 <td>
seshukmb3a332a2018-10-05 16:27:16 +080022745
22746
tragait5e9676e2021-01-14 16:07:07 +000022747 <div id="d2e199_updateVolumeGroupInstance_volumeGroupInstanceId">
22748 <div class="json-schema-view">
22749 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080022750 <span class="type">
22751 String
22752 </span>
22753
tragait5e9676e2021-01-14 16:07:07 +000022754 </div>
22755 <div class="inner required">
22756 Required
22757 </div>
22758 </div>
22759 </div>
22760 </td>
22761 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080022762
22763 </table>
22764
22765
22766 <div class="methodsubtabletitle">Body parameters</div>
22767 <table id="methodsubtable">
tragait5e9676e2021-01-14 16:07:07 +000022768 <tr>
22769 <th width="150px">Name</th>
22770 <th>Description</th>
22771 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080022772 <tr><td style="width:150px;">body </td>
tragait5e9676e2021-01-14 16:07:07 +000022773 <td>
seshukmb3a332a2018-10-05 16:27:16 +080022774
22775
tragait5e9676e2021-01-14 16:07:07 +000022776 <script>
seshukmb3a332a2018-10-05 16:27:16 +080022777$(document).ready(function() {
22778 var schemaWrapper = {
22779 "in" : "body",
22780 "name" : "body",
22781 "required" : false,
22782 "schema" : {
22783 "type" : "string"
22784 }
22785};
22786 var schema = schemaWrapper.schema;
22787 if (schema.$ref != null) {
22788 schema = defsParser.$refs.get(schema.$ref);
22789 } else {
22790 schemaWrapper.definitions = Object.assign({}, defs);
22791 $RefParser.dereference(schemaWrapper).catch(function(err) {
22792 console.log(err);
22793 });
22794 }
22795
22796 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
22797 var result = $('#d2e199_updateVolumeGroupInstance_body');
22798 result.empty();
22799 result.append(view.render());
22800});
22801</script>
tragait5e9676e2021-01-14 16:07:07 +000022802 <div id="d2e199_updateVolumeGroupInstance_body"></div>
22803 </td>
22804 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080022805
22806 </table>
22807
22808
22809
tragait5e9676e2021-01-14 16:07:07 +000022810 <h2>Responses</h2>
seshukmb3a332a2018-10-05 16:27:16 +080022811 <h3> Status: default - successful operation </h3>
22812
22813 <ul class="nav nav-tabs nav-tabs-examples" >
22814 </ul>
22815
22816 <div class="tab-content" style='margin-bottom: 10px;'>
22817 </div>
22818
22819 </article>
tragait5e9676e2021-01-14 16:07:07 +000022820 </div>
22821 <hr>
22822 </section>
seshukmb3a332a2018-10-05 16:27:16 +080022823 <section id="api-Onapsoinfratasks">
tragait5e9676e2021-01-14 16:07:07 +000022824 <h1>Onapsoinfratasks</h1>
seshukmb3a332a2018-10-05 16:27:16 +080022825 <div id="api-Onapsoinfratasks-queryFilters">
tragait5e9676e2021-01-14 16:07:07 +000022826 <article id="api-Onapsoinfratasks-queryFilters-0" data-group="User" data-name="queryFilters" data-version="0">
22827 <div class="pull-left">
22828 <h1>queryFilters</h1>
22829 <p>Finds Manual Tasks</p>
22830 </div>
22831 <div class="pull-right"></div>
22832 <div class="clearfix"></div>
22833 <p></p>
22834 <p class="marked"></p>
22835 <p></p>
22836 <br />
22837 <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/onap/so/infra/tasks/{version}</span></code></pre>
22838 <p>
22839 <h3>Usage and SDK Samples</h3>
22840 </p>
22841 <ul class="nav nav-tabs nav-tabs-examples">
22842 <li class="active"><a href="#examples-Onapsoinfratasks-queryFilters-0-curl">Curl</a></li>
22843 <li class=""><a href="#examples-Onapsoinfratasks-queryFilters-0-java">Java</a></li>
22844 <li class=""><a href="#examples-Onapsoinfratasks-queryFilters-0-android">Android</a></li>
22845 <!--<li class=""><a href="#examples-Onapsoinfratasks-queryFilters-0-groovy">Groovy</a></li>-->
22846 <li class=""><a href="#examples-Onapsoinfratasks-queryFilters-0-objc">Obj-C</a></li>
22847 <li class=""><a href="#examples-Onapsoinfratasks-queryFilters-0-javascript">JavaScript</a></li>
22848 <!--<li class=""><a href="#examples-Onapsoinfratasks-queryFilters-0-angular">Angular</a></li>-->
22849 <li class=""><a href="#examples-Onapsoinfratasks-queryFilters-0-csharp">C#</a></li>
22850 <li class=""><a href="#examples-Onapsoinfratasks-queryFilters-0-php">PHP</a></li>
22851 <li class=""><a href="#examples-Onapsoinfratasks-queryFilters-0-perl">Perl</a></li>
22852 <li class=""><a href="#examples-Onapsoinfratasks-queryFilters-0-python">Python</a></li>
22853 </ul>
seshukmb3a332a2018-10-05 16:27:16 +080022854
tragait5e9676e2021-01-14 16:07:07 +000022855 <div class="tab-content">
22856 <div class="tab-pane active" id="examples-Onapsoinfratasks-queryFilters-0-curl">
22857 <pre class="prettyprint"><code class="language-bsh">curl -X GET "http://localhost/onap/so/infra/tasks/{version}?taskId=&originalRequestId=&subscriptionServiceType=&nfRole=&buildingBlockName=&originalRequestDate=&originalRequestorId="</code></pre>
22858 </div>
22859 <div class="tab-pane" id="examples-Onapsoinfratasks-queryFilters-0-java">
seshukmb3a332a2018-10-05 16:27:16 +080022860 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
22861import io.swagger.client.auth.*;
22862import io.swagger.client.model.*;
22863import io.swagger.client.api.OnapsoinfratasksApi;
22864
22865import java.io.File;
22866import java.util.*;
22867
22868public class OnapsoinfratasksApiExample {
22869
22870 public static void main(String[] args) {
tragait5e9676e2021-01-14 16:07:07 +000022871
seshukmb3a332a2018-10-05 16:27:16 +080022872 OnapsoinfratasksApi apiInstance = new OnapsoinfratasksApi();
tragait5e9676e2021-01-14 16:07:07 +000022873 String version = version_example; // String |
22874 String taskId = taskId_example; // String |
22875 String originalRequestId = originalRequestId_example; // String |
22876 String subscriptionServiceType = subscriptionServiceType_example; // String |
22877 String nfRole = nfRole_example; // String |
22878 String buildingBlockName = buildingBlockName_example; // String |
22879 String originalRequestDate = originalRequestDate_example; // String |
22880 String originalRequestorId = originalRequestorId_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080022881 try {
22882 apiInstance.queryFilters(version, taskId, originalRequestId, subscriptionServiceType, nfRole, buildingBlockName, originalRequestDate, originalRequestorId);
22883 } catch (ApiException e) {
22884 System.err.println("Exception when calling OnapsoinfratasksApi#queryFilters");
22885 e.printStackTrace();
22886 }
22887 }
22888}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000022889 </div>
seshukmb3a332a2018-10-05 16:27:16 +080022890
tragait5e9676e2021-01-14 16:07:07 +000022891 <div class="tab-pane" id="examples-Onapsoinfratasks-queryFilters-0-android">
seshukmb3a332a2018-10-05 16:27:16 +080022892 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfratasksApi;
22893
22894public class OnapsoinfratasksApiExample {
22895
22896 public static void main(String[] args) {
22897 OnapsoinfratasksApi apiInstance = new OnapsoinfratasksApi();
tragait5e9676e2021-01-14 16:07:07 +000022898 String version = version_example; // String |
22899 String taskId = taskId_example; // String |
22900 String originalRequestId = originalRequestId_example; // String |
22901 String subscriptionServiceType = subscriptionServiceType_example; // String |
22902 String nfRole = nfRole_example; // String |
22903 String buildingBlockName = buildingBlockName_example; // String |
22904 String originalRequestDate = originalRequestDate_example; // String |
22905 String originalRequestorId = originalRequestorId_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080022906 try {
22907 apiInstance.queryFilters(version, taskId, originalRequestId, subscriptionServiceType, nfRole, buildingBlockName, originalRequestDate, originalRequestorId);
22908 } catch (ApiException e) {
22909 System.err.println("Exception when calling OnapsoinfratasksApi#queryFilters");
22910 e.printStackTrace();
22911 }
22912 }
22913}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000022914 </div>
22915 <!--
seshukmb3a332a2018-10-05 16:27:16 +080022916 <div class="tab-pane" id="examples-Onapsoinfratasks-queryFilters-0-groovy">
22917 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
22918 </div> -->
tragait5e9676e2021-01-14 16:07:07 +000022919 <div class="tab-pane" id="examples-Onapsoinfratasks-queryFilters-0-objc">
22920 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
seshukmb3a332a2018-10-05 16:27:16 +080022921String *taskId = taskId_example; // (optional)
22922String *originalRequestId = originalRequestId_example; // (optional)
22923String *subscriptionServiceType = subscriptionServiceType_example; // (optional)
22924String *nfRole = nfRole_example; // (optional)
22925String *buildingBlockName = buildingBlockName_example; // (optional)
22926String *originalRequestDate = originalRequestDate_example; // (optional)
22927String *originalRequestorId = originalRequestorId_example; // (optional)
22928
22929OnapsoinfratasksApi *apiInstance = [[OnapsoinfratasksApi alloc] init];
22930
22931// Finds Manual Tasks
22932[apiInstance queryFiltersWith:version
22933 taskId:taskId
22934 originalRequestId:originalRequestId
22935 subscriptionServiceType:subscriptionServiceType
22936 nfRole:nfRole
22937 buildingBlockName:buildingBlockName
22938 originalRequestDate:originalRequestDate
22939 originalRequestorId:originalRequestorId
22940 completionHandler: ^(NSError* error) {
22941 if (error) {
22942 NSLog(@"Error: %@", error);
22943 }
22944 }];
22945</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000022946 </div>
seshukmb3a332a2018-10-05 16:27:16 +080022947
tragait5e9676e2021-01-14 16:07:07 +000022948 <div class="tab-pane" id="examples-Onapsoinfratasks-queryFilters-0-javascript">
Priyadharshinic86ab4a2020-08-14 17:11:49 +053022949 <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is');
seshukmb3a332a2018-10-05 16:27:16 +080022950
Priyadharshinic86ab4a2020-08-14 17:11:49 +053022951var api = new SoGuilinApIs.OnapsoinfratasksApi()
seshukmb3a332a2018-10-05 16:27:16 +080022952
tragait5e9676e2021-01-14 16:07:07 +000022953var version = version_example; // {String}
seshukmb3a332a2018-10-05 16:27:16 +080022954
tragait5e9676e2021-01-14 16:07:07 +000022955var opts = {
22956 'taskId': taskId_example, // {String}
22957 'originalRequestId': originalRequestId_example, // {String}
22958 'subscriptionServiceType': subscriptionServiceType_example, // {String}
22959 'nfRole': nfRole_example, // {String}
22960 'buildingBlockName': buildingBlockName_example, // {String}
22961 'originalRequestDate': originalRequestDate_example, // {String}
22962 'originalRequestorId': originalRequestorId_example // {String}
seshukmb3a332a2018-10-05 16:27:16 +080022963};
22964
22965var callback = function(error, data, response) {
22966 if (error) {
22967 console.error(error);
22968 } else {
22969 console.log('API called successfully.');
22970 }
22971};
22972api.queryFilters(version, opts, callback);
22973</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000022974 </div>
seshukmb3a332a2018-10-05 16:27:16 +080022975
tragait5e9676e2021-01-14 16:07:07 +000022976 <!--<div class="tab-pane" id="examples-Onapsoinfratasks-queryFilters-0-angular">
seshukmb3a332a2018-10-05 16:27:16 +080022977 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
22978 </div>-->
tragait5e9676e2021-01-14 16:07:07 +000022979 <div class="tab-pane" id="examples-Onapsoinfratasks-queryFilters-0-csharp">
seshukmb3a332a2018-10-05 16:27:16 +080022980 <pre class="prettyprint"><code class="language-cs">using System;
22981using System.Diagnostics;
22982using IO.Swagger.Api;
22983using IO.Swagger.Client;
22984using IO.Swagger.Model;
22985
22986namespace Example
22987{
22988 public class queryFiltersExample
22989 {
22990 public void main()
22991 {
tragait5e9676e2021-01-14 16:07:07 +000022992
seshukmb3a332a2018-10-05 16:27:16 +080022993 var apiInstance = new OnapsoinfratasksApi();
tragait5e9676e2021-01-14 16:07:07 +000022994 var version = version_example; // String |
22995 var taskId = taskId_example; // String | (optional)
22996 var originalRequestId = originalRequestId_example; // String | (optional)
22997 var subscriptionServiceType = subscriptionServiceType_example; // String | (optional)
22998 var nfRole = nfRole_example; // String | (optional)
22999 var buildingBlockName = buildingBlockName_example; // String | (optional)
23000 var originalRequestDate = originalRequestDate_example; // String | (optional)
23001 var originalRequestorId = originalRequestorId_example; // String | (optional)
seshukmb3a332a2018-10-05 16:27:16 +080023002
23003 try
23004 {
23005 // Finds Manual Tasks
23006 apiInstance.queryFilters(version, taskId, originalRequestId, subscriptionServiceType, nfRole, buildingBlockName, originalRequestDate, originalRequestorId);
23007 }
23008 catch (Exception e)
23009 {
23010 Debug.Print("Exception when calling OnapsoinfratasksApi.queryFilters: " + e.Message );
23011 }
23012 }
23013 }
23014}
23015</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000023016 </div>
seshukmb3a332a2018-10-05 16:27:16 +080023017
tragait5e9676e2021-01-14 16:07:07 +000023018 <div class="tab-pane" id="examples-Onapsoinfratasks-queryFilters-0-php">
seshukmb3a332a2018-10-05 16:27:16 +080023019 <pre class="prettyprint"><code class="language-php"><&#63;php
23020require_once(__DIR__ . '/vendor/autoload.php');
23021
23022$api_instance = new Swagger\Client\Api\OnapsoinfratasksApi();
tragait5e9676e2021-01-14 16:07:07 +000023023$version = version_example; // String |
23024$taskId = taskId_example; // String |
23025$originalRequestId = originalRequestId_example; // String |
23026$subscriptionServiceType = subscriptionServiceType_example; // String |
23027$nfRole = nfRole_example; // String |
23028$buildingBlockName = buildingBlockName_example; // String |
23029$originalRequestDate = originalRequestDate_example; // String |
23030$originalRequestorId = originalRequestorId_example; // String |
seshukmb3a332a2018-10-05 16:27:16 +080023031
23032try {
23033 $api_instance->queryFilters($version, $taskId, $originalRequestId, $subscriptionServiceType, $nfRole, $buildingBlockName, $originalRequestDate, $originalRequestorId);
23034} catch (Exception $e) {
23035 echo 'Exception when calling OnapsoinfratasksApi->queryFilters: ', $e->getMessage(), PHP_EOL;
23036}
23037?></code></pre>
tragait5e9676e2021-01-14 16:07:07 +000023038 </div>
seshukmb3a332a2018-10-05 16:27:16 +080023039
tragait5e9676e2021-01-14 16:07:07 +000023040 <div class="tab-pane" id="examples-Onapsoinfratasks-queryFilters-0-perl">
seshukmb3a332a2018-10-05 16:27:16 +080023041 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
23042use WWW::SwaggerClient::Configuration;
23043use WWW::SwaggerClient::OnapsoinfratasksApi;
23044
23045my $api_instance = WWW::SwaggerClient::OnapsoinfratasksApi->new();
tragait5e9676e2021-01-14 16:07:07 +000023046my $version = version_example; # String |
23047my $taskId = taskId_example; # String |
23048my $originalRequestId = originalRequestId_example; # String |
23049my $subscriptionServiceType = subscriptionServiceType_example; # String |
23050my $nfRole = nfRole_example; # String |
23051my $buildingBlockName = buildingBlockName_example; # String |
23052my $originalRequestDate = originalRequestDate_example; # String |
23053my $originalRequestorId = originalRequestorId_example; # String |
seshukmb3a332a2018-10-05 16:27:16 +080023054
tragait5e9676e2021-01-14 16:07:07 +000023055eval {
seshukmb3a332a2018-10-05 16:27:16 +080023056 $api_instance->queryFilters(version => $version, taskId => $taskId, originalRequestId => $originalRequestId, subscriptionServiceType => $subscriptionServiceType, nfRole => $nfRole, buildingBlockName => $buildingBlockName, originalRequestDate => $originalRequestDate, originalRequestorId => $originalRequestorId);
23057};
23058if ($@) {
23059 warn "Exception when calling OnapsoinfratasksApi->queryFilters: $@\n";
23060}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000023061 </div>
seshukmb3a332a2018-10-05 16:27:16 +080023062
tragait5e9676e2021-01-14 16:07:07 +000023063 <div class="tab-pane" id="examples-Onapsoinfratasks-queryFilters-0-python">
seshukmb3a332a2018-10-05 16:27:16 +080023064 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
23065import time
23066import swagger_client
23067from swagger_client.rest import ApiException
23068from pprint import pprint
23069
23070# create an instance of the API class
23071api_instance = swagger_client.OnapsoinfratasksApi()
tragait5e9676e2021-01-14 16:07:07 +000023072version = version_example # String |
seshukmb3a332a2018-10-05 16:27:16 +080023073taskId = taskId_example # String | (optional)
23074originalRequestId = originalRequestId_example # String | (optional)
23075subscriptionServiceType = subscriptionServiceType_example # String | (optional)
23076nfRole = nfRole_example # String | (optional)
23077buildingBlockName = buildingBlockName_example # String | (optional)
23078originalRequestDate = originalRequestDate_example # String | (optional)
23079originalRequestorId = originalRequestorId_example # String | (optional)
23080
tragait5e9676e2021-01-14 16:07:07 +000023081try:
seshukmb3a332a2018-10-05 16:27:16 +080023082 # Finds Manual Tasks
23083 api_instance.query_filters(version, taskId=taskId, originalRequestId=originalRequestId, subscriptionServiceType=subscriptionServiceType, nfRole=nfRole, buildingBlockName=buildingBlockName, originalRequestDate=originalRequestDate, originalRequestorId=originalRequestorId)
23084except ApiException as e:
23085 print("Exception when calling OnapsoinfratasksApi->queryFilters: %s\n" % e)</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000023086 </div>
seshukmb3a332a2018-10-05 16:27:16 +080023087 </div>
seshukmb3a332a2018-10-05 16:27:16 +080023088
tragait5e9676e2021-01-14 16:07:07 +000023089 <h2>Parameters</h2>
seshukmb3a332a2018-10-05 16:27:16 +080023090
23091 <div class="methodsubtabletitle">Path parameters</div>
23092 <table id="methodsubtable">
23093 <tr>
tragait5e9676e2021-01-14 16:07:07 +000023094 <th width="150px">Name</th>
23095 <th>Description</th>
seshukmb3a332a2018-10-05 16:27:16 +080023096 </tr>
tragait5e9676e2021-01-14 16:07:07 +000023097 <tr><td style="width:150px;">version*</td>
23098 <td>
seshukmb3a332a2018-10-05 16:27:16 +080023099
23100
tragait5e9676e2021-01-14 16:07:07 +000023101 <div id="d2e199_queryFilters_version">
23102 <div class="json-schema-view">
23103 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080023104 <span class="type">
23105 String
23106 </span>
23107
tragait5e9676e2021-01-14 16:07:07 +000023108 </div>
23109 <div class="inner required">
23110 Required
23111 </div>
23112 </div>
23113 </div>
23114 </td>
23115 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080023116
23117 </table>
23118
23119
23120
23121
23122 <div class="methodsubtabletitle">Query parameters</div>
23123 <table id="methodsubtable">
tragait5e9676e2021-01-14 16:07:07 +000023124 <tr>
23125 <th width="150px">Name</th>
23126 <th>Description</th>
23127 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080023128 <tr><td style="width:150px;">taskId</td>
tragait5e9676e2021-01-14 16:07:07 +000023129 <td>
seshukmb3a332a2018-10-05 16:27:16 +080023130
23131
tragait5e9676e2021-01-14 16:07:07 +000023132 <div id="d2e199_queryFilters_taskId">
23133 <div class="json-schema-view">
23134 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080023135 <span class="type">
23136 String
23137 </span>
23138
tragait5e9676e2021-01-14 16:07:07 +000023139 </div>
23140 </div>
23141 </div>
23142 </td>
23143 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080023144
23145 <tr><td style="width:150px;">originalRequestId</td>
tragait5e9676e2021-01-14 16:07:07 +000023146 <td>
seshukmb3a332a2018-10-05 16:27:16 +080023147
23148
tragait5e9676e2021-01-14 16:07:07 +000023149 <div id="d2e199_queryFilters_originalRequestId">
23150 <div class="json-schema-view">
23151 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080023152 <span class="type">
23153 String
23154 </span>
23155
tragait5e9676e2021-01-14 16:07:07 +000023156 </div>
23157 </div>
23158 </div>
23159 </td>
23160 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080023161
23162 <tr><td style="width:150px;">subscriptionServiceType</td>
tragait5e9676e2021-01-14 16:07:07 +000023163 <td>
seshukmb3a332a2018-10-05 16:27:16 +080023164
23165
tragait5e9676e2021-01-14 16:07:07 +000023166 <div id="d2e199_queryFilters_subscriptionServiceType">
23167 <div class="json-schema-view">
23168 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080023169 <span class="type">
23170 String
23171 </span>
23172
tragait5e9676e2021-01-14 16:07:07 +000023173 </div>
23174 </div>
23175 </div>
23176 </td>
23177 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080023178
23179 <tr><td style="width:150px;">nfRole</td>
tragait5e9676e2021-01-14 16:07:07 +000023180 <td>
seshukmb3a332a2018-10-05 16:27:16 +080023181
23182
tragait5e9676e2021-01-14 16:07:07 +000023183 <div id="d2e199_queryFilters_nfRole">
23184 <div class="json-schema-view">
23185 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080023186 <span class="type">
23187 String
23188 </span>
23189
tragait5e9676e2021-01-14 16:07:07 +000023190 </div>
23191 </div>
23192 </div>
23193 </td>
23194 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080023195
23196 <tr><td style="width:150px;">buildingBlockName</td>
tragait5e9676e2021-01-14 16:07:07 +000023197 <td>
seshukmb3a332a2018-10-05 16:27:16 +080023198
23199
tragait5e9676e2021-01-14 16:07:07 +000023200 <div id="d2e199_queryFilters_buildingBlockName">
23201 <div class="json-schema-view">
23202 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080023203 <span class="type">
23204 String
23205 </span>
23206
tragait5e9676e2021-01-14 16:07:07 +000023207 </div>
23208 </div>
23209 </div>
23210 </td>
23211 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080023212
23213 <tr><td style="width:150px;">originalRequestDate</td>
tragait5e9676e2021-01-14 16:07:07 +000023214 <td>
seshukmb3a332a2018-10-05 16:27:16 +080023215
23216
tragait5e9676e2021-01-14 16:07:07 +000023217 <div id="d2e199_queryFilters_originalRequestDate">
23218 <div class="json-schema-view">
23219 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080023220 <span class="type">
23221 String
23222 </span>
23223
tragait5e9676e2021-01-14 16:07:07 +000023224 </div>
23225 </div>
23226 </div>
23227 </td>
23228 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080023229
23230 <tr><td style="width:150px;">originalRequestorId</td>
tragait5e9676e2021-01-14 16:07:07 +000023231 <td>
seshukmb3a332a2018-10-05 16:27:16 +080023232
23233
tragait5e9676e2021-01-14 16:07:07 +000023234 <div id="d2e199_queryFilters_originalRequestorId">
23235 <div class="json-schema-view">
23236 <div class="primitive">
seshukmb3a332a2018-10-05 16:27:16 +080023237 <span class="type">
23238 String
23239 </span>
23240
tragait5e9676e2021-01-14 16:07:07 +000023241 </div>
23242 </div>
23243 </div>
23244 </td>
23245 </tr>
seshukmb3a332a2018-10-05 16:27:16 +080023246
23247 </table>
23248
tragait5e9676e2021-01-14 16:07:07 +000023249 <h2>Responses</h2>
seshukmb3a332a2018-10-05 16:27:16 +080023250 <h3> Status: default - successful operation </h3>
23251
23252 <ul class="nav nav-tabs nav-tabs-examples" >
23253 </ul>
23254
23255 <div class="tab-content" style='margin-bottom: 10px;'>
23256 </div>
23257
23258 </article>
tragait5e9676e2021-01-14 16:07:07 +000023259 </div>
23260 <hr>
23261 </section>
rameshiyer27553bc772020-08-25 16:49:34 +010023262 <section id="api-OnapsoinfraworkflowSpecifications">
tragait5e9676e2021-01-14 16:07:07 +000023263 <h1>OnapsoinfraworkflowSpecifications</h1>
rameshiyer27553bc772020-08-25 16:49:34 +010023264 <div id="api-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications">
tragait5e9676e2021-01-14 16:07:07 +000023265 <article id="api-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications-0" data-group="User" data-name="queryWorkflowSpecifications" data-version="0">
23266 <div class="pull-left">
23267 <h1>queryWorkflowSpecifications</h1>
23268 <p>Retrieve Workflow details based on the filter criteria</p>
23269 </div>
23270 <div class="pull-right"></div>
23271 <div class="clearfix"></div>
23272 <p></p>
23273 <p class="marked"></p>
23274 <p></p>
23275 <br />
23276 <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/onap/so/infra/workflowSpecifications/{version}/workflows</span></code></pre>
23277 <p>
23278 <h3>Usage and SDK Samples</h3>
23279 </p>
23280 <ul class="nav nav-tabs nav-tabs-examples">
23281 <li class="active"><a href="#examples-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications-0-curl">Curl</a></li>
23282 <li class=""><a href="#examples-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications-0-java">Java</a></li>
23283 <li class=""><a href="#examples-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications-0-android">Android</a></li>
23284 <!--<li class=""><a href="#examples-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications-0-groovy">Groovy</a></li>-->
23285 <li class=""><a href="#examples-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications-0-objc">Obj-C</a></li>
23286 <li class=""><a href="#examples-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications-0-javascript">JavaScript</a></li>
23287 <!--<li class=""><a href="#examples-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications-0-angular">Angular</a></li>-->
23288 <li class=""><a href="#examples-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications-0-csharp">C#</a></li>
23289 <li class=""><a href="#examples-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications-0-php">PHP</a></li>
23290 <li class=""><a href="#examples-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications-0-perl">Perl</a></li>
23291 <li class=""><a href="#examples-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications-0-python">Python</a></li>
23292 </ul>
rameshiyer27553bc772020-08-25 16:49:34 +010023293
tragait5e9676e2021-01-14 16:07:07 +000023294 <div class="tab-content">
23295 <div class="tab-pane active" id="examples-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications-0-curl">
23296 <pre class="prettyprint"><code class="language-bsh">curl -X GET "http://localhost/onap/so/infra/workflowSpecifications/{version}/workflows?resourceTarget="</code></pre>
23297 </div>
23298 <div class="tab-pane" id="examples-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications-0-java">
rameshiyer27553bc772020-08-25 16:49:34 +010023299 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
23300import io.swagger.client.auth.*;
23301import io.swagger.client.model.*;
23302import io.swagger.client.api.OnapsoinfraworkflowSpecificationsApi;
23303
23304import java.io.File;
23305import java.util.*;
23306
23307public class OnapsoinfraworkflowSpecificationsApiExample {
23308
23309 public static void main(String[] args) {
tragait5e9676e2021-01-14 16:07:07 +000023310
rameshiyer27553bc772020-08-25 16:49:34 +010023311 OnapsoinfraworkflowSpecificationsApi apiInstance = new OnapsoinfraworkflowSpecificationsApi();
tragait5e9676e2021-01-14 16:07:07 +000023312 String version = version_example; // String |
23313 String resourceTarget = resourceTarget_example; // String |
rameshiyer27553bc772020-08-25 16:49:34 +010023314 try {
23315 RetrievingWorkflowResponse result = apiInstance.queryWorkflowSpecifications(version, resourceTarget);
23316 System.out.println(result);
23317 } catch (ApiException e) {
23318 System.err.println("Exception when calling OnapsoinfraworkflowSpecificationsApi#queryWorkflowSpecifications");
23319 e.printStackTrace();
23320 }
23321 }
23322}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000023323 </div>
rameshiyer27553bc772020-08-25 16:49:34 +010023324
tragait5e9676e2021-01-14 16:07:07 +000023325 <div class="tab-pane" id="examples-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications-0-android">
rameshiyer27553bc772020-08-25 16:49:34 +010023326 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraworkflowSpecificationsApi;
23327
23328public class OnapsoinfraworkflowSpecificationsApiExample {
23329
23330 public static void main(String[] args) {
23331 OnapsoinfraworkflowSpecificationsApi apiInstance = new OnapsoinfraworkflowSpecificationsApi();
tragait5e9676e2021-01-14 16:07:07 +000023332 String version = version_example; // String |
23333 String resourceTarget = resourceTarget_example; // String |
rameshiyer27553bc772020-08-25 16:49:34 +010023334 try {
23335 RetrievingWorkflowResponse result = apiInstance.queryWorkflowSpecifications(version, resourceTarget);
23336 System.out.println(result);
23337 } catch (ApiException e) {
23338 System.err.println("Exception when calling OnapsoinfraworkflowSpecificationsApi#queryWorkflowSpecifications");
23339 e.printStackTrace();
23340 }
23341 }
23342}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000023343 </div>
23344 <!--
rameshiyer27553bc772020-08-25 16:49:34 +010023345 <div class="tab-pane" id="examples-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications-0-groovy">
23346 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
23347 </div> -->
tragait5e9676e2021-01-14 16:07:07 +000023348 <div class="tab-pane" id="examples-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications-0-objc">
23349 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
rameshiyer27553bc772020-08-25 16:49:34 +010023350String *resourceTarget = resourceTarget_example; // (optional)
23351
23352OnapsoinfraworkflowSpecificationsApi *apiInstance = [[OnapsoinfraworkflowSpecificationsApi alloc] init];
23353
23354// Retrieve Workflow details based on the filter criteria
23355[apiInstance queryWorkflowSpecificationsWith:version
23356 resourceTarget:resourceTarget
23357 completionHandler: ^(RetrievingWorkflowResponse output, NSError* error) {
23358 if (output) {
23359 NSLog(@"%@", output);
23360 }
23361 if (error) {
23362 NSLog(@"Error: %@", error);
23363 }
23364 }];
23365</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000023366 </div>
rameshiyer27553bc772020-08-25 16:49:34 +010023367
tragait5e9676e2021-01-14 16:07:07 +000023368 <div class="tab-pane" id="examples-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications-0-javascript">
rameshiyer27553bc772020-08-25 16:49:34 +010023369 <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is');
23370
23371var api = new SoGuilinApIs.OnapsoinfraworkflowSpecificationsApi()
23372
tragait5e9676e2021-01-14 16:07:07 +000023373var version = version_example; // {String}
rameshiyer27553bc772020-08-25 16:49:34 +010023374
tragait5e9676e2021-01-14 16:07:07 +000023375var opts = {
23376 'resourceTarget': resourceTarget_example // {String}
rameshiyer27553bc772020-08-25 16:49:34 +010023377};
23378
23379var callback = function(error, data, response) {
23380 if (error) {
23381 console.error(error);
23382 } else {
23383 console.log('API called successfully. Returned data: ' + data);
23384 }
23385};
23386api.queryWorkflowSpecifications(version, opts, callback);
23387</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000023388 </div>
rameshiyer27553bc772020-08-25 16:49:34 +010023389
tragait5e9676e2021-01-14 16:07:07 +000023390 <!--<div class="tab-pane" id="examples-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications-0-angular">
rameshiyer27553bc772020-08-25 16:49:34 +010023391 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
23392 </div>-->
tragait5e9676e2021-01-14 16:07:07 +000023393 <div class="tab-pane" id="examples-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications-0-csharp">
rameshiyer27553bc772020-08-25 16:49:34 +010023394 <pre class="prettyprint"><code class="language-cs">using System;
23395using System.Diagnostics;
23396using IO.Swagger.Api;
23397using IO.Swagger.Client;
23398using IO.Swagger.Model;
23399
23400namespace Example
23401{
23402 public class queryWorkflowSpecificationsExample
23403 {
23404 public void main()
23405 {
tragait5e9676e2021-01-14 16:07:07 +000023406
rameshiyer27553bc772020-08-25 16:49:34 +010023407 var apiInstance = new OnapsoinfraworkflowSpecificationsApi();
tragait5e9676e2021-01-14 16:07:07 +000023408 var version = version_example; // String |
23409 var resourceTarget = resourceTarget_example; // String | (optional)
rameshiyer27553bc772020-08-25 16:49:34 +010023410
23411 try
23412 {
23413 // Retrieve Workflow details based on the filter criteria
23414 RetrievingWorkflowResponse result = apiInstance.queryWorkflowSpecifications(version, resourceTarget);
23415 Debug.WriteLine(result);
23416 }
23417 catch (Exception e)
23418 {
23419 Debug.Print("Exception when calling OnapsoinfraworkflowSpecificationsApi.queryWorkflowSpecifications: " + e.Message );
23420 }
23421 }
23422 }
23423}
23424</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000023425 </div>
rameshiyer27553bc772020-08-25 16:49:34 +010023426
tragait5e9676e2021-01-14 16:07:07 +000023427 <div class="tab-pane" id="examples-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications-0-php">
rameshiyer27553bc772020-08-25 16:49:34 +010023428 <pre class="prettyprint"><code class="language-php"><&#63;php
23429require_once(__DIR__ . '/vendor/autoload.php');
23430
23431$api_instance = new Swagger\Client\Api\OnapsoinfraworkflowSpecificationsApi();
tragait5e9676e2021-01-14 16:07:07 +000023432$version = version_example; // String |
23433$resourceTarget = resourceTarget_example; // String |
rameshiyer27553bc772020-08-25 16:49:34 +010023434
23435try {
23436 $result = $api_instance->queryWorkflowSpecifications($version, $resourceTarget);
23437 print_r($result);
23438} catch (Exception $e) {
23439 echo 'Exception when calling OnapsoinfraworkflowSpecificationsApi->queryWorkflowSpecifications: ', $e->getMessage(), PHP_EOL;
23440}
23441?></code></pre>
tragait5e9676e2021-01-14 16:07:07 +000023442 </div>
rameshiyer27553bc772020-08-25 16:49:34 +010023443
tragait5e9676e2021-01-14 16:07:07 +000023444 <div class="tab-pane" id="examples-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications-0-perl">
rameshiyer27553bc772020-08-25 16:49:34 +010023445 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
23446use WWW::SwaggerClient::Configuration;
23447use WWW::SwaggerClient::OnapsoinfraworkflowSpecificationsApi;
23448
23449my $api_instance = WWW::SwaggerClient::OnapsoinfraworkflowSpecificationsApi->new();
tragait5e9676e2021-01-14 16:07:07 +000023450my $version = version_example; # String |
23451my $resourceTarget = resourceTarget_example; # String |
rameshiyer27553bc772020-08-25 16:49:34 +010023452
tragait5e9676e2021-01-14 16:07:07 +000023453eval {
rameshiyer27553bc772020-08-25 16:49:34 +010023454 my $result = $api_instance->queryWorkflowSpecifications(version => $version, resourceTarget => $resourceTarget);
23455 print Dumper($result);
23456};
23457if ($@) {
23458 warn "Exception when calling OnapsoinfraworkflowSpecificationsApi->queryWorkflowSpecifications: $@\n";
23459}</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000023460 </div>
rameshiyer27553bc772020-08-25 16:49:34 +010023461
tragait5e9676e2021-01-14 16:07:07 +000023462 <div class="tab-pane" id="examples-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications-0-python">
rameshiyer27553bc772020-08-25 16:49:34 +010023463 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
23464import time
23465import swagger_client
23466from swagger_client.rest import ApiException
23467from pprint import pprint
23468
23469# create an instance of the API class
23470api_instance = swagger_client.OnapsoinfraworkflowSpecificationsApi()
tragait5e9676e2021-01-14 16:07:07 +000023471version = version_example # String |
rameshiyer27553bc772020-08-25 16:49:34 +010023472resourceTarget = resourceTarget_example # String | (optional)
23473
tragait5e9676e2021-01-14 16:07:07 +000023474try:
rameshiyer27553bc772020-08-25 16:49:34 +010023475 # Retrieve Workflow details based on the filter criteria
23476 api_response = api_instance.query_workflow_specifications(version, resourceTarget=resourceTarget)
23477 pprint(api_response)
23478except ApiException as e:
23479 print("Exception when calling OnapsoinfraworkflowSpecificationsApi->queryWorkflowSpecifications: %s\n" % e)</code></pre>
tragait5e9676e2021-01-14 16:07:07 +000023480 </div>
rameshiyer27553bc772020-08-25 16:49:34 +010023481 </div>
rameshiyer27553bc772020-08-25 16:49:34 +010023482
tragait5e9676e2021-01-14 16:07:07 +000023483 <h2>Parameters</h2>
rameshiyer27553bc772020-08-25 16:49:34 +010023484
23485 <div class="methodsubtabletitle">Path parameters</div>
23486 <table id="methodsubtable">
23487 <tr>
tragait5e9676e2021-01-14 16:07:07 +000023488 <th width="150px">Name</th>
23489 <th>Description</th>
rameshiyer27553bc772020-08-25 16:49:34 +010023490 </tr>
tragait5e9676e2021-01-14 16:07:07 +000023491 <tr><td style="width:150px;">version*</td>
23492 <td>
rameshiyer27553bc772020-08-25 16:49:34 +010023493
23494
tragait5e9676e2021-01-14 16:07:07 +000023495 <div id="d2e199_queryWorkflowSpecifications_version">
23496 <div class="json-schema-view">
23497 <div class="primitive">
rameshiyer27553bc772020-08-25 16:49:34 +010023498 <span class="type">
23499 String
23500 </span>
23501
tragait5e9676e2021-01-14 16:07:07 +000023502 </div>
23503 <div class="inner required">
23504 Required
23505 </div>
23506 </div>
23507 </div>
23508 </td>
23509 </tr>
rameshiyer27553bc772020-08-25 16:49:34 +010023510
23511 </table>
23512
23513
23514
23515
23516 <div class="methodsubtabletitle">Query parameters</div>
23517 <table id="methodsubtable">
tragait5e9676e2021-01-14 16:07:07 +000023518 <tr>
23519 <th width="150px">Name</th>
23520 <th>Description</th>
23521 </tr>
rameshiyer27553bc772020-08-25 16:49:34 +010023522 <tr><td style="width:150px;">resourceTarget</td>
tragait5e9676e2021-01-14 16:07:07 +000023523 <td>
rameshiyer27553bc772020-08-25 16:49:34 +010023524
23525
tragait5e9676e2021-01-14 16:07:07 +000023526 <div id="d2e199_queryWorkflowSpecifications_resourceTarget">
23527 <div class="json-schema-view">
23528 <div class="primitive">
rameshiyer27553bc772020-08-25 16:49:34 +010023529 <span class="type">
23530 String
23531 </span>
23532
tragait5e9676e2021-01-14 16:07:07 +000023533 </div>
23534 </div>
23535 </div>
23536 </td>
23537 </tr>
rameshiyer27553bc772020-08-25 16:49:34 +010023538
23539 </table>
23540
tragait5e9676e2021-01-14 16:07:07 +000023541 <h2>Responses</h2>
rameshiyer27553bc772020-08-25 16:49:34 +010023542 <h3> Status: default - List of workflow specifications on successful operation </h3>
23543
23544 <ul class="nav nav-tabs nav-tabs-examples" >
23545 <li class="active">
tragait5e9676e2021-01-14 16:07:07 +000023546 <a data-toggle="tab" href="#responses-queryWorkflowSpecifications-default-schema">Schema</a>
rameshiyer27553bc772020-08-25 16:49:34 +010023547 </li>
23548
23549 </ul>
23550
23551 <div class="tab-content" style='margin-bottom: 10px;'>
23552 <div class="tab-pane active" id="responses-queryWorkflowSpecifications-default-schema">
tragait5e9676e2021-01-14 16:07:07 +000023553 <div id='responses-queryWorkflowSpecifications-default-schema-default' style="padding: 30px; border-left: 1px solid #eee; border-right: 1px solid #eee; border-bottom: 1px solid #eee;">
23554 <script>
rameshiyer27553bc772020-08-25 16:49:34 +010023555 $(document).ready(function() {
23556 var schemaWrapper = {
23557 "description" : "List of workflow specifications on successful operation",
23558 "schema" : {
23559 "$ref" : "#/definitions/RetrievingWorkflowResponse"
23560 }
23561};
23562 var schema = schemaWrapper.schema;
23563 if (schema.$ref != null) {
23564 schema = defsParser.$refs.get(schema.$ref);
23565 } else {
23566 schemaWrapper.definitions = defs;
23567 $RefParser.dereference(schemaWrapper).catch(function(err) {
23568 console.log(err);
23569 });
23570 }
23571
23572 //console.log(JSON.stringify(schema));
23573 var view = new JSONSchemaView(schema, 3);
23574 $('#responses-queryWorkflowSpecifications-default-schema-data').val(stringify(schema));
23575 var result = $('#responses-queryWorkflowSpecifications-default-schema-default');
23576 result.empty();
23577 result.append(view.render());
23578 });
23579 </script>
tragait5e9676e2021-01-14 16:07:07 +000023580 </div>
23581 <input id='responses-queryWorkflowSpecifications-default-schema-data' type='hidden' value=''></input>
rameshiyer27553bc772020-08-25 16:49:34 +010023582 </div>
23583 </div>
23584
23585 </article>
tragait5e9676e2021-01-14 16:07:07 +000023586 </div>
23587 <hr>
23588 </section>
seshukmb3a332a2018-10-05 16:27:16 +080023589 </div>
tragait5e9676e2021-01-14 16:07:07 +000023590 <div id="footer">
23591 <div id="api-_footer">
23592 <p>Suggestions, contact, support and error reporting;
23593 <div class="app-desc">Information URL: <a href="https://helloreverb.com">https://helloreverb.com</a></div>
23594 <div class="app-desc">Contact Info: <a href="hello@helloreverb.com">hello@helloreverb.com</a></div>
23595 </p>
23596 <div class="license-info">All rights reserved</div>
23597 <div class="license-url">http://apache.org/licenses/LICENSE-2.0.html</div>
23598 </div>
23599 </div>
23600 </div>
seshukmb3a332a2018-10-05 16:27:16 +080023601 </div>
tragait5e9676e2021-01-14 16:07:07 +000023602</div>
23603<script>
seshukmb3a332a2018-10-05 16:27:16 +080023604(function webpackUniversalModuleDefinition(root, factory) {
23605 if(typeof exports === 'object' && typeof module === 'object')
23606 module.exports = factory();
23607 else if(typeof define === 'function' && define.amd)
23608 define("JSONFormatter", [], factory);
23609 else if(typeof exports === 'object')
23610 exports["JSONFormatter"] = factory();
23611 else
23612 root["JSONFormatter"] = factory();
23613})(this, function() {
23614return /******/ (function(modules) { // webpackBootstrap
23615/******/ // The module cache
23616/******/ var installedModules = {};
23617/******/
23618/******/ // The require function
23619/******/ function __webpack_require__(moduleId) {
23620/******/
23621/******/ // Check if module is in cache
23622/******/ if(installedModules[moduleId])
23623/******/ return installedModules[moduleId].exports;
23624/******/
23625/******/ // Create a new module (and put it into the cache)
23626/******/ var module = installedModules[moduleId] = {
23627/******/ exports: {},
23628/******/ id: moduleId,
23629/******/ loaded: false
23630/******/ };
23631/******/
23632/******/ // Execute the module function
23633/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
23634/******/
23635/******/ // Flag the module as loaded
23636/******/ module.loaded = true;
23637/******/
23638/******/ // Return the exports of the module
23639/******/ return module.exports;
23640/******/ }
23641/******/
23642/******/
23643/******/ // expose the modules object (__webpack_modules__)
23644/******/ __webpack_require__.m = modules;
23645/******/
23646/******/ // expose the module cache
23647/******/ __webpack_require__.c = installedModules;
23648/******/
23649/******/ // __webpack_public_path__
23650/******/ __webpack_require__.p = "dist";
23651/******/
23652/******/ // Load entry module and return exports
23653/******/ return __webpack_require__(0);
23654/******/ })
23655/************************************************************************/
23656/******/ ([
23657/* 0 */
23658/***/ function(module, exports, __webpack_require__) {
23659
23660 module.exports = __webpack_require__(1);
23661
23662
23663/***/ },
23664/* 1 */
23665/***/ function(module, exports, __webpack_require__) {
23666
23667 "use strict";
23668 __webpack_require__(2);
23669 var helpers_ts_1 = __webpack_require__(6);
23670 var DATE_STRING_REGEX = /(^\d{1,4}[\.|\\/|-]\d{1,2}[\.|\\/|-]\d{1,4})(\s*(?:0?[1-9]:[0-5]|1(?=[012])\d:[0-5])\d\s*[ap]m)?$/;
23671 var PARTIAL_DATE_REGEX = /\d{2}:\d{2}:\d{2} GMT-\d{4}/;
23672 var JSON_DATE_REGEX = /\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{3}Z/;
23673 // When toggleing, don't animated removal or addition of more than a few items
23674 var MAX_ANIMATED_TOGGLE_ITEMS = 10;
23675 var requestAnimationFrame = window.requestAnimationFrame || function (cb) { cb(); return 0; };
23676 ;
23677 var _defaultConfig = {
23678 hoverPreviewEnabled: false,
23679 hoverPreviewArrayCount: 100,
23680 hoverPreviewFieldCount: 5,
23681 animateOpen: true,
23682 animateClose: true,
23683 theme: null
23684 };
23685 module.exports = (function () {
23686 /**
23687 * @param {object} json The JSON object you want to render. It has to be an
23688 * object or array. Do NOT pass raw JSON string.
23689 *
23690 * @param {number} [open=1] his number indicates up to how many levels the
23691 * rendered tree should expand. Set it to `0` to make the whole tree collapsed
23692 * or set it to `Infinity` to expand the tree deeply
23693 *
23694 * @param {object} [config=defaultConfig] -
23695 * defaultConfig = {
23696 * hoverPreviewEnabled: false,
23697 * hoverPreviewArrayCount: 100,
23698 * hoverPreviewFieldCount: 5
23699 * }
23700 *
23701 * Available configurations:
23702 * #####Hover Preview
23703 * * `hoverPreviewEnabled`: enable preview on hover
23704 * * `hoverPreviewArrayCount`: number of array items to show in preview Any
23705 * array larger than this number will be shown as `Array[XXX]` where `XXX`
23706 * is length of the array.
23707 * * `hoverPreviewFieldCount`: number of object properties to show for object
23708 * preview. Any object with more properties that thin number will be
23709 * truncated.
23710 *
23711 * @param {string} [key=undefined] The key that this object in it's parent
23712 * context
23713 */
23714 function JSONFormatter(json, open, config, key) {
23715 if (open === void 0) { open = 1; }
23716 if (config === void 0) { config = _defaultConfig; }
23717 this.json = json;
23718 this.open = open;
23719 this.config = config;
23720 this.key = key;
23721 // Hold the open state after the toggler is used
23722 this._isOpen = null;
23723 // Setting default values for config object
23724 if (this.config.hoverPreviewEnabled === undefined) {
23725 this.config.hoverPreviewEnabled = _defaultConfig.hoverPreviewEnabled;
23726 }
23727 if (this.config.hoverPreviewArrayCount === undefined) {
23728 this.config.hoverPreviewArrayCount = _defaultConfig.hoverPreviewArrayCount;
23729 }
23730 if (this.config.hoverPreviewFieldCount === undefined) {
23731 this.config.hoverPreviewFieldCount = _defaultConfig.hoverPreviewFieldCount;
23732 }
23733 }
23734 Object.defineProperty(JSONFormatter.prototype, "isOpen", {
23735 /*
23736 * is formatter open?
23737 */
23738 get: function () {
23739 if (this._isOpen !== null) {
23740 return this._isOpen;
23741 }
23742 else {
23743 return this.open > 0;
23744 }
23745 },
23746 /*
23747 * set open state (from toggler)
23748 */
23749 set: function (value) {
23750 this._isOpen = value;
23751 },
23752 enumerable: true,
23753 configurable: true
23754 });
23755 Object.defineProperty(JSONFormatter.prototype, "isDate", {
23756 /*
23757 * is this a date string?
23758 */
23759 get: function () {
23760 return (this.type === 'string') &&
23761 (DATE_STRING_REGEX.test(this.json) ||
23762 JSON_DATE_REGEX.test(this.json) ||
23763 PARTIAL_DATE_REGEX.test(this.json));
23764 },
23765 enumerable: true,
23766 configurable: true
23767 });
23768 Object.defineProperty(JSONFormatter.prototype, "isUrl", {
23769 /*
23770 * is this a URL string?
23771 */
23772 get: function () {
23773 return this.type === 'string' && (this.json.indexOf('http') === 0);
23774 },
23775 enumerable: true,
23776 configurable: true
23777 });
23778 Object.defineProperty(JSONFormatter.prototype, "isArray", {
23779 /*
23780 * is this an array?
23781 */
23782 get: function () {
23783 return Array.isArray(this.json);
23784 },
23785 enumerable: true,
23786 configurable: true
23787 });
23788 Object.defineProperty(JSONFormatter.prototype, "isObject", {
23789 /*
23790 * is this an object?
23791 * Note: In this context arrays are object as well
23792 */
23793 get: function () {
23794 return helpers_ts_1.isObject(this.json);
23795 },
23796 enumerable: true,
23797 configurable: true
23798 });
23799 Object.defineProperty(JSONFormatter.prototype, "isEmptyObject", {
23800 /*
23801 * is this an empty object with no properties?
23802 */
23803 get: function () {
23804 return !this.keys.length && !this.isArray;
23805 },
23806 enumerable: true,
23807 configurable: true
23808 });
23809 Object.defineProperty(JSONFormatter.prototype, "isEmpty", {
23810 /*
23811 * is this an empty object or array?
23812 */
23813 get: function () {
23814 return this.isEmptyObject || (this.keys && !this.keys.length && this.isArray);
23815 },
23816 enumerable: true,
23817 configurable: true
23818 });
23819 Object.defineProperty(JSONFormatter.prototype, "hasKey", {
23820 /*
23821 * did we receive a key argument?
23822 * This means that the formatter was called as a sub formatter of a parent formatter
23823 */
23824 get: function () {
23825 return typeof this.key !== 'undefined';
23826 },
23827 enumerable: true,
23828 configurable: true
23829 });
23830 Object.defineProperty(JSONFormatter.prototype, "constructorName", {
23831 /*
23832 * if this is an object, get constructor function name
23833 */
23834 get: function () {
23835 return helpers_ts_1.getObjectName(this.json);
23836 },
23837 enumerable: true,
23838 configurable: true
23839 });
23840 Object.defineProperty(JSONFormatter.prototype, "type", {
23841 /*
23842 * get type of this value
23843 * Possible values: all JavaScript primitive types plus "array" and "null"
23844 */
23845 get: function () {
23846 return helpers_ts_1.getType(this.json);
23847 },
23848 enumerable: true,
23849 configurable: true
23850 });
23851 Object.defineProperty(JSONFormatter.prototype, "keys", {
23852 /*
23853 * get object keys
23854 * If there is an empty key we pad it wit quotes to make it visible
23855 */
23856 get: function () {
23857 if (this.isObject) {
23858 return Object.keys(this.json).map(function (key) { return key ? key : '""'; });
23859 }
23860 else {
23861 return [];
23862 }
23863 },
23864 enumerable: true,
23865 configurable: true
23866 });
23867 /**
23868 * Toggles `isOpen` state
23869 *
23870 */
23871 JSONFormatter.prototype.toggleOpen = function () {
23872 this.isOpen = !this.isOpen;
23873 if (this.element) {
23874 if (this.isOpen) {
23875 this.appendChildren(this.config.animateOpen);
23876 }
23877 else {
23878 this.removeChildren(this.config.animateClose);
23879 }
23880 this.element.classList.toggle(helpers_ts_1.cssClass('open'));
23881 }
23882 };
23883 /**
23884 * Open all children up to a certain depth.
23885 * Allows actions such as expand all/collapse all
23886 *
23887 */
23888 JSONFormatter.prototype.openAtDepth = function (depth) {
23889 if (depth === void 0) { depth = 1; }
23890 if (depth < 0) {
23891 return;
23892 }
23893 this.open = depth;
23894 this.isOpen = (depth !== 0);
23895 if (this.element) {
23896 this.removeChildren(false);
23897 if (depth === 0) {
23898 this.element.classList.remove(helpers_ts_1.cssClass('open'));
23899 }
23900 else {
23901 this.appendChildren(this.config.animateOpen);
23902 this.element.classList.add(helpers_ts_1.cssClass('open'));
23903 }
23904 }
23905 };
23906 /**
23907 * Generates inline preview
23908 *
23909 * @returns {string}
23910 */
23911 JSONFormatter.prototype.getInlinepreview = function () {
23912 var _this = this;
23913 if (this.isArray) {
23914 // if array length is greater then 100 it shows "Array[101]"
23915 if (this.json.length > this.config.hoverPreviewArrayCount) {
23916 return "Array[" + this.json.length + "]";
23917 }
23918 else {
23919 return "[" + this.json.map(helpers_ts_1.getPreview).join(', ') + "]";
23920 }
23921 }
23922 else {
23923 var keys = this.keys;
23924 // the first five keys (like Chrome Developer Tool)
23925 var narrowKeys = keys.slice(0, this.config.hoverPreviewFieldCount);
23926 // json value schematic information
23927 var kvs = narrowKeys.map(function (key) { return (key + ":" + helpers_ts_1.getPreview(_this.json[key])); });
23928 // if keys count greater then 5 then show ellipsis
23929 var ellipsis = keys.length >= this.config.hoverPreviewFieldCount ? '…' : '';
23930 return "{" + kvs.join(', ') + ellipsis + "}";
23931 }
23932 };
23933 /**
23934 * Renders an HTML element and installs event listeners
23935 *
23936 * @returns {HTMLDivElement}
23937 */
23938 JSONFormatter.prototype.render = function () {
23939 // construct the root element and assign it to this.element
23940 this.element = helpers_ts_1.createElement('div', 'row');
23941 // construct the toggler link
23942 var togglerLink = helpers_ts_1.createElement('a', 'toggler-link');
23943 // if this is an object we need a wrapper span (toggler)
23944 if (this.isObject) {
23945 togglerLink.appendChild(helpers_ts_1.createElement('span', 'toggler'));
23946 }
23947 // if this is child of a parent formatter we need to append the key
23948 if (this.hasKey) {
23949 togglerLink.appendChild(helpers_ts_1.createElement('span', 'key', this.key + ":"));
23950 }
23951 // Value for objects and arrays
23952 if (this.isObject) {
23953 // construct the value holder element
23954 var value = helpers_ts_1.createElement('span', 'value');
23955 // we need a wrapper span for objects
23956 var objectWrapperSpan = helpers_ts_1.createElement('span');
23957 // get constructor name and append it to wrapper span
23958 var constructorName = helpers_ts_1.createElement('span', 'constructor-name', this.constructorName);
23959 objectWrapperSpan.appendChild(constructorName);
23960 // if it's an array append the array specific elements like brackets and length
23961 if (this.isArray) {
23962 var arrayWrapperSpan = helpers_ts_1.createElement('span');
23963 arrayWrapperSpan.appendChild(helpers_ts_1.createElement('span', 'bracket', '['));
23964 arrayWrapperSpan.appendChild(helpers_ts_1.createElement('span', 'number', (this.json.length)));
23965 arrayWrapperSpan.appendChild(helpers_ts_1.createElement('span', 'bracket', ']'));
23966 objectWrapperSpan.appendChild(arrayWrapperSpan);
23967 }
23968 // append object wrapper span to toggler link
23969 value.appendChild(objectWrapperSpan);
23970 togglerLink.appendChild(value);
23971 }
23972 else {
23973 // make a value holder element
23974 var value = this.isUrl ? helpers_ts_1.createElement('a') : helpers_ts_1.createElement('span');
23975 // add type and other type related CSS classes
23976 value.classList.add(helpers_ts_1.cssClass(this.type));
23977 if (this.isDate) {
23978 value.classList.add(helpers_ts_1.cssClass('date'));
23979 }
23980 if (this.isUrl) {
23981 value.classList.add(helpers_ts_1.cssClass('url'));
23982 value.setAttribute('href', this.json);
23983 }
23984 // Append value content to value element
23985 var valuePreview = helpers_ts_1.getValuePreview(this.json, this.json);
23986 value.appendChild(document.createTextNode(valuePreview));
23987 // append the value element to toggler link
23988 togglerLink.appendChild(value);
23989 }
23990 // if hover preview is enabled, append the inline preview element
23991 if (this.isObject && this.config.hoverPreviewEnabled) {
23992 var preview = helpers_ts_1.createElement('span', 'preview-text');
23993 preview.appendChild(document.createTextNode(this.getInlinepreview()));
23994 togglerLink.appendChild(preview);
23995 }
23996 // construct a children element
23997 var children = helpers_ts_1.createElement('div', 'children');
23998 // set CSS classes for children
23999 if (this.isObject) {
24000 children.classList.add(helpers_ts_1.cssClass('object'));
24001 }
24002 if (this.isArray) {
24003 children.classList.add(helpers_ts_1.cssClass('array'));
24004 }
24005 if (this.isEmpty) {
24006 children.classList.add(helpers_ts_1.cssClass('empty'));
24007 }
24008 // set CSS classes for root element
24009 if (this.config && this.config.theme) {
24010 this.element.classList.add(helpers_ts_1.cssClass(this.config.theme));
24011 }
24012 if (this.isOpen) {
24013 this.element.classList.add(helpers_ts_1.cssClass('open'));
24014 }
24015 // append toggler and children elements to root element
24016 this.element.appendChild(togglerLink);
24017 this.element.appendChild(children);
24018 // if formatter is set to be open call appendChildren
24019 if (this.isObject && this.isOpen) {
24020 this.appendChildren();
24021 }
24022 // add event listener for toggling
24023 if (this.isObject) {
24024 togglerLink.addEventListener('click', this.toggleOpen.bind(this));
24025 }
24026 return this.element;
24027 };
24028 /**
24029 * Appends all the children to children element
24030 * Animated option is used when user triggers this via a click
24031 */
24032 JSONFormatter.prototype.appendChildren = function (animated) {
24033 var _this = this;
24034 if (animated === void 0) { animated = false; }
24035 var children = this.element.querySelector("div." + helpers_ts_1.cssClass('children'));
24036 if (!children || this.isEmpty) {
24037 return;
24038 }
24039 if (animated) {
24040 var index_1 = 0;
24041 var addAChild_1 = function () {
24042 var key = _this.keys[index_1];
24043 var formatter = new JSONFormatter(_this.json[key], _this.open - 1, _this.config, key);
24044 children.appendChild(formatter.render());
24045 index_1 += 1;
24046 if (index_1 < _this.keys.length) {
24047 if (index_1 > MAX_ANIMATED_TOGGLE_ITEMS) {
24048 addAChild_1();
24049 }
24050 else {
24051 requestAnimationFrame(addAChild_1);
24052 }
24053 }
24054 };
24055 requestAnimationFrame(addAChild_1);
24056 }
24057 else {
24058 this.keys.forEach(function (key) {
24059 var formatter = new JSONFormatter(_this.json[key], _this.open - 1, _this.config, key);
24060 children.appendChild(formatter.render());
24061 });
24062 }
24063 };
24064 /**
24065 * Removes all the children from children element
24066 * Animated option is used when user triggers this via a click
24067 */
24068 JSONFormatter.prototype.removeChildren = function (animated) {
24069 if (animated === void 0) { animated = false; }
24070 var childrenElement = this.element.querySelector("div." + helpers_ts_1.cssClass('children'));
24071 if (animated) {
24072 var childrenRemoved_1 = 0;
24073 var removeAChild_1 = function () {
24074 if (childrenElement && childrenElement.children.length) {
24075 childrenElement.removeChild(childrenElement.children[0]);
24076 childrenRemoved_1 += 1;
24077 if (childrenRemoved_1 > MAX_ANIMATED_TOGGLE_ITEMS) {
24078 removeAChild_1();
24079 }
24080 else {
24081 requestAnimationFrame(removeAChild_1);
24082 }
24083 }
24084 };
24085 requestAnimationFrame(removeAChild_1);
24086 }
24087 else {
24088 if (childrenElement) {
24089 childrenElement.innerHTML = '';
24090 }
24091 }
24092 };
24093 return JSONFormatter;
24094 }());
24095
24096
24097/***/ },
24098/* 2 */
24099/***/ function(module, exports, __webpack_require__) {
24100
24101 // style-loader: Adds some css to the DOM by adding a <style> tag
tragait5e9676e2021-01-14 16:07:07 +000024102
seshukmb3a332a2018-10-05 16:27:16 +080024103 // load the styles
24104 var content = __webpack_require__(3);
24105 if(typeof content === 'string') content = [[module.id, content, '']];
24106 // add the styles to the DOM
24107 var update = __webpack_require__(5)(content, {"sourceMap":true});
24108 if(content.locals) module.exports = content.locals;
24109 // Hot Module Replacement
24110 if(false) {
24111 // When the styles change, update the <style> tags
24112 if(!content.locals) {
24113 module.hot.accept("!!./../node_modules/css-loader/index.js?sourceMap!./../node_modules/less-loader/index.js?sourceMap!./style.less", function() {
24114 var newContent = require("!!./../node_modules/css-loader/index.js?sourceMap!./../node_modules/less-loader/index.js?sourceMap!./style.less");
24115 if(typeof newContent === 'string') newContent = [[module.id, newContent, '']];
24116 update(newContent);
24117 });
24118 }
24119 // When the module is disposed, remove the <style> tags
24120 module.hot.dispose(function() { update(); });
24121 }
24122
24123/***/ },
24124/* 3 */
24125/***/ function(module, exports, __webpack_require__) {
24126
24127 exports = module.exports = __webpack_require__(4)();
24128 // imports
tragait5e9676e2021-01-14 16:07:07 +000024129
24130
seshukmb3a332a2018-10-05 16:27:16 +080024131 // module
24132 exports.push([module.id, ".json-formatter-row {\n font-family: monospace;\n}\n.json-formatter-row,\n.json-formatter-row a,\n.json-formatter-row a:hover {\n color: black;\n text-decoration: none;\n}\n.json-formatter-row .json-formatter-row {\n margin-left: 1rem;\n}\n.json-formatter-row .json-formatter-children.json-formatter-empty {\n opacity: 0.5;\n margin-left: 1rem;\n}\n.json-formatter-row .json-formatter-children.json-formatter-empty:after {\n display: none;\n}\n.json-formatter-row .json-formatter-children.json-formatter-empty.json-formatter-object:after {\n content: \"No properties\";\n}\n.json-formatter-row .json-formatter-children.json-formatter-empty.json-formatter-array:after {\n content: \"[]\";\n}\n.json-formatter-row .json-formatter-string {\n color: green;\n white-space: pre;\n word-wrap: break-word;\n}\n.json-formatter-row .json-formatter-number {\n color: blue;\n}\n.json-formatter-row .json-formatter-boolean {\n color: red;\n}\n.json-formatter-row .json-formatter-null {\n color: #855A00;\n}\n.json-formatter-row .json-formatter-undefined {\n color: #ca0b69;\n}\n.json-formatter-row .json-formatter-function {\n color: #FF20ED;\n}\n.json-formatter-row .json-formatter-date {\n background-color: rgba(0, 0, 0, 0.05);\n}\n.json-formatter-row .json-formatter-url {\n text-decoration: underline;\n color: blue;\n cursor: pointer;\n}\n.json-formatter-row .json-formatter-bracket {\n color: blue;\n}\n.json-formatter-row .json-formatter-key {\n color: #00008B;\n cursor: pointer;\n padding-right: 0.2rem;\n}\n.json-formatter-row .json-formatter-constructor-name {\n cursor: pointer;\n}\n.json-formatter-row .json-formatter-toggler {\n line-height: 1.2rem;\n font-size: 0.7rem;\n vertical-align: middle;\n opacity: 0.6;\n cursor: pointer;\n padding-right: 0.2rem;\n}\n.json-formatter-row .json-formatter-toggler:after {\n display: inline-block;\n transition: transform 100ms ease-in;\n content: \"\\25BA\";\n}\n.json-formatter-row > a > .json-formatter-preview-text {\n opacity: 0;\n transition: opacity 0.15s ease-in;\n font-style: italic;\n}\n.json-formatter-row:hover > a > .json-formatter-preview-text {\n opacity: 0.6;\n}\n.json-formatter-row.json-formatter-open > .json-formatter-toggler-link .json-formatter-toggler:after {\n transform: rotate(90deg);\n}\n.json-formatter-row.json-formatter-open > .json-formatter-children:after {\n display: inline-block;\n}\n.json-formatter-row.json-formatter-open > a > .json-formatter-preview-text {\n display: none;\n}\n.json-formatter-row.json-formatter-open.json-formatter-empty:after {\n display: block;\n}\n.json-formatter-dark.json-formatter-row {\n font-family: monospace;\n}\n.json-formatter-dark.json-formatter-row,\n.json-formatter-dark.json-formatter-row a,\n.json-formatter-dark.json-formatter-row a:hover {\n color: white;\n text-decoration: none;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-row {\n margin-left: 1rem;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-children.json-formatter-empty {\n opacity: 0.5;\n margin-left: 1rem;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-children.json-formatter-empty:after {\n display: none;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-children.json-formatter-empty.json-formatter-object:after {\n content: \"No properties\";\n}\n.json-formatter-dark.json-formatter-row .json-formatter-children.json-formatter-empty.json-formatter-array:after {\n content: \"[]\";\n}\n.json-formatter-dark.json-formatter-row .json-formatter-string {\n color: #31F031;\n white-space: pre;\n word-wrap: break-word;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-number {\n color: #66C2FF;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-boolean {\n color: #EC4242;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-null {\n color: #EEC97D;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-undefined {\n color: #ef8fbe;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-function {\n color: #FD48CB;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-date {\n background-color: rgba(255, 255, 255, 0.05);\n}\n.json-formatter-dark.json-formatter-row .json-formatter-url {\n text-decoration: underline;\n color: #027BFF;\n cursor: pointer;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-bracket {\n color: #9494FF;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-key {\n color: #23A0DB;\n cursor: pointer;\n padding-right: 0.2rem;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-constructor-name {\n cursor: pointer;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-toggler {\n line-height: 1.2rem;\n font-size: 0.7rem;\n vertical-align: middle;\n opacity: 0.6;\n cursor: pointer;\n padding-right: 0.2rem;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-toggler:after {\n display: inline-block;\n transition: transform 100ms ease-in;\n content: \"\\25BA\";\n}\n.json-formatter-dark.json-formatter-row > a > .json-formatter-preview-text {\n opacity: 0;\n transition: opacity 0.15s ease-in;\n font-style: italic;\n}\n.json-formatter-dark.json-formatter-row:hover > a > .json-formatter-preview-text {\n opacity: 0.6;\n}\n.json-formatter-dark.json-formatter-row.json-formatter-open > .json-formatter-toggler-link .json-formatter-toggler:after {\n transform: rotate(90deg);\n}\n.json-formatter-dark.json-formatter-row.json-formatter-open > .json-formatter-children:after {\n display: inline-block;\n}\n.json-formatter-dark.json-formatter-row.json-formatter-open > a > .json-formatter-preview-text {\n display: none;\n}\n.json-formatter-dark.json-formatter-row.json-formatter-open.json-formatter-empty:after {\n display: block;\n}\n", "", {"version":3,"sources":["/./src/style.less","/./src/style.less"],"names":[],"mappings":"AA0GA;EA3FE,uBAAA;CCbD;ADcC;;;EACE,aAAA;EACA,sBAAA;CCVH;ADkGD;EApFI,kBAAA;CCXH;ADeG;EACE,aAAA;EACA,kBAAA;CCbL;ADeK;EAAU,cAAA;CCZf;ADaK;EAAgC,yBAAA;CCVrC;ADWK;EAA+B,cAAA;CCRpC;ADkFD;EArEI,aAAA;EACA,iBAAA;EACA,sBAAA;CCVH;AD6ED;EAjE2B,YAAA;CCT1B;AD0ED;EAhE4B,WAAA;CCP3B;ADuED;EA/DyB,eAAA;CCLxB;ADoED;EA9D8B,eAAA;CCH7B;ADiED;EA7D6B,eAAA;CCD5B;AD8DD;EA5DyB,sCAAA;CCCxB;AD2DD;EA1DI,2BAAA;EACA,YAAA;EACA,gBAAA;CCEH;ADsDD;EArD4B,YAAA;CCE3B;ADmDD;EAnDI,eAAA;EACA,gBAAA;EACA,sBAAA;CCGH;AD8CD;EA9CI,gBAAA;CCGH;AD2CD;EA1CI,oBAAA;EACA,kBAAA;EACA,uBAAA;EACA,aAAA;EACA,gBAAA;EACA,sBAAA;CCEH;ADAG;EACE,sBAAA;EACA,oCAAA;EACA,iBAAA;CCEL;AD8BD;EA1BI,WAAA;EACA,kCAAA;EACA,mBAAA;CCDH;ADGC;EACE,aAAA;CCDH;ADKC;EAEI,yBAAA;CCJL;ADEC;EAKI,sBAAA;CCJL;ADDC;EAQI,cAAA;CCJL;ADMG;EACE,eAAA;CCJL;ADeD;EAhGE,uBAAA;CCoFD;ADnFC;;;EACE,aAAA;EACA,sBAAA;CCuFH;ADMD;EAzFI,kBAAA;CCsFH;ADlFG;EACE,aAAA;EACA,kBAAA;CCoFL;ADlFK;EAAU,cAAA;CCqFf;ADpFK;EAAgC,yBAAA;CCuFrC;ADtFK;EAA+B,cAAA;CCyFpC;ADVD;EA1EI,eAAA;EACA,iBAAA;EACA,sBAAA;CCuFH;ADfD;EAtE2B,eAAA;CCwF1B;ADlBD;EArE4B,eAAA;CC0F3B;ADrBD;EApEyB,eAAA;CC4FxB;ADxBD;EAnE8B,eAAA;CC8F7B;AD3BD;EAlE6B,eAAA;CCgG5B;AD9BD;EAjEyB,4CAAA;CCkGxB;ADjCD;EA/DI,2BAAA;EACA,eAAA;EACA,gBAAA;CCmGH;ADtCD;EA1D4B,eAAA;CCmG3B;ADzCD;EAxDI,eAAA;EACA,gBAAA;EACA,sBAAA;CCoGH;AD9CD;EAnDI,gBAAA;CCoGH;ADjDD;EA/CI,oBAAA;EACA,kBAAA;EACA,uBAAA;EACA,aAAA;EACA,gBAAA;EACA,sBAAA;CCmGH;ADjGG;EACE,sBAAA;EACA,oCAAA;EACA,iBAAA;CCmGL;AD9DD;EA/BI,WAAA;EACA,kCAAA;EACA,mBAAA;CCgGH;AD9FC;EACE,aAAA;CCgGH;AD5FC;EAEI,yBAAA;CC6FL;AD/FC;EAKI,sBAAA;CC6FL;ADlGC;EAQI,cAAA;CC6FL;AD3FG;EACE,eAAA;CC6FL","file":"style.less","sourcesContent":[".theme(\n @default-color: black,\n @string-color: green,\n @number-color: blue,\n @boolean-color: red,\n @null-color: #855A00,\n @undefined-color: rgb(202, 11, 105),\n @function-color: #FF20ED,\n @rotate-time: 100ms,\n @toggler-opacity: 0.6,\n @toggler-color: #45376F,\n @bracket-color: blue,\n @key-color: #00008B,\n @url-color: blue ){\n\n font-family: monospace;\n &, a, a:hover {\n color: @default-color;\n text-decoration: none;\n }\n\n .json-formatter-row {\n margin-left: 1rem;\n }\n\n .json-formatter-children {\n &.json-formatter-empty {\n opacity: 0.5;\n margin-left: 1rem;\n\n &:after { display: none; }\n &.json-formatter-object:after { content: \"No properties\"; }\n &.json-formatter-array:after { content: \"[]\"; }\n }\n }\n\n .json-formatter-string {\n color: @string-color;\n white-space: pre;\n word-wrap: break-word;\n }\n .json-formatter-number { color: @number-color; }\n .json-formatter-boolean { color: @boolean-color; }\n .json-formatter-null { color: @null-color; }\n .json-formatter-undefined { color: @undefined-color; }\n .json-formatter-function { color: @function-color; }\n .json-formatter-date { background-color: fade(@default-color, 5%); }\n .json-formatter-url {\n text-decoration: underline;\n color: @url-color;\n cursor: pointer;\n }\n\n .json-formatter-bracket { color: @bracket-color; }\n .json-formatter-key {\n color: @key-color;\n cursor: pointer;\n padding-right: 0.2rem;\n }\n .json-formatter-constructor-name {\n cursor: pointer;\n }\n\n .json-formatter-toggler {\n line-height: 1.2rem;\n font-size: 0.7rem;\n vertical-align: middle;\n opacity: @toggler-opacity;\n cursor: pointer;\n padding-right: 0.2rem;\n\n &:after {\n display: inline-block;\n transition: transform @rotate-time ease-in;\n content: \"►\";\n }\n }\n\n // Inline preview on hover (optional)\n > a > .json-formatter-preview-text {\n opacity: 0;\n transition: opacity .15s ease-in;\n font-style: italic;\n }\n &:hover > a > .json-formatter-preview-text {\n opacity: 0.6;\n }\n\n // Open state\n &.json-formatter-open {\n > .json-formatter-toggler-link .json-formatter-toggler:after{\n transform: rotate(90deg);\n }\n > .json-formatter-children:after {\n display: inline-block;\n }\n > a > .json-formatter-preview-text {\n display: none;\n }\n &.json-formatter-empty:after {\n display: block;\n }\n }\n}\n\n// Default theme\n.json-formatter-row {\n .theme();\n}\n\n// Dark theme\n.json-formatter-dark.json-formatter-row {\n .theme(\n @default-color: white,\n @string-color: #31F031,\n @number-color: #66C2FF,\n @boolean-color: #EC4242,\n @null-color: #EEC97D,\n @undefined-color: rgb(239, 143, 190),\n @function-color: #FD48CB,\n @rotate-time: 100ms,\n @toggler-opacity: 0.6,\n @toggler-color: #45376F,\n @bracket-color: #9494FF,\n @key-color: #23A0DB,\n @url-color: #027BFF);\n}\n",".json-formatter-row {\n font-family: monospace;\n}\n.json-formatter-row,\n.json-formatter-row a,\n.json-formatter-row a:hover {\n color: black;\n text-decoration: none;\n}\n.json-formatter-row .json-formatter-row {\n margin-left: 1rem;\n}\n.json-formatter-row .json-formatter-children.json-formatter-empty {\n opacity: 0.5;\n margin-left: 1rem;\n}\n.json-formatter-row .json-formatter-children.json-formatter-empty:after {\n display: none;\n}\n.json-formatter-row .json-formatter-children.json-formatter-empty.json-formatter-object:after {\n content: \"No properties\";\n}\n.json-formatter-row .json-formatter-children.json-formatter-empty.json-formatter-array:after {\n content: \"[]\";\n}\n.json-formatter-row .json-formatter-string {\n color: green;\n white-space: pre;\n word-wrap: break-word;\n}\n.json-formatter-row .json-formatter-number {\n color: blue;\n}\n.json-formatter-row .json-formatter-boolean {\n color: red;\n}\n.json-formatter-row .json-formatter-null {\n color: #855A00;\n}\n.json-formatter-row .json-formatter-undefined {\n color: #ca0b69;\n}\n.json-formatter-row .json-formatter-function {\n color: #FF20ED;\n}\n.json-formatter-row .json-formatter-date {\n background-color: rgba(0, 0, 0, 0.05);\n}\n.json-formatter-row .json-formatter-url {\n text-decoration: underline;\n color: blue;\n cursor: pointer;\n}\n.json-formatter-row .json-formatter-bracket {\n color: blue;\n}\n.json-formatter-row .json-formatter-key {\n color: #00008B;\n cursor: pointer;\n padding-right: 0.2rem;\n}\n.json-formatter-row .json-formatter-constructor-name {\n cursor: pointer;\n}\n.json-formatter-row .json-formatter-toggler {\n line-height: 1.2rem;\n font-size: 0.7rem;\n vertical-align: middle;\n opacity: 0.6;\n cursor: pointer;\n padding-right: 0.2rem;\n}\n.json-formatter-row .json-formatter-toggler:after {\n display: inline-block;\n transition: transform 100ms ease-in;\n content: \"►\";\n}\n.json-formatter-row > a > .json-formatter-preview-text {\n opacity: 0;\n transition: opacity 0.15s ease-in;\n font-style: italic;\n}\n.json-formatter-row:hover > a > .json-formatter-preview-text {\n opacity: 0.6;\n}\n.json-formatter-row.json-formatter-open > .json-formatter-toggler-link .json-formatter-toggler:after {\n transform: rotate(90deg);\n}\n.json-formatter-row.json-formatter-open > .json-formatter-children:after {\n display: inline-block;\n}\n.json-formatter-row.json-formatter-open > a > .json-formatter-preview-text {\n display: none;\n}\n.json-formatter-row.json-formatter-open.json-formatter-empty:after {\n display: block;\n}\n.json-formatter-dark.json-formatter-row {\n font-family: monospace;\n}\n.json-formatter-dark.json-formatter-row,\n.json-formatter-dark.json-formatter-row a,\n.json-formatter-dark.json-formatter-row a:hover {\n color: white;\n text-decoration: none;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-row {\n margin-left: 1rem;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-children.json-formatter-empty {\n opacity: 0.5;\n margin-left: 1rem;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-children.json-formatter-empty:after {\n display: none;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-children.json-formatter-empty.json-formatter-object:after {\n content: \"No properties\";\n}\n.json-formatter-dark.json-formatter-row .json-formatter-children.json-formatter-empty.json-formatter-array:after {\n content: \"[]\";\n}\n.json-formatter-dark.json-formatter-row .json-formatter-string {\n color: #31F031;\n white-space: pre;\n word-wrap: break-word;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-number {\n color: #66C2FF;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-boolean {\n color: #EC4242;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-null {\n color: #EEC97D;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-undefined {\n color: #ef8fbe;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-function {\n color: #FD48CB;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-date {\n background-color: rgba(255, 255, 255, 0.05);\n}\n.json-formatter-dark.json-formatter-row .json-formatter-url {\n text-decoration: underline;\n color: #027BFF;\n cursor: pointer;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-bracket {\n color: #9494FF;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-key {\n color: #23A0DB;\n cursor: pointer;\n padding-right: 0.2rem;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-constructor-name {\n cursor: pointer;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-toggler {\n line-height: 1.2rem;\n font-size: 0.7rem;\n vertical-align: middle;\n opacity: 0.6;\n cursor: pointer;\n padding-right: 0.2rem;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-toggler:after {\n display: inline-block;\n transition: transform 100ms ease-in;\n content: \"►\";\n}\n.json-formatter-dark.json-formatter-row > a > .json-formatter-preview-text {\n opacity: 0;\n transition: opacity 0.15s ease-in;\n font-style: italic;\n}\n.json-formatter-dark.json-formatter-row:hover > a > .json-formatter-preview-text {\n opacity: 0.6;\n}\n.json-formatter-dark.json-formatter-row.json-formatter-open > .json-formatter-toggler-link .json-formatter-toggler:after {\n transform: rotate(90deg);\n}\n.json-formatter-dark.json-formatter-row.json-formatter-open > .json-formatter-children:after {\n display: inline-block;\n}\n.json-formatter-dark.json-formatter-row.json-formatter-open > a > .json-formatter-preview-text {\n display: none;\n}\n.json-formatter-dark.json-formatter-row.json-formatter-open.json-formatter-empty:after {\n display: block;\n}\n"],"sourceRoot":"webpack://"}]);
tragait5e9676e2021-01-14 16:07:07 +000024133
seshukmb3a332a2018-10-05 16:27:16 +080024134 // exports
24135
24136
24137/***/ },
24138/* 4 */
24139/***/ function(module, exports) {
24140
24141 /*
24142 MIT License http://www.opensource.org/licenses/mit-license.php
24143 Author Tobias Koppers @sokra
24144 */
24145 // css base code, injected by the css-loader
24146 module.exports = function() {
24147 var list = [];
tragait5e9676e2021-01-14 16:07:07 +000024148
seshukmb3a332a2018-10-05 16:27:16 +080024149 // return the list of modules as css string
24150 list.toString = function toString() {
24151 var result = [];
24152 for(var i = 0; i < this.length; i++) {
24153 var item = this[i];
24154 if(item[2]) {
24155 result.push("@media " + item[2] + "{" + item[1] + "}");
24156 } else {
24157 result.push(item[1]);
24158 }
24159 }
24160 return result.join("");
24161 };
tragait5e9676e2021-01-14 16:07:07 +000024162
seshukmb3a332a2018-10-05 16:27:16 +080024163 // import a list of modules into the list
24164 list.i = function(modules, mediaQuery) {
24165 if(typeof modules === "string")
24166 modules = [[null, modules, ""]];
24167 var alreadyImportedModules = {};
24168 for(var i = 0; i < this.length; i++) {
24169 var id = this[i][0];
24170 if(typeof id === "number")
24171 alreadyImportedModules[id] = true;
24172 }
24173 for(i = 0; i < modules.length; i++) {
24174 var item = modules[i];
24175 // skip already imported module
24176 // this implementation is not 100% perfect for weird media query combinations
24177 // when a module is imported multiple times with different media queries.
24178 // I hope this will never occur (Hey this way we have smaller bundles)
24179 if(typeof item[0] !== "number" || !alreadyImportedModules[item[0]]) {
24180 if(mediaQuery && !item[2]) {
24181 item[2] = mediaQuery;
24182 } else if(mediaQuery) {
24183 item[2] = "(" + item[2] + ") and (" + mediaQuery + ")";
24184 }
24185 list.push(item);
24186 }
24187 }
24188 };
24189 return list;
24190 };
24191
24192
24193/***/ },
24194/* 5 */
24195/***/ function(module, exports, __webpack_require__) {
24196
24197 /*
24198 MIT License http://www.opensource.org/licenses/mit-license.php
24199 Author Tobias Koppers @sokra
24200 */
24201 var stylesInDom = {},
24202 memoize = function(fn) {
24203 var memo;
24204 return function () {
24205 if (typeof memo === "undefined") memo = fn.apply(this, arguments);
24206 return memo;
24207 };
24208 },
24209 isOldIE = memoize(function() {
24210 return /msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase());
24211 }),
24212 getHeadElement = memoize(function () {
24213 return document.head || document.getElementsByTagName("head")[0];
24214 }),
24215 singletonElement = null,
24216 singletonCounter = 0,
24217 styleElementsInsertedAtTop = [];
tragait5e9676e2021-01-14 16:07:07 +000024218
seshukmb3a332a2018-10-05 16:27:16 +080024219 module.exports = function(list, options) {
24220 if(false) {
24221 if(typeof document !== "object") throw new Error("The style-loader cannot be used in a non-browser environment");
24222 }
tragait5e9676e2021-01-14 16:07:07 +000024223
seshukmb3a332a2018-10-05 16:27:16 +080024224 options = options || {};
24225 // Force single-tag solution on IE6-9, which has a hard limit on the # of <style>
24226 // tags it will allow on a page
24227 if (typeof options.singleton === "undefined") options.singleton = isOldIE();
tragait5e9676e2021-01-14 16:07:07 +000024228
seshukmb3a332a2018-10-05 16:27:16 +080024229 // By default, add <style> tags to the bottom of <head>.
24230 if (typeof options.insertAt === "undefined") options.insertAt = "bottom";
tragait5e9676e2021-01-14 16:07:07 +000024231
seshukmb3a332a2018-10-05 16:27:16 +080024232 var styles = listToStyles(list);
24233 addStylesToDom(styles, options);
tragait5e9676e2021-01-14 16:07:07 +000024234
seshukmb3a332a2018-10-05 16:27:16 +080024235 return function update(newList) {
24236 var mayRemove = [];
24237 for(var i = 0; i < styles.length; i++) {
24238 var item = styles[i];
24239 var domStyle = stylesInDom[item.id];
24240 domStyle.refs--;
24241 mayRemove.push(domStyle);
24242 }
24243 if(newList) {
24244 var newStyles = listToStyles(newList);
24245 addStylesToDom(newStyles, options);
24246 }
24247 for(var i = 0; i < mayRemove.length; i++) {
24248 var domStyle = mayRemove[i];
24249 if(domStyle.refs === 0) {
24250 for(var j = 0; j < domStyle.parts.length; j++)
24251 domStyle.parts[j]();
24252 delete stylesInDom[domStyle.id];
24253 }
24254 }
24255 };
24256 }
tragait5e9676e2021-01-14 16:07:07 +000024257
seshukmb3a332a2018-10-05 16:27:16 +080024258 function addStylesToDom(styles, options) {
24259 for(var i = 0; i < styles.length; i++) {
24260 var item = styles[i];
24261 var domStyle = stylesInDom[item.id];
24262 if(domStyle) {
24263 domStyle.refs++;
24264 for(var j = 0; j < domStyle.parts.length; j++) {
24265 domStyle.parts[j](item.parts[j]);
24266 }
24267 for(; j < item.parts.length; j++) {
24268 domStyle.parts.push(addStyle(item.parts[j], options));
24269 }
24270 } else {
24271 var parts = [];
24272 for(var j = 0; j < item.parts.length; j++) {
24273 parts.push(addStyle(item.parts[j], options));
24274 }
24275 stylesInDom[item.id] = {id: item.id, refs: 1, parts: parts};
24276 }
24277 }
24278 }
tragait5e9676e2021-01-14 16:07:07 +000024279
seshukmb3a332a2018-10-05 16:27:16 +080024280 function listToStyles(list) {
24281 var styles = [];
24282 var newStyles = {};
24283 for(var i = 0; i < list.length; i++) {
24284 var item = list[i];
24285 var id = item[0];
24286 var css = item[1];
24287 var media = item[2];
24288 var sourceMap = item[3];
24289 var part = {css: css, media: media, sourceMap: sourceMap};
24290 if(!newStyles[id])
24291 styles.push(newStyles[id] = {id: id, parts: [part]});
24292 else
24293 newStyles[id].parts.push(part);
24294 }
24295 return styles;
24296 }
tragait5e9676e2021-01-14 16:07:07 +000024297
seshukmb3a332a2018-10-05 16:27:16 +080024298 function insertStyleElement(options, styleElement) {
24299 var head = getHeadElement();
24300 var lastStyleElementInsertedAtTop = styleElementsInsertedAtTop[styleElementsInsertedAtTop.length - 1];
24301 if (options.insertAt === "top") {
24302 if(!lastStyleElementInsertedAtTop) {
24303 head.insertBefore(styleElement, head.firstChild);
24304 } else if(lastStyleElementInsertedAtTop.nextSibling) {
24305 head.insertBefore(styleElement, lastStyleElementInsertedAtTop.nextSibling);
24306 } else {
24307 head.appendChild(styleElement);
24308 }
24309 styleElementsInsertedAtTop.push(styleElement);
24310 } else if (options.insertAt === "bottom") {
24311 head.appendChild(styleElement);
24312 } else {
24313 throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");
24314 }
24315 }
tragait5e9676e2021-01-14 16:07:07 +000024316
seshukmb3a332a2018-10-05 16:27:16 +080024317 function removeStyleElement(styleElement) {
24318 styleElement.parentNode.removeChild(styleElement);
24319 var idx = styleElementsInsertedAtTop.indexOf(styleElement);
24320 if(idx >= 0) {
24321 styleElementsInsertedAtTop.splice(idx, 1);
24322 }
24323 }
tragait5e9676e2021-01-14 16:07:07 +000024324
seshukmb3a332a2018-10-05 16:27:16 +080024325 function createStyleElement(options) {
24326 var styleElement = document.createElement("style");
24327 styleElement.type = "text/css";
24328 insertStyleElement(options, styleElement);
24329 return styleElement;
24330 }
tragait5e9676e2021-01-14 16:07:07 +000024331
seshukmb3a332a2018-10-05 16:27:16 +080024332 function createLinkElement(options) {
24333 var linkElement = document.createElement("link");
24334 linkElement.rel = "stylesheet";
24335 insertStyleElement(options, linkElement);
24336 return linkElement;
24337 }
tragait5e9676e2021-01-14 16:07:07 +000024338
seshukmb3a332a2018-10-05 16:27:16 +080024339 function addStyle(obj, options) {
24340 var styleElement, update, remove;
tragait5e9676e2021-01-14 16:07:07 +000024341
seshukmb3a332a2018-10-05 16:27:16 +080024342 if (options.singleton) {
24343 var styleIndex = singletonCounter++;
24344 styleElement = singletonElement || (singletonElement = createStyleElement(options));
24345 update = applyToSingletonTag.bind(null, styleElement, styleIndex, false);
24346 remove = applyToSingletonTag.bind(null, styleElement, styleIndex, true);
24347 } else if(obj.sourceMap &&
24348 typeof URL === "function" &&
24349 typeof URL.createObjectURL === "function" &&
24350 typeof URL.revokeObjectURL === "function" &&
24351 typeof Blob === "function" &&
24352 typeof btoa === "function") {
24353 styleElement = createLinkElement(options);
24354 update = updateLink.bind(null, styleElement);
24355 remove = function() {
24356 removeStyleElement(styleElement);
24357 if(styleElement.href)
24358 URL.revokeObjectURL(styleElement.href);
24359 };
24360 } else {
24361 styleElement = createStyleElement(options);
24362 update = applyToTag.bind(null, styleElement);
24363 remove = function() {
24364 removeStyleElement(styleElement);
24365 };
24366 }
tragait5e9676e2021-01-14 16:07:07 +000024367
seshukmb3a332a2018-10-05 16:27:16 +080024368 update(obj);
tragait5e9676e2021-01-14 16:07:07 +000024369
seshukmb3a332a2018-10-05 16:27:16 +080024370 return function updateStyle(newObj) {
24371 if(newObj) {
24372 if(newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap)
24373 return;
24374 update(obj = newObj);
24375 } else {
24376 remove();
24377 }
24378 };
24379 }
tragait5e9676e2021-01-14 16:07:07 +000024380
seshukmb3a332a2018-10-05 16:27:16 +080024381 var replaceText = (function () {
24382 var textStore = [];
tragait5e9676e2021-01-14 16:07:07 +000024383
seshukmb3a332a2018-10-05 16:27:16 +080024384 return function (index, replacement) {
24385 textStore[index] = replacement;
24386 return textStore.filter(Boolean).join('\n');
24387 };
24388 })();
tragait5e9676e2021-01-14 16:07:07 +000024389
seshukmb3a332a2018-10-05 16:27:16 +080024390 function applyToSingletonTag(styleElement, index, remove, obj) {
24391 var css = remove ? "" : obj.css;
tragait5e9676e2021-01-14 16:07:07 +000024392
seshukmb3a332a2018-10-05 16:27:16 +080024393 if (styleElement.styleSheet) {
24394 styleElement.styleSheet.cssText = replaceText(index, css);
24395 } else {
24396 var cssNode = document.createTextNode(css);
24397 var childNodes = styleElement.childNodes;
24398 if (childNodes[index]) styleElement.removeChild(childNodes[index]);
24399 if (childNodes.length) {
24400 styleElement.insertBefore(cssNode, childNodes[index]);
24401 } else {
24402 styleElement.appendChild(cssNode);
24403 }
24404 }
24405 }
tragait5e9676e2021-01-14 16:07:07 +000024406
seshukmb3a332a2018-10-05 16:27:16 +080024407 function applyToTag(styleElement, obj) {
24408 var css = obj.css;
24409 var media = obj.media;
tragait5e9676e2021-01-14 16:07:07 +000024410
seshukmb3a332a2018-10-05 16:27:16 +080024411 if(media) {
24412 styleElement.setAttribute("media", media)
24413 }
tragait5e9676e2021-01-14 16:07:07 +000024414
seshukmb3a332a2018-10-05 16:27:16 +080024415 if(styleElement.styleSheet) {
24416 styleElement.styleSheet.cssText = css;
24417 } else {
24418 while(styleElement.firstChild) {
24419 styleElement.removeChild(styleElement.firstChild);
24420 }
24421 styleElement.appendChild(document.createTextNode(css));
24422 }
24423 }
tragait5e9676e2021-01-14 16:07:07 +000024424
seshukmb3a332a2018-10-05 16:27:16 +080024425 function updateLink(linkElement, obj) {
24426 var css = obj.css;
24427 var sourceMap = obj.sourceMap;
tragait5e9676e2021-01-14 16:07:07 +000024428
seshukmb3a332a2018-10-05 16:27:16 +080024429 if(sourceMap) {
24430 // https://developer.mozilla.org/en/docs/Web/API/WindowBase64/Base64_encoding_and_decoding
24431 css += "\n/*# sourceMappingURL=data:application/json;base64," + btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))) + " */";
24432 }
tragait5e9676e2021-01-14 16:07:07 +000024433
seshukmb3a332a2018-10-05 16:27:16 +080024434 var blob = new Blob([css], { type: "text/css" });
tragait5e9676e2021-01-14 16:07:07 +000024435
seshukmb3a332a2018-10-05 16:27:16 +080024436 var oldSrc = linkElement.href;
tragait5e9676e2021-01-14 16:07:07 +000024437
seshukmb3a332a2018-10-05 16:27:16 +080024438 linkElement.href = URL.createObjectURL(blob);
tragait5e9676e2021-01-14 16:07:07 +000024439
seshukmb3a332a2018-10-05 16:27:16 +080024440 if(oldSrc)
24441 URL.revokeObjectURL(oldSrc);
24442 }
24443
24444
24445/***/ },
24446/* 6 */
24447/***/ function(module, exports) {
24448
24449 "use strict";
24450 /*
24451 * Escapes `"` characters from string
24452 */
24453 function escapeString(str) {
24454 return str.replace('"', '\"');
24455 }
24456 /*
24457 * Determines if a value is an object
24458 */
24459 function isObject(value) {
24460 var type = typeof value;
24461 return !!value && (type == 'object');
24462 }
24463 exports.isObject = isObject;
24464 /*
24465 * Gets constructor name of an object.
24466 *
24467 */
24468 function getObjectName(object) {
24469 if (object === undefined) {
24470 return '';
24471 }
24472 if (object === null || (typeof object === 'object' && !object.constructor)) {
24473 return 'Object';
24474 }
24475 var funcNameRegex = /function ([^(]*)/;
24476 var results = (funcNameRegex).exec((object).constructor.toString());
24477 if (results && results.length > 1) {
24478 return results[1];
24479 } else {
24480 return '';
24481 }
24482 }
24483 exports.getObjectName = getObjectName;
24484 /*
24485 * Gets type of an object. Returns "null" for null objects
24486 */
24487 function getType(object) {
24488 if (object === null) {
24489 return 'null';
24490 }
24491 return typeof object;
24492 }
24493 exports.getType = getType;
24494 /*
24495 * Generates inline preview for a JavaScript object based on a value
24496 */
24497 function getValuePreview(object, value) {
24498 var type = getType(object);
24499 if (type === 'null' || type === 'undefined') {
24500 return type;
24501 }
24502 if (type === 'string') {
24503 value = '"' + escapeString(value) + '"';
24504 }
24505 if (type === 'function') {
24506 // Remove content of the function
24507 return object.toString()
24508 .replace(/[\r\n]/g, '')
24509 .replace(/\{.*\}/, '') + '{…}';
24510 }
24511 return value;
24512 }
24513 exports.getValuePreview = getValuePreview;
24514 /*
24515 * Generates inline preview for a JavaScript object
24516 */
24517 function getPreview(object) {
24518 var value = '';
24519 if (isObject(object)) {
24520 value = getObjectName(object);
24521 if (Array.isArray(object))
24522 value += '[' + object.length + ']';
24523 }
24524 else {
24525 value = getValuePreview(object, object);
24526 }
24527 return value;
24528 }
24529 exports.getPreview = getPreview;
24530 /*
24531 * Generates a prefixed CSS class name
24532 */
24533 function cssClass(className) {
24534 return "json-formatter-" + className;
24535 }
24536 exports.cssClass = cssClass;
24537 /*
24538 * Creates a new DOM element with given type and class
24539 * TODO: move me to helpers
24540 */
24541 function createElement(type, className, content) {
24542 var el = document.createElement(type);
24543 if (className) {
24544 el.classList.add(cssClass(className));
24545 }
24546 if (content !== undefined) {
24547 if (content instanceof Node) {
24548 el.appendChild(content);
24549 }
24550 else {
24551 el.appendChild(document.createTextNode(String(content)));
24552 }
24553 }
24554 return el;
24555 }
24556 exports.createElement = createElement;
24557
24558
24559/***/ }
24560/******/ ])
24561});
24562;
24563//# sourceMappingURL=json-formatter.js.map
24564
24565</script>
24566
tragait5e9676e2021-01-14 16:07:07 +000024567<script>
seshukmb3a332a2018-10-05 16:27:16 +080024568
24569(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.JSONSchemaView = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
24570'use strict';
24571/*
24572 * Converts anyOf, allOf and oneOf to human readable string
24573*/
24574Object.defineProperty(exports, '__esModule', {
24575 value: true
24576});
24577exports.convertXOf = convertXOf;
24578exports._if = _if;
24579
24580function convertXOf(type) {
24581 return type.substring(0, 3) + ' of';
24582}
24583
24584/*
24585 * if condition for ES6 template strings
24586 * to be used only in template string
24587 *
24588 * @example mystr = `Random is ${_if(Math.random() > 0.5)`greater than 0.5``
24589 *
24590 * @param {boolean} condition
24591 *
24592 * @returns {function} the template function
24593*/
24594
24595function _if(condition) {
24596 return condition ? normal : empty;
24597}
24598
24599function empty() {
24600 return '';
24601}
24602function normal(template) {
24603 for (var _len = arguments.length, expressions = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
24604 expressions[_key - 1] = arguments[_key];
24605 }
24606
24607 return template.slice(1).reduce(function (accumulator, part, i) {
24608 return accumulator + expressions[i] + part;
24609 }, template[0]);
24610}
24611
24612},{}],2:[function(require,module,exports){
24613'use strict';
24614
24615/* globals JSONSchemaView */
24616
24617Object.defineProperty(exports, '__esModule', {
24618 value: true
24619});
24620
24621var _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })();
24622
24623var _templateObject = _taggedTemplateLiteral(['\n <div class="any">\n ', '\n\n <span class="type type-any">&lt;any&gt;</span>\n\n ', '\n\t\t \n\t\t ', '\n\t\t ', '\n\t\t ', '\n </div>\n '], ['\n <div class="any">\n ', '\n\n <span class="type type-any">&lt;any&gt;</span>\n\n ', '\n\t\t \n\t\t ', '\n\t\t ', '\n\t\t ', '\n </div>\n ']),
24624 _templateObject2 = _taggedTemplateLiteral(['\n <a class="title"><span class="toggle-handle"></span>', ' </a>\n '], ['\n <a class="title"><span class="toggle-handle"></span>', ' </a>\n ']),
24625 _templateObject3 = _taggedTemplateLiteral(['\n <div class="inner description marked">', '</div>\n '], ['\n <div class="inner description marked">', '</div>\n ']),
24626 _templateObject4 = _taggedTemplateLiteral(['\n <div class="inner required">Required: ', '</div>\n '], ['\n <div class="inner required">Required: ', '</div>\n ']),
24627 _templateObject5 = _taggedTemplateLiteral(['\n <div class="inner default">Default: ', '</div>\n '], ['\n <div class="inner default">Default: ', '</div>\n ']),
24628 _templateObject6 = _taggedTemplateLiteral(['\n <div class="inner pattern">Pattern: ', '</div>\n '], ['\n <div class="inner pattern">Pattern: ', '</div>\n ']),
24629 _templateObject7 = _taggedTemplateLiteral(['\n <div class="primitive">\n ', '\n\n <span class="type">', '</span>\n\n \n\n ', '\n\n ', '\n\n ', '\n\n ', '\n\n ', '\n\n ', '\n\n ', '\n\n ', '\n\t\t \n\t\t \n\t\t \n\t\t ', '\n\t\t ', '\n\t\t ', '\n\n ', '\n\n ', '\n ', '\n ', '\n </div>\n '], ['\n <div class="primitive">\n ', '\n\n <span class="type">', '</span>\n\n \n\n ', '\n\n ', '\n\n ', '\n\n ', '\n\n ', '\n\n ', '\n\n ', '\n\n ', '\n\t\t \n\t\t \n\t\t \n\t\t ', '\n\t\t ', '\n\t\t ', '\n\n ', '\n\n ', '\n ', '\n ', '\n </div>\n ']),
24630 _templateObject8 = _taggedTemplateLiteral(['\n <span class="format">(', ')</span>\n '], ['\n <span class="format">(', ')</span>\n ']),
24631 _templateObject9 = _taggedTemplateLiteral(['\n <span class="range minimum">minimum:', '</span>\n '], ['\n <span class="range minimum">minimum:', '</span>\n ']),
24632 _templateObject10 = _taggedTemplateLiteral(['\n <span class="range exclusiveMinimum">(ex)minimum:', '</span>\n '], ['\n <span class="range exclusiveMinimum">(ex)minimum:', '</span>\n ']),
24633 _templateObject11 = _taggedTemplateLiteral(['\n <span class="range maximum">maximum:', '</span>\n '], ['\n <span class="range maximum">maximum:', '</span>\n ']),
24634 _templateObject12 = _taggedTemplateLiteral(['\n <span class="range exclusiveMaximum">(ex)maximum:', '</span>\n '], ['\n <span class="range exclusiveMaximum">(ex)maximum:', '</span>\n ']),
24635 _templateObject13 = _taggedTemplateLiteral(['\n <span class="range minLength">minLength:', '</span>\n '], ['\n <span class="range minLength">minLength:', '</span>\n ']),
24636 _templateObject14 = _taggedTemplateLiteral(['\n <span class="range maxLength">maxLength:', '</span>\n '], ['\n <span class="range maxLength">maxLength:', '</span>\n ']),
24637 _templateObject15 = _taggedTemplateLiteral(['\n <div class="inner required">Required</div>\n '], ['\n <div class="inner required">Required</div>\n ']),
24638 _templateObject16 = _taggedTemplateLiteral(['\n ', '\n '], ['\n ', '\n ']),
24639 _templateObject17 = _taggedTemplateLiteral(['', ''], ['', '']),
24640 _templateObject18 = _taggedTemplateLiteral(['\n <div class="array">\n <a class="title"><span class="toggle-handle"></span>', '<span class="opening bracket">[</span>', '</a>\n ', '\n <div class="inner">\n ', '\n </div>\n\n ', '\n\n ', '\n ', '\n ', '\n\n ', '\n </div>\n '], ['\n <div class="array">\n <a class="title"><span class="toggle-handle"></span>', '<span class="opening bracket">[</span>', '</a>\n ', '\n <div class="inner">\n ', '\n </div>\n\n ', '\n\n ', '\n ', '\n ', '\n\n ', '\n </div>\n ']),
24641 _templateObject19 = _taggedTemplateLiteral(['<span class="closing bracket">]</span>'], ['<span class="closing bracket">]</span>']),
24642 _templateObject20 = _taggedTemplateLiteral(['\n <span>\n <span title="items range">(', '..', ')</span>\n ', '\n </span>\n '], ['\n <span>\n <span title="items range">(', '..', ')</span>\n ', '\n </span>\n ']),
24643 _templateObject21 = _taggedTemplateLiteral(['<span title="unique" class="uniqueItems">♦</span>'], ['<span title="unique" class="uniqueItems">♦</span>']),
24644 _templateObject22 = _taggedTemplateLiteral(['\n <div class="description">', '</div>\n '], ['\n <div class="description">', '</div>\n ']),
24645 _templateObject23 = _taggedTemplateLiteral(['\n <span class="closing bracket">]</span>\n '], ['\n <span class="closing bracket">]</span>\n ']),
24646 _templateObject24 = _taggedTemplateLiteral(['\n <div class="object">\n <a class="title"><span\n class="toggle-handle"></span>', ' <span\n class="opening brace">{</span>', '</a>\n\n <div class="inner">\n ', '\n <!-- children go here -->\n\t\t \n\t\t ', '\n\t\t ', '\n\t\t \n\t\t\t', '\n </div>\n\n ', '\n\n ', '\n ', '\n ', '\n\n ', '\n </div>\n '], ['\n <div class="object">\n <a class="title"><span\n class="toggle-handle"></span>', ' <span\n class="opening brace">{</span>', '</a>\n\n <div class="inner">\n ', '\n <!-- children go here -->\n\t\t \n\t\t ', '\n\t\t ', '\n\t\t \n\t\t\t', '\n </div>\n\n ', '\n\n ', '\n ', '\n ', '\n\n ', '\n </div>\n ']),
24647 _templateObject25 = _taggedTemplateLiteral(['\n <span class="closing brace" ng-if="isCollapsed">}</span>\n '], ['\n <span class="closing brace" ng-if="isCollapsed">}</span>\n ']),
24648 _templateObject26 = _taggedTemplateLiteral(['\n <div class="required">Required: ', '</div>\n '], ['\n <div class="required">Required: ', '</div>\n ']),
24649 _templateObject266 = _taggedTemplateLiteral(['\n <div class="required">Required: ', '</div>\n '], ['\n <div class="required">Required: ', '</div>\n ']),
24650 _templateObject27 = _taggedTemplateLiteral(['\n <div class="default">Default: ', '</div>\n '], ['\n <div class="default">Default: ', '</div>\n ']),
24651 _templateObject28 = _taggedTemplateLiteral(['\n <div class="pattern">Pattern: ', '</div>\n '], ['\n <div class="pattern">Pattern: ', '</div>\n ']),
24652 _templateObject29 = _taggedTemplateLiteral(['\n <span class="closing brace">}</span>\n '], ['\n <span class="closing brace">}</span>\n ']),
24653 _templateObject30 = _taggedTemplateLiteral(['\n <div class="inner enums">\n <b>Enum:</b>\n </div>\n '], ['\n <div class="inner enums">\n <b>Enum:</b>\n </div>\n ']);
24654
24655function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }
24656
24657function _taggedTemplateLiteral(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
24658
24659var _helpersJs = require('./helpers.js');
24660
24661/**
24662 * @class JSONSchemaView
24663 *
24664 * A pure JavaScript component for rendering JSON Schema in HTML.
24665*/
24666
24667var JSONSchemaView = (function () {
24668
24669 /**
24670 * @param {object} schema The JSON Schema object
24671 *
24672 * @param {number} [open=1] his number indicates up to how many levels the
24673 * rendered tree should expand. Set it to `0` to make the whole tree collapsed
24674 * or set it to `Infinity` to expand the tree deeply
24675 * @param {object} options.
24676 * theme {string}: one of the following options: ['dark']
24677 */
24678
24679 function JSONSchemaView(schema, open) {
24680 var _this = this;
24681
24682 var options = arguments.length <= 2 || arguments[2] === undefined ? { theme: null } : arguments[2];
24683
24684 _classCallCheck(this, JSONSchemaView);
24685
24686 this.schema = schema; //console.log(schema);
24687 this.open = open;
24688 this.options = options;
24689 this.isCollapsed = open <= 0;
24690
24691 // if schema is an empty object which means any JOSN
24692 this.isAny = typeof schema === 'object' && !Array.isArray(schema) && !Object.keys(schema).filter(function (k) {
24693 return ['title', 'description'].indexOf(k) === -1;
24694 }).length;
24695
24696 // Determine if a schema is an array
24697 this.isArray = !this.isAny && this.schema && this.schema.type === 'array';
24698
24699 this.isObject = this.schema && (this.schema.type === 'object' || this.schema.properties || this.schema.anyOf || this.schema.oneof || this.schema.allOf);
24700
24701 // Determine if a schema is a primitive
24702 this.isPrimitive = !this.isAny && !this.isArray && !this.isObject;
24703
24704 //
24705 this.showToggle = this.schema.description || this.schema.title || this.isPrimitive && (this.schema.minimum || this.schema.maximum || this.schema.exclusiveMinimum || this.schema.exclusiveMaximum);
24706
24707 // populate isRequired property down to properties
24708 if (this.schema && Array.isArray(this.schema.required)) {
24709 this.schema.required.forEach(function (requiredProperty) {
24710 if (typeof _this.schema.properties[requiredProperty] === 'object') {
24711 _this.schema.properties[requiredProperty].isRequired = true;
24712 }
24713 });
24714 }
24715 }
24716
24717 /*
24718 * Returns the template with populated properties.
24719 * This template does not have the children
24720 */
24721
24722 _createClass(JSONSchemaView, [{
24723 key: 'template',
24724 value: function template() {
24725 if (!this.schema) {
24726 return '';
24727 }
24728
24729 return ('\n <!-- Any -->\n ' + (0, _helpersJs._if)(this.isAny)(_templateObject, (0, _helpersJs._if)(this.showToggle)(_templateObject2, this.schema.title || ''), (0, _helpersJs._if)(this.schema.description && !this.isCollapsed)(_templateObject3, marked(this.schema.description || "")), (0, _helpersJs._if)(this.schema.required && !this.isCollapsed)(_templateObject4, this.schema.required), (0, _helpersJs._if)(this.schema['default'] && !this.isCollapsed)(_templateObject5, this.schema['default']), (0, _helpersJs._if)(this.schema.pattern && !this.isCollapsed)(_templateObject6, this.schema.pattern)) + '\n\n <!-- Primitive -->\n ' + (0, _helpersJs._if)(this.isPrimitive)(_templateObject7, (0, _helpersJs._if)(this.showToggle)(_templateObject2, this.schema.title || ''), this.schema.type, (0, _helpersJs._if)(!this.isCollapsed && this.schema.format)(_templateObject8, this.schema.format), (0, _helpersJs._if)(!this.isCollapsed && this.schema.minimum)(_templateObject9, this.schema.minimum), (0, _helpersJs._if)(!this.isCollapsed && this.schema.exclusiveMinimum)(_templateObject10, this.schema.exclusiveMinimum), (0, _helpersJs._if)(!this.isCollapsed && this.schema.maximum)(_templateObject11, this.schema.maximum), (0, _helpersJs._if)(!this.isCollapsed && this.schema.exclusiveMaximum)(_templateObject12, this.schema.exclusiveMaximum), (0, _helpersJs._if)(!this.isCollapsed && this.schema.minLength)(_templateObject13, this.schema.minLength), (0, _helpersJs._if)(!this.isCollapsed && this.schema.maxLength)(_templateObject14, this.schema.maxLength), (0, _helpersJs._if)(this.schema.description && !this.isCollapsed)(_templateObject3, marked(this.schema.description || "")), (0, _helpersJs._if)(this.schema.required && !this.isCollapsed)(_templateObject15), (0, _helpersJs._if)(this.schema['default'] && !this.isCollapsed)(_templateObject5, this.schema['default']), (0, _helpersJs._if)(this.schema.pattern && !this.isCollapsed)(_templateObject6, this.schema.pattern), (0, _helpersJs._if)(!this.isCollapsed && this.schema['enum'])(_templateObject16, this['enum'](this.schema, this.isCollapsed, this.open)), (0, _helpersJs._if)(this.schema.allOf && !this.isCollapsed)(_templateObject17, this.xOf(this.schema, 'allOf')), (0, _helpersJs._if)(this.schema.oneOf && !this.isCollapsed)(_templateObject17, this.xOf(this.schema, 'oneOf')), (0, _helpersJs._if)(this.schema.anyOf && !this.isCollapsed)(_templateObject17, this.xOf(this.schema, 'anyOf'))) + '\n\n\n <!-- Array -->\n ' + (0, _helpersJs._if)(this.isArray)(_templateObject18, this.schema.title || '', (0, _helpersJs._if)(this.isCollapsed)(_templateObject19), (0, _helpersJs._if)(!this.isCollapsed && (this.schema.uniqueItems || this.schema.minItems || this.schema.maxItems))(_templateObject20, this.schema.minItems || 0, this.schema.maxItems || '∞', (0, _helpersJs._if)(!this.isCollapsed && this.schema.uniqueItems)(_templateObject21)), (0, _helpersJs._if)(!this.isCollapsed && this.schema.description)(_templateObject22, marked(this.schema.description || "")), (0, _helpersJs._if)(!this.isCollapsed && this.schema['enum'])(_templateObject16, this['enum'](this.schema, this.isCollapsed, this.open)), (0, _helpersJs._if)(this.schema.allOf && !this.isCollapsed)(_templateObject17, this.xOf(this.schema, 'allOf')), (0, _helpersJs._if)(this.schema.oneOf && !this.isCollapsed)(_templateObject17, this.xOf(this.schema, 'oneOf')), (0, _helpersJs._if)(this.schema.anyOf && !this.isCollapsed)(_templateObject17, this.xOf(this.schema, 'anyOf')), (0, _helpersJs._if)(!this.isCollapsed)(_templateObject23)) + '\n\n <!-- Object -->\n ' + (0, _helpersJs._if)(!this.isPrimitive && !this.isArray && !this.isAny)(_templateObject24, this.schema.title || '', (0, _helpersJs._if)(this.isCollapsed)(_templateObject25), (0, _helpersJs._if)(!this.isCollapsed && this.schema.description)(_templateObject22, marked(this.schema.description || "")),
24730
24731 (0, _helpersJs._if)(this.schema.required && !this.isCollapsed && this.options.isBodyParam != true)(_templateObject26, this.schema.required),
24732 (0, _helpersJs._if)(this.schema.required && !this.isCollapsed && this.options.isBodyParam == true)(_templateObject266, this.schema.required),
24733
24734 (0, _helpersJs._if)(this.schema['default'] && !this.isCollapsed)(_templateObject27, this.schema['default']),(0, _helpersJs._if)(!this.isCollapsed)(_templateObject29),
24735 (0, _helpersJs._if)(!this.isCollapsed && this.schema.pattern)(_templateObject28, this.schema.pattern),
24736 (0, _helpersJs._if)(!this.isCollapsed && this.schema['enum'])(_templateObject16, this['enum'](this.schema, this.isCollapsed, this.open)), (0, _helpersJs._if)(this.schema.allOf && !this.isCollapsed)(_templateObject17, this.xOf(this.schema, 'allOf')), (0, _helpersJs._if)(this.schema.oneOf && !this.isCollapsed)(_templateObject17, this.xOf(this.schema, 'oneOf')), (0, _helpersJs._if)(this.schema.anyOf && !this.isCollapsed)(_templateObject17, this.xOf(this.schema, 'anyOf'))) + '\n').replace(/\s*\n/g, '\n').replace(/(\<\!\-\-).+/g, '').trim();
24737 }
24738
24739 /*
24740 * Template for oneOf, anyOf and allOf
24741 */
24742 }, {
24743 key: 'xOf',
24744 value: function xOf(schema, type) {
24745 return '\n <div class="inner ' + type + '">\n <b>' + (0, _helpersJs.convertXOf)(type) + ':</b>\n </div>\n ';
24746 }
24747
24748 /*
24749 * Template for enums
24750 */
24751 }, {
24752 key: 'enum',
24753 value: function _enum(schema, isCollapsed, open) {
24754 return '\n ' + (0, _helpersJs._if)(!isCollapsed && schema['enum'])(_templateObject30) + '\n ';
24755 }
24756
24757 /*
24758 * Toggles the 'collapsed' state
24759 */
24760 }, {
24761 key: 'toggle',
24762 value: function toggle() {
24763 this.isCollapsed = !this.isCollapsed;
24764 this.render();
24765 }
24766
24767 /*
24768 * Renders the element and returns it
24769 */
24770 }, {
24771 key: 'render',
24772 value: function render() {
24773 if (!this.element) {
24774 this.element = document.createElement('div');
24775 this.element.classList.add('json-schema-view');
24776 }
24777
24778 if (this.isCollapsed) {
24779 this.element.classList.add('collapsed');
24780 } else {
24781 this.element.classList.remove('collapsed');
24782 }
24783
24784 if (this.options.theme) {
24785 this.element.classList.add('json-schema-view-' + this.options.theme);
24786 }
24787
24788 this.element.innerHTML = this.template();
24789
24790 if (!this.schema) {
24791 return this.element;
24792 }
24793
Priyadharshinic86ab4a2020-08-14 17:11:49 +053024794 if (this.schema && this.schema.example) {
24795 var exampleDiv = document.createElement('div');
24796 exampleDiv.innerHTML = '<div style="display: block" class="example">\n <span style="color: #808080" class="name">example: ' + this.schema.example + '</span>\n </div>';
24797 this.element.appendChild(exampleDiv.querySelector('.example'));
24798 }
24799
seshukmb3a332a2018-10-05 16:27:16 +080024800 if (!this.isCollapsed) {
24801 this.appendChildren(this.element);
24802 }
24803
24804 // add event listener for toggling
24805 if (this.element.querySelector('a.title')) {
24806 this.element.querySelector('a.title').addEventListener('click', this.toggle.bind(this));
24807 }
24808 return this.element;
24809 }
24810
24811 /*
24812 * Appends children to given element based on current schema
24813 */
24814 }, {
24815 key: 'appendChildren',
24816 value: function appendChildren(element) {
24817 var _this2 = this;
24818
24819 var inner = element.querySelector('.inner');
24820
24821 if (!inner) {
24822 return;
24823 }
24824
24825 if (this.schema['enum']) {
24826 var tempDiv = document.createElement('span');;
24827 tempDiv.classList.add('inner');
24828 tempDiv.innerHTML = '<code>' + this.schema['enum'].join('</code>, <code>') + '</code>';
24829 element.querySelector('.enums.inner').appendChild(tempDiv);
24830 }
24831
24832 if (this.isArray) {
24833 var view = new JSONSchemaView(this.schema.items, Infinity);
24834 inner.appendChild(view.render());
24835 }
24836
24837 if (typeof this.schema.properties === 'object') {
24838 Object.keys(this.schema.properties).forEach(function (propertyName) {
24839 var property = _this2.schema.properties[propertyName];
24840 var tempDiv = document.createElement('div');;
24841 tempDiv.innerHTML = '<div class="property">\n <span class="name">' + propertyName + ':</span>\n </div>';
24842 var view = new JSONSchemaView(property, _this2.open - 1);
24843 tempDiv.querySelector('.property').appendChild(view.render());
24844
24845 inner.appendChild(tempDiv.querySelector('.property'));
24846 });
24847 }
24848
24849 if (this.schema.allOf) {
24850 appendXOf.call(this, 'allOf');
24851 }
24852 if (this.schema.oneOf) {
24853 appendXOf.call(this, 'oneOf');
24854 }
24855 if (this.schema.anyOf) {
24856 appendXOf.call(this, 'anyOf');
24857 }
24858
24859 function appendXOf(type) {
24860 var _this3 = this;
24861
24862 var innerAllOf = element.querySelector('.inner.' + type);
24863
24864 this.schema[type].forEach(function (schema) {
24865 var inner = document.createElement('div');
24866 inner.classList.add('inner');
24867 var view = new JSONSchemaView(schema, _this3.open - 1);
24868 inner.appendChild(view.render());
24869 innerAllOf.appendChild(inner);
24870 });
24871 }
24872 }
24873 }]);
24874
24875 return JSONSchemaView;
24876})();
24877
24878exports['default'] = JSONSchemaView;
24879module.exports = exports['default'];
24880
24881},{"./helpers.js":1}]},{},[2])(2)
24882});
24883//# sourceMappingURL=data:application/json;charset:utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIm5vZGVfbW9kdWxlcy9icm93c2VyaWZ5L25vZGVfbW9kdWxlcy9icm93c2VyLXBhY2svX3ByZWx1ZGUuanMiLCJDOi9Vc2Vycy9qYW1lc2hpL0Rlc2t0b3AvanNvbi1zY2hlbWEtdmlldy1qcy1tYXN0ZXIvc3JjL2hlbHBlcnMuanMiLCJDOi9Vc2Vycy9qYW1lc2hpL0Rlc2t0b3AvanNvbi1zY2hlbWEtdmlldy1qcy1tYXN0ZXIvc3JjL2luZGV4LmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0FDQUEsWUFBWSxDQUFDOzs7Ozs7Ozs7O0FBSU4sU0FBUyxVQUFVLENBQUMsSUFBSSxFQUFFO0FBQy9CLFNBQU8sSUFBSSxDQUFDLFNBQVMsQ0FBQyxDQUFDLEVBQUUsQ0FBQyxDQUFDLEdBQUcsS0FBSyxDQUFDO0NBQ3JDOzs7Ozs7Ozs7Ozs7O0FBWU0sU0FBUyxHQUFHLENBQUMsU0FBUyxFQUFFO0FBQzdCLFNBQU8sU0FBUyxHQUFHLE1BQU0sR0FBRyxLQUFLLENBQUM7Q0FDbkM7O0FBQ0QsU0FBUyxLQUFLLEdBQUU7QUFDZCxTQUFPLEVBQUUsQ0FBQztDQUNYO0FBQ0QsU0FBUyxNQUFNLENBQUUsUUFBUSxFQUFrQjtvQ0FBYixXQUFXO0FBQVgsZUFBVzs7O0FBQ3ZDLFNBQU8sUUFBUSxDQUFDLEtBQUssQ0FBQyxDQUFDLENBQUMsQ0FBQyxNQUFNLENBQUMsVUFBQyxXQUFXLEVBQUUsSUFBSSxFQUFFLENBQUMsRUFBSztBQUN4RCxXQUFPLFdBQVcsR0FBRyxXQUFXLENBQUMsQ0FBQyxDQUFDLEdBQUcsSUFBSSxDQUFDO0dBQzVDLEVBQUUsUUFBUSxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUM7Q0FDakI7OztBQzVCRCxZQUFZLENBQUM7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozt5QkFPTixjQUFjOzs7Ozs7OztJQVFBLGNBQWM7Ozs7Ozs7Ozs7OztBQVd0QixXQVhRLGNBQWMsQ0FXckIsTUFBTSxFQUFFLElBQUksRUFBMkI7OztRQUF6QixPQUFPLHlEQUFHLEVBQUMsS0FBSyxFQUFFLElBQUksRUFBQzs7MEJBWDlCLGNBQWM7O0FBWS9CLFFBQUksQ0FBQyxNQUFNLEdBQUcsTUFBTSxDQUFDO0FBQ3JCLFFBQUksQ0FBQyxJQUFJLEdBQUcsSUFBSSxDQUFDO0FBQ2pCLFFBQUksQ0FBQyxPQUFPLEdBQUcsT0FBTyxDQUFDO0FBQ3ZCLFFBQUksQ0FBQyxXQUFXLEdBQUcsSUFBSSxJQUFJLENBQUMsQ0FBQzs7O0FBRzdCLFFBQUksQ0FBQyxLQUFLLEdBQUcsT0FBTyxNQUFNLEtBQUssUUFBUSxJQUNyQyxDQUFDLEtBQUssQ0FBQyxPQUFPLENBQUMsTUFBTSxDQUFDLElBQ3RCLENBQUMsTUFBTSxDQUFDLElBQUksQ0FBQyxNQUFNLENBQUMsQ0FDbkIsTUFBTSxDQUFDLFVBQUEsQ0FBQzthQUFHLENBQUMsT0FBTyxFQUFFLGFBQWEsQ0FBQyxDQUFDLE9BQU8sQ0FBQyxDQUFDLENBQUMsS0FBSyxDQUFDLENBQUM7S0FBQSxDQUFDLENBQUMsTUFBTSxDQUFDOzs7QUFHakUsUUFBSSxDQUFDLE9BQU8sR0FBRyxDQUFDLElBQUksQ0FBQyxLQUFLLElBQUksSUFBSSxDQUFDLE1BQU0sSUFBSSxJQUFJLENBQUMsTUFBTSxDQUFDLElBQUksS0FBSyxPQUFPLENBQUM7O0FBRTFFLFFBQUksQ0FBQyxRQUFRLEdBQUcsSUFBSSxDQUFDLE1BQU0sS0FDeEIsSUFBSSxDQUFDLE1BQU0sQ0FBQyxJQUFJLEtBQUssUUFBUSxJQUM3QixJQUFJLENBQUMsTUFBTSxDQUFDLFVBQVUsSUFDdEIsSUFBSSxDQUFDLE1BQU0sQ0FBQyxLQUFLLElBQ2pCLElBQUksQ0FBQyxNQUFNLENBQUMsS0FBSyxJQUNqQixJQUFJLENBQUMsTUFBTSxDQUFDLEtBQUssQ0FBQSxBQUFDLENBQUM7OztBQUd0QixRQUFJLENBQUMsV0FBVyxHQUFHLENBQUMsSUFBSSxDQUFDLEtBQUssSUFBSSxDQUFDLElBQUksQ0FBQyxPQUFPLElBQUksQ0FBQyxJQUFJLENBQUMsUUFBUSxDQUFDOzs7QUFHbEUsUUFBSSxDQUFDLFVBQVUsR0FBRyxJQUFJLENBQUMsTUFBTSxDQUFDLFdBQVcsSUFDdkMsSUFBSSxDQUFDLE1BQU0sQ0FBQyxLQUFLLElBQ2hCLElBQUksQ0FBQyxXQUFXLEtBQ2YsSUFBSSxDQUFDLE1BQU0sQ0FBQyxPQUFPLElBQ25CLElBQUksQ0FBQyxNQUFNLENBQUMsT0FBTyxJQUNuQixJQUFJLENBQUMsTUFBTSxDQUFDLGdCQUFnQixJQUM1QixJQUFJLENBQUMsTUFBTSxDQUFDLGdCQUFnQixDQUFBLEFBQUMsQUFDOUIsQ0FBQzs7O0FBR0osUUFBSSxJQUFJLENBQUMsTUFBTSxJQUFJLEtBQUssQ0FBQyxPQUFPLENBQUMsSUFBSSxDQUFDLE1BQU0sQ0FBQyxRQUFRLENBQUMsRUFBRTtBQUN0RCxVQUFJLENBQUMsTUFBTSxDQUFDLFFBQVEsQ0FBQyxPQUFPLENBQUMsVUFBQSxnQkFBZ0IsRUFBSTtBQUMvQyxZQUFJLE9BQU8sTUFBSyxNQUFNLENBQUMsVUFBVSxDQUFDLGdCQUFnQixDQUFDLEtBQUssUUFBUSxFQUFFO0FBQ2hFLGdCQUFLLE1BQU0sQ0FBQyxVQUFVLENBQUMsZ0JBQWdCLENBQUMsQ0FBQyxVQUFVLEdBQUcsSUFBSSxDQUFDO1NBQzVEO09BQ0YsQ0FBQyxDQUFDO0tBQ0o7R0FDRjs7Ozs7OztlQXREa0IsY0FBYzs7V0E0RHpCLG9CQUFHO0FBQ1QsVUFBSSxDQUFDLElBQUksQ0FBQyxNQUFNLEVBQUU7QUFDaEIsZUFBTyxFQUFFLENBQUM7T0FDWDs7QUFFRCxhQUFPLGtDQUVILG9CQUFJLElBQUksQ0FBQyxLQUFLLENBQUMsa0JBRVgsb0JBQUksSUFBSSxDQUFDLFVBQVUsQ0FBQyxtQkFDa0MsSUFBSSxDQUFDLE1BQU0sQ0FBQyxLQUFLLElBQUksRUFBRSxHQUs3RSxvQkFBSSxJQUFJLENBQUMsTUFBTSxDQUFDLFdBQVcsSUFBSSxDQUFDLElBQUksQ0FBQyxXQUFXLENBQUMsbUJBQ2hCLElBQUksQ0FBQyxNQUFNLENBQUMsV0FBVyxHQUc5RCxvQkFBSSxJQUFJLENBQUMsTUFBTSxDQUFDLFFBQVEsSUFBSSxDQUFDLElBQUksQ0FBQyxXQUFXLENBQUMsbUJBQ0EsSUFBSSxDQUFDLE1BQU0sQ0FBQyxRQUFRLEdBRWxFLG9CQUFJLElBQUksQ0FBQyxNQUFNLFdBQVEsSUFBSSxDQUFDLElBQUksQ0FBQyxXQUFXLENBQUMsbUJBQ0QsSUFBSSxDQUFDLE1BQU0sV0FBUSxHQUU5RCxvQkFBSSxJQUFJLENBQUMsTUFBTSxDQUFDLE9BQU8sSUFBSSxDQUFDLElBQUksQ0FBQyxXQUFXLENBQUMsbUJBQ0YsSUFBSSxDQUFDLE1BQU0sQ0FBQyxPQUFPLDhDQU03RCxvQkFBSSxJQUFJLENBQUMsV0FBVyxDQUFDLG1CQUVqQixvQkFBSSxJQUFJLENBQUMsVUFBVSxDQUFDLG1CQUNrQyxJQUFJLENBQUMsTUFBTSxDQUFDLEtBQUssSUFBSSxFQUFFLEdBR3hELElBQUksQ0FBQyxNQUFNLENBQUMsSUFBSSxFQUlyQyxvQkFBSSxDQUFDLElBQUksQ0FBQyxXQUFXLElBQUksSUFBSSxDQUFDLE1BQU0sQ0FBQyxNQUFNLENBQUMsbUJBQ3BCLElBQUksQ0FBQyxNQUFNLENBQUMsTUFBTSxHQUcxQyxvQkFBSSxDQUFDLElBQUksQ0FBQyxXQUFXLElBQUksSUFBSSxDQUFDLE1BQU0sQ0FBQyxPQUFPLENBQUMsbUJBQ1AsSUFBSSxDQUFDLE1BQU0sQ0FBQyxPQUFPLEdBR3pELG9CQUFJLENBQUMsSUFBSSxDQUFDLFdBQVcsSUFBSSxJQUFJLENBQUMsTUFBTSxDQUFDLGdCQUFnQixDQUFDLG9CQUNILElBQUksQ0FBQyxNQUFNLENBQUMsZ0JBQWdCLEdBRy9FLG9CQUFJLENBQUMsSUFBSSxDQUFDLFdBQVcsSUFBSSxJQUFJLENBQUMsTUFBTSxDQUFDLE9BQU8sQ0FBQyxvQkFDUCxJQUFJLENBQUMsTUFBTSxDQUFDLE9BQU8sR0FHekQsb0JBQUksQ0FBQyxJQUFJLENBQUMsV0FBVyxJQUFJLElBQUksQ0FBQyxNQUFNLENBQUMsZ0JBQWdCLENBQUMsb0JBQ0gsSUFBSSxDQUFDLE1BQU0sQ0FBQyxnQkFBZ0IsR0FHL0Usb0JBQUksQ0FBQyxJQUFJLENBQUMsV0FBVyxJQUFJLElBQUksQ0FBQyxNQUFNLENBQUMsU0FBUyxDQUFDLG9CQUNMLElBQUksQ0FBQyxNQUFNLENBQUMsU0FBUyxHQUcvRCxvQkFBSSxDQUFDLElBQUksQ0FBQyxXQUFXLElBQUksSUFBSSxDQUFDLE1BQU0sQ0FBQyxTQUFTLENBQUMsb0JBQ0wsSUFBSSxDQUFDLE1BQU0sQ0FBQyxTQUFTLEdBRy9ELG9CQUFJLElBQUksQ0FBQyxNQUFNLENBQUMsV0FBVyxJQUFJLENBQUMsSUFBSSxDQUFDLFdBQVcsQ0FBQyxtQkFDaEIsSUFBSSxDQUFDLE1BQU0sQ0FBQyxXQUFXLEdBSzdELG9CQUFJLElBQUksQ0FBQyxNQUFNLENBQUMsUUFBUSxJQUFJLENBQUMsSUFBSSxDQUFDLFdBQVcsQ0FBQyxxQkFHL0Msb0JBQUksSUFBSSxDQUFDLE1BQU0sV0FBUSxJQUFJLENBQUMsSUFBSSxDQUFDLFdBQVcsQ0FBQyxtQkFDRCxJQUFJLENBQUMsTUFBTSxXQUFRLEdBRTlELG9CQUFJLElBQUksQ0FBQyxNQUFNLENBQUMsT0FBTyxJQUFJLENBQUMsSUFBSSxDQUFDLFdBQVcsQ0FBQyxtQkFDRixJQUFJLENBQUMsTUFBTSxDQUFDLE9BQU8sR0FHekQsb0JBQUksQ0FBQyxJQUFJLENBQUMsV0FBVyxJQUFJLElBQUksQ0FBQyxNQUFNLFFBQUssQ0FBQyxvQkFDeEMsSUFBSSxRQUFLLENBQUMsSUFBSSxDQUFDLE1BQU0sRUFBRSxJQUFJLENBQUMsV0FBVyxFQUFFLElBQUksQ0FBQyxJQUFJLENBQUMsR0FHckQsb0JBQUksSUFBSSxDQUFDLE1BQU0sQ0FBQyxLQUFLLElBQUksQ0FBQyxJQUFJLENBQUMsV0FBVyxDQUFDLG9CQUFHLElBQUksQ0FBQyxHQUFHLENBQUMsSUFBSSxDQUFDLE1BQU0sRUFBRSxPQUFPLENBQUMsR0FDNUUsb0JBQUksSUFBSSxDQUFDLE1BQU0sQ0FBQyxLQUFLLElBQUksQ0FBQyxJQUFJLENBQUMsV0FBVyxDQUFDLG9CQUFHLElBQUksQ0FBQyxHQUFHLENBQUMsSUFBSSxDQUFDLE1BQU0sRUFBRSxPQUFPLENBQUMsR0FDNUUsb0JBQUksSUFBSSxDQUFDLE1BQU0sQ0FBQyxLQUFLLElBQUksQ0FBQyxJQUFJLENBQUMsV0FBVyxDQUFDLG9CQUFHLElBQUksQ0FBQyxHQUFHLENBQUMsSUFBSSxDQUFDLE1BQU0sRUFBRSxPQUFPLENBQUMsNENBTWhGLG9CQUFJLElBQUksQ0FBQyxPQUFPLENBQUMsb0JBRXVDLElBQUksQ0FBQyxNQUFNLENBQUMsS0FBSyxJQUFJLEVBQUUsRUFBeUMsb0JBQUksSUFBSSxDQUFDLFdBQVcsQ0FBQyxxQkFDekksb0JBQUksQ0FBQyxJQUFJLENBQUMsV0FBVyxLQUFLLElBQUksQ0FBQyxNQUFNLENBQUMsV0FBVyxJQUFJLElBQUksQ0FBQyxNQUFNLENBQUMsUUFBUSxJQUFJLElBQUksQ0FBQyxNQUFNLENBQUMsUUFBUSxDQUFBLEFBQUMsQ0FBQyxvQkFFdEUsSUFBSSxDQUFDLE1BQU0sQ0FBQyxRQUFRLElBQUksQ0FBQyxFQUFLLElBQUksQ0FBQyxNQUFNLENBQUMsUUFBUSxJQUFJLEdBQUcsRUFDcEYsb0JBQUksQ0FBQyxJQUFJLENBQUMsV0FBVyxJQUFJLElBQUksQ0FBQyxNQUFNLENBQUMsV0FBVyxDQUFDLHNCQUlqRCxvQkFBSSxDQUFDLElBQUksQ0FBQyxXQUFXLElBQUksSUFBSSxDQUFDLE1BQU0sQ0FBQyxXQUFXLENBQUMsb0JBQ3RCLElBQUksQ0FBQyxNQUFNLENBQUMsV0FBVyxHQUlwRCxvQkFBSSxDQUFDLElBQUksQ0FBQyxXQUFXLElBQUksSUFBSSxDQUFDLE1BQU0sUUFBSyxDQUFDLG9CQUN4QyxJQUFJLFFBQUssQ0FBQyxJQUFJLENBQUMsTUFBTSxFQUFFLElBQUksQ0FBQyxXQUFXLEVBQUUsSUFBSSxDQUFDLElBQUksQ0FBQyxHQUdyRCxvQkFBSSxJQUFJLENBQUMsTUFBTSxDQUFDLEtBQUssSUFBSSxDQUFDLElBQUksQ0FBQyxXQUFXLENBQUMsb0JBQUcsSUFBSSxDQUFDLEdBQUcsQ0FBQyxJQUFJLENBQUMsTUFBTSxFQUFFLE9BQU8sQ0FBQyxHQUM1RSxvQkFBSSxJQUFJLENBQUMsTUFBTSxDQUFDLEtBQUssSUFBSSxDQUFDLElBQUksQ0FBQyxXQUFXLENBQUMsb0JBQUcsSUFBSSxDQUFDLEdBQUcsQ0FBQyxJQUFJLENBQUMsTUFBTSxFQUFFLE9BQU8sQ0FBQyxHQUM1RSxvQkFBSSxJQUFJLENBQUMsTUFBTSxDQUFDLEtBQUssSUFBSSxDQUFDLElBQUksQ0FBQyxXQUFXLENBQUMsb0JBQUcsSUFBSSxDQUFDLEdBQUcsQ0FBQyxJQUFJLENBQUMsTUFBTSxFQUFFLE9BQU8sQ0FBQyxHQUU1RSxvQkFBSSxDQUFDLElBQUksQ0FBQyxXQUFXLENBQUMsNkRBTzFCLG9CQUFJLENBQUMsSUFBSSxDQUFDLFdBQVcsSUFBSSxDQUFDLElBQUksQ0FBQyxPQUFPLElBQUksQ0FBQyxJQUFJLENBQUMsS0FBSyxDQUFDLG9CQUduQixJQUFJLENBQUMsTUFBTSxDQUFDLEtBQUssSUFBSSxFQUFFLEVBQ3RCLG9CQUFJLElBQUksQ0FBQyxXQUFXLENBQUMscUJBS25ELG9CQUFJLENBQUMsSUFBSSxDQUFDLFdBQVcsSUFBSSxJQUFJLENBQUMsTUFBTSxDQUFDLFdBQVcsQ0FBQyxvQkFDdEIsSUFBSSxDQUFDLE1BQU0sQ0FBQyxXQUFXLEdBSXpELG9CQUFJLElBQUksQ0FBQyxNQUFNLENBQUMsUUFBUSxJQUFJLENBQUMsSUFBSSxDQUFDLFdBQVcsQ0FBQyxvQkFDRCxJQUFJLENBQUMsTUFBTSxDQUFDLFFBQVEsR0FFbEUsb0JBQUksSUFBSSxDQUFDLE1BQU0sV0FBUSxJQUFJLENBQUMsSUFBSSxDQUFDLFdBQVcsQ0FBQyxvQkFDUCxJQUFJLENBQUMsTUFBTSxXQUFRLEdBRzFELG9CQUFJLENBQUMsSUFBSSxDQUFDLFdBQVcsSUFBSSxJQUFJLENBQUMsTUFBTSxDQUFDLE9BQU8sQ0FBQyxvQkFDSixJQUFJLENBQUMsTUFBTSxDQUFDLE9BQU8sR0FJckQsb0JBQUksQ0FBQyxJQUFJLENBQUMsV0FBVyxJQUFJLElBQUksQ0FBQyxNQUFNLFFBQUssQ0FBQyxvQkFDeEMsSUFBSSxRQUFLLENBQUMsSUFBSSxDQUFDLE1BQU0sRUFBRSxJQUFJLENBQUMsV0FBVyxFQUFFLElBQUksQ0FBQyxJQUFJLENBQUMsR0FHckQsb0JBQUksSUFBSSxDQUFDLE1BQU0sQ0FBQyxLQUFLLElBQUksQ0FBQyxJQUFJLENBQUMsV0FBVyxDQUFDLG9CQUFHLElBQUksQ0FBQyxHQUFHLENBQUMsSUFBSSxDQUFDLE1BQU0sRUFBRSxPQUFPLENBQUMsR0FDNUUsb0JBQUksSUFBSSxDQUFDLE1BQU0sQ0FBQyxLQUFLLElBQUksQ0FBQyxJQUFJLENBQUMsV0FBVyxDQUFDLG9CQUFHLElBQUksQ0FBQyxHQUFHLENBQUMsSUFBSSxDQUFDLE1BQU0sRUFBRSxPQUFPLENBQUMsR0FDNUUsb0JBQUksSUFBSSxDQUFDLE1BQU0sQ0FBQyxLQUFLLElBQUksQ0FBQyxJQUFJLENBQUMsV0FBVyxDQUFDLG9CQUFHLElBQUksQ0FBQyxHQUFHLENBQUMsSUFBSSxDQUFDLE1BQU0sRUFBRSxPQUFPLENBQUMsR0FFNUUsb0JBQUksQ0FBQyxJQUFJLENBQUMsV0FBVyxDQUFDLDZCQUtoQyxPQUFPLENBQUMsUUFBUSxFQUFFLElBQUksQ0FBQyxDQUFDLE9BQU8sQ0FBQyxlQUFlLEVBQUUsRUFBRSxDQUFDLENBQUMsSUFBSSxFQUFFLENBQUM7S0FDM0Q7Ozs7Ozs7V0FLRSxhQUFDLE1BQU0sRUFBRSxJQUFJLEVBQUU7QUFDaEIsNENBQ3NCLElBQUksdUJBQ2pCLDJCQUFXLElBQUksQ0FBQywrQkFFdkI7S0FDSDs7Ozs7OztXQUtHLGVBQUMsTUFBTSxFQUFFLFdBQVcsRUFBRSxJQUFJLEVBQUU7QUFDOUIsMEJBQ0ksb0JBQUksQ0FBQyxXQUFXLElBQUksTUFBTSxRQUFLLENBQUMsK0JBS2xDO0tBQ0g7Ozs7Ozs7V0FLSyxrQkFBRztBQUNQLFVBQUksQ0FBQyxXQUFXLEdBQUcsQ0FBQyxJQUFJLENBQUMsV0FBVyxDQUFDO0FBQ3JDLFVBQUksQ0FBQyxNQUFNLEVBQUUsQ0FBQztLQUNmOzs7Ozs7O1dBS0ssa0JBQUc7QUFDUCxVQUFJLENBQUMsSUFBSSxDQUFDLE9BQU8sRUFBRTtBQUNqQixZQUFJLENBQUMsT0FBTyxHQUFHLFFBQVEsQ0FBQyxhQUFhLENBQUMsS0FBSyxDQUFDLENBQUM7QUFDN0MsWUFBSSxDQUFDLE9BQU8sQ0FBQyxTQUFTLENBQUMsR0FBRyxDQUFDLGtCQUFrQixDQUFDLENBQUM7T0FDaEQ7O0FBRUQsVUFBSSxJQUFJLENBQUMsV0FBVyxFQUFFO0FBQ3BCLFlBQUksQ0FBQyxPQUFPLENBQUMsU0FBUyxDQUFDLEdBQUcsQ0FBQyxXQUFXLENBQUMsQ0FBQztPQUN6QyxNQUFNO0FBQ0wsWUFBSSxDQUFDLE9BQU8sQ0FBQyxTQUFTLENBQUMsTUFBTSxDQUFDLFdBQVcsQ0FBQyxDQUFDO09BQzVDOztBQUVELFVBQUksSUFBSSxDQUFDLE9BQU8sQ0FBQyxLQUFLLEVBQUU7QUFDdEIsWUFBSSxDQUFDLE9BQU8sQ0FBQyxTQUFTLENBQUMsR0FBRyx1QkFBcUIsSUFBSSxDQUFDLE9BQU8sQ0FBQyxLQUFLLENBQUcsQ0FBQztPQUN0RTs7QUFFRCxVQUFJLENBQUMsT0FBTyxDQUFDLFNBQVMsR0FBRyxJQUFJLENBQUMsUUFBUSxFQUFFLENBQUM7O0FBRXpDLFVBQUksQ0FBQyxJQUFJLENBQUMsTUFBTSxFQUFFO0FBQ2hCLGVBQU8sSUFBSSxDQUFDLE9BQU8sQ0FBQztPQUNyQjs7QUFFRCxVQUFJLENBQUMsSUFBSSxDQUFDLFdBQVcsRUFBRTtBQUNyQixZQUFJLENBQUMsY0FBYyxDQUFDLElBQUksQ0FBQyxPQUFPLENBQUMsQ0FBQztPQUNuQzs7O0FBR0QsVUFBSSxJQUFJLENBQUMsT0FBTyxDQUFDLGFBQWEsQ0FBQyxTQUFTLENBQUMsRUFBRTtBQUN6QyxZQUFJLENBQUMsT0FBTyxDQUFDLGFBQWEsQ0FBQyxTQUFTLENBQUMsQ0FBQyxnQkFBZ0IsQ0FBQyxPQUFPLEVBQUUsSUFBSSxDQUFDLE1BQU0sQ0FBQyxJQUFJLENBQUMsSUFBSSxDQUFDLENBQUMsQ0FBQztPQUN6RjtBQUNELGFBQU8sSUFBSSxDQUFDLE9BQU8sQ0FBQztLQUNyQjs7Ozs7OztXQUthLHdCQUFDLE9BQU8sRUFBRTs7O0FBQ3RCLFVBQU0sS0FBSyxHQUFHLE9BQU8sQ0FBQyxhQUFhLENBQUMsUUFBUSxDQUFDLENBQUM7O0FBRTlDLFVBQUksQ0FBQyxLQUFLLEVBQUU7QUFDVixlQUFPO09BQ1I7O0FBRUQsVUFBSSxJQUFJLENBQUMsTUFBTSxRQUFLLEVBQUU7QUFDcEIsWUFBTSxTQUFTLEdBQUcsSUFBSSxhQUFhLENBQUMsSUFBSSxDQUFDLE1BQU0sUUFBSyxFQUFFLElBQUksQ0FBQyxJQUFJLEdBQUcsQ0FBQyxDQUFDLENBQUM7QUFDckUsWUFBTSxXQUFXLEdBQUcsU0FBUyxDQUFDLE1BQU0sRUFBRSxDQUFDO0FBQ3ZDLG1CQUFXLENBQUMsU0FBUyxDQUFDLEdBQUcsQ0FBQyxPQUFPLENBQUMsQ0FBQztBQUNuQyxlQUFPLENBQUMsYUFBYSxDQUFDLGNBQWMsQ0FBQyxDQUFDLFdBQVcsQ0FBQyxXQUFXLENBQUMsQ0FBQztPQUVoRTs7QUFFRCxVQUFJLElBQUksQ0FBQyxPQUFPLEVBQUU7QUFDaEIsWUFBTSxJQUFJLEdBQUcsSUFBSSxjQUFjLENBQUMsSUFBSSxDQUFDLE1BQU0sQ0FBQyxLQUFLLEVBQUUsSUFBSSxDQUFDLElBQUksR0FBRyxDQUFDLENBQUMsQ0FBQTtBQUNqRSxhQUFLLENBQUMsV0FBVyxDQUFDLElBQUksQ0FBQyxNQUFNLEVBQUUsQ0FBQyxDQUFDO09BQ2xDOztBQUVELFVBQUksT0FBTyxJQUFJLENBQUMsTUFBTSxDQUFDLFVBQVUsS0FBSyxRQUFRLEVBQUU7QUFDOUMsY0FBTSxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUMsTUFBTSxDQUFDLFVBQVUsQ0FBQyxDQUFDLE9BQU8sQ0FBQyxVQUFBLFlBQVksRUFBSTtBQUMxRCxjQUFNLFFBQVEsR0FBRyxPQUFLLE1BQU0sQ0FBQyxVQUFVLENBQUMsWUFBWSxDQUFDLENBQUM7QUFDdEQsY0FBTSxPQUFPLEdBQUcsUUFBUSxDQUFDLGFBQWEsQ0FBQyxLQUFLLENBQUMsQ0FBQyxDQUFDO0FBQy9DLGlCQUFPLENBQUMsU0FBUyw2REFDTSxZQUFZLDZCQUM1QixDQUFDO0FBQ1IsY0FBTSxJQUFJLEdBQUcsSUFBSSxjQUFjLENBQUMsUUFBUSxFQUFFLE9BQUssSUFBSSxHQUFHLENBQUMsQ0FBQyxDQUFDO0FBQ3pELGlCQUFPLENBQUMsYUFBYSxDQUFDLFdBQVcsQ0FBQyxDQUFDLFdBQVcsQ0FBQyxJQUFJLENBQUMsTUFBTSxFQUFFLENBQUMsQ0FBQzs7QUFFOUQsZUFBSyxDQUFDLFdBQVcsQ0FBQyxPQUFPLENBQUMsYUFBYSxDQUFDLFdBQVcsQ0FBQyxDQUFDLENBQUM7U0FDdkQsQ0FBQyxDQUFDO09BQ0o7O0FBRUQsVUFBSSxJQUFJLENBQUMsTUFBTSxDQUFDLEtBQUssRUFBRTtBQUFFLGlCQUFTLENBQUMsSUFBSSxDQUFDLElBQUksRUFBRSxPQUFPLENBQUMsQ0FBQztPQUFFO0FBQ3pELFVBQUksSUFBSSxDQUFDLE1BQU0sQ0FBQyxLQUFLLEVBQUU7QUFBRSxpQkFBUyxDQUFDLElBQUksQ0FBQyxJQUFJLEVBQUUsT0FBTyxDQUFDLENBQUM7T0FBRTtBQUN6RCxVQUFJLElBQUksQ0FBQyxNQUFNLENBQUMsS0FBSyxFQUFFO0FBQUUsaUJBQVMsQ0FBQyxJQUFJLENBQUMsSUFBSSxFQUFFLE9BQU8sQ0FBQyxDQUFDO09BQUU7O0FBRXpELGVBQVMsU0FBUyxDQUFDLElBQUksRUFBRTs7O0FBQ3ZCLFlBQU0sVUFBVSxHQUFHLE9BQU8sQ0FBQyxhQUFhLGFBQVcsSUFBSSxDQUFHLENBQUM7O0FBRTNELFlBQUksQ0FBQyxNQUFNLENBQUMsSUFBSSxDQUFDLENBQUMsT0FBTyxDQUFDLFVBQUEsTUFBTSxFQUFJO0FBQ2xDLGNBQU0sS0FBSyxHQUFHLFFBQVEsQ0FBQyxhQUFhLENBQUMsS0FBSyxDQUFDLENBQUM7QUFDNUMsZUFBSyxDQUFDLFNBQVMsQ0FBQyxHQUFHLENBQUMsT0FBTyxDQUFDLENBQUM7QUFDN0IsY0FBTSxJQUFJLEdBQUcsSUFBSSxjQUFjLENBQUMsTUFBTSxFQUFFLE9BQUssSUFBSSxHQUFHLENBQUMsQ0FBQyxDQUFDO0FBQ3ZELGVBQUssQ0FBQyxXQUFXLENBQUMsSUFBSSxDQUFDLE1BQU0sRUFBRSxDQUFDLENBQUM7QUFDakMsb0JBQVUsQ0FBQyxXQUFXLENBQUMsS0FBSyxDQUFDLENBQUM7U0FDL0IsQ0FBQyxDQUFDO09BQ0o7S0FDRjs7O1NBOVZrQixjQUFjOzs7cUJBQWQsY0FBYyIsImZpbGUiOiJnZW5lcmF0ZWQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlc0NvbnRlbnQiOlsiKGZ1bmN0aW9uIGUodCxuLHIpe2Z1bmN0aW9uIHMobyx1KXtpZighbltvXSl7aWYoIXRbb10pe3ZhciBhPXR5cGVvZiByZXF1aXJlPT1cImZ1bmN0aW9uXCImJnJlcXVpcmU7aWYoIXUmJmEpcmV0dXJuIGEobywhMCk7aWYoaSlyZXR1cm4gaShvLCEwKTt2YXIgZj1uZXcgRXJyb3IoXCJDYW5ub3QgZmluZCBtb2R1bGUgJ1wiK28rXCInXCIpO3Rocm93IGYuY29kZT1cIk1PRFVMRV9OT1RfRk9VTkRcIixmfXZhciBsPW5bb109e2V4cG9ydHM6e319O3Rbb11bMF0uY2FsbChsLmV4cG9ydHMsZnVuY3Rpb24oZSl7dmFyIG49dFtvXVsxXVtlXTtyZXR1cm4gcyhuP246ZSl9LGwsbC5leHBvcnRzLGUsdCxuLHIpfXJldHVybiBuW29dLmV4cG9ydHN9dmFyIGk9dHlwZW9mIHJlcXVpcmU9PVwiZnVuY3Rpb25cIiYmcmVxdWlyZTtmb3IodmFyIG89MDtvPHIubGVuZ3RoO28rKylzKHJbb10pO3JldHVybiBzfSkiLCIndXNlIHN0cmljdCc7XG4vKlxuICogQ29udmVydHMgYW55T2YsIGFsbE9mIGFuZCBvbmVPZiB0byBodW1hbiByZWFkYWJsZSBzdHJpbmdcbiovXG5leHBvcnQgZnVuY3Rpb24gY29udmVydFhPZih0eXBlKSB7XG4gIHJldHVybiB0eXBlLnN1YnN0cmluZygwLCAzKSArICcgb2YnO1xufVxuXG4vKlxuICogaWYgY29uZGl0aW9uIGZvciBFUzYgdGVtcGxhdGUgc3RyaW5nc1xuICogdG8gYmUgdXNlZCBvbmx5IGluIHRlbXBsYXRlIHN0cmluZ1xuICpcbiAqIEBleGFtcGxlIG15c3RyID0gYFJhbmRvbSBpcyAke19pZihNYXRoLnJhbmRvbSgpID4gMC41KWBncmVhdGVyIHRoYW4gMC41YGBcbiAqXG4gKiBAcGFyYW0ge2Jvb2xlYW59IGNvbmRpdGlvblxuICpcbiAqIEByZXR1cm5zIHtmdW5jdGlvbn0gdGhlIHRlbXBsYXRlIGZ1bmN0aW9uXG4qL1xuZXhwb3J0IGZ1bmN0aW9uIF9pZihjb25kaXRpb24pIHtcbiAgcmV0dXJuIGNvbmRpdGlvbiA/IG5vcm1hbCA6IGVtcHR5O1xufVxuZnVuY3Rpb24gZW1wdHkoKXtcbiAgcmV0dXJuICcnO1xufVxuZnVuY3Rpb24gbm9ybWFsICh0ZW1wbGF0ZSwgLi4uZXhwcmVzc2lvbnMpIHtcbiAgcmV0dXJuIHRlbXBsYXRlLnNsaWNlKDEpLnJlZHVjZSgoYWNjdW11bGF0b3IsIHBhcnQsIGkpID0+IHtcbiAgICByZXR1cm4gYWNjdW11bGF0b3IgKyBleHByZXNzaW9uc1tpXSArIHBhcnQ7XG4gIH0sIHRlbXBsYXRlWzBdKTtcbn0iLCIndXNlIHN0cmljdCc7XG5cbi8qIGdsb2JhbHMgSlNPTlNjaGVtYVZpZXcgKi9cblxuaW1wb3J0IHtcbiAgY29udmVydFhPZixcbiAgX2lmXG59IGZyb20gJy4vaGVscGVycy5qcyc7XG5cblxuLyoqXG4gKiBAY2xhc3MgSlNPTlNjaGVtYVZpZXdcbiAqXG4gKiBBIHB1cmUgSmF2YVNjcmlwdCBjb21wb25lbnQgZm9yIHJlbmRlcmluZyBKU09OIFNjaGVtYSBpbiBIVE1MLlxuKi9cbmV4cG9ydCBkZWZhdWx0IGNsYXNzIEpTT05TY2hlbWFWaWV3IHtcblxuICAvKipcbiAgICogQHBhcmFtIHtvYmplY3R9IHNjaGVtYSBUaGUgSlNPTiBTY2hlbWEgb2JqZWN0XG4gICAqXG4gICAqIEBwYXJhbSB7bnVtYmVyfSBbb3Blbj0xXSBoaXMgbnVtYmVyIGluZGljYXRlcyB1cCB0byBob3cgbWFueSBsZXZlbHMgdGhlXG4gICAqIHJlbmRlcmVkIHRyZWUgc2hvdWxkIGV4cGFuZC4gU2V0IGl0IHRvIGAwYCB0byBtYWtlIHRoZSB3aG9sZSB0cmVlIGNvbGxhcHNlZFxuICAgKiBvciBzZXQgaXQgdG8gYEluZmluaXR5YCB0byBleHBhbmQgdGhlIHRyZWUgZGVlcGx5XG4gICAqIEBwYXJhbSB7b2JqZWN0fSBvcHRpb25zLlxuICAgKiAgdGhlbWUge3N0cmluZ306IG9uZSBvZiB0aGUgZm9sbG93aW5nIG9wdGlvbnM6IFsnZGFyayddXG4gICovXG4gIGNvbnN0cnVjdG9yKHNjaGVtYSwgb3Blbiwgb3B0aW9ucyA9IHt0aGVtZTogbnVsbH0pIHtcbiAgICB0aGlzLnNjaGVtYSA9IHNjaGVtYTtcbiAgICB0aGlzLm9wZW4gPSBvcGVuO1xuICAgIHRoaXMub3B0aW9ucyA9IG9wdGlvbnM7XG4gICAgdGhpcy5pc0NvbGxhcHNlZCA9IG9wZW4gPD0gMDtcblxuICAgIC8vIGlmIHNjaGVtYSBpcyBhbiBlbXB0eSBvYmplY3Qgd2hpY2ggbWVhbnMgYW55IEpPU05cbiAgICB0aGlzLmlzQW55ID0gdHlwZW9mIHNjaGVtYSA9PT0gJ29iamVjdCcgJiZcbiAgICAgICFBcnJheS5pc0FycmF5KHNjaGVtYSkgJiZcbiAgICAgICFPYmplY3Qua2V5cyhzY2hlbWEpXG4gICAgICAuZmlsdGVyKGs9PiBbJ3RpdGxlJywgJ2Rlc2NyaXB0aW9uJ10uaW5kZXhPZihrKSA9PT0gLTEpLmxlbmd0aDtcblxuICAgIC8vIERldGVybWluZSBpZiBhIHNjaGVtYSBpcyBhbiBhcnJheVxuICAgIHRoaXMuaXNBcnJheSA9ICF0aGlzLmlzQW55ICYmIHRoaXMuc2NoZW1hICYmIHRoaXMuc2NoZW1hLnR5cGUgPT09ICdhcnJheSc7XG5cbiAgICB0aGlzLmlzT2JqZWN0ID0gdGhpcy5zY2hlbWEgJiZcbiAgICAgICh0aGlzLnNjaGVtYS50eXBlID09PSAnb2JqZWN0JyB8fFxuICAgICAgIHRoaXMuc2NoZW1hLnByb3BlcnRpZXMgfHxcbiAgICAgICB0aGlzLnNjaGVtYS5hbnlPZiB8fFxuICAgICAgIHRoaXMuc2NoZW1hLm9uZW9mIHx8XG4gICAgICAgdGhpcy5zY2hlbWEuYWxsT2YpO1xuXG4gICAgLy8gRGV0ZXJtaW5lIGlmIGEgc2NoZW1hIGlzIGEgcHJpbWl0aXZlXG4gICAgdGhpcy5pc1ByaW1pdGl2ZSA9ICF0aGlzLmlzQW55ICYmICF0aGlzLmlzQXJyYXkgJiYgIXRoaXMuaXNPYmplY3Q7XG5cbiAgICAvL1xuICAgIHRoaXMuc2hvd1RvZ2dsZSA9IHRoaXMuc2NoZW1hLmRlc2NyaXB0aW9uIHx8XG4gICAgICB0aGlzLnNjaGVtYS50aXRsZSB8fFxuICAgICAgKHRoaXMuaXNQcmltaXRpdmUgJiYgKFxuICAgICAgICB0aGlzLnNjaGVtYS5taW5pbXVtIHx8XG4gICAgICAgIHRoaXMuc2NoZW1hLm1heGltdW0gfHxcbiAgICAgICAgdGhpcy5zY2hlbWEuZXhjbHVzaXZlTWluaW11bSB8fFxuICAgICAgICB0aGlzLnNjaGVtYS5leGNsdXNpdmVNYXhpbXVtKVxuICAgICAgKTtcblxuICAgIC8vIHBvcHVsYXRlIGlzUmVxdWlyZWQgcHJvcGVydHkgZG93biB0byBwcm9wZXJ0aWVzXG4gICAgaWYgKHRoaXMuc2NoZW1hICYmIEFycmF5LmlzQXJyYXkodGhpcy5zY2hlbWEucmVxdWlyZWQpKSB7XG4gICAgICB0aGlzLnNjaGVtYS5yZXF1aXJlZC5mb3JFYWNoKHJlcXVpcmVkUHJvcGVydHkgPT4ge1xuICAgICAgICBpZiAodHlwZW9mIHRoaXMuc2NoZW1hLnByb3BlcnRpZXNbcmVxdWlyZWRQcm9wZXJ0eV0gPT09ICdvYmplY3QnKSB7XG4gICAgICAgICAgdGhpcy5zY2hlbWEucHJvcGVydGllc1tyZXF1aXJlZFByb3BlcnR5XS5pc1JlcXVpcmVkID0gdHJ1ZTtcbiAgICAgICAgfVxuICAgICAgfSk7XG4gICAgfVxuICB9XG5cbiAgLypcbiAgICogUmV0dXJucyB0aGUgdGVtcGxhdGUgd2l0aCBwb3B1bGF0ZWQgcHJvcGVydGllcy5cbiAgICogVGhpcyB0ZW1wbGF0ZSBkb2VzIG5vdCBoYXZlIHRoZSBjaGlsZHJlblxuICAqL1xuICB0ZW1wbGF0ZSgpIHtcbiAgICBpZiAoIXRoaXMuc2NoZW1hKSB7XG4gICAgICByZXR1cm4gJyc7XG4gICAgfVxuXG4gICAgcmV0dXJuIGBcbiAgICAgIDwhLS0gQW55IC0tPlxuICAgICAgJHtfaWYodGhpcy5pc0FueSlgXG4gICAgICAgIDxkaXYgY2xhc3M9XCJhbnlcIj5cbiAgICAgICAgICAke19pZih0aGlzLnNob3dUb2dnbGUpYFxuICAgICAgICAgICAgPGEgY2xhc3M9XCJ0aXRsZVwiPjxzcGFuIGNsYXNzPVwidG9nZ2xlLWhhbmRsZVwiPjwvc3Bhbj4ke3RoaXMuc2NoZW1hLnRpdGxlIHx8ICcnfSA8L2E+XG4gICAgICAgICAgYH1cblxuICAgICAgICAgIDxzcGFuIGNsYXNzPVwidHlwZSB0eXBlLWFueVwiPiZsdDthbnkmZ3Q7PC9zcGFuPlxuXG4gICAgICAgICAgJHtfaWYodGhpcy5zY2hlbWEuZGVzY3JpcHRpb24gJiYgIXRoaXMuaXNDb2xsYXBzZWQpYFxuICAgICAgICAgICAgPGRpdiBjbGFzcz1cImlubmVyIGRlc2NyaXB0aW9uXCI+JHt0aGlzLnNjaGVtYS5kZXNjcmlwdGlvbn08L2Rpdj5cbiAgICAgICAgICBgfVxuXHRcdCBcblx0XHQgICR7X2lmKHRoaXMuc2NoZW1hLnJlcXVpcmVkICYmICF0aGlzLmlzQ29sbGFwc2VkKWBcbiAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJpbm5lciByZXF1aXJlZFwiPlJlcXVpcmVkOiAke3RoaXMuc2NoZW1hLnJlcXVpcmVkfTwvZGl2PlxuICAgICAgICAgIGB9XG5cdFx0ICAke19pZih0aGlzLnNjaGVtYS5kZWZhdWx0ICYmICF0aGlzLmlzQ29sbGFwc2VkKWBcbiAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJpbm5lciBkZWZhdWx0XCI+RGVmYXVsdDogJHt0aGlzLnNjaGVtYS5kZWZhdWx0fTwvZGl2PlxuICAgICAgICAgIGB9XG5cdFx0ICAgJHtfaWYodGhpcy5zY2hlbWEucGF0dGVybiAmJiAhdGhpcy5pc0NvbGxhcHNlZClgXG4gICAgICAgICAgICA8ZGl2IGNsYXNzPVwiaW5uZXIgcGF0dGVyblwiPlBhdHRlcm46ICR7dGhpcy5zY2hlbWEucGF0dGVybn08L2Rpdj5cbiAgICAgICAgICBgfVxuICAgICAgICA8L2Rpdj5cbiAgICAgIGB9XG5cbiAgICAgIDwhLS0gUHJpbWl0aXZlIC0tPlxuICAgICAgJHtfaWYodGhpcy5pc1ByaW1pdGl2ZSlgXG4gICAgICAgIDxkaXYgY2xhc3M9XCJwcmltaXRpdmVcIj5cbiAgICAgICAgICAke19pZih0aGlzLnNob3dUb2dnbGUpYFxuICAgICAgICAgICAgPGEgY2xhc3M9XCJ0aXRsZVwiPjxzcGFuIGNsYXNzPVwidG9nZ2xlLWhhbmRsZVwiPjwvc3Bhbj4ke3RoaXMuc2NoZW1hLnRpdGxlIHx8ICcnfSA8L2E+XG4gICAgICAgICAgYH1cblxuICAgICAgICAgICAgPHNwYW4gY2xhc3M9XCJ0eXBlXCI+JHt0aGlzLnNjaGVtYS50eXBlfTwvc3Bhbj5cblxuICAgICAgICAgXG5cbiAgICAgICAgICAke19pZighdGhpcy5pc0NvbGxhcHNlZCAmJiB0aGlzLnNjaGVtYS5mb3JtYXQpYFxuICAgICAgICAgICAgPHNwYW4gY2xhc3M9XCJmb3JtYXRcIj4oJHt0aGlzLnNjaGVtYS5mb3JtYXR9KTwvc3Bhbj5cbiAgICAgICAgICBgfVxuXG4gICAgICAgICAgJHtfaWYoIXRoaXMuaXNDb2xsYXBzZWQgJiYgdGhpcy5zY2hlbWEubWluaW11bSlgXG4gICAgICAgICAgICA8c3BhbiBjbGFzcz1cInJhbmdlIG1pbmltdW1cIj5taW5pbXVtOiR7dGhpcy5zY2hlbWEubWluaW11bX08L3NwYW4+XG4gICAgICAgICAgYH1cblxuICAgICAgICAgICR7X2lmKCF0aGlzLmlzQ29sbGFwc2VkICYmIHRoaXMuc2NoZW1hLmV4Y2x1c2l2ZU1pbmltdW0pYFxuICAgICAgICAgICAgPHNwYW4gY2xhc3M9XCJyYW5nZSBleGNsdXNpdmVNaW5pbXVtXCI+KGV4KW1pbmltdW06JHt0aGlzLnNjaGVtYS5leGNsdXNpdmVNaW5pbXVtfTwvc3Bhbj5cbiAgICAgICAgICBgfVxuXG4gICAgICAgICAgJHtfaWYoIXRoaXMuaXNDb2xsYXBzZWQgJiYgdGhpcy5zY2hlbWEubWF4aW11bSlgXG4gICAgICAgICAgICA8c3BhbiBjbGFzcz1cInJhbmdlIG1heGltdW1cIj5tYXhpbXVtOiR7dGhpcy5zY2hlbWEubWF4aW11bX08L3NwYW4+XG4gICAgICAgICAgYH1cblxuICAgICAgICAgICR7X2lmKCF0aGlzLmlzQ29sbGFwc2VkICYmIHRoaXMuc2NoZW1hLmV4Y2x1c2l2ZU1heGltdW0pYFxuICAgICAgICAgICAgPHNwYW4gY2xhc3M9XCJyYW5nZSBleGNsdXNpdmVNYXhpbXVtXCI+KGV4KW1heGltdW06JHt0aGlzLnNjaGVtYS5leGNsdXNpdmVNYXhpbXVtfTwvc3Bhbj5cbiAgICAgICAgICBgfVxuXG4gICAgICAgICAgJHtfaWYoIXRoaXMuaXNDb2xsYXBzZWQgJiYgdGhpcy5zY2hlbWEubWluTGVuZ3RoKWBcbiAgICAgICAgICAgIDxzcGFuIGNsYXNzPVwicmFuZ2UgbWluTGVuZ3RoXCI+bWluTGVuZ3RoOiR7dGhpcy5zY2hlbWEubWluTGVuZ3RofTwvc3Bhbj5cbiAgICAgICAgICBgfVxuXG4gICAgICAgICAgJHtfaWYoIXRoaXMuaXNDb2xsYXBzZWQgJiYgdGhpcy5zY2hlbWEubWF4TGVuZ3RoKWBcbiAgICAgICAgICAgIDxzcGFuIGNsYXNzPVwicmFuZ2UgbWF4TGVuZ3RoXCI+bWF4TGVuZ3RoOiR7dGhpcy5zY2hlbWEubWF4TGVuZ3RofTwvc3Bhbj5cbiAgICAgICAgICBgfVxuXG4gICAgICAgICAgJHtfaWYodGhpcy5zY2hlbWEuZGVzY3JpcHRpb24gJiYgIXRoaXMuaXNDb2xsYXBzZWQpYFxuICAgICAgICAgICAgPGRpdiBjbGFzcz1cImlubmVyIGRlc2NyaXB0aW9uXCI+JHt0aGlzLnNjaGVtYS5kZXNjcmlwdGlvbn08L2Rpdj5cbiAgICAgICAgICBgfVxuXHRcdCAgXG5cdFx0IFxuXHRcdCAgXG5cdFx0ICAgJHtfaWYodGhpcy5zY2hlbWEucmVxdWlyZWQgJiYgIXRoaXMuaXNDb2xsYXBzZWQpYFxuICAgICAgICAgICAgPGRpdiBjbGFzcz1cImlubmVyIHJlcXVpcmVkXCI+UmVxdWlyZWQ8L2Rpdj5cbiAgICAgICAgICBgfVxuXHRcdCAgJHtfaWYodGhpcy5zY2hlbWEuZGVmYXVsdCAmJiAhdGhpcy5pc0NvbGxhcHNlZClgXG4gICAgICAgICAgICA8ZGl2IGNsYXNzPVwiaW5uZXIgZGVmYXVsdFwiPkRlZmF1bHQ6ICR7dGhpcy5zY2hlbWEuZGVmYXVsdH08L2Rpdj5cbiAgICAgICAgICBgfVxuXHRcdCAgICR7X2lmKHRoaXMuc2NoZW1hLnBhdHRlcm4gJiYgIXRoaXMuaXNDb2xsYXBzZWQpYFxuICAgICAgICAgICAgPGRpdiBjbGFzcz1cImlubmVyIHBhdHRlcm5cIj5QYXR0ZXJuOiAke3RoaXMuc2NoZW1hLnBhdHRlcm59PC9kaXY+XG4gICAgICAgICAgYH1cblxuICAgICAgICAgICR7X2lmKCF0aGlzLmlzQ29sbGFwc2VkICYmIHRoaXMuc2NoZW1hLmVudW0pYFxuICAgICAgICAgICAgJHt0aGlzLmVudW0odGhpcy5zY2hlbWEsIHRoaXMuaXNDb2xsYXBzZWQsIHRoaXMub3Blbil9XG4gICAgICAgICAgYH1cblxuICAgICAgICAgICR7X2lmKHRoaXMuc2NoZW1hLmFsbE9mICYmICF0aGlzLmlzQ29sbGFwc2VkKWAke3RoaXMueE9mKHRoaXMuc2NoZW1hLCAnYWxsT2YnKX1gfVxuICAgICAgICAgICR7X2lmKHRoaXMuc2NoZW1hLm9uZU9mICYmICF0aGlzLmlzQ29sbGFwc2VkKWAke3RoaXMueE9mKHRoaXMuc2NoZW1hLCAnb25lT2YnKX1gfVxuICAgICAgICAgICR7X2lmKHRoaXMuc2NoZW1hLmFueU9mICYmICF0aGlzLmlzQ29sbGFwc2VkKWAke3RoaXMueE9mKHRoaXMuc2NoZW1hLCAnYW55T2YnKX1gfVxuICAgICAgICA8L2Rpdj5cbiAgICAgIGB9XG5cblxuICAgICAgPCEtLSBBcnJheSAtLT5cbiAgICAgICR7X2lmKHRoaXMuaXNBcnJheSlgXG4gICAgICAgIDxkaXYgY2xhc3M9XCJhcnJheVwiPlxuICAgICAgICAgIDxhIGNsYXNzPVwidGl0bGVcIj48c3BhbiBjbGFzcz1cInRvZ2dsZS1oYW5kbGVcIj48L3NwYW4+JHt0aGlzLnNjaGVtYS50aXRsZSB8fCAnJ308c3BhbiBjbGFzcz1cIm9wZW5pbmcgYnJhY2tldFwiPls8L3NwYW4+JHtfaWYodGhpcy5pc0NvbGxhcHNlZClgPHNwYW4gY2xhc3M9XCJjbG9zaW5nIGJyYWNrZXRcIj5dPC9zcGFuPmB9PC9hPlxuICAgICAgICAgICR7X2lmKCF0aGlzLmlzQ29sbGFwc2VkICYmICh0aGlzLnNjaGVtYS51bmlxdWVJdGVtcyB8fCB0aGlzLnNjaGVtYS5taW5JdGVtcyB8fCB0aGlzLnNjaGVtYS5tYXhJdGVtcykpYFxuICAgICAgICAgIDxzcGFuPlxuICAgICAgICAgICAgPHNwYW4gdGl0bGU9XCJpdGVtcyByYW5nZVwiPigke3RoaXMuc2NoZW1hLm1pbkl0ZW1zIHx8IDB9Li4ke3RoaXMuc2NoZW1hLm1heEl0ZW1zIHx8ICfiiJ4nfSk8L3NwYW4+XG4gICAgICAgICAgICAke19pZighdGhpcy5pc0NvbGxhcHNlZCAmJiB0aGlzLnNjaGVtYS51bmlxdWVJdGVtcylgPHNwYW4gdGl0bGU9XCJ1bmlxdWVcIiBjbGFzcz1cInVuaXF1ZUl0ZW1zXCI+4pmmPC9zcGFuPmB9XG4gICAgICAgICAgPC9zcGFuPlxuICAgICAgICAgIGB9XG4gICAgICAgICAgPGRpdiBjbGFzcz1cImlubmVyXCI+XG4gICAgICAgICAgICAke19pZighdGhpcy5pc0NvbGxhcHNlZCAmJiB0aGlzLnNjaGVtYS5kZXNjcmlwdGlvbilgXG4gICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJkZXNjcmlwdGlvblwiPiR7dGhpcy5zY2hlbWEuZGVzY3JpcHRpb259PC9kaXY+XG4gICAgICAgICAgICBgfVxuICAgICAgICAgIDwvZGl2PlxuXG4gICAgICAgICAgJHtfaWYoIXRoaXMuaXNDb2xsYXBzZWQgJiYgdGhpcy5zY2hlbWEuZW51bSlgXG4gICAgICAgICAgICAke3RoaXMuZW51bSh0aGlzLnNjaGVtYSwgdGhpcy5pc0NvbGxhcHNlZCwgdGhpcy5vcGVuKX1cbiAgICAgICAgICBgfVxuXG4gICAgICAgICAgJHtfaWYodGhpcy5zY2hlbWEuYWxsT2YgJiYgIXRoaXMuaXNDb2xsYXBzZWQpYCR7dGhpcy54T2YodGhpcy5zY2hlbWEsICdhbGxPZicpfWB9XG4gICAgICAgICAgJHtfaWYodGhpcy5zY2hlbWEub25lT2YgJiYgIXRoaXMuaXNDb2xsYXBzZWQpYCR7dGhpcy54T2YodGhpcy5zY2hlbWEsICdvbmVPZicpfWB9XG4gICAgICAgICAgJHtfaWYodGhpcy5zY2hlbWEuYW55T2YgJiYgIXRoaXMuaXNDb2xsYXBzZWQpYCR7dGhpcy54T2YodGhpcy5zY2hlbWEsICdhbnlPZicpfWB9XG5cbiAgICAgICAgICAke19pZighdGhpcy5pc0NvbGxhcHNlZClgXG4gICAgICAgICAgPHNwYW4gY2xhc3M9XCJjbG9zaW5nIGJyYWNrZXRcIj5dPC9zcGFuPlxuICAgICAgICAgIGB9XG4gICAgICAgIDwvZGl2PlxuICAgICAgYH1cblxuICAgICAgPCEtLSBPYmplY3QgLS0+XG4gICAgICAke19pZighdGhpcy5pc1ByaW1pdGl2ZSAmJiAhdGhpcy5pc0FycmF5ICYmICF0aGlzLmlzQW55KWBcbiAgICAgICAgPGRpdiBjbGFzcz1cIm9iamVjdFwiPlxuICAgICAgICAgIDxhIGNsYXNzPVwidGl0bGVcIj48c3BhblxuICAgICAgICAgICAgY2xhc3M9XCJ0b2dnbGUtaGFuZGxlXCI+PC9zcGFuPiR7dGhpcy5zY2hlbWEudGl0bGUgfHwgJyd9IDxzcGFuXG4gICAgICAgICAgICBjbGFzcz1cIm9wZW5pbmcgYnJhY2VcIj57PC9zcGFuPiR7X2lmKHRoaXMuaXNDb2xsYXBzZWQpYFxuICAgICAgICAgICAgICA8c3BhbiBjbGFzcz1cImNsb3NpbmcgYnJhY2VcIiBuZy1pZj1cImlzQ29sbGFwc2VkXCI+fTwvc3Bhbj5cbiAgICAgICAgICBgfTwvYT5cblxuICAgICAgICAgIDxkaXYgY2xhc3M9XCJpbm5lclwiPlxuICAgICAgICAgICAgJHtfaWYoIXRoaXMuaXNDb2xsYXBzZWQgJiYgdGhpcy5zY2hlbWEuZGVzY3JpcHRpb24pYFxuICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwiZGVzY3JpcHRpb25cIj4ke3RoaXMuc2NoZW1hLmRlc2NyaXB0aW9ufTwvZGl2PlxuICAgICAgICAgICAgYH1cbiAgICAgICAgICAgIDwhLS0gY2hpbGRyZW4gZ28gaGVyZSAtLT5cblx0XHQgIFxuXHRcdCAgICR7X2lmKHRoaXMuc2NoZW1hLnJlcXVpcmVkICYmICF0aGlzLmlzQ29sbGFwc2VkKWBcbiAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJyZXF1aXJlZFwiPkRlZmF1bHQgRmllbGRzOiAke3RoaXMuc2NoZW1hLnJlcXVpcmVkfTwvZGl2PlxuICAgICAgICAgIGB9XG5cdFx0ICAke19pZih0aGlzLnNjaGVtYS5kZWZhdWx0ICYmICF0aGlzLmlzQ29sbGFwc2VkKWBcbiAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJkZWZhdWx0XCI+RGVmYXVsdDogJHt0aGlzLnNjaGVtYS5kZWZhdWx0fTwvZGl2PlxuICAgICAgICAgIGB9XG5cdFx0ICBcblx0XHRcdCR7X2lmKCF0aGlzLmlzQ29sbGFwc2VkICYmIHRoaXMuc2NoZW1hLnBhdHRlcm4pYFxuICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwicGF0dGVyblwiPlBhdHRlcm46ICR7dGhpcy5zY2hlbWEucGF0dGVybn08L2Rpdj5cbiAgICAgICAgICAgIGB9XG4gICAgICAgICAgPC9kaXY+XG5cbiAgICAgICAgICAke19pZighdGhpcy5pc0NvbGxhcHNlZCAmJiB0aGlzLnNjaGVtYS5lbnVtKWBcbiAgICAgICAgICAgICR7dGhpcy5lbnVtKHRoaXMuc2NoZW1hLCB0aGlzLmlzQ29sbGFwc2VkLCB0aGlzLm9wZW4pfVxuICAgICAgICAgIGB9XG5cbiAgICAgICAgICAke19pZih0aGlzLnNjaGVtYS5hbGxPZiAmJiAhdGhpcy5pc0NvbGxhcHNlZClgJHt0aGlzLnhPZih0aGlzLnNjaGVtYSwgJ2FsbE9mJyl9YH1cbiAgICAgICAgICAke19pZih0aGlzLnNjaGVtYS5vbmVPZiAmJiAhdGhpcy5pc0NvbGxhcHNlZClgJHt0aGlzLnhPZih0aGlzLnNjaGVtYSwgJ29uZU9mJyl9YH1cbiAgICAgICAgICAke19pZih0aGlzLnNjaGVtYS5hbnlPZiAmJiAhdGhpcy5pc0NvbGxhcHNlZClgJHt0aGlzLnhPZih0aGlzLnNjaGVtYSwgJ2FueU9mJyl9YH1cblxuICAgICAgICAgICR7X2lmKCF0aGlzLmlzQ29sbGFwc2VkKWBcbiAgICAgICAgICA8c3BhbiBjbGFzcz1cImNsb3NpbmcgYnJhY2VcIj59PC9zcGFuPlxuICAgICAgICAgIGB9XG4gICAgICAgIDwvZGl2PlxuICAgICAgYH1cbmAucmVwbGFjZSgvXFxzKlxcbi9nLCAnXFxuJykucmVwbGFjZSgvKFxcPFxcIVxcLVxcLSkuKy9nLCAnJykudHJpbSgpO1xuICB9XG5cbiAgLypcbiAgICogVGVtcGxhdGUgZm9yIG9uZU9mLCBhbnlPZiBhbmQgYWxsT2ZcbiAgKi9cbiAgeE9mKHNjaGVtYSwgdHlwZSkge1xuICAgIHJldHVybiBgXG4gICAgICA8ZGl2IGNsYXNzPVwiaW5uZXIgJHt0eXBlfVwiPlxuICAgICAgICA8Yj4ke2NvbnZlcnRYT2YodHlwZSl9OjwvYj5cbiAgICAgIDwvZGl2PlxuICAgIGA7XG4gIH1cblxuICAvKlxuICAgKiBUZW1wbGF0ZSBmb3IgZW51bXNcbiAgKi9cbiAgZW51bShzY2hlbWEsIGlzQ29sbGFwc2VkLCBvcGVuKSB7XG4gICAgcmV0dXJuIGBcbiAgICAgICR7X2lmKCFpc0NvbGxhcHNlZCAmJiBzY2hlbWEuZW51bSlgXG4gICAgICAgIDxkaXYgY2xhc3M9XCJpbm5lciBlbnVtc1wiPlxuICAgICAgICAgIDxiPkVudW06PC9iPlxuICAgICAgICA8L2Rpdj5cbiAgICAgIGB9XG4gICAgYDtcbiAgfVxuXG4gIC8qXG4gICAqIFRvZ2dsZXMgdGhlICdjb2xsYXBzZWQnIHN0YXRlXG4gICovXG4gIHRvZ2dsZSgpIHtcbiAgICB0aGlzLmlzQ29sbGFwc2VkID0gIXRoaXMuaXNDb2xsYXBzZWQ7XG4gICAgdGhpcy5yZW5kZXIoKTtcbiAgfVxuXG4gIC8qXG4gICAqIFJlbmRlcnMgdGhlIGVsZW1lbnQgYW5kIHJldHVybnMgaXRcbiAgKi9cbiAgcmVuZGVyKCkge1xuICAgIGlmICghdGhpcy5lbGVtZW50KSB7XG4gICAgICB0aGlzLmVsZW1lbnQgPSBkb2N1bWVudC5jcmVhdGVFbGVtZW50KCdkaXYnKTtcbiAgICAgIHRoaXMuZWxlbWVudC5jbGFzc0xpc3QuYWRkKCdqc29uLXNjaGVtYS12aWV3Jyk7XG4gICAgfVxuXG4gICAgaWYgKHRoaXMuaXNDb2xsYXBzZWQpIHtcbiAgICAgIHRoaXMuZWxlbWVudC5jbGFzc0xpc3QuYWRkKCdjb2xsYXBzZWQnKTtcbiAgICB9IGVsc2Uge1xuICAgICAgdGhpcy5lbGVtZW50LmNsYXNzTGlzdC5yZW1vdmUoJ2NvbGxhcHNlZCcpO1xuICAgIH1cblxuICAgIGlmICh0aGlzLm9wdGlvbnMudGhlbWUpIHtcbiAgICAgIHRoaXMuZWxlbWVudC5jbGFzc0xpc3QuYWRkKGBqc29uLXNjaGVtYS12aWV3LSR7dGhpcy5vcHRpb25zLnRoZW1lfWApO1xuICAgIH1cblxuICAgIHRoaXMuZWxlbWVudC5pbm5lckhUTUwgPSB0aGlzLnRlbXBsYXRlKCk7XG5cbiAgICBpZiAoIXRoaXMuc2NoZW1hKSB7XG4gICAgICByZXR1cm4gdGhpcy5lbGVtZW50O1xuICAgIH1cblxuICAgIGlmICghdGhpcy5pc0NvbGxhcHNlZCkge1xuICAgICAgdGhpcy5hcHBlbmRDaGlsZHJlbih0aGlzLmVsZW1lbnQpO1xuICAgIH1cblxuICAgIC8vIGFkZCBldmVudCBsaXN0ZW5lciBmb3IgdG9nZ2xpbmdcbiAgICBpZiAodGhpcy5lbGVtZW50LnF1ZXJ5U2VsZWN0b3IoJ2EudGl0bGUnKSkge1xuICAgICAgdGhpcy5lbGVtZW50LnF1ZXJ5U2VsZWN0b3IoJ2EudGl0bGUnKS5hZGRFdmVudExpc3RlbmVyKCdjbGljaycsIHRoaXMudG9nZ2xlLmJpbmQodGhpcykpO1xuICAgIH1cbiAgICByZXR1cm4gdGhpcy5lbGVtZW50O1xuICB9XG5cbiAgLypcbiAgICogQXBwZW5kcyBjaGlsZHJlbiB0byBnaXZlbiBlbGVtZW50IGJhc2VkIG9uIGN1cnJlbnQgc2NoZW1hXG4gICovXG4gIGFwcGVuZENoaWxkcmVuKGVsZW1lbnQpIHtcbiAgICBjb25zdCBpbm5lciA9IGVsZW1lbnQucXVlcnlTZWxlY3RvcignLmlubmVyJyk7XG5cbiAgICBpZiAoIWlubmVyKSB7XG4gICAgICByZXR1cm47XG4gICAgfVxuXG4gICAgaWYgKHRoaXMuc2NoZW1hLmVudW0pIHtcbiAgICAgIGNvbnN0IGZvcm1hdHRlciA9IG5ldyBKU09ORm9ybWF0dGVyKHRoaXMuc2NoZW1hLmVudW0sIHRoaXMub3BlbiAtIDEpO1xuICAgICAgY29uc3QgZm9ybWF0dGVyRWwgPSBmb3JtYXR0ZXIucmVuZGVyKCk7XG4gICAgICBmb3JtYXR0ZXJFbC5jbGFzc0xpc3QuYWRkKCdpbm5lcicpO1xuICAgICAgZWxlbWVudC5xdWVyeVNlbGVjdG9yKCcuZW51bXMuaW5uZXInKS5hcHBlbmRDaGlsZChmb3JtYXR0ZXJFbCk7XG5cbiAgICB9XG5cbiAgICBpZiAodGhpcy5pc0FycmF5KSB7XG4gICAgICBjb25zdCB2aWV3ID0gbmV3IEpTT05TY2hlbWFWaWV3KHRoaXMuc2NoZW1hLml0ZW1zLCB0aGlzLm9wZW4gLSAxKVxuICAgICAgaW5uZXIuYXBwZW5kQ2hpbGQodmlldy5yZW5kZXIoKSk7XG4gICAgfVxuXG4gICAgaWYgKHR5cGVvZiB0aGlzLnNjaGVtYS5wcm9wZXJ0aWVzID09PSAnb2JqZWN0Jykge1xuICAgICAgT2JqZWN0LmtleXModGhpcy5zY2hlbWEucHJvcGVydGllcykuZm9yRWFjaChwcm9wZXJ0eU5hbWUgPT4ge1xuICAgICAgICBjb25zdCBwcm9wZXJ0eSA9IHRoaXMuc2NoZW1hLnByb3BlcnRpZXNbcHJvcGVydHlOYW1lXTtcbiAgICAgICAgY29uc3QgdGVtcERpdiA9IGRvY3VtZW50LmNyZWF0ZUVsZW1lbnQoJ2RpdicpOztcbiAgICAgICAgdGVtcERpdi5pbm5lckhUTUwgPSBgPGRpdiBjbGFzcz1cInByb3BlcnR5XCI+XG4gICAgICAgICAgPHNwYW4gY2xhc3M9XCJuYW1lXCI+JHtwcm9wZXJ0eU5hbWV9Ojwvc3Bhbj5cbiAgICAgICAgPC9kaXY+YDtcbiAgICAgICAgY29uc3QgdmlldyA9IG5ldyBKU09OU2NoZW1hVmlldyhwcm9wZXJ0eSwgdGhpcy5vcGVuIC0gMSk7XG4gICAgICAgIHRlbXBEaXYucXVlcnlTZWxlY3RvcignLnByb3BlcnR5JykuYXBwZW5kQ2hpbGQodmlldy5yZW5kZXIoKSk7XG5cbiAgICAgICAgaW5uZXIuYXBwZW5kQ2hpbGQodGVtcERpdi5xdWVyeVNlbGVjdG9yKCcucHJvcGVydHknKSk7XG4gICAgICB9KTtcbiAgICB9XG5cbiAgICBpZiAodGhpcy5zY2hlbWEuYWxsT2YpIHsgYXBwZW5kWE9mLmNhbGwodGhpcywgJ2FsbE9mJyk7IH1cbiAgICBpZiAodGhpcy5zY2hlbWEub25lT2YpIHsgYXBwZW5kWE9mLmNhbGwodGhpcywgJ29uZU9mJyk7IH1cbiAgICBpZiAodGhpcy5zY2hlbWEuYW55T2YpIHsgYXBwZW5kWE9mLmNhbGwodGhpcywgJ2FueU9mJyk7IH1cblxuICAgIGZ1bmN0aW9uIGFwcGVuZFhPZih0eXBlKSB7XG4gICAgICBjb25zdCBpbm5lckFsbE9mID0gZWxlbWVudC5xdWVyeVNlbGVjdG9yKGAuaW5uZXIuJHt0eXBlfWApO1xuXG4gICAgICB0aGlzLnNjaGVtYVt0eXBlXS5mb3JFYWNoKHNjaGVtYSA9PiB7XG4gICAgICAgIGNvbnN0IGlubmVyID0gZG9jdW1lbnQuY3JlYXRlRWxlbWVudCgnZGl2Jyk7XG4gICAgICAgIGlubmVyLmNsYXNzTGlzdC5hZGQoJ2lubmVyJyk7XG4gICAgICAgIGNvbnN0IHZpZXcgPSBuZXcgSlNPTlNjaGVtYVZpZXcoc2NoZW1hLCB0aGlzLm9wZW4gLSAxKTtcbiAgICAgICAgaW5uZXIuYXBwZW5kQ2hpbGQodmlldy5yZW5kZXIoKSk7XG4gICAgICAgIGlubmVyQWxsT2YuYXBwZW5kQ2hpbGQoaW5uZXIpO1xuICAgICAgfSk7XG4gICAgfVxuICB9XG59XG4iXX0=
24884
24885</script>
24886
tragait5e9676e2021-01-14 16:07:07 +000024887<script>
seshukmb3a332a2018-10-05 16:27:16 +080024888(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.$RefParser = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
24889/** !
24890 * JSON Schema $Ref Parser v3.1.2
24891 *
24892 * @link https://github.com/BigstickCarpet/json-schema-ref-parser
24893 * @license MIT
24894 */
24895"use strict";function bundle(e,r){debug("Bundling $ref pointers in %s",e.$refs._root$Ref.path);var t=[];crawl(e,"schema",e.$refs._root$Ref.path+"#","#",t,e.$refs,r),remap(t)}function crawl(e,r,t,f,n,i,a){var o=null===r?e:e[r];if(o&&"object"==typeof o)if($Ref.is$Ref(o))inventory$Ref(e,r,t,f,n,i,a);else{var l=Object.keys(o),u=l.indexOf("definitions");u>0&&l.splice(0,0,l.splice(u,1)[0]),l.forEach(function(e){var r=Pointer.join(t,e),l=Pointer.join(f,e),u=o[e];$Ref.is$Ref(u)?inventory$Ref(o,e,t,l,n,i,a):crawl(o,e,r,l,n,i,a)})}}function inventory$Ref(e,r,t,f,n,i,a){if(!n.some(function(t){return t.parent===e&&t.key===r})){var o=null===r?e:e[r],l=url.resolve(t,o.$ref),u=i._resolve(l,a),h=Pointer.parse(f).length,s=url.stripHash(u.path),$=url.getHash(u.path),c=s!==i._root$Ref.path,p=$Ref.isExtended$Ref(o);n.push({$ref:o,parent:e,key:r,pathFromRoot:f,depth:h,file:s,hash:$,value:u.value,circular:u.circular,extended:p,external:c}),crawl(u.value,null,u.path,f,n,i,a)}}function remap(e){e.sort(function(e,r){return e.file!==r.file?e.file<r.file?-1:1:e.hash!==r.hash?e.hash<r.hash?-1:1:e.circular!==r.circular?e.circular?-1:1:e.extended!==r.extended?e.extended?1:-1:e.depth!==r.depth?e.depth-r.depth:r.pathFromRoot.lastIndexOf("/definitions")-e.pathFromRoot.lastIndexOf("/definitions")});var r,t,f;e.forEach(function(e){debug('Re-mapping $ref pointer "%s" at %s',e.$ref.$ref,e.pathFromRoot),e.external?e.file===r&&e.hash===t?e.$ref.$ref=f:e.file===r&&0===e.hash.indexOf(t+"/")?e.$ref.$ref=Pointer.join(f,Pointer.parse(e.hash)):(r=e.file,t=e.hash,f=e.pathFromRoot,e.$ref=e.parent[e.key]=$Ref.dereference(e.$ref,e.value),e.circular&&(e.$ref.$ref=e.pathFromRoot)):e.$ref.$ref=e.hash,debug(" new value: %s",e.$ref&&e.$ref.$ref?e.$ref.$ref:"[object Object]")})}var $Ref=require("./ref"),Pointer=require("./pointer"),debug=require("./util/debug"),url=require("./util/url");module.exports=bundle;
24896
24897},{"./pointer":10,"./ref":11,"./util/debug":16,"./util/url":19}],2:[function(require,module,exports){
24898"use strict";function dereference(e,r){debug("Dereferencing $ref pointers in %s",e.$refs._root$Ref.path);var c=crawl(e.schema,e.$refs._root$Ref.path,"#",[],e.$refs,r);e.$refs.circular=c.circular,e.schema=c.value}function crawl(e,r,c,u,f,i){var n,a={value:e,circular:!1};return e&&"object"==typeof e&&(u.push(e),$Ref.isAllowed$Ref(e,i)?(n=dereference$Ref(e,r,c,u,f,i),a.circular=n.circular,a.value=n.value):Object.keys(e).forEach(function(l){var o=Pointer.join(r,l),t=Pointer.join(c,l),d=e[l],$=!1;$Ref.isAllowed$Ref(d,i)?(n=dereference$Ref(d,o,t,u,f,i),$=n.circular,e[l]=n.value):-1===u.indexOf(d)?(n=crawl(d,o,t,u,f,i),$=n.circular,e[l]=n.value):$=foundCircularReference(o,f,i),a.circular=a.circular||$}),u.pop()),a}function dereference$Ref(e,r,c,u,f,i){debug('Dereferencing $ref pointer "%s" at %s',e.$ref,r);var n=url.resolve(r,e.$ref),a=f._resolve(n,i),l=a.circular,o=l||-1!==u.indexOf(a.value);o&&foundCircularReference(r,f,i);var t=$Ref.dereference(e,a.value);if(!o){var d=crawl(t,a.path,c,u,f,i);o=d.circular,t=d.value}return o&&!l&&"ignore"===i.dereference.circular&&(t=e),l&&(t.$ref=c),{circular:o,value:t}}function foundCircularReference(e,r,c){if(r.circular=!0,!c.dereference.circular)throw ono.reference("Circular $ref pointer found at %s",e);return!0}var $Ref=require("./ref"),Pointer=require("./pointer"),ono=require("ono"),debug=require("./util/debug"),url=require("./util/url");module.exports=dereference;
24899
24900},{"./pointer":10,"./ref":11,"./util/debug":16,"./util/url":19,"ono":69}],3:[function(require,module,exports){
24901(function (Buffer){
24902"use strict";function $RefParser(){this.schema=null,this.$refs=new $Refs}function normalizeArgs(e){var r,t,a,s;return e=Array.prototype.slice.call(e),"function"==typeof e[e.length-1]&&(s=e.pop()),"string"==typeof e[0]?(r=e[0],"object"==typeof e[2]?(t=e[1],a=e[2]):(t=void 0,a=e[1])):(r="",t=e[0],a=e[1]),a instanceof Options||(a=new Options(a)),{path:r,schema:t,options:a,callback:s}}var Promise=require("./util/promise"),Options=require("./options"),$Refs=require("./refs"),parse=require("./parse"),resolveExternal=require("./resolve-external"),bundle=require("./bundle"),dereference=require("./dereference"),url=require("./util/url"),maybe=require("call-me-maybe"),ono=require("ono");module.exports=$RefParser,module.exports.YAML=require("./util/yaml"),$RefParser.parse=function(e,r,t){var a=this,s=new a;return s.parse.apply(s,arguments)},$RefParser.prototype.parse=function(e,r,t){var a,s=normalizeArgs(arguments);if(!s.path&&!s.schema){var n=ono("Expected a file path, URL, or object. Got %s",s.path||s.schema);return maybe(s.callback,Promise.reject(n))}this.schema=null,this.$refs=new $Refs,url.isFileSystemPath(s.path)&&(s.path=url.fromFileSystemPath(s.path)),s.path=url.resolve(url.cwd(),s.path),s.schema&&"object"==typeof s.schema?(this.$refs._add(s.path,s.schema),a=Promise.resolve(s.schema)):a=parse(s.path,this.$refs,s.options);var o=this;return a.then(function(e){if(!e||"object"!=typeof e||Buffer.isBuffer(e))throw ono.syntax('"%s" is not a valid JSON Schema',o.$refs._root$Ref.path||e);return o.schema=e,maybe(s.callback,Promise.resolve(o.schema))})["catch"](function(e){return maybe(s.callback,Promise.reject(e))})},$RefParser.resolve=function(e,r,t){var a=this,s=new a;return s.resolve.apply(s,arguments)},$RefParser.prototype.resolve=function(e,r,t){var a=this,s=normalizeArgs(arguments);return this.parse(s.path,s.schema,s.options).then(function(){return resolveExternal(a,s.options)}).then(function(){return maybe(s.callback,Promise.resolve(a.$refs))})["catch"](function(e){return maybe(s.callback,Promise.reject(e))})},$RefParser.bundle=function(e,r,t){var a=this,s=new a;return s.bundle.apply(s,arguments)},$RefParser.prototype.bundle=function(e,r,t){var a=this,s=normalizeArgs(arguments);return this.resolve(s.path,s.schema,s.options).then(function(){return bundle(a,s.options),maybe(s.callback,Promise.resolve(a.schema))})["catch"](function(e){return maybe(s.callback,Promise.reject(e))})},$RefParser.dereference=function(e,r,t){var a=this,s=new a;return s.dereference.apply(s,arguments)},$RefParser.prototype.dereference=function(e,r,t){var a=this,s=normalizeArgs(arguments);return this.resolve(s.path,s.schema,s.options).then(function(){return dereference(a,s.options),maybe(s.callback,Promise.resolve(a.schema))})["catch"](function(e){return maybe(s.callback,Promise.reject(e))})};
24903
24904}).call(this,{"isBuffer":require("../node_modules/is-buffer/index.js")})
24905
24906},{"../node_modules/is-buffer/index.js":36,"./bundle":1,"./dereference":2,"./options":4,"./parse":5,"./refs":12,"./resolve-external":13,"./util/promise":18,"./util/url":19,"./util/yaml":20,"call-me-maybe":27,"ono":69}],4:[function(require,module,exports){
24907"use strict";function $RefParserOptions(e){merge(this,$RefParserOptions.defaults),merge(this,e)}function merge(e,r){if(isMergeable(r))for(var s=Object.keys(r),a=0;a<s.length;a++){var t=s[a],i=r[t],o=e[t];isMergeable(i)?e[t]=merge(o||{},i):void 0!==i&&(e[t]=i)}return e}function isMergeable(e){return e&&"object"==typeof e&&!Array.isArray(e)&&!(e instanceof RegExp)&&!(e instanceof Date)}var jsonParser=require("./parsers/json"),yamlParser=require("./parsers/yaml"),textParser=require("./parsers/text"),binaryParser=require("./parsers/binary"),fileResolver=require("./resolvers/file"),httpResolver=require("./resolvers/http"),zschemaValidator=require("./validators/z-schema");module.exports=$RefParserOptions,$RefParserOptions.defaults={parse:{json:jsonParser,yaml:yamlParser,text:textParser,binary:binaryParser},resolve:{file:fileResolver,http:httpResolver,external:!0},dereference:{circular:!0},validate:{zschema:zschemaValidator}};
24908
24909},{"./parsers/binary":6,"./parsers/json":7,"./parsers/text":8,"./parsers/yaml":9,"./resolvers/file":14,"./resolvers/http":15,"./validators/z-schema":21}],5:[function(require,module,exports){
24910(function (Buffer){
24911"use strict";function parse(r,e,n){try{r=url.stripHash(r);var t=e._add(r),u={url:r,extension:url.getExtension(r)};return readFile(u,n).then(function(r){return t.pathType=r.plugin.name,u.data=r.result,parseFile(u,n)}).then(function(r){return t.value=r.result,r.result})}catch(i){return Promise.reject(i)}}function readFile(r,e){return new Promise(function(n,t){function u(e){t(!e||e instanceof SyntaxError?ono.syntax('Unable to resolve $ref pointer "%s"',r.url):e)}debug("Reading %s",r.url);var i=plugins.all(e.resolve);i=plugins.filter(i,"canRead",r),plugins.sort(i),plugins.run(i,"read",r).then(n,u)})}function parseFile(r,e){return new Promise(function(n,t){function u(e){!e.plugin.allowEmpty&&isEmpty(e.result)?t(ono.syntax('Error parsing "%s" as %s. \nParsed value is empty',r.url,e.plugin.name)):n(e)}function i(e){e?(e=e instanceof Error?e:new Error(e),t(ono.syntax(e,"Error parsing %s",r.url))):t(ono.syntax("Unable to parse %s",r.url))}debug("Parsing %s",r.url);var s=plugins.all(e.parse),l=plugins.filter(s,"canParse",r),o=l.length>0?l:s;plugins.sort(o),plugins.run(o,"parse",r).then(u,i)})}function isEmpty(r){return void 0===r||"object"==typeof r&&0===Object.keys(r).length||"string"==typeof r&&0===r.trim().length||Buffer.isBuffer(r)&&0===r.length}var ono=require("ono"),debug=require("./util/debug"),url=require("./util/url"),plugins=require("./util/plugins"),Promise=require("./util/promise");module.exports=parse;
24912
24913}).call(this,{"isBuffer":require("../node_modules/is-buffer/index.js")})
24914
24915},{"../node_modules/is-buffer/index.js":36,"./util/debug":16,"./util/plugins":17,"./util/promise":18,"./util/url":19,"ono":69}],6:[function(require,module,exports){
24916(function (Buffer){
24917"use strict";var BINARY_REGEXP=/\.(jpeg|jpg|gif|png|bmp|ico)$/i;module.exports={order:400,allowEmpty:!0,canParse:function(r){return Buffer.isBuffer(r.data)&&BINARY_REGEXP.test(r.url)},parse:function(r){return Buffer.isBuffer(r.data)?r.data:new Buffer(r.data)}};
24918
24919}).call(this,require("buffer").Buffer)
24920
24921},{"buffer":25}],7:[function(require,module,exports){
24922(function (Buffer){
24923"use strict";var Promise=require("../util/promise");module.exports={order:100,allowEmpty:!0,canParse:".json",parse:function(r){return new Promise(function(e,t){var i=r.data;Buffer.isBuffer(i)&&(i=i.toString()),e("string"==typeof i?0===i.trim().length?void 0:JSON.parse(i):i)})}};
24924
24925}).call(this,{"isBuffer":require("../../node_modules/is-buffer/index.js")})
24926
24927},{"../../node_modules/is-buffer/index.js":36,"../util/promise":18}],8:[function(require,module,exports){
24928(function (Buffer){
24929"use strict";var TEXT_REGEXP=/\.(txt|htm|html|md|xml|js|min|map|css|scss|less|svg)$/i;module.exports={order:300,allowEmpty:!0,encoding:"utf8",canParse:function(t){return("string"==typeof t.data||Buffer.isBuffer(t.data))&&TEXT_REGEXP.test(t.url)},parse:function(t){if("string"==typeof t.data)return t.data;if(Buffer.isBuffer(t.data))return t.data.toString(this.encoding);throw new Error("data is not text")}};
24930
24931}).call(this,{"isBuffer":require("../../node_modules/is-buffer/index.js")})
24932
24933},{"../../node_modules/is-buffer/index.js":36}],9:[function(require,module,exports){
24934(function (Buffer){
24935"use strict";var Promise=require("../util/promise"),YAML=require("../util/yaml");module.exports={order:200,allowEmpty:!0,canParse:[".yaml",".yml",".json"],parse:function(r){return new Promise(function(e,t){var i=r.data;Buffer.isBuffer(i)&&(i=i.toString()),e("string"==typeof i?YAML.parse(i):i)})}};
24936
24937}).call(this,{"isBuffer":require("../../node_modules/is-buffer/index.js")})
24938
24939},{"../../node_modules/is-buffer/index.js":36,"../util/promise":18,"../util/yaml":20}],10:[function(require,module,exports){
24940"use strict";function Pointer(e,r){this.$ref=e,this.path=r,this.value=void 0,this.circular=!1}function resolveIf$Ref(e,r){if($Ref.isAllowed$Ref(e.value,r)){var t=url.resolve(e.path,e.value.$ref);if(t!==e.path){var s=e.$ref.$refs._resolve(t,r);return $Ref.isExtended$Ref(e.value)?e.value=$Ref.dereference(e.value,s.value):(e.$ref=s.$ref,e.path=s.path,e.value=s.value),!0}e.circular=!0}}function setValue(e,r,t){if(!e.value||"object"!=typeof e.value)throw ono.syntax('Error assigning $ref pointer "%s". \nCannot set "%s" of a non-object.',e.path,r);return"-"===r&&Array.isArray(e.value)?e.value.push(t):e.value[r]=t,t}module.exports=Pointer;var $Ref=require("./ref"),url=require("./util/url"),ono=require("ono"),slashes=/\//g,tildes=/~/g,escapedSlash=/~1/g,escapedTilde=/~0/g;Pointer.prototype.resolve=function(e,r){var t=Pointer.parse(this.path);this.value=e;for(var s=0;s<t.length;s++){resolveIf$Ref(this,r)&&(this.path=Pointer.join(this.path,t.slice(s)));var i=t[s];if(void 0===this.value[i])throw ono.syntax('Error resolving $ref pointer "%s". \nToken "%s" does not exist.',this.path,i);this.value=this.value[i]}return resolveIf$Ref(this,r),this},Pointer.prototype.set=function(e,r,t){var s,i=Pointer.parse(this.path);if(0===i.length)return this.value=r,r;this.value=e;for(var a=0;a<i.length-1;a++)resolveIf$Ref(this,t),s=i[a],this.value&&void 0!==this.value[s]?this.value=this.value[s]:this.value=setValue(this,s,{});return resolveIf$Ref(this,t),s=i[i.length-1],setValue(this,s,r),e},Pointer.parse=function(e){var r=url.getHash(e).substr(1);if(!r)return[];r=r.split("/");for(var t=0;t<r.length;t++)r[t]=decodeURI(r[t].replace(escapedSlash,"/").replace(escapedTilde,"~"));if(""!==r[0])throw ono.syntax('Invalid $ref pointer "%s". Pointers must begin with "#/"',r);return r.slice(1)},Pointer.join=function(e,r){-1===e.indexOf("#")&&(e+="#"),r=Array.isArray(r)?r:[r];for(var t=0;t<r.length;t++){var s=r[t];e+="/"+encodeURI(s.replace(tildes,"~0").replace(slashes,"~1"))}return e};
24941
24942},{"./ref":11,"./util/url":19,"ono":69}],11:[function(require,module,exports){
24943"use strict";function $Ref(){this.path=void 0,this.value=void 0,this.$refs=void 0,this.pathType=void 0}module.exports=$Ref;var Pointer=require("./pointer");$Ref.prototype.exists=function(e,t){try{return this.resolve(e,t),!0}catch(r){return!1}},$Ref.prototype.get=function(e,t){return this.resolve(e,t).value},$Ref.prototype.resolve=function(e,t){var r=new Pointer(this,e);return r.resolve(this.value,t)},$Ref.prototype.set=function(e,t){var r=new Pointer(this,e);this.value=r.set(this.value,t)},$Ref.is$Ref=function(e){return e&&"object"==typeof e&&"string"==typeof e.$ref&&e.$ref.length>0},$Ref.isExternal$Ref=function(e){return $Ref.is$Ref(e)&&"#"!==e.$ref[0]},$Ref.isAllowed$Ref=function(e,t){return!$Ref.is$Ref(e)||"#"!==e.$ref[0]&&t&&!t.resolve.external?void 0:!0},$Ref.isExtended$Ref=function(e){return $Ref.is$Ref(e)&&Object.keys(e).length>1},$Ref.dereference=function(e,t){if(t&&"object"==typeof t&&$Ref.isExtended$Ref(e)){var r={};return Object.keys(e).forEach(function(t){"$ref"!==t&&(r[t]=e[t])}),Object.keys(t).forEach(function(e){e in r||(r[e]=t[e])}),r}return t};
24944
24945},{"./pointer":10}],12:[function(require,module,exports){
24946"use strict";function $Refs(){this.circular=!1,this._$refs={},this._root$Ref=null}function getPaths(e,r){var t=Object.keys(e);return r=Array.isArray(r[0])?r[0]:Array.prototype.slice.call(r),r.length>0&&r[0]&&(t=t.filter(function(t){return-1!==r.indexOf(e[t].pathType)})),t.map(function(r){return{encoded:r,decoded:"file"===e[r].pathType?url.toFileSystemPath(r,!0):r}})}var ono=require("ono"),$Ref=require("./ref"),url=require("./util/url");module.exports=$Refs,$Refs.prototype.paths=function(e){var r=getPaths(this._$refs,arguments);return r.map(function(e){return e.decoded})},$Refs.prototype.values=function(e){var r=this._$refs,t=getPaths(r,arguments);return t.reduce(function(e,t){return e[t.decoded]=r[t.encoded].value,e},{})},$Refs.prototype.toJSON=$Refs.prototype.values,$Refs.prototype.exists=function(e,r){try{return this._resolve(e,r),!0}catch(t){return!1}},$Refs.prototype.get=function(e,r){return this._resolve(e,r).value},$Refs.prototype.set=function(e,r){e=url.resolve(this._root$Ref.path,e);var t=url.stripHash(e),o=this._$refs[t];if(!o)throw ono('Error resolving $ref pointer "%s". \n"%s" not found.',e,t);o.set(e,r)},$Refs.prototype._add=function(e,r){var t=url.stripHash(e),o=new $Ref;return o.path=t,o.value=r,o.$refs=this,this._$refs[t]=o,this._root$Ref=this._root$Ref||o,o},$Refs.prototype._resolve=function(e,r){e=url.resolve(this._root$Ref.path,e);var t=url.stripHash(e),o=this._$refs[t];if(!o)throw ono('Error resolving $ref pointer "%s". \n"%s" not found.',e,t);return o.resolve(e,r)},$Refs.prototype._get$Ref=function(e){e=url.resolve(this._root$Ref.path,e);var r=url.stripHash(e);return this._$refs[r]};
24947
24948},{"./ref":11,"./util/url":19,"ono":69}],13:[function(require,module,exports){
24949"use strict";function resolveExternal(e,r){if(!r.resolve.external)return Promise.resolve();try{debug("Resolving $ref pointers in %s",e.$refs._root$Ref.path);var s=crawl(e.schema,e.$refs._root$Ref.path+"#",e.$refs,r);return Promise.all(s)}catch(t){return Promise.reject(t)}}function crawl(e,r,s,t){var o=[];return e&&"object"==typeof e&&($Ref.isExternal$Ref(e)?o.push(resolve$Ref(e,r,s,t)):Object.keys(e).forEach(function(i){var n=Pointer.join(r,i),l=e[i];$Ref.isExternal$Ref(l)?o.push(resolve$Ref(l,n,s,t)):o=o.concat(crawl(l,n,s,t))})),o}function resolve$Ref(e,r,s,t){debug('Resolving $ref pointer "%s" at %s',e.$ref,r);var o=url.resolve(r,e.$ref),i=url.stripHash(o);return e=s._$refs[i],e?Promise.resolve(e.value):parse(o,s,t).then(function(e){debug("Resolving $ref pointers in %s",i);var r=crawl(e,i+"#",s,t);return Promise.all(r)})}var Promise=require("./util/promise"),$Ref=require("./ref"),Pointer=require("./pointer"),parse=require("./parse"),debug=require("./util/debug"),url=require("./util/url");module.exports=resolveExternal;
24950
24951},{"./parse":5,"./pointer":10,"./ref":11,"./util/debug":16,"./util/promise":18,"./util/url":19}],14:[function(require,module,exports){
24952"use strict";var fs=require("fs"),ono=require("ono"),Promise=require("../util/promise"),url=require("../util/url"),debug=require("../util/debug");module.exports={order:100,canRead:function(r){return url.isFileSystemPath(r.url)},read:function(r){return new Promise(function(e,i){var u;try{u=url.toFileSystemPath(r.url)}catch(o){i(ono.uri(o,"Malformed URI: %s",r.url))}debug("Opening file: %s",u);try{fs.readFile(u,function(r,o){r?i(ono(r,'Error opening file "%s"',u)):e(o)})}catch(o){i(ono(o,'Error opening file "%s"',u))}})}};
24953
24954},{"../util/debug":16,"../util/promise":18,"../util/url":19,"fs":24,"ono":69}],15:[function(require,module,exports){
24955(function (process,Buffer){
24956"use strict";function download(e,t,o){return new Promise(function(r,n){e=url.parse(e),o=o||[],o.push(e.href),get(e,t).then(function(s){if(s.statusCode>=400)throw ono({status:s.statusCode},"HTTP ERROR %d",s.statusCode);if(s.statusCode>=300)if(o.length>t.redirects)n(ono({status:s.statusCode},"Error downloading %s. \nToo many redirects: \n %s",o[0],o.join(" \n ")));else{if(!s.headers.location)throw ono({status:s.statusCode},"HTTP %d redirect with no location header",s.statusCode);debug("HTTP %d redirect %s -> %s",s.statusCode,e.href,s.headers.location);var u=url.resolve(e,s.headers.location);download(u,t,o).then(r,n)}else r(s.body||new Buffer(0))})["catch"](function(t){n(ono(t,"Error downloading",e.href))})})}function get(e,t){return new Promise(function(o,r){debug("GET",e.href);var n="https:"===e.protocol?https:http,s=n.get({hostname:e.hostname,port:e.port,path:e.path,auth:e.auth,headers:t.headers||{},withCredentials:t.withCredentials});"function"==typeof s.setTimeout&&s.setTimeout(t.timeout),s.on("timeout",function(){s.abort()}),s.on("error",r),s.once("response",function(e){e.body=new Buffer(0),e.on("data",function(t){e.body=Buffer.concat([e.body,new Buffer(t)])}),e.on("error",r),e.on("end",function(){o(e)})})})}var http=require("http"),https=require("https"),ono=require("ono"),url=require("../util/url"),debug=require("../util/debug"),Promise=require("../util/promise");module.exports={order:200,headers:null,timeout:5e3,redirects:5,withCredentials:!1,canRead:function(e){return url.isHttp(e.url)},read:function(e){var t=url.parse(e.url);return process.browser&&!t.protocol&&(t.protocol=url.parse(location.href).protocol),download(t,this)}};
24957
24958}).call(this,require('_process'),require("buffer").Buffer)
24959
24960},{"../util/debug":16,"../util/promise":18,"../util/url":19,"_process":71,"buffer":25,"http":87,"https":33,"ono":69}],16:[function(require,module,exports){
24961"use strict";var debug=require("debug");module.exports=debug("json-schema-ref-parser");
24962
24963},{"debug":29}],17:[function(require,module,exports){
24964"use strict";function getResult(e,r,t,n){var u=e[r];if("function"==typeof u)return u.apply(e,[t,n]);if(!n){if(u instanceof RegExp)return u.test(t.url);if("string"==typeof u)return u===t.extension;if(Array.isArray(u))return-1!==u.indexOf(t.extension)}return u}var Promise=require("./promise"),debug=require("./debug");exports.all=function(e){return Object.keys(e).filter(function(r){return"object"==typeof e[r]}).map(function(r){return e[r].name=r,e[r]})},exports.filter=function(e,r,t){return e.filter(function(e){return!!getResult(e,r,t)})},exports.sort=function(e){return e.forEach(function(e){e.order=e.order||Number.MAX_SAFE_INTEGER}),e.sort(function(e,r){return e.order-r.order})},exports.run=function(e,r,t){var n,u,i=0;return new Promise(function(o,f){function s(){if(n=e[i++],!n)return f(u);try{debug(" %s",n.name);var o=getResult(n,r,t,c);o&&"function"==typeof o.then?o.then(a,p):void 0!==o&&a(o)}catch(s){p(s)}}function c(e,r){e?p(e):a(r)}function a(e){debug(" success"),o({plugin:n,result:e})}function p(e){debug(" %s",e.message||e),u=e,s()}s()})};
24965
24966},{"./debug":16,"./promise":18}],18:[function(require,module,exports){
24967"use strict";module.exports="function"==typeof Promise?Promise:require("es6-promise").Promise;
24968
24969},{"es6-promise":31}],19:[function(require,module,exports){
24970(function (process){
24971"use strict";var isWindows=/^win/.test(process.platform),forwardSlashPattern=/\//g,protocolPattern=/^([a-z0-9.+-]+):\/\//i,url=module.exports,urlEncodePatterns=[/\?/g,"%3F",/\#/g,"%23",isWindows?/\\/g:/\//,"/"],urlDecodePatterns=[/\%23/g,"#",/\%24/g,"$",/\%26/g,"&",/\%2C/g,",",/\%40/g,"@"];exports.parse=require("url").parse,exports.resolve=require("url").resolve,exports.cwd=function(){return process.browser?location.href:process.cwd()+"/"},exports.getProtocol=function(r){var e=protocolPattern.exec(r);return e?e[1].toLowerCase():void 0},exports.getExtension=function(r){var e=r.lastIndexOf(".");return e>=0?r.substr(e).toLowerCase():""},exports.getHash=function(r){var e=r.indexOf("#");return e>=0?r.substr(e):"#"},exports.stripHash=function(r){var e=r.indexOf("#");return e>=0&&(r=r.substr(0,e)),r},exports.isHttp=function(r){var e=url.getProtocol(r);return"http"===e||"https"===e?!0:void 0===e?process.browser:!1},exports.isFileSystemPath=function(r){if(process.browser)return!1;var e=url.getProtocol(r);return void 0===e||"file"===e},exports.fromFileSystemPath=function(r){for(var e=0;e<urlEncodePatterns.length;e+=2)r=r.replace(urlEncodePatterns[e],urlEncodePatterns[e+1]);return encodeURI(r)},exports.toFileSystemPath=function(r,e){r=decodeURI(r);for(var t=0;t<urlDecodePatterns.length;t+=2)r=r.replace(urlDecodePatterns[t],urlDecodePatterns[t+1]);var o="file://"===r.substr(0,7).toLowerCase();return o&&(r="/"===r[7]?r.substr(8):r.substr(7),isWindows&&"/"===r[1]&&(r=r[0]+":"+r.substr(1)),e?r="file:///"+r:(o=!1,r=isWindows?r:"/"+r)),isWindows&&!o&&(r=r.replace(forwardSlashPattern,"\\")),r};
24972
24973}).call(this,require('_process'))
24974
24975},{"_process":71,"url":93}],20:[function(require,module,exports){
24976"use strict";var yaml=require("js-yaml"),ono=require("ono");module.exports={parse:function(r,e){try{return yaml.safeLoad(r)}catch(o){throw o instanceof Error?o:ono(o,o.message)}},stringify:function(r,e,o){try{var t=("string"==typeof o?o.length:o)||2;return yaml.safeDump(r,{indent:t})}catch(n){throw n instanceof Error?n:ono(n,n.message)}}};
24977
24978},{"js-yaml":38,"ono":69}],21:[function(require,module,exports){
24979"use strict";module.exports={order:100,canValidate:function(e){return!!e.resolved},validate:function(e){}};
24980
24981},{}],22:[function(require,module,exports){
24982var lookup="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";!function(t){"use strict";function r(t){var r=t.charCodeAt(0);return r===h||r===u?62:r===c||r===f?63:o>r?-1:o+10>r?r-o+26+26:i+26>r?r-i:A+26>r?r-A+26:void 0}function e(t){function e(t){i[f++]=t}var n,h,c,o,A,i;if(t.length%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var u=t.length;A="="===t.charAt(u-2)?2:"="===t.charAt(u-1)?1:0,i=new a(3*t.length/4-A),c=A>0?t.length-4:t.length;var f=0;for(n=0,h=0;c>n;n+=4,h+=3)o=r(t.charAt(n))<<18|r(t.charAt(n+1))<<12|r(t.charAt(n+2))<<6|r(t.charAt(n+3)),e((16711680&o)>>16),e((65280&o)>>8),e(255&o);return 2===A?(o=r(t.charAt(n))<<2|r(t.charAt(n+1))>>4,e(255&o)):1===A&&(o=r(t.charAt(n))<<10|r(t.charAt(n+1))<<4|r(t.charAt(n+2))>>2,e(o>>8&255),e(255&o)),i}function n(t){function r(t){return lookup.charAt(t)}function e(t){return r(t>>18&63)+r(t>>12&63)+r(t>>6&63)+r(63&t)}var n,a,h,c=t.length%3,o="";for(n=0,h=t.length-c;h>n;n+=3)a=(t[n]<<16)+(t[n+1]<<8)+t[n+2],o+=e(a);switch(c){case 1:a=t[t.length-1],o+=r(a>>2),o+=r(a<<4&63),o+="==";break;case 2:a=(t[t.length-2]<<8)+t[t.length-1],o+=r(a>>10),o+=r(a>>4&63),o+=r(a<<2&63),o+="="}return o}var a="undefined"!=typeof Uint8Array?Uint8Array:Array,h="+".charCodeAt(0),c="/".charCodeAt(0),o="0".charCodeAt(0),A="a".charCodeAt(0),i="A".charCodeAt(0),u="-".charCodeAt(0),f="_".charCodeAt(0);t.toByteArray=e,t.fromByteArray=n}("undefined"==typeof exports?this.base64js={}:exports);
24983
24984},{}],23:[function(require,module,exports){
24985
24986},{}],24:[function(require,module,exports){
24987
24988},{}],25:[function(require,module,exports){
24989(function (global){
24990/*!
24991 * The buffer module from node.js, for the browser.
24992 *
24993 * @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
24994 * @license MIT
24995 */
24996"use strict";function typedArraySupport(){function t(){}try{var e=new Uint8Array(1);return e.foo=function(){return 42},e.constructor=t,42===e.foo()&&e.constructor===t&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(r){return!1}}function kMaxLength(){return Buffer.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function Buffer(t){return this instanceof Buffer?(Buffer.TYPED_ARRAY_SUPPORT||(this.length=0,this.parent=void 0),"number"==typeof t?fromNumber(this,t):"string"==typeof t?fromString(this,t,arguments.length>1?arguments[1]:"utf8"):fromObject(this,t)):arguments.length>1?new Buffer(t,arguments[1]):new Buffer(t)}function fromNumber(t,e){if(t=allocate(t,0>e?0:0|checked(e)),!Buffer.TYPED_ARRAY_SUPPORT)for(var r=0;e>r;r++)t[r]=0;return t}function fromString(t,e,r){"string"==typeof r&&""!==r||(r="utf8");var n=0|byteLength(e,r);return t=allocate(t,n),t.write(e,r),t}function fromObject(t,e){if(Buffer.isBuffer(e))return fromBuffer(t,e);if(isArray(e))return fromArray(t,e);if(null==e)throw new TypeError("must start with number, buffer, array or string");if("undefined"!=typeof ArrayBuffer){if(e.buffer instanceof ArrayBuffer)return fromTypedArray(t,e);if(e instanceof ArrayBuffer)return fromArrayBuffer(t,e)}return e.length?fromArrayLike(t,e):fromJsonObject(t,e)}function fromBuffer(t,e){var r=0|checked(e.length);return t=allocate(t,r),e.copy(t,0,0,r),t}function fromArray(t,e){var r=0|checked(e.length);t=allocate(t,r);for(var n=0;r>n;n+=1)t[n]=255&e[n];return t}function fromTypedArray(t,e){var r=0|checked(e.length);t=allocate(t,r);for(var n=0;r>n;n+=1)t[n]=255&e[n];return t}function fromArrayBuffer(t,e){return Buffer.TYPED_ARRAY_SUPPORT?(e.byteLength,t=Buffer._augment(new Uint8Array(e))):t=fromTypedArray(t,new Uint8Array(e)),t}function fromArrayLike(t,e){var r=0|checked(e.length);t=allocate(t,r);for(var n=0;r>n;n+=1)t[n]=255&e[n];return t}function fromJsonObject(t,e){var r,n=0;"Buffer"===e.type&&isArray(e.data)&&(r=e.data,n=0|checked(r.length)),t=allocate(t,n);for(var f=0;n>f;f+=1)t[f]=255&r[f];return t}function allocate(t,e){Buffer.TYPED_ARRAY_SUPPORT?(t=Buffer._augment(new Uint8Array(e)),t.__proto__=Buffer.prototype):(t.length=e,t._isBuffer=!0);var r=0!==e&&e<=Buffer.poolSize>>>1;return r&&(t.parent=rootParent),t}function checked(t){if(t>=kMaxLength())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+kMaxLength().toString(16)+" bytes");return 0|t}function SlowBuffer(t,e){if(!(this instanceof SlowBuffer))return new SlowBuffer(t,e);var r=new Buffer(t,e);return delete r.parent,r}function byteLength(t,e){"string"!=typeof t&&(t=""+t);var r=t.length;if(0===r)return 0;for(var n=!1;;)switch(e){case"ascii":case"binary":case"raw":case"raws":return r;case"utf8":case"utf-8":return utf8ToBytes(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return base64ToBytes(t).length;default:if(n)return utf8ToBytes(t).length;e=(""+e).toLowerCase(),n=!0}}function slowToString(t,e,r){var n=!1;if(e=0|e,r=void 0===r||r===1/0?this.length:0|r,t||(t="utf8"),0>e&&(e=0),r>this.length&&(r=this.length),e>=r)return"";for(;;)switch(t){case"hex":return hexSlice(this,e,r);case"utf8":case"utf-8":return utf8Slice(this,e,r);case"ascii":return asciiSlice(this,e,r);case"binary":return binarySlice(this,e,r);case"base64":return base64Slice(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return utf16leSlice(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function hexWrite(t,e,r,n){r=Number(r)||0;var f=t.length-r;n?(n=Number(n),n>f&&(n=f)):n=f;var i=e.length;if(i%2!==0)throw new Error("Invalid hex string");n>i/2&&(n=i/2);for(var o=0;n>o;o++){var u=parseInt(e.substr(2*o,2),16);if(isNaN(u))throw new Error("Invalid hex string");t[r+o]=u}return o}function utf8Write(t,e,r,n){return blitBuffer(utf8ToBytes(e,t.length-r),t,r,n)}function asciiWrite(t,e,r,n){return blitBuffer(asciiToBytes(e),t,r,n)}function binaryWrite(t,e,r,n){return asciiWrite(t,e,r,n)}function base64Write(t,e,r,n){return blitBuffer(base64ToBytes(e),t,r,n)}function ucs2Write(t,e,r,n){return blitBuffer(utf16leToBytes(e,t.length-r),t,r,n)}function base64Slice(t,e,r){return 0===e&&r===t.length?base64.fromByteArray(t):base64.fromByteArray(t.slice(e,r))}function utf8Slice(t,e,r){r=Math.min(t.length,r);for(var n=[],f=e;r>f;){var i=t[f],o=null,u=i>239?4:i>223?3:i>191?2:1;if(r>=f+u){var s,a,h,c;switch(u){case 1:128>i&&(o=i);break;case 2:s=t[f+1],128===(192&s)&&(c=(31&i)<<6|63&s,c>127&&(o=c));break;case 3:s=t[f+1],a=t[f+2],128===(192&s)&&128===(192&a)&&(c=(15&i)<<12|(63&s)<<6|63&a,c>2047&&(55296>c||c>57343)&&(o=c));break;case 4:s=t[f+1],a=t[f+2],h=t[f+3],128===(192&s)&&128===(192&a)&&128===(192&h)&&(c=(15&i)<<18|(63&s)<<12|(63&a)<<6|63&h,c>65535&&1114112>c&&(o=c))}}null===o?(o=65533,u=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|1023&o),n.push(o),f+=u}return decodeCodePointsArray(n)}function decodeCodePointsArray(t){var e=t.length;if(MAX_ARGUMENTS_LENGTH>=e)return String.fromCharCode.apply(String,t);for(var r="",n=0;e>n;)r+=String.fromCharCode.apply(String,t.slice(n,n+=MAX_ARGUMENTS_LENGTH));return r}function asciiSlice(t,e,r){var n="";r=Math.min(t.length,r);for(var f=e;r>f;f++)n+=String.fromCharCode(127&t[f]);return n}function binarySlice(t,e,r){var n="";r=Math.min(t.length,r);for(var f=e;r>f;f++)n+=String.fromCharCode(t[f]);return n}function hexSlice(t,e,r){var n=t.length;(!e||0>e)&&(e=0),(!r||0>r||r>n)&&(r=n);for(var f="",i=e;r>i;i++)f+=toHex(t[i]);return f}function utf16leSlice(t,e,r){for(var n=t.slice(e,r),f="",i=0;i<n.length;i+=2)f+=String.fromCharCode(n[i]+256*n[i+1]);return f}function checkOffset(t,e,r){if(t%1!==0||0>t)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}function checkInt(t,e,r,n,f,i){if(!Buffer.isBuffer(t))throw new TypeError("buffer must be a Buffer instance");if(e>f||i>e)throw new RangeError("value is out of bounds");if(r+n>t.length)throw new RangeError("index out of range")}function objectWriteUInt16(t,e,r,n){0>e&&(e=65535+e+1);for(var f=0,i=Math.min(t.length-r,2);i>f;f++)t[r+f]=(e&255<<8*(n?f:1-f))>>>8*(n?f:1-f)}function objectWriteUInt32(t,e,r,n){0>e&&(e=4294967295+e+1);for(var f=0,i=Math.min(t.length-r,4);i>f;f++)t[r+f]=e>>>8*(n?f:3-f)&255}function checkIEEE754(t,e,r,n,f,i){if(e>f||i>e)throw new RangeError("value is out of bounds");if(r+n>t.length)throw new RangeError("index out of range");if(0>r)throw new RangeError("index out of range")}function writeFloat(t,e,r,n,f){return f||checkIEEE754(t,e,r,4,3.4028234663852886e38,-3.4028234663852886e38),ieee754.write(t,e,r,n,23,4),r+4}function writeDouble(t,e,r,n,f){return f||checkIEEE754(t,e,r,8,1.7976931348623157e308,-1.7976931348623157e308),ieee754.write(t,e,r,n,52,8),r+8}function base64clean(t){if(t=stringtrim(t).replace(INVALID_BASE64_RE,""),t.length<2)return"";for(;t.length%4!==0;)t+="=";return t}function stringtrim(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function toHex(t){return 16>t?"0"+t.toString(16):t.toString(16)}function utf8ToBytes(t,e){e=e||1/0;for(var r,n=t.length,f=null,i=[],o=0;n>o;o++){if(r=t.charCodeAt(o),r>55295&&57344>r){if(!f){if(r>56319){(e-=3)>-1&&i.push(239,191,189);continue}if(o+1===n){(e-=3)>-1&&i.push(239,191,189);continue}f=r;continue}if(56320>r){(e-=3)>-1&&i.push(239,191,189),f=r;continue}r=(f-55296<<10|r-56320)+65536}else f&&(e-=3)>-1&&i.push(239,191,189);if(f=null,128>r){if((e-=1)<0)break;i.push(r)}else if(2048>r){if((e-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(65536>r){if((e-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(1114112>r))throw new Error("Invalid code point");if((e-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function asciiToBytes(t){for(var e=[],r=0;r<t.length;r++)e.push(255&t.charCodeAt(r));return e}function utf16leToBytes(t,e){for(var r,n,f,i=[],o=0;o<t.length&&!((e-=2)<0);o++)r=t.charCodeAt(o),n=r>>8,f=r%256,i.push(f),i.push(n);return i}function base64ToBytes(t){return base64.toByteArray(base64clean(t))}function blitBuffer(t,e,r,n){for(var f=0;n>f&&!(f+r>=e.length||f>=t.length);f++)e[f+r]=t[f];return f}var base64=require("base64-js"),ieee754=require("ieee754"),isArray=require("isarray");exports.Buffer=Buffer,exports.SlowBuffer=SlowBuffer,exports.INSPECT_MAX_BYTES=50,Buffer.poolSize=8192;var rootParent={};Buffer.TYPED_ARRAY_SUPPORT=void 0!==global.TYPED_ARRAY_SUPPORT?global.TYPED_ARRAY_SUPPORT:typedArraySupport(),Buffer.TYPED_ARRAY_SUPPORT?(Buffer.prototype.__proto__=Uint8Array.prototype,Buffer.__proto__=Uint8Array):(Buffer.prototype.length=void 0,Buffer.prototype.parent=void 0),Buffer.isBuffer=function(t){return!(null==t||!t._isBuffer)},Buffer.compare=function(t,e){if(!Buffer.isBuffer(t)||!Buffer.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var r=t.length,n=e.length,f=0,i=Math.min(r,n);i>f&&t[f]===e[f];)++f;return f!==i&&(r=t[f],n=e[f]),n>r?-1:r>n?1:0},Buffer.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"raw":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},Buffer.concat=function(t,e){if(!isArray(t))throw new TypeError("list argument must be an Array of Buffers.");if(0===t.length)return new Buffer(0);var r;if(void 0===e)for(e=0,r=0;r<t.length;r++)e+=t[r].length;var n=new Buffer(e),f=0;for(r=0;r<t.length;r++){var i=t[r];i.copy(n,f),f+=i.length}return n},Buffer.byteLength=byteLength,Buffer.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?utf8Slice(this,0,t):slowToString.apply(this,arguments)},Buffer.prototype.equals=function(t){if(!Buffer.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t?!0:0===Buffer.compare(this,t)},Buffer.prototype.inspect=function(){var t="",e=exports.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,e).match(/.{2}/g).join(" "),this.length>e&&(t+=" ... ")),"<Buffer "+t+">"},Buffer.prototype.compare=function(t){if(!Buffer.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t?0:Buffer.compare(this,t)},Buffer.prototype.indexOf=function(t,e){function r(t,e,r){for(var n=-1,f=0;r+f<t.length;f++)if(t[r+f]===e[-1===n?0:f-n]){if(-1===n&&(n=f),f-n+1===e.length)return r+n}else n=-1;return-1}if(e>2147483647?e=2147483647:-2147483648>e&&(e=-2147483648),e>>=0,0===this.length)return-1;if(e>=this.length)return-1;if(0>e&&(e=Math.max(this.length+e,0)),"string"==typeof t)return 0===t.length?-1:String.prototype.indexOf.call(this,t,e);if(Buffer.isBuffer(t))return r(this,t,e);if("number"==typeof t)return Buffer.TYPED_ARRAY_SUPPORT&&"function"===Uint8Array.prototype.indexOf?Uint8Array.prototype.indexOf.call(this,t,e):r(this,[t],e);throw new TypeError("val must be string, number or Buffer")},Buffer.prototype.get=function(t){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(t)},Buffer.prototype.set=function(t,e){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(t,e)},Buffer.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)n=e,r=this.length,e=0;else if(isFinite(e))e=0|e,isFinite(r)?(r=0|r,void 0===n&&(n="utf8")):(n=r,r=void 0);else{var f=n;n=e,e=0|r,r=f}var i=this.length-e;if((void 0===r||r>i)&&(r=i),t.length>0&&(0>r||0>e)||e>this.length)throw new RangeError("attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return hexWrite(this,t,e,r);case"utf8":case"utf-8":return utf8Write(this,t,e,r);case"ascii":return asciiWrite(this,t,e,r);case"binary":return binaryWrite(this,t,e,r);case"base64":return base64Write(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ucs2Write(this,t,e,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},Buffer.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var MAX_ARGUMENTS_LENGTH=4096;Buffer.prototype.slice=function(t,e){var r=this.length;t=~~t,e=void 0===e?r:~~e,0>t?(t+=r,0>t&&(t=0)):t>r&&(t=r),0>e?(e+=r,0>e&&(e=0)):e>r&&(e=r),t>e&&(e=t);var n;if(Buffer.TYPED_ARRAY_SUPPORT)n=Buffer._augment(this.subarray(t,e));else{var f=e-t;n=new Buffer(f,void 0);for(var i=0;f>i;i++)n[i]=this[i+t]}return n.length&&(n.parent=this.parent||this),n},Buffer.prototype.readUIntLE=function(t,e,r){t=0|t,e=0|e,r||checkOffset(t,e,this.length);for(var n=this[t],f=1,i=0;++i<e&&(f*=256);)n+=this[t+i]*f;return n},Buffer.prototype.readUIntBE=function(t,e,r){t=0|t,e=0|e,r||checkOffset(t,e,this.length);for(var n=this[t+--e],f=1;e>0&&(f*=256);)n+=this[t+--e]*f;return n},Buffer.prototype.readUInt8=function(t,e){return e||checkOffset(t,1,this.length),this[t]},Buffer.prototype.readUInt16LE=function(t,e){return e||checkOffset(t,2,this.length),this[t]|this[t+1]<<8},Buffer.prototype.readUInt16BE=function(t,e){return e||checkOffset(t,2,this.length),this[t]<<8|this[t+1]},Buffer.prototype.readUInt32LE=function(t,e){return e||checkOffset(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},Buffer.prototype.readUInt32BE=function(t,e){return e||checkOffset(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},Buffer.prototype.readIntLE=function(t,e,r){t=0|t,e=0|e,r||checkOffset(t,e,this.length);for(var n=this[t],f=1,i=0;++i<e&&(f*=256);)n+=this[t+i]*f;return f*=128,n>=f&&(n-=Math.pow(2,8*e)),n},Buffer.prototype.readIntBE=function(t,e,r){t=0|t,e=0|e,r||checkOffset(t,e,this.length);for(var n=e,f=1,i=this[t+--n];n>0&&(f*=256);)i+=this[t+--n]*f;return f*=128,i>=f&&(i-=Math.pow(2,8*e)),i},Buffer.prototype.readInt8=function(t,e){return e||checkOffset(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},Buffer.prototype.readInt16LE=function(t,e){e||checkOffset(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},Buffer.prototype.readInt16BE=function(t,e){e||checkOffset(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},Buffer.prototype.readInt32LE=function(t,e){return e||checkOffset(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},Buffer.prototype.readInt32BE=function(t,e){return e||checkOffset(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},Buffer.prototype.readFloatLE=function(t,e){return e||checkOffset(t,4,this.length),ieee754.read(this,t,!0,23,4)},Buffer.prototype.readFloatBE=function(t,e){return e||checkOffset(t,4,this.length),ieee754.read(this,t,!1,23,4)},Buffer.prototype.readDoubleLE=function(t,e){return e||checkOffset(t,8,this.length),ieee754.read(this,t,!0,52,8)},Buffer.prototype.readDoubleBE=function(t,e){return e||checkOffset(t,8,this.length),ieee754.read(this,t,!1,52,8)},Buffer.prototype.writeUIntLE=function(t,e,r,n){t=+t,e=0|e,r=0|r,n||checkInt(this,t,e,r,Math.pow(2,8*r),0);var f=1,i=0;for(this[e]=255&t;++i<r&&(f*=256);)this[e+i]=t/f&255;return e+r},Buffer.prototype.writeUIntBE=function(t,e,r,n){t=+t,e=0|e,r=0|r,n||checkInt(this,t,e,r,Math.pow(2,8*r),0);var f=r-1,i=1;for(this[e+f]=255&t;--f>=0&&(i*=256);)this[e+f]=t/i&255;return e+r},Buffer.prototype.writeUInt8=function(t,e,r){return t=+t,e=0|e,r||checkInt(this,t,e,1,255,0),Buffer.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},Buffer.prototype.writeUInt16LE=function(t,e,r){return t=+t,e=0|e,r||checkInt(this,t,e,2,65535,0),Buffer.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):objectWriteUInt16(this,t,e,!0),e+2},Buffer.prototype.writeUInt16BE=function(t,e,r){return t=+t,e=0|e,r||checkInt(this,t,e,2,65535,0),Buffer.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):objectWriteUInt16(this,t,e,!1),e+2},Buffer.prototype.writeUInt32LE=function(t,e,r){return t=+t,e=0|e,r||checkInt(this,t,e,4,4294967295,0),Buffer.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):objectWriteUInt32(this,t,e,!0),e+4},Buffer.prototype.writeUInt32BE=function(t,e,r){return t=+t,e=0|e,r||checkInt(this,t,e,4,4294967295,0),Buffer.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):objectWriteUInt32(this,t,e,!1),e+4},Buffer.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e=0|e,!n){var f=Math.pow(2,8*r-1);checkInt(this,t,e,r,f-1,-f)}var i=0,o=1,u=0>t?1:0;for(this[e]=255&t;++i<r&&(o*=256);)this[e+i]=(t/o>>0)-u&255;return e+r},Buffer.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e=0|e,!n){var f=Math.pow(2,8*r-1);checkInt(this,t,e,r,f-1,-f)}var i=r-1,o=1,u=0>t?1:0;for(this[e+i]=255&t;--i>=0&&(o*=256);)this[e+i]=(t/o>>0)-u&255;return e+r},Buffer.prototype.writeInt8=function(t,e,r){return t=+t,e=0|e,r||checkInt(this,t,e,1,127,-128),Buffer.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),0>t&&(t=255+t+1),this[e]=255&t,e+1},Buffer.prototype.writeInt16LE=function(t,e,r){return t=+t,e=0|e,r||checkInt(this,t,e,2,32767,-32768),Buffer.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):objectWriteUInt16(this,t,e,!0),e+2},Buffer.prototype.writeInt16BE=function(t,e,r){return t=+t,e=0|e,r||checkInt(this,t,e,2,32767,-32768),Buffer.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):objectWriteUInt16(this,t,e,!1),e+2},Buffer.prototype.writeInt32LE=function(t,e,r){return t=+t,e=0|e,r||checkInt(this,t,e,4,2147483647,-2147483648),Buffer.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):objectWriteUInt32(this,t,e,!0),e+4},Buffer.prototype.writeInt32BE=function(t,e,r){return t=+t,e=0|e,r||checkInt(this,t,e,4,2147483647,-2147483648),0>t&&(t=4294967295+t+1),Buffer.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):objectWriteUInt32(this,t,e,!1),e+4},Buffer.prototype.writeFloatLE=function(t,e,r){return writeFloat(this,t,e,!0,r)},Buffer.prototype.writeFloatBE=function(t,e,r){return writeFloat(this,t,e,!1,r)},Buffer.prototype.writeDoubleLE=function(t,e,r){return writeDouble(this,t,e,!0,r)},Buffer.prototype.writeDoubleBE=function(t,e,r){return writeDouble(this,t,e,!1,r)},Buffer.prototype.copy=function(t,e,r,n){if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&r>n&&(n=r),n===r)return 0;if(0===t.length||0===this.length)return 0;if(0>e)throw new RangeError("targetStart out of bounds");if(0>r||r>=this.length)throw new RangeError("sourceStart out of bounds");if(0>n)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e<n-r&&(n=t.length-e+r);var f,i=n-r;if(this===t&&e>r&&n>e)for(f=i-1;f>=0;f--)t[f+e]=this[f+r];else if(1e3>i||!Buffer.TYPED_ARRAY_SUPPORT)for(f=0;i>f;f++)t[f+e]=this[f+r];else t._set(this.subarray(r,r+i),e);return i},Buffer.prototype.fill=function(t,e,r){if(t||(t=0),e||(e=0),r||(r=this.length),e>r)throw new RangeError("end < start");if(r!==e&&0!==this.length){if(0>e||e>=this.length)throw new RangeError("start out of bounds");if(0>r||r>this.length)throw new RangeError("end out of bounds");var n;if("number"==typeof t)for(n=e;r>n;n++)this[n]=t;else{var f=utf8ToBytes(t.toString()),i=f.length;for(n=e;r>n;n++)this[n]=f[n%i]}return this}},Buffer.prototype.toArrayBuffer=function(){if("undefined"!=typeof Uint8Array){if(Buffer.TYPED_ARRAY_SUPPORT)return new Buffer(this).buffer;for(var t=new Uint8Array(this.length),e=0,r=t.length;r>e;e+=1)t[e]=this[e];return t.buffer}throw new TypeError("Buffer.toArrayBuffer not supported in this browser")};var BP=Buffer.prototype;Buffer._augment=function(t){return t.constructor=Buffer,t._isBuffer=!0,t._set=t.set,t.get=BP.get,t.set=BP.set,t.write=BP.write,t.toString=BP.toString,t.toLocaleString=BP.toString,t.toJSON=BP.toJSON,t.equals=BP.equals,t.compare=BP.compare,t.indexOf=BP.indexOf,t.copy=BP.copy,t.slice=BP.slice,t.readUIntLE=BP.readUIntLE,t.readUIntBE=BP.readUIntBE,t.readUInt8=BP.readUInt8,t.readUInt16LE=BP.readUInt16LE,t.readUInt16BE=BP.readUInt16BE,t.readUInt32LE=BP.readUInt32LE,t.readUInt32BE=BP.readUInt32BE,t.readIntLE=BP.readIntLE,t.readIntBE=BP.readIntBE,t.readInt8=BP.readInt8,t.readInt16LE=BP.readInt16LE,t.readInt16BE=BP.readInt16BE,t.readInt32LE=BP.readInt32LE,t.readInt32BE=BP.readInt32BE,t.readFloatLE=BP.readFloatLE,t.readFloatBE=BP.readFloatBE,t.readDoubleLE=BP.readDoubleLE,t.readDoubleBE=BP.readDoubleBE,t.writeUInt8=BP.writeUInt8,t.writeUIntLE=BP.writeUIntLE,t.writeUIntBE=BP.writeUIntBE,t.writeUInt16LE=BP.writeUInt16LE,t.writeUInt16BE=BP.writeUInt16BE,t.writeUInt32LE=BP.writeUInt32LE,t.writeUInt32BE=BP.writeUInt32BE,t.writeIntLE=BP.writeIntLE,t.writeIntBE=BP.writeIntBE,t.writeInt8=BP.writeInt8,t.writeInt16LE=BP.writeInt16LE,t.writeInt16BE=BP.writeInt16BE,t.writeInt32LE=BP.writeInt32LE,t.writeInt32BE=BP.writeInt32BE,t.writeFloatLE=BP.writeFloatLE,t.writeFloatBE=BP.writeFloatBE,t.writeDoubleLE=BP.writeDoubleLE,t.writeDoubleBE=BP.writeDoubleBE,t.fill=BP.fill,t.inspect=BP.inspect,t.toArrayBuffer=BP.toArrayBuffer,t};var INVALID_BASE64_RE=/[^+\/0-9A-Za-z-_]/g;
24997
24998}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
24999
25000},{"base64-js":22,"ieee754":34,"isarray":37}],26:[function(require,module,exports){
25001module.exports={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"};
25002
25003},{}],27:[function(require,module,exports){
25004(function (process,global){
25005"use strict";var next=global.process&&process.nextTick||global.setImmediate||function(n){setTimeout(n,0)};module.exports=function(n,t){return n?void t.then(function(t){next(function(){n(null,t)})},function(t){next(function(){n(t)})}):t};
25006
25007}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
25008
25009},{"_process":71}],28:[function(require,module,exports){
25010(function (Buffer){
25011function isArray(r){return Array.isArray?Array.isArray(r):"[object Array]"===objectToString(r)}function isBoolean(r){return"boolean"==typeof r}function isNull(r){return null===r}function isNullOrUndefined(r){return null==r}function isNumber(r){return"number"==typeof r}function isString(r){return"string"==typeof r}function isSymbol(r){return"symbol"==typeof r}function isUndefined(r){return void 0===r}function isRegExp(r){return"[object RegExp]"===objectToString(r)}function isObject(r){return"object"==typeof r&&null!==r}function isDate(r){return"[object Date]"===objectToString(r)}function isError(r){return"[object Error]"===objectToString(r)||r instanceof Error}function isFunction(r){return"function"==typeof r}function isPrimitive(r){return null===r||"boolean"==typeof r||"number"==typeof r||"string"==typeof r||"symbol"==typeof r||"undefined"==typeof r}function objectToString(r){return Object.prototype.toString.call(r)}exports.isArray=isArray,exports.isBoolean=isBoolean,exports.isNull=isNull,exports.isNullOrUndefined=isNullOrUndefined,exports.isNumber=isNumber,exports.isString=isString,exports.isSymbol=isSymbol,exports.isUndefined=isUndefined,exports.isRegExp=isRegExp,exports.isObject=isObject,exports.isDate=isDate,exports.isError=isError,exports.isFunction=isFunction,exports.isPrimitive=isPrimitive,exports.isBuffer=Buffer.isBuffer;
25012
25013}).call(this,{"isBuffer":require("../../is-buffer/index.js")})
25014
25015},{"../../is-buffer/index.js":36}],29:[function(require,module,exports){
25016function useColors(){return"WebkitAppearance"in document.documentElement.style||window.console&&(console.firebug||console.exception&&console.table)||navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31}function formatArgs(){var o=arguments,e=this.useColors;if(o[0]=(e?"%c":"")+this.namespace+(e?" %c":" ")+o[0]+(e?"%c ":" ")+"+"+exports.humanize(this.diff),!e)return o;var r="color: "+this.color;o=[o[0],r,"color: inherit"].concat(Array.prototype.slice.call(o,1));var t=0,s=0;return o[0].replace(/%[a-z%]/g,function(o){"%%"!==o&&(t++,"%c"===o&&(s=t))}),o.splice(s,0,r),o}function log(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}function save(o){try{null==o?exports.storage.removeItem("debug"):exports.storage.debug=o}catch(e){}}function load(){var o;try{o=exports.storage.debug}catch(e){}return o}function localstorage(){try{return window.localStorage}catch(o){}}exports=module.exports=require("./debug"),exports.log=log,exports.formatArgs=formatArgs,exports.save=save,exports.load=load,exports.useColors=useColors,exports.storage="undefined"!=typeof chrome&&"undefined"!=typeof chrome.storage?chrome.storage.local:localstorage(),exports.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],exports.formatters.j=function(o){return JSON.stringify(o)},exports.enable(load());
25017
25018},{"./debug":30}],30:[function(require,module,exports){
25019function selectColor(){return exports.colors[prevColor++%exports.colors.length]}function debug(e){function r(){}function o(){var e=o,r=+new Date,s=r-(prevTime||r);e.diff=s,e.prev=prevTime,e.curr=r,prevTime=r,null==e.useColors&&(e.useColors=exports.useColors()),null==e.color&&e.useColors&&(e.color=selectColor());var t=Array.prototype.slice.call(arguments);t[0]=exports.coerce(t[0]),"string"!=typeof t[0]&&(t=["%o"].concat(t));var n=0;t[0]=t[0].replace(/%([a-z%])/g,function(r,o){if("%%"===r)return r;n++;var s=exports.formatters[o];if("function"==typeof s){var p=t[n];r=s.call(e,p),t.splice(n,1),n--}return r}),"function"==typeof exports.formatArgs&&(t=exports.formatArgs.apply(e,t));var p=o.log||exports.log||console.log.bind(console);p.apply(e,t)}r.enabled=!1,o.enabled=!0;var s=exports.enabled(e)?o:r;return s.namespace=e,s}function enable(e){exports.save(e);for(var r=(e||"").split(/[\s,]+/),o=r.length,s=0;o>s;s++)r[s]&&(e=r[s].replace(/\*/g,".*?"),"-"===e[0]?exports.skips.push(new RegExp("^"+e.substr(1)+"$")):exports.names.push(new RegExp("^"+e+"$")))}function disable(){exports.enable("")}function enabled(e){var r,o;for(r=0,o=exports.skips.length;o>r;r++)if(exports.skips[r].test(e))return!1;for(r=0,o=exports.names.length;o>r;r++)if(exports.names[r].test(e))return!0;return!1}function coerce(e){return e instanceof Error?e.stack||e.message:e}exports=module.exports=debug,exports.coerce=coerce,exports.disable=disable,exports.enable=enable,exports.enabled=enabled,exports.humanize=require("ms"),exports.names=[],exports.skips=[],exports.formatters={};var prevColor=0,prevTime;
25020
25021},{"ms":68}],31:[function(require,module,exports){
25022(function (process,global){
25023/*!
25024 * @overview es6-promise - a tiny implementation of Promises/A+.
25025 * @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
25026 * @license Licensed under MIT license
25027 * See https://raw.githubusercontent.com/jakearchibald/es6-promise/master/LICENSE
25028 * @version 3.1.2
25029 */
25030(function(){"use strict";function t(t){return"function"==typeof t||"object"==typeof t&&null!==t}function e(t){return"function"==typeof t}function n(t){W=t}function r(t){H=t}function o(){return function(){process.nextTick(a)}}function i(){return function(){U(a)}}function s(){var t=0,e=new Q(a),n=document.createTextNode("");return e.observe(n,{characterData:!0}),function(){n.data=t=++t%2}}function u(){var t=new MessageChannel;return t.port1.onmessage=a,function(){t.port2.postMessage(0)}}function c(){return function(){setTimeout(a,1)}}function a(){for(var t=0;G>t;t+=2){var e=X[t],n=X[t+1];e(n),X[t]=void 0,X[t+1]=void 0}G=0}function f(){try{var t=require,e=t("vertx");return U=e.runOnLoop||e.runOnContext,i()}catch(n){return c()}}function l(t,e){var n=this,r=n._state;if(r===et&&!t||r===nt&&!e)return this;var o=new this.constructor(p),i=n._result;if(r){var s=arguments[r-1];H(function(){C(r,o,s,i)})}else j(n,o,t,e);return o}function h(t){var e=this;if(t&&"object"==typeof t&&t.constructor===e)return t;var n=new e(p);return g(n,t),n}function p(){}function _(){return new TypeError("You cannot resolve a promise with itself")}function v(){return new TypeError("A promises callback cannot return that same promise.")}function d(t){try{return t.then}catch(e){return rt.error=e,rt}}function y(t,e,n,r){try{t.call(e,n,r)}catch(o){return o}}function m(t,e,n){H(function(t){var r=!1,o=y(n,e,function(n){r||(r=!0,e!==n?g(t,n):E(t,n))},function(e){r||(r=!0,S(t,e))},"Settle: "+(t._label||" unknown promise"));!r&&o&&(r=!0,S(t,o))},t)}function w(t,e){e._state===et?E(t,e._result):e._state===nt?S(t,e._result):j(e,void 0,function(e){g(t,e)},function(e){S(t,e)})}function b(t,n,r){n.constructor===t.constructor&&r===Z&&constructor.resolve===$?w(t,n):r===rt?S(t,rt.error):void 0===r?E(t,n):e(r)?m(t,n,r):E(t,n)}function g(e,n){e===n?S(e,_()):t(n)?b(e,n,d(n)):E(e,n)}function A(t){t._onerror&&t._onerror(t._result),T(t)}function E(t,e){t._state===tt&&(t._result=e,t._state=et,0!==t._subscribers.length&&H(T,t))}function S(t,e){t._state===tt&&(t._state=nt,t._result=e,H(A,t))}function j(t,e,n,r){var o=t._subscribers,i=o.length;t._onerror=null,o[i]=e,o[i+et]=n,o[i+nt]=r,0===i&&t._state&&H(T,t)}function T(t){var e=t._subscribers,n=t._state;if(0!==e.length){for(var r,o,i=t._result,s=0;s<e.length;s+=3)r=e[s],o=e[s+n],r?C(n,r,o,i):o(i);t._subscribers.length=0}}function P(){this.error=null}function x(t,e){try{return t(e)}catch(n){return ot.error=n,ot}}function C(t,n,r,o){var i,s,u,c,a=e(r);if(a){if(i=x(r,o),i===ot?(c=!0,s=i.error,i=null):u=!0,n===i)return void S(n,v())}else i=o,u=!0;n._state!==tt||(a&&u?g(n,i):c?S(n,s):t===et?E(n,i):t===nt&&S(n,i))}function M(t,e){try{e(function(e){g(t,e)},function(e){S(t,e)})}catch(n){S(t,n)}}function O(t){return new ft(this,t).promise}function k(t){function e(t){g(o,t)}function n(t){S(o,t)}var r=this,o=new r(p);if(!B(t))return S(o,new TypeError("You must pass an array to race.")),o;for(var i=t.length,s=0;o._state===tt&&i>s;s++)j(r.resolve(t[s]),void 0,e,n);return o}function Y(t){var e=this,n=new e(p);return S(n,t),n}function q(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function F(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}function D(t){this._id=ct++,this._state=void 0,this._result=void 0,this._subscribers=[],p!==t&&("function"!=typeof t&&q(),this instanceof D?M(this,t):F())}function K(t,e){this._instanceConstructor=t,this.promise=new t(p),Array.isArray(e)?(this._input=e,this.length=e.length,this._remaining=e.length,this._result=new Array(this.length),0===this.length?E(this.promise,this._result):(this.length=this.length||0,this._enumerate(),0===this._remaining&&E(this.promise,this._result))):S(this.promise,this._validationError())}function L(){var t;if("undefined"!=typeof global)t=global;else if("undefined"!=typeof self)t=self;else try{t=Function("return this")()}catch(e){throw new Error("polyfill failed because global object is unavailable in this environment")}var n=t.Promise;n&&"[object Promise]"===Object.prototype.toString.call(n.resolve())&&!n.cast||(t.Promise=at)}var N;N=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)};var U,W,z,B=N,G=0,H=function(t,e){X[G]=t,X[G+1]=e,G+=2,2===G&&(W?W(a):z())},I="undefined"!=typeof window?window:void 0,J=I||{},Q=J.MutationObserver||J.WebKitMutationObserver,R="undefined"!=typeof process&&"[object process]"==={}.toString.call(process),V="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,X=new Array(1e3);z=R?o():Q?s():V?u():void 0===I&&"function"==typeof require?f():c();var Z=l,$=h,tt=void 0,et=1,nt=2,rt=new P,ot=new P,it=O,st=k,ut=Y,ct=0,at=D;D.all=it,D.race=st,D.resolve=$,D.reject=ut,D._setScheduler=n,D._setAsap=r,D._asap=H,D.prototype={constructor:D,then:Z,"catch":function(t){return this.then(null,t)}};var ft=K;K.prototype._validationError=function(){return new Error("Array Methods must be provided an Array")},K.prototype._enumerate=function(){for(var t=this.length,e=this._input,n=0;this._state===tt&&t>n;n++)this._eachEntry(e[n],n)},K.prototype._eachEntry=function(t,e){var n=this._instanceConstructor,r=n.resolve;if(r===$){var o=d(t);if(o===Z&&t._state!==tt)this._settledAt(t._state,e,t._result);else if("function"!=typeof o)this._remaining--,this._result[e]=t;else if(n===at){var i=new n(p);b(i,t,o),this._willSettleAt(i,e)}else this._willSettleAt(new n(function(e){e(t)}),e)}else this._willSettleAt(r(t),e)},K.prototype._settledAt=function(t,e,n){var r=this.promise;r._state===tt&&(this._remaining--,t===nt?S(r,n):this._result[e]=n),0===this._remaining&&E(r,this._result)},K.prototype._willSettleAt=function(t,e){var n=this;j(t,void 0,function(t){n._settledAt(et,e,t)},function(t){n._settledAt(nt,e,t)})};var lt=L,ht={Promise:at,polyfill:lt};"function"==typeof define&&define.amd?define(function(){return ht}):"undefined"!=typeof module&&module.exports?module.exports=ht:"undefined"!=typeof this&&(this.ES6Promise=ht),lt()}).call(this);
25031
25032}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
25033
25034},{"_process":71}],32:[function(require,module,exports){
25035function EventEmitter(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function isFunction(e){return"function"==typeof e}function isNumber(e){return"number"==typeof e}function isObject(e){return"object"==typeof e&&null!==e}function isUndefined(e){return void 0===e}module.exports=EventEmitter,EventEmitter.EventEmitter=EventEmitter,EventEmitter.prototype._events=void 0,EventEmitter.prototype._maxListeners=void 0,EventEmitter.defaultMaxListeners=10,EventEmitter.prototype.setMaxListeners=function(e){if(!isNumber(e)||0>e||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},EventEmitter.prototype.emit=function(e){var t,i,n,s,r,o;if(this._events||(this._events={}),"error"===e&&(!this._events.error||isObject(this._events.error)&&!this._events.error.length)){if(t=arguments[1],t instanceof Error)throw t;throw TypeError('Uncaught, unspecified "error" event.')}if(i=this._events[e],isUndefined(i))return!1;if(isFunction(i))switch(arguments.length){case 1:i.call(this);break;case 2:i.call(this,arguments[1]);break;case 3:i.call(this,arguments[1],arguments[2]);break;default:s=Array.prototype.slice.call(arguments,1),i.apply(this,s)}else if(isObject(i))for(s=Array.prototype.slice.call(arguments,1),o=i.slice(),n=o.length,r=0;n>r;r++)o[r].apply(this,s);return!0},EventEmitter.prototype.addListener=function(e,t){var i;if(!isFunction(t))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,isFunction(t.listener)?t.listener:t),this._events[e]?isObject(this._events[e])?this._events[e].push(t):this._events[e]=[this._events[e],t]:this._events[e]=t,isObject(this._events[e])&&!this._events[e].warned&&(i=isUndefined(this._maxListeners)?EventEmitter.defaultMaxListeners:this._maxListeners,i&&i>0&&this._events[e].length>i&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace())),this},EventEmitter.prototype.on=EventEmitter.prototype.addListener,EventEmitter.prototype.once=function(e,t){function i(){this.removeListener(e,i),n||(n=!0,t.apply(this,arguments))}if(!isFunction(t))throw TypeError("listener must be a function");var n=!1;return i.listener=t,this.on(e,i),this},EventEmitter.prototype.removeListener=function(e,t){var i,n,s,r;if(!isFunction(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(i=this._events[e],s=i.length,n=-1,i===t||isFunction(i.listener)&&i.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(isObject(i)){for(r=s;r-- >0;)if(i[r]===t||i[r].listener&&i[r].listener===t){n=r;break}if(0>n)return this;1===i.length?(i.length=0,delete this._events[e]):i.splice(n,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},EventEmitter.prototype.removeAllListeners=function(e){var t,i;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(i=this._events[e],isFunction(i))this.removeListener(e,i);else if(i)for(;i.length;)this.removeListener(e,i[i.length-1]);return delete this._events[e],this},EventEmitter.prototype.listeners=function(e){var t;return t=this._events&&this._events[e]?isFunction(this._events[e])?[this._events[e]]:this._events[e].slice():[]},EventEmitter.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(isFunction(t))return 1;if(t)return t.length}return 0},EventEmitter.listenerCount=function(e,t){return e.listenerCount(t)};
25036
25037},{}],33:[function(require,module,exports){
25038var http=require("http"),https=module.exports;for(var key in http)http.hasOwnProperty(key)&&(https[key]=http[key]);https.request=function(t,e){return t||(t={}),t.scheme="https",t.protocol="https:",http.request.call(this,t,e)};
25039
25040},{"http":87}],34:[function(require,module,exports){
25041exports.read=function(a,o,t,r,h){var M,p,w=8*h-r-1,f=(1<<w)-1,e=f>>1,i=-7,N=t?h-1:0,n=t?-1:1,s=a[o+N];for(N+=n,M=s&(1<<-i)-1,s>>=-i,i+=w;i>0;M=256*M+a[o+N],N+=n,i-=8);for(p=M&(1<<-i)-1,M>>=-i,i+=r;i>0;p=256*p+a[o+N],N+=n,i-=8);if(0===M)M=1-e;else{if(M===f)return p?NaN:(s?-1:1)*(1/0);p+=Math.pow(2,r),M-=e}return(s?-1:1)*p*Math.pow(2,M-r)},exports.write=function(a,o,t,r,h,M){var p,w,f,e=8*M-h-1,i=(1<<e)-1,N=i>>1,n=23===h?Math.pow(2,-24)-Math.pow(2,-77):0,s=r?0:M-1,u=r?1:-1,l=0>o||0===o&&0>1/o?1:0;for(o=Math.abs(o),isNaN(o)||o===1/0?(w=isNaN(o)?1:0,p=i):(p=Math.floor(Math.log(o)/Math.LN2),o*(f=Math.pow(2,-p))<1&&(p--,f*=2),o+=p+N>=1?n/f:n*Math.pow(2,1-N),o*f>=2&&(p++,f/=2),p+N>=i?(w=0,p=i):p+N>=1?(w=(o*f-1)*Math.pow(2,h),p+=N):(w=o*Math.pow(2,N-1)*Math.pow(2,h),p=0));h>=8;a[t+s]=255&w,s+=u,w/=256,h-=8);for(p=p<<h|w,e+=h;e>0;a[t+s]=255&p,s+=u,p/=256,e-=8);a[t+s-u]|=128*l};
25042
25043},{}],35:[function(require,module,exports){
25044"function"==typeof Object.create?module.exports=function(t,e){t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}:module.exports=function(t,e){t.super_=e;var o=function(){};o.prototype=e.prototype,t.prototype=new o,t.prototype.constructor=t};
25045
25046},{}],36:[function(require,module,exports){
25047module.exports=function(r){return!(null==r||!(r._isBuffer||r.constructor&&"function"==typeof r.constructor.isBuffer&&r.constructor.isBuffer(r)))};
25048
25049},{}],37:[function(require,module,exports){
25050var toString={}.toString;module.exports=Array.isArray||function(r){return"[object Array]"==toString.call(r)};
25051
25052},{}],38:[function(require,module,exports){
25053"use strict";var yaml=require("./lib/js-yaml.js");module.exports=yaml;
25054
25055},{"./lib/js-yaml.js":39}],39:[function(require,module,exports){
25056"use strict";function deprecated(e){return function(){throw new Error("Function "+e+" is deprecated and cannot be used.")}}var loader=require("./js-yaml/loader"),dumper=require("./js-yaml/dumper");module.exports.Type=require("./js-yaml/type"),module.exports.Schema=require("./js-yaml/schema"),module.exports.FAILSAFE_SCHEMA=require("./js-yaml/schema/failsafe"),module.exports.JSON_SCHEMA=require("./js-yaml/schema/json"),module.exports.CORE_SCHEMA=require("./js-yaml/schema/core"),module.exports.DEFAULT_SAFE_SCHEMA=require("./js-yaml/schema/default_safe"),module.exports.DEFAULT_FULL_SCHEMA=require("./js-yaml/schema/default_full"),module.exports.load=loader.load,module.exports.loadAll=loader.loadAll,module.exports.safeLoad=loader.safeLoad,module.exports.safeLoadAll=loader.safeLoadAll,module.exports.dump=dumper.dump,module.exports.safeDump=dumper.safeDump,module.exports.YAMLException=require("./js-yaml/exception"),module.exports.MINIMAL_SCHEMA=require("./js-yaml/schema/failsafe"),module.exports.SAFE_SCHEMA=require("./js-yaml/schema/default_safe"),module.exports.DEFAULT_SCHEMA=require("./js-yaml/schema/default_full"),module.exports.scan=deprecated("scan"),module.exports.parse=deprecated("parse"),module.exports.compose=deprecated("compose"),module.exports.addConstructor=deprecated("addConstructor");
25057
25058},{"./js-yaml/dumper":41,"./js-yaml/exception":42,"./js-yaml/loader":43,"./js-yaml/schema":45,"./js-yaml/schema/core":46,"./js-yaml/schema/default_full":47,"./js-yaml/schema/default_safe":48,"./js-yaml/schema/failsafe":49,"./js-yaml/schema/json":50,"./js-yaml/type":51}],40:[function(require,module,exports){
25059"use strict";function isNothing(e){return"undefined"==typeof e||null===e}function isObject(e){return"object"==typeof e&&null!==e}function toArray(e){return Array.isArray(e)?e:isNothing(e)?[]:[e]}function extend(e,t){var r,o,n,i;if(t)for(i=Object.keys(t),r=0,o=i.length;o>r;r+=1)n=i[r],e[n]=t[n];return e}function repeat(e,t){var r,o="";for(r=0;t>r;r+=1)o+=e;return o}function isNegativeZero(e){return 0===e&&Number.NEGATIVE_INFINITY===1/e}module.exports.isNothing=isNothing,module.exports.isObject=isObject,module.exports.toArray=toArray,module.exports.repeat=repeat,module.exports.isNegativeZero=isNegativeZero,module.exports.extend=extend;
25060
25061},{}],41:[function(require,module,exports){
25062"use strict";function compileStyleMap(e,t){var n,i,r,E,o,l,a;if(null===t)return{};for(n={},i=Object.keys(t),r=0,E=i.length;E>r;r+=1)o=i[r],l=String(t[o]),"!!"===o.slice(0,2)&&(o="tag:yaml.org,2002:"+o.slice(2)),a=e.compiledTypeMap[o],a&&_hasOwnProperty.call(a.styleAliases,l)&&(l=a.styleAliases[l]),n[o]=l;return n}function encodeHex(e){var t,n,i;if(t=e.toString(16).toUpperCase(),255>=e)n="x",i=2;else if(65535>=e)n="u",i=4;else{if(!(4294967295>=e))throw new YAMLException("code point within a string may not be greater than 0xFFFFFFFF");n="U",i=8}return"\\"+n+common.repeat("0",i-t.length)+t}function State(e){this.schema=e.schema||DEFAULT_FULL_SCHEMA,this.indent=Math.max(1,e.indent||2),this.skipInvalid=e.skipInvalid||!1,this.flowLevel=common.isNothing(e.flowLevel)?-1:e.flowLevel,this.styleMap=compileStyleMap(this.schema,e.styles||null),this.sortKeys=e.sortKeys||!1,this.lineWidth=e.lineWidth||80,this.noRefs=e.noRefs||!1,this.noCompatMode=e.noCompatMode||!1,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function indentString(e,t){for(var n,i=common.repeat(" ",t),r=0,E=-1,o="",l=e.length;l>r;)E=e.indexOf("\n",r),-1===E?(n=e.slice(r),r=l):(n=e.slice(r,E+1),r=E+1),n.length&&"\n"!==n&&(o+=i),o+=n;return o}function generateNextLine(e,t){return"\n"+common.repeat(" ",e.indent*t)}function testImplicitResolving(e,t){var n,i,r;for(n=0,i=e.implicitTypes.length;i>n;n+=1)if(r=e.implicitTypes[n],r.resolve(t))return!0;return!1}function isWhitespace(e){return e===CHAR_SPACE||e===CHAR_TAB}function isPrintable(e){return e>=32&&126>=e||e>=161&&55295>=e&&8232!==e&&8233!==e||e>=57344&&65533>=e&&65279!==e||e>=65536&&1114111>=e}function isPlainSafe(e){return isPrintable(e)&&65279!==e&&e!==CHAR_COMMA&&e!==CHAR_LEFT_SQUARE_BRACKET&&e!==CHAR_RIGHT_SQUARE_BRACKET&&e!==CHAR_LEFT_CURLY_BRACKET&&e!==CHAR_RIGHT_CURLY_BRACKET&&e!==CHAR_COLON&&e!==CHAR_SHARP}function isPlainSafeFirst(e){return isPrintable(e)&&65279!==e&&!isWhitespace(e)&&e!==CHAR_MINUS&&e!==CHAR_QUESTION&&e!==CHAR_COLON&&e!==CHAR_COMMA&&e!==CHAR_LEFT_SQUARE_BRACKET&&e!==CHAR_RIGHT_SQUARE_BRACKET&&e!==CHAR_LEFT_CURLY_BRACKET&&e!==CHAR_RIGHT_CURLY_BRACKET&&e!==CHAR_SHARP&&e!==CHAR_AMPERSAND&&e!==CHAR_ASTERISK&&e!==CHAR_EXCLAMATION&&e!==CHAR_VERTICAL_LINE&&e!==CHAR_GREATER_THAN&&e!==CHAR_SINGLE_QUOTE&&e!==CHAR_DOUBLE_QUOTE&&e!==CHAR_PERCENT&&e!==CHAR_COMMERCIAL_AT&&e!==CHAR_GRAVE_ACCENT}function chooseScalarStyle(e,t,n,i,r){var E,o,l=!1,a=!1,s=-1!==i,c=-1,A=isPlainSafeFirst(e.charCodeAt(0))&&!isWhitespace(e.charCodeAt(e.length-1));if(t)for(E=0;E<e.length;E++){if(o=e.charCodeAt(E),!isPrintable(o))return STYLE_DOUBLE;A=A&&isPlainSafe(o)}else{for(E=0;E<e.length;E++){if(o=e.charCodeAt(E),o===CHAR_LINE_FEED)l=!0,s&&(a=a||E-c-1>i&&" "!==e[c+1],c=E);else if(!isPrintable(o))return STYLE_DOUBLE;A=A&&isPlainSafe(o)}a=a||s&&E-c-1>i&&" "!==e[c+1]}return l||a?" "===e[0]&&n>9?STYLE_DOUBLE:a?STYLE_FOLDED:STYLE_LITERAL:A&&!r(e)?STYLE_PLAIN:STYLE_SINGLE}function writeScalar(e,t,n,i){e.dump=function(){function r(t){return testImplicitResolving(e,t)}if(0===t.length)return"''";if(!e.noCompatMode&&-1!==DEPRECATED_BOOLEANS_SYNTAX.indexOf(t))return"'"+t+"'";var E=e.indent*Math.max(1,n),o=-1===e.lineWidth?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-E),l=i||e.flowLevel>-1&&n>=e.flowLevel;switch(chooseScalarStyle(t,l,e.indent,o,r)){case STYLE_PLAIN:return t;case STYLE_SINGLE:return"'"+t.replace(/'/g,"''")+"'";case STYLE_LITERAL:return"|"+blockHeader(t,e.indent)+dropEndingNewline(indentString(t,E));case STYLE_FOLDED:return">"+blockHeader(t,e.indent)+dropEndingNewline(indentString(foldString(t,o),E));case STYLE_DOUBLE:return'"'+escapeString(t,o)+'"';default:throw new YAMLException("impossible error: invalid scalar style")}}()}function blockHeader(e,t){var n=" "===e[0]?String(t):"",i="\n"===e[e.length-1],r=i&&("\n"===e[e.length-2]||"\n"===e),E=r?"+":i?"":"-";return n+E+"\n"}function dropEndingNewline(e){return"\n"===e[e.length-1]?e.slice(0,-1):e}function foldString(e,t){for(var n,i,r=/(\n+)([^\n]*)/g,E=function(){var n=e.indexOf("\n");return n=-1!==n?n:e.length,r.lastIndex=n,foldLine(e.slice(0,n),t)}(),o="\n"===e[0]||" "===e[0];i=r.exec(e);){var l=i[1],a=i[2];n=" "===a[0],E+=l+(o||n||""===a?"":"\n")+foldLine(a,t),o=n}return E}function foldLine(e,t){if(""===e||" "===e[0])return e;for(var n,i,r=/ [^ ]/g,E=0,o=0,l=0,a="";n=r.exec(e);)l=n.index,l-E>t&&(i=o>E?o:l,a+="\n"+e.slice(E,i),E=i+1),o=l;return a+="\n",a+=e.length-E>t&&o>E?e.slice(E,o)+"\n"+e.slice(o+1):e.slice(E),a.slice(1)}function escapeString(e){for(var t,n,i="",r=0;r<e.length;r++)t=e.charCodeAt(r),n=ESCAPE_SEQUENCES[t],i+=!n&&isPrintable(t)?e[r]:n||encodeHex(t);return i}function writeFlowSequence(e,t,n){var i,r,E="",o=e.tag;for(i=0,r=n.length;r>i;i+=1)writeNode(e,t,n[i],!1,!1)&&(0!==i&&(E+=", "),E+=e.dump);e.tag=o,e.dump="["+E+"]"}function writeBlockSequence(e,t,n,i){var r,E,o="",l=e.tag;for(r=0,E=n.length;E>r;r+=1)writeNode(e,t+1,n[r],!0,!0)&&(i&&0===r||(o+=generateNextLine(e,t)),o+="- "+e.dump);e.tag=l,e.dump=o||"[]"}function writeFlowMapping(e,t,n){var i,r,E,o,l,a="",s=e.tag,c=Object.keys(n);for(i=0,r=c.length;r>i;i+=1)l="",0!==i&&(l+=", "),E=c[i],o=n[E],writeNode(e,t,E,!1,!1)&&(e.dump.length>1024&&(l+="? "),l+=e.dump+": ",writeNode(e,t,o,!1,!1)&&(l+=e.dump,a+=l));e.tag=s,e.dump="{"+a+"}"}function writeBlockMapping(e,t,n,i){var r,E,o,l,a,s,c="",A=e.tag,u=Object.keys(n);if(e.sortKeys===!0)u.sort();else if("function"==typeof e.sortKeys)u.sort(e.sortKeys);else if(e.sortKeys)throw new YAMLException("sortKeys must be a boolean or a function");for(r=0,E=u.length;E>r;r+=1)s="",i&&0===r||(s+=generateNextLine(e,t)),o=u[r],l=n[o],writeNode(e,t+1,o,!0,!0,!0)&&(a=null!==e.tag&&"?"!==e.tag||e.dump&&e.dump.length>1024,a&&(s+=e.dump&&CHAR_LINE_FEED===e.dump.charCodeAt(0)?"?":"? "),s+=e.dump,a&&(s+=generateNextLine(e,t)),writeNode(e,t+1,l,!0,a)&&(s+=e.dump&&CHAR_LINE_FEED===e.dump.charCodeAt(0)?":":": ",s+=e.dump,c+=s));e.tag=A,e.dump=c||"{}"}function detectType(e,t,n){var i,r,E,o,l,a;for(r=n?e.explicitTypes:e.implicitTypes,E=0,o=r.length;o>E;E+=1)if(l=r[E],(l.instanceOf||l.predicate)&&(!l.instanceOf||"object"==typeof t&&t instanceof l.instanceOf)&&(!l.predicate||l.predicate(t))){if(e.tag=n?l.tag:"?",l.represent){if(a=e.styleMap[l.tag]||l.defaultStyle,"[object Function]"===_toString.call(l.represent))i=l.represent(t,a);else{if(!_hasOwnProperty.call(l.represent,a))throw new YAMLException("!<"+l.tag+'> tag resolver accepts not "'+a+'" style');i=l.represent[a](t,a)}e.dump=i}return!0}return!1}function writeNode(e,t,n,i,r,E){e.tag=null,e.dump=n,detectType(e,n,!1)||detectType(e,n,!0);var o=_toString.call(e.dump);i&&(i=e.flowLevel<0||e.flowLevel>t);var l,a,s="[object Object]"===o||"[object Array]"===o;if(s&&(l=e.duplicates.indexOf(n),a=-1!==l),(null!==e.tag&&"?"!==e.tag||a||2!==e.indent&&t>0)&&(r=!1),a&&e.usedDuplicates[l])e.dump="*ref_"+l;else{if(s&&a&&!e.usedDuplicates[l]&&(e.usedDuplicates[l]=!0),"[object Object]"===o)i&&0!==Object.keys(e.dump).length?(writeBlockMapping(e,t,e.dump,r),a&&(e.dump="&ref_"+l+e.dump)):(writeFlowMapping(e,t,e.dump),a&&(e.dump="&ref_"+l+" "+e.dump));else if("[object Array]"===o)i&&0!==e.dump.length?(writeBlockSequence(e,t,e.dump,r),a&&(e.dump="&ref_"+l+e.dump)):(writeFlowSequence(e,t,e.dump),a&&(e.dump="&ref_"+l+" "+e.dump));else{if("[object String]"!==o){if(e.skipInvalid)return!1;throw new YAMLException("unacceptable kind of an object to dump "+o)}"?"!==e.tag&&writeScalar(e,e.dump,t,E)}null!==e.tag&&"?"!==e.tag&&(e.dump="!<"+e.tag+"> "+e.dump)}return!0}function getDuplicateReferences(e,t){var n,i,r=[],E=[];for(inspectNode(e,r,E),n=0,i=E.length;i>n;n+=1)t.duplicates.push(r[E[n]]);t.usedDuplicates=new Array(i)}function inspectNode(e,t,n){var i,r,E;if(null!==e&&"object"==typeof e)if(r=t.indexOf(e),-1!==r)-1===n.indexOf(r)&&n.push(r);else if(t.push(e),Array.isArray(e))for(r=0,E=e.length;E>r;r+=1)inspectNode(e[r],t,n);else for(i=Object.keys(e),r=0,E=i.length;E>r;r+=1)inspectNode(e[i[r]],t,n)}function dump(e,t){t=t||{};var n=new State(t);return n.noRefs||getDuplicateReferences(e,n),writeNode(n,0,e,!0,!0)?n.dump+"\n":""}function safeDump(e,t){return dump(e,common.extend({schema:DEFAULT_SAFE_SCHEMA},t))}var common=require("./common"),YAMLException=require("./exception"),DEFAULT_FULL_SCHEMA=require("./schema/default_full"),DEFAULT_SAFE_SCHEMA=require("./schema/default_safe"),_toString=Object.prototype.toString,_hasOwnProperty=Object.prototype.hasOwnProperty,CHAR_TAB=9,CHAR_LINE_FEED=10,CHAR_SPACE=32,CHAR_EXCLAMATION=33,CHAR_DOUBLE_QUOTE=34,CHAR_SHARP=35,CHAR_PERCENT=37,CHAR_AMPERSAND=38,CHAR_SINGLE_QUOTE=39,CHAR_ASTERISK=42,CHAR_COMMA=44,CHAR_MINUS=45,CHAR_COLON=58,CHAR_GREATER_THAN=62,CHAR_QUESTION=63,CHAR_COMMERCIAL_AT=64,CHAR_LEFT_SQUARE_BRACKET=91,CHAR_RIGHT_SQUARE_BRACKET=93,CHAR_GRAVE_ACCENT=96,CHAR_LEFT_CURLY_BRACKET=123,CHAR_VERTICAL_LINE=124,CHAR_RIGHT_CURLY_BRACKET=125,ESCAPE_SEQUENCES={};ESCAPE_SEQUENCES[0]="\\0",ESCAPE_SEQUENCES[7]="\\a",ESCAPE_SEQUENCES[8]="\\b",ESCAPE_SEQUENCES[9]="\\t",ESCAPE_SEQUENCES[10]="\\n",ESCAPE_SEQUENCES[11]="\\v",ESCAPE_SEQUENCES[12]="\\f",ESCAPE_SEQUENCES[13]="\\r",ESCAPE_SEQUENCES[27]="\\e",ESCAPE_SEQUENCES[34]='\\"',ESCAPE_SEQUENCES[92]="\\\\",ESCAPE_SEQUENCES[133]="\\N",ESCAPE_SEQUENCES[160]="\\_",ESCAPE_SEQUENCES[8232]="\\L",ESCAPE_SEQUENCES[8233]="\\P";var DEPRECATED_BOOLEANS_SYNTAX=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],STYLE_PLAIN=1,STYLE_SINGLE=2,STYLE_LITERAL=3,STYLE_FOLDED=4,STYLE_DOUBLE=5;module.exports.dump=dump,module.exports.safeDump=safeDump;
25063
25064},{"./common":40,"./exception":42,"./schema/default_full":47,"./schema/default_safe":48}],42:[function(require,module,exports){
25065"use strict";function YAMLException(t,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack||"",this.name="YAMLException",this.reason=t,this.mark=r,this.message=(this.reason||"(unknown reason)")+(this.mark?" "+this.mark.toString():"")}YAMLException.prototype=Object.create(Error.prototype),YAMLException.prototype.constructor=YAMLException,YAMLException.prototype.toString=function(t){var r=this.name+": ";return r+=this.reason||"(unknown reason)",!t&&this.mark&&(r+=" "+this.mark.toString()),r},module.exports=YAMLException;
25066
25067},{}],43:[function(require,module,exports){
25068"use strict";function is_EOL(e){return 10===e||13===e}function is_WHITE_SPACE(e){return 9===e||32===e}function is_WS_OR_EOL(e){return 9===e||32===e||10===e||13===e}function is_FLOW_INDICATOR(e){return 44===e||91===e||93===e||123===e||125===e}function fromHexCode(e){var t;return e>=48&&57>=e?e-48:(t=32|e,t>=97&&102>=t?t-97+10:-1)}function escapedHexLen(e){return 120===e?2:117===e?4:85===e?8:0}function fromDecimalCode(e){return e>=48&&57>=e?e-48:-1}function simpleEscapeSequence(e){return 48===e?"\x00":97===e?"":98===e?"\b":116===e?" ":9===e?" ":110===e?"\n":118===e?"\x0B":102===e?"\f":114===e?"\r":101===e?"":32===e?" ":34===e?'"':47===e?"/":92===e?"\\":78===e?"…":95===e?" ":76===e?"\u2028":80===e?"\u2029":""}function charFromCodepoint(e){return 65535>=e?String.fromCharCode(e):String.fromCharCode((e-65536>>10)+55296,(e-65536&1023)+56320)}function State(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||DEFAULT_FULL_SCHEMA,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.documents=[]}function generateError(e,t){return new YAMLException(t,new Mark(e.filename,e.input,e.position,e.line,e.position-e.lineStart))}function throwError(e,t){throw generateError(e,t)}function throwWarning(e,t){e.onWarning&&e.onWarning.call(null,generateError(e,t))}function captureSegment(e,t,n,i){var o,r,a,s;if(n>t){if(s=e.input.slice(t,n),i)for(o=0,r=s.length;r>o;o+=1)a=s.charCodeAt(o),9===a||a>=32&&1114111>=a||throwError(e,"expected valid JSON character");else PATTERN_NON_PRINTABLE.test(s)&&throwError(e,"the stream contains non-printable characters");e.result+=s}}function mergeMappings(e,t,n,i){var o,r,a,s;for(common.isObject(n)||throwError(e,"cannot merge mappings; the provided source object is unacceptable"),o=Object.keys(n),a=0,s=o.length;s>a;a+=1)r=o[a],_hasOwnProperty.call(t,r)||(t[r]=n[r],i[r]=!0)}function storeMappingPair(e,t,n,i,o,r){var a,s;if(o=String(o),null===t&&(t={}),"tag:yaml.org,2002:merge"===i)if(Array.isArray(r))for(a=0,s=r.length;s>a;a+=1)mergeMappings(e,t,r[a],n);else mergeMappings(e,t,r,n);else e.json||_hasOwnProperty.call(n,o)||!_hasOwnProperty.call(t,o)||throwError(e,"duplicated mapping key"),t[o]=r,delete n[o];return t}function readLineBreak(e){var t;t=e.input.charCodeAt(e.position),10===t?e.position++:13===t?(e.position++,10===e.input.charCodeAt(e.position)&&e.position++):throwError(e,"a line break is expected"),e.line+=1,e.lineStart=e.position}function skipSeparationSpace(e,t,n){for(var i=0,o=e.input.charCodeAt(e.position);0!==o;){for(;is_WHITE_SPACE(o);)o=e.input.charCodeAt(++e.position);if(t&&35===o)do o=e.input.charCodeAt(++e.position);while(10!==o&&13!==o&&0!==o);if(!is_EOL(o))break;for(readLineBreak(e),o=e.input.charCodeAt(e.position),i++,e.lineIndent=0;32===o;)e.lineIndent++,o=e.input.charCodeAt(++e.position)}return-1!==n&&0!==i&&e.lineIndent<n&&throwWarning(e,"deficient indentation"),i}function testDocumentSeparator(e){var t,n=e.position;return t=e.input.charCodeAt(n),(45===t||46===t)&&t===e.input.charCodeAt(n+1)&&t===e.input.charCodeAt(n+2)&&(n+=3,t=e.input.charCodeAt(n),0===t||is_WS_OR_EOL(t))}function writeFoldedLines(e,t){1===t?e.result+=" ":t>1&&(e.result+=common.repeat("\n",t-1))}function readPlainScalar(e,t,n){var i,o,r,a,s,p,c,l,u,d=e.kind,h=e.result;if(u=e.input.charCodeAt(e.position),is_WS_OR_EOL(u)||is_FLOW_INDICATOR(u)||35===u||38===u||42===u||33===u||124===u||62===u||39===u||34===u||37===u||64===u||96===u)return!1;if((63===u||45===u)&&(o=e.input.charCodeAt(e.position+1),is_WS_OR_EOL(o)||n&&is_FLOW_INDICATOR(o)))return!1;for(e.kind="scalar",e.result="",r=a=e.position,s=!1;0!==u;){if(58===u){if(o=e.input.charCodeAt(e.position+1),is_WS_OR_EOL(o)||n&&is_FLOW_INDICATOR(o))break}else if(35===u){if(i=e.input.charCodeAt(e.position-1),is_WS_OR_EOL(i))break}else{if(e.position===e.lineStart&&testDocumentSeparator(e)||n&&is_FLOW_INDICATOR(u))break;if(is_EOL(u)){if(p=e.line,c=e.lineStart,l=e.lineIndent,skipSeparationSpace(e,!1,-1),e.lineIndent>=t){s=!0,u=e.input.charCodeAt(e.position);continue}e.position=a,e.line=p,e.lineStart=c,e.lineIndent=l;break}}s&&(captureSegment(e,r,a,!1),writeFoldedLines(e,e.line-p),r=a=e.position,s=!1),is_WHITE_SPACE(u)||(a=e.position+1),u=e.input.charCodeAt(++e.position)}return captureSegment(e,r,a,!1),e.result?!0:(e.kind=d,e.result=h,!1)}function readSingleQuotedScalar(e,t){var n,i,o;if(n=e.input.charCodeAt(e.position),39!==n)return!1;for(e.kind="scalar",e.result="",e.position++,i=o=e.position;0!==(n=e.input.charCodeAt(e.position));)if(39===n){if(captureSegment(e,i,e.position,!0),n=e.input.charCodeAt(++e.position),39!==n)return!0;i=o=e.position,e.position++}else is_EOL(n)?(captureSegment(e,i,o,!0),writeFoldedLines(e,skipSeparationSpace(e,!1,t)),i=o=e.position):e.position===e.lineStart&&testDocumentSeparator(e)?throwError(e,"unexpected end of the document within a single quoted scalar"):(e.position++,o=e.position);throwError(e,"unexpected end of the stream within a single quoted scalar")}function readDoubleQuotedScalar(e,t){var n,i,o,r,a,s;if(s=e.input.charCodeAt(e.position),34!==s)return!1;for(e.kind="scalar",e.result="",e.position++,n=i=e.position;0!==(s=e.input.charCodeAt(e.position));){if(34===s)return captureSegment(e,n,e.position,!0),e.position++,!0;if(92===s){if(captureSegment(e,n,e.position,!0),s=e.input.charCodeAt(++e.position),is_EOL(s))skipSeparationSpace(e,!1,t);else if(256>s&&simpleEscapeCheck[s])e.result+=simpleEscapeMap[s],e.position++;else if((a=escapedHexLen(s))>0){for(o=a,r=0;o>0;o--)s=e.input.charCodeAt(++e.position),(a=fromHexCode(s))>=0?r=(r<<4)+a:throwError(e,"expected hexadecimal character");e.result+=charFromCodepoint(r),e.position++}else throwError(e,"unknown escape sequence");n=i=e.position}else is_EOL(s)?(captureSegment(e,n,i,!0),writeFoldedLines(e,skipSeparationSpace(e,!1,t)),n=i=e.position):e.position===e.lineStart&&testDocumentSeparator(e)?throwError(e,"unexpected end of the document within a double quoted scalar"):(e.position++,i=e.position)}throwError(e,"unexpected end of the stream within a double quoted scalar")}function readFlowCollection(e,t){var n,i,o,r,a,s,p,c,l,u,d,h=!0,f=e.tag,_=e.anchor,A={};if(d=e.input.charCodeAt(e.position),91===d)r=93,p=!1,i=[];else{if(123!==d)return!1;r=125,p=!0,i={}}for(null!==e.anchor&&(e.anchorMap[e.anchor]=i),d=e.input.charCodeAt(++e.position);0!==d;){if(skipSeparationSpace(e,!0,t),d=e.input.charCodeAt(e.position),d===r)return e.position++,e.tag=f,e.anchor=_,e.kind=p?"mapping":"sequence",e.result=i,!0;h||throwError(e,"missed comma between flow collection entries"),l=c=u=null,a=s=!1,63===d&&(o=e.input.charCodeAt(e.position+1),is_WS_OR_EOL(o)&&(a=s=!0,e.position++,skipSeparationSpace(e,!0,t))),n=e.line,composeNode(e,t,CONTEXT_FLOW_IN,!1,!0),l=e.tag,c=e.result,skipSeparationSpace(e,!0,t),d=e.input.charCodeAt(e.position),!s&&e.line!==n||58!==d||(a=!0,d=e.input.charCodeAt(++e.position),skipSeparationSpace(e,!0,t),composeNode(e,t,CONTEXT_FLOW_IN,!1,!0),u=e.result),p?storeMappingPair(e,i,A,l,c,u):a?i.push(storeMappingPair(e,null,A,l,c,u)):i.push(c),skipSeparationSpace(e,!0,t),d=e.input.charCodeAt(e.position),44===d?(h=!0,d=e.input.charCodeAt(++e.position)):h=!1}throwError(e,"unexpected end of the stream within a flow collection")}function readBlockScalar(e,t){var n,i,o,r,a=CHOMPING_CLIP,s=!1,p=!1,c=t,l=0,u=!1;if(r=e.input.charCodeAt(e.position),124===r)i=!1;else{if(62!==r)return!1;i=!0}for(e.kind="scalar",e.result="";0!==r;)if(r=e.input.charCodeAt(++e.position),43===r||45===r)CHOMPING_CLIP===a?a=43===r?CHOMPING_KEEP:CHOMPING_STRIP:throwError(e,"repeat of a chomping mode identifier");else{if(!((o=fromDecimalCode(r))>=0))break;0===o?throwError(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):p?throwError(e,"repeat of an indentation width identifier"):(c=t+o-1,p=!0)}if(is_WHITE_SPACE(r)){do r=e.input.charCodeAt(++e.position);while(is_WHITE_SPACE(r));if(35===r)do r=e.input.charCodeAt(++e.position);while(!is_EOL(r)&&0!==r)}for(;0!==r;){for(readLineBreak(e),e.lineIndent=0,r=e.input.charCodeAt(e.position);(!p||e.lineIndent<c)&&32===r;)e.lineIndent++,r=e.input.charCodeAt(++e.position);if(!p&&e.lineIndent>c&&(c=e.lineIndent),is_EOL(r))l++;else{if(e.lineIndent<c){a===CHOMPING_KEEP?e.result+=common.repeat("\n",s?1+l:l):a===CHOMPING_CLIP&&s&&(e.result+="\n");break}for(i?is_WHITE_SPACE(r)?(u=!0,e.result+=common.repeat("\n",s?1+l:l)):u?(u=!1,e.result+=common.repeat("\n",l+1)):0===l?s&&(e.result+=" "):e.result+=common.repeat("\n",l):e.result+=common.repeat("\n",s?1+l:l),s=!0,p=!0,l=0,n=e.position;!is_EOL(r)&&0!==r;)r=e.input.charCodeAt(++e.position);captureSegment(e,n,e.position,!1)}}return!0}function readBlockSequence(e,t){var n,i,o,r=e.tag,a=e.anchor,s=[],p=!1;for(null!==e.anchor&&(e.anchorMap[e.anchor]=s),o=e.input.charCodeAt(e.position);0!==o&&45===o&&(i=e.input.charCodeAt(e.position+1),is_WS_OR_EOL(i));)if(p=!0,e.position++,skipSeparationSpace(e,!0,-1)&&e.lineIndent<=t)s.push(null),o=e.input.charCodeAt(e.position);else if(n=e.line,composeNode(e,t,CONTEXT_BLOCK_IN,!1,!0),s.push(e.result),skipSeparationSpace(e,!0,-1),o=e.input.charCodeAt(e.position),(e.line===n||e.lineIndent>t)&&0!==o)throwError(e,"bad indentation of a sequence entry");else if(e.lineIndent<t)break;return p?(e.tag=r,e.anchor=a,e.kind="sequence",e.result=s,!0):!1}function readBlockMapping(e,t,n){var i,o,r,a,s=e.tag,p=e.anchor,c={},l={},u=null,d=null,h=null,f=!1,_=!1;for(null!==e.anchor&&(e.anchorMap[e.anchor]=c),a=e.input.charCodeAt(e.position);0!==a;){if(i=e.input.charCodeAt(e.position+1),r=e.line,63!==a&&58!==a||!is_WS_OR_EOL(i)){if(!composeNode(e,n,CONTEXT_FLOW_OUT,!1,!0))break;if(e.line===r){for(a=e.input.charCodeAt(e.position);is_WHITE_SPACE(a);)a=e.input.charCodeAt(++e.position);if(58===a)a=e.input.charCodeAt(++e.position),is_WS_OR_EOL(a)||throwError(e,"a whitespace character is expected after the key-value separator within a block mapping"),f&&(storeMappingPair(e,c,l,u,d,null),u=d=h=null),_=!0,f=!1,o=!1,u=e.tag,d=e.result;else{if(!_)return e.tag=s,e.anchor=p,!0;throwError(e,"can not read an implicit mapping pair; a colon is missed")}}else{if(!_)return e.tag=s,e.anchor=p,!0;throwError(e,"can not read a block mapping entry; a multiline key may not be an implicit key")}}else 63===a?(f&&(storeMappingPair(e,c,l,u,d,null),u=d=h=null),_=!0,f=!0,o=!0):f?(f=!1,o=!0):throwError(e,"incomplete explicit mapping pair; a key node is missed"),e.position+=1,a=i;if((e.line===r||e.lineIndent>t)&&(composeNode(e,t,CONTEXT_BLOCK_OUT,!0,o)&&(f?d=e.result:h=e.result),f||(storeMappingPair(e,c,l,u,d,h),u=d=h=null),skipSeparationSpace(e,!0,-1),a=e.input.charCodeAt(e.position)),e.lineIndent>t&&0!==a)throwError(e,"bad indentation of a mapping entry");else if(e.lineIndent<t)break}return f&&storeMappingPair(e,c,l,u,d,null),_&&(e.tag=s,e.anchor=p,e.kind="mapping",e.result=c),_}function readTagProperty(e){var t,n,i,o,r=!1,a=!1;if(o=e.input.charCodeAt(e.position),33!==o)return!1;if(null!==e.tag&&throwError(e,"duplication of a tag property"),o=e.input.charCodeAt(++e.position),60===o?(r=!0,o=e.input.charCodeAt(++e.position)):33===o?(a=!0,n="!!",o=e.input.charCodeAt(++e.position)):n="!",t=e.position,r){do o=e.input.charCodeAt(++e.position);while(0!==o&&62!==o);e.position<e.length?(i=e.input.slice(t,e.position),o=e.input.charCodeAt(++e.position)):throwError(e,"unexpected end of the stream within a verbatim tag")}else{for(;0!==o&&!is_WS_OR_EOL(o);)33===o&&(a?throwError(e,"tag suffix cannot contain exclamation marks"):(n=e.input.slice(t-1,e.position+1),PATTERN_TAG_HANDLE.test(n)||throwError(e,"named tag handle cannot contain such characters"),a=!0,t=e.position+1)),o=e.input.charCodeAt(++e.position);i=e.input.slice(t,e.position),PATTERN_FLOW_INDICATORS.test(i)&&throwError(e,"tag suffix cannot contain flow indicator characters")}return i&&!PATTERN_TAG_URI.test(i)&&throwError(e,"tag name cannot contain such characters: "+i),r?e.tag=i:_hasOwnProperty.call(e.tagMap,n)?e.tag=e.tagMap[n]+i:"!"===n?e.tag="!"+i:"!!"===n?e.tag="tag:yaml.org,2002:"+i:throwError(e,'undeclared tag handle "'+n+'"'),!0}function readAnchorProperty(e){var t,n;if(n=e.input.charCodeAt(e.position),38!==n)return!1;for(null!==e.anchor&&throwError(e,"duplication of an anchor property"),n=e.input.charCodeAt(++e.position),t=e.position;0!==n&&!is_WS_OR_EOL(n)&&!is_FLOW_INDICATOR(n);)n=e.input.charCodeAt(++e.position);return e.position===t&&throwError(e,"name of an anchor node must contain at least one character"),e.anchor=e.input.slice(t,e.position),!0}function readAlias(e){var t,n,i;if(i=e.input.charCodeAt(e.position),42!==i)return!1;for(i=e.input.charCodeAt(++e.position),t=e.position;0!==i&&!is_WS_OR_EOL(i)&&!is_FLOW_INDICATOR(i);)i=e.input.charCodeAt(++e.position);return e.position===t&&throwError(e,"name of an alias node must contain at least one character"),n=e.input.slice(t,e.position),e.anchorMap.hasOwnProperty(n)||throwError(e,'unidentified alias "'+n+'"'),e.result=e.anchorMap[n],skipSeparationSpace(e,!0,-1),!0}function composeNode(e,t,n,i,o){var r,a,s,p,c,l,u,d,h=1,f=!1,_=!1;if(null!==e.listener&&e.listener("open",e),e.tag=null,e.anchor=null,e.kind=null,e.result=null,r=a=s=CONTEXT_BLOCK_OUT===n||CONTEXT_BLOCK_IN===n,i&&skipSeparationSpace(e,!0,-1)&&(f=!0,e.lineIndent>t?h=1:e.lineIndent===t?h=0:e.lineIndent<t&&(h=-1)),1===h)for(;readTagProperty(e)||readAnchorProperty(e);)skipSeparationSpace(e,!0,-1)?(f=!0,s=r,e.lineIndent>t?h=1:e.lineIndent===t?h=0:e.lineIndent<t&&(h=-1)):s=!1;if(s&&(s=f||o),1!==h&&CONTEXT_BLOCK_OUT!==n||(u=CONTEXT_FLOW_IN===n||CONTEXT_FLOW_OUT===n?t:t+1,d=e.position-e.lineStart,1===h?s&&(readBlockSequence(e,d)||readBlockMapping(e,d,u))||readFlowCollection(e,u)?_=!0:(a&&readBlockScalar(e,u)||readSingleQuotedScalar(e,u)||readDoubleQuotedScalar(e,u)?_=!0:readAlias(e)?(_=!0,null===e.tag&&null===e.anchor||throwError(e,"alias node should not have any properties")):readPlainScalar(e,u,CONTEXT_FLOW_IN===n)&&(_=!0,null===e.tag&&(e.tag="?")),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):0===h&&(_=s&&readBlockSequence(e,d))),null!==e.tag&&"!"!==e.tag)if("?"===e.tag){for(p=0,c=e.implicitTypes.length;c>p;p+=1)if(l=e.implicitTypes[p],l.resolve(e.result)){e.result=l.construct(e.result),e.tag=l.tag,null!==e.anchor&&(e.anchorMap[e.anchor]=e.result);break}}else _hasOwnProperty.call(e.typeMap,e.tag)?(l=e.typeMap[e.tag],null!==e.result&&l.kind!==e.kind&&throwError(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+l.kind+'", not "'+e.kind+'"'),l.resolve(e.result)?(e.result=l.construct(e.result),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):throwError(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")):throwError(e,"unknown tag !<"+e.tag+">");return null!==e.listener&&e.listener("close",e),null!==e.tag||null!==e.anchor||_}function readDocument(e){var t,n,i,o,r=e.position,a=!1;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap={},e.anchorMap={};0!==(o=e.input.charCodeAt(e.position))&&(skipSeparationSpace(e,!0,-1),o=e.input.charCodeAt(e.position),!(e.lineIndent>0||37!==o));){for(a=!0,o=e.input.charCodeAt(++e.position),t=e.position;0!==o&&!is_WS_OR_EOL(o);)o=e.input.charCodeAt(++e.position);for(n=e.input.slice(t,e.position),i=[],n.length<1&&throwError(e,"directive name must not be less than one character in length");0!==o;){for(;is_WHITE_SPACE(o);)o=e.input.charCodeAt(++e.position);if(35===o){do o=e.input.charCodeAt(++e.position);while(0!==o&&!is_EOL(o));break}if(is_EOL(o))break;for(t=e.position;0!==o&&!is_WS_OR_EOL(o);)o=e.input.charCodeAt(++e.position);i.push(e.input.slice(t,e.position))}0!==o&&readLineBreak(e),_hasOwnProperty.call(directiveHandlers,n)?directiveHandlers[n](e,n,i):throwWarning(e,'unknown document directive "'+n+'"')}return skipSeparationSpace(e,!0,-1),0===e.lineIndent&&45===e.input.charCodeAt(e.position)&&45===e.input.charCodeAt(e.position+1)&&45===e.input.charCodeAt(e.position+2)?(e.position+=3,skipSeparationSpace(e,!0,-1)):a&&throwError(e,"directives end mark is expected"),composeNode(e,e.lineIndent-1,CONTEXT_BLOCK_OUT,!1,!0),skipSeparationSpace(e,!0,-1),e.checkLineBreaks&&PATTERN_NON_ASCII_LINE_BREAKS.test(e.input.slice(r,e.position))&&throwWarning(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&testDocumentSeparator(e)?void(46===e.input.charCodeAt(e.position)&&(e.position+=3,skipSeparationSpace(e,!0,-1))):void(e.position<e.length-1&&throwError(e,"end of the stream or a document separator is expected"))}function loadDocuments(e,t){e=String(e),t=t||{},0!==e.length&&(10!==e.charCodeAt(e.length-1)&&13!==e.charCodeAt(e.length-1)&&(e+="\n"),65279===e.charCodeAt(0)&&(e=e.slice(1)));var n=new State(e,t);for(n.input+="\x00";32===n.input.charCodeAt(n.position);)n.lineIndent+=1,n.position+=1;for(;n.position<n.length-1;)readDocument(n);return n.documents}function loadAll(e,t,n){var i,o,r=loadDocuments(e,n);for(i=0,o=r.length;o>i;i+=1)t(r[i])}function load(e,t){var n=loadDocuments(e,t);if(0!==n.length){if(1===n.length)return n[0];throw new YAMLException("expected a single document in the stream, but found more")}}function safeLoadAll(e,t,n){loadAll(e,t,common.extend({schema:DEFAULT_SAFE_SCHEMA},n))}function safeLoad(e,t){return load(e,common.extend({schema:DEFAULT_SAFE_SCHEMA},t))}for(var common=require("./common"),YAMLException=require("./exception"),Mark=require("./mark"),DEFAULT_SAFE_SCHEMA=require("./schema/default_safe"),DEFAULT_FULL_SCHEMA=require("./schema/default_full"),_hasOwnProperty=Object.prototype.hasOwnProperty,CONTEXT_FLOW_IN=1,CONTEXT_FLOW_OUT=2,CONTEXT_BLOCK_IN=3,CONTEXT_BLOCK_OUT=4,CHOMPING_CLIP=1,CHOMPING_STRIP=2,CHOMPING_KEEP=3,PATTERN_NON_PRINTABLE=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,PATTERN_NON_ASCII_LINE_BREAKS=/[\x85\u2028\u2029]/,PATTERN_FLOW_INDICATORS=/[,\[\]\{\}]/,PATTERN_TAG_HANDLE=/^(?:!|!!|![a-z\-]+!)$/i,PATTERN_TAG_URI=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i,simpleEscapeCheck=new Array(256),simpleEscapeMap=new Array(256),i=0;256>i;i++)simpleEscapeCheck[i]=simpleEscapeSequence(i)?1:0,simpleEscapeMap[i]=simpleEscapeSequence(i);var directiveHandlers={YAML:function(e,t,n){var i,o,r;null!==e.version&&throwError(e,"duplication of %YAML directive"),1!==n.length&&throwError(e,"YAML directive accepts exactly one argument"),i=/^([0-9]+)\.([0-9]+)$/.exec(n[0]),null===i&&throwError(e,"ill-formed argument of the YAML directive"),o=parseInt(i[1],10),r=parseInt(i[2],10),1!==o&&throwError(e,"unacceptable YAML version of the document"),e.version=n[0],e.checkLineBreaks=2>r,1!==r&&2!==r&&throwWarning(e,"unsupported YAML version of the document")},TAG:function(e,t,n){var i,o;2!==n.length&&throwError(e,"TAG directive accepts exactly two arguments"),i=n[0],o=n[1],PATTERN_TAG_HANDLE.test(i)||throwError(e,"ill-formed tag handle (first argument) of the TAG directive"),_hasOwnProperty.call(e.tagMap,i)&&throwError(e,'there is a previously declared suffix for "'+i+'" tag handle'),PATTERN_TAG_URI.test(o)||throwError(e,"ill-formed tag prefix (second argument) of the TAG directive"),e.tagMap[i]=o}};module.exports.loadAll=loadAll,module.exports.load=load,module.exports.safeLoadAll=safeLoadAll,module.exports.safeLoad=safeLoad;
25069
25070},{"./common":40,"./exception":42,"./mark":44,"./schema/default_full":47,"./schema/default_safe":48}],44:[function(require,module,exports){
25071"use strict";function Mark(t,i,n,e,r){this.name=t,this.buffer=i,this.position=n,this.line=e,this.column=r}var common=require("./common");Mark.prototype.getSnippet=function(t,i){var n,e,r,o,s;if(!this.buffer)return null;for(t=t||4,i=i||75,n="",e=this.position;e>0&&-1==="\x00\r\n…\u2028\u2029".indexOf(this.buffer.charAt(e-1));)if(e-=1,this.position-e>i/2-1){n=" ... ",e+=5;break}for(r="",o=this.position;o<this.buffer.length&&-1==="\x00\r\n…\u2028\u2029".indexOf(this.buffer.charAt(o));)if(o+=1,o-this.position>i/2-1){r=" ... ",o-=5;break}return s=this.buffer.slice(e,o),common.repeat(" ",t)+n+s+r+"\n"+common.repeat(" ",t+this.position-e+n.length)+"^"},Mark.prototype.toString=function(t){var i,n="";return this.name&&(n+='in "'+this.name+'" '),n+="at line "+(this.line+1)+", column "+(this.column+1),t||(i=this.getSnippet(),i&&(n+=":\n"+i)),n},module.exports=Mark;
25072
25073},{"./common":40}],45:[function(require,module,exports){
25074"use strict";function compileList(i,e,t){var c=[];return i.include.forEach(function(i){t=compileList(i,e,t)}),i[e].forEach(function(i){t.forEach(function(e,t){e.tag===i.tag&&c.push(t)}),t.push(i)}),t.filter(function(i,e){return-1===c.indexOf(e)})}function compileMap(){function i(i){c[i.tag]=i}var e,t,c={};for(e=0,t=arguments.length;t>e;e+=1)arguments[e].forEach(i);return c}function Schema(i){this.include=i.include||[],this.implicit=i.implicit||[],this.explicit=i.explicit||[],this.implicit.forEach(function(i){if(i.loadKind&&"scalar"!==i.loadKind)throw new YAMLException("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.")}),this.compiledImplicit=compileList(this,"implicit",[]),this.compiledExplicit=compileList(this,"explicit",[]),this.compiledTypeMap=compileMap(this.compiledImplicit,this.compiledExplicit)}var common=require("./common"),YAMLException=require("./exception"),Type=require("./type");Schema.DEFAULT=null,Schema.create=function(){var i,e;switch(arguments.length){case 1:i=Schema.DEFAULT,e=arguments[0];break;case 2:i=arguments[0],e=arguments[1];break;default:throw new YAMLException("Wrong number of arguments for Schema.create function")}if(i=common.toArray(i),e=common.toArray(e),!i.every(function(i){return i instanceof Schema}))throw new YAMLException("Specified list of super schemas (or a single Schema object) contains a non-Schema object.");if(!e.every(function(i){return i instanceof Type}))throw new YAMLException("Specified list of YAML types (or a single Type object) contains a non-Type object.");return new Schema({include:i,explicit:e})},module.exports=Schema;
25075
25076},{"./common":40,"./exception":42,"./type":51}],46:[function(require,module,exports){
25077"use strict";var Schema=require("../schema");module.exports=new Schema({include:[require("./json")]});
25078
25079},{"../schema":45,"./json":50}],47:[function(require,module,exports){
25080"use strict";var Schema=require("../schema");module.exports=Schema.DEFAULT=new Schema({include:[require("./default_safe")],explicit:[require("../type/js/undefined"),require("../type/js/regexp"),require("../type/js/function")]});
25081
25082},{"../schema":45,"../type/js/function":56,"../type/js/regexp":57,"../type/js/undefined":58,"./default_safe":48}],48:[function(require,module,exports){
25083"use strict";var Schema=require("../schema");module.exports=new Schema({include:[require("./core")],implicit:[require("../type/timestamp"),require("../type/merge")],explicit:[require("../type/binary"),require("../type/omap"),require("../type/pairs"),require("../type/set")]});
25084
25085},{"../schema":45,"../type/binary":52,"../type/merge":60,"../type/omap":62,"../type/pairs":63,"../type/set":65,"../type/timestamp":67,"./core":46}],49:[function(require,module,exports){
25086"use strict";var Schema=require("../schema");module.exports=new Schema({explicit:[require("../type/str"),require("../type/seq"),require("../type/map")]});
25087
25088},{"../schema":45,"../type/map":59,"../type/seq":64,"../type/str":66}],50:[function(require,module,exports){
25089"use strict";var Schema=require("../schema");module.exports=new Schema({include:[require("./failsafe")],implicit:[require("../type/null"),require("../type/bool"),require("../type/int"),require("../type/float")]});
25090
25091},{"../schema":45,"../type/bool":53,"../type/float":54,"../type/int":55,"../type/null":61,"./failsafe":49}],51:[function(require,module,exports){
25092"use strict";function compileStyleAliases(e){var t={};return null!==e&&Object.keys(e).forEach(function(n){e[n].forEach(function(e){t[String(e)]=n})}),t}function Type(e,t){if(t=t||{},Object.keys(t).forEach(function(t){if(-1===TYPE_CONSTRUCTOR_OPTIONS.indexOf(t))throw new YAMLException('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')}),this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.defaultStyle=t.defaultStyle||null,this.styleAliases=compileStyleAliases(t.styleAliases||null),-1===YAML_NODE_KINDS.indexOf(this.kind))throw new YAMLException('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}var YAMLException=require("./exception"),TYPE_CONSTRUCTOR_OPTIONS=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],YAML_NODE_KINDS=["scalar","sequence","mapping"];module.exports=Type;
25093
25094},{"./exception":42}],52:[function(require,module,exports){
25095"use strict";function resolveYamlBinary(r){if(null===r)return!1;var e,n,u=0,t=r.length,a=BASE64_MAP;for(n=0;t>n;n++)if(e=a.indexOf(r.charAt(n)),!(e>64)){if(0>e)return!1;u+=6}return u%8===0}function constructYamlBinary(r){var e,n,u=r.replace(/[\r\n=]/g,""),t=u.length,a=BASE64_MAP,f=0,i=[];for(e=0;t>e;e++)e%4===0&&e&&(i.push(f>>16&255),i.push(f>>8&255),i.push(255&f)),f=f<<6|a.indexOf(u.charAt(e));return n=t%4*6,0===n?(i.push(f>>16&255),i.push(f>>8&255),i.push(255&f)):18===n?(i.push(f>>10&255),i.push(f>>2&255)):12===n&&i.push(f>>4&255),NodeBuffer?new NodeBuffer(i):i}function representYamlBinary(r){var e,n,u="",t=0,a=r.length,f=BASE64_MAP;for(e=0;a>e;e++)e%3===0&&e&&(u+=f[t>>18&63],u+=f[t>>12&63],u+=f[t>>6&63],u+=f[63&t]),t=(t<<8)+r[e];return n=a%3,0===n?(u+=f[t>>18&63],u+=f[t>>12&63],u+=f[t>>6&63],u+=f[63&t]):2===n?(u+=f[t>>10&63],u+=f[t>>4&63],u+=f[t<<2&63],u+=f[64]):1===n&&(u+=f[t>>2&63],u+=f[t<<4&63],u+=f[64],u+=f[64]),u}function isBinary(r){return NodeBuffer&&NodeBuffer.isBuffer(r)}var NodeBuffer;try{var _require=require;NodeBuffer=_require("buffer").Buffer}catch(__){}var Type=require("../type"),BASE64_MAP="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";module.exports=new Type("tag:yaml.org,2002:binary",{kind:"scalar",resolve:resolveYamlBinary,construct:constructYamlBinary,predicate:isBinary,represent:representYamlBinary});
25096
25097},{"../type":51}],53:[function(require,module,exports){
25098"use strict";function resolveYamlBoolean(e){if(null===e)return!1;var r=e.length;return 4===r&&("true"===e||"True"===e||"TRUE"===e)||5===r&&("false"===e||"False"===e||"FALSE"===e)}function constructYamlBoolean(e){return"true"===e||"True"===e||"TRUE"===e}function isBoolean(e){return"[object Boolean]"===Object.prototype.toString.call(e)}var Type=require("../type");module.exports=new Type("tag:yaml.org,2002:bool",{kind:"scalar",resolve:resolveYamlBoolean,construct:constructYamlBoolean,predicate:isBoolean,represent:{lowercase:function(e){return e?"true":"false"},uppercase:function(e){return e?"TRUE":"FALSE"},camelcase:function(e){return e?"True":"False"}},defaultStyle:"lowercase"});
25099
25100},{"../type":51}],54:[function(require,module,exports){
25101"use strict";function resolveYamlFloat(e){return null===e?!1:!!YAML_FLOAT_PATTERN.test(e)}function constructYamlFloat(e){var r,t,a,n;return r=e.replace(/_/g,"").toLowerCase(),t="-"===r[0]?-1:1,n=[],"+-".indexOf(r[0])>=0&&(r=r.slice(1)),".inf"===r?1===t?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===r?NaN:r.indexOf(":")>=0?(r.split(":").forEach(function(e){n.unshift(parseFloat(e,10))}),r=0,a=1,n.forEach(function(e){r+=e*a,a*=60}),t*r):t*parseFloat(r,10)}function representYamlFloat(e,r){var t;if(isNaN(e))switch(r){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(r){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(r){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(common.isNegativeZero(e))return"-0.0";return t=e.toString(10),SCIENTIFIC_WITHOUT_DOT.test(t)?t.replace("e",".e"):t}function isFloat(e){return"[object Number]"===Object.prototype.toString.call(e)&&(e%1!==0||common.isNegativeZero(e))}var common=require("../common"),Type=require("../type"),YAML_FLOAT_PATTERN=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)\\.[0-9_]*(?:[eE][-+][0-9]+)?|\\.[0-9_]+(?:[eE][-+][0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),SCIENTIFIC_WITHOUT_DOT=/^[-+]?[0-9]+e/;module.exports=new Type("tag:yaml.org,2002:float",{kind:"scalar",resolve:resolveYamlFloat,construct:constructYamlFloat,predicate:isFloat,represent:representYamlFloat,defaultStyle:"lowercase"});
25102
25103},{"../common":40,"../type":51}],55:[function(require,module,exports){
25104"use strict";function isHexCode(e){return e>=48&&57>=e||e>=65&&70>=e||e>=97&&102>=e}function isOctCode(e){return e>=48&&55>=e}function isDecCode(e){return e>=48&&57>=e}function resolveYamlInteger(e){if(null===e)return!1;var r,t=e.length,n=0,i=!1;if(!t)return!1;if(r=e[n],"-"!==r&&"+"!==r||(r=e[++n]),"0"===r){if(n+1===t)return!0;if(r=e[++n],"b"===r){for(n++;t>n;n++)if(r=e[n],"_"!==r){if("0"!==r&&"1"!==r)return!1;i=!0}return i}if("x"===r){for(n++;t>n;n++)if(r=e[n],"_"!==r){if(!isHexCode(e.charCodeAt(n)))return!1;i=!0}return i}for(;t>n;n++)if(r=e[n],"_"!==r){if(!isOctCode(e.charCodeAt(n)))return!1;i=!0}return i}for(;t>n;n++)if(r=e[n],"_"!==r){if(":"===r)break;if(!isDecCode(e.charCodeAt(n)))return!1;i=!0}return i?":"!==r?!0:/^(:[0-5]?[0-9])+$/.test(e.slice(n)):!1}function constructYamlInteger(e){var r,t,n=e,i=1,o=[];return-1!==n.indexOf("_")&&(n=n.replace(/_/g,"")),r=n[0],"-"!==r&&"+"!==r||("-"===r&&(i=-1),n=n.slice(1),r=n[0]),"0"===n?0:"0"===r?"b"===n[1]?i*parseInt(n.slice(2),2):"x"===n[1]?i*parseInt(n,16):i*parseInt(n,8):-1!==n.indexOf(":")?(n.split(":").forEach(function(e){o.unshift(parseInt(e,10))}),n=0,t=1,o.forEach(function(e){n+=e*t,t*=60}),i*n):i*parseInt(n,10)}function isInteger(e){return"[object Number]"===Object.prototype.toString.call(e)&&e%1===0&&!common.isNegativeZero(e)}var common=require("../common"),Type=require("../type");module.exports=new Type("tag:yaml.org,2002:int",{kind:"scalar",resolve:resolveYamlInteger,construct:constructYamlInteger,predicate:isInteger,represent:{binary:function(e){return"0b"+e.toString(2)},octal:function(e){return"0"+e.toString(8)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return"0x"+e.toString(16).toUpperCase()}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}});
25105
25106},{"../common":40,"../type":51}],56:[function(require,module,exports){
25107"use strict";function resolveJavascriptFunction(e){if(null===e)return!1;try{var r="("+e+")",n=esprima.parse(r,{range:!0});return"Program"===n.type&&1===n.body.length&&"ExpressionStatement"===n.body[0].type&&"FunctionExpression"===n.body[0].expression.type}catch(t){return!1}}function constructJavascriptFunction(e){var r,n="("+e+")",t=esprima.parse(n,{range:!0}),o=[];if("Program"!==t.type||1!==t.body.length||"ExpressionStatement"!==t.body[0].type||"FunctionExpression"!==t.body[0].expression.type)throw new Error("Failed to resolve function");return t.body[0].expression.params.forEach(function(e){o.push(e.name)}),r=t.body[0].expression.body.range,new Function(o,n.slice(r[0]+1,r[1]-1))}function representJavascriptFunction(e){return e.toString()}function isFunction(e){return"[object Function]"===Object.prototype.toString.call(e)}var esprima;try{var _require=require;esprima=_require("esprima")}catch(_){"undefined"!=typeof window&&(esprima=window.esprima)}var Type=require("../../type");module.exports=new Type("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:resolveJavascriptFunction,construct:constructJavascriptFunction,predicate:isFunction,represent:representJavascriptFunction});
25108
25109},{"../../type":51}],57:[function(require,module,exports){
25110"use strict";function resolveJavascriptRegExp(e){if(null===e)return!1;if(0===e.length)return!1;var r=e,t=/\/([gim]*)$/.exec(e),n="";if("/"===r[0]){if(t&&(n=t[1]),n.length>3)return!1;if("/"!==r[r.length-n.length-1])return!1}return!0}function constructJavascriptRegExp(e){var r=e,t=/\/([gim]*)$/.exec(e),n="";return"/"===r[0]&&(t&&(n=t[1]),r=r.slice(1,r.length-n.length-1)),new RegExp(r,n)}function representJavascriptRegExp(e){var r="/"+e.source+"/";return e.global&&(r+="g"),e.multiline&&(r+="m"),e.ignoreCase&&(r+="i"),r}function isRegExp(e){return"[object RegExp]"===Object.prototype.toString.call(e)}var Type=require("../../type");module.exports=new Type("tag:yaml.org,2002:js/regexp",{kind:"scalar",resolve:resolveJavascriptRegExp,construct:constructJavascriptRegExp,predicate:isRegExp,represent:representJavascriptRegExp});
25111
25112},{"../../type":51}],58:[function(require,module,exports){
25113"use strict";function resolveJavascriptUndefined(){return!0}function constructJavascriptUndefined(){}function representJavascriptUndefined(){return""}function isUndefined(e){return"undefined"==typeof e}var Type=require("../../type");module.exports=new Type("tag:yaml.org,2002:js/undefined",{kind:"scalar",resolve:resolveJavascriptUndefined,construct:constructJavascriptUndefined,predicate:isUndefined,represent:representJavascriptUndefined});
25114
25115},{"../../type":51}],59:[function(require,module,exports){
25116"use strict";var Type=require("../type");module.exports=new Type("tag:yaml.org,2002:map",{kind:"mapping",construct:function(e){return null!==e?e:{}}});
25117
25118},{"../type":51}],60:[function(require,module,exports){
25119"use strict";function resolveYamlMerge(e){return"<<"===e||null===e}var Type=require("../type");module.exports=new Type("tag:yaml.org,2002:merge",{kind:"scalar",resolve:resolveYamlMerge});
25120
25121},{"../type":51}],61:[function(require,module,exports){
25122"use strict";function resolveYamlNull(l){if(null===l)return!0;var e=l.length;return 1===e&&"~"===l||4===e&&("null"===l||"Null"===l||"NULL"===l)}function constructYamlNull(){return null}function isNull(l){return null===l}var Type=require("../type");module.exports=new Type("tag:yaml.org,2002:null",{kind:"scalar",resolve:resolveYamlNull,construct:constructYamlNull,predicate:isNull,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}},defaultStyle:"lowercase"});
25123
25124},{"../type":51}],62:[function(require,module,exports){
25125"use strict";function resolveYamlOmap(r){if(null===r)return!0;var t,e,n,o,u,a=[],l=r;for(t=0,e=l.length;e>t;t+=1){if(n=l[t],u=!1,"[object Object]"!==_toString.call(n))return!1;for(o in n)if(_hasOwnProperty.call(n,o)){if(u)return!1;u=!0}if(!u)return!1;if(-1!==a.indexOf(o))return!1;a.push(o)}return!0}function constructYamlOmap(r){return null!==r?r:[]}var Type=require("../type"),_hasOwnProperty=Object.prototype.hasOwnProperty,_toString=Object.prototype.toString;module.exports=new Type("tag:yaml.org,2002:omap",{kind:"sequence",resolve:resolveYamlOmap,construct:constructYamlOmap});
25126
25127},{"../type":51}],63:[function(require,module,exports){
25128"use strict";function resolveYamlPairs(r){if(null===r)return!0;var e,t,n,l,o,a=r;for(o=new Array(a.length),e=0,t=a.length;t>e;e+=1){if(n=a[e],"[object Object]"!==_toString.call(n))return!1;if(l=Object.keys(n),1!==l.length)return!1;o[e]=[l[0],n[l[0]]]}return!0}function constructYamlPairs(r){if(null===r)return[];var e,t,n,l,o,a=r;for(o=new Array(a.length),e=0,t=a.length;t>e;e+=1)n=a[e],l=Object.keys(n),o[e]=[l[0],n[l[0]]];return o}var Type=require("../type"),_toString=Object.prototype.toString;module.exports=new Type("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:resolveYamlPairs,construct:constructYamlPairs});
25129
25130},{"../type":51}],64:[function(require,module,exports){
25131"use strict";var Type=require("../type");module.exports=new Type("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(e){return null!==e?e:[]}});
25132
25133},{"../type":51}],65:[function(require,module,exports){
25134"use strict";function resolveYamlSet(e){if(null===e)return!0;var r,t=e;for(r in t)if(_hasOwnProperty.call(t,r)&&null!==t[r])return!1;return!0}function constructYamlSet(e){return null!==e?e:{}}var Type=require("../type"),_hasOwnProperty=Object.prototype.hasOwnProperty;module.exports=new Type("tag:yaml.org,2002:set",{kind:"mapping",resolve:resolveYamlSet,construct:constructYamlSet});
25135
25136},{"../type":51}],66:[function(require,module,exports){
25137"use strict";var Type=require("../type");module.exports=new Type("tag:yaml.org,2002:str",{kind:"scalar",construct:function(r){return null!==r?r:""}});
25138
25139},{"../type":51}],67:[function(require,module,exports){
25140"use strict";function resolveYamlTimestamp(e){return null===e?!1:null!==YAML_DATE_REGEXP.exec(e)?!0:null!==YAML_TIMESTAMP_REGEXP.exec(e)}function constructYamlTimestamp(e){var t,r,n,l,a,m,s,T,i,E,u=0,o=null;if(t=YAML_DATE_REGEXP.exec(e),null===t&&(t=YAML_TIMESTAMP_REGEXP.exec(e)),null===t)throw new Error("Date resolve error");if(r=+t[1],n=+t[2]-1,l=+t[3],!t[4])return new Date(Date.UTC(r,n,l));if(a=+t[4],m=+t[5],s=+t[6],t[7]){for(u=t[7].slice(0,3);u.length<3;)u+="0";u=+u}return t[9]&&(T=+t[10],i=+(t[11]||0),o=6e4*(60*T+i),"-"===t[9]&&(o=-o)),E=new Date(Date.UTC(r,n,l,a,m,s,u)),o&&E.setTime(E.getTime()-o),E}function representYamlTimestamp(e){return e.toISOString()}var Type=require("../type"),YAML_DATE_REGEXP=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),YAML_TIMESTAMP_REGEXP=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");module.exports=new Type("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:resolveYamlTimestamp,construct:constructYamlTimestamp,instanceOf:Date,represent:representYamlTimestamp});
25141
25142},{"../type":51}],68:[function(require,module,exports){
25143function parse(e){if(e=""+e,!(e.length>1e4)){var a=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(a){var r=parseFloat(a[1]),c=(a[2]||"ms").toLowerCase();switch(c){case"years":case"year":case"yrs":case"yr":case"y":return r*y;case"days":case"day":case"d":return r*d;case"hours":case"hour":case"hrs":case"hr":case"h":return r*h;case"minutes":case"minute":case"mins":case"min":case"m":return r*m;case"seconds":case"second":case"secs":case"sec":case"s":return r*s;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r}}}}function short(e){return e>=d?Math.round(e/d)+"d":e>=h?Math.round(e/h)+"h":e>=m?Math.round(e/m)+"m":e>=s?Math.round(e/s)+"s":e+"ms"}function long(e){return plural(e,d,"day")||plural(e,h,"hour")||plural(e,m,"minute")||plural(e,s,"second")||e+" ms"}function plural(s,e,a){return e>s?void 0:1.5*e>s?Math.floor(s/e)+" "+a:Math.ceil(s/e)+" "+a+"s"}var s=1e3,m=60*s,h=60*m,d=24*h,y=365.25*d;module.exports=function(s,e){return e=e||{},"string"==typeof s?parse(s):e["long"]?long(s):short(s)};
25144
25145},{}],69:[function(require,module,exports){
25146/**!
25147 * Ono v2.2.1
25148 *
25149 * @link https://github.com/BigstickCarpet/ono
25150 * @license MIT
25151 */
25152"use strict";function create(e){return function(r,t,o,n){var c,a=module.exports.formatter;"string"==typeof r?(c=a.apply(null,arguments),r=t=void 0):c="string"==typeof t?a.apply(null,slice.call(arguments,1)):a.apply(null,slice.call(arguments,2)),r instanceof Error||(t=r,r=void 0),r&&(c+=(c?" \n":"")+r.message);var i=new e(c);return extendError(i,r),extendToJSON(i),extend(i,t),i}}function extendError(e,r){r&&(extendStack(e,r),extend(e,r,!0))}function extendToJSON(e){e.toJSON=errorToJSON,e.inspect=errorToString}function extend(e,r,t){if(r&&"object"==typeof r)for(var o=Object.keys(r),n=0;n<o.length;n++){var c=o[n];if(!(t&&vendorSpecificErrorProperties.indexOf(c)>=0))try{e[c]=r[c]}catch(a){}}}function errorToJSON(){var e={},r=Object.keys(this);r=r.concat(vendorSpecificErrorProperties);for(var t=0;t<r.length;t++){var o=r[t],n=this[o],c=typeof n;"undefined"!==c&&"function"!==c&&(e[o]=n)}return e}function errorToString(){return JSON.stringify(this,null,2).replace(/\\n/g,"\n")}function extendStack(e,r){if(hasLazyStack(r))extendStackProperty(e,r);else{var t=r.stack;t&&(e.stack+=" \n\n"+r.stack)}}function hasLazyStack(e){if(!supportsLazyStack)return!1;var r=Object.getOwnPropertyDescriptor(e,"stack");return r?"function"==typeof r.get:!1}function extendStackProperty(e,r){var t=Object.getOwnPropertyDescriptor(r,"stack");if(t){var o=Object.getOwnPropertyDescriptor(e,"stack");Object.defineProperty(e,"stack",{get:function(){return o.get.apply(e)+" \n\n"+r.stack},enumerable:!1,configurable:!0})}}var util=require("util"),slice=Array.prototype.slice,vendorSpecificErrorProperties=["name","message","description","number","fileName","lineNumber","columnNumber","sourceURL","line","column","stack"];module.exports=create(Error),module.exports.error=create(Error),module.exports.eval=create(EvalError),module.exports.range=create(RangeError),module.exports.reference=create(ReferenceError),module.exports.syntax=create(SyntaxError),module.exports.type=create(TypeError),module.exports.uri=create(URIError),module.exports.formatter=util.format;var supportsLazyStack=function(){return!(!Object.getOwnPropertyDescriptor||!Object.defineProperty||"undefined"!=typeof navigator&&/Android/.test(navigator.userAgent))}();
25153
25154},{"util":97}],70:[function(require,module,exports){
25155(function (process){
25156"use strict";function nextTick(e){for(var s=new Array(arguments.length-1),n=0;n<s.length;)s[n++]=arguments[n];process.nextTick(function(){e.apply(null,s)})}!process.version||0===process.version.indexOf("v0.")||0===process.version.indexOf("v1.")&&0!==process.version.indexOf("v1.8.")?module.exports=nextTick:module.exports=process.nextTick;
25157
25158}).call(this,require('_process'))
25159
25160},{"_process":71}],71:[function(require,module,exports){
25161function cleanUpNextTick(){draining=!1,currentQueue.length?queue=currentQueue.concat(queue):queueIndex=-1,queue.length&&drainQueue()}function drainQueue(){if(!draining){var e=setTimeout(cleanUpNextTick);draining=!0;for(var n=queue.length;n;){for(currentQueue=queue,queue=[];++queueIndex<n;)currentQueue&&currentQueue[queueIndex].run();queueIndex=-1,n=queue.length}currentQueue=null,draining=!1,clearTimeout(e)}}function Item(e,n){this.fun=e,this.array=n}function noop(){}var process=module.exports={},queue=[],draining=!1,currentQueue,queueIndex=-1;process.nextTick=function(e){var n=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)n[r-1]=arguments[r];queue.push(new Item(e,n)),1!==queue.length||draining||setTimeout(drainQueue,0)},Item.prototype.run=function(){this.fun.apply(null,this.array)},process.title="browser",process.browser=!0,process.env={},process.argv=[],process.version="",process.versions={},process.on=noop,process.addListener=noop,process.once=noop,process.off=noop,process.removeListener=noop,process.removeAllListeners=noop,process.emit=noop,process.binding=function(e){throw new Error("process.binding is not supported")},process.cwd=function(){return"/"},process.chdir=function(e){throw new Error("process.chdir is not supported")},process.umask=function(){return 0};
25162
25163},{}],72:[function(require,module,exports){
25164(function (global){
25165/*! https://mths.be/punycode v1.4.1 by @mathias */
25166!function(e){function o(e){throw new RangeError(T[e])}function n(e,o){for(var n=e.length,r=[];n--;)r[n]=o(e[n]);return r}function r(e,o){var r=e.split("@"),t="";r.length>1&&(t=r[0]+"@",e=r[1]),e=e.replace(S,".");var u=e.split("."),i=n(u,o).join(".");return t+i}function t(e){for(var o,n,r=[],t=0,u=e.length;u>t;)o=e.charCodeAt(t++),o>=55296&&56319>=o&&u>t?(n=e.charCodeAt(t++),56320==(64512&n)?r.push(((1023&o)<<10)+(1023&n)+65536):(r.push(o),t--)):r.push(o);return r}function u(e){return n(e,function(e){var o="";return e>65535&&(e-=65536,o+=P(e>>>10&1023|55296),e=56320|1023&e),o+=P(e)}).join("")}function i(e){return 10>e-48?e-22:26>e-65?e-65:26>e-97?e-97:b}function f(e,o){return e+22+75*(26>e)-((0!=o)<<5)}function c(e,o,n){var r=0;for(e=n?M(e/j):e>>1,e+=M(e/o);e>L*C>>1;r+=b)e=M(e/L);return M(r+(L+1)*e/(e+m))}function l(e){var n,r,t,f,l,s,d,a,p,h,v=[],g=e.length,w=0,m=I,j=A;for(r=e.lastIndexOf(E),0>r&&(r=0),t=0;r>t;++t)e.charCodeAt(t)>=128&&o("not-basic"),v.push(e.charCodeAt(t));for(f=r>0?r+1:0;g>f;){for(l=w,s=1,d=b;f>=g&&o("invalid-input"),a=i(e.charCodeAt(f++)),(a>=b||a>M((x-w)/s))&&o("overflow"),w+=a*s,p=j>=d?y:d>=j+C?C:d-j,!(p>a);d+=b)h=b-p,s>M(x/h)&&o("overflow"),s*=h;n=v.length+1,j=c(w-l,n,0==l),M(w/n)>x-m&&o("overflow"),m+=M(w/n),w%=n,v.splice(w++,0,m)}return u(v)}function s(e){var n,r,u,i,l,s,d,a,p,h,v,g,w,m,j,F=[];for(e=t(e),g=e.length,n=I,r=0,l=A,s=0;g>s;++s)v=e[s],128>v&&F.push(P(v));for(u=i=F.length,i&&F.push(E);g>u;){for(d=x,s=0;g>s;++s)v=e[s],v>=n&&d>v&&(d=v);for(w=u+1,d-n>M((x-r)/w)&&o("overflow"),r+=(d-n)*w,n=d,s=0;g>s;++s)if(v=e[s],n>v&&++r>x&&o("overflow"),v==n){for(a=r,p=b;h=l>=p?y:p>=l+C?C:p-l,!(h>a);p+=b)j=a-h,m=b-h,F.push(P(f(h+j%m,0))),a=M(j/m);F.push(P(f(a,0))),l=c(r,w,u==i),r=0,++u}++r,++n}return F.join("")}function d(e){return r(e,function(e){return F.test(e)?l(e.slice(4).toLowerCase()):e})}function a(e){return r(e,function(e){return O.test(e)?"xn--"+s(e):e})}var p="object"==typeof exports&&exports&&!exports.nodeType&&exports,h="object"==typeof module&&module&&!module.nodeType&&module,v="object"==typeof global&&global;v.global!==v&&v.window!==v&&v.self!==v||(e=v);var g,w,x=2147483647,b=36,y=1,C=26,m=38,j=700,A=72,I=128,E="-",F=/^xn--/,O=/[^\x20-\x7E]/,S=/[\x2E\u3002\uFF0E\uFF61]/g,T={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},L=b-y,M=Math.floor,P=String.fromCharCode;if(g={version:"1.4.1",ucs2:{decode:t,encode:u},decode:l,encode:s,toASCII:a,toUnicode:d},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",function(){return g});else if(p&&h)if(module.exports==p)h.exports=g;else for(w in g)g.hasOwnProperty(w)&&(p[w]=g[w]);else e.punycode=g}(this);
25167
25168}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
25169
25170},{}],73:[function(require,module,exports){
25171"use strict";function hasOwnProperty(r,e){return Object.prototype.hasOwnProperty.call(r,e)}module.exports=function(r,e,t,n){e=e||"&",t=t||"=";var o={};if("string"!=typeof r||0===r.length)return o;var a=/\+/g;r=r.split(e);var s=1e3;n&&"number"==typeof n.maxKeys&&(s=n.maxKeys);var p=r.length;s>0&&p>s&&(p=s);for(var y=0;p>y;++y){var u,c,i,l,f=r[y].replace(a,"%20"),v=f.indexOf(t);v>=0?(u=f.substr(0,v),c=f.substr(v+1)):(u=f,c=""),i=decodeURIComponent(u),l=decodeURIComponent(c),hasOwnProperty(o,i)?isArray(o[i])?o[i].push(l):o[i]=[o[i],l]:o[i]=l}return o};var isArray=Array.isArray||function(r){return"[object Array]"===Object.prototype.toString.call(r)};
25172
25173},{}],74:[function(require,module,exports){
25174"use strict";function map(r,e){if(r.map)return r.map(e);for(var t=[],n=0;n<r.length;n++)t.push(e(r[n],n));return t}var stringifyPrimitive=function(r){switch(typeof r){case"string":return r;case"boolean":return r?"true":"false";case"number":return isFinite(r)?r:"";default:return""}};module.exports=function(r,e,t,n){return e=e||"&",t=t||"=",null===r&&(r=void 0),"object"==typeof r?map(objectKeys(r),function(n){var i=encodeURIComponent(stringifyPrimitive(n))+t;return isArray(r[n])?map(r[n],function(r){return i+encodeURIComponent(stringifyPrimitive(r))}).join(e):i+encodeURIComponent(stringifyPrimitive(r[n]))}).join(e):n?encodeURIComponent(stringifyPrimitive(n))+t+encodeURIComponent(stringifyPrimitive(r)):""};var isArray=Array.isArray||function(r){return"[object Array]"===Object.prototype.toString.call(r)},objectKeys=Object.keys||function(r){var e=[];for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&e.push(t);return e};
25175
25176},{}],75:[function(require,module,exports){
25177"use strict";exports.decode=exports.parse=require("./decode"),exports.encode=exports.stringify=require("./encode");
25178
25179},{"./decode":73,"./encode":74}],76:[function(require,module,exports){
25180module.exports=require("./lib/_stream_duplex.js");
25181
25182},{"./lib/_stream_duplex.js":77}],77:[function(require,module,exports){
25183"use strict";function Duplex(e){return this instanceof Duplex?(Readable.call(this,e),Writable.call(this,e),e&&e.readable===!1&&(this.readable=!1),e&&e.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,e&&e.allowHalfOpen===!1&&(this.allowHalfOpen=!1),void this.once("end",onend)):new Duplex(e)}function onend(){this.allowHalfOpen||this._writableState.ended||processNextTick(onEndNT,this)}function onEndNT(e){e.end()}function forEach(e,t){for(var r=0,i=e.length;i>r;r++)t(e[r],r)}var objectKeys=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};module.exports=Duplex;var processNextTick=require("process-nextick-args"),util=require("core-util-is");util.inherits=require("inherits");var Readable=require("./_stream_readable"),Writable=require("./_stream_writable");util.inherits(Duplex,Readable);for(var keys=objectKeys(Writable.prototype),v=0;v<keys.length;v++){var method=keys[v];Duplex.prototype[method]||(Duplex.prototype[method]=Writable.prototype[method])}
25184
25185},{"./_stream_readable":79,"./_stream_writable":81,"core-util-is":28,"inherits":35,"process-nextick-args":70}],78:[function(require,module,exports){
25186"use strict";function PassThrough(r){return this instanceof PassThrough?void Transform.call(this,r):new PassThrough(r)}module.exports=PassThrough;var Transform=require("./_stream_transform"),util=require("core-util-is");util.inherits=require("inherits"),util.inherits(PassThrough,Transform),PassThrough.prototype._transform=function(r,s,i){i(null,r)};
25187
25188},{"./_stream_transform":80,"core-util-is":28,"inherits":35}],79:[function(require,module,exports){
25189(function (process){
25190"use strict";function ReadableState(e,t){Duplex=Duplex||require("./_stream_duplex"),e=e||{},this.objectMode=!!e.objectMode,t instanceof Duplex&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var r=e.highWaterMark,n=this.objectMode?16:16384;this.highWaterMark=r||0===r?r:n,this.highWaterMark=~~this.highWaterMark,this.buffer=[],this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.ranOut=!1,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(StringDecoder||(StringDecoder=require("string_decoder/").StringDecoder),this.decoder=new StringDecoder(e.encoding),this.encoding=e.encoding)}function Readable(e){return Duplex=Duplex||require("./_stream_duplex"),this instanceof Readable?(this._readableState=new ReadableState(e,this),this.readable=!0,e&&"function"==typeof e.read&&(this._read=e.read),void Stream.call(this)):new Readable(e)}function readableAddChunk(e,t,r,n,a){var i=chunkInvalid(t,r);if(i)e.emit("error",i);else if(null===r)t.reading=!1,onEofChunk(e,t);else if(t.objectMode||r&&r.length>0)if(t.ended&&!a){var d=new Error("stream.push() after EOF");e.emit("error",d)}else if(t.endEmitted&&a){var d=new Error("stream.unshift() after end event");e.emit("error",d)}else{var o;!t.decoder||a||n||(r=t.decoder.write(r),o=!t.objectMode&&0===r.length),a||(t.reading=!1),o||(t.flowing&&0===t.length&&!t.sync?(e.emit("data",r),e.read(0)):(t.length+=t.objectMode?1:r.length,a?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&emitReadable(e))),maybeReadMore(e,t)}else a||(t.reading=!1);return needMoreData(t)}function needMoreData(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}function computeNewHighWaterMark(e){return e>=MAX_HWM?e=MAX_HWM:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function howMuchToRead(e,t){return 0===t.length&&t.ended?0:t.objectMode?0===e?0:1:null===e||isNaN(e)?t.flowing&&t.buffer.length?t.buffer[0].length:t.length:0>=e?0:(e>t.highWaterMark&&(t.highWaterMark=computeNewHighWaterMark(e)),e>t.length?t.ended?t.length:(t.needReadable=!0,0):e)}function chunkInvalid(e,t){var r=null;return Buffer.isBuffer(t)||"string"==typeof t||null===t||void 0===t||e.objectMode||(r=new TypeError("Invalid non-string/buffer chunk")),r}function onEofChunk(e,t){if(!t.ended){if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,emitReadable(e)}}function emitReadable(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(debug("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?processNextTick(emitReadable_,e):emitReadable_(e))}function emitReadable_(e){debug("emit readable"),e.emit("readable"),flow(e)}function maybeReadMore(e,t){t.readingMore||(t.readingMore=!0,processNextTick(maybeReadMore_,e,t))}function maybeReadMore_(e,t){for(var r=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(debug("maybeReadMore read 0"),e.read(0),r!==t.length);)r=t.length;t.readingMore=!1}function pipeOnDrain(e){return function(){var t=e._readableState;debug("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&EElistenerCount(e,"data")&&(t.flowing=!0,flow(e))}}function nReadingNextTick(e){debug("readable nexttick read 0"),e.read(0)}function resume(e,t){t.resumeScheduled||(t.resumeScheduled=!0,processNextTick(resume_,e,t))}function resume_(e,t){t.reading||(debug("resume read 0"),e.read(0)),t.resumeScheduled=!1,e.emit("resume"),flow(e),t.flowing&&!t.reading&&e.read(0)}function flow(e){var t=e._readableState;if(debug("flow",t.flowing),t.flowing)do var r=e.read();while(null!==r&&t.flowing)}function fromList(e,t){var r,n=t.buffer,a=t.length,i=!!t.decoder,d=!!t.objectMode;if(0===n.length)return null;if(0===a)r=null;else if(d)r=n.shift();else if(!e||e>=a)r=i?n.join(""):1===n.length?n[0]:Buffer.concat(n,a),n.length=0;else if(e<n[0].length){var o=n[0];r=o.slice(0,e),n[0]=o.slice(e)}else if(e===n[0].length)r=n.shift();else{r=i?"":new Buffer(e);for(var l=0,u=0,s=n.length;s>u&&e>l;u++){var o=n[0],h=Math.min(e-l,o.length);i?r+=o.slice(0,h):o.copy(r,l,0,h),h<o.length?n[0]=o.slice(h):n.shift(),l+=h}}return r}function endReadable(e){var t=e._readableState;if(t.length>0)throw new Error("endReadable called on non-empty stream");t.endEmitted||(t.ended=!0,processNextTick(endReadableNT,t,e))}function endReadableNT(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function forEach(e,t){for(var r=0,n=e.length;n>r;r++)t(e[r],r)}function indexOf(e,t){for(var r=0,n=e.length;n>r;r++)if(e[r]===t)return r;return-1}module.exports=Readable;var processNextTick=require("process-nextick-args"),isArray=require("isarray"),Buffer=require("buffer").Buffer;Readable.ReadableState=ReadableState;var EE=require("events"),EElistenerCount=function(e,t){return e.listeners(t).length},Stream;!function(){try{Stream=require("stream")}catch(e){}finally{Stream||(Stream=require("events").EventEmitter)}}();var Buffer=require("buffer").Buffer,util=require("core-util-is");util.inherits=require("inherits");var debugUtil=require("util"),debug=void 0;debug=debugUtil&&debugUtil.debuglog?debugUtil.debuglog("stream"):function(){};var StringDecoder;util.inherits(Readable,Stream);var Duplex,Duplex;Readable.prototype.push=function(e,t){var r=this._readableState;return r.objectMode||"string"!=typeof e||(t=t||r.defaultEncoding,t!==r.encoding&&(e=new Buffer(e,t),t="")),readableAddChunk(this,r,e,t,!1)},Readable.prototype.unshift=function(e){var t=this._readableState;return readableAddChunk(this,t,e,"",!0)},Readable.prototype.isPaused=function(){return this._readableState.flowing===!1},Readable.prototype.setEncoding=function(e){return StringDecoder||(StringDecoder=require("string_decoder/").StringDecoder),this._readableState.decoder=new StringDecoder(e),this._readableState.encoding=e,this};var MAX_HWM=8388608;Readable.prototype.read=function(e){debug("read",e);var t=this._readableState,r=e;if(("number"!=typeof e||e>0)&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return debug("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?endReadable(this):emitReadable(this),null;if(e=howMuchToRead(e,t),0===e&&t.ended)return 0===t.length&&endReadable(this),null;var n=t.needReadable;debug("need readable",n),(0===t.length||t.length-e<t.highWaterMark)&&(n=!0,debug("length less than watermark",n)),(t.ended||t.reading)&&(n=!1,debug("reading or ended",n)),n&&(debug("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1),n&&!t.reading&&(e=howMuchToRead(r,t));var a;return a=e>0?fromList(e,t):null,null===a&&(t.needReadable=!0,e=0),t.length-=e,0!==t.length||t.ended||(t.needReadable=!0),r!==e&&t.ended&&0===t.length&&endReadable(this),null!==a&&this.emit("data",a),a},Readable.prototype._read=function(e){this.emit("error",new Error("not implemented"))},Readable.prototype.pipe=function(e,t){function r(e){debug("onunpipe"),e===s&&a()}function n(){debug("onend"),e.end()}function a(){debug("cleanup"),e.removeListener("close",o),e.removeListener("finish",l),e.removeListener("drain",c),e.removeListener("error",d),e.removeListener("unpipe",r),s.removeListener("end",n),s.removeListener("end",a),s.removeListener("data",i),b=!0,!h.awaitDrain||e._writableState&&!e._writableState.needDrain||c()}function i(t){debug("ondata");var r=e.write(t);!1===r&&(1!==h.pipesCount||h.pipes[0]!==e||1!==s.listenerCount("data")||b||(debug("false write response, pause",s._readableState.awaitDrain),s._readableState.awaitDrain++),s.pause())}function d(t){debug("onerror",t),u(),e.removeListener("error",d),0===EElistenerCount(e,"error")&&e.emit("error",t)}function o(){e.removeListener("finish",l),u()}function l(){debug("onfinish"),e.removeListener("close",o),u()}function u(){debug("unpipe"),s.unpipe(e)}var s=this,h=this._readableState;switch(h.pipesCount){case 0:h.pipes=e;break;case 1:h.pipes=[h.pipes,e];break;default:h.pipes.push(e)}h.pipesCount+=1,debug("pipe count=%d opts=%j",h.pipesCount,t);var f=(!t||t.end!==!1)&&e!==process.stdout&&e!==process.stderr,p=f?n:a;h.endEmitted?processNextTick(p):s.once("end",p),e.on("unpipe",r);var c=pipeOnDrain(s);e.on("drain",c);var b=!1;return s.on("data",i),e._events&&e._events.error?isArray(e._events.error)?e._events.error.unshift(d):e._events.error=[d,e._events.error]:e.on("error",d),e.once("close",o),e.once("finish",l),e.emit("pipe",s),h.flowing||(debug("pipe resume"),s.resume()),e},Readable.prototype.unpipe=function(e){var t=this._readableState;if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this),this);if(!e){var r=t.pipes,n=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var a=0;n>a;a++)r[a].emit("unpipe",this);return this}var i=indexOf(t.pipes,e);return-1===i?this:(t.pipes.splice(i,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this),this)},Readable.prototype.on=function(e,t){var r=Stream.prototype.on.call(this,e,t);if("data"===e&&!1!==this._readableState.flowing&&this.resume(),"readable"===e&&!this._readableState.endEmitted){var n=this._readableState;n.readableListening||(n.readableListening=!0,n.emittedReadable=!1,n.needReadable=!0,n.reading?n.length&&emitReadable(this,n):processNextTick(nReadingNextTick,this))}return r},Readable.prototype.addListener=Readable.prototype.on,Readable.prototype.resume=function(){var e=this._readableState;return e.flowing||(debug("resume"),e.flowing=!0,resume(this,e)),this},Readable.prototype.pause=function(){return debug("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(debug("pause"),this._readableState.flowing=!1,this.emit("pause")),this},Readable.prototype.wrap=function(e){var t=this._readableState,r=!1,n=this;e.on("end",function(){if(debug("wrapped end"),t.decoder&&!t.ended){var e=t.decoder.end();e&&e.length&&n.push(e)}n.push(null)}),e.on("data",function(a){if(debug("wrapped data"),t.decoder&&(a=t.decoder.write(a)),(!t.objectMode||null!==a&&void 0!==a)&&(t.objectMode||a&&a.length)){var i=n.push(a);i||(r=!0,e.pause())}});for(var a in e)void 0===this[a]&&"function"==typeof e[a]&&(this[a]=function(t){return function(){return e[t].apply(e,arguments)}}(a));var i=["error","close","destroy","pause","resume"];return forEach(i,function(t){e.on(t,n.emit.bind(n,t))}),n._read=function(t){debug("wrapped _read",t),r&&(r=!1,e.resume())},n},Readable._fromList=fromList;
25191
25192}).call(this,require('_process'))
25193
25194},{"./_stream_duplex":77,"_process":71,"buffer":25,"core-util-is":28,"events":32,"inherits":35,"isarray":37,"process-nextick-args":70,"stream":86,"string_decoder/":91,"util":23}],80:[function(require,module,exports){
25195"use strict";function TransformState(r){this.afterTransform=function(t,n){return afterTransform(r,t,n)},this.needTransform=!1,this.transforming=!1,this.writecb=null,this.writechunk=null,this.writeencoding=null}function afterTransform(r,t,n){var e=r._transformState;e.transforming=!1;var i=e.writecb;if(!i)return r.emit("error",new Error("no writecb in Transform class"));e.writechunk=null,e.writecb=null,null!==n&&void 0!==n&&r.push(n),i(t);var a=r._readableState;a.reading=!1,(a.needReadable||a.length<a.highWaterMark)&&r._read(a.highWaterMark)}function Transform(r){if(!(this instanceof Transform))return new Transform(r);Duplex.call(this,r),this._transformState=new TransformState(this);var t=this;this._readableState.needReadable=!0,this._readableState.sync=!1,r&&("function"==typeof r.transform&&(this._transform=r.transform),"function"==typeof r.flush&&(this._flush=r.flush)),this.once("prefinish",function(){"function"==typeof this._flush?this._flush(function(r){done(t,r)}):done(t)})}function done(r,t){if(t)return r.emit("error",t);var n=r._writableState,e=r._transformState;if(n.length)throw new Error("calling transform done when ws.length != 0");if(e.transforming)throw new Error("calling transform done when still transforming");return r.push(null)}module.exports=Transform;var Duplex=require("./_stream_duplex"),util=require("core-util-is");util.inherits=require("inherits"),util.inherits(Transform,Duplex),Transform.prototype.push=function(r,t){return this._transformState.needTransform=!1,Duplex.prototype.push.call(this,r,t)},Transform.prototype._transform=function(r,t,n){throw new Error("not implemented")},Transform.prototype._write=function(r,t,n){var e=this._transformState;if(e.writecb=n,e.writechunk=r,e.writeencoding=t,!e.transforming){var i=this._readableState;(e.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},Transform.prototype._read=function(r){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0};
25196
25197},{"./_stream_duplex":77,"core-util-is":28,"inherits":35}],81:[function(require,module,exports){
25198(function (process){
25199"use strict";function nop(){}function WriteReq(e,t,r){this.chunk=e,this.encoding=t,this.callback=r,this.next=null}function WritableState(e,t){Duplex=Duplex||require("./_stream_duplex"),e=e||{},this.objectMode=!!e.objectMode,t instanceof Duplex&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var r=e.highWaterMark,i=this.objectMode?16:16384;this.highWaterMark=r||0===r?r:i,this.highWaterMark=~~this.highWaterMark,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1;var n=e.decodeStrings===!1;this.decodeStrings=!n,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){onwrite(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new CorkedRequest(this),this.corkedRequestsFree.next=new CorkedRequest(this)}function Writable(e){return Duplex=Duplex||require("./_stream_duplex"),this instanceof Writable||this instanceof Duplex?(this._writableState=new WritableState(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev)),void Stream.call(this)):new Writable(e)}function writeAfterEnd(e,t){var r=new Error("write after end");e.emit("error",r),processNextTick(t,r)}function validChunk(e,t,r,i){var n=!0;if(!Buffer.isBuffer(r)&&"string"!=typeof r&&null!==r&&void 0!==r&&!t.objectMode){var s=new TypeError("Invalid non-string/buffer chunk");e.emit("error",s),processNextTick(i,s),n=!1}return n}function decodeChunk(e,t,r){return e.objectMode||e.decodeStrings===!1||"string"!=typeof t||(t=new Buffer(t,r)),t}function writeOrBuffer(e,t,r,i,n){r=decodeChunk(t,r,i),Buffer.isBuffer(r)&&(i="buffer");var s=t.objectMode?1:r.length;t.length+=s;var f=t.length<t.highWaterMark;if(f||(t.needDrain=!0),t.writing||t.corked){var u=t.lastBufferedRequest;t.lastBufferedRequest=new WriteReq(r,i,n),u?u.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else doWrite(e,t,!1,s,r,i,n);return f}function doWrite(e,t,r,i,n,s,f){t.writelen=i,t.writecb=f,t.writing=!0,t.sync=!0,r?e._writev(n,t.onwrite):e._write(n,s,t.onwrite),t.sync=!1}function onwriteError(e,t,r,i,n){--t.pendingcb,r?processNextTick(n,i):n(i),e._writableState.errorEmitted=!0,e.emit("error",i)}function onwriteStateUpdate(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function onwrite(e,t){var r=e._writableState,i=r.sync,n=r.writecb;if(onwriteStateUpdate(r),t)onwriteError(e,r,i,t,n);else{var s=needFinish(r);s||r.corked||r.bufferProcessing||!r.bufferedRequest||clearBuffer(e,r),i?asyncWrite(afterWrite,e,r,s,n):afterWrite(e,r,s,n)}}function afterWrite(e,t,r,i){r||onwriteDrain(e,t),t.pendingcb--,i(),finishMaybe(e,t)}function onwriteDrain(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}function clearBuffer(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var i=t.bufferedRequestCount,n=new Array(i),s=t.corkedRequestsFree;s.entry=r;for(var f=0;r;)n[f]=r,r=r.next,f+=1;doWrite(e,t,!0,t.length,n,"",s.finish),t.pendingcb++,t.lastBufferedRequest=null,t.corkedRequestsFree=s.next,s.next=null}else{for(;r;){var u=r.chunk,o=r.encoding,a=r.callback,c=t.objectMode?1:u.length;if(doWrite(e,t,!1,c,u,o,a),r=r.next,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequestCount=0,t.bufferedRequest=r,t.bufferProcessing=!1}function needFinish(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function prefinish(e,t){t.prefinished||(t.prefinished=!0,e.emit("prefinish"))}function finishMaybe(e,t){var r=needFinish(t);return r&&(0===t.pendingcb?(prefinish(e,t),t.finished=!0,e.emit("finish")):prefinish(e,t)),r}function endWritable(e,t,r){t.ending=!0,finishMaybe(e,t),r&&(t.finished?processNextTick(r):e.once("finish",r)),t.ended=!0,e.writable=!1}function CorkedRequest(e){var t=this;this.next=null,this.entry=null,this.finish=function(r){var i=t.entry;for(t.entry=null;i;){var n=i.callback;e.pendingcb--,n(r),i=i.next}e.corkedRequestsFree?e.corkedRequestsFree.next=t:e.corkedRequestsFree=t}}module.exports=Writable;var processNextTick=require("process-nextick-args"),asyncWrite=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:processNextTick,Buffer=require("buffer").Buffer;Writable.WritableState=WritableState;var util=require("core-util-is");util.inherits=require("inherits");var internalUtil={deprecate:require("util-deprecate")},Stream;!function(){try{Stream=require("stream")}catch(e){}finally{Stream||(Stream=require("events").EventEmitter)}}();var Buffer=require("buffer").Buffer;util.inherits(Writable,Stream);var Duplex;WritableState.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(WritableState.prototype,"buffer",{get:internalUtil.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.")})}catch(e){}}();var Duplex;Writable.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe. Not readable."))},Writable.prototype.write=function(e,t,r){var i=this._writableState,n=!1;return"function"==typeof t&&(r=t,t=null),Buffer.isBuffer(e)?t="buffer":t||(t=i.defaultEncoding),"function"!=typeof r&&(r=nop),i.ended?writeAfterEnd(this,r):validChunk(this,i,e,r)&&(i.pendingcb++,n=writeOrBuffer(this,i,e,t,r)),n},Writable.prototype.cork=function(){var e=this._writableState;e.corked++},Writable.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.bufferedRequest||clearBuffer(this,e))},Writable.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);this._writableState.defaultEncoding=e},Writable.prototype._write=function(e,t,r){r(new Error("not implemented"))},Writable.prototype._writev=null,Writable.prototype.end=function(e,t,r){var i=this._writableState;"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!==e&&void 0!==e&&this.write(e,t),i.corked&&(i.corked=1,this.uncork()),i.ending||i.finished||endWritable(this,i,r)};
25200
25201}).call(this,require('_process'))
25202
25203},{"./_stream_duplex":77,"_process":71,"buffer":25,"core-util-is":28,"events":32,"inherits":35,"process-nextick-args":70,"stream":86,"util-deprecate":95}],82:[function(require,module,exports){
25204module.exports=require("./lib/_stream_passthrough.js");
25205
25206},{"./lib/_stream_passthrough.js":78}],83:[function(require,module,exports){
25207var Stream=function(){try{return require("stream")}catch(r){}}();exports=module.exports=require("./lib/_stream_readable.js"),exports.Stream=Stream||exports,exports.Readable=exports,exports.Writable=require("./lib/_stream_writable.js"),exports.Duplex=require("./lib/_stream_duplex.js"),exports.Transform=require("./lib/_stream_transform.js"),exports.PassThrough=require("./lib/_stream_passthrough.js");
25208
25209},{"./lib/_stream_duplex.js":77,"./lib/_stream_passthrough.js":78,"./lib/_stream_readable.js":79,"./lib/_stream_transform.js":80,"./lib/_stream_writable.js":81,"stream":86}],84:[function(require,module,exports){
25210module.exports=require("./lib/_stream_transform.js");
25211
25212},{"./lib/_stream_transform.js":80}],85:[function(require,module,exports){
25213module.exports=require("./lib/_stream_writable.js");
25214
25215},{"./lib/_stream_writable.js":81}],86:[function(require,module,exports){
25216function Stream(){EE.call(this)}module.exports=Stream;var EE=require("events").EventEmitter,inherits=require("inherits");inherits(Stream,EE),Stream.Readable=require("readable-stream/readable.js"),Stream.Writable=require("readable-stream/writable.js"),Stream.Duplex=require("readable-stream/duplex.js"),Stream.Transform=require("readable-stream/transform.js"),Stream.PassThrough=require("readable-stream/passthrough.js"),Stream.Stream=Stream,Stream.prototype.pipe=function(e,r){function t(r){e.writable&&!1===e.write(r)&&m.pause&&m.pause()}function n(){m.readable&&m.resume&&m.resume()}function a(){u||(u=!0,e.end())}function o(){u||(u=!0,"function"==typeof e.destroy&&e.destroy())}function i(e){if(s(),0===EE.listenerCount(this,"error"))throw e}function s(){m.removeListener("data",t),e.removeListener("drain",n),m.removeListener("end",a),m.removeListener("close",o),m.removeListener("error",i),e.removeListener("error",i),m.removeListener("end",s),m.removeListener("close",s),e.removeListener("close",s)}var m=this;m.on("data",t),e.on("drain",n),e._isStdio||r&&r.end===!1||(m.on("end",a),m.on("close",o));var u=!1;return m.on("error",i),e.on("error",i),m.on("end",s),m.on("close",s),e.on("close",s),e.emit("pipe",m),e};
25217
25218},{"events":32,"inherits":35,"readable-stream/duplex.js":76,"readable-stream/passthrough.js":82,"readable-stream/readable.js":83,"readable-stream/transform.js":84,"readable-stream/writable.js":85}],87:[function(require,module,exports){
25219(function (global){
25220var ClientRequest=require("./lib/request"),extend=require("xtend"),statusCodes=require("builtin-status-codes"),url=require("url"),http=exports;http.request=function(t,e){t="string"==typeof t?url.parse(t):extend(t);var r=-1===global.location.protocol.search(/^https?:$/)?"http:":"",s=t.protocol||r,o=t.hostname||t.host,n=t.port,u=t.path||"/";o&&-1!==o.indexOf(":")&&(o="["+o+"]"),t.url=(o?s+"//"+o:"")+(n?":"+n:"")+u,t.method=(t.method||"GET").toUpperCase(),t.headers=t.headers||{};var C=new ClientRequest(t);return e&&C.on("response",e),C},http.get=function(t,e){var r=http.request(t,e);return r.end(),r},http.Agent=function(){},http.Agent.defaultMaxSockets=4,http.STATUS_CODES=statusCodes,http.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"];
25221
25222}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
25223
25224},{"./lib/request":89,"builtin-status-codes":26,"url":93,"xtend":98}],88:[function(require,module,exports){
25225(function (global){
25226function checkTypeSupport(e){try{return xhr.responseType=e,xhr.responseType===e}catch(r){}return!1}function isFunction(e){return"function"==typeof e}exports.fetch=isFunction(global.fetch)&&isFunction(global.ReadableByteStream),exports.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),exports.blobConstructor=!0}catch(e){}var xhr=new global.XMLHttpRequest;xhr.open("GET",global.location.host?"/":"https://example.com");var haveArrayBuffer="undefined"!=typeof global.ArrayBuffer,haveSlice=haveArrayBuffer&&isFunction(global.ArrayBuffer.prototype.slice);exports.arraybuffer=haveArrayBuffer&&checkTypeSupport("arraybuffer"),exports.msstream=!exports.fetch&&haveSlice&&checkTypeSupport("ms-stream"),exports.mozchunkedarraybuffer=!exports.fetch&&haveArrayBuffer&&checkTypeSupport("moz-chunked-arraybuffer"),exports.overrideMimeType=isFunction(xhr.overrideMimeType),exports.vbArray=isFunction(global.VBArray),xhr=null;
25227
25228}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
25229
25230},{}],89:[function(require,module,exports){
25231(function (process,global,Buffer){
25232function decideMode(e){return capability.fetch?"fetch":capability.mozchunkedarraybuffer?"moz-chunked-arraybuffer":capability.msstream?"ms-stream":capability.arraybuffer&&e?"arraybuffer":capability.vbArray&&e?"text:vbarray":"text"}function statusValid(e){try{var t=e.status;return null!==t&&0!==t}catch(r){return!1}}var capability=require("./capability"),inherits=require("inherits"),response=require("./response"),stream=require("stream"),toArrayBuffer=require("to-arraybuffer"),IncomingMessage=response.IncomingMessage,rStates=response.readyStates,ClientRequest=module.exports=function(e){var t=this;stream.Writable.call(t),t._opts=e,t._body=[],t._headers={},e.auth&&t.setHeader("Authorization","Basic "+new Buffer(e.auth).toString("base64")),Object.keys(e.headers).forEach(function(r){t.setHeader(r,e.headers[r])});var r;if("prefer-streaming"===e.mode)r=!1;else if("allow-wrong-content-type"===e.mode)r=!capability.overrideMimeType;else{if(e.mode&&"default"!==e.mode&&"prefer-fast"!==e.mode)throw new Error("Invalid value for opts.mode");r=!0}t._mode=decideMode(r),t.on("finish",function(){t._onFinish()})};inherits(ClientRequest,stream.Writable),ClientRequest.prototype.setHeader=function(e,t){var r=this,o=e.toLowerCase();-1===unsafeHeaders.indexOf(o)&&(r._headers[o]={name:e,value:t})},ClientRequest.prototype.getHeader=function(e){var t=this;return t._headers[e.toLowerCase()].value},ClientRequest.prototype.removeHeader=function(e){var t=this;delete t._headers[e.toLowerCase()]},ClientRequest.prototype._onFinish=function(){var e=this;if(!e._destroyed){var t,r=e._opts,o=e._headers;if("POST"!==r.method&&"PUT"!==r.method&&"PATCH"!==r.method||(t=capability.blobConstructor?new global.Blob(e._body.map(function(e){return toArrayBuffer(e)}),{type:(o["content-type"]||{}).value||""}):Buffer.concat(e._body).toString()),"fetch"===e._mode){var n=Object.keys(o).map(function(e){return[o[e].name,o[e].value]});global.fetch(e._opts.url,{method:e._opts.method,headers:n,body:t,mode:"cors",credentials:r.withCredentials?"include":"same-origin"}).then(function(t){e._fetchResponse=t,e._connect()},function(t){e.emit("error",t)})}else{var s=e._xhr=new global.XMLHttpRequest;try{s.open(e._opts.method,e._opts.url,!0)}catch(i){return void process.nextTick(function(){e.emit("error",i)})}"responseType"in s&&(s.responseType=e._mode.split(":")[0]),"withCredentials"in s&&(s.withCredentials=!!r.withCredentials),"text"===e._mode&&"overrideMimeType"in s&&s.overrideMimeType("text/plain; charset=x-user-defined"),Object.keys(o).forEach(function(e){s.setRequestHeader(o[e].name,o[e].value)}),e._response=null,s.onreadystatechange=function(){switch(s.readyState){case rStates.LOADING:case rStates.DONE:e._onXHRProgress()}},"moz-chunked-arraybuffer"===e._mode&&(s.onprogress=function(){e._onXHRProgress()}),s.onerror=function(){e._destroyed||e.emit("error",new Error("XHR error"))};try{s.send(t)}catch(i){return void process.nextTick(function(){e.emit("error",i)})}}}},ClientRequest.prototype._onXHRProgress=function(){var e=this;statusValid(e._xhr)&&!e._destroyed&&(e._response||e._connect(),e._response._onXHRProgress())},ClientRequest.prototype._connect=function(){var e=this;e._destroyed||(e._response=new IncomingMessage(e._xhr,e._fetchResponse,e._mode),e.emit("response",e._response))},ClientRequest.prototype._write=function(e,t,r){var o=this;o._body.push(e),r()},ClientRequest.prototype.abort=ClientRequest.prototype.destroy=function(){var e=this;e._destroyed=!0,e._response&&(e._response._destroyed=!0),e._xhr&&e._xhr.abort()},ClientRequest.prototype.end=function(e,t,r){var o=this;"function"==typeof e&&(r=e,e=void 0),stream.Writable.prototype.end.call(o,e,t,r)},ClientRequest.prototype.flushHeaders=function(){},ClientRequest.prototype.setTimeout=function(){},ClientRequest.prototype.setNoDelay=function(){},ClientRequest.prototype.setSocketKeepAlive=function(){};var unsafeHeaders=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","user-agent","via"];
25233
25234}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {},require("buffer").Buffer)
25235
25236},{"./capability":88,"./response":90,"_process":71,"buffer":25,"inherits":35,"stream":86,"to-arraybuffer":92}],90:[function(require,module,exports){
25237(function (process,global,Buffer){
25238var capability=require("./capability"),inherits=require("inherits"),stream=require("stream"),rStates=exports.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},IncomingMessage=exports.IncomingMessage=function(e,r,s){function a(){u.read().then(function(e){if(!t._destroyed){if(e.done)return void t.push(null);t.push(new Buffer(e.value)),a()}})}var t=this;if(stream.Readable.call(t),t._mode=s,t.headers={},t.rawHeaders=[],t.trailers={},t.rawTrailers=[],t.on("end",function(){process.nextTick(function(){t.emit("close")})}),"fetch"===s){t._fetchResponse=r,t.statusCode=r.status,t.statusMessage=r.statusText;for(var n,o,i=r.headers[Symbol.iterator]();n=(o=i.next()).value,!o.done;)t.headers[n[0].toLowerCase()]=n[1],t.rawHeaders.push(n[0],n[1]);var u=r.body.getReader();a()}else{t._xhr=e,t._pos=0,t.statusCode=e.status,t.statusMessage=e.statusText;var h=e.getAllResponseHeaders().split(/\r?\n/);if(h.forEach(function(e){var r=e.match(/^([^:]+):\s*(.*)/);if(r){var s=r[1].toLowerCase();"set-cookie"===s?(void 0===t.headers[s]&&(t.headers[s]=[]),t.headers[s].push(r[2])):void 0!==t.headers[s]?t.headers[s]+=", "+r[2]:t.headers[s]=r[2],t.rawHeaders.push(r[1],r[2])}}),t._charset="x-user-defined",!capability.overrideMimeType){var d=t.rawHeaders["mime-type"];if(d){var f=d.match(/;\s*charset=([^;])(;|$)/);f&&(t._charset=f[1].toLowerCase())}t._charset||(t._charset="utf-8")}}};inherits(IncomingMessage,stream.Readable),IncomingMessage.prototype._read=function(){},IncomingMessage.prototype._onXHRProgress=function(){var e=this,r=e._xhr,s=null;switch(e._mode){case"text:vbarray":if(r.readyState!==rStates.DONE)break;try{s=new global.VBArray(r.responseBody).toArray()}catch(a){}if(null!==s){e.push(new Buffer(s));break}case"text":try{s=r.responseText}catch(a){e._mode="text:vbarray";break}if(s.length>e._pos){var t=s.substr(e._pos);if("x-user-defined"===e._charset){for(var n=new Buffer(t.length),o=0;o<t.length;o++)n[o]=255&t.charCodeAt(o);e.push(n)}else e.push(t,e._charset);e._pos=s.length}break;case"arraybuffer":if(r.readyState!==rStates.DONE)break;s=r.response,e.push(new Buffer(new Uint8Array(s)));break;case"moz-chunked-arraybuffer":if(s=r.response,r.readyState!==rStates.LOADING||!s)break;e.push(new Buffer(new Uint8Array(s)));break;case"ms-stream":if(s=r.response,r.readyState!==rStates.LOADING)break;var i=new global.MSStreamReader;i.onprogress=function(){i.result.byteLength>e._pos&&(e.push(new Buffer(new Uint8Array(i.result.slice(e._pos)))),e._pos=i.result.byteLength)},i.onload=function(){e.push(null)},i.readAsArrayBuffer(s)}e._xhr.readyState===rStates.DONE&&"ms-stream"!==e._mode&&e.push(null)};
25239
25240}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {},require("buffer").Buffer)
25241
25242},{"./capability":88,"_process":71,"buffer":25,"inherits":35,"stream":86}],91:[function(require,module,exports){
25243function assertEncoding(e){if(e&&!isBufferEncoding(e))throw new Error("Unknown encoding: "+e)}function passThroughWrite(e){return e.toString(this.encoding)}function utf16DetectIncompleteChar(e){this.charReceived=e.length%2,this.charLength=this.charReceived?2:0}function base64DetectIncompleteChar(e){this.charReceived=e.length%3,this.charLength=this.charReceived?3:0}var Buffer=require("buffer").Buffer,isBufferEncoding=Buffer.isEncoding||function(e){switch(e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}},StringDecoder=exports.StringDecoder=function(e){switch(this.encoding=(e||"utf8").toLowerCase().replace(/[-_]/,""),assertEncoding(e),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=utf16DetectIncompleteChar;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=base64DetectIncompleteChar;break;default:return void(this.write=passThroughWrite)}this.charBuffer=new Buffer(6),this.charReceived=0,this.charLength=0};StringDecoder.prototype.write=function(e){for(var t="";this.charLength;){var r=e.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:e.length;if(e.copy(this.charBuffer,this.charReceived,0,r),this.charReceived+=r,this.charReceived<this.charLength)return"";e=e.slice(r,e.length),t=this.charBuffer.slice(0,this.charLength).toString(this.encoding);var h=t.charCodeAt(t.length-1);if(!(h>=55296&&56319>=h)){if(this.charReceived=this.charLength=0,0===e.length)return t;break}this.charLength+=this.surrogateSize,t=""}this.detectIncompleteChar(e);var i=e.length;this.charLength&&(e.copy(this.charBuffer,0,e.length-this.charReceived,i),i-=this.charReceived),t+=e.toString(this.encoding,0,i);var i=t.length-1,h=t.charCodeAt(i);if(h>=55296&&56319>=h){var c=this.surrogateSize;return this.charLength+=c,this.charReceived+=c,this.charBuffer.copy(this.charBuffer,c,0,c),e.copy(this.charBuffer,0,0,c),t.substring(0,i)}return t},StringDecoder.prototype.detectIncompleteChar=function(e){for(var t=e.length>=3?3:e.length;t>0;t--){var r=e[e.length-t];if(1==t&&r>>5==6){this.charLength=2;break}if(2>=t&&r>>4==14){this.charLength=3;break}if(3>=t&&r>>3==30){this.charLength=4;break}}this.charReceived=t},StringDecoder.prototype.end=function(e){var t="";if(e&&e.length&&(t=this.write(e)),this.charReceived){var r=this.charReceived,h=this.charBuffer,i=this.encoding;t+=h.slice(0,r).toString(i)}return t};
25244
25245},{"buffer":25}],92:[function(require,module,exports){
25246var Buffer=require("buffer").Buffer;module.exports=function(e){if(e instanceof Uint8Array){if(0===e.byteOffset&&e.byteLength===e.buffer.byteLength)return e.buffer;if("function"==typeof e.buffer.slice)return e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)}if(Buffer.isBuffer(e)){for(var f=new Uint8Array(e.length),r=e.length,t=0;r>t;t++)f[t]=e[t];return f.buffer}throw new Error("Argument must be a Buffer")};
25247
25248},{"buffer":25}],93:[function(require,module,exports){
25249"use strict";function Url(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}function urlParse(t,s,e){if(t&&util.isObject(t)&&t instanceof Url)return t;var h=new Url;return h.parse(t,s,e),h}function urlFormat(t){return util.isString(t)&&(t=urlParse(t)),t instanceof Url?t.format():Url.prototype.format.call(t)}function urlResolve(t,s){return urlParse(t,!1,!0).resolve(s)}function urlResolveObject(t,s){return t?urlParse(t,!1,!0).resolveObject(s):s}var punycode=require("punycode"),util=require("./util");exports.parse=urlParse,exports.resolve=urlResolve,exports.resolveObject=urlResolveObject,exports.format=urlFormat,exports.Url=Url;var protocolPattern=/^([a-z0-9.+-]+:)/i,portPattern=/:[0-9]*$/,simplePathPattern=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,delims=["<",">",'"',"`"," ","\r","\n"," "],unwise=["{","}","|","\\","^","`"].concat(delims),autoEscape=["'"].concat(unwise),nonHostChars=["%","/","?",";","#"].concat(autoEscape),hostEndingChars=["/","?","#"],hostnameMaxLen=255,hostnamePartPattern=/^[+a-z0-9A-Z_-]{0,63}$/,hostnamePartStart=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,unsafeProtocol={javascript:!0,"javascript:":!0},hostlessProtocol={javascript:!0,"javascript:":!0},slashedProtocol={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},querystring=require("querystring");Url.prototype.parse=function(t,s,e){if(!util.isString(t))throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var h=t.indexOf("?"),r=-1!==h&&h<t.indexOf("#")?"?":"#",a=t.split(r),o=/\\/g;a[0]=a[0].replace(o,"/"),t=a.join(r);var n=t;if(n=n.trim(),!e&&1===t.split("#").length){var i=simplePathPattern.exec(n);if(i)return this.path=n,this.href=n,this.pathname=i[1],i[2]?(this.search=i[2],s?this.query=querystring.parse(this.search.substr(1)):this.query=this.search.substr(1)):s&&(this.search="",this.query={}),this}var l=protocolPattern.exec(n);if(l){l=l[0];var u=l.toLowerCase();this.protocol=u,n=n.substr(l.length)}if(e||l||n.match(/^\/\/[^@\/]+@[^@\/]+/)){var p="//"===n.substr(0,2);!p||l&&hostlessProtocol[l]||(n=n.substr(2),this.slashes=!0)}if(!hostlessProtocol[l]&&(p||l&&!slashedProtocol[l])){for(var c=-1,f=0;f<hostEndingChars.length;f++){var m=n.indexOf(hostEndingChars[f]);-1!==m&&(-1===c||c>m)&&(c=m)}var v,g;g=-1===c?n.lastIndexOf("@"):n.lastIndexOf("@",c),-1!==g&&(v=n.slice(0,g),n=n.slice(g+1),this.auth=decodeURIComponent(v)),c=-1;for(var f=0;f<nonHostChars.length;f++){var m=n.indexOf(nonHostChars[f]);-1!==m&&(-1===c||c>m)&&(c=m)}-1===c&&(c=n.length),this.host=n.slice(0,c),n=n.slice(c),this.parseHost(),this.hostname=this.hostname||"";var y="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!y)for(var P=this.hostname.split(/\./),f=0,d=P.length;d>f;f++){var q=P[f];if(q&&!q.match(hostnamePartPattern)){for(var b="",O=0,j=q.length;j>O;O++)b+=q.charCodeAt(O)>127?"x":q[O];if(!b.match(hostnamePartPattern)){var x=P.slice(0,f),U=P.slice(f+1),C=q.match(hostnamePartStart);C&&(x.push(C[1]),U.unshift(C[2])),U.length&&(n="/"+U.join(".")+n),this.hostname=x.join(".");break}}}this.hostname.length>hostnameMaxLen?this.hostname="":this.hostname=this.hostname.toLowerCase(),y||(this.hostname=punycode.toASCII(this.hostname));var A=this.port?":"+this.port:"",w=this.hostname||"";this.host=w+A,this.href+=this.host,y&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==n[0]&&(n="/"+n))}if(!unsafeProtocol[u])for(var f=0,d=autoEscape.length;d>f;f++){var E=autoEscape[f];if(-1!==n.indexOf(E)){var I=encodeURIComponent(E);I===E&&(I=escape(E)),n=n.split(E).join(I)}}var R=n.indexOf("#");-1!==R&&(this.hash=n.substr(R),n=n.slice(0,R));var S=n.indexOf("?");if(-1!==S?(this.search=n.substr(S),this.query=n.substr(S+1),s&&(this.query=querystring.parse(this.query)),n=n.slice(0,S)):s&&(this.search="",this.query={}),n&&(this.pathname=n),slashedProtocol[u]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var A=this.pathname||"",k=this.search||"";this.path=A+k}return this.href=this.format(),this},Url.prototype.format=function(){var t=this.auth||"";t&&(t=encodeURIComponent(t),t=t.replace(/%3A/i,":"),t+="@");var s=this.protocol||"",e=this.pathname||"",h=this.hash||"",r=!1,a="";this.host?r=t+this.host:this.hostname&&(r=t+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(r+=":"+this.port)),this.query&&util.isObject(this.query)&&Object.keys(this.query).length&&(a=querystring.stringify(this.query));var o=this.search||a&&"?"+a||"";return s&&":"!==s.substr(-1)&&(s+=":"),this.slashes||(!s||slashedProtocol[s])&&r!==!1?(r="//"+(r||""),e&&"/"!==e.charAt(0)&&(e="/"+e)):r||(r=""),h&&"#"!==h.charAt(0)&&(h="#"+h),o&&"?"!==o.charAt(0)&&(o="?"+o),e=e.replace(/[?#]/g,function(t){return encodeURIComponent(t)}),o=o.replace("#","%23"),s+r+e+o+h},Url.prototype.resolve=function(t){return this.resolveObject(urlParse(t,!1,!0)).format()},Url.prototype.resolveObject=function(t){if(util.isString(t)){var s=new Url;s.parse(t,!1,!0),t=s}for(var e=new Url,h=Object.keys(this),r=0;r<h.length;r++){var a=h[r];e[a]=this[a]}if(e.hash=t.hash,""===t.href)return e.href=e.format(),e;if(t.slashes&&!t.protocol){for(var o=Object.keys(t),n=0;n<o.length;n++){var i=o[n];"protocol"!==i&&(e[i]=t[i])}return slashedProtocol[e.protocol]&&e.hostname&&!e.pathname&&(e.path=e.pathname="/"),e.href=e.format(),e}if(t.protocol&&t.protocol!==e.protocol){if(!slashedProtocol[t.protocol]){for(var l=Object.keys(t),u=0;u<l.length;u++){var p=l[u];e[p]=t[p]}return e.href=e.format(),e}if(e.protocol=t.protocol,t.host||hostlessProtocol[t.protocol])e.pathname=t.pathname;else{for(var c=(t.pathname||"").split("/");c.length&&!(t.host=c.shift()););t.host||(t.host=""),t.hostname||(t.hostname=""),""!==c[0]&&c.unshift(""),c.length<2&&c.unshift(""),e.pathname=c.join("/")}if(e.search=t.search,e.query=t.query,e.host=t.host||"",e.auth=t.auth,e.hostname=t.hostname||t.host,e.port=t.port,e.pathname||e.search){var f=e.pathname||"",m=e.search||"";e.path=f+m}return e.slashes=e.slashes||t.slashes,e.href=e.format(),e}var v=e.pathname&&"/"===e.pathname.charAt(0),g=t.host||t.pathname&&"/"===t.pathname.charAt(0),y=g||v||e.host&&t.pathname,P=y,d=e.pathname&&e.pathname.split("/")||[],c=t.pathname&&t.pathname.split("/")||[],q=e.protocol&&!slashedProtocol[e.protocol];if(q&&(e.hostname="",e.port=null,e.host&&(""===d[0]?d[0]=e.host:d.unshift(e.host)),e.host="",t.protocol&&(t.hostname=null,t.port=null,t.host&&(""===c[0]?c[0]=t.host:c.unshift(t.host)),t.host=null),y=y&&(""===c[0]||""===d[0])),g)e.host=t.host||""===t.host?t.host:e.host,e.hostname=t.hostname||""===t.hostname?t.hostname:e.hostname,e.search=t.search,e.query=t.query,d=c;else if(c.length)d||(d=[]),d.pop(),d=d.concat(c),e.search=t.search,e.query=t.query;else if(!util.isNullOrUndefined(t.search)){if(q){e.hostname=e.host=d.shift();var b=e.host&&e.host.indexOf("@")>0?e.host.split("@"):!1;b&&(e.auth=b.shift(),e.host=e.hostname=b.shift())}return e.search=t.search,e.query=t.query,util.isNull(e.pathname)&&util.isNull(e.search)||(e.path=(e.pathname?e.pathname:"")+(e.search?e.search:"")),e.href=e.format(),e}if(!d.length)return e.pathname=null,e.search?e.path="/"+e.search:e.path=null,e.href=e.format(),e;for(var O=d.slice(-1)[0],j=(e.host||t.host||d.length>1)&&("."===O||".."===O)||""===O,x=0,U=d.length;U>=0;U--)O=d[U],"."===O?d.splice(U,1):".."===O?(d.splice(U,1),x++):x&&(d.splice(U,1),x--);if(!y&&!P)for(;x--;x)d.unshift("..");!y||""===d[0]||d[0]&&"/"===d[0].charAt(0)||d.unshift(""),j&&"/"!==d.join("/").substr(-1)&&d.push("");var C=""===d[0]||d[0]&&"/"===d[0].charAt(0);if(q){e.hostname=e.host=C?"":d.length?d.shift():"";var b=e.host&&e.host.indexOf("@")>0?e.host.split("@"):!1;b&&(e.auth=b.shift(),e.host=e.hostname=b.shift())}return y=y||e.host&&d.length,y&&!C&&d.unshift(""),d.length?e.pathname=d.join("/"):(e.pathname=null,e.path=null),util.isNull(e.pathname)&&util.isNull(e.search)||(e.path=(e.pathname?e.pathname:"")+(e.search?e.search:"")),e.auth=t.auth||e.auth,e.slashes=e.slashes||t.slashes,e.href=e.format(),e},Url.prototype.parseHost=function(){var t=this.host,s=portPattern.exec(t);s&&(s=s[0],":"!==s&&(this.port=s.substr(1)),t=t.substr(0,t.length-s.length)),t&&(this.hostname=t)};
25250
25251},{"./util":94,"punycode":72,"querystring":75}],94:[function(require,module,exports){
25252"use strict";module.exports={isString:function(n){return"string"==typeof n},isObject:function(n){return"object"==typeof n&&null!==n},isNull:function(n){return null===n},isNullOrUndefined:function(n){return null==n}};
25253
25254},{}],95:[function(require,module,exports){
25255(function (global){
25256function deprecate(r,e){function o(){if(!t){if(config("throwDeprecation"))throw new Error(e);config("traceDeprecation")?console.trace(e):console.warn(e),t=!0}return r.apply(this,arguments)}if(config("noDeprecation"))return r;var t=!1;return o}function config(r){try{if(!global.localStorage)return!1}catch(e){return!1}var o=global.localStorage[r];return null==o?!1:"true"===String(o).toLowerCase()}module.exports=deprecate;
25257
25258}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
25259
25260},{}],96:[function(require,module,exports){
25261module.exports=function(o){return o&&"object"==typeof o&&"function"==typeof o.copy&&"function"==typeof o.fill&&"function"==typeof o.readUInt8};
25262
25263},{}],97:[function(require,module,exports){
25264(function (process,global){
25265function inspect(e,r){var t={seen:[],stylize:stylizeNoColor};return arguments.length>=3&&(t.depth=arguments[2]),arguments.length>=4&&(t.colors=arguments[3]),isBoolean(r)?t.showHidden=r:r&&exports._extend(t,r),isUndefined(t.showHidden)&&(t.showHidden=!1),isUndefined(t.depth)&&(t.depth=2),isUndefined(t.colors)&&(t.colors=!1),isUndefined(t.customInspect)&&(t.customInspect=!0),t.colors&&(t.stylize=stylizeWithColor),formatValue(t,e,t.depth)}function stylizeWithColor(e,r){var t=inspect.styles[r];return t?"["+inspect.colors[t][0]+"m"+e+"["+inspect.colors[t][1]+"m":e}function stylizeNoColor(e,r){return e}function arrayToHash(e){var r={};return e.forEach(function(e,t){r[e]=!0}),r}function formatValue(e,r,t){if(e.customInspect&&r&&isFunction(r.inspect)&&r.inspect!==exports.inspect&&(!r.constructor||r.constructor.prototype!==r)){var n=r.inspect(t,e);return isString(n)||(n=formatValue(e,n,t)),n}var i=formatPrimitive(e,r);if(i)return i;var o=Object.keys(r),s=arrayToHash(o);if(e.showHidden&&(o=Object.getOwnPropertyNames(r)),isError(r)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return formatError(r);if(0===o.length){if(isFunction(r)){var u=r.name?": "+r.name:"";return e.stylize("[Function"+u+"]","special")}if(isRegExp(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");if(isDate(r))return e.stylize(Date.prototype.toString.call(r),"date");if(isError(r))return formatError(r)}var c="",a=!1,l=["{","}"];if(isArray(r)&&(a=!0,l=["[","]"]),isFunction(r)){var p=r.name?": "+r.name:"";c=" [Function"+p+"]"}if(isRegExp(r)&&(c=" "+RegExp.prototype.toString.call(r)),isDate(r)&&(c=" "+Date.prototype.toUTCString.call(r)),isError(r)&&(c=" "+formatError(r)),0===o.length&&(!a||0==r.length))return l[0]+c+l[1];if(0>t)return isRegExp(r)?e.stylize(RegExp.prototype.toString.call(r),"regexp"):e.stylize("[Object]","special");e.seen.push(r);var f;return f=a?formatArray(e,r,t,s,o):o.map(function(n){return formatProperty(e,r,t,s,n,a)}),e.seen.pop(),reduceToSingleString(f,c,l)}function formatPrimitive(e,r){if(isUndefined(r))return e.stylize("undefined","undefined");if(isString(r)){var t="'"+JSON.stringify(r).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(t,"string")}return isNumber(r)?e.stylize(""+r,"number"):isBoolean(r)?e.stylize(""+r,"boolean"):isNull(r)?e.stylize("null","null"):void 0}function formatError(e){return"["+Error.prototype.toString.call(e)+"]"}function formatArray(e,r,t,n,i){for(var o=[],s=0,u=r.length;u>s;++s)hasOwnProperty(r,String(s))?o.push(formatProperty(e,r,t,n,String(s),!0)):o.push("");return i.forEach(function(i){i.match(/^\d+$/)||o.push(formatProperty(e,r,t,n,i,!0))}),o}function formatProperty(e,r,t,n,i,o){var s,u,c;if(c=Object.getOwnPropertyDescriptor(r,i)||{value:r[i]},c.get?u=c.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):c.set&&(u=e.stylize("[Setter]","special")),hasOwnProperty(n,i)||(s="["+i+"]"),u||(e.seen.indexOf(c.value)<0?(u=isNull(t)?formatValue(e,c.value,null):formatValue(e,c.value,t-1),u.indexOf("\n")>-1&&(u=o?u.split("\n").map(function(e){return" "+e}).join("\n").substr(2):"\n"+u.split("\n").map(function(e){return" "+e}).join("\n"))):u=e.stylize("[Circular]","special")),isUndefined(s)){if(o&&i.match(/^\d+$/))return u;s=JSON.stringify(""+i),s.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.substr(1,s.length-2),s=e.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=e.stylize(s,"string"))}return s+": "+u}function reduceToSingleString(e,r,t){var n=0,i=e.reduce(function(e,r){return n++,r.indexOf("\n")>=0&&n++,e+r.replace(/\u001b\[\d\d?m/g,"").length+1},0);return i>60?t[0]+(""===r?"":r+"\n ")+" "+e.join(",\n ")+" "+t[1]:t[0]+r+" "+e.join(", ")+" "+t[1]}function isArray(e){return Array.isArray(e)}function isBoolean(e){return"boolean"==typeof e}function isNull(e){return null===e}function isNullOrUndefined(e){return null==e}function isNumber(e){return"number"==typeof e}function isString(e){return"string"==typeof e}function isSymbol(e){return"symbol"==typeof e}function isUndefined(e){return void 0===e}function isRegExp(e){return isObject(e)&&"[object RegExp]"===objectToString(e)}function isObject(e){return"object"==typeof e&&null!==e}function isDate(e){return isObject(e)&&"[object Date]"===objectToString(e)}function isError(e){return isObject(e)&&("[object Error]"===objectToString(e)||e instanceof Error)}function isFunction(e){return"function"==typeof e}function isPrimitive(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||"undefined"==typeof e}function objectToString(e){return Object.prototype.toString.call(e)}function pad(e){return 10>e?"0"+e.toString(10):e.toString(10)}function timestamp(){var e=new Date,r=[pad(e.getHours()),pad(e.getMinutes()),pad(e.getSeconds())].join(":");return[e.getDate(),months[e.getMonth()],r].join(" ")}function hasOwnProperty(e,r){return Object.prototype.hasOwnProperty.call(e,r)}var formatRegExp=/%[sdj%]/g;exports.format=function(e){if(!isString(e)){for(var r=[],t=0;t<arguments.length;t++)r.push(inspect(arguments[t]));return r.join(" ")}for(var t=1,n=arguments,i=n.length,o=String(e).replace(formatRegExp,function(e){if("%%"===e)return"%";if(t>=i)return e;switch(e){case"%s":return String(n[t++]);case"%d":return Number(n[t++]);case"%j":try{return JSON.stringify(n[t++])}catch(r){return"[Circular]"}default:return e}}),s=n[t];i>t;s=n[++t])o+=isNull(s)||!isObject(s)?" "+s:" "+inspect(s);return o},exports.deprecate=function(e,r){function t(){if(!n){if(process.throwDeprecation)throw new Error(r);process.traceDeprecation?console.trace(r):console.error(r),n=!0}return e.apply(this,arguments)}if(isUndefined(global.process))return function(){return exports.deprecate(e,r).apply(this,arguments)};if(process.noDeprecation===!0)return e;var n=!1;return t};var debugs={},debugEnviron;exports.debuglog=function(e){if(isUndefined(debugEnviron)&&(debugEnviron=process.env.NODE_DEBUG||""),e=e.toUpperCase(),!debugs[e])if(new RegExp("\\b"+e+"\\b","i").test(debugEnviron)){var r=process.pid;debugs[e]=function(){var t=exports.format.apply(exports,arguments);console.error("%s %d: %s",e,r,t)}}else debugs[e]=function(){};return debugs[e]},exports.inspect=inspect,inspect.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},inspect.styles={special:"cyan",number:"yellow","boolean":"yellow",undefined:"grey","null":"bold",string:"green",date:"magenta",regexp:"red"},exports.isArray=isArray,exports.isBoolean=isBoolean,exports.isNull=isNull,exports.isNullOrUndefined=isNullOrUndefined,exports.isNumber=isNumber,exports.isString=isString,exports.isSymbol=isSymbol,exports.isUndefined=isUndefined,exports.isRegExp=isRegExp,exports.isObject=isObject,exports.isDate=isDate,exports.isError=isError,exports.isFunction=isFunction,exports.isPrimitive=isPrimitive,exports.isBuffer=require("./support/isBuffer");var months=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];exports.log=function(){console.log("%s - %s",timestamp(),exports.format.apply(exports,arguments))},exports.inherits=require("inherits"),exports._extend=function(e,r){if(!r||!isObject(r))return e;for(var t=Object.keys(r),n=t.length;n--;)e[t[n]]=r[t[n]];return e};
25266
25267}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
25268
25269},{"./support/isBuffer":96,"_process":71,"inherits":35}],98:[function(require,module,exports){
25270function extend(){for(var r={},e=0;e<arguments.length;e++){var t=arguments[e];for(var n in t)hasOwnProperty.call(t,n)&&(r[n]=t[n])}return r}module.exports=extend;var hasOwnProperty=Object.prototype.hasOwnProperty;
25271
25272},{}]},{},[3])(3)
25273});
25274</script>
25275
tragait5e9676e2021-01-14 16:07:07 +000025276<script>
seshukmb3a332a2018-10-05 16:27:16 +080025277// https://github.com/isaacs/json-stringify-safe v5.0.1
25278function stringify(obj, replacer, spaces, cycleReplacer) {
25279 return JSON.stringify(obj, serializer(replacer, cycleReplacer), spaces)
25280}
25281
25282function serializer(replacer, cycleReplacer) {
25283 var stack = [], keys = []
25284
25285 if (cycleReplacer == null) cycleReplacer = function(key, value) {
25286 if (stack[0] === value) return "[Circular ~]"
25287 return "[Circular ~." + keys.slice(0, stack.indexOf(value)).join(".") + "]"
25288 }
25289
25290 return function(key, value) {
25291 if (stack.length > 0) {
25292 var thisPos = stack.indexOf(this)
25293 ~thisPos ? stack.splice(thisPos + 1) : stack.push(this)
25294 ~thisPos ? keys.splice(thisPos, Infinity, key) : keys.push(key)
25295 if (~stack.indexOf(value)) value = cycleReplacer.call(this, key, value)
25296 }
25297 else stack.push(value)
25298
25299 return replacer == null ? value : replacer.call(this, key, value)
25300 }
25301}
25302</script>
25303
tragait5e9676e2021-01-14 16:07:07 +000025304<script>
seshukmb3a332a2018-10-05 16:27:16 +080025305/* Web Font Loader v1.6.24 - (c) Adobe Systems, Google. License: Apache 2.0 */
25306(function(){function aa(a,b,d){return a.call.apply(a.bind,arguments)}function ba(a,b,d){if(!a)throw Error();if(2<arguments.length){var c=Array.prototype.slice.call(arguments,2);return function(){var d=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(d,c);return a.apply(b,d)}}return function(){return a.apply(b,arguments)}}function p(a,b,d){p=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?aa:ba;return p.apply(null,arguments)}var q=Date.now||function(){return+new Date};function ca(a,b){this.a=a;this.m=b||a;this.c=this.m.document}var da=!!window.FontFace;function t(a,b,d,c){b=a.c.createElement(b);if(d)for(var e in d)d.hasOwnProperty(e)&&("style"==e?b.style.cssText=d[e]:b.setAttribute(e,d[e]));c&&b.appendChild(a.c.createTextNode(c));return b}function u(a,b,d){a=a.c.getElementsByTagName(b)[0];a||(a=document.documentElement);a.insertBefore(d,a.lastChild)}function v(a){a.parentNode&&a.parentNode.removeChild(a)}
25307function w(a,b,d){b=b||[];d=d||[];for(var c=a.className.split(/\s+/),e=0;e<b.length;e+=1){for(var f=!1,g=0;g<c.length;g+=1)if(b[e]===c[g]){f=!0;break}f||c.push(b[e])}b=[];for(e=0;e<c.length;e+=1){f=!1;for(g=0;g<d.length;g+=1)if(c[e]===d[g]){f=!0;break}f||b.push(c[e])}a.className=b.join(" ").replace(/\s+/g," ").replace(/^\s+|\s+$/,"")}function y(a,b){for(var d=a.className.split(/\s+/),c=0,e=d.length;c<e;c++)if(d[c]==b)return!0;return!1}
25308function z(a){if("string"===typeof a.f)return a.f;var b=a.m.location.protocol;"about:"==b&&(b=a.a.location.protocol);return"https:"==b?"https:":"http:"}function ea(a){return a.m.location.hostname||a.a.location.hostname}
25309function A(a,b,d){function c(){k&&e&&f&&(k(g),k=null)}b=t(a,"link",{rel:"stylesheet",href:b,media:"all"});var e=!1,f=!0,g=null,k=d||null;da?(b.onload=function(){e=!0;c()},b.onerror=function(){e=!0;g=Error("Stylesheet failed to load");c()}):setTimeout(function(){e=!0;c()},0);u(a,"head",b)}
25310function B(a,b,d,c){var e=a.c.getElementsByTagName("head")[0];if(e){var f=t(a,"script",{src:b}),g=!1;f.onload=f.onreadystatechange=function(){g||this.readyState&&"loaded"!=this.readyState&&"complete"!=this.readyState||(g=!0,d&&d(null),f.onload=f.onreadystatechange=null,"HEAD"==f.parentNode.tagName&&e.removeChild(f))};e.appendChild(f);setTimeout(function(){g||(g=!0,d&&d(Error("Script load timeout")))},c||5E3);return f}return null};function C(){this.a=0;this.c=null}function D(a){a.a++;return function(){a.a--;E(a)}}function F(a,b){a.c=b;E(a)}function E(a){0==a.a&&a.c&&(a.c(),a.c=null)};function G(a){this.a=a||"-"}G.prototype.c=function(a){for(var b=[],d=0;d<arguments.length;d++)b.push(arguments[d].replace(/[\W_]+/g,"").toLowerCase());return b.join(this.a)};function H(a,b){this.c=a;this.f=4;this.a="n";var d=(b||"n4").match(/^([nio])([1-9])$/i);d&&(this.a=d[1],this.f=parseInt(d[2],10))}function fa(a){return I(a)+" "+(a.f+"00")+" 300px "+J(a.c)}function J(a){var b=[];a=a.split(/,\s*/);for(var d=0;d<a.length;d++){var c=a[d].replace(/['"]/g,"");-1!=c.indexOf(" ")||/^\d/.test(c)?b.push("'"+c+"'"):b.push(c)}return b.join(",")}function K(a){return a.a+a.f}function I(a){var b="normal";"o"===a.a?b="oblique":"i"===a.a&&(b="italic");return b}
25311function ga(a){var b=4,d="n",c=null;a&&((c=a.match(/(normal|oblique|italic)/i))&&c[1]&&(d=c[1].substr(0,1).toLowerCase()),(c=a.match(/([1-9]00|normal|bold)/i))&&c[1]&&(/bold/i.test(c[1])?b=7:/[1-9]00/.test(c[1])&&(b=parseInt(c[1].substr(0,1),10))));return d+b};function ha(a,b){this.c=a;this.f=a.m.document.documentElement;this.h=b;this.a=new G("-");this.j=!1!==b.events;this.g=!1!==b.classes}function ia(a){a.g&&w(a.f,[a.a.c("wf","loading")]);L(a,"loading")}function M(a){if(a.g){var b=y(a.f,a.a.c("wf","active")),d=[],c=[a.a.c("wf","loading")];b||d.push(a.a.c("wf","inactive"));w(a.f,d,c)}L(a,"inactive")}function L(a,b,d){if(a.j&&a.h[b])if(d)a.h[b](d.c,K(d));else a.h[b]()};function ja(){this.c={}}function ka(a,b,d){var c=[],e;for(e in b)if(b.hasOwnProperty(e)){var f=a.c[e];f&&c.push(f(b[e],d))}return c};function N(a,b){this.c=a;this.f=b;this.a=t(this.c,"span",{"aria-hidden":"true"},this.f)}function O(a){u(a.c,"body",a.a)}function P(a){return"display:block;position:absolute;top:-9999px;left:-9999px;font-size:300px;width:auto;height:auto;line-height:normal;margin:0;padding:0;font-variant:normal;white-space:nowrap;font-family:"+J(a.c)+";"+("font-style:"+I(a)+";font-weight:"+(a.f+"00")+";")};function Q(a,b,d,c,e,f){this.g=a;this.j=b;this.a=c;this.c=d;this.f=e||3E3;this.h=f||void 0}Q.prototype.start=function(){var a=this.c.m.document,b=this,d=q(),c=new Promise(function(c,e){function k(){q()-d>=b.f?e():a.fonts.load(fa(b.a),b.h).then(function(a){1<=a.length?c():setTimeout(k,25)},function(){e()})}k()}),e=new Promise(function(a,c){setTimeout(c,b.f)});Promise.race([e,c]).then(function(){b.g(b.a)},function(){b.j(b.a)})};function R(a,b,d,c,e,f,g){this.v=a;this.B=b;this.c=d;this.a=c;this.s=g||"BESbswy";this.f={};this.w=e||3E3;this.u=f||null;this.o=this.j=this.h=this.g=null;this.g=new N(this.c,this.s);this.h=new N(this.c,this.s);this.j=new N(this.c,this.s);this.o=new N(this.c,this.s);a=new H(this.a.c+",serif",K(this.a));a=P(a);this.g.a.style.cssText=a;a=new H(this.a.c+",sans-serif",K(this.a));a=P(a);this.h.a.style.cssText=a;a=new H("serif",K(this.a));a=P(a);this.j.a.style.cssText=a;a=new H("sans-serif",K(this.a));a=
25312P(a);this.o.a.style.cssText=a;O(this.g);O(this.h);O(this.j);O(this.o)}var S={D:"serif",C:"sans-serif"},T=null;function U(){if(null===T){var a=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent);T=!!a&&(536>parseInt(a[1],10)||536===parseInt(a[1],10)&&11>=parseInt(a[2],10))}return T}R.prototype.start=function(){this.f.serif=this.j.a.offsetWidth;this.f["sans-serif"]=this.o.a.offsetWidth;this.A=q();la(this)};
25313function ma(a,b,d){for(var c in S)if(S.hasOwnProperty(c)&&b===a.f[S[c]]&&d===a.f[S[c]])return!0;return!1}function la(a){var b=a.g.a.offsetWidth,d=a.h.a.offsetWidth,c;(c=b===a.f.serif&&d===a.f["sans-serif"])||(c=U()&&ma(a,b,d));c?q()-a.A>=a.w?U()&&ma(a,b,d)&&(null===a.u||a.u.hasOwnProperty(a.a.c))?V(a,a.v):V(a,a.B):na(a):V(a,a.v)}function na(a){setTimeout(p(function(){la(this)},a),50)}function V(a,b){setTimeout(p(function(){v(this.g.a);v(this.h.a);v(this.j.a);v(this.o.a);b(this.a)},a),0)};function W(a,b,d){this.c=a;this.a=b;this.f=0;this.o=this.j=!1;this.s=d}var X=null;W.prototype.g=function(a){var b=this.a;b.g&&w(b.f,[b.a.c("wf",a.c,K(a).toString(),"active")],[b.a.c("wf",a.c,K(a).toString(),"loading"),b.a.c("wf",a.c,K(a).toString(),"inactive")]);L(b,"fontactive",a);this.o=!0;oa(this)};
25314W.prototype.h=function(a){var b=this.a;if(b.g){var d=y(b.f,b.a.c("wf",a.c,K(a).toString(),"active")),c=[],e=[b.a.c("wf",a.c,K(a).toString(),"loading")];d||c.push(b.a.c("wf",a.c,K(a).toString(),"inactive"));w(b.f,c,e)}L(b,"fontinactive",a);oa(this)};function oa(a){0==--a.f&&a.j&&(a.o?(a=a.a,a.g&&w(a.f,[a.a.c("wf","active")],[a.a.c("wf","loading"),a.a.c("wf","inactive")]),L(a,"active")):M(a.a))};function pa(a){this.j=a;this.a=new ja;this.h=0;this.f=this.g=!0}pa.prototype.load=function(a){this.c=new ca(this.j,a.context||this.j);this.g=!1!==a.events;this.f=!1!==a.classes;qa(this,new ha(this.c,a),a)};
25315function ra(a,b,d,c,e){var f=0==--a.h;(a.f||a.g)&&setTimeout(function(){var a=e||null,k=c||null||{};if(0===d.length&&f)M(b.a);else{b.f+=d.length;f&&(b.j=f);var h,m=[];for(h=0;h<d.length;h++){var l=d[h],n=k[l.c],r=b.a,x=l;r.g&&w(r.f,[r.a.c("wf",x.c,K(x).toString(),"loading")]);L(r,"fontloading",x);r=null;null===X&&(X=window.FontFace?(x=/Gecko.*Firefox\/(\d+)/.exec(window.navigator.userAgent))?42<parseInt(x[1],10):!0:!1);X?r=new Q(p(b.g,b),p(b.h,b),b.c,l,b.s,n):r=new R(p(b.g,b),p(b.h,b),b.c,l,b.s,a,
25316n);m.push(r)}for(h=0;h<m.length;h++)m[h].start()}},0)}function qa(a,b,d){var c=[],e=d.timeout;ia(b);var c=ka(a.a,d,a.c),f=new W(a.c,b,e);a.h=c.length;b=0;for(d=c.length;b<d;b++)c[b].load(function(b,c,d){ra(a,f,b,c,d)})};function sa(a,b){this.c=a;this.a=b}function ta(a,b,d){var c=z(a.c);a=(a.a.api||"fast.fonts.net/jsapi").replace(/^.*http(s?):(\/\/)?/,"");return c+"//"+a+"/"+b+".js"+(d?"?v="+d:"")}
25317sa.prototype.load=function(a){function b(){if(e["__mti_fntLst"+d]){var c=e["__mti_fntLst"+d](),g=[],k;if(c)for(var h=0;h<c.length;h++){var m=c[h].fontfamily;void 0!=c[h].fontStyle&&void 0!=c[h].fontWeight?(k=c[h].fontStyle+c[h].fontWeight,g.push(new H(m,k))):g.push(new H(m))}a(g)}else setTimeout(function(){b()},50)}var d=this.a.projectId,c=this.a.version;if(d){var e=this.c.m;B(this.c,ta(this,d,c),function(c){c?a([]):b()}).id="__MonotypeAPIScript__"+d}else a([])};function ua(a,b){this.c=a;this.a=b}ua.prototype.load=function(a){var b,d,c=this.a.urls||[],e=this.a.families||[],f=this.a.testStrings||{},g=new C;b=0;for(d=c.length;b<d;b++)A(this.c,c[b],D(g));var k=[];b=0;for(d=e.length;b<d;b++)if(c=e[b].split(":"),c[1])for(var h=c[1].split(","),m=0;m<h.length;m+=1)k.push(new H(c[0],h[m]));else k.push(new H(c[0]));F(g,function(){a(k,f)})};function va(a,b,d){a?this.c=a:this.c=b+wa;this.a=[];this.f=[];this.g=d||""}var wa="//fonts.googleapis.com/css";function xa(a,b){for(var d=b.length,c=0;c<d;c++){var e=b[c].split(":");3==e.length&&a.f.push(e.pop());var f="";2==e.length&&""!=e[1]&&(f=":");a.a.push(e.join(f))}}
25318function ya(a){if(0==a.a.length)throw Error("No fonts to load!");if(-1!=a.c.indexOf("kit="))return a.c;for(var b=a.a.length,d=[],c=0;c<b;c++)d.push(a.a[c].replace(/ /g,"+"));b=a.c+"?family="+d.join("%7C");0<a.f.length&&(b+="&subset="+a.f.join(","));0<a.g.length&&(b+="&text="+encodeURIComponent(a.g));return b};function za(a){this.f=a;this.a=[];this.c={}}
25319var Aa={latin:"BESbswy",cyrillic:"\u0439\u044f\u0416",greek:"\u03b1\u03b2\u03a3",khmer:"\u1780\u1781\u1782",Hanuman:"\u1780\u1781\u1782"},Ba={thin:"1",extralight:"2","extra-light":"2",ultralight:"2","ultra-light":"2",light:"3",regular:"4",book:"4",medium:"5","semi-bold":"6",semibold:"6","demi-bold":"6",demibold:"6",bold:"7","extra-bold":"8",extrabold:"8","ultra-bold":"8",ultrabold:"8",black:"9",heavy:"9",l:"3",r:"4",b:"7"},Ca={i:"i",italic:"i",n:"n",normal:"n"},Da=/^(thin|(?:(?:extra|ultra)-?)?light|regular|book|medium|(?:(?:semi|demi|extra|ultra)-?)?bold|black|heavy|l|r|b|[1-9]00)?(n|i|normal|italic)?$/;
25320function Ea(a){for(var b=a.f.length,d=0;d<b;d++){var c=a.f[d].split(":"),e=c[0].replace(/\+/g," "),f=["n4"];if(2<=c.length){var g;var k=c[1];g=[];if(k)for(var k=k.split(","),h=k.length,m=0;m<h;m++){var l;l=k[m];if(l.match(/^[\w-]+$/)){var n=Da.exec(l.toLowerCase());if(null==n)l="";else{l=n[2];l=null==l||""==l?"n":Ca[l];n=n[1];if(null==n||""==n)n="4";else var r=Ba[n],n=r?r:isNaN(n)?"4":n.substr(0,1);l=[l,n].join("")}}else l="";l&&g.push(l)}0<g.length&&(f=g);3==c.length&&(c=c[2],g=[],c=c?c.split(","):
25321g,0<c.length&&(c=Aa[c[0]])&&(a.c[e]=c))}a.c[e]||(c=Aa[e])&&(a.c[e]=c);for(c=0;c<f.length;c+=1)a.a.push(new H(e,f[c]))}};function Fa(a,b){this.c=a;this.a=b}var Ga={Arimo:!0,Cousine:!0,Tinos:!0};Fa.prototype.load=function(a){var b=new C,d=this.c,c=new va(this.a.api,z(d),this.a.text),e=this.a.families;xa(c,e);var f=new za(e);Ea(f);A(d,ya(c),D(b));F(b,function(){a(f.a,f.c,Ga)})};function Ha(a,b){this.c=a;this.a=b}Ha.prototype.load=function(a){var b=this.a.id,d=this.c.m;b?B(this.c,(this.a.api||"https://use.typekit.net")+"/"+b+".js",function(b){if(b)a([]);else if(d.Typekit&&d.Typekit.config&&d.Typekit.config.fn){b=d.Typekit.config.fn;for(var e=[],f=0;f<b.length;f+=2)for(var g=b[f],k=b[f+1],h=0;h<k.length;h++)e.push(new H(g,k[h]));try{d.Typekit.load({events:!1,classes:!1,async:!0})}catch(m){}a(e)}},2E3):a([])};function Ia(a,b){this.c=a;this.f=b;this.a=[]}Ia.prototype.load=function(a){var b=this.f.id,d=this.c.m,c=this;b?(d.__webfontfontdeckmodule__||(d.__webfontfontdeckmodule__={}),d.__webfontfontdeckmodule__[b]=function(b,d){for(var g=0,k=d.fonts.length;g<k;++g){var h=d.fonts[g];c.a.push(new H(h.name,ga("font-weight:"+h.weight+";font-style:"+h.style)))}a(c.a)},B(this.c,z(this.c)+(this.f.api||"//f.fontdeck.com/s/css/js/")+ea(this.c)+"/"+b+".js",function(b){b&&a([])})):a([])};var Y=new pa(window);Y.a.c.custom=function(a,b){return new ua(b,a)};Y.a.c.fontdeck=function(a,b){return new Ia(b,a)};Y.a.c.monotype=function(a,b){return new sa(b,a)};Y.a.c.typekit=function(a,b){return new Ha(b,a)};Y.a.c.google=function(a,b){return new Fa(b,a)};var Z={load:p(Y.load,Y)};"function"===typeof define&&define.amd?define(function(){return Z}):"undefined"!==typeof module&&module.exports?module.exports=Z:(window.WebFont=Z,window.WebFontConfig&&Y.load(window.WebFontConfig));}());
25322</script>
25323
tragait5e9676e2021-01-14 16:07:07 +000025324<script>
seshukmb3a332a2018-10-05 16:27:16 +080025325 var schemaWrapper = {};
Priyadharshinic86ab4a2020-08-14 17:11:49 +053025326 schemaWrapper.definitions = defs;
seshukmb3a332a2018-10-05 16:27:16 +080025327 defsParser = new $RefParser();
25328 defsParser.dereference(schemaWrapper).catch(function(err) {
25329 console.log(err);
25330 });
25331 </script>
tragait5e9676e2021-01-14 16:07:07 +000025332<script>
seshukmb3a332a2018-10-05 16:27:16 +080025333 $(document).ready(function () {
25334 $('.nav-tabs-examples').find('a:first').tab('show');
25335 $(this).scrollspy({ target: '#scrollingNav', offset: 18 });
25336 });
25337 </script>
25338</body>
tragait5e9676e2021-01-14 16:07:07 +000025339</html>