Merge "Update HTML API docs for v3 API"
diff --git a/a1-policy-management/api/pms-api/index.html b/a1-policy-management/api/offeredapis/openapitoolgen/offeredapis/pms-api/index.html
similarity index 72%
rename from a1-policy-management/api/pms-api/index.html
rename to a1-policy-management/api/offeredapis/openapitoolgen/offeredapis/pms-api/index.html
index 66934cd..247549a 100644
--- a/a1-policy-management/api/pms-api/index.html
+++ b/a1-policy-management/api/offeredapis/openapitoolgen/offeredapis/pms-api/index.html
@@ -7,10 +7,8 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="UTF-8" />
<script>
-/*! jQuery v3.1.0 | (c) jQuery Foundation | jquery.org/license */
-!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,
-r.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);
-if(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});
+/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */
+!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(ie,e){"use strict";var oe=[],r=Object.getPrototypeOf,ae=oe.slice,g=oe.flat?function(e){return oe.flat.call(e)}:function(e){return oe.concat.apply([],e)},s=oe.push,se=oe.indexOf,n={},i=n.toString,ue=n.hasOwnProperty,o=ue.toString,a=o.call(Object),le={},v=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},y=function(e){return null!=e&&e===e.window},C=ie.document,u={type:!0,src:!0,nonce:!0,noModule:!0};function m(e,t,n){var r,i,o=(n=n||C).createElement("script");if(o.text=e,t)for(r in u)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[i.call(e)]||"object":typeof e}var t="3.7.1",l=/HTML$/i,ce=function(e,t){return new ce.fn.init(e,t)};function c(e){var t=!!e&&"length"in e&&e.length,n=x(e);return!v(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}function fe(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}ce.fn=ce.prototype={jquery:t,constructor:ce,length:0,toArray:function(){return ae.call(this)},get:function(e){return null==e?ae.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=ce.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return ce.each(this,e)},map:function(n){return this.pushStack(ce.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(ae.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(ce.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(ce.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:s,sort:oe.sort,splice:oe.splice},ce.extend=ce.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||v(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(l&&r&&(ce.isPlainObject(r)||(i=Array.isArray(r)))?(n=a[t],o=i&&!Array.isArray(n)?[]:i||ce.isPlainObject(n)?n:{},i=!1,a[t]=ce.extend(l,o,r)):void 0!==r&&(a[t]=r));return a},ce.extend({expando:"jQuery"+(t+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==i.call(e))&&(!(t=r(e))||"function"==typeof(n=ue.call(t,"constructor")&&t.constructor)&&o.call(n)===a)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){m(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(c(e)){for(n=e.length;r<n;r++)if(!1===t.call(e[r],r,e[r]))break}else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},text:function(e){var t,n="",r=0,i=e.nodeType;if(!i)while(t=e[r++])n+=ce.text(t);return 1===i||11===i?e.textContent:9===i?e.documentElement.textContent:3===i||4===i?e.nodeValue:n},makeArray:function(e,t){var n=t||[];return null!=e&&(c(Object(e))?ce.merge(n,"string"==typeof e?[e]:e):s.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:se.call(t,e,n)},isXMLDoc:function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!l.test(t||n&&n.nodeName||"HTML")},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,a=!n;i<o;i++)!t(e[i],i)!==a&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,a=[];if(c(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&a.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&a.push(i);return g(a)},guid:1,support:le}),"function"==typeof Symbol&&(ce.fn[Symbol.iterator]=oe[Symbol.iterator]),ce.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){n["[object "+t+"]"]=t.toLowerCase()});var pe=oe.pop,de=oe.sort,he=oe.splice,ge="[\\x20\\t\\r\\n\\f]",ve=new RegExp("^"+ge+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ge+"+$","g");ce.contains=function(e,t){var n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(e.contains?e.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))};var f=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function p(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}ce.escapeSelector=function(e){return(e+"").replace(f,p)};var ye=C,me=s;!function(){var e,b,w,o,a,T,r,C,d,i,k=me,S=ce.expando,E=0,n=0,s=W(),c=W(),u=W(),h=W(),l=function(e,t){return e===t&&(a=!0),0},f="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",t="(?:\\\\[\\da-fA-F]{1,6}"+ge+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",p="\\["+ge+"*("+t+")(?:"+ge+"*([*^$|!~]?=)"+ge+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+t+"))|)"+ge+"*\\]",g=":("+t+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+p+")*)|.*)\\)|)",v=new RegExp(ge+"+","g"),y=new RegExp("^"+ge+"*,"+ge+"*"),m=new RegExp("^"+ge+"*([>+~]|"+ge+")"+ge+"*"),x=new RegExp(ge+"|>"),j=new RegExp(g),A=new RegExp("^"+t+"$"),D={ID:new RegExp("^#("+t+")"),CLASS:new RegExp("^\\.("+t+")"),TAG:new RegExp("^("+t+"|[*])"),ATTR:new RegExp("^"+p),PSEUDO:new RegExp("^"+g),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ge+"*(even|odd|(([+-]|)(\\d*)n|)"+ge+"*(?:([+-]|)"+ge+"*(\\d+)|))"+ge+"*\\)|)","i"),bool:new RegExp("^(?:"+f+")$","i"),needsContext:new RegExp("^"+ge+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ge+"*((?:-\\d)?\\d*)"+ge+"*\\)|)(?=[^-]|$)","i")},N=/^(?:input|select|textarea|button)$/i,q=/^h\d$/i,L=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,H=/[+~]/,O=new RegExp("\\\\[\\da-fA-F]{1,6}"+ge+"?|\\\\([^\\r\\n\\f])","g"),P=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},M=function(){V()},R=J(function(e){return!0===e.disabled&&fe(e,"fieldset")},{dir:"parentNode",next:"legend"});try{k.apply(oe=ae.call(ye.childNodes),ye.childNodes),oe[ye.childNodes.length].nodeType}catch(e){k={apply:function(e,t){me.apply(e,ae.call(t))},call:function(e){me.apply(e,ae.call(arguments,1))}}}function I(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(V(e),e=e||T,C)){if(11!==p&&(u=L.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return k.call(n,a),n}else if(f&&(a=f.getElementById(i))&&I.contains(e,a)&&a.id===i)return k.call(n,a),n}else{if(u[2])return k.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&e.getElementsByClassName)return k.apply(n,e.getElementsByClassName(i)),n}if(!(h[t+" "]||d&&d.test(t))){if(c=t,f=e,1===p&&(x.test(t)||m.test(t))){(f=H.test(t)&&U(e.parentNode)||e)==e&&le.scope||((s=e.getAttribute("id"))?s=ce.escapeSelector(s):e.setAttribute("id",s=S)),o=(l=Y(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+Q(l[o]);c=l.join(",")}try{return k.apply(n,f.querySelectorAll(c)),n}catch(e){h(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return re(t.replace(ve,"$1"),e,n,r)}function W(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function F(e){return e[S]=!0,e}function $(e){var t=T.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function B(t){return function(e){return fe(e,"input")&&e.type===t}}function _(t){return function(e){return(fe(e,"input")||fe(e,"button"))&&e.type===t}}function z(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&R(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function X(a){return F(function(o){return o=+o,F(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function U(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function V(e){var t,n=e?e.ownerDocument||e:ye;return n!=T&&9===n.nodeType&&n.documentElement&&(r=(T=n).documentElement,C=!ce.isXMLDoc(T),i=r.matches||r.webkitMatchesSelector||r.msMatchesSelector,r.msMatchesSelector&&ye!=T&&(t=T.defaultView)&&t.top!==t&&t.addEventListener("unload",M),le.getById=$(function(e){return r.appendChild(e).id=ce.expando,!T.getElementsByName||!T.getElementsByName(ce.expando).length}),le.disconnectedMatch=$(function(e){return i.call(e,"*")}),le.scope=$(function(){return T.querySelectorAll(":scope")}),le.cssHas=$(function(){try{return T.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}}),le.getById?(b.filter.ID=function(e){var t=e.replace(O,P);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(O,P);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},b.find.CLASS=function(e,t){if("undefined"!=typeof t.getElementsByClassName&&C)return t.getElementsByClassName(e)},d=[],$(function(e){var t;r.appendChild(e).innerHTML="<a id='"+S+"' href='' disabled='disabled'></a><select id='"+S+"-\r\\' disabled='disabled'><option selected=''></option></select>",e.querySelectorAll("[selected]").length||d.push("\\["+ge+"*(?:value|"+f+")"),e.querySelectorAll("[id~="+S+"-]").length||d.push("~="),e.querySelectorAll("a#"+S+"+*").length||d.push(".#.+[+~]"),e.querySelectorAll(":checked").length||d.push(":checked"),(t=T.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),r.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&d.push(":enabled",":disabled"),(t=T.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||d.push("\\["+ge+"*name"+ge+"*="+ge+"*(?:''|\"\")")}),le.cssHas||d.push(":has"),d=d.length&&new RegExp(d.join("|")),l=function(e,t){if(e===t)return a=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!le.sortDetached&&t.compareDocumentPosition(e)===n?e===T||e.ownerDocument==ye&&I.contains(ye,e)?-1:t===T||t.ownerDocument==ye&&I.contains(ye,t)?1:o?se.call(o,e)-se.call(o,t):0:4&n?-1:1)}),T}for(e in I.matches=function(e,t){return I(e,null,null,t)},I.matchesSelector=function(e,t){if(V(e),C&&!h[t+" "]&&(!d||!d.test(t)))try{var n=i.call(e,t);if(n||le.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){h(t,!0)}return 0<I(t,T,null,[e]).length},I.contains=function(e,t){return(e.ownerDocument||e)!=T&&V(e),ce.contains(e,t)},I.attr=function(e,t){(e.ownerDocument||e)!=T&&V(e);var n=b.attrHandle[t.toLowerCase()],r=n&&ue.call(b.attrHandle,t.toLowerCase())?n(e,t,!C):void 0;return void 0!==r?r:e.getAttribute(t)},I.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ce.uniqueSort=function(e){var t,n=[],r=0,i=0;if(a=!le.sortStable,o=!le.sortStable&&ae.call(e,0),de.call(e,l),a){while(t=e[i++])t===e[i]&&(r=n.push(i));while(r--)he.call(e,n[r],1)}return o=null,e},ce.fn.uniqueSort=function(){return this.pushStack(ce.uniqueSort(ae.apply(this)))},(b=ce.expr={cacheLength:50,createPseudo:F,match:D,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(O,P),e[3]=(e[3]||e[4]||e[5]||"").replace(O,P),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||I.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&I.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return D.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&j.test(n)&&(t=Y(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(O,P).toLowerCase();return"*"===e?function(){return!0}:function(e){return fe(e,t)}},CLASS:function(e){var t=s[e+" "];return t||(t=new RegExp("(^|"+ge+")"+e+"("+ge+"|$)"))&&s(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=I.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1<t.indexOf(i):"$="===r?i&&t.slice(-i.length)===i:"~="===r?-1<(" "+t.replace(v," ")+" ").indexOf(i):"|="===r&&(t===i||t.slice(0,i.length+1)===i+"-"))}},CHILD:function(d,e,t,h,g){var v="nth"!==d.slice(0,3),y="last"!==d.slice(-4),m="of-type"===e;return 1===h&&0===g?function(e){return!!e.parentNode}:function(e,t,n){var r,i,o,a,s,u=v!==y?"nextSibling":"previousSibling",l=e.parentNode,c=m&&e.nodeName.toLowerCase(),f=!n&&!m,p=!1;if(l){if(v){while(u){o=e;while(o=o[u])if(m?fe(o,c):1===o.nodeType)return!1;s=u="only"===d&&!s&&"nextSibling"}return!0}if(s=[y?l.firstChild:l.lastChild],y&&f){p=(a=(r=(i=l[S]||(l[S]={}))[d]||[])[0]===E&&r[1])&&r[2],o=a&&l.childNodes[a];while(o=++a&&o&&o[u]||(p=a=0)||s.pop())if(1===o.nodeType&&++p&&o===e){i[d]=[E,a,p];break}}else if(f&&(p=a=(r=(i=e[S]||(e[S]={}))[d]||[])[0]===E&&r[1]),!1===p)while(o=++a&&o&&o[u]||(p=a=0)||s.pop())if((m?fe(o,c):1===o.nodeType)&&++p&&(f&&((i=o[S]||(o[S]={}))[d]=[E,p]),o===e))break;return(p-=g)===h||p%h==0&&0<=p/h}}},PSEUDO:function(e,o){var t,a=b.pseudos[e]||b.setFilters[e.toLowerCase()]||I.error("unsupported pseudo: "+e);return a[S]?a(o):1<a.length?(t=[e,e,"",o],b.setFilters.hasOwnProperty(e.toLowerCase())?F(function(e,t){var n,r=a(e,o),i=r.length;while(i--)e[n=se.call(e,r[i])]=!(t[n]=r[i])}):function(e){return a(e,0,t)}):a}},pseudos:{not:F(function(e){var r=[],i=[],s=ne(e.replace(ve,"$1"));return s[S]?F(function(e,t,n,r){var i,o=s(e,null,r,[]),a=e.length;while(a--)(i=o[a])&&(e[a]=!(t[a]=i))}):function(e,t,n){return r[0]=e,s(r,null,n,i),r[0]=null,!i.pop()}}),has:F(function(t){return function(e){return 0<I(t,e).length}}),contains:F(function(t){return t=t.replace(O,P),function(e){return-1<(e.textContent||ce.text(e)).indexOf(t)}}),lang:F(function(n){return A.test(n||"")||I.error("unsupported lang: "+n),n=n.replace(O,P).toLowerCase(),function(e){var t;do{if(t=C?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===n||0===t.indexOf(n+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=ie.location&&ie.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===r},focus:function(e){return e===function(){try{return T.activeElement}catch(e){}}()&&T.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:z(!1),disabled:z(!0),checked:function(e){return fe(e,"input")&&!!e.checked||fe(e,"option")&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!b.pseudos.empty(e)},header:function(e){return q.test(e.nodeName)},input:function(e){return N.test(e.nodeName)},button:function(e){return fe(e,"input")&&"button"===e.type||fe(e,"button")},text:function(e){var t;return fe(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:X(function(){return[0]}),last:X(function(e,t){return[t-1]}),eq:X(function(e,t,n){return[n<0?n+t:n]}),even:X(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:X(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:X(function(e,t,n){var r;for(r=n<0?n+t:t<n?t:n;0<=--r;)e.push(r);return e}),gt:X(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=b.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})b.pseudos[e]=B(e);for(e in{submit:!0,reset:!0})b.pseudos[e]=_(e);function G(){}function Y(e,t){var n,r,i,o,a,s,u,l=c[e+" "];if(l)return t?0:l.slice(0);a=e,s=[],u=b.preFilter;while(a){for(o in n&&!(r=y.exec(a))||(r&&(a=a.slice(r[0].length)||a),s.push(i=[])),n=!1,(r=m.exec(a))&&(n=r.shift(),i.push({value:n,type:r[0].replace(ve," ")}),a=a.slice(n.length)),b.filter)!(r=D[o].exec(a))||u[o]&&!(r=u[o](r))||(n=r.shift(),i.push({value:n,type:o,matches:r}),a=a.slice(n.length));if(!n)break}return t?a.length:a?I.error(e):c(e,s).slice(0)}function Q(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function J(a,e,t){var s=e.dir,u=e.next,l=u||s,c=t&&"parentNode"===l,f=n++;return e.first?function(e,t,n){while(e=e[s])if(1===e.nodeType||c)return a(e,t,n);return!1}:function(e,t,n){var r,i,o=[E,f];if(n){while(e=e[s])if((1===e.nodeType||c)&&a(e,t,n))return!0}else while(e=e[s])if(1===e.nodeType||c)if(i=e[S]||(e[S]={}),u&&fe(e,u))e=e[s]||e;else{if((r=i[l])&&r[0]===E&&r[1]===f)return o[2]=r[2];if((i[l]=o)[2]=a(e,t,n))return!0}return!1}}function K(i){return 1<i.length?function(e,t,n){var r=i.length;while(r--)if(!i[r](e,t,n))return!1;return!0}:i[0]}function Z(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,l=null!=t;s<u;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),l&&t.push(s)));return a}function ee(d,h,g,v,y,e){return v&&!v[S]&&(v=ee(v)),y&&!y[S]&&(y=ee(y,e)),F(function(e,t,n,r){var i,o,a,s,u=[],l=[],c=t.length,f=e||function(e,t,n){for(var r=0,i=t.length;r<i;r++)I(e,t[r],n);return n}(h||"*",n.nodeType?[n]:n,[]),p=!d||!e&&h?f:Z(f,u,d,n,r);if(g?g(p,s=y||(e?d:c||v)?[]:t,n,r):s=p,v){i=Z(s,l),v(i,[],n,r),o=i.length;while(o--)(a=i[o])&&(s[l[o]]=!(p[l[o]]=a))}if(e){if(y||d){if(y){i=[],o=s.length;while(o--)(a=s[o])&&i.push(p[o]=a);y(null,s=[],i,r)}o=s.length;while(o--)(a=s[o])&&-1<(i=y?se.call(e,a):u[o])&&(e[i]=!(t[i]=a))}}else s=Z(s===t?s.splice(c,s.length):s),y?y(null,t,s,r):k.apply(t,s)})}function te(e){for(var i,t,n,r=e.length,o=b.relative[e[0].type],a=o||b.relative[" "],s=o?1:0,u=J(function(e){return e===i},a,!0),l=J(function(e){return-1<se.call(i,e)},a,!0),c=[function(e,t,n){var r=!o&&(n||t!=w)||((i=t).nodeType?u(e,t,n):l(e,t,n));return i=null,r}];s<r;s++)if(t=b.relative[e[s].type])c=[J(K(c),t)];else{if((t=b.filter[e[s].type].apply(null,e[s].matches))[S]){for(n=++s;n<r;n++)if(b.relative[e[n].type])break;return ee(1<s&&K(c),1<s&&Q(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(ve,"$1"),t,s<n&&te(e.slice(s,n)),n<r&&te(e=e.slice(n)),n<r&&Q(e))}c.push(t)}return K(c)}function ne(e,t){var n,v,y,m,x,r,i=[],o=[],a=u[e+" "];if(!a){t||(t=Y(e)),n=t.length;while(n--)(a=te(t[n]))[S]?i.push(a):o.push(a);(a=u(e,(v=o,m=0<(y=i).length,x=0<v.length,r=function(e,t,n,r,i){var o,a,s,u=0,l="0",c=e&&[],f=[],p=w,d=e||x&&b.find.TAG("*",i),h=E+=null==p?1:Math.random()||.1,g=d.length;for(i&&(w=t==T||t||i);l!==g&&null!=(o=d[l]);l++){if(x&&o){a=0,t||o.ownerDocument==T||(V(o),n=!C);while(s=v[a++])if(s(o,t||T,n)){k.call(r,o);break}i&&(E=h)}m&&((o=!s&&o)&&u--,e&&c.push(o))}if(u+=l,m&&l!==u){a=0;while(s=y[a++])s(c,f,t,n);if(e){if(0<u)while(l--)c[l]||f[l]||(f[l]=pe.call(r));f=Z(f)}k.apply(r,f),i&&!e&&0<f.length&&1<u+y.length&&ce.uniqueSort(r)}return i&&(E=h,w=p),c},m?F(r):r))).selector=e}return a}function re(e,t,n,r){var i,o,a,s,u,l="function"==typeof e&&e,c=!r&&Y(e=l.selector||e);if(n=n||[],1===c.length){if(2<(o=c[0]=c[0].slice(0)).length&&"ID"===(a=o[0]).type&&9===t.nodeType&&C&&b.relative[o[1].type]){if(!(t=(b.find.ID(a.matches[0].replace(O,P),t)||[])[0]))return n;l&&(t=t.parentNode),e=e.slice(o.shift().value.length)}i=D.needsContext.test(e)?0:o.length;while(i--){if(a=o[i],b.relative[s=a.type])break;if((u=b.find[s])&&(r=u(a.matches[0].replace(O,P),H.test(o[0].type)&&U(t.parentNode)||t))){if(o.splice(i,1),!(e=r.length&&Q(o)))return k.apply(n,r),n;break}}}return(l||ne(e,c))(r,t,!C,n,!t||H.test(e)&&U(t.parentNode)||t),n}G.prototype=b.filters=b.pseudos,b.setFilters=new G,le.sortStable=S.split("").sort(l).join("")===S,V(),le.sortDetached=$(function(e){return 1&e.compareDocumentPosition(T.createElement("fieldset"))}),ce.find=I,ce.expr[":"]=ce.expr.pseudos,ce.unique=ce.uniqueSort,I.compile=ne,I.select=re,I.setDocument=V,I.tokenize=Y,I.escape=ce.escapeSelector,I.getText=ce.text,I.isXML=ce.isXMLDoc,I.selectors=ce.expr,I.support=ce.support,I.uniqueSort=ce.uniqueSort}();var d=function(e,t,n){var r=[],i=void 0!==n;while((e=e[t])&&9!==e.nodeType)if(1===e.nodeType){if(i&&ce(e).is(n))break;r.push(e)}return r},h=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},b=ce.expr.match.needsContext,w=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function T(e,n,r){return v(n)?ce.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?ce.grep(e,function(e){return e===n!==r}):"string"!=typeof n?ce.grep(e,function(e){return-1<se.call(n,e)!==r}):ce.filter(n,e,r)}ce.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?ce.find.matchesSelector(r,e)?[r]:[]:ce.find.matches(e,ce.grep(t,function(e){return 1===e.nodeType}))},ce.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(ce(e).filter(function(){for(t=0;t<r;t++)if(ce.contains(i[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)ce.find(e,i[t],n);return 1<r?ce.uniqueSort(n):n},filter:function(e){return this.pushStack(T(this,e||[],!1))},not:function(e){return this.pushStack(T(this,e||[],!0))},is:function(e){return!!T(this,"string"==typeof e&&b.test(e)?ce(e):e||[],!1).length}});var k,S=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(ce.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||k,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:S.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof ce?t[0]:t,ce.merge(this,ce.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:C,!0)),w.test(r[1])&&ce.isPlainObject(t))for(r in t)v(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=C.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==n.ready?n.ready(e):e(ce):ce.makeArray(e,this)}).prototype=ce.fn,k=ce(C);var E=/^(?:parents|prev(?:Until|All))/,j={children:!0,contents:!0,next:!0,prev:!0};function A(e,t){while((e=e[t])&&1!==e.nodeType);return e}ce.fn.extend({has:function(e){var t=ce(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(ce.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&ce(e);if(!b.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?-1<a.index(n):1===n.nodeType&&ce.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(1<o.length?ce.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?se.call(ce(e),this[0]):se.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(ce.uniqueSort(ce.merge(this.get(),ce(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),ce.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return d(e,"parentNode")},parentsUntil:function(e,t,n){return d(e,"parentNode",n)},next:function(e){return A(e,"nextSibling")},prev:function(e){return A(e,"previousSibling")},nextAll:function(e){return d(e,"nextSibling")},prevAll:function(e){return d(e,"previousSibling")},nextUntil:function(e,t,n){return d(e,"nextSibling",n)},prevUntil:function(e,t,n){return d(e,"previousSibling",n)},siblings:function(e){return h((e.parentNode||{}).firstChild,e)},children:function(e){return h(e.firstChild)},contents:function(e){return null!=e.contentDocument&&r(e.contentDocument)?e.contentDocument:(fe(e,"template")&&(e=e.content||e),ce.merge([],e.childNodes))}},function(r,i){ce.fn[r]=function(e,t){var n=ce.map(this,i,e);return"Until"!==r.slice(-5)&&(t=e),t&&"string"==typeof t&&(n=ce.filter(t,n)),1<this.length&&(j[r]||ce.uniqueSort(n),E.test(r)&&n.reverse()),this.pushStack(n)}});var D=/[^\x20\t\r\n\f]+/g;function N(e){return e}function q(e){throw e}function L(e,t,n,r){var i;try{e&&v(i=e.promise)?i.call(e).done(t).fail(n):e&&v(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}ce.Callbacks=function(r){var e,n;r="string"==typeof r?(e=r,n={},ce.each(e.match(D)||[],function(e,t){n[t]=!0}),n):ce.extend({},r);var i,t,o,a,s=[],u=[],l=-1,c=function(){for(a=a||r.once,o=i=!0;u.length;l=-1){t=u.shift();while(++l<s.length)!1===s[l].apply(t[0],t[1])&&r.stopOnFalse&&(l=s.length,t=!1)}r.memory||(t=!1),i=!1,a&&(s=t?[]:"")},f={add:function(){return s&&(t&&!i&&(l=s.length-1,u.push(t)),function n(e){ce.each(e,function(e,t){v(t)?r.unique&&f.has(t)||s.push(t):t&&t.length&&"string"!==x(t)&&n(t)})}(arguments),t&&!i&&c()),this},remove:function(){return ce.each(arguments,function(e,t){var n;while(-1<(n=ce.inArray(t,s,n)))s.splice(n,1),n<=l&&l--}),this},has:function(e){return e?-1<ce.inArray(e,s):0<s.length},empty:function(){return s&&(s=[]),this},disable:function(){return a=u=[],s=t="",this},disabled:function(){return!s},lock:function(){return a=u=[],t||i||(s=t=""),this},locked:function(){return!!a},fireWith:function(e,t){return a||(t=[e,(t=t||[]).slice?t.slice():t],u.push(t),i||c()),this},fire:function(){return f.fireWith(this,arguments),this},fired:function(){return!!o}};return f},ce.extend({Deferred:function(e){var o=[["notify","progress",ce.Callbacks("memory"),ce.Callbacks("memory"),2],["resolve","done",ce.Callbacks("once memory"),ce.Callbacks("once memory"),0,"resolved"],["reject","fail",ce.Callbacks("once memory"),ce.Callbacks("once memory"),1,"rejected"]],i="pending",a={state:function(){return i},always:function(){return s.done(arguments).fail(arguments),this},"catch":function(e){return a.then(null,e)},pipe:function(){var i=arguments;return ce.Deferred(function(r){ce.each(o,function(e,t){var n=v(i[t[4]])&&i[t[4]];s[t[1]](function(){var e=n&&n.apply(this,arguments);e&&v(e.promise)?e.promise().progress(r.notify).done(r.resolve).fail(r.reject):r[t[0]+"With"](this,n?[e]:arguments)})}),i=null}).promise()},then:function(t,n,r){var u=0;function l(i,o,a,s){return function(){var n=this,r=arguments,e=function(){var e,t;if(!(i<u)){if((e=a.apply(n,r))===o.promise())throw new TypeError("Thenable self-resolution");t=e&&("object"==typeof e||"function"==typeof e)&&e.then,v(t)?s?t.call(e,l(u,o,N,s),l(u,o,q,s)):(u++,t.call(e,l(u,o,N,s),l(u,o,q,s),l(u,o,N,o.notifyWith))):(a!==N&&(n=void 0,r=[e]),(s||o.resolveWith)(n,r))}},t=s?e:function(){try{e()}catch(e){ce.Deferred.exceptionHook&&ce.Deferred.exceptionHook(e,t.error),u<=i+1&&(a!==q&&(n=void 0,r=[e]),o.rejectWith(n,r))}};i?t():(ce.Deferred.getErrorHook?t.error=ce.Deferred.getErrorHook():ce.Deferred.getStackHook&&(t.error=ce.Deferred.getStackHook()),ie.setTimeout(t))}}return ce.Deferred(function(e){o[0][3].add(l(0,e,v(r)?r:N,e.notifyWith)),o[1][3].add(l(0,e,v(t)?t:N)),o[2][3].add(l(0,e,v(n)?n:q))}).promise()},promise:function(e){return null!=e?ce.extend(e,a):a}},s={};return ce.each(o,function(e,t){var n=t[2],r=t[5];a[t[1]]=n.add,r&&n.add(function(){i=r},o[3-e][2].disable,o[3-e][3].disable,o[0][2].lock,o[0][3].lock),n.add(t[3].fire),s[t[0]]=function(){return s[t[0]+"With"](this===s?void 0:this,arguments),this},s[t[0]+"With"]=n.fireWith}),a.promise(s),e&&e.call(s,s),s},when:function(e){var n=arguments.length,t=n,r=Array(t),i=ae.call(arguments),o=ce.Deferred(),a=function(t){return function(e){r[t]=this,i[t]=1<arguments.length?ae.call(arguments):e,--n||o.resolveWith(r,i)}};if(n<=1&&(L(e,o.done(a(t)).resolve,o.reject,!n),"pending"===o.state()||v(i[t]&&i[t].then)))return o.then();while(t--)L(i[t],a(t),o.reject);return o.promise()}});var H=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;ce.Deferred.exceptionHook=function(e,t){ie.console&&ie.console.warn&&e&&H.test(e.name)&&ie.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},ce.readyException=function(e){ie.setTimeout(function(){throw e})};var O=ce.Deferred();function P(){C.removeEventListener("DOMContentLoaded",P),ie.removeEventListener("load",P),ce.ready()}ce.fn.ready=function(e){return O.then(e)["catch"](function(e){ce.readyException(e)}),this},ce.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--ce.readyWait:ce.isReady)||(ce.isReady=!0)!==e&&0<--ce.readyWait||O.resolveWith(C,[ce])}}),ce.ready.then=O.then,"complete"===C.readyState||"loading"!==C.readyState&&!C.documentElement.doScroll?ie.setTimeout(ce.ready):(C.addEventListener("DOMContentLoaded",P),ie.addEventListener("load",P));var M=function(e,t,n,r,i,o,a){var s=0,u=e.length,l=null==n;if("object"===x(n))for(s in i=!0,n)M(e,t,s,n[s],!0,o,a);else if(void 0!==r&&(i=!0,v(r)||(a=!0),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(ce(e),n)})),t))for(;s<u;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:l?t.call(e):u?t(e[0],n):o},R=/^-ms-/,I=/-([a-z])/g;function W(e,t){return t.toUpperCase()}function F(e){return e.replace(R,"ms-").replace(I,W)}var $=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function B(){this.expando=ce.expando+B.uid++}B.uid=1,B.prototype={cache:function(e){var t=e[this.expando];return t||(t={},$(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[F(t)]=n;else for(r in t)i[F(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][F(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(F):(t=F(t))in r?[t]:t.match(D)||[]).length;while(n--)delete r[t[n]]}(void 0===t||ce.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!ce.isEmptyObject(t)}};var _=new B,z=new B,X=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,U=/[A-Z]/g;function V(e,t,n){var r,i;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(U,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n="true"===(i=n)||"false"!==i&&("null"===i?null:i===+i+""?+i:X.test(i)?JSON.parse(i):i)}catch(e){}z.set(e,t,n)}else n=void 0;return n}ce.extend({hasData:function(e){return z.hasData(e)||_.hasData(e)},data:function(e,t,n){return z.access(e,t,n)},removeData:function(e,t){z.remove(e,t)},_data:function(e,t,n){return _.access(e,t,n)},_removeData:function(e,t){_.remove(e,t)}}),ce.fn.extend({data:function(n,e){var t,r,i,o=this[0],a=o&&o.attributes;if(void 0===n){if(this.length&&(i=z.get(o),1===o.nodeType&&!_.get(o,"hasDataAttrs"))){t=a.length;while(t--)a[t]&&0===(r=a[t].name).indexOf("data-")&&(r=F(r.slice(5)),V(o,r,i[r]));_.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof n?this.each(function(){z.set(this,n)}):M(this,function(e){var t;if(o&&void 0===e)return void 0!==(t=z.get(o,n))?t:void 0!==(t=V(o,n))?t:void 0;this.each(function(){z.set(this,n,e)})},null,e,1<arguments.length,null,!0)},removeData:function(e){return this.each(function(){z.remove(this,e)})}}),ce.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=_.get(e,t),n&&(!r||Array.isArray(n)?r=_.access(e,t,ce.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=ce.queue(e,t),r=n.length,i=n.shift(),o=ce._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,function(){ce.dequeue(e,t)},o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return _.get(e,n)||_.access(e,n,{empty:ce.Callbacks("once memory").add(function(){_.remove(e,[t+"queue",n])})})}}),ce.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?ce.queue(this[0],t):void 0===n?this:this.each(function(){var e=ce.queue(this,t,n);ce._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&ce.dequeue(this,t)})},dequeue:function(e){return this.each(function(){ce.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=ce.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};"string"!=typeof e&&(t=e,e=void 0),e=e||"fx";while(a--)(n=_.get(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var G=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Y=new RegExp("^(?:([+-])=|)("+G+")([a-z%]*)$","i"),Q=["Top","Right","Bottom","Left"],J=C.documentElement,K=function(e){return ce.contains(e.ownerDocument,e)},Z={composed:!0};J.getRootNode&&(K=function(e){return ce.contains(e.ownerDocument,e)||e.getRootNode(Z)===e.ownerDocument});var ee=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&K(e)&&"none"===ce.css(e,"display")};function te(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return ce.css(e,t,"")},u=s(),l=n&&n[3]||(ce.cssNumber[t]?"":"px"),c=e.nodeType&&(ce.cssNumber[t]||"px"!==l&&+u)&&Y.exec(ce.css(e,t));if(c&&c[3]!==l){u/=2,l=l||c[3],c=+u||1;while(a--)ce.style(e,t,c+l),(1-o)*(1-(o=s()/u||.5))<=0&&(a=0),c/=o;c*=2,ce.style(e,t,c+l),n=n||[]}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}var ne={};function re(e,t){for(var n,r,i,o,a,s,u,l=[],c=0,f=e.length;c<f;c++)(r=e[c]).style&&(n=r.style.display,t?("none"===n&&(l[c]=_.get(r,"display")||null,l[c]||(r.style.display="")),""===r.style.display&&ee(r)&&(l[c]=(u=a=o=void 0,a=(i=r).ownerDocument,s=i.nodeName,(u=ne[s])||(o=a.body.appendChild(a.createElement(s)),u=ce.css(o,"display"),o.parentNode.removeChild(o),"none"===u&&(u="block"),ne[s]=u)))):"none"!==n&&(l[c]="none",_.set(r,"display",n)));for(c=0;c<f;c++)null!=l[c]&&(e[c].style.display=l[c]);return e}ce.fn.extend({show:function(){return re(this,!0)},hide:function(){return re(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ee(this)?ce(this).show():ce(this).hide()})}});var xe,be,we=/^(?:checkbox|radio)$/i,Te=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Ce=/^$|^module$|\/(?:java|ecma)script/i;xe=C.createDocumentFragment().appendChild(C.createElement("div")),(be=C.createElement("input")).setAttribute("type","radio"),be.setAttribute("checked","checked"),be.setAttribute("name","t"),xe.appendChild(be),le.checkClone=xe.cloneNode(!0).cloneNode(!0).lastChild.checked,xe.innerHTML="<textarea>x</textarea>",le.noCloneChecked=!!xe.cloneNode(!0).lastChild.defaultValue,xe.innerHTML="<option></option>",le.option=!!xe.lastChild;var ke={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,"",""]};function Se(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&fe(e,t)?ce.merge([e],n):n}function Ee(e,t){for(var n=0,r=e.length;n<r;n++)_.set(e[n],"globalEval",!t||_.get(t[n],"globalEval"))}ke.tbody=ke.tfoot=ke.colgroup=ke.caption=ke.thead,ke.th=ke.td,le.option||(ke.optgroup=ke.option=[1,"<select multiple='multiple'>","</select>"]);var je=/<|&#?\w+;/;function Ae(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d<h;d++)if((o=e[d])||0===o)if("object"===x(o))ce.merge(p,o.nodeType?[o]:o);else if(je.test(o)){a=a||f.appendChild(t.createElement("div")),s=(Te.exec(o)||["",""])[1].toLowerCase(),u=ke[s]||ke._default,a.innerHTML=u[1]+ce.htmlPrefilter(o)+u[2],c=u[0];while(c--)a=a.lastChild;ce.merge(p,a.childNodes),(a=f.firstChild).textContent=""}else p.push(t.createTextNode(o));f.textContent="",d=0;while(o=p[d++])if(r&&-1<ce.inArray(o,r))i&&i.push(o);else if(l=K(o),a=Se(f.appendChild(o),"script"),l&&Ee(a),n){c=0;while(o=a[c++])Ce.test(o.type||"")&&n.push(o)}return f}var De=/^([^.]*)(?:\.(.+)|)/;function Ne(){return!0}function qe(){return!1}function Le(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Le(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=qe;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return ce().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=ce.guid++)),e.each(function(){ce.event.add(this,t,i,r,n)})}function He(e,r,t){t?(_.set(e,r,!1),ce.event.add(e,r,{namespace:!1,handler:function(e){var t,n=_.get(this,r);if(1&e.isTrigger&&this[r]){if(n)(ce.event.special[r]||{}).delegateType&&e.stopPropagation();else if(n=ae.call(arguments),_.set(this,r,n),this[r](),t=_.get(this,r),_.set(this,r,!1),n!==t)return e.stopImmediatePropagation(),e.preventDefault(),t}else n&&(_.set(this,r,ce.event.trigger(n[0],n.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=Ne)}})):void 0===_.get(e,r)&&ce.event.add(e,r,Ne)}ce.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=_.get(t);if($(t)){n.handler&&(n=(o=n).handler,i=o.selector),i&&ce.find.matchesSelector(J,i),n.guid||(n.guid=ce.guid++),(u=v.events)||(u=v.events=Object.create(null)),(a=v.handle)||(a=v.handle=function(e){return"undefined"!=typeof ce&&ce.event.triggered!==e.type?ce.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(D)||[""]).length;while(l--)d=g=(s=De.exec(e[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=ce.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=ce.event.special[d]||{},c=ce.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&ce.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),ce.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=_.hasData(e)&&_.get(e);if(v&&(u=v.events)){l=(t=(t||"").match(D)||[""]).length;while(l--)if(d=g=(s=De.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){f=ce.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||ce.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)ce.event.remove(e,d+t[l],n,r,!0);ce.isEmptyObject(u)&&_.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=new Array(arguments.length),u=ce.event.fix(e),l=(_.get(this,"events")||Object.create(null))[u.type]||[],c=ce.event.special[u.type]||{};for(s[0]=u,t=1;t<arguments.length;t++)s[t]=arguments[t];if(u.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,u)){a=ce.event.handlers.call(this,u,l),t=0;while((i=a[t++])&&!u.isPropagationStopped()){u.currentTarget=i.elem,n=0;while((o=i.handlers[n++])&&!u.isImmediatePropagationStopped())u.rnamespace&&!1!==o.namespace&&!u.rnamespace.test(o.namespace)||(u.handleObj=o,u.data=o.data,void 0!==(r=((ce.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,s))&&!1===(u.result=r)&&(u.preventDefault(),u.stopPropagation()))}return c.postDispatch&&c.postDispatch.call(this,u),u.result}},handlers:function(e,t){var n,r,i,o,a,s=[],u=t.delegateCount,l=e.target;if(u&&l.nodeType&&!("click"===e.type&&1<=e.button))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(o=[],a={},n=0;n<u;n++)void 0===a[i=(r=t[n]).selector+" "]&&(a[i]=r.needsContext?-1<ce(i,this).index(l):ce.find(i,this,null,[l]).length),a[i]&&o.push(r);o.length&&s.push({elem:l,handlers:o})}return l=this,u<t.length&&s.push({elem:l,handlers:t.slice(u)}),s},addProp:function(t,e){Object.defineProperty(ce.Event.prototype,t,{enumerable:!0,configurable:!0,get:v(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(e){return e[ce.expando]?e:new ce.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return we.test(t.type)&&t.click&&fe(t,"input")&&He(t,"click",!0),!1},trigger:function(e){var t=this||e;return we.test(t.type)&&t.click&&fe(t,"input")&&He(t,"click"),!0},_default:function(e){var t=e.target;return we.test(t.type)&&t.click&&fe(t,"input")&&_.get(t,"click")||fe(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},ce.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},ce.Event=function(e,t){if(!(this instanceof ce.Event))return new ce.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Ne:qe,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&ce.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[ce.expando]=!0},ce.Event.prototype={constructor:ce.Event,isDefaultPrevented:qe,isPropagationStopped:qe,isImmediatePropagationStopped:qe,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Ne,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Ne,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Ne,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},ce.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,code:!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:!0},ce.event.addProp),ce.each({focus:"focusin",blur:"focusout"},function(r,i){function o(e){if(C.documentMode){var t=_.get(this,"handle"),n=ce.event.fix(e);n.type="focusin"===e.type?"focus":"blur",n.isSimulated=!0,t(e),n.target===n.currentTarget&&t(n)}else ce.event.simulate(i,e.target,ce.event.fix(e))}ce.event.special[r]={setup:function(){var e;if(He(this,r,!0),!C.documentMode)return!1;(e=_.get(this,i))||this.addEventListener(i,o),_.set(this,i,(e||0)+1)},trigger:function(){return He(this,r),!0},teardown:function(){var e;if(!C.documentMode)return!1;(e=_.get(this,i)-1)?_.set(this,i,e):(this.removeEventListener(i,o),_.remove(this,i))},_default:function(e){return _.get(e.target,r)},delegateType:i},ce.event.special[i]={setup:function(){var e=this.ownerDocument||this.document||this,t=C.documentMode?this:e,n=_.get(t,i);n||(C.documentMode?this.addEventListener(i,o):e.addEventListener(r,o,!0)),_.set(t,i,(n||0)+1)},teardown:function(){var e=this.ownerDocument||this.document||this,t=C.documentMode?this:e,n=_.get(t,i)-1;n?_.set(t,i,n):(C.documentMode?this.removeEventListener(i,o):e.removeEventListener(r,o,!0),_.remove(t,i))}}}),ce.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,i){ce.event.special[e]={delegateType:i,bindType:i,handle:function(e){var t,n=e.relatedTarget,r=e.handleObj;return n&&(n===this||ce.contains(this,n))||(e.type=r.origType,t=r.handler.apply(this,arguments),e.type=i),t}}}),ce.fn.extend({on:function(e,t,n,r){return Le(this,e,t,n,r)},one:function(e,t,n,r){return Le(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,ce(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=qe),this.each(function(){ce.event.remove(this,e,n,t)})}});var Oe=/<script|<style|<link/i,Pe=/checked\s*(?:[^=]|=\s*.checked.)/i,Me=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Re(e,t){return fe(e,"table")&&fe(11!==t.nodeType?t:t.firstChild,"tr")&&ce(e).children("tbody")[0]||e}function Ie(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function We(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Fe(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(_.hasData(e)&&(s=_.get(e).events))for(i in _.remove(t,"handle events"),s)for(n=0,r=s[i].length;n<r;n++)ce.event.add(t,i,s[i][n]);z.hasData(e)&&(o=z.access(e),a=ce.extend({},o),z.set(t,a))}}function $e(n,r,i,o){r=g(r);var e,t,a,s,u,l,c=0,f=n.length,p=f-1,d=r[0],h=v(d);if(h||1<f&&"string"==typeof d&&!le.checkClone&&Pe.test(d))return n.each(function(e){var t=n.eq(e);h&&(r[0]=d.call(this,e,t.html())),$e(t,r,i,o)});if(f&&(t=(e=Ae(r,n[0].ownerDocument,!1,n,o)).firstChild,1===e.childNodes.length&&(e=t),t||o)){for(s=(a=ce.map(Se(e,"script"),Ie)).length;c<f;c++)u=e,c!==p&&(u=ce.clone(u,!0,!0),s&&ce.merge(a,Se(u,"script"))),i.call(n[c],u,c);if(s)for(l=a[a.length-1].ownerDocument,ce.map(a,We),c=0;c<s;c++)u=a[c],Ce.test(u.type||"")&&!_.access(u,"globalEval")&&ce.contains(l,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?ce._evalUrl&&!u.noModule&&ce._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")},l):m(u.textContent.replace(Me,""),u,l))}return n}function Be(e,t,n){for(var r,i=t?ce.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||ce.cleanData(Se(r)),r.parentNode&&(n&&K(r)&&Ee(Se(r,"script")),r.parentNode.removeChild(r));return e}ce.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,i,o,a,s,u,l,c=e.cloneNode(!0),f=K(e);if(!(le.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||ce.isXMLDoc(e)))for(a=Se(c),r=0,i=(o=Se(e)).length;r<i;r++)s=o[r],u=a[r],void 0,"input"===(l=u.nodeName.toLowerCase())&&we.test(s.type)?u.checked=s.checked:"input"!==l&&"textarea"!==l||(u.defaultValue=s.defaultValue);if(t)if(n)for(o=o||Se(e),a=a||Se(c),r=0,i=o.length;r<i;r++)Fe(o[r],a[r]);else Fe(e,c);return 0<(a=Se(c,"script")).length&&Ee(a,!f&&Se(e,"script")),c},cleanData:function(e){for(var t,n,r,i=ce.event.special,o=0;void 0!==(n=e[o]);o++)if($(n)){if(t=n[_.expando]){if(t.events)for(r in t.events)i[r]?ce.event.remove(n,r):ce.removeEvent(n,r,t.handle);n[_.expando]=void 0}n[z.expando]&&(n[z.expando]=void 0)}}}),ce.fn.extend({detach:function(e){return Be(this,e,!0)},remove:function(e){return Be(this,e)},text:function(e){return M(this,function(e){return void 0===e?ce.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return $e(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Re(this,e).appendChild(e)})},prepend:function(){return $e(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Re(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return $e(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return $e(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(ce.cleanData(Se(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return ce.clone(this,e,t)})},html:function(e){return M(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Oe.test(e)&&!ke[(Te.exec(e)||["",""])[1].toLowerCase()]){e=ce.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(ce.cleanData(Se(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var n=[];return $e(this,arguments,function(e){var t=this.parentNode;ce.inArray(this,n)<0&&(ce.cleanData(Se(this)),t&&t.replaceChild(e,this))},n)}}),ce.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,a){ce.fn[e]=function(e){for(var t,n=[],r=ce(e),i=r.length-1,o=0;o<=i;o++)t=o===i?this:this.clone(!0),ce(r[o])[a](t),s.apply(n,t.get());return this.pushStack(n)}});var _e=new RegExp("^("+G+")(?!px)[a-z%]+$","i"),ze=/^--/,Xe=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=ie),t.getComputedStyle(e)},Ue=function(e,t,n){var r,i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];for(i in r=n.call(e),t)e.style[i]=o[i];return r},Ve=new RegExp(Q.join("|"),"i");function Ge(e,t,n){var r,i,o,a,s=ze.test(t),u=e.style;return(n=n||Xe(e))&&(a=n.getPropertyValue(t)||n[t],s&&a&&(a=a.replace(ve,"$1")||void 0),""!==a||K(e)||(a=ce.style(e,t)),!le.pixelBoxStyles()&&_e.test(a)&&Ve.test(t)&&(r=u.width,i=u.minWidth,o=u.maxWidth,u.minWidth=u.maxWidth=u.width=a,a=n.width,u.width=r,u.minWidth=i,u.maxWidth=o)),void 0!==a?a+"":a}function Ye(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(l){u.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",l.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",J.appendChild(u).appendChild(l);var e=ie.getComputedStyle(l);n="1%"!==e.top,s=12===t(e.marginLeft),l.style.right="60%",o=36===t(e.right),r=36===t(e.width),l.style.position="absolute",i=12===t(l.offsetWidth/3),J.removeChild(u),l=null}}function t(e){return Math.round(parseFloat(e))}var n,r,i,o,a,s,u=C.createElement("div"),l=C.createElement("div");l.style&&(l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",le.clearCloneStyle="content-box"===l.style.backgroundClip,ce.extend(le,{boxSizingReliable:function(){return e(),r},pixelBoxStyles:function(){return e(),o},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),s},scrollboxSize:function(){return e(),i},reliableTrDimensions:function(){var e,t,n,r;return null==a&&(e=C.createElement("table"),t=C.createElement("tr"),n=C.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="box-sizing:content-box;border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",J.appendChild(e).appendChild(t).appendChild(n),r=ie.getComputedStyle(t),a=parseInt(r.height,10)+parseInt(r.borderTopWidth,10)+parseInt(r.borderBottomWidth,10)===t.offsetHeight,J.removeChild(e)),a}}))}();var Qe=["Webkit","Moz","ms"],Je=C.createElement("div").style,Ke={};function Ze(e){var t=ce.cssProps[e]||Ke[e];return t||(e in Je?e:Ke[e]=function(e){var t=e[0].toUpperCase()+e.slice(1),n=Qe.length;while(n--)if((e=Qe[n]+t)in Je)return e}(e)||e)}var et=/^(none|table(?!-c[ea]).+)/,tt={position:"absolute",visibility:"hidden",display:"block"},nt={letterSpacing:"0",fontWeight:"400"};function rt(e,t,n){var r=Y.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function it(e,t,n,r,i,o){var a="width"===t?1:0,s=0,u=0,l=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(l+=ce.css(e,n+Q[a],!0,i)),r?("content"===n&&(u-=ce.css(e,"padding"+Q[a],!0,i)),"margin"!==n&&(u-=ce.css(e,"border"+Q[a]+"Width",!0,i))):(u+=ce.css(e,"padding"+Q[a],!0,i),"padding"!==n?u+=ce.css(e,"border"+Q[a]+"Width",!0,i):s+=ce.css(e,"border"+Q[a]+"Width",!0,i));return!r&&0<=o&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-.5))||0),u+l}function ot(e,t,n){var r=Xe(e),i=(!le.boxSizingReliable()||n)&&"border-box"===ce.css(e,"boxSizing",!1,r),o=i,a=Ge(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(_e.test(a)){if(!n)return a;a="auto"}return(!le.boxSizingReliable()&&i||!le.reliableTrDimensions()&&fe(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===ce.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===ce.css(e,"boxSizing",!1,r),(o=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+it(e,t,n||(i?"border":"content"),o,r,a)+"px"}function at(e,t,n,r,i){return new at.prototype.init(e,t,n,r,i)}ce.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ge(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=F(t),u=ze.test(t),l=e.style;if(u||(t=Ze(s)),a=ce.cssHooks[t]||ce.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:l[t];"string"===(o=typeof n)&&(i=Y.exec(n))&&i[1]&&(n=te(e,t,i),o="number"),null!=n&&n==n&&("number"!==o||u||(n+=i&&i[3]||(ce.cssNumber[s]?"":"px")),le.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var i,o,a,s=F(t);return ze.test(t)||(t=Ze(s)),(a=ce.cssHooks[t]||ce.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=Ge(e,t,r)),"normal"===i&&t in nt&&(i=nt[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),ce.each(["height","width"],function(e,u){ce.cssHooks[u]={get:function(e,t,n){if(t)return!et.test(ce.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?ot(e,u,n):Ue(e,tt,function(){return ot(e,u,n)})},set:function(e,t,n){var r,i=Xe(e),o=!le.scrollboxSize()&&"absolute"===i.position,a=(o||n)&&"border-box"===ce.css(e,"boxSizing",!1,i),s=n?it(e,u,n,a,i):0;return a&&o&&(s-=Math.ceil(e["offset"+u[0].toUpperCase()+u.slice(1)]-parseFloat(i[u])-it(e,u,"border",!1,i)-.5)),s&&(r=Y.exec(t))&&"px"!==(r[3]||"px")&&(e.style[u]=t,t=ce.css(e,u)),rt(0,t,s)}}}),ce.cssHooks.marginLeft=Ye(le.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Ge(e,"marginLeft"))||e.getBoundingClientRect().left-Ue(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),ce.each({margin:"",padding:"",border:"Width"},function(i,o){ce.cssHooks[i+o]={expand:function(e){for(var t=0,n={},r="string"==typeof e?e.split(" "):[e];t<4;t++)n[i+Q[t]+o]=r[t]||r[t-2]||r[0];return n}},"margin"!==i&&(ce.cssHooks[i+o].set=rt)}),ce.fn.extend({css:function(e,t){return M(this,function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=Xe(e),i=t.length;a<i;a++)o[t[a]]=ce.css(e,t[a],!1,r);return o}return void 0!==n?ce.style(e,t,n):ce.css(e,t)},e,t,1<arguments.length)}}),((ce.Tween=at).prototype={constructor:at,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||ce.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(ce.cssNumber[n]?"":"px")},cur:function(){var e=at.propHooks[this.prop];return e&&e.get?e.get(this):at.propHooks._default.get(this)},run:function(e){var t,n=at.propHooks[this.prop];return this.options.duration?this.pos=t=ce.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):at.propHooks._default.set(this),this}}).init.prototype=at.prototype,(at.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=ce.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){ce.fx.step[e.prop]?ce.fx.step[e.prop](e):1!==e.elem.nodeType||!ce.cssHooks[e.prop]&&null==e.elem.style[Ze(e.prop)]?e.elem[e.prop]=e.now:ce.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=at.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},ce.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},ce.fx=at.prototype.init,ce.fx.step={};var st,ut,lt,ct,ft=/^(?:toggle|show|hide)$/,pt=/queueHooks$/;function dt(){ut&&(!1===C.hidden&&ie.requestAnimationFrame?ie.requestAnimationFrame(dt):ie.setTimeout(dt,ce.fx.interval),ce.fx.tick())}function ht(){return ie.setTimeout(function(){st=void 0}),st=Date.now()}function gt(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=Q[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function vt(e,t,n){for(var r,i=(yt.tweeners[t]||[]).concat(yt.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function yt(o,e,t){var n,a,r=0,i=yt.prefilters.length,s=ce.Deferred().always(function(){delete u.elem}),u=function(){if(a)return!1;for(var e=st||ht(),t=Math.max(0,l.startTime+l.duration-e),n=1-(t/l.duration||0),r=0,i=l.tweens.length;r<i;r++)l.tweens[r].run(n);return s.notifyWith(o,[l,n,t]),n<1&&i?t:(i||s.notifyWith(o,[l,1,0]),s.resolveWith(o,[l]),!1)},l=s.promise({elem:o,props:ce.extend({},e),opts:ce.extend(!0,{specialEasing:{},easing:ce.easing._default},t),originalProperties:e,originalOptions:t,startTime:st||ht(),duration:t.duration,tweens:[],createTween:function(e,t){var n=ce.Tween(o,l.opts,e,t,l.opts.specialEasing[e]||l.opts.easing);return l.tweens.push(n),n},stop:function(e){var t=0,n=e?l.tweens.length:0;if(a)return this;for(a=!0;t<n;t++)l.tweens[t].run(1);return e?(s.notifyWith(o,[l,1,0]),s.resolveWith(o,[l,e])):s.rejectWith(o,[l,e]),this}}),c=l.props;for(!function(e,t){var n,r,i,o,a;for(n in e)if(i=t[r=F(n)],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=ce.cssHooks[r])&&"expand"in a)for(n in o=a.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}(c,l.opts.specialEasing);r<i;r++)if(n=yt.prefilters[r].call(l,o,c,l.opts))return v(n.stop)&&(ce._queueHooks(l.elem,l.opts.queue).stop=n.stop.bind(n)),n;return ce.map(c,vt,l),v(l.opts.start)&&l.opts.start.call(o,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),ce.fx.timer(ce.extend(u,{elem:o,anim:l,queue:l.opts.queue})),l}ce.Animation=ce.extend(yt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return te(n.elem,e,Y.exec(t),n),n}]},tweener:function(e,t){v(e)?(t=e,e=["*"]):e=e.match(D);for(var n,r=0,i=e.length;r<i;r++)n=e[r],yt.tweeners[n]=yt.tweeners[n]||[],yt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,i,o,a,s,u,l,c,f="width"in t||"height"in t,p=this,d={},h=e.style,g=e.nodeType&&ee(e),v=_.get(e,"fxshow");for(r in n.queue||(null==(a=ce._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,p.always(function(){p.always(function(){a.unqueued--,ce.queue(e,"fx").length||a.empty.fire()})})),t)if(i=t[r],ft.test(i)){if(delete t[r],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!v||void 0===v[r])continue;g=!0}d[r]=v&&v[r]||ce.style(e,r)}if((u=!ce.isEmptyObject(t))||!ce.isEmptyObject(d))for(r in f&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(l=v&&v.display)&&(l=_.get(e,"display")),"none"===(c=ce.css(e,"display"))&&(l?c=l:(re([e],!0),l=e.style.display||l,c=ce.css(e,"display"),re([e]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===ce.css(e,"float")&&(u||(p.done(function(){h.display=l}),null==l&&(c=h.display,l="none"===c?"":c)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",p.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),u=!1,d)u||(v?"hidden"in v&&(g=v.hidden):v=_.access(e,"fxshow",{display:l}),o&&(v.hidden=!g),g&&re([e],!0),p.done(function(){for(r in g||re([e]),_.remove(e,"fxshow"),d)ce.style(e,r,d[r])})),u=vt(g?v[r]:0,r,p),r in v||(v[r]=u.start,g&&(u.end=u.start,u.start=0))}],prefilter:function(e,t){t?yt.prefilters.unshift(e):yt.prefilters.push(e)}}),ce.speed=function(e,t,n){var r=e&&"object"==typeof e?ce.extend({},e):{complete:n||!n&&t||v(e)&&e,duration:e,easing:n&&t||t&&!v(t)&&t};return ce.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in ce.fx.speeds?r.duration=ce.fx.speeds[r.duration]:r.duration=ce.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){v(r.old)&&r.old.call(this),r.queue&&ce.dequeue(this,r.queue)},r},ce.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ee).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(t,e,n,r){var i=ce.isEmptyObject(t),o=ce.speed(e,n,r),a=function(){var e=yt(this,ce.extend({},t),o);(i||_.get(this,"finish"))&&e.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(i,e,o){var a=function(e){var t=e.stop;delete e.stop,t(o)};return"string"!=typeof i&&(o=e,e=i,i=void 0),e&&this.queue(i||"fx",[]),this.each(function(){var e=!0,t=null!=i&&i+"queueHooks",n=ce.timers,r=_.get(this);if(t)r[t]&&r[t].stop&&a(r[t]);else for(t in r)r[t]&&r[t].stop&&pt.test(t)&&a(r[t]);for(t=n.length;t--;)n[t].elem!==this||null!=i&&n[t].queue!==i||(n[t].anim.stop(o),e=!1,n.splice(t,1));!e&&o||ce.dequeue(this,i)})},finish:function(a){return!1!==a&&(a=a||"fx"),this.each(function(){var e,t=_.get(this),n=t[a+"queue"],r=t[a+"queueHooks"],i=ce.timers,o=n?n.length:0;for(t.finish=!0,ce.queue(this,a,[]),r&&r.stop&&r.stop.call(this,!0),e=i.length;e--;)i[e].elem===this&&i[e].queue===a&&(i[e].anim.stop(!0),i.splice(e,1));for(e=0;e<o;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete t.finish})}}),ce.each(["toggle","show","hide"],function(e,r){var i=ce.fn[r];ce.fn[r]=function(e,t,n){return null==e||"boolean"==typeof e?i.apply(this,arguments):this.animate(gt(r,!0),e,t,n)}}),ce.each({slideDown:gt("show"),slideUp:gt("hide"),slideToggle:gt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,r){ce.fn[e]=function(e,t,n){return this.animate(r,e,t,n)}}),ce.timers=[],ce.fx.tick=function(){var e,t=0,n=ce.timers;for(st=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||ce.fx.stop(),st=void 0},ce.fx.timer=function(e){ce.timers.push(e),ce.fx.start()},ce.fx.interval=13,ce.fx.start=function(){ut||(ut=!0,dt())},ce.fx.stop=function(){ut=null},ce.fx.speeds={slow:600,fast:200,_default:400},ce.fn.delay=function(r,e){return r=ce.fx&&ce.fx.speeds[r]||r,e=e||"fx",this.queue(e,function(e,t){var n=ie.setTimeout(e,r);t.stop=function(){ie.clearTimeout(n)}})},lt=C.createElement("input"),ct=C.createElement("select").appendChild(C.createElement("option")),lt.type="checkbox",le.checkOn=""!==lt.value,le.optSelected=ct.selected,(lt=C.createElement("input")).value="t",lt.type="radio",le.radioValue="t"===lt.value;var mt,xt=ce.expr.attrHandle;ce.fn.extend({attr:function(e,t){return M(this,ce.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){ce.removeAttr(this,e)})}}),ce.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof e.getAttribute?ce.prop(e,t,n):(1===o&&ce.isXMLDoc(e)||(i=ce.attrHooks[t.toLowerCase()]||(ce.expr.match.bool.test(t)?mt:void 0)),void 0!==n?null===n?void ce.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=ce.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!le.radioValue&&"radio"===t&&fe(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(D);if(i&&1===e.nodeType)while(n=i[r++])e.removeAttribute(n)}}),mt={set:function(e,t,n){return!1===t?ce.removeAttr(e,n):e.setAttribute(n,n),n}},ce.each(ce.expr.match.bool.source.match(/\w+/g),function(e,t){var a=xt[t]||ce.find.attr;xt[t]=function(e,t,n){var r,i,o=t.toLowerCase();return n||(i=xt[o],xt[o]=r,r=null!=a(e,t,n)?o:null,xt[o]=i),r}});var bt=/^(?:input|select|textarea|button)$/i,wt=/^(?:a|area)$/i;function Tt(e){return(e.match(D)||[]).join(" ")}function Ct(e){return e.getAttribute&&e.getAttribute("class")||""}function kt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(D)||[]}ce.fn.extend({prop:function(e,t){return M(this,ce.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[ce.propFix[e]||e]})}}),ce.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&ce.isXMLDoc(e)||(t=ce.propFix[t]||t,i=ce.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=ce.find.attr(e,"tabindex");return t?parseInt(t,10):bt.test(e.nodeName)||wt.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),le.optSelected||(ce.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),ce.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){ce.propFix[this.toLowerCase()]=this}),ce.fn.extend({addClass:function(t){var e,n,r,i,o,a;return v(t)?this.each(function(e){ce(this).addClass(t.call(this,e,Ct(this)))}):(e=kt(t)).length?this.each(function(){if(r=Ct(this),n=1===this.nodeType&&" "+Tt(r)+" "){for(o=0;o<e.length;o++)i=e[o],n.indexOf(" "+i+" ")<0&&(n+=i+" ");a=Tt(n),r!==a&&this.setAttribute("class",a)}}):this},removeClass:function(t){var e,n,r,i,o,a;return v(t)?this.each(function(e){ce(this).removeClass(t.call(this,e,Ct(this)))}):arguments.length?(e=kt(t)).length?this.each(function(){if(r=Ct(this),n=1===this.nodeType&&" "+Tt(r)+" "){for(o=0;o<e.length;o++){i=e[o];while(-1<n.indexOf(" "+i+" "))n=n.replace(" "+i+" "," ")}a=Tt(n),r!==a&&this.setAttribute("class",a)}}):this:this.attr("class","")},toggleClass:function(t,n){var e,r,i,o,a=typeof t,s="string"===a||Array.isArray(t);return v(t)?this.each(function(e){ce(this).toggleClass(t.call(this,e,Ct(this),n),n)}):"boolean"==typeof n&&s?n?this.addClass(t):this.removeClass(t):(e=kt(t),this.each(function(){if(s)for(o=ce(this),i=0;i<e.length;i++)r=e[i],o.hasClass(r)?o.removeClass(r):o.addClass(r);else void 0!==t&&"boolean"!==a||((r=Ct(this))&&_.set(this,"__className__",r),this.setAttribute&&this.setAttribute("class",r||!1===t?"":_.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,r=0;t=" "+e+" ";while(n=this[r++])if(1===n.nodeType&&-1<(" "+Tt(Ct(n))+" ").indexOf(t))return!0;return!1}});var St=/\r/g;ce.fn.extend({val:function(n){var r,e,i,t=this[0];return arguments.length?(i=v(n),this.each(function(e){var t;1===this.nodeType&&(null==(t=i?n.call(this,e,ce(this).val()):n)?t="":"number"==typeof t?t+="":Array.isArray(t)&&(t=ce.map(t,function(e){return null==e?"":e+""})),(r=ce.valHooks[this.type]||ce.valHooks[this.nodeName.toLowerCase()])&&"set"in r&&void 0!==r.set(this,t,"value")||(this.value=t))})):t?(r=ce.valHooks[t.type]||ce.valHooks[t.nodeName.toLowerCase()])&&"get"in r&&void 0!==(e=r.get(t,"value"))?e:"string"==typeof(e=t.value)?e.replace(St,""):null==e?"":e:void 0}}),ce.extend({valHooks:{option:{get:function(e){var t=ce.find.attr(e,"value");return null!=t?t:Tt(ce.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?o+1:i.length;for(r=o<0?u:a?o:0;r<u;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!fe(n.parentNode,"optgroup"))){if(t=ce(n).val(),a)return t;s.push(t)}return s},set:function(e,t){var n,r,i=e.options,o=ce.makeArray(t),a=i.length;while(a--)((r=i[a]).selected=-1<ce.inArray(ce.valHooks.option.get(r),o))&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),ce.each(["radio","checkbox"],function(){ce.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<ce.inArray(ce(e).val(),t)}},le.checkOn||(ce.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Et=ie.location,jt={guid:Date.now()},At=/\?/;ce.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new ie.DOMParser).parseFromString(e,"text/xml")}catch(e){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||ce.error("Invalid XML: "+(n?ce.map(n.childNodes,function(e){return e.textContent}).join("\n"):e)),t};var Dt=/^(?:focusinfocus|focusoutblur)$/,Nt=function(e){e.stopPropagation()};ce.extend(ce.event,{trigger:function(e,t,n,r){var i,o,a,s,u,l,c,f,p=[n||C],d=ue.call(e,"type")?e.type:e,h=ue.call(e,"namespace")?e.namespace.split("."):[];if(o=f=a=n=n||C,3!==n.nodeType&&8!==n.nodeType&&!Dt.test(d+ce.event.triggered)&&(-1<d.indexOf(".")&&(d=(h=d.split(".")).shift(),h.sort()),u=d.indexOf(":")<0&&"on"+d,(e=e[ce.expando]?e:new ce.Event(d,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=h.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:ce.makeArray(t,[e]),c=ce.event.special[d]||{},r||!c.trigger||!1!==c.trigger.apply(n,t))){if(!r&&!c.noBubble&&!y(n)){for(s=c.delegateType||d,Dt.test(s+d)||(o=o.parentNode);o;o=o.parentNode)p.push(o),a=o;a===(n.ownerDocument||C)&&p.push(a.defaultView||a.parentWindow||ie)}i=0;while((o=p[i++])&&!e.isPropagationStopped())f=o,e.type=1<i?s:c.bindType||d,(l=(_.get(o,"events")||Object.create(null))[e.type]&&_.get(o,"handle"))&&l.apply(o,t),(l=u&&o[u])&&l.apply&&$(o)&&(e.result=l.apply(o,t),!1===e.result&&e.preventDefault());return e.type=d,r||e.isDefaultPrevented()||c._default&&!1!==c._default.apply(p.pop(),t)||!$(n)||u&&v(n[d])&&!y(n)&&((a=n[u])&&(n[u]=null),ce.event.triggered=d,e.isPropagationStopped()&&f.addEventListener(d,Nt),n[d](),e.isPropagationStopped()&&f.removeEventListener(d,Nt),ce.event.triggered=void 0,a&&(n[u]=a)),e.result}},simulate:function(e,t,n){var r=ce.extend(new ce.Event,n,{type:e,isSimulated:!0});ce.event.trigger(r,null,t)}}),ce.fn.extend({trigger:function(e,t){return this.each(function(){ce.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return ce.event.trigger(e,t,n,!0)}});var qt=/\[\]$/,Lt=/\r?\n/g,Ht=/^(?:submit|button|image|reset|file)$/i,Ot=/^(?:input|select|textarea|keygen)/i;function Pt(n,e,r,i){var t;if(Array.isArray(e))ce.each(e,function(e,t){r||qt.test(n)?i(n,t):Pt(n+"["+("object"==typeof t&&null!=t?e:"")+"]",t,r,i)});else if(r||"object"!==x(e))i(n,e);else for(t in e)Pt(n+"["+t+"]",e[t],r,i)}ce.param=function(e,t){var n,r=[],i=function(e,t){var n=v(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!ce.isPlainObject(e))ce.each(e,function(){i(this.name,this.value)});else for(n in e)Pt(n,e[n],t,i);return r.join("&")},ce.fn.extend({serialize:function(){return ce.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=ce.prop(this,"elements");return e?ce.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!ce(this).is(":disabled")&&Ot.test(this.nodeName)&&!Ht.test(e)&&(this.checked||!we.test(e))}).map(function(e,t){var n=ce(this).val();return null==n?null:Array.isArray(n)?ce.map(n,function(e){return{name:t.name,value:e.replace(Lt,"\r\n")}}):{name:t.name,value:n.replace(Lt,"\r\n")}}).get()}});var Mt=/%20/g,Rt=/#.*$/,It=/([?&])_=[^&]*/,Wt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ft=/^(?:GET|HEAD)$/,$t=/^\/\//,Bt={},_t={},zt="*/".concat("*"),Xt=C.createElement("a");function Ut(o){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,r=0,i=e.toLowerCase().match(D)||[];if(v(t))while(n=i[r++])"+"===n[0]?(n=n.slice(1)||"*",(o[n]=o[n]||[]).unshift(t)):(o[n]=o[n]||[]).push(t)}}function Vt(t,i,o,a){var s={},u=t===_t;function l(e){var r;return s[e]=!0,ce.each(t[e]||[],function(e,t){var n=t(i,o,a);return"string"!=typeof n||u||s[n]?u?!(r=n):void 0:(i.dataTypes.unshift(n),l(n),!1)}),r}return l(i.dataTypes[0])||!s["*"]&&l("*")}function Gt(e,t){var n,r,i=ce.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&ce.extend(!0,e,r),e}Xt.href=Et.href,ce.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Et.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Et.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":zt,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":ce.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Gt(Gt(e,ce.ajaxSettings),t):Gt(ce.ajaxSettings,e)},ajaxPrefilter:Ut(Bt),ajaxTransport:Ut(_t),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var c,f,p,n,d,r,h,g,i,o,v=ce.ajaxSetup({},t),y=v.context||v,m=v.context&&(y.nodeType||y.jquery)?ce(y):ce.event,x=ce.Deferred(),b=ce.Callbacks("once memory"),w=v.statusCode||{},a={},s={},u="canceled",T={readyState:0,getResponseHeader:function(e){var t;if(h){if(!n){n={};while(t=Wt.exec(p))n[t[1].toLowerCase()+" "]=(n[t[1].toLowerCase()+" "]||[]).concat(t[2])}t=n[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return h?p:null},setRequestHeader:function(e,t){return null==h&&(e=s[e.toLowerCase()]=s[e.toLowerCase()]||e,a[e]=t),this},overrideMimeType:function(e){return null==h&&(v.mimeType=e),this},statusCode:function(e){var t;if(e)if(h)T.always(e[T.status]);else for(t in e)w[t]=[w[t],e[t]];return this},abort:function(e){var t=e||u;return c&&c.abort(t),l(0,t),this}};if(x.promise(T),v.url=((e||v.url||Et.href)+"").replace($t,Et.protocol+"//"),v.type=t.method||t.type||v.method||v.type,v.dataTypes=(v.dataType||"*").toLowerCase().match(D)||[""],null==v.crossDomain){r=C.createElement("a");try{r.href=v.url,r.href=r.href,v.crossDomain=Xt.protocol+"//"+Xt.host!=r.protocol+"//"+r.host}catch(e){v.crossDomain=!0}}if(v.data&&v.processData&&"string"!=typeof v.data&&(v.data=ce.param(v.data,v.traditional)),Vt(Bt,v,t,T),h)return T;for(i in(g=ce.event&&v.global)&&0==ce.active++&&ce.event.trigger("ajaxStart"),v.type=v.type.toUpperCase(),v.hasContent=!Ft.test(v.type),f=v.url.replace(Rt,""),v.hasContent?v.data&&v.processData&&0===(v.contentType||"").indexOf("application/x-www-form-urlencoded")&&(v.data=v.data.replace(Mt,"+")):(o=v.url.slice(f.length),v.data&&(v.processData||"string"==typeof v.data)&&(f+=(At.test(f)?"&":"?")+v.data,delete v.data),!1===v.cache&&(f=f.replace(It,"$1"),o=(At.test(f)?"&":"?")+"_="+jt.guid+++o),v.url=f+o),v.ifModified&&(ce.lastModified[f]&&T.setRequestHeader("If-Modified-Since",ce.lastModified[f]),ce.etag[f]&&T.setRequestHeader("If-None-Match",ce.etag[f])),(v.data&&v.hasContent&&!1!==v.contentType||t.contentType)&&T.setRequestHeader("Content-Type",v.contentType),T.setRequestHeader("Accept",v.dataTypes[0]&&v.accepts[v.dataTypes[0]]?v.accepts[v.dataTypes[0]]+("*"!==v.dataTypes[0]?", "+zt+"; q=0.01":""):v.accepts["*"]),v.headers)T.setRequestHeader(i,v.headers[i]);if(v.beforeSend&&(!1===v.beforeSend.call(y,T,v)||h))return T.abort();if(u="abort",b.add(v.complete),T.done(v.success),T.fail(v.error),c=Vt(_t,v,t,T)){if(T.readyState=1,g&&m.trigger("ajaxSend",[T,v]),h)return T;v.async&&0<v.timeout&&(d=ie.setTimeout(function(){T.abort("timeout")},v.timeout));try{h=!1,c.send(a,l)}catch(e){if(h)throw e;l(-1,e)}}else l(-1,"No Transport");function l(e,t,n,r){var i,o,a,s,u,l=t;h||(h=!0,d&&ie.clearTimeout(d),c=void 0,p=r||"",T.readyState=0<e?4:0,i=200<=e&&e<300||304===e,n&&(s=function(e,t,n){var r,i,o,a,s=e.contents,u=e.dataTypes;while("*"===u[0])u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}(v,T,n)),!i&&-1<ce.inArray("script",v.dataTypes)&&ce.inArray("json",v.dataTypes)<0&&(v.converters["text script"]=function(){}),s=function(e,t,n,r){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];o=c.shift();while(o)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=l[u+" "+o]||l["* "+o]))for(i in l)if((s=i.split(" "))[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}(v,s,T,i),i?(v.ifModified&&((u=T.getResponseHeader("Last-Modified"))&&(ce.lastModified[f]=u),(u=T.getResponseHeader("etag"))&&(ce.etag[f]=u)),204===e||"HEAD"===v.type?l="nocontent":304===e?l="notmodified":(l=s.state,o=s.data,i=!(a=s.error))):(a=l,!e&&l||(l="error",e<0&&(e=0))),T.status=e,T.statusText=(t||l)+"",i?x.resolveWith(y,[o,l,T]):x.rejectWith(y,[T,l,a]),T.statusCode(w),w=void 0,g&&m.trigger(i?"ajaxSuccess":"ajaxError",[T,v,i?o:a]),b.fireWith(y,[T,l]),g&&(m.trigger("ajaxComplete",[T,v]),--ce.active||ce.event.trigger("ajaxStop")))}return T},getJSON:function(e,t,n){return ce.get(e,t,n,"json")},getScript:function(e,t){return ce.get(e,void 0,t,"script")}}),ce.each(["get","post"],function(e,i){ce[i]=function(e,t,n,r){return v(t)&&(r=r||n,n=t,t=void 0),ce.ajax(ce.extend({url:e,type:i,dataType:r,data:t,success:n},ce.isPlainObject(e)&&e))}}),ce.ajaxPrefilter(function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),ce._evalUrl=function(e,t,n){return ce.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){ce.globalEval(e,t,n)}})},ce.fn.extend({wrapAll:function(e){var t;return this[0]&&(v(e)&&(e=e.call(this[0])),t=ce(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstElementChild)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(n){return v(n)?this.each(function(e){ce(this).wrapInner(n.call(this,e))}):this.each(function(){var e=ce(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=v(t);return this.each(function(e){ce(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(e){return this.parent(e).not("body").each(function(){ce(this).replaceWith(this.childNodes)}),this}}),ce.expr.pseudos.hidden=function(e){return!ce.expr.pseudos.visible(e)},ce.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},ce.ajaxSettings.xhr=function(){try{return new ie.XMLHttpRequest}catch(e){}};var Yt={0:200,1223:204},Qt=ce.ajaxSettings.xhr();le.cors=!!Qt&&"withCredentials"in Qt,le.ajax=Qt=!!Qt,ce.ajaxTransport(function(i){var o,a;if(le.cors||Qt&&!i.crossDomain)return{send:function(e,t){var n,r=i.xhr();if(r.open(i.type,i.url,i.async,i.username,i.password),i.xhrFields)for(n in i.xhrFields)r[n]=i.xhrFields[n];for(n in i.mimeType&&r.overrideMimeType&&r.overrideMimeType(i.mimeType),i.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)r.setRequestHeader(n,e[n]);o=function(e){return function(){o&&(o=a=r.onload=r.onerror=r.onabort=r.ontimeout=r.onreadystatechange=null,"abort"===e?r.abort():"error"===e?"number"!=typeof r.status?t(0,"error"):t(r.status,r.statusText):t(Yt[r.status]||r.status,r.statusText,"text"!==(r.responseType||"text")||"string"!=typeof r.responseText?{binary:r.response}:{text:r.responseText},r.getAllResponseHeaders()))}},r.onload=o(),a=r.onerror=r.ontimeout=o("error"),void 0!==r.onabort?r.onabort=a:r.onreadystatechange=function(){4===r.readyState&&ie.setTimeout(function(){o&&a()})},o=o("abort");try{r.send(i.hasContent&&i.data||null)}catch(e){if(o)throw e}},abort:function(){o&&o()}}}),ce.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),ce.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return ce.globalEval(e),e}}}),ce.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),ce.ajaxTransport("script",function(n){var r,i;if(n.crossDomain||n.scriptAttrs)return{send:function(e,t){r=ce("<script>").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),C.head.appendChild(r[0])},abort:function(){i&&i()}}});var Jt,Kt=[],Zt=/(=)\?(?=&|$)|\?\?/;ce.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Kt.pop()||ce.expando+"_"+jt.guid++;return this[e]=!0,e}}),ce.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Zt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Zt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=v(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Zt,"$1"+r):!1!==e.jsonp&&(e.url+=(At.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||ce.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=ie[r],ie[r]=function(){o=arguments},n.always(function(){void 0===i?ce(ie).removeProp(r):ie[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Kt.push(r)),o&&v(i)&&i(o[0]),o=i=void 0}),"script"}),le.createHTMLDocument=((Jt=C.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Jt.childNodes.length),ce.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(le.createHTMLDocument?((r=(t=C.implementation.createHTMLDocument("")).createElement("base")).href=C.location.href,t.head.appendChild(r)):t=C),o=!n&&[],(i=w.exec(e))?[t.createElement(i[1])]:(i=Ae([e],t,o),o&&o.length&&ce(o).remove(),ce.merge([],i.childNodes)));var r,i,o},ce.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1<s&&(r=Tt(e.slice(s)),e=e.slice(0,s)),v(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),0<a.length&&ce.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(r?ce("<div>").append(ce.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},ce.expr.pseudos.animated=function(t){return ce.grep(ce.timers,function(e){return t===e.elem}).length},ce.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=ce.css(e,"position"),c=ce(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=ce.css(e,"top"),u=ce.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),v(t)&&(t=t.call(e,n,ce.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},ce.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){ce.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===ce.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===ce.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=ce(e).offset()).top+=ce.css(e,"borderTopWidth",!0),i.left+=ce.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-ce.css(r,"marginTop",!0),left:t.left-i.left-ce.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===ce.css(e,"position"))e=e.offsetParent;return e||J})}}),ce.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;ce.fn[t]=function(e){return M(this,function(e,t,n){var r;if(y(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),ce.each(["top","left"],function(e,n){ce.cssHooks[n]=Ye(le.pixelPosition,function(e,t){if(t)return t=Ge(e,n),_e.test(t)?ce(e).position()[n]+"px":t})}),ce.each({Height:"height",Width:"width"},function(a,s){ce.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){ce.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return M(this,function(e,t,n){var r;return y(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?ce.css(e,t,i):ce.style(e,t,n,i)},s,n?e:void 0,n)}})}),ce.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){ce.fn[t]=function(e){return this.on(t,e)}}),ce.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),ce.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(e,n){ce.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}});var en=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;ce.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),v(e))return r=ae.call(arguments,2),(i=function(){return e.apply(t||this,r.concat(ae.call(arguments)))}).guid=e.guid=e.guid||ce.guid++,i},ce.holdReady=function(e){e?ce.readyWait++:ce.ready(!0)},ce.isArray=Array.isArray,ce.parseJSON=JSON.parse,ce.nodeName=fe,ce.isFunction=v,ce.isWindow=y,ce.camelCase=F,ce.type=x,ce.now=Date.now,ce.isNumeric=function(e){var t=ce.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},ce.trim=function(e){return null==e?"":(e+"").replace(en,"$1")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return ce});var tn=ie.jQuery,nn=ie.$;return ce.noConflict=function(e){return ie.$===ce&&(ie.$=nn),e&&ie.jQuery===ce&&(ie.jQuery=tn),ce},"undefined"==typeof e&&(ie.jQuery=ie.$=ce),ce});
</script>
<script>
@@ -846,315 +844,316 @@
<script>
// Script section to load models into a JS Var
var defs = {}
- defs["authorization_result"] = {
- "required" : [ "result" ],
- "type" : "object",
- "properties" : {
- "result" : {
- "type" : "boolean",
- "description" : "If true, the access is granted"
- }
- },
- "description" : "Result of authorization",
- "example" : {
- "result" : true
- }
+ defs["authorization_result"] = {
+ "required" : [ "result" ],
+ "type" : "object",
+ "properties" : {
+ "result" : {
+ "type" : "boolean",
+ "description" : "If true, the access is granted"
+ }
+ },
+ "description" : "Result of authorization",
+ "example" : {
+ "result" : true
+ }
};
- defs["error_information"] = {
- "type" : "object",
- "properties" : {
- "detail" : {
- "type" : "string",
- "description" : " A human-readable explanation specific to this occurrence of the problem.",
- "example" : "Policy type not found"
- },
- "title" : {
- "type" : "string",
- "description" : "A specific error name",
- "example" : "Not Found"
- },
- "status" : {
- "type" : "integer",
- "description" : "The HTTP status code generated by the origin server for this occurrence of the problem. ",
- "format" : "int32",
- "example" : 404
- }
- },
- "description" : "Problem as defined in https://tools.ietf.org/html/rfc7807"
+ defs["error_information"] = {
+ "type" : "object",
+ "properties" : {
+ "detail" : {
+ "type" : "string",
+ "description" : " A human-readable explanation specific to this occurrence of the problem.",
+ "example" : "Policy type not found"
+ },
+ "title" : {
+ "type" : "string",
+ "description" : "A specific error name",
+ "example" : "Not Found"
+ },
+ "status" : {
+ "type" : "integer",
+ "description" : "The HTTP status code generated by the origin server for this occurrence of the problem. ",
+ "format" : "int32",
+ "example" : 404
+ }
+ },
+ "description" : "Problem as defined in https://tools.ietf.org/html/rfc7807"
};
- defs["input"] = {
- "required" : [ "access_type", "auth_token", "policy_type_id" ],
- "type" : "object",
- "properties" : {
- "access_type" : {
- "type" : "string",
- "description" : "Access type",
- "enum" : [ "READ", "WRITE", "DELETE" ]
- },
- "auth_token" : {
- "type" : "string",
- "description" : "Authorization token"
- },
- "policy_type_id" : {
- "type" : "string",
- "description" : "Policy type identifier"
- }
- },
- "description" : "input"
+ defs["input"] = {
+ "required" : [ "access_type", "auth_token", "policy_type_id" ],
+ "type" : "object",
+ "properties" : {
+ "access_type" : {
+ "type" : "string",
+ "description" : "Access type",
+ "enum" : [ "READ", "WRITE", "DELETE" ]
+ },
+ "auth_token" : {
+ "type" : "string",
+ "description" : "Authorization token"
+ },
+ "policy_type_id" : {
+ "type" : "string",
+ "description" : "Policy type identifier"
+ }
+ },
+ "description" : "input"
};
- defs["Link"] = {
- "type" : "object",
- "properties" : {
- "templated" : {
- "type" : "boolean"
- },
- "href" : {
- "type" : "string"
- }
- }
+ defs["Link"] = {
+ "type" : "object",
+ "properties" : {
+ "templated" : {
+ "type" : "boolean"
+ },
+ "href" : {
+ "type" : "string"
+ }
+ }
};
- defs["policy_authorization"] = {
- "required" : [ "input" ],
- "type" : "object",
- "properties" : {
- "input" : {
- "$ref" : "#/components/schemas/input"
- }
- },
- "description" : "Authorization request for A1 policy requests"
+ defs["policy_authorization"] = {
+ "required" : [ "input" ],
+ "type" : "object",
+ "properties" : {
+ "input" : {
+ "$ref" : "#/components/schemas/input"
+ }
+ },
+ "description" : "Authorization request for A1 policy requests"
};
- defs["policy_id_list"] = {
- "type" : "object",
- "properties" : {
- "policy_ids" : {
- "type" : "array",
- "description" : "Policy identities",
- "items" : {
- "type" : "string",
- "description" : "Policy identities"
- }
- }
- },
- "description" : "A list of policy identities",
- "example" : {
- "policy_ids" : [ "policy_ids", "policy_ids" ]
- }
+ defs["policy_id_list"] = {
+ "type" : "object",
+ "properties" : {
+ "policy_ids" : {
+ "type" : "array",
+ "description" : "Policy identities",
+ "items" : {
+ "type" : "string",
+ "description" : "Policy identities"
+ }
+ }
+ },
+ "description" : "A list of policy identities",
+ "example" : {
+ "policy_ids" : [ "policy_ids", "policy_ids" ]
+ }
};
- defs["policy_info"] = {
- "required" : [ "policy_data", "policy_id", "policytype_id", "ric_id" ],
- "type" : "object",
- "properties" : {
- "ric_id" : {
- "type" : "string",
- "description" : "identity of the target Near-RT RIC"
- },
- "policy_id" : {
- "type" : "string",
- "description" : "identity of the policy"
- },
- "transient" : {
- "type" : "boolean",
- "description" : "if true, the policy is deleted at RIC restart. If false, its value is maintained by this service until explicitly deleted. Default false.",
- "nullable" : false,
- "example" : false,
- "default" : false
- },
- "service_id" : {
- "type" : "string",
- "description" : "the identity of the service owning the policy. This can be used to group the policies (it is possible to get all policies associated to a service). Note that the service does not need to be registered.",
- "default" : ""
- },
- "policy_data" : {
- "type" : "object",
- "description" : "the configuration of the policy"
- },
- "status_notification_uri" : {
- "type" : "string",
- "description" : "Callback URI for policy status updates"
- },
- "policytype_id" : {
- "type" : "string",
- "description" : "identity of the policy type"
- }
- },
- "description" : "Information for one A1-P Policy"
+ defs["policy_info"] = {
+ "required" : [ "policy_data", "policy_id", "policytype_id", "ric_id" ],
+ "type" : "object",
+ "properties" : {
+ "ric_id" : {
+ "type" : "string",
+ "description" : "identity of the target Near-RT RIC"
+ },
+ "policy_id" : {
+ "type" : "string",
+ "description" : "identity of the policy"
+ },
+ "transient" : {
+ "type" : "boolean",
+ "description" : "if true, the policy is deleted at RIC restart. If false, its value is maintained by this service until explicitly deleted. Default false.",
+ "nullable" : false,
+ "example" : false,
+ "default" : false
+ },
+ "service_id" : {
+ "type" : "string",
+ "description" : "the identity of the service owning the policy. This can be used to group the policies (it is possible to get all policies associated to a service). Note that the service does not need to be registered.",
+ "default" : ""
+ },
+ "policy_data" : {
+ "type" : "object",
+ "description" : "the configuration of the policy"
+ },
+ "status_notification_uri" : {
+ "type" : "string",
+ "description" : "Callback URI for policy status updates"
+ },
+ "policytype_id" : {
+ "type" : "string",
+ "description" : "identity of the policy type"
+ }
+ },
+ "description" : "Information for one A1-P Policy"
};
- defs["policy_info_list"] = {
- "type" : "object",
- "properties" : {
- "policies" : {
- "type" : "array",
- "description" : "List of policy information",
- "items" : {
- "$ref" : "#/components/schemas/policy_info"
- }
- }
- },
- "description" : "List of policy information"
+ defs["policy_info_list"] = {
+ "type" : "object",
+ "properties" : {
+ "policies" : {
+ "type" : "array",
+ "description" : "List of policy information",
+ "items" : {
+ "$ref" : "#/components/schemas/policy_info"
+ }
+ }
+ },
+ "description" : "List of policy information"
};
- defs["policy_status_info"] = {
- "type" : "object",
- "properties" : {
- "last_modified" : {
- "type" : "string",
- "description" : "timestamp, last modification time"
- },
- "status" : {
- "type" : "object",
- "description" : "the Policy status"
- }
- },
- "description" : "Status for one A1-P Policy"
+ defs["policy_status_info"] = {
+ "type" : "object",
+ "properties" : {
+ "last_modified" : {
+ "type" : "string",
+ "description" : "timestamp, last modification time"
+ },
+ "status" : {
+ "type" : "object",
+ "description" : "the Policy status"
+ }
+ },
+ "description" : "Status for one A1-P Policy"
};
- defs["policy_type_definition"] = {
- "type" : "object",
- "properties" : {
- "policy_schema" : {
- "type" : "object",
- "description" : "Policy type json schema. The schema is a json object following http://json-schema.org/draft-07/schema"
- }
- },
- "description" : "Contains policy type schema definition"
+ defs["policy_type_definition"] = {
+ "type" : "object",
+ "properties" : {
+ "policy_schema" : {
+ "type" : "object",
+ "description" : "Policy type json schema. The schema is a json object following http://json-schema.org/draft-07/schema"
+ }
+ },
+ "description" : "Contains policy type schema definition"
};
- defs["policy_type_id_list"] = {
- "type" : "object",
- "properties" : {
- "policytype_ids" : {
- "type" : "array",
- "description" : "Policy type identities",
- "items" : {
- "type" : "string",
- "description" : "Policy type identities"
- }
- }
- },
- "description" : "Information about policy types"
+ defs["policy_type_id_list"] = {
+ "type" : "object",
+ "properties" : {
+ "policytype_ids" : {
+ "type" : "array",
+ "description" : "Policy type identities",
+ "items" : {
+ "type" : "string",
+ "description" : "Policy type identities"
+ }
+ }
+ },
+ "description" : "Information about policy types"
};
- defs["ric_info"] = {
- "type" : "object",
- "properties" : {
- "ric_id" : {
- "type" : "string",
- "description" : "identity of the Near-RT RIC"
- },
- "managed_element_ids" : {
- "type" : "array",
- "description" : "O1 identities for managed entities",
- "items" : {
- "type" : "string",
- "description" : "O1 identities for managed entities"
- }
- },
- "state" : {
- "type" : "string",
- "description" : "Represents the states for a Near-RT RIC",
- "enum" : [ "UNAVAILABLE", "AVAILABLE", "SYNCHRONIZING", "CONSISTENCY_CHECK" ]
- },
- "policytype_ids" : {
- "type" : "array",
- "description" : "supported policy types",
- "items" : {
- "type" : "string",
- "description" : "supported policy types"
- }
- }
- },
- "description" : "Information for a Near-RT RIC"
+ defs["ric_info"] = {
+ "type" : "object",
+ "properties" : {
+ "ric_id" : {
+ "type" : "string",
+ "description" : "identity of the Near-RT RIC"
+ },
+ "managed_element_ids" : {
+ "type" : "array",
+ "description" : "O1 identities for managed entities",
+ "items" : {
+ "type" : "string",
+ "description" : "O1 identities for managed entities"
+ }
+ },
+ "state" : {
+ "type" : "string",
+ "description" : "Represents the states for a Near-RT RIC",
+ "enum" : [ "UNAVAILABLE", "AVAILABLE", "SYNCHRONIZING", "CONSISTENCY_CHECK" ]
+ },
+ "policytype_ids" : {
+ "type" : "array",
+ "description" : "supported policy types",
+ "items" : {
+ "type" : "string",
+ "description" : "supported policy types"
+ }
+ }
+ },
+ "description" : "Information for a Near-RT RIC"
};
- defs["ric_info_list"] = {
- "type" : "object",
- "properties" : {
- "rics" : {
- "type" : "array",
- "description" : "List of Near-RT RIC information",
- "items" : {
- "$ref" : "#/components/schemas/ric_info"
- }
- }
- },
- "description" : "List of Near-RT RIC information"
+ defs["ric_info_list"] = {
+ "type" : "object",
+ "properties" : {
+ "rics" : {
+ "type" : "array",
+ "description" : "List of Near-RT RIC information",
+ "items" : {
+ "$ref" : "#/components/schemas/ric_info"
+ }
+ }
+ },
+ "description" : "List of Near-RT RIC information"
};
- defs["service_callback_info_v2"] = {
- "required" : [ "event_type", "ric_id" ],
- "type" : "object",
- "properties" : {
- "ric_id" : {
- "type" : "string",
- "description" : "identity of a Near-RT RIC"
- },
- "event_type" : {
- "type" : "string",
- "description" : "values:\nAVAILABLE: the Near-RT RIC has become available for A1 Policy management",
- "enum" : [ "AVAILABLE" ]
- }
- },
- "description" : "Information transferred as in Service callbacks (callback_url)"
+ defs["service_callback_info_v2"] = {
+ "required" : [ "event_type", "ric_id" ],
+ "type" : "object",
+ "properties" : {
+ "ric_id" : {
+ "type" : "string",
+ "description" : "identity of a Near-RT RIC"
+ },
+ "event_type" : {
+ "type" : "string",
+ "description" : "values:\nAVAILABLE: the Near-RT RIC has become available for A1 Policy management",
+ "enum" : [ "AVAILABLE" ]
+ }
+ },
+ "description" : "Information transferred as in Service callbacks (callback_url)"
};
- defs["service_registration_info"] = {
- "required" : [ "service_id" ],
- "type" : "object",
- "properties" : {
- "callback_url" : {
- "type" : "string",
- "description" : "callback for notifying of Near-RT RIC state changes"
- },
- "service_id" : {
- "type" : "string",
- "description" : "identity of the service"
- },
- "keep_alive_interval_seconds" : {
- "type" : "integer",
- "description" : "keep alive interval for the service. This is used to enable optional heartbeat supervision of the service. If set (> 0) the registered service should regularly invoke a 'keepalive' REST call. When a service fails to invoke this 'keepalive' call within the configured time, the service is considered unavailable. An unavailable service will be automatically deregistered and its policies will be deleted. Value 0 means timeout supervision is disabled.",
- "format" : "int64"
- }
- },
- "description" : "Information for one service"
+ defs["service_registration_info"] = {
+ "required" : [ "service_id" ],
+ "type" : "object",
+ "properties" : {
+ "callback_url" : {
+ "type" : "string",
+ "description" : "callback for notifying of Near-RT RIC state changes"
+ },
+ "service_id" : {
+ "type" : "string",
+ "description" : "identity of the service"
+ },
+ "keep_alive_interval_seconds" : {
+ "type" : "integer",
+ "description" : "keep alive interval for the service. This is used to enable optional heartbeat supervision of the service. If set (> 0) the registered service should regularly invoke a 'keepalive' REST call. When a service fails to invoke this 'keepalive' call within the configured time, the service is considered unavailable. An unavailable service will be automatically deregistered and its policies will be deleted. Value 0 means timeout supervision is disabled.",
+ "format" : "int64"
+ }
+ },
+ "description" : "Information for one service"
};
- defs["service_status"] = {
- "type" : "object",
- "properties" : {
- "callback_url" : {
- "type" : "string",
- "description" : "callback for notifying of RIC synchronization"
- },
- "service_id" : {
- "type" : "string",
- "description" : "identity of the service"
- },
- "keep_alive_interval_seconds" : {
- "type" : "integer",
- "description" : "policy keep alive timeout",
- "format" : "int64"
- },
- "time_since_last_activity_seconds" : {
- "type" : "integer",
- "description" : "time since last invocation by the service",
- "format" : "int64"
- }
- }
+ defs["service_status"] = {
+ "type" : "object",
+ "properties" : {
+ "callback_url" : {
+ "type" : "string",
+ "description" : "callback for notifying of RIC synchronization"
+ },
+ "service_id" : {
+ "type" : "string",
+ "description" : "identity of the service"
+ },
+ "keep_alive_interval_seconds" : {
+ "type" : "integer",
+ "description" : "policy keep alive timeout",
+ "format" : "int64"
+ },
+ "time_since_last_activity_seconds" : {
+ "type" : "integer",
+ "description" : "time since last invocation by the service",
+ "format" : "int64"
+ }
+ }
};
- defs["service_status_list"] = {
- "type" : "object",
- "properties" : {
- "service_list" : {
- "type" : "array",
- "description" : "List of service information",
- "items" : {
- "$ref" : "#/components/schemas/service_status"
- }
- }
- }
+ defs["service_status_list"] = {
+ "type" : "object",
+ "properties" : {
+ "service_list" : {
+ "type" : "array",
+ "description" : "List of service information",
+ "items" : {
+ "$ref" : "#/components/schemas/service_status"
+ }
+ }
+ }
};
- defs["status_info"] = {
- "type" : "object",
- "properties" : {
- "status" : {
- "type" : "string",
- "description" : "status text"
- }
- }
+ defs["status_info"] = {
+ "type" : "object",
+ "properties" : {
+ "status" : {
+ "type" : "string",
+ "description" : "status text"
+ }
+ }
};
+
var errs = {};
</script>
@@ -1197,46 +1196,6 @@
<li data-group="A1PolicyManagement" data-name="putPolicy" class="">
<a href="#api-A1PolicyManagement-putPolicy">putPolicy</a>
</li>
- <li class="nav-header" data-group="Actuator"><a href="#api-Actuator">API Methods - Actuator</a></li>
- <li data-group="Actuator" data-name="health" class="">
- <a href="#api-Actuator-health">health</a>
- </li>
- <li data-group="Actuator" data-name="healthPath" class="">
- <a href="#api-Actuator-healthPath">healthPath</a>
- </li>
- <li data-group="Actuator" data-name="heapdump" class="">
- <a href="#api-Actuator-heapdump">heapdump</a>
- </li>
- <li data-group="Actuator" data-name="info" class="">
- <a href="#api-Actuator-info">info</a>
- </li>
- <li data-group="Actuator" data-name="links" class="">
- <a href="#api-Actuator-links">links</a>
- </li>
- <li data-group="Actuator" data-name="logfile" class="">
- <a href="#api-Actuator-logfile">logfile</a>
- </li>
- <li data-group="Actuator" data-name="loggers" class="">
- <a href="#api-Actuator-loggers">loggers</a>
- </li>
- <li data-group="Actuator" data-name="loggersName" class="">
- <a href="#api-Actuator-loggersName">loggersName</a>
- </li>
- <li data-group="Actuator" data-name="loggersName2" class="">
- <a href="#api-Actuator-loggersName2">loggersName2</a>
- </li>
- <li data-group="Actuator" data-name="metrics" class="">
- <a href="#api-Actuator-metrics">metrics</a>
- </li>
- <li data-group="Actuator" data-name="metricsRequiredMetricName" class="">
- <a href="#api-Actuator-metricsRequiredMetricName">metricsRequiredMetricName</a>
- </li>
- <li data-group="Actuator" data-name="shutdown" class="">
- <a href="#api-Actuator-shutdown">shutdown</a>
- </li>
- <li data-group="Actuator" data-name="threaddump" class="">
- <a href="#api-Actuator-threaddump">threaddump</a>
- </li>
<li class="nav-header" data-group="AuthorizationAPI"><a href="#api-AuthorizationAPI">API Methods - AuthorizationAPI</a></li>
<li data-group="AuthorizationAPI" data-name="performAccessControl" class="">
<a href="#api-AuthorizationAPI-performAccessControl">performAccessControl</a>
@@ -1318,6 +1277,7 @@
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="#examples-A1PolicyManagement-deletePolicy-0-curl">Curl</a></li>
<li class=""><a href="#examples-A1PolicyManagement-deletePolicy-0-java">Java</a></li>
+ <li class=""><a href="#examples-A1PolicyManagement-deletePolicy-0-dart">Dart</a></li>
<li class=""><a href="#examples-A1PolicyManagement-deletePolicy-0-android">Android</a></li>
<!--<li class=""><a href="#examples-A1PolicyManagement-deletePolicy-0-groovy">Groovy</a></li>-->
<li class=""><a href="#examples-A1PolicyManagement-deletePolicy-0-objc">Obj-C</a></li>
@@ -1365,6 +1325,23 @@
</code></pre>
</div>
+ <div class="tab-pane" id="examples-A1PolicyManagement-deletePolicy-0-dart">
+ <pre class="prettyprint"><code class="language-dart">import 'package:openapi/api.dart';
+
+final api_instance = DefaultApi();
+
+final String policyId = new String(); // String |
+
+try {
+ final result = await api_instance.deletePolicy(policyId);
+ print(result);
+} catch (e) {
+ print('Exception when calling DefaultApi->deletePolicy: $e\n');
+}
+
+</code></pre>
+ </div>
+
<div class="tab-pane" id="examples-A1PolicyManagement-deletePolicy-0-android">
<pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.A1PolicyManagementApi;
@@ -1594,41 +1571,55 @@
<div class="tab-content" id="responses-A1PolicyManagement-deletePolicy-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-A1PolicyManagement-deletePolicy-200-schema">
- <div id="responses-A1PolicyManagement-deletePolicy-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-A1PolicyManagement-deletePolicy-200-schema">
+ <div id="responses-A1PolicyManagement-deletePolicy-schema-200" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "OK - Policy deleted",
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/void"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-A1PolicyManagement-deletePolicy-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-A1PolicyManagement-deletePolicy-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-A1PolicyManagement-deletePolicy-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-deletePolicy-200-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-deletePolicy-schema-200');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-A1PolicyManagement-deletePolicy-200-schema-data' type='hidden' value=''></input>
+ </div>
</div>
<h3 id="examples-A1PolicyManagement-deletePolicy-title-423"></h3>
<p id="examples-A1PolicyManagement-deletePolicy-description-423" class="marked"></p>
@@ -1656,41 +1647,60 @@
<div class="tab-content" id="responses-A1PolicyManagement-deletePolicy-423-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-A1PolicyManagement-deletePolicy-423-schema">
- <div id="responses-A1PolicyManagement-deletePolicy-schema-423" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-A1PolicyManagement-deletePolicy-423-schema">
+ <div id="responses-A1PolicyManagement-deletePolicy-schema-423" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Locked - HTTP Status code which can be used when the state is Locked",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/error_information"
+ },
+ "example" : {
+ "status" : 423,
+ "title" : "Locked",
+ "detail" : "Requested resource is in a locked state."
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-A1PolicyManagement-deletePolicy-423-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-A1PolicyManagement-deletePolicy-schema-423');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-A1PolicyManagement-deletePolicy-423-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-deletePolicy-423-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-deletePolicy-schema-423');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-A1PolicyManagement-deletePolicy-423-schema-data' type='hidden' value=''></input>
+ </div>
</div>
</article>
</div>
@@ -1714,6 +1724,7 @@
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="#examples-A1PolicyManagement-getPolicy-0-curl">Curl</a></li>
<li class=""><a href="#examples-A1PolicyManagement-getPolicy-0-java">Java</a></li>
+ <li class=""><a href="#examples-A1PolicyManagement-getPolicy-0-dart">Dart</a></li>
<li class=""><a href="#examples-A1PolicyManagement-getPolicy-0-android">Android</a></li>
<!--<li class=""><a href="#examples-A1PolicyManagement-getPolicy-0-groovy">Groovy</a></li>-->
<li class=""><a href="#examples-A1PolicyManagement-getPolicy-0-objc">Obj-C</a></li>
@@ -1761,6 +1772,23 @@
</code></pre>
</div>
+ <div class="tab-pane" id="examples-A1PolicyManagement-getPolicy-0-dart">
+ <pre class="prettyprint"><code class="language-dart">import 'package:openapi/api.dart';
+
+final api_instance = DefaultApi();
+
+final String policyId = new String(); // String |
+
+try {
+ final result = await api_instance.getPolicy(policyId);
+ print(result);
+} catch (e) {
+ print('Exception when calling DefaultApi->getPolicy: $e\n');
+}
+
+</code></pre>
+ </div>
+
<div class="tab-pane" id="examples-A1PolicyManagement-getPolicy-0-android">
<pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.A1PolicyManagementApi;
@@ -1987,41 +2015,60 @@
<div class="tab-content" id="responses-A1PolicyManagement-getPolicy-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicy-200-schema">
- <div id="responses-A1PolicyManagement-getPolicy-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicy-200-schema">
+ <div id="responses-A1PolicyManagement-getPolicy-schema-200" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "OK - Policy found",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/policy_info"
+ },
+ "examples" : {
+ "policy_info" : {
+ "$ref" : "#/components/examples/policy_info"
+ }
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-A1PolicyManagement-getPolicy-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-A1PolicyManagement-getPolicy-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-A1PolicyManagement-getPolicy-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicy-200-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicy-schema-200');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-A1PolicyManagement-getPolicy-200-schema-data' type='hidden' value=''></input>
+ </div>
</div>
<h3 id="examples-A1PolicyManagement-getPolicy-title-404"></h3>
<p id="examples-A1PolicyManagement-getPolicy-description-404" class="marked"></p>
@@ -2044,6 +2091,53 @@
<div class="tab-content" id="responses-A1PolicyManagement-getPolicy-404-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicy-404-schema">
+ <div id="responses-A1PolicyManagement-getPolicy-schema-404" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "example" : [ ]
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicy-404-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicy-schema-404');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getPolicy-404-schema-data' type='hidden' value=''></input>
+ </div>
</div>
</article>
</div>
@@ -2067,6 +2161,7 @@
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="#examples-A1PolicyManagement-getPolicyIds-0-curl">Curl</a></li>
<li class=""><a href="#examples-A1PolicyManagement-getPolicyIds-0-java">Java</a></li>
+ <li class=""><a href="#examples-A1PolicyManagement-getPolicyIds-0-dart">Dart</a></li>
<li class=""><a href="#examples-A1PolicyManagement-getPolicyIds-0-android">Android</a></li>
<!--<li class=""><a href="#examples-A1PolicyManagement-getPolicyIds-0-groovy">Groovy</a></li>-->
<li class=""><a href="#examples-A1PolicyManagement-getPolicyIds-0-objc">Obj-C</a></li>
@@ -2117,6 +2212,26 @@
</code></pre>
</div>
+ <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyIds-0-dart">
+ <pre class="prettyprint"><code class="language-dart">import 'package:openapi/api.dart';
+
+final api_instance = DefaultApi();
+
+final String policytypeId = new String(); // String | Select policies of a given policy type identity.
+final String ricId = new String(); // String | Select policies of a given Near-RT RIC identity.
+final String serviceId = new String(); // String | Select policies owned by a given service.
+final String typeName = new String(); // String | Select policies of types with the given type name (type identity has the format <typename_version>)
+
+try {
+ final result = await api_instance.getPolicyIds(policytypeId, ricId, serviceId, typeName);
+ print(result);
+} catch (e) {
+ print('Exception when calling DefaultApi->getPolicyIds: $e\n');
+}
+
+</code></pre>
+ </div>
+
<div class="tab-pane" id="examples-A1PolicyManagement-getPolicyIds-0-android">
<pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.A1PolicyManagementApi;
@@ -2435,41 +2550,60 @@
<div class="tab-content" id="responses-A1PolicyManagement-getPolicyIds-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyIds-200-schema">
- <div id="responses-A1PolicyManagement-getPolicyIds-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyIds-200-schema">
+ <div id="responses-A1PolicyManagement-getPolicyIds-schema-200" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "OK - Policy identities",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/policy_id_list"
+ },
+ "examples" : {
+ "policy_id_list" : {
+ "$ref" : "#/components/examples/policy_id_list"
+ }
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-A1PolicyManagement-getPolicyIds-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-A1PolicyManagement-getPolicyIds-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-A1PolicyManagement-getPolicyIds-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicyIds-200-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicyIds-schema-200');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-A1PolicyManagement-getPolicyIds-200-schema-data' type='hidden' value=''></input>
+ </div>
</div>
<h3 id="examples-A1PolicyManagement-getPolicyIds-title-404"></h3>
<p id="examples-A1PolicyManagement-getPolicyIds-description-404" class="marked"></p>
@@ -2492,6 +2626,53 @@
<div class="tab-content" id="responses-A1PolicyManagement-getPolicyIds-404-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyIds-404-schema">
+ <div id="responses-A1PolicyManagement-getPolicyIds-schema-404" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "example" : [ ]
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicyIds-404-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicyIds-schema-404');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getPolicyIds-404-schema-data' type='hidden' value=''></input>
+ </div>
</div>
</article>
</div>
@@ -2515,6 +2696,7 @@
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="#examples-A1PolicyManagement-getPolicyInstances-0-curl">Curl</a></li>
<li class=""><a href="#examples-A1PolicyManagement-getPolicyInstances-0-java">Java</a></li>
+ <li class=""><a href="#examples-A1PolicyManagement-getPolicyInstances-0-dart">Dart</a></li>
<li class=""><a href="#examples-A1PolicyManagement-getPolicyInstances-0-android">Android</a></li>
<!--<li class=""><a href="#examples-A1PolicyManagement-getPolicyInstances-0-groovy">Groovy</a></li>-->
<li class=""><a href="#examples-A1PolicyManagement-getPolicyInstances-0-objc">Obj-C</a></li>
@@ -2565,6 +2747,26 @@
</code></pre>
</div>
+ <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyInstances-0-dart">
+ <pre class="prettyprint"><code class="language-dart">import 'package:openapi/api.dart';
+
+final api_instance = DefaultApi();
+
+final String policytypeId = new String(); // String | Select policies with a given type identity.
+final String ricId = new String(); // String | Select policies for a given Near-RT RIC identity.
+final String serviceId = new String(); // String | Select policies owned by a given service.
+final String typeName = new String(); // String | Select policies of a given type name (type identity has the format <typename_version>)
+
+try {
+ final result = await api_instance.getPolicyInstances(policytypeId, ricId, serviceId, typeName);
+ print(result);
+} catch (e) {
+ print('Exception when calling DefaultApi->getPolicyInstances: $e\n');
+}
+
+</code></pre>
+ </div>
+
<div class="tab-pane" id="examples-A1PolicyManagement-getPolicyInstances-0-android">
<pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.A1PolicyManagementApi;
@@ -2883,41 +3085,60 @@
<div class="tab-content" id="responses-A1PolicyManagement-getPolicyInstances-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyInstances-200-schema">
- <div id="responses-A1PolicyManagement-getPolicyInstances-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyInstances-200-schema">
+ <div id="responses-A1PolicyManagement-getPolicyInstances-schema-200" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "OK - Returns A1 Policies which matches the criteria",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/policy_info_list"
+ },
+ "examples" : {
+ "policy_info_list" : {
+ "$ref" : "#/components/examples/policy_info_list"
+ }
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-A1PolicyManagement-getPolicyInstances-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-A1PolicyManagement-getPolicyInstances-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-A1PolicyManagement-getPolicyInstances-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicyInstances-200-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicyInstances-schema-200');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-A1PolicyManagement-getPolicyInstances-200-schema-data' type='hidden' value=''></input>
+ </div>
</div>
<h3 id="examples-A1PolicyManagement-getPolicyInstances-title-404"></h3>
<p id="examples-A1PolicyManagement-getPolicyInstances-description-404" class="marked"></p>
@@ -2945,41 +3166,55 @@
<div class="tab-content" id="responses-A1PolicyManagement-getPolicyInstances-404-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyInstances-404-schema">
- <div id="responses-A1PolicyManagement-getPolicyInstances-schema-404" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyInstances-404-schema">
+ <div id="responses-A1PolicyManagement-getPolicyInstances-schema-404" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Not Found - Near-RT RIC, policy type or service not found",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/error_information"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-A1PolicyManagement-getPolicyInstances-404-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-A1PolicyManagement-getPolicyInstances-schema-404');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-A1PolicyManagement-getPolicyInstances-404-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicyInstances-404-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicyInstances-schema-404');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-A1PolicyManagement-getPolicyInstances-404-schema-data' type='hidden' value=''></input>
+ </div>
</div>
</article>
</div>
@@ -3003,6 +3238,7 @@
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="#examples-A1PolicyManagement-getPolicyStatus-0-curl">Curl</a></li>
<li class=""><a href="#examples-A1PolicyManagement-getPolicyStatus-0-java">Java</a></li>
+ <li class=""><a href="#examples-A1PolicyManagement-getPolicyStatus-0-dart">Dart</a></li>
<li class=""><a href="#examples-A1PolicyManagement-getPolicyStatus-0-android">Android</a></li>
<!--<li class=""><a href="#examples-A1PolicyManagement-getPolicyStatus-0-groovy">Groovy</a></li>-->
<li class=""><a href="#examples-A1PolicyManagement-getPolicyStatus-0-objc">Obj-C</a></li>
@@ -3050,6 +3286,23 @@
</code></pre>
</div>
+ <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyStatus-0-dart">
+ <pre class="prettyprint"><code class="language-dart">import 'package:openapi/api.dart';
+
+final api_instance = DefaultApi();
+
+final String policyId = new String(); // String |
+
+try {
+ final result = await api_instance.getPolicyStatus(policyId);
+ print(result);
+} catch (e) {
+ print('Exception when calling DefaultApi->getPolicyStatus: $e\n');
+}
+
+</code></pre>
+ </div>
+
<div class="tab-pane" id="examples-A1PolicyManagement-getPolicyStatus-0-android">
<pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.A1PolicyManagementApi;
@@ -3276,41 +3529,60 @@
<div class="tab-content" id="responses-A1PolicyManagement-getPolicyStatus-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyStatus-200-schema">
- <div id="responses-A1PolicyManagement-getPolicyStatus-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyStatus-200-schema">
+ <div id="responses-A1PolicyManagement-getPolicyStatus-schema-200" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "OK - Policy status",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/policy_status_info"
+ },
+ "examples" : {
+ "policy_status_info" : {
+ "$ref" : "#/components/examples/policy_status_info"
+ }
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-A1PolicyManagement-getPolicyStatus-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-A1PolicyManagement-getPolicyStatus-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-A1PolicyManagement-getPolicyStatus-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicyStatus-200-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicyStatus-schema-200');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-A1PolicyManagement-getPolicyStatus-200-schema-data' type='hidden' value=''></input>
+ </div>
</div>
<h3 id="examples-A1PolicyManagement-getPolicyStatus-title-404"></h3>
<p id="examples-A1PolicyManagement-getPolicyStatus-description-404" class="marked"></p>
@@ -3333,6 +3605,53 @@
<div class="tab-content" id="responses-A1PolicyManagement-getPolicyStatus-404-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyStatus-404-schema">
+ <div id="responses-A1PolicyManagement-getPolicyStatus-schema-404" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "example" : [ ]
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicyStatus-404-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicyStatus-schema-404');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getPolicyStatus-404-schema-data' type='hidden' value=''></input>
+ </div>
</div>
</article>
</div>
@@ -3356,6 +3675,7 @@
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="#examples-A1PolicyManagement-getPolicyTypeDefinition-0-curl">Curl</a></li>
<li class=""><a href="#examples-A1PolicyManagement-getPolicyTypeDefinition-0-java">Java</a></li>
+ <li class=""><a href="#examples-A1PolicyManagement-getPolicyTypeDefinition-0-dart">Dart</a></li>
<li class=""><a href="#examples-A1PolicyManagement-getPolicyTypeDefinition-0-android">Android</a></li>
<!--<li class=""><a href="#examples-A1PolicyManagement-getPolicyTypeDefinition-0-groovy">Groovy</a></li>-->
<li class=""><a href="#examples-A1PolicyManagement-getPolicyTypeDefinition-0-objc">Obj-C</a></li>
@@ -3403,6 +3723,23 @@
</code></pre>
</div>
+ <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyTypeDefinition-0-dart">
+ <pre class="prettyprint"><code class="language-dart">import 'package:openapi/api.dart';
+
+final api_instance = DefaultApi();
+
+final String policytypeId = new String(); // String |
+
+try {
+ final result = await api_instance.getPolicyTypeDefinition(policytypeId);
+ print(result);
+} catch (e) {
+ print('Exception when calling DefaultApi->getPolicyTypeDefinition: $e\n');
+}
+
+</code></pre>
+ </div>
+
<div class="tab-pane" id="examples-A1PolicyManagement-getPolicyTypeDefinition-0-android">
<pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.A1PolicyManagementApi;
@@ -3629,41 +3966,60 @@
<div class="tab-content" id="responses-A1PolicyManagement-getPolicyTypeDefinition-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyTypeDefinition-200-schema">
- <div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyTypeDefinition-200-schema">
+ <div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-200" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "OK - schema of the given policy type",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/policy_type_definition"
+ },
+ "examples" : {
+ "policy_type_definition" : {
+ "$ref" : "#/components/examples/policy_type_definition"
+ }
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-A1PolicyManagement-getPolicyTypeDefinition-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-A1PolicyManagement-getPolicyTypeDefinition-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-A1PolicyManagement-getPolicyTypeDefinition-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicyTypeDefinition-200-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicyTypeDefinition-schema-200');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-A1PolicyManagement-getPolicyTypeDefinition-200-schema-data' type='hidden' value=''></input>
+ </div>
</div>
<h3 id="examples-A1PolicyManagement-getPolicyTypeDefinition-title-404"></h3>
<p id="examples-A1PolicyManagement-getPolicyTypeDefinition-description-404" class="marked"></p>
@@ -3686,6 +4042,53 @@
<div class="tab-content" id="responses-A1PolicyManagement-getPolicyTypeDefinition-404-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyTypeDefinition-404-schema">
+ <div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-404" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "example" : [ ]
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicyTypeDefinition-404-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicyTypeDefinition-schema-404');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getPolicyTypeDefinition-404-schema-data' type='hidden' value=''></input>
+ </div>
</div>
</article>
</div>
@@ -3709,6 +4112,7 @@
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="#examples-A1PolicyManagement-getPolicyTypes-0-curl">Curl</a></li>
<li class=""><a href="#examples-A1PolicyManagement-getPolicyTypes-0-java">Java</a></li>
+ <li class=""><a href="#examples-A1PolicyManagement-getPolicyTypes-0-dart">Dart</a></li>
<li class=""><a href="#examples-A1PolicyManagement-getPolicyTypes-0-android">Android</a></li>
<!--<li class=""><a href="#examples-A1PolicyManagement-getPolicyTypes-0-groovy">Groovy</a></li>-->
<li class=""><a href="#examples-A1PolicyManagement-getPolicyTypes-0-objc">Obj-C</a></li>
@@ -3758,6 +4162,25 @@
</code></pre>
</div>
+ <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyTypes-0-dart">
+ <pre class="prettyprint"><code class="language-dart">import 'package:openapi/api.dart';
+
+final api_instance = DefaultApi();
+
+final String ricId = new String(); // String | Select types for the given Near-RT RIC identity.
+final String typeName = new String(); // String | Select types with the given type name (type identity has the format <typename_version>)
+final String compatibleWithVersion = new String(); // String | Select types that are compatible with the given version. This parameter is only applicable in conjunction with type_name. As an example version 1.9.1 is compatible with 1.0.0 but not the other way around. Matching types will be returned sorted in ascending order.
+
+try {
+ final result = await api_instance.getPolicyTypes(ricId, typeName, compatibleWithVersion);
+ print(result);
+} catch (e) {
+ print('Exception when calling DefaultApi->getPolicyTypes: $e\n');
+}
+
+</code></pre>
+ </div>
+
<div class="tab-pane" id="examples-A1PolicyManagement-getPolicyTypes-0-android">
<pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.A1PolicyManagementApi;
@@ -4044,41 +4467,60 @@
<div class="tab-content" id="responses-A1PolicyManagement-getPolicyTypes-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyTypes-200-schema">
- <div id="responses-A1PolicyManagement-getPolicyTypes-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyTypes-200-schema">
+ <div id="responses-A1PolicyManagement-getPolicyTypes-schema-200" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "OK - Policy Type IDs Found",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/policy_type_id_list"
+ },
+ "examples" : {
+ "policy_type_id_list" : {
+ "$ref" : "#/components/examples/policy_type_id_list"
+ }
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-A1PolicyManagement-getPolicyTypes-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-A1PolicyManagement-getPolicyTypes-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-A1PolicyManagement-getPolicyTypes-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicyTypes-200-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicyTypes-schema-200');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-A1PolicyManagement-getPolicyTypes-200-schema-data' type='hidden' value=''></input>
+ </div>
</div>
<h3 id="examples-A1PolicyManagement-getPolicyTypes-title-404"></h3>
<p id="examples-A1PolicyManagement-getPolicyTypes-description-404" class="marked"></p>
@@ -4101,6 +4543,53 @@
<div class="tab-content" id="responses-A1PolicyManagement-getPolicyTypes-404-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyTypes-404-schema">
+ <div id="responses-A1PolicyManagement-getPolicyTypes-schema-404" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "example" : [ ]
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicyTypes-404-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicyTypes-schema-404');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getPolicyTypes-404-schema-data' type='hidden' value=''></input>
+ </div>
</div>
</article>
</div>
@@ -4124,6 +4613,7 @@
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="#examples-A1PolicyManagement-putPolicy-0-curl">Curl</a></li>
<li class=""><a href="#examples-A1PolicyManagement-putPolicy-0-java">Java</a></li>
+ <li class=""><a href="#examples-A1PolicyManagement-putPolicy-0-dart">Dart</a></li>
<li class=""><a href="#examples-A1PolicyManagement-putPolicy-0-android">Android</a></li>
<!--<li class=""><a href="#examples-A1PolicyManagement-putPolicy-0-groovy">Groovy</a></li>-->
<li class=""><a href="#examples-A1PolicyManagement-putPolicy-0-objc">Obj-C</a></li>
@@ -4173,6 +4663,23 @@
</code></pre>
</div>
+ <div class="tab-pane" id="examples-A1PolicyManagement-putPolicy-0-dart">
+ <pre class="prettyprint"><code class="language-dart">import 'package:openapi/api.dart';
+
+final api_instance = DefaultApi();
+
+final PolicyInfo policyInfo = new PolicyInfo(); // PolicyInfo |
+
+try {
+ final result = await api_instance.putPolicy(policyInfo);
+ print(result);
+} catch (e) {
+ print('Exception when calling DefaultApi->putPolicy: $e\n');
+}
+
+</code></pre>
+ </div>
+
<div class="tab-pane" id="examples-A1PolicyManagement-putPolicy-0-android">
<pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.A1PolicyManagementApi;
@@ -4353,15 +4860,15 @@
<p class="marked"></p>
<script>
$(document).ready(function() {
- var schemaWrapper = {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/policy_info"
- }
- }
- },
- "required" : true
+ var schemaWrapper = {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/policy_info"
+ }
+ }
+ },
+ "required" : true
};
var schema = findNode('schema',schemaWrapper).schema;
@@ -4370,6 +4877,8 @@
}
if (schema.$ref != null) {
schema = defsParser.$refs.get(schema.$ref);
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
} else {
schemaWrapper.definitions = Object.assign({}, defs);
$RefParser.dereference(schemaWrapper).catch(function(err) {
@@ -4418,41 +4927,55 @@
<div class="tab-content" id="responses-A1PolicyManagement-putPolicy-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-A1PolicyManagement-putPolicy-200-schema">
- <div id="responses-A1PolicyManagement-putPolicy-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-A1PolicyManagement-putPolicy-200-schema">
+ <div id="responses-A1PolicyManagement-putPolicy-schema-200" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "OK - Policy updated",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/void"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-A1PolicyManagement-putPolicy-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-A1PolicyManagement-putPolicy-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-A1PolicyManagement-putPolicy-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-putPolicy-200-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-putPolicy-schema-200');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-A1PolicyManagement-putPolicy-200-schema-data' type='hidden' value=''></input>
+ </div>
</div>
<h3 id="examples-A1PolicyManagement-putPolicy-title-201"></h3>
<p id="examples-A1PolicyManagement-putPolicy-description-201" class="marked"></p>
@@ -4480,41 +5003,55 @@
<div class="tab-content" id="responses-A1PolicyManagement-putPolicy-201-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-A1PolicyManagement-putPolicy-201-schema">
- <div id="responses-A1PolicyManagement-putPolicy-schema-201" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-A1PolicyManagement-putPolicy-201-schema">
+ <div id="responses-A1PolicyManagement-putPolicy-schema-201" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Created - Policy created",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/void"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-A1PolicyManagement-putPolicy-201-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-A1PolicyManagement-putPolicy-schema-201');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-A1PolicyManagement-putPolicy-201-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-putPolicy-201-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-putPolicy-schema-201');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-A1PolicyManagement-putPolicy-201-schema-data' type='hidden' value=''></input>
+ </div>
</div>
<h3 id="examples-A1PolicyManagement-putPolicy-title-423"></h3>
<p id="examples-A1PolicyManagement-putPolicy-description-423" class="marked"></p>
@@ -4542,4076 +5079,60 @@
<div class="tab-content" id="responses-A1PolicyManagement-putPolicy-423-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-A1PolicyManagement-putPolicy-423-schema">
- <div id="responses-A1PolicyManagement-putPolicy-schema-423" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-A1PolicyManagement-putPolicy-423-schema">
+ <div id="responses-A1PolicyManagement-putPolicy-schema-423" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Locked - HTTP Status code which can be used when the state is Locked",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/error_information"
+ },
+ "example" : {
+ "status" : 423,
+ "title" : "Locked",
+ "detail" : "Requested resource is in a locked state."
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-A1PolicyManagement-putPolicy-423-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-A1PolicyManagement-putPolicy-schema-423');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-A1PolicyManagement-putPolicy-423-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-putPolicy-423-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-putPolicy-schema-423');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
- </div>
- </article>
- </div>
- <hr>
- </section>
- <section id="api-Actuator">
- <h1>Actuator</h1>
- <div id="api-Actuator-health">
- <article id="api-Actuator-health-0" data-group="User" data-name="health" data-version="0">
- <div class="pull-left">
- <h1>health</h1>
- <p>Actuator web endpoint 'health'</p>
- </div>
- <div class="pull-right"></div>
- <div class="clearfix"></div>
- <p></p>
- <p class="marked"></p>
- <p></p>
- <br />
- <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/actuator/health</span></code></pre>
- <p>
- <h3>Usage and SDK Samples</h3>
- </p>
- <ul class="nav nav-tabs nav-tabs-examples">
- <li class="active"><a href="#examples-Actuator-health-0-curl">Curl</a></li>
- <li class=""><a href="#examples-Actuator-health-0-java">Java</a></li>
- <li class=""><a href="#examples-Actuator-health-0-android">Android</a></li>
- <!--<li class=""><a href="#examples-Actuator-health-0-groovy">Groovy</a></li>-->
- <li class=""><a href="#examples-Actuator-health-0-objc">Obj-C</a></li>
- <li class=""><a href="#examples-Actuator-health-0-javascript">JavaScript</a></li>
- <!--<li class=""><a href="#examples-Actuator-health-0-angular">Angular</a></li>-->
- <li class=""><a href="#examples-Actuator-health-0-csharp">C#</a></li>
- <li class=""><a href="#examples-Actuator-health-0-php">PHP</a></li>
- <li class=""><a href="#examples-Actuator-health-0-perl">Perl</a></li>
- <li class=""><a href="#examples-Actuator-health-0-python">Python</a></li>
- <li class=""><a href="#examples-Actuator-health-0-rust">Rust</a></li>
- </ul>
-
- <div class="tab-content">
- <div class="tab-pane active" id="examples-Actuator-health-0-curl">
- <pre class="prettyprint"><code class="language-bsh">curl -X GET \
- -H "Accept: application/vnd.spring-boot.actuator.v3+json,application/json,application/vnd.spring-boot.actuator.v2+json" \
- "http://localhost/actuator/health"
-</code></pre>
- </div>
- <div class="tab-pane" id="examples-Actuator-health-0-java">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
-import org.openapitools.client.auth.*;
-import org.openapitools.client.model.*;
-import org.openapitools.client.api.ActuatorApi;
-
-import java.io.File;
-import java.util.*;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
-
- // Create an instance of the API class
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- Object result = apiInstance.health();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#health");
- e.printStackTrace();
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-health-0-android">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ActuatorApi;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- Object result = apiInstance.health();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#health");
- e.printStackTrace();
- }
- }
-}</code></pre>
- </div>
- <!--
- <div class="tab-pane" id="examples-Actuator-health-0-groovy">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div> -->
- <div class="tab-pane" id="examples-Actuator-health-0-objc">
- <pre class="prettyprint"><code class="language-cpp">
-
-// Create an instance of the API class
-ActuatorApi *apiInstance = [[ActuatorApi alloc] init];
-
-// Actuator web endpoint 'health'
-[apiInstance healthWithCompletionHandler:
- ^(Object output, NSError* error) {
- if (output) {
- NSLog(@"%@", output);
- }
- if (error) {
- NSLog(@"Error: %@", error);
- }
-}];
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-health-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
-
-// Create an instance of the API class
-var api = new A1PolicyManagementService.ActuatorApi()
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-api.health(callback);
-</code></pre>
- </div>
-
- <!--<div class="tab-pane" id="examples-Actuator-health-0-angular">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div>-->
- <div class="tab-pane" id="examples-Actuator-health-0-csharp">
- <pre class="prettyprint"><code class="language-cs">using System;
-using System.Diagnostics;
-using Org.OpenAPITools.Api;
-using Org.OpenAPITools.Client;
-using Org.OpenAPITools.Model;
-
-namespace Example
-{
- public class healthExample
- {
- public void main()
- {
-
- // Create an instance of the API class
- var apiInstance = new ActuatorApi();
-
- try {
- // Actuator web endpoint 'health'
- Object result = apiInstance.health();
- Debug.WriteLine(result);
- } catch (Exception e) {
- Debug.Print("Exception when calling ActuatorApi.health: " + e.Message );
- }
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-health-0-php">
- <pre class="prettyprint"><code class="language-php"><?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-// Create an instance of the API class
-$api_instance = new OpenAPITools\Client\Api\ActuatorApi();
-
-try {
- $result = $api_instance->health();
- print_r($result);
-} catch (Exception $e) {
- echo 'Exception when calling ActuatorApi->health: ', $e->getMessage(), PHP_EOL;
-}
-?></code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-health-0-perl">
- <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
-use WWW::OPenAPIClient::Configuration;
-use WWW::OPenAPIClient::ActuatorApi;
-
-# Create an instance of the API class
-my $api_instance = WWW::OPenAPIClient::ActuatorApi->new();
-
-eval {
- my $result = $api_instance->health();
- print Dumper($result);
-};
-if ($@) {
- warn "Exception when calling ActuatorApi->health: $@\n";
-}</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-health-0-python">
- <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
-import time
-import openapi_client
-from openapi_client.rest import ApiException
-from pprint import pprint
-
-# Create an instance of the API class
-api_instance = openapi_client.ActuatorApi()
-
-try:
- # Actuator web endpoint 'health'
- api_response = api_instance.health()
- pprint(api_response)
-except ApiException as e:
- print("Exception when calling ActuatorApi->health: %s\n" % e)</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-health-0-rust">
- <pre class="prettyprint"><code class="language-rust">extern crate ActuatorApi;
-
-pub fn main() {
-
- let mut context = ActuatorApi::Context::default();
- let result = client.health(&context).wait();
-
- println!("{:?}", result);
-}
-</code></pre>
- </div>
- </div>
-
- <h2>Scopes</h2>
- <table>
-
- </table>
-
- <h2>Parameters</h2>
-
-
-
-
-
-
- <h2>Responses</h2>
- <h3 id="examples-Actuator-health-title-200"></h3>
- <p id="examples-Actuator-health-description-200" class="marked"></p>
- <script>
- var responseActuator200_description = `OK`;
- var responseActuator200_description_break = responseActuator200_description.indexOf('\n');
- if (responseActuator200_description_break == -1) {
- $("#examples-Actuator-health-title-200").text("Status: 200 - " + responseActuator200_description);
- } else {
- $("#examples-Actuator-health-title-200").text("Status: 200 - " + responseActuator200_description.substring(0, responseActuator200_description_break));
- $("#examples-Actuator-health-description-200").html(responseActuator200_description.substring(responseActuator200_description_break));
- }
- </script>
-
-
- <ul id="responses-detail-Actuator-health-200" class="nav nav-tabs nav-tabs-examples" >
- <li class="active">
- <a data-toggle="tab" href="#responses-Actuator-health-200-schema">Schema</a>
- </li>
-
-
-
-
- </ul>
-
-
- <div class="tab-content" id="responses-Actuator-health-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-Actuator-health-200-schema">
- <div id="responses-Actuator-health-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
- Object.keys(schema.properties).forEach( (item) => {
- if (schema.properties[item].$ref != null) {
- schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
- }
- });
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
- }
-
- var view = new JSONSchemaView(schema, 3);
- $('#responses-Actuator-health-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-Actuator-health-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-Actuator-health-200-schema-data' type='hidden' value=''></input>
- </div>
- </div>
- </article>
- </div>
- <hr>
- <div id="api-Actuator-healthPath">
- <article id="api-Actuator-healthPath-0" data-group="User" data-name="healthPath" data-version="0">
- <div class="pull-left">
- <h1>healthPath</h1>
- <p>Actuator web endpoint 'health-path'</p>
- </div>
- <div class="pull-right"></div>
- <div class="clearfix"></div>
- <p></p>
- <p class="marked"></p>
- <p></p>
- <br />
- <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/actuator/health/**</span></code></pre>
- <p>
- <h3>Usage and SDK Samples</h3>
- </p>
- <ul class="nav nav-tabs nav-tabs-examples">
- <li class="active"><a href="#examples-Actuator-healthPath-0-curl">Curl</a></li>
- <li class=""><a href="#examples-Actuator-healthPath-0-java">Java</a></li>
- <li class=""><a href="#examples-Actuator-healthPath-0-android">Android</a></li>
- <!--<li class=""><a href="#examples-Actuator-healthPath-0-groovy">Groovy</a></li>-->
- <li class=""><a href="#examples-Actuator-healthPath-0-objc">Obj-C</a></li>
- <li class=""><a href="#examples-Actuator-healthPath-0-javascript">JavaScript</a></li>
- <!--<li class=""><a href="#examples-Actuator-healthPath-0-angular">Angular</a></li>-->
- <li class=""><a href="#examples-Actuator-healthPath-0-csharp">C#</a></li>
- <li class=""><a href="#examples-Actuator-healthPath-0-php">PHP</a></li>
- <li class=""><a href="#examples-Actuator-healthPath-0-perl">Perl</a></li>
- <li class=""><a href="#examples-Actuator-healthPath-0-python">Python</a></li>
- <li class=""><a href="#examples-Actuator-healthPath-0-rust">Rust</a></li>
- </ul>
-
- <div class="tab-content">
- <div class="tab-pane active" id="examples-Actuator-healthPath-0-curl">
- <pre class="prettyprint"><code class="language-bsh">curl -X GET \
- -H "Accept: application/vnd.spring-boot.actuator.v3+json,application/json,application/vnd.spring-boot.actuator.v2+json" \
- "http://localhost/actuator/health/**"
-</code></pre>
- </div>
- <div class="tab-pane" id="examples-Actuator-healthPath-0-java">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
-import org.openapitools.client.auth.*;
-import org.openapitools.client.model.*;
-import org.openapitools.client.api.ActuatorApi;
-
-import java.io.File;
-import java.util.*;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
-
- // Create an instance of the API class
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- Object result = apiInstance.healthPath();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#healthPath");
- e.printStackTrace();
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-healthPath-0-android">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ActuatorApi;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- Object result = apiInstance.healthPath();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#healthPath");
- e.printStackTrace();
- }
- }
-}</code></pre>
- </div>
- <!--
- <div class="tab-pane" id="examples-Actuator-healthPath-0-groovy">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div> -->
- <div class="tab-pane" id="examples-Actuator-healthPath-0-objc">
- <pre class="prettyprint"><code class="language-cpp">
-
-// Create an instance of the API class
-ActuatorApi *apiInstance = [[ActuatorApi alloc] init];
-
-// Actuator web endpoint 'health-path'
-[apiInstance healthPathWithCompletionHandler:
- ^(Object output, NSError* error) {
- if (output) {
- NSLog(@"%@", output);
- }
- if (error) {
- NSLog(@"Error: %@", error);
- }
-}];
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-healthPath-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
-
-// Create an instance of the API class
-var api = new A1PolicyManagementService.ActuatorApi()
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-api.healthPath(callback);
-</code></pre>
- </div>
-
- <!--<div class="tab-pane" id="examples-Actuator-healthPath-0-angular">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div>-->
- <div class="tab-pane" id="examples-Actuator-healthPath-0-csharp">
- <pre class="prettyprint"><code class="language-cs">using System;
-using System.Diagnostics;
-using Org.OpenAPITools.Api;
-using Org.OpenAPITools.Client;
-using Org.OpenAPITools.Model;
-
-namespace Example
-{
- public class healthPathExample
- {
- public void main()
- {
-
- // Create an instance of the API class
- var apiInstance = new ActuatorApi();
-
- try {
- // Actuator web endpoint 'health-path'
- Object result = apiInstance.healthPath();
- Debug.WriteLine(result);
- } catch (Exception e) {
- Debug.Print("Exception when calling ActuatorApi.healthPath: " + e.Message );
- }
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-healthPath-0-php">
- <pre class="prettyprint"><code class="language-php"><?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-// Create an instance of the API class
-$api_instance = new OpenAPITools\Client\Api\ActuatorApi();
-
-try {
- $result = $api_instance->healthPath();
- print_r($result);
-} catch (Exception $e) {
- echo 'Exception when calling ActuatorApi->healthPath: ', $e->getMessage(), PHP_EOL;
-}
-?></code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-healthPath-0-perl">
- <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
-use WWW::OPenAPIClient::Configuration;
-use WWW::OPenAPIClient::ActuatorApi;
-
-# Create an instance of the API class
-my $api_instance = WWW::OPenAPIClient::ActuatorApi->new();
-
-eval {
- my $result = $api_instance->healthPath();
- print Dumper($result);
-};
-if ($@) {
- warn "Exception when calling ActuatorApi->healthPath: $@\n";
-}</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-healthPath-0-python">
- <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
-import time
-import openapi_client
-from openapi_client.rest import ApiException
-from pprint import pprint
-
-# Create an instance of the API class
-api_instance = openapi_client.ActuatorApi()
-
-try:
- # Actuator web endpoint 'health-path'
- api_response = api_instance.health_path()
- pprint(api_response)
-except ApiException as e:
- print("Exception when calling ActuatorApi->healthPath: %s\n" % e)</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-healthPath-0-rust">
- <pre class="prettyprint"><code class="language-rust">extern crate ActuatorApi;
-
-pub fn main() {
-
- let mut context = ActuatorApi::Context::default();
- let result = client.healthPath(&context).wait();
-
- println!("{:?}", result);
-}
-</code></pre>
- </div>
- </div>
-
- <h2>Scopes</h2>
- <table>
-
- </table>
-
- <h2>Parameters</h2>
-
-
-
-
-
-
- <h2>Responses</h2>
- <h3 id="examples-Actuator-healthPath-title-200"></h3>
- <p id="examples-Actuator-healthPath-description-200" class="marked"></p>
- <script>
- var responseActuator200_description = `OK`;
- var responseActuator200_description_break = responseActuator200_description.indexOf('\n');
- if (responseActuator200_description_break == -1) {
- $("#examples-Actuator-healthPath-title-200").text("Status: 200 - " + responseActuator200_description);
- } else {
- $("#examples-Actuator-healthPath-title-200").text("Status: 200 - " + responseActuator200_description.substring(0, responseActuator200_description_break));
- $("#examples-Actuator-healthPath-description-200").html(responseActuator200_description.substring(responseActuator200_description_break));
- }
- </script>
-
-
- <ul id="responses-detail-Actuator-healthPath-200" class="nav nav-tabs nav-tabs-examples" >
- <li class="active">
- <a data-toggle="tab" href="#responses-Actuator-healthPath-200-schema">Schema</a>
- </li>
-
-
-
-
- </ul>
-
-
- <div class="tab-content" id="responses-Actuator-healthPath-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-Actuator-healthPath-200-schema">
- <div id="responses-Actuator-healthPath-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
- Object.keys(schema.properties).forEach( (item) => {
- if (schema.properties[item].$ref != null) {
- schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
- }
- });
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
- }
-
- var view = new JSONSchemaView(schema, 3);
- $('#responses-Actuator-healthPath-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-Actuator-healthPath-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-Actuator-healthPath-200-schema-data' type='hidden' value=''></input>
- </div>
- </div>
- </article>
- </div>
- <hr>
- <div id="api-Actuator-heapdump">
- <article id="api-Actuator-heapdump-0" data-group="User" data-name="heapdump" data-version="0">
- <div class="pull-left">
- <h1>heapdump</h1>
- <p>Actuator web endpoint 'heapdump'</p>
- </div>
- <div class="pull-right"></div>
- <div class="clearfix"></div>
- <p></p>
- <p class="marked"></p>
- <p></p>
- <br />
- <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/actuator/heapdump</span></code></pre>
- <p>
- <h3>Usage and SDK Samples</h3>
- </p>
- <ul class="nav nav-tabs nav-tabs-examples">
- <li class="active"><a href="#examples-Actuator-heapdump-0-curl">Curl</a></li>
- <li class=""><a href="#examples-Actuator-heapdump-0-java">Java</a></li>
- <li class=""><a href="#examples-Actuator-heapdump-0-android">Android</a></li>
- <!--<li class=""><a href="#examples-Actuator-heapdump-0-groovy">Groovy</a></li>-->
- <li class=""><a href="#examples-Actuator-heapdump-0-objc">Obj-C</a></li>
- <li class=""><a href="#examples-Actuator-heapdump-0-javascript">JavaScript</a></li>
- <!--<li class=""><a href="#examples-Actuator-heapdump-0-angular">Angular</a></li>-->
- <li class=""><a href="#examples-Actuator-heapdump-0-csharp">C#</a></li>
- <li class=""><a href="#examples-Actuator-heapdump-0-php">PHP</a></li>
- <li class=""><a href="#examples-Actuator-heapdump-0-perl">Perl</a></li>
- <li class=""><a href="#examples-Actuator-heapdump-0-python">Python</a></li>
- <li class=""><a href="#examples-Actuator-heapdump-0-rust">Rust</a></li>
- </ul>
-
- <div class="tab-content">
- <div class="tab-pane active" id="examples-Actuator-heapdump-0-curl">
- <pre class="prettyprint"><code class="language-bsh">curl -X GET \
- -H "Accept: application/octet-stream" \
- "http://localhost/actuator/heapdump"
-</code></pre>
- </div>
- <div class="tab-pane" id="examples-Actuator-heapdump-0-java">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
-import org.openapitools.client.auth.*;
-import org.openapitools.client.model.*;
-import org.openapitools.client.api.ActuatorApi;
-
-import java.io.File;
-import java.util.*;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
-
- // Create an instance of the API class
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- Object result = apiInstance.heapdump();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#heapdump");
- e.printStackTrace();
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-heapdump-0-android">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ActuatorApi;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- Object result = apiInstance.heapdump();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#heapdump");
- e.printStackTrace();
- }
- }
-}</code></pre>
- </div>
- <!--
- <div class="tab-pane" id="examples-Actuator-heapdump-0-groovy">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div> -->
- <div class="tab-pane" id="examples-Actuator-heapdump-0-objc">
- <pre class="prettyprint"><code class="language-cpp">
-
-// Create an instance of the API class
-ActuatorApi *apiInstance = [[ActuatorApi alloc] init];
-
-// Actuator web endpoint 'heapdump'
-[apiInstance heapdumpWithCompletionHandler:
- ^(Object output, NSError* error) {
- if (output) {
- NSLog(@"%@", output);
- }
- if (error) {
- NSLog(@"Error: %@", error);
- }
-}];
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-heapdump-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
-
-// Create an instance of the API class
-var api = new A1PolicyManagementService.ActuatorApi()
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-api.heapdump(callback);
-</code></pre>
- </div>
-
- <!--<div class="tab-pane" id="examples-Actuator-heapdump-0-angular">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div>-->
- <div class="tab-pane" id="examples-Actuator-heapdump-0-csharp">
- <pre class="prettyprint"><code class="language-cs">using System;
-using System.Diagnostics;
-using Org.OpenAPITools.Api;
-using Org.OpenAPITools.Client;
-using Org.OpenAPITools.Model;
-
-namespace Example
-{
- public class heapdumpExample
- {
- public void main()
- {
-
- // Create an instance of the API class
- var apiInstance = new ActuatorApi();
-
- try {
- // Actuator web endpoint 'heapdump'
- Object result = apiInstance.heapdump();
- Debug.WriteLine(result);
- } catch (Exception e) {
- Debug.Print("Exception when calling ActuatorApi.heapdump: " + e.Message );
- }
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-heapdump-0-php">
- <pre class="prettyprint"><code class="language-php"><?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-// Create an instance of the API class
-$api_instance = new OpenAPITools\Client\Api\ActuatorApi();
-
-try {
- $result = $api_instance->heapdump();
- print_r($result);
-} catch (Exception $e) {
- echo 'Exception when calling ActuatorApi->heapdump: ', $e->getMessage(), PHP_EOL;
-}
-?></code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-heapdump-0-perl">
- <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
-use WWW::OPenAPIClient::Configuration;
-use WWW::OPenAPIClient::ActuatorApi;
-
-# Create an instance of the API class
-my $api_instance = WWW::OPenAPIClient::ActuatorApi->new();
-
-eval {
- my $result = $api_instance->heapdump();
- print Dumper($result);
-};
-if ($@) {
- warn "Exception when calling ActuatorApi->heapdump: $@\n";
-}</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-heapdump-0-python">
- <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
-import time
-import openapi_client
-from openapi_client.rest import ApiException
-from pprint import pprint
-
-# Create an instance of the API class
-api_instance = openapi_client.ActuatorApi()
-
-try:
- # Actuator web endpoint 'heapdump'
- api_response = api_instance.heapdump()
- pprint(api_response)
-except ApiException as e:
- print("Exception when calling ActuatorApi->heapdump: %s\n" % e)</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-heapdump-0-rust">
- <pre class="prettyprint"><code class="language-rust">extern crate ActuatorApi;
-
-pub fn main() {
-
- let mut context = ActuatorApi::Context::default();
- let result = client.heapdump(&context).wait();
-
- println!("{:?}", result);
-}
-</code></pre>
- </div>
- </div>
-
- <h2>Scopes</h2>
- <table>
-
- </table>
-
- <h2>Parameters</h2>
-
-
-
-
-
-
- <h2>Responses</h2>
- <h3 id="examples-Actuator-heapdump-title-200"></h3>
- <p id="examples-Actuator-heapdump-description-200" class="marked"></p>
- <script>
- var responseActuator200_description = `OK`;
- var responseActuator200_description_break = responseActuator200_description.indexOf('\n');
- if (responseActuator200_description_break == -1) {
- $("#examples-Actuator-heapdump-title-200").text("Status: 200 - " + responseActuator200_description);
- } else {
- $("#examples-Actuator-heapdump-title-200").text("Status: 200 - " + responseActuator200_description.substring(0, responseActuator200_description_break));
- $("#examples-Actuator-heapdump-description-200").html(responseActuator200_description.substring(responseActuator200_description_break));
- }
- </script>
-
-
- <ul id="responses-detail-Actuator-heapdump-200" class="nav nav-tabs nav-tabs-examples" >
- <li class="active">
- <a data-toggle="tab" href="#responses-Actuator-heapdump-200-schema">Schema</a>
- </li>
-
-
-
-
- </ul>
-
-
- <div class="tab-content" id="responses-Actuator-heapdump-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-Actuator-heapdump-200-schema">
- <div id="responses-Actuator-heapdump-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
- Object.keys(schema.properties).forEach( (item) => {
- if (schema.properties[item].$ref != null) {
- schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
- }
- });
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
- }
-
- var view = new JSONSchemaView(schema, 3);
- $('#responses-Actuator-heapdump-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-Actuator-heapdump-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-Actuator-heapdump-200-schema-data' type='hidden' value=''></input>
- </div>
- </div>
- </article>
- </div>
- <hr>
- <div id="api-Actuator-info">
- <article id="api-Actuator-info-0" data-group="User" data-name="info" data-version="0">
- <div class="pull-left">
- <h1>info</h1>
- <p>Actuator web endpoint 'info'</p>
- </div>
- <div class="pull-right"></div>
- <div class="clearfix"></div>
- <p></p>
- <p class="marked"></p>
- <p></p>
- <br />
- <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/actuator/info</span></code></pre>
- <p>
- <h3>Usage and SDK Samples</h3>
- </p>
- <ul class="nav nav-tabs nav-tabs-examples">
- <li class="active"><a href="#examples-Actuator-info-0-curl">Curl</a></li>
- <li class=""><a href="#examples-Actuator-info-0-java">Java</a></li>
- <li class=""><a href="#examples-Actuator-info-0-android">Android</a></li>
- <!--<li class=""><a href="#examples-Actuator-info-0-groovy">Groovy</a></li>-->
- <li class=""><a href="#examples-Actuator-info-0-objc">Obj-C</a></li>
- <li class=""><a href="#examples-Actuator-info-0-javascript">JavaScript</a></li>
- <!--<li class=""><a href="#examples-Actuator-info-0-angular">Angular</a></li>-->
- <li class=""><a href="#examples-Actuator-info-0-csharp">C#</a></li>
- <li class=""><a href="#examples-Actuator-info-0-php">PHP</a></li>
- <li class=""><a href="#examples-Actuator-info-0-perl">Perl</a></li>
- <li class=""><a href="#examples-Actuator-info-0-python">Python</a></li>
- <li class=""><a href="#examples-Actuator-info-0-rust">Rust</a></li>
- </ul>
-
- <div class="tab-content">
- <div class="tab-pane active" id="examples-Actuator-info-0-curl">
- <pre class="prettyprint"><code class="language-bsh">curl -X GET \
- -H "Accept: application/vnd.spring-boot.actuator.v3+json,application/json,application/vnd.spring-boot.actuator.v2+json" \
- "http://localhost/actuator/info"
-</code></pre>
- </div>
- <div class="tab-pane" id="examples-Actuator-info-0-java">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
-import org.openapitools.client.auth.*;
-import org.openapitools.client.model.*;
-import org.openapitools.client.api.ActuatorApi;
-
-import java.io.File;
-import java.util.*;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
-
- // Create an instance of the API class
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- Object result = apiInstance.info();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#info");
- e.printStackTrace();
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-info-0-android">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ActuatorApi;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- Object result = apiInstance.info();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#info");
- e.printStackTrace();
- }
- }
-}</code></pre>
- </div>
- <!--
- <div class="tab-pane" id="examples-Actuator-info-0-groovy">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div> -->
- <div class="tab-pane" id="examples-Actuator-info-0-objc">
- <pre class="prettyprint"><code class="language-cpp">
-
-// Create an instance of the API class
-ActuatorApi *apiInstance = [[ActuatorApi alloc] init];
-
-// Actuator web endpoint 'info'
-[apiInstance infoWithCompletionHandler:
- ^(Object output, NSError* error) {
- if (output) {
- NSLog(@"%@", output);
- }
- if (error) {
- NSLog(@"Error: %@", error);
- }
-}];
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-info-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
-
-// Create an instance of the API class
-var api = new A1PolicyManagementService.ActuatorApi()
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-api.info(callback);
-</code></pre>
- </div>
-
- <!--<div class="tab-pane" id="examples-Actuator-info-0-angular">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div>-->
- <div class="tab-pane" id="examples-Actuator-info-0-csharp">
- <pre class="prettyprint"><code class="language-cs">using System;
-using System.Diagnostics;
-using Org.OpenAPITools.Api;
-using Org.OpenAPITools.Client;
-using Org.OpenAPITools.Model;
-
-namespace Example
-{
- public class infoExample
- {
- public void main()
- {
-
- // Create an instance of the API class
- var apiInstance = new ActuatorApi();
-
- try {
- // Actuator web endpoint 'info'
- Object result = apiInstance.info();
- Debug.WriteLine(result);
- } catch (Exception e) {
- Debug.Print("Exception when calling ActuatorApi.info: " + e.Message );
- }
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-info-0-php">
- <pre class="prettyprint"><code class="language-php"><?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-// Create an instance of the API class
-$api_instance = new OpenAPITools\Client\Api\ActuatorApi();
-
-try {
- $result = $api_instance->info();
- print_r($result);
-} catch (Exception $e) {
- echo 'Exception when calling ActuatorApi->info: ', $e->getMessage(), PHP_EOL;
-}
-?></code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-info-0-perl">
- <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
-use WWW::OPenAPIClient::Configuration;
-use WWW::OPenAPIClient::ActuatorApi;
-
-# Create an instance of the API class
-my $api_instance = WWW::OPenAPIClient::ActuatorApi->new();
-
-eval {
- my $result = $api_instance->info();
- print Dumper($result);
-};
-if ($@) {
- warn "Exception when calling ActuatorApi->info: $@\n";
-}</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-info-0-python">
- <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
-import time
-import openapi_client
-from openapi_client.rest import ApiException
-from pprint import pprint
-
-# Create an instance of the API class
-api_instance = openapi_client.ActuatorApi()
-
-try:
- # Actuator web endpoint 'info'
- api_response = api_instance.info()
- pprint(api_response)
-except ApiException as e:
- print("Exception when calling ActuatorApi->info: %s\n" % e)</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-info-0-rust">
- <pre class="prettyprint"><code class="language-rust">extern crate ActuatorApi;
-
-pub fn main() {
-
- let mut context = ActuatorApi::Context::default();
- let result = client.info(&context).wait();
-
- println!("{:?}", result);
-}
-</code></pre>
- </div>
- </div>
-
- <h2>Scopes</h2>
- <table>
-
- </table>
-
- <h2>Parameters</h2>
-
-
-
-
-
-
- <h2>Responses</h2>
- <h3 id="examples-Actuator-info-title-200"></h3>
- <p id="examples-Actuator-info-description-200" class="marked"></p>
- <script>
- var responseActuator200_description = `OK`;
- var responseActuator200_description_break = responseActuator200_description.indexOf('\n');
- if (responseActuator200_description_break == -1) {
- $("#examples-Actuator-info-title-200").text("Status: 200 - " + responseActuator200_description);
- } else {
- $("#examples-Actuator-info-title-200").text("Status: 200 - " + responseActuator200_description.substring(0, responseActuator200_description_break));
- $("#examples-Actuator-info-description-200").html(responseActuator200_description.substring(responseActuator200_description_break));
- }
- </script>
-
-
- <ul id="responses-detail-Actuator-info-200" class="nav nav-tabs nav-tabs-examples" >
- <li class="active">
- <a data-toggle="tab" href="#responses-Actuator-info-200-schema">Schema</a>
- </li>
-
-
-
-
- </ul>
-
-
- <div class="tab-content" id="responses-Actuator-info-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-Actuator-info-200-schema">
- <div id="responses-Actuator-info-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
- Object.keys(schema.properties).forEach( (item) => {
- if (schema.properties[item].$ref != null) {
- schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
- }
- });
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
- }
-
- var view = new JSONSchemaView(schema, 3);
- $('#responses-Actuator-info-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-Actuator-info-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-Actuator-info-200-schema-data' type='hidden' value=''></input>
- </div>
- </div>
- </article>
- </div>
- <hr>
- <div id="api-Actuator-links">
- <article id="api-Actuator-links-0" data-group="User" data-name="links" data-version="0">
- <div class="pull-left">
- <h1>links</h1>
- <p>Actuator root web endpoint</p>
- </div>
- <div class="pull-right"></div>
- <div class="clearfix"></div>
- <p></p>
- <p class="marked"></p>
- <p></p>
- <br />
- <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/actuator</span></code></pre>
- <p>
- <h3>Usage and SDK Samples</h3>
- </p>
- <ul class="nav nav-tabs nav-tabs-examples">
- <li class="active"><a href="#examples-Actuator-links-0-curl">Curl</a></li>
- <li class=""><a href="#examples-Actuator-links-0-java">Java</a></li>
- <li class=""><a href="#examples-Actuator-links-0-android">Android</a></li>
- <!--<li class=""><a href="#examples-Actuator-links-0-groovy">Groovy</a></li>-->
- <li class=""><a href="#examples-Actuator-links-0-objc">Obj-C</a></li>
- <li class=""><a href="#examples-Actuator-links-0-javascript">JavaScript</a></li>
- <!--<li class=""><a href="#examples-Actuator-links-0-angular">Angular</a></li>-->
- <li class=""><a href="#examples-Actuator-links-0-csharp">C#</a></li>
- <li class=""><a href="#examples-Actuator-links-0-php">PHP</a></li>
- <li class=""><a href="#examples-Actuator-links-0-perl">Perl</a></li>
- <li class=""><a href="#examples-Actuator-links-0-python">Python</a></li>
- <li class=""><a href="#examples-Actuator-links-0-rust">Rust</a></li>
- </ul>
-
- <div class="tab-content">
- <div class="tab-pane active" id="examples-Actuator-links-0-curl">
- <pre class="prettyprint"><code class="language-bsh">curl -X GET \
- -H "Accept: application/vnd.spring-boot.actuator.v3+json,application/json,application/vnd.spring-boot.actuator.v2+json" \
- "http://localhost/actuator"
-</code></pre>
- </div>
- <div class="tab-pane" id="examples-Actuator-links-0-java">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
-import org.openapitools.client.auth.*;
-import org.openapitools.client.model.*;
-import org.openapitools.client.api.ActuatorApi;
-
-import java.io.File;
-import java.util.*;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
-
- // Create an instance of the API class
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- map['String', map['String', Link]] result = apiInstance.links();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#links");
- e.printStackTrace();
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-links-0-android">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ActuatorApi;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- map['String', map['String', Link]] result = apiInstance.links();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#links");
- e.printStackTrace();
- }
- }
-}</code></pre>
- </div>
- <!--
- <div class="tab-pane" id="examples-Actuator-links-0-groovy">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div> -->
- <div class="tab-pane" id="examples-Actuator-links-0-objc">
- <pre class="prettyprint"><code class="language-cpp">
-
-// Create an instance of the API class
-ActuatorApi *apiInstance = [[ActuatorApi alloc] init];
-
-// Actuator root web endpoint
-[apiInstance linksWithCompletionHandler:
- ^(map['String', map['String', Link]] output, NSError* error) {
- if (output) {
- NSLog(@"%@", output);
- }
- if (error) {
- NSLog(@"Error: %@", error);
- }
-}];
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-links-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
-
-// Create an instance of the API class
-var api = new A1PolicyManagementService.ActuatorApi()
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-api.links(callback);
-</code></pre>
- </div>
-
- <!--<div class="tab-pane" id="examples-Actuator-links-0-angular">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div>-->
- <div class="tab-pane" id="examples-Actuator-links-0-csharp">
- <pre class="prettyprint"><code class="language-cs">using System;
-using System.Diagnostics;
-using Org.OpenAPITools.Api;
-using Org.OpenAPITools.Client;
-using Org.OpenAPITools.Model;
-
-namespace Example
-{
- public class linksExample
- {
- public void main()
- {
-
- // Create an instance of the API class
- var apiInstance = new ActuatorApi();
-
- try {
- // Actuator root web endpoint
- map['String', map['String', Link]] result = apiInstance.links();
- Debug.WriteLine(result);
- } catch (Exception e) {
- Debug.Print("Exception when calling ActuatorApi.links: " + e.Message );
- }
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-links-0-php">
- <pre class="prettyprint"><code class="language-php"><?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-// Create an instance of the API class
-$api_instance = new OpenAPITools\Client\Api\ActuatorApi();
-
-try {
- $result = $api_instance->links();
- print_r($result);
-} catch (Exception $e) {
- echo 'Exception when calling ActuatorApi->links: ', $e->getMessage(), PHP_EOL;
-}
-?></code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-links-0-perl">
- <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
-use WWW::OPenAPIClient::Configuration;
-use WWW::OPenAPIClient::ActuatorApi;
-
-# Create an instance of the API class
-my $api_instance = WWW::OPenAPIClient::ActuatorApi->new();
-
-eval {
- my $result = $api_instance->links();
- print Dumper($result);
-};
-if ($@) {
- warn "Exception when calling ActuatorApi->links: $@\n";
-}</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-links-0-python">
- <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
-import time
-import openapi_client
-from openapi_client.rest import ApiException
-from pprint import pprint
-
-# Create an instance of the API class
-api_instance = openapi_client.ActuatorApi()
-
-try:
- # Actuator root web endpoint
- api_response = api_instance.links()
- pprint(api_response)
-except ApiException as e:
- print("Exception when calling ActuatorApi->links: %s\n" % e)</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-links-0-rust">
- <pre class="prettyprint"><code class="language-rust">extern crate ActuatorApi;
-
-pub fn main() {
-
- let mut context = ActuatorApi::Context::default();
- let result = client.links(&context).wait();
-
- println!("{:?}", result);
-}
-</code></pre>
- </div>
- </div>
-
- <h2>Scopes</h2>
- <table>
-
- </table>
-
- <h2>Parameters</h2>
-
-
-
-
-
-
- <h2>Responses</h2>
- <h3 id="examples-Actuator-links-title-200"></h3>
- <p id="examples-Actuator-links-description-200" class="marked"></p>
- <script>
- var responseActuator200_description = `OK`;
- var responseActuator200_description_break = responseActuator200_description.indexOf('\n');
- if (responseActuator200_description_break == -1) {
- $("#examples-Actuator-links-title-200").text("Status: 200 - " + responseActuator200_description);
- } else {
- $("#examples-Actuator-links-title-200").text("Status: 200 - " + responseActuator200_description.substring(0, responseActuator200_description_break));
- $("#examples-Actuator-links-description-200").html(responseActuator200_description.substring(responseActuator200_description_break));
- }
- </script>
-
-
- <ul id="responses-detail-Actuator-links-200" class="nav nav-tabs nav-tabs-examples" >
- <li class="active">
- <a data-toggle="tab" href="#responses-Actuator-links-200-schema">Schema</a>
- </li>
-
-
-
-
- </ul>
-
-
- <div class="tab-content" id="responses-Actuator-links-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-Actuator-links-200-schema">
- <div id="responses-Actuator-links-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
- Object.keys(schema.properties).forEach( (item) => {
- if (schema.properties[item].$ref != null) {
- schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
- }
- });
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
- }
-
- var view = new JSONSchemaView(schema, 3);
- $('#responses-Actuator-links-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-Actuator-links-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-Actuator-links-200-schema-data' type='hidden' value=''></input>
- </div>
- </div>
- </article>
- </div>
- <hr>
- <div id="api-Actuator-logfile">
- <article id="api-Actuator-logfile-0" data-group="User" data-name="logfile" data-version="0">
- <div class="pull-left">
- <h1>logfile</h1>
- <p>Actuator web endpoint 'logfile'</p>
- </div>
- <div class="pull-right"></div>
- <div class="clearfix"></div>
- <p></p>
- <p class="marked"></p>
- <p></p>
- <br />
- <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/actuator/logfile</span></code></pre>
- <p>
- <h3>Usage and SDK Samples</h3>
- </p>
- <ul class="nav nav-tabs nav-tabs-examples">
- <li class="active"><a href="#examples-Actuator-logfile-0-curl">Curl</a></li>
- <li class=""><a href="#examples-Actuator-logfile-0-java">Java</a></li>
- <li class=""><a href="#examples-Actuator-logfile-0-android">Android</a></li>
- <!--<li class=""><a href="#examples-Actuator-logfile-0-groovy">Groovy</a></li>-->
- <li class=""><a href="#examples-Actuator-logfile-0-objc">Obj-C</a></li>
- <li class=""><a href="#examples-Actuator-logfile-0-javascript">JavaScript</a></li>
- <!--<li class=""><a href="#examples-Actuator-logfile-0-angular">Angular</a></li>-->
- <li class=""><a href="#examples-Actuator-logfile-0-csharp">C#</a></li>
- <li class=""><a href="#examples-Actuator-logfile-0-php">PHP</a></li>
- <li class=""><a href="#examples-Actuator-logfile-0-perl">Perl</a></li>
- <li class=""><a href="#examples-Actuator-logfile-0-python">Python</a></li>
- <li class=""><a href="#examples-Actuator-logfile-0-rust">Rust</a></li>
- </ul>
-
- <div class="tab-content">
- <div class="tab-pane active" id="examples-Actuator-logfile-0-curl">
- <pre class="prettyprint"><code class="language-bsh">curl -X GET \
- -H "Accept: text/plain;charset=UTF-8" \
- "http://localhost/actuator/logfile"
-</code></pre>
- </div>
- <div class="tab-pane" id="examples-Actuator-logfile-0-java">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
-import org.openapitools.client.auth.*;
-import org.openapitools.client.model.*;
-import org.openapitools.client.api.ActuatorApi;
-
-import java.io.File;
-import java.util.*;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
-
- // Create an instance of the API class
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- Object result = apiInstance.logfile();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#logfile");
- e.printStackTrace();
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-logfile-0-android">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ActuatorApi;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- Object result = apiInstance.logfile();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#logfile");
- e.printStackTrace();
- }
- }
-}</code></pre>
- </div>
- <!--
- <div class="tab-pane" id="examples-Actuator-logfile-0-groovy">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div> -->
- <div class="tab-pane" id="examples-Actuator-logfile-0-objc">
- <pre class="prettyprint"><code class="language-cpp">
-
-// Create an instance of the API class
-ActuatorApi *apiInstance = [[ActuatorApi alloc] init];
-
-// Actuator web endpoint 'logfile'
-[apiInstance logfileWithCompletionHandler:
- ^(Object output, NSError* error) {
- if (output) {
- NSLog(@"%@", output);
- }
- if (error) {
- NSLog(@"Error: %@", error);
- }
-}];
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-logfile-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
-
-// Create an instance of the API class
-var api = new A1PolicyManagementService.ActuatorApi()
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-api.logfile(callback);
-</code></pre>
- </div>
-
- <!--<div class="tab-pane" id="examples-Actuator-logfile-0-angular">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div>-->
- <div class="tab-pane" id="examples-Actuator-logfile-0-csharp">
- <pre class="prettyprint"><code class="language-cs">using System;
-using System.Diagnostics;
-using Org.OpenAPITools.Api;
-using Org.OpenAPITools.Client;
-using Org.OpenAPITools.Model;
-
-namespace Example
-{
- public class logfileExample
- {
- public void main()
- {
-
- // Create an instance of the API class
- var apiInstance = new ActuatorApi();
-
- try {
- // Actuator web endpoint 'logfile'
- Object result = apiInstance.logfile();
- Debug.WriteLine(result);
- } catch (Exception e) {
- Debug.Print("Exception when calling ActuatorApi.logfile: " + e.Message );
- }
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-logfile-0-php">
- <pre class="prettyprint"><code class="language-php"><?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-// Create an instance of the API class
-$api_instance = new OpenAPITools\Client\Api\ActuatorApi();
-
-try {
- $result = $api_instance->logfile();
- print_r($result);
-} catch (Exception $e) {
- echo 'Exception when calling ActuatorApi->logfile: ', $e->getMessage(), PHP_EOL;
-}
-?></code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-logfile-0-perl">
- <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
-use WWW::OPenAPIClient::Configuration;
-use WWW::OPenAPIClient::ActuatorApi;
-
-# Create an instance of the API class
-my $api_instance = WWW::OPenAPIClient::ActuatorApi->new();
-
-eval {
- my $result = $api_instance->logfile();
- print Dumper($result);
-};
-if ($@) {
- warn "Exception when calling ActuatorApi->logfile: $@\n";
-}</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-logfile-0-python">
- <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
-import time
-import openapi_client
-from openapi_client.rest import ApiException
-from pprint import pprint
-
-# Create an instance of the API class
-api_instance = openapi_client.ActuatorApi()
-
-try:
- # Actuator web endpoint 'logfile'
- api_response = api_instance.logfile()
- pprint(api_response)
-except ApiException as e:
- print("Exception when calling ActuatorApi->logfile: %s\n" % e)</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-logfile-0-rust">
- <pre class="prettyprint"><code class="language-rust">extern crate ActuatorApi;
-
-pub fn main() {
-
- let mut context = ActuatorApi::Context::default();
- let result = client.logfile(&context).wait();
-
- println!("{:?}", result);
-}
-</code></pre>
- </div>
- </div>
-
- <h2>Scopes</h2>
- <table>
-
- </table>
-
- <h2>Parameters</h2>
-
-
-
-
-
-
- <h2>Responses</h2>
- <h3 id="examples-Actuator-logfile-title-200"></h3>
- <p id="examples-Actuator-logfile-description-200" class="marked"></p>
- <script>
- var responseActuator200_description = `OK`;
- var responseActuator200_description_break = responseActuator200_description.indexOf('\n');
- if (responseActuator200_description_break == -1) {
- $("#examples-Actuator-logfile-title-200").text("Status: 200 - " + responseActuator200_description);
- } else {
- $("#examples-Actuator-logfile-title-200").text("Status: 200 - " + responseActuator200_description.substring(0, responseActuator200_description_break));
- $("#examples-Actuator-logfile-description-200").html(responseActuator200_description.substring(responseActuator200_description_break));
- }
- </script>
-
-
- <ul id="responses-detail-Actuator-logfile-200" class="nav nav-tabs nav-tabs-examples" >
- <li class="active">
- <a data-toggle="tab" href="#responses-Actuator-logfile-200-schema">Schema</a>
- </li>
-
-
-
-
- </ul>
-
-
- <div class="tab-content" id="responses-Actuator-logfile-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-Actuator-logfile-200-schema">
- <div id="responses-Actuator-logfile-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
- Object.keys(schema.properties).forEach( (item) => {
- if (schema.properties[item].$ref != null) {
- schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
- }
- });
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
- }
-
- var view = new JSONSchemaView(schema, 3);
- $('#responses-Actuator-logfile-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-Actuator-logfile-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-Actuator-logfile-200-schema-data' type='hidden' value=''></input>
- </div>
- </div>
- </article>
- </div>
- <hr>
- <div id="api-Actuator-loggers">
- <article id="api-Actuator-loggers-0" data-group="User" data-name="loggers" data-version="0">
- <div class="pull-left">
- <h1>loggers</h1>
- <p>Actuator web endpoint 'loggers'</p>
- </div>
- <div class="pull-right"></div>
- <div class="clearfix"></div>
- <p></p>
- <p class="marked"></p>
- <p></p>
- <br />
- <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/actuator/loggers</span></code></pre>
- <p>
- <h3>Usage and SDK Samples</h3>
- </p>
- <ul class="nav nav-tabs nav-tabs-examples">
- <li class="active"><a href="#examples-Actuator-loggers-0-curl">Curl</a></li>
- <li class=""><a href="#examples-Actuator-loggers-0-java">Java</a></li>
- <li class=""><a href="#examples-Actuator-loggers-0-android">Android</a></li>
- <!--<li class=""><a href="#examples-Actuator-loggers-0-groovy">Groovy</a></li>-->
- <li class=""><a href="#examples-Actuator-loggers-0-objc">Obj-C</a></li>
- <li class=""><a href="#examples-Actuator-loggers-0-javascript">JavaScript</a></li>
- <!--<li class=""><a href="#examples-Actuator-loggers-0-angular">Angular</a></li>-->
- <li class=""><a href="#examples-Actuator-loggers-0-csharp">C#</a></li>
- <li class=""><a href="#examples-Actuator-loggers-0-php">PHP</a></li>
- <li class=""><a href="#examples-Actuator-loggers-0-perl">Perl</a></li>
- <li class=""><a href="#examples-Actuator-loggers-0-python">Python</a></li>
- <li class=""><a href="#examples-Actuator-loggers-0-rust">Rust</a></li>
- </ul>
-
- <div class="tab-content">
- <div class="tab-pane active" id="examples-Actuator-loggers-0-curl">
- <pre class="prettyprint"><code class="language-bsh">curl -X GET \
- -H "Accept: application/vnd.spring-boot.actuator.v3+json,application/json,application/vnd.spring-boot.actuator.v2+json" \
- "http://localhost/actuator/loggers"
-</code></pre>
- </div>
- <div class="tab-pane" id="examples-Actuator-loggers-0-java">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
-import org.openapitools.client.auth.*;
-import org.openapitools.client.model.*;
-import org.openapitools.client.api.ActuatorApi;
-
-import java.io.File;
-import java.util.*;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
-
- // Create an instance of the API class
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- Object result = apiInstance.loggers();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#loggers");
- e.printStackTrace();
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-loggers-0-android">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ActuatorApi;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- Object result = apiInstance.loggers();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#loggers");
- e.printStackTrace();
- }
- }
-}</code></pre>
- </div>
- <!--
- <div class="tab-pane" id="examples-Actuator-loggers-0-groovy">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div> -->
- <div class="tab-pane" id="examples-Actuator-loggers-0-objc">
- <pre class="prettyprint"><code class="language-cpp">
-
-// Create an instance of the API class
-ActuatorApi *apiInstance = [[ActuatorApi alloc] init];
-
-// Actuator web endpoint 'loggers'
-[apiInstance loggersWithCompletionHandler:
- ^(Object output, NSError* error) {
- if (output) {
- NSLog(@"%@", output);
- }
- if (error) {
- NSLog(@"Error: %@", error);
- }
-}];
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-loggers-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
-
-// Create an instance of the API class
-var api = new A1PolicyManagementService.ActuatorApi()
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-api.loggers(callback);
-</code></pre>
- </div>
-
- <!--<div class="tab-pane" id="examples-Actuator-loggers-0-angular">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div>-->
- <div class="tab-pane" id="examples-Actuator-loggers-0-csharp">
- <pre class="prettyprint"><code class="language-cs">using System;
-using System.Diagnostics;
-using Org.OpenAPITools.Api;
-using Org.OpenAPITools.Client;
-using Org.OpenAPITools.Model;
-
-namespace Example
-{
- public class loggersExample
- {
- public void main()
- {
-
- // Create an instance of the API class
- var apiInstance = new ActuatorApi();
-
- try {
- // Actuator web endpoint 'loggers'
- Object result = apiInstance.loggers();
- Debug.WriteLine(result);
- } catch (Exception e) {
- Debug.Print("Exception when calling ActuatorApi.loggers: " + e.Message );
- }
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-loggers-0-php">
- <pre class="prettyprint"><code class="language-php"><?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-// Create an instance of the API class
-$api_instance = new OpenAPITools\Client\Api\ActuatorApi();
-
-try {
- $result = $api_instance->loggers();
- print_r($result);
-} catch (Exception $e) {
- echo 'Exception when calling ActuatorApi->loggers: ', $e->getMessage(), PHP_EOL;
-}
-?></code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-loggers-0-perl">
- <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
-use WWW::OPenAPIClient::Configuration;
-use WWW::OPenAPIClient::ActuatorApi;
-
-# Create an instance of the API class
-my $api_instance = WWW::OPenAPIClient::ActuatorApi->new();
-
-eval {
- my $result = $api_instance->loggers();
- print Dumper($result);
-};
-if ($@) {
- warn "Exception when calling ActuatorApi->loggers: $@\n";
-}</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-loggers-0-python">
- <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
-import time
-import openapi_client
-from openapi_client.rest import ApiException
-from pprint import pprint
-
-# Create an instance of the API class
-api_instance = openapi_client.ActuatorApi()
-
-try:
- # Actuator web endpoint 'loggers'
- api_response = api_instance.loggers()
- pprint(api_response)
-except ApiException as e:
- print("Exception when calling ActuatorApi->loggers: %s\n" % e)</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-loggers-0-rust">
- <pre class="prettyprint"><code class="language-rust">extern crate ActuatorApi;
-
-pub fn main() {
-
- let mut context = ActuatorApi::Context::default();
- let result = client.loggers(&context).wait();
-
- println!("{:?}", result);
-}
-</code></pre>
- </div>
- </div>
-
- <h2>Scopes</h2>
- <table>
-
- </table>
-
- <h2>Parameters</h2>
-
-
-
-
-
-
- <h2>Responses</h2>
- <h3 id="examples-Actuator-loggers-title-200"></h3>
- <p id="examples-Actuator-loggers-description-200" class="marked"></p>
- <script>
- var responseActuator200_description = `OK`;
- var responseActuator200_description_break = responseActuator200_description.indexOf('\n');
- if (responseActuator200_description_break == -1) {
- $("#examples-Actuator-loggers-title-200").text("Status: 200 - " + responseActuator200_description);
- } else {
- $("#examples-Actuator-loggers-title-200").text("Status: 200 - " + responseActuator200_description.substring(0, responseActuator200_description_break));
- $("#examples-Actuator-loggers-description-200").html(responseActuator200_description.substring(responseActuator200_description_break));
- }
- </script>
-
-
- <ul id="responses-detail-Actuator-loggers-200" class="nav nav-tabs nav-tabs-examples" >
- <li class="active">
- <a data-toggle="tab" href="#responses-Actuator-loggers-200-schema">Schema</a>
- </li>
-
-
-
-
- </ul>
-
-
- <div class="tab-content" id="responses-Actuator-loggers-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-Actuator-loggers-200-schema">
- <div id="responses-Actuator-loggers-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
- Object.keys(schema.properties).forEach( (item) => {
- if (schema.properties[item].$ref != null) {
- schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
- }
- });
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
- }
-
- var view = new JSONSchemaView(schema, 3);
- $('#responses-Actuator-loggers-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-Actuator-loggers-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-Actuator-loggers-200-schema-data' type='hidden' value=''></input>
- </div>
- </div>
- </article>
- </div>
- <hr>
- <div id="api-Actuator-loggersName">
- <article id="api-Actuator-loggersName-0" data-group="User" data-name="loggersName" data-version="0">
- <div class="pull-left">
- <h1>loggersName</h1>
- <p>Actuator web endpoint 'loggers-name'</p>
- </div>
- <div class="pull-right"></div>
- <div class="clearfix"></div>
- <p></p>
- <p class="marked"></p>
- <p></p>
- <br />
- <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/actuator/loggers/{name}</span></code></pre>
- <p>
- <h3>Usage and SDK Samples</h3>
- </p>
- <ul class="nav nav-tabs nav-tabs-examples">
- <li class="active"><a href="#examples-Actuator-loggersName-0-curl">Curl</a></li>
- <li class=""><a href="#examples-Actuator-loggersName-0-java">Java</a></li>
- <li class=""><a href="#examples-Actuator-loggersName-0-android">Android</a></li>
- <!--<li class=""><a href="#examples-Actuator-loggersName-0-groovy">Groovy</a></li>-->
- <li class=""><a href="#examples-Actuator-loggersName-0-objc">Obj-C</a></li>
- <li class=""><a href="#examples-Actuator-loggersName-0-javascript">JavaScript</a></li>
- <!--<li class=""><a href="#examples-Actuator-loggersName-0-angular">Angular</a></li>-->
- <li class=""><a href="#examples-Actuator-loggersName-0-csharp">C#</a></li>
- <li class=""><a href="#examples-Actuator-loggersName-0-php">PHP</a></li>
- <li class=""><a href="#examples-Actuator-loggersName-0-perl">Perl</a></li>
- <li class=""><a href="#examples-Actuator-loggersName-0-python">Python</a></li>
- <li class=""><a href="#examples-Actuator-loggersName-0-rust">Rust</a></li>
- </ul>
-
- <div class="tab-content">
- <div class="tab-pane active" id="examples-Actuator-loggersName-0-curl">
- <pre class="prettyprint"><code class="language-bsh">curl -X GET \
- -H "Accept: application/vnd.spring-boot.actuator.v3+json,application/json,application/vnd.spring-boot.actuator.v2+json" \
- "http://localhost/actuator/loggers/{name}"
-</code></pre>
- </div>
- <div class="tab-pane" id="examples-Actuator-loggersName-0-java">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
-import org.openapitools.client.auth.*;
-import org.openapitools.client.model.*;
-import org.openapitools.client.api.ActuatorApi;
-
-import java.io.File;
-import java.util.*;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
-
- // Create an instance of the API class
- ActuatorApi apiInstance = new ActuatorApi();
- String name = name_example; // String |
-
- try {
- Object result = apiInstance.loggersName(name);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#loggersName");
- e.printStackTrace();
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-loggersName-0-android">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ActuatorApi;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
- ActuatorApi apiInstance = new ActuatorApi();
- String name = name_example; // String |
-
- try {
- Object result = apiInstance.loggersName(name);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#loggersName");
- e.printStackTrace();
- }
- }
-}</code></pre>
- </div>
- <!--
- <div class="tab-pane" id="examples-Actuator-loggersName-0-groovy">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div> -->
- <div class="tab-pane" id="examples-Actuator-loggersName-0-objc">
- <pre class="prettyprint"><code class="language-cpp">
-
-// Create an instance of the API class
-ActuatorApi *apiInstance = [[ActuatorApi alloc] init];
-String *name = name_example; // (default to null)
-
-// Actuator web endpoint 'loggers-name'
-[apiInstance loggersNameWith:name
- completionHandler: ^(Object output, NSError* error) {
- if (output) {
- NSLog(@"%@", output);
- }
- if (error) {
- NSLog(@"Error: %@", error);
- }
-}];
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-loggersName-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
-
-// Create an instance of the API class
-var api = new A1PolicyManagementService.ActuatorApi()
-var name = name_example; // {String}
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-api.loggersName(name, callback);
-</code></pre>
- </div>
-
- <!--<div class="tab-pane" id="examples-Actuator-loggersName-0-angular">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div>-->
- <div class="tab-pane" id="examples-Actuator-loggersName-0-csharp">
- <pre class="prettyprint"><code class="language-cs">using System;
-using System.Diagnostics;
-using Org.OpenAPITools.Api;
-using Org.OpenAPITools.Client;
-using Org.OpenAPITools.Model;
-
-namespace Example
-{
- public class loggersNameExample
- {
- public void main()
- {
-
- // Create an instance of the API class
- var apiInstance = new ActuatorApi();
- var name = name_example; // String | (default to null)
-
- try {
- // Actuator web endpoint 'loggers-name'
- Object result = apiInstance.loggersName(name);
- Debug.WriteLine(result);
- } catch (Exception e) {
- Debug.Print("Exception when calling ActuatorApi.loggersName: " + e.Message );
- }
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-loggersName-0-php">
- <pre class="prettyprint"><code class="language-php"><?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-// Create an instance of the API class
-$api_instance = new OpenAPITools\Client\Api\ActuatorApi();
-$name = name_example; // String |
-
-try {
- $result = $api_instance->loggersName($name);
- print_r($result);
-} catch (Exception $e) {
- echo 'Exception when calling ActuatorApi->loggersName: ', $e->getMessage(), PHP_EOL;
-}
-?></code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-loggersName-0-perl">
- <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
-use WWW::OPenAPIClient::Configuration;
-use WWW::OPenAPIClient::ActuatorApi;
-
-# Create an instance of the API class
-my $api_instance = WWW::OPenAPIClient::ActuatorApi->new();
-my $name = name_example; # String |
-
-eval {
- my $result = $api_instance->loggersName(name => $name);
- print Dumper($result);
-};
-if ($@) {
- warn "Exception when calling ActuatorApi->loggersName: $@\n";
-}</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-loggersName-0-python">
- <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
-import time
-import openapi_client
-from openapi_client.rest import ApiException
-from pprint import pprint
-
-# Create an instance of the API class
-api_instance = openapi_client.ActuatorApi()
-name = name_example # String | (default to null)
-
-try:
- # Actuator web endpoint 'loggers-name'
- api_response = api_instance.loggers_name(name)
- pprint(api_response)
-except ApiException as e:
- print("Exception when calling ActuatorApi->loggersName: %s\n" % e)</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-loggersName-0-rust">
- <pre class="prettyprint"><code class="language-rust">extern crate ActuatorApi;
-
-pub fn main() {
- let name = name_example; // String
-
- let mut context = ActuatorApi::Context::default();
- let result = client.loggersName(name, &context).wait();
-
- println!("{:?}", result);
-}
-</code></pre>
- </div>
- </div>
-
- <h2>Scopes</h2>
- <table>
-
- </table>
-
- <h2>Parameters</h2>
-
- <div class="methodsubtabletitle">Path parameters</div>
- <table id="methodsubtable">
- <tr>
- <th width="150px">Name</th>
- <th>Description</th>
- </tr>
- <tr><td style="width:150px;">name*</td>
-<td>
-
-
- <div id="d2e199_loggersName_name">
- <div class="json-schema-view">
- <div class="primitive">
- <span class="type">
- String
- </span>
-
- </div>
- <div class="inner required">
- Required
- </div>
- </div>
- </div>
-</td>
-</tr>
-
- </table>
-
-
-
-
-
- <h2>Responses</h2>
- <h3 id="examples-Actuator-loggersName-title-200"></h3>
- <p id="examples-Actuator-loggersName-description-200" class="marked"></p>
- <script>
- var responseActuator200_description = `OK`;
- var responseActuator200_description_break = responseActuator200_description.indexOf('\n');
- if (responseActuator200_description_break == -1) {
- $("#examples-Actuator-loggersName-title-200").text("Status: 200 - " + responseActuator200_description);
- } else {
- $("#examples-Actuator-loggersName-title-200").text("Status: 200 - " + responseActuator200_description.substring(0, responseActuator200_description_break));
- $("#examples-Actuator-loggersName-description-200").html(responseActuator200_description.substring(responseActuator200_description_break));
- }
- </script>
-
-
- <ul id="responses-detail-Actuator-loggersName-200" class="nav nav-tabs nav-tabs-examples" >
- <li class="active">
- <a data-toggle="tab" href="#responses-Actuator-loggersName-200-schema">Schema</a>
- </li>
-
-
-
-
- </ul>
-
-
- <div class="tab-content" id="responses-Actuator-loggersName-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-Actuator-loggersName-200-schema">
- <div id="responses-Actuator-loggersName-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
- Object.keys(schema.properties).forEach( (item) => {
- if (schema.properties[item].$ref != null) {
- schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
- }
- });
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
- }
-
- var view = new JSONSchemaView(schema, 3);
- $('#responses-Actuator-loggersName-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-Actuator-loggersName-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-Actuator-loggersName-200-schema-data' type='hidden' value=''></input>
- </div>
- </div>
- </article>
- </div>
- <hr>
- <div id="api-Actuator-loggersName2">
- <article id="api-Actuator-loggersName2-0" data-group="User" data-name="loggersName2" data-version="0">
- <div class="pull-left">
- <h1>loggersName2</h1>
- <p>Actuator web endpoint 'loggers-name'</p>
- </div>
- <div class="pull-right"></div>
- <div class="clearfix"></div>
- <p></p>
- <p class="marked"></p>
- <p></p>
- <br />
- <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/actuator/loggers/{name}</span></code></pre>
- <p>
- <h3>Usage and SDK Samples</h3>
- </p>
- <ul class="nav nav-tabs nav-tabs-examples">
- <li class="active"><a href="#examples-Actuator-loggersName2-0-curl">Curl</a></li>
- <li class=""><a href="#examples-Actuator-loggersName2-0-java">Java</a></li>
- <li class=""><a href="#examples-Actuator-loggersName2-0-android">Android</a></li>
- <!--<li class=""><a href="#examples-Actuator-loggersName2-0-groovy">Groovy</a></li>-->
- <li class=""><a href="#examples-Actuator-loggersName2-0-objc">Obj-C</a></li>
- <li class=""><a href="#examples-Actuator-loggersName2-0-javascript">JavaScript</a></li>
- <!--<li class=""><a href="#examples-Actuator-loggersName2-0-angular">Angular</a></li>-->
- <li class=""><a href="#examples-Actuator-loggersName2-0-csharp">C#</a></li>
- <li class=""><a href="#examples-Actuator-loggersName2-0-php">PHP</a></li>
- <li class=""><a href="#examples-Actuator-loggersName2-0-perl">Perl</a></li>
- <li class=""><a href="#examples-Actuator-loggersName2-0-python">Python</a></li>
- <li class=""><a href="#examples-Actuator-loggersName2-0-rust">Rust</a></li>
- </ul>
-
- <div class="tab-content">
- <div class="tab-pane active" id="examples-Actuator-loggersName2-0-curl">
- <pre class="prettyprint"><code class="language-bsh">curl -X POST \
- -H "Accept: */*" \
- -H "Content-Type: application/json" \
- "http://localhost/actuator/loggers/{name}" \
- -d ''
-</code></pre>
- </div>
- <div class="tab-pane" id="examples-Actuator-loggersName2-0-java">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
-import org.openapitools.client.auth.*;
-import org.openapitools.client.model.*;
-import org.openapitools.client.api.ActuatorApi;
-
-import java.io.File;
-import java.util.*;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
-
- // Create an instance of the API class
- ActuatorApi apiInstance = new ActuatorApi();
- String name = name_example; // String |
- String body = body_example; // String |
-
- try {
- Object result = apiInstance.loggersName2(name, body);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#loggersName2");
- e.printStackTrace();
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-loggersName2-0-android">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ActuatorApi;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
- ActuatorApi apiInstance = new ActuatorApi();
- String name = name_example; // String |
- String body = body_example; // String |
-
- try {
- Object result = apiInstance.loggersName2(name, body);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#loggersName2");
- e.printStackTrace();
- }
- }
-}</code></pre>
- </div>
- <!--
- <div class="tab-pane" id="examples-Actuator-loggersName2-0-groovy">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div> -->
- <div class="tab-pane" id="examples-Actuator-loggersName2-0-objc">
- <pre class="prettyprint"><code class="language-cpp">
-
-// Create an instance of the API class
-ActuatorApi *apiInstance = [[ActuatorApi alloc] init];
-String *name = name_example; // (default to null)
-String *body = body_example; // (optional)
-
-// Actuator web endpoint 'loggers-name'
-[apiInstance loggersName2With:name
- body:body
- completionHandler: ^(Object output, NSError* error) {
- if (output) {
- NSLog(@"%@", output);
- }
- if (error) {
- NSLog(@"Error: %@", error);
- }
-}];
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-loggersName2-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
-
-// Create an instance of the API class
-var api = new A1PolicyManagementService.ActuatorApi()
-var name = name_example; // {String}
-var opts = {
- 'body': body_example // {String}
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-api.loggersName2(name, opts, callback);
-</code></pre>
- </div>
-
- <!--<div class="tab-pane" id="examples-Actuator-loggersName2-0-angular">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div>-->
- <div class="tab-pane" id="examples-Actuator-loggersName2-0-csharp">
- <pre class="prettyprint"><code class="language-cs">using System;
-using System.Diagnostics;
-using Org.OpenAPITools.Api;
-using Org.OpenAPITools.Client;
-using Org.OpenAPITools.Model;
-
-namespace Example
-{
- public class loggersName2Example
- {
- public void main()
- {
-
- // Create an instance of the API class
- var apiInstance = new ActuatorApi();
- var name = name_example; // String | (default to null)
- var body = body_example; // String | (optional)
-
- try {
- // Actuator web endpoint 'loggers-name'
- Object result = apiInstance.loggersName2(name, body);
- Debug.WriteLine(result);
- } catch (Exception e) {
- Debug.Print("Exception when calling ActuatorApi.loggersName2: " + e.Message );
- }
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-loggersName2-0-php">
- <pre class="prettyprint"><code class="language-php"><?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-// Create an instance of the API class
-$api_instance = new OpenAPITools\Client\Api\ActuatorApi();
-$name = name_example; // String |
-$body = body_example; // String |
-
-try {
- $result = $api_instance->loggersName2($name, $body);
- print_r($result);
-} catch (Exception $e) {
- echo 'Exception when calling ActuatorApi->loggersName2: ', $e->getMessage(), PHP_EOL;
-}
-?></code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-loggersName2-0-perl">
- <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
-use WWW::OPenAPIClient::Configuration;
-use WWW::OPenAPIClient::ActuatorApi;
-
-# Create an instance of the API class
-my $api_instance = WWW::OPenAPIClient::ActuatorApi->new();
-my $name = name_example; # String |
-my $body = WWW::OPenAPIClient::Object::String->new(); # String |
-
-eval {
- my $result = $api_instance->loggersName2(name => $name, body => $body);
- print Dumper($result);
-};
-if ($@) {
- warn "Exception when calling ActuatorApi->loggersName2: $@\n";
-}</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-loggersName2-0-python">
- <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
-import time
-import openapi_client
-from openapi_client.rest import ApiException
-from pprint import pprint
-
-# Create an instance of the API class
-api_instance = openapi_client.ActuatorApi()
-name = name_example # String | (default to null)
-body = body_example # String | (optional)
-
-try:
- # Actuator web endpoint 'loggers-name'
- api_response = api_instance.loggers_name2(name, body=body)
- pprint(api_response)
-except ApiException as e:
- print("Exception when calling ActuatorApi->loggersName2: %s\n" % e)</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-loggersName2-0-rust">
- <pre class="prettyprint"><code class="language-rust">extern crate ActuatorApi;
-
-pub fn main() {
- let name = name_example; // String
- let body = body_example; // String
-
- let mut context = ActuatorApi::Context::default();
- let result = client.loggersName2(name, body, &context).wait();
-
- println!("{:?}", result);
-}
-</code></pre>
- </div>
- </div>
-
- <h2>Scopes</h2>
- <table>
-
- </table>
-
- <h2>Parameters</h2>
-
- <div class="methodsubtabletitle">Path parameters</div>
- <table id="methodsubtable">
- <tr>
- <th width="150px">Name</th>
- <th>Description</th>
- </tr>
- <tr><td style="width:150px;">name*</td>
-<td>
-
-
- <div id="d2e199_loggersName2_name">
- <div class="json-schema-view">
- <div class="primitive">
- <span class="type">
- String
- </span>
-
- </div>
- <div class="inner required">
- Required
- </div>
- </div>
- </div>
-</td>
-</tr>
-
- </table>
-
-
- <div class="methodsubtabletitle">Body parameters</div>
- <table id="methodsubtable">
- <tr>
- <th width="150px">Name</th>
- <th>Description</th>
- </tr>
- <tr><td style="width:150px;">body </td>
-<td>
-<p class="marked"></p>
-<script>
-$(document).ready(function() {
- var schemaWrapper = {
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "string",
- "enum" : [ "TRACE", "DEBUG", "INFO", "WARN", "ERROR", "FATAL", "OFF" ]
- }
- }
- }
-};
-
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
- }
-
- var view = new JSONSchemaView(schema,2,{isBodyParam: true});
- var result = $('#d2e199_loggersName2_body');
- result.empty();
- result.append(view.render());
-});
-</script>
-<div id="d2e199_loggersName2_body"></div>
-</td>
-</tr>
-
- </table>
-
-
-
- <h2>Responses</h2>
- <h3 id="examples-Actuator-loggersName2-title-200"></h3>
- <p id="examples-Actuator-loggersName2-description-200" class="marked"></p>
- <script>
- var responseActuator200_description = `OK`;
- var responseActuator200_description_break = responseActuator200_description.indexOf('\n');
- if (responseActuator200_description_break == -1) {
- $("#examples-Actuator-loggersName2-title-200").text("Status: 200 - " + responseActuator200_description);
- } else {
- $("#examples-Actuator-loggersName2-title-200").text("Status: 200 - " + responseActuator200_description.substring(0, responseActuator200_description_break));
- $("#examples-Actuator-loggersName2-description-200").html(responseActuator200_description.substring(responseActuator200_description_break));
- }
- </script>
-
-
- <ul id="responses-detail-Actuator-loggersName2-200" class="nav nav-tabs nav-tabs-examples" >
- <li class="active">
- <a data-toggle="tab" href="#responses-Actuator-loggersName2-200-schema">Schema</a>
- </li>
-
-
-
-
- </ul>
-
-
- <div class="tab-content" id="responses-Actuator-loggersName2-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-Actuator-loggersName2-200-schema">
- <div id="responses-Actuator-loggersName2-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
- Object.keys(schema.properties).forEach( (item) => {
- if (schema.properties[item].$ref != null) {
- schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
- }
- });
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
- }
-
- var view = new JSONSchemaView(schema, 3);
- $('#responses-Actuator-loggersName2-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-Actuator-loggersName2-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-Actuator-loggersName2-200-schema-data' type='hidden' value=''></input>
- </div>
- </div>
- </article>
- </div>
- <hr>
- <div id="api-Actuator-metrics">
- <article id="api-Actuator-metrics-0" data-group="User" data-name="metrics" data-version="0">
- <div class="pull-left">
- <h1>metrics</h1>
- <p>Actuator web endpoint 'metrics'</p>
- </div>
- <div class="pull-right"></div>
- <div class="clearfix"></div>
- <p></p>
- <p class="marked"></p>
- <p></p>
- <br />
- <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/actuator/metrics</span></code></pre>
- <p>
- <h3>Usage and SDK Samples</h3>
- </p>
- <ul class="nav nav-tabs nav-tabs-examples">
- <li class="active"><a href="#examples-Actuator-metrics-0-curl">Curl</a></li>
- <li class=""><a href="#examples-Actuator-metrics-0-java">Java</a></li>
- <li class=""><a href="#examples-Actuator-metrics-0-android">Android</a></li>
- <!--<li class=""><a href="#examples-Actuator-metrics-0-groovy">Groovy</a></li>-->
- <li class=""><a href="#examples-Actuator-metrics-0-objc">Obj-C</a></li>
- <li class=""><a href="#examples-Actuator-metrics-0-javascript">JavaScript</a></li>
- <!--<li class=""><a href="#examples-Actuator-metrics-0-angular">Angular</a></li>-->
- <li class=""><a href="#examples-Actuator-metrics-0-csharp">C#</a></li>
- <li class=""><a href="#examples-Actuator-metrics-0-php">PHP</a></li>
- <li class=""><a href="#examples-Actuator-metrics-0-perl">Perl</a></li>
- <li class=""><a href="#examples-Actuator-metrics-0-python">Python</a></li>
- <li class=""><a href="#examples-Actuator-metrics-0-rust">Rust</a></li>
- </ul>
-
- <div class="tab-content">
- <div class="tab-pane active" id="examples-Actuator-metrics-0-curl">
- <pre class="prettyprint"><code class="language-bsh">curl -X GET \
- -H "Accept: application/vnd.spring-boot.actuator.v3+json,application/json,application/vnd.spring-boot.actuator.v2+json" \
- "http://localhost/actuator/metrics"
-</code></pre>
- </div>
- <div class="tab-pane" id="examples-Actuator-metrics-0-java">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
-import org.openapitools.client.auth.*;
-import org.openapitools.client.model.*;
-import org.openapitools.client.api.ActuatorApi;
-
-import java.io.File;
-import java.util.*;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
-
- // Create an instance of the API class
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- Object result = apiInstance.metrics();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#metrics");
- e.printStackTrace();
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-metrics-0-android">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ActuatorApi;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- Object result = apiInstance.metrics();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#metrics");
- e.printStackTrace();
- }
- }
-}</code></pre>
- </div>
- <!--
- <div class="tab-pane" id="examples-Actuator-metrics-0-groovy">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div> -->
- <div class="tab-pane" id="examples-Actuator-metrics-0-objc">
- <pre class="prettyprint"><code class="language-cpp">
-
-// Create an instance of the API class
-ActuatorApi *apiInstance = [[ActuatorApi alloc] init];
-
-// Actuator web endpoint 'metrics'
-[apiInstance metricsWithCompletionHandler:
- ^(Object output, NSError* error) {
- if (output) {
- NSLog(@"%@", output);
- }
- if (error) {
- NSLog(@"Error: %@", error);
- }
-}];
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-metrics-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
-
-// Create an instance of the API class
-var api = new A1PolicyManagementService.ActuatorApi()
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-api.metrics(callback);
-</code></pre>
- </div>
-
- <!--<div class="tab-pane" id="examples-Actuator-metrics-0-angular">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div>-->
- <div class="tab-pane" id="examples-Actuator-metrics-0-csharp">
- <pre class="prettyprint"><code class="language-cs">using System;
-using System.Diagnostics;
-using Org.OpenAPITools.Api;
-using Org.OpenAPITools.Client;
-using Org.OpenAPITools.Model;
-
-namespace Example
-{
- public class metricsExample
- {
- public void main()
- {
-
- // Create an instance of the API class
- var apiInstance = new ActuatorApi();
-
- try {
- // Actuator web endpoint 'metrics'
- Object result = apiInstance.metrics();
- Debug.WriteLine(result);
- } catch (Exception e) {
- Debug.Print("Exception when calling ActuatorApi.metrics: " + e.Message );
- }
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-metrics-0-php">
- <pre class="prettyprint"><code class="language-php"><?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-// Create an instance of the API class
-$api_instance = new OpenAPITools\Client\Api\ActuatorApi();
-
-try {
- $result = $api_instance->metrics();
- print_r($result);
-} catch (Exception $e) {
- echo 'Exception when calling ActuatorApi->metrics: ', $e->getMessage(), PHP_EOL;
-}
-?></code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-metrics-0-perl">
- <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
-use WWW::OPenAPIClient::Configuration;
-use WWW::OPenAPIClient::ActuatorApi;
-
-# Create an instance of the API class
-my $api_instance = WWW::OPenAPIClient::ActuatorApi->new();
-
-eval {
- my $result = $api_instance->metrics();
- print Dumper($result);
-};
-if ($@) {
- warn "Exception when calling ActuatorApi->metrics: $@\n";
-}</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-metrics-0-python">
- <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
-import time
-import openapi_client
-from openapi_client.rest import ApiException
-from pprint import pprint
-
-# Create an instance of the API class
-api_instance = openapi_client.ActuatorApi()
-
-try:
- # Actuator web endpoint 'metrics'
- api_response = api_instance.metrics()
- pprint(api_response)
-except ApiException as e:
- print("Exception when calling ActuatorApi->metrics: %s\n" % e)</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-metrics-0-rust">
- <pre class="prettyprint"><code class="language-rust">extern crate ActuatorApi;
-
-pub fn main() {
-
- let mut context = ActuatorApi::Context::default();
- let result = client.metrics(&context).wait();
-
- println!("{:?}", result);
-}
-</code></pre>
- </div>
- </div>
-
- <h2>Scopes</h2>
- <table>
-
- </table>
-
- <h2>Parameters</h2>
-
-
-
-
-
-
- <h2>Responses</h2>
- <h3 id="examples-Actuator-metrics-title-200"></h3>
- <p id="examples-Actuator-metrics-description-200" class="marked"></p>
- <script>
- var responseActuator200_description = `OK`;
- var responseActuator200_description_break = responseActuator200_description.indexOf('\n');
- if (responseActuator200_description_break == -1) {
- $("#examples-Actuator-metrics-title-200").text("Status: 200 - " + responseActuator200_description);
- } else {
- $("#examples-Actuator-metrics-title-200").text("Status: 200 - " + responseActuator200_description.substring(0, responseActuator200_description_break));
- $("#examples-Actuator-metrics-description-200").html(responseActuator200_description.substring(responseActuator200_description_break));
- }
- </script>
-
-
- <ul id="responses-detail-Actuator-metrics-200" class="nav nav-tabs nav-tabs-examples" >
- <li class="active">
- <a data-toggle="tab" href="#responses-Actuator-metrics-200-schema">Schema</a>
- </li>
-
-
-
-
- </ul>
-
-
- <div class="tab-content" id="responses-Actuator-metrics-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-Actuator-metrics-200-schema">
- <div id="responses-Actuator-metrics-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
- Object.keys(schema.properties).forEach( (item) => {
- if (schema.properties[item].$ref != null) {
- schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
- }
- });
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
- }
-
- var view = new JSONSchemaView(schema, 3);
- $('#responses-Actuator-metrics-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-Actuator-metrics-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-Actuator-metrics-200-schema-data' type='hidden' value=''></input>
- </div>
- </div>
- </article>
- </div>
- <hr>
- <div id="api-Actuator-metricsRequiredMetricName">
- <article id="api-Actuator-metricsRequiredMetricName-0" data-group="User" data-name="metricsRequiredMetricName" data-version="0">
- <div class="pull-left">
- <h1>metricsRequiredMetricName</h1>
- <p>Actuator web endpoint 'metrics-requiredMetricName'</p>
- </div>
- <div class="pull-right"></div>
- <div class="clearfix"></div>
- <p></p>
- <p class="marked"></p>
- <p></p>
- <br />
- <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/actuator/metrics/{requiredMetricName}</span></code></pre>
- <p>
- <h3>Usage and SDK Samples</h3>
- </p>
- <ul class="nav nav-tabs nav-tabs-examples">
- <li class="active"><a href="#examples-Actuator-metricsRequiredMetricName-0-curl">Curl</a></li>
- <li class=""><a href="#examples-Actuator-metricsRequiredMetricName-0-java">Java</a></li>
- <li class=""><a href="#examples-Actuator-metricsRequiredMetricName-0-android">Android</a></li>
- <!--<li class=""><a href="#examples-Actuator-metricsRequiredMetricName-0-groovy">Groovy</a></li>-->
- <li class=""><a href="#examples-Actuator-metricsRequiredMetricName-0-objc">Obj-C</a></li>
- <li class=""><a href="#examples-Actuator-metricsRequiredMetricName-0-javascript">JavaScript</a></li>
- <!--<li class=""><a href="#examples-Actuator-metricsRequiredMetricName-0-angular">Angular</a></li>-->
- <li class=""><a href="#examples-Actuator-metricsRequiredMetricName-0-csharp">C#</a></li>
- <li class=""><a href="#examples-Actuator-metricsRequiredMetricName-0-php">PHP</a></li>
- <li class=""><a href="#examples-Actuator-metricsRequiredMetricName-0-perl">Perl</a></li>
- <li class=""><a href="#examples-Actuator-metricsRequiredMetricName-0-python">Python</a></li>
- <li class=""><a href="#examples-Actuator-metricsRequiredMetricName-0-rust">Rust</a></li>
- </ul>
-
- <div class="tab-content">
- <div class="tab-pane active" id="examples-Actuator-metricsRequiredMetricName-0-curl">
- <pre class="prettyprint"><code class="language-bsh">curl -X GET \
- -H "Accept: application/vnd.spring-boot.actuator.v3+json,application/json,application/vnd.spring-boot.actuator.v2+json" \
- "http://localhost/actuator/metrics/{requiredMetricName}"
-</code></pre>
- </div>
- <div class="tab-pane" id="examples-Actuator-metricsRequiredMetricName-0-java">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
-import org.openapitools.client.auth.*;
-import org.openapitools.client.model.*;
-import org.openapitools.client.api.ActuatorApi;
-
-import java.io.File;
-import java.util.*;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
-
- // Create an instance of the API class
- ActuatorApi apiInstance = new ActuatorApi();
- String requiredMetricName = requiredMetricName_example; // String |
-
- try {
- Object result = apiInstance.metricsRequiredMetricName(requiredMetricName);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#metricsRequiredMetricName");
- e.printStackTrace();
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-metricsRequiredMetricName-0-android">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ActuatorApi;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
- ActuatorApi apiInstance = new ActuatorApi();
- String requiredMetricName = requiredMetricName_example; // String |
-
- try {
- Object result = apiInstance.metricsRequiredMetricName(requiredMetricName);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#metricsRequiredMetricName");
- e.printStackTrace();
- }
- }
-}</code></pre>
- </div>
- <!--
- <div class="tab-pane" id="examples-Actuator-metricsRequiredMetricName-0-groovy">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div> -->
- <div class="tab-pane" id="examples-Actuator-metricsRequiredMetricName-0-objc">
- <pre class="prettyprint"><code class="language-cpp">
-
-// Create an instance of the API class
-ActuatorApi *apiInstance = [[ActuatorApi alloc] init];
-String *requiredMetricName = requiredMetricName_example; // (default to null)
-
-// Actuator web endpoint 'metrics-requiredMetricName'
-[apiInstance metricsRequiredMetricNameWith:requiredMetricName
- completionHandler: ^(Object output, NSError* error) {
- if (output) {
- NSLog(@"%@", output);
- }
- if (error) {
- NSLog(@"Error: %@", error);
- }
-}];
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-metricsRequiredMetricName-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
-
-// Create an instance of the API class
-var api = new A1PolicyManagementService.ActuatorApi()
-var requiredMetricName = requiredMetricName_example; // {String}
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-api.metricsRequiredMetricName(requiredMetricName, callback);
-</code></pre>
- </div>
-
- <!--<div class="tab-pane" id="examples-Actuator-metricsRequiredMetricName-0-angular">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div>-->
- <div class="tab-pane" id="examples-Actuator-metricsRequiredMetricName-0-csharp">
- <pre class="prettyprint"><code class="language-cs">using System;
-using System.Diagnostics;
-using Org.OpenAPITools.Api;
-using Org.OpenAPITools.Client;
-using Org.OpenAPITools.Model;
-
-namespace Example
-{
- public class metricsRequiredMetricNameExample
- {
- public void main()
- {
-
- // Create an instance of the API class
- var apiInstance = new ActuatorApi();
- var requiredMetricName = requiredMetricName_example; // String | (default to null)
-
- try {
- // Actuator web endpoint 'metrics-requiredMetricName'
- Object result = apiInstance.metricsRequiredMetricName(requiredMetricName);
- Debug.WriteLine(result);
- } catch (Exception e) {
- Debug.Print("Exception when calling ActuatorApi.metricsRequiredMetricName: " + e.Message );
- }
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-metricsRequiredMetricName-0-php">
- <pre class="prettyprint"><code class="language-php"><?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-// Create an instance of the API class
-$api_instance = new OpenAPITools\Client\Api\ActuatorApi();
-$requiredMetricName = requiredMetricName_example; // String |
-
-try {
- $result = $api_instance->metricsRequiredMetricName($requiredMetricName);
- print_r($result);
-} catch (Exception $e) {
- echo 'Exception when calling ActuatorApi->metricsRequiredMetricName: ', $e->getMessage(), PHP_EOL;
-}
-?></code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-metricsRequiredMetricName-0-perl">
- <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
-use WWW::OPenAPIClient::Configuration;
-use WWW::OPenAPIClient::ActuatorApi;
-
-# Create an instance of the API class
-my $api_instance = WWW::OPenAPIClient::ActuatorApi->new();
-my $requiredMetricName = requiredMetricName_example; # String |
-
-eval {
- my $result = $api_instance->metricsRequiredMetricName(requiredMetricName => $requiredMetricName);
- print Dumper($result);
-};
-if ($@) {
- warn "Exception when calling ActuatorApi->metricsRequiredMetricName: $@\n";
-}</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-metricsRequiredMetricName-0-python">
- <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
-import time
-import openapi_client
-from openapi_client.rest import ApiException
-from pprint import pprint
-
-# Create an instance of the API class
-api_instance = openapi_client.ActuatorApi()
-requiredMetricName = requiredMetricName_example # String | (default to null)
-
-try:
- # Actuator web endpoint 'metrics-requiredMetricName'
- api_response = api_instance.metrics_required_metric_name(requiredMetricName)
- pprint(api_response)
-except ApiException as e:
- print("Exception when calling ActuatorApi->metricsRequiredMetricName: %s\n" % e)</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-metricsRequiredMetricName-0-rust">
- <pre class="prettyprint"><code class="language-rust">extern crate ActuatorApi;
-
-pub fn main() {
- let requiredMetricName = requiredMetricName_example; // String
-
- let mut context = ActuatorApi::Context::default();
- let result = client.metricsRequiredMetricName(requiredMetricName, &context).wait();
-
- println!("{:?}", result);
-}
-</code></pre>
- </div>
- </div>
-
- <h2>Scopes</h2>
- <table>
-
- </table>
-
- <h2>Parameters</h2>
-
- <div class="methodsubtabletitle">Path parameters</div>
- <table id="methodsubtable">
- <tr>
- <th width="150px">Name</th>
- <th>Description</th>
- </tr>
- <tr><td style="width:150px;">requiredMetricName*</td>
-<td>
-
-
- <div id="d2e199_metricsRequiredMetricName_requiredMetricName">
- <div class="json-schema-view">
- <div class="primitive">
- <span class="type">
- String
- </span>
-
- </div>
- <div class="inner required">
- Required
- </div>
- </div>
- </div>
-</td>
-</tr>
-
- </table>
-
-
-
-
-
- <h2>Responses</h2>
- <h3 id="examples-Actuator-metricsRequiredMetricName-title-200"></h3>
- <p id="examples-Actuator-metricsRequiredMetricName-description-200" class="marked"></p>
- <script>
- var responseActuator200_description = `OK`;
- var responseActuator200_description_break = responseActuator200_description.indexOf('\n');
- if (responseActuator200_description_break == -1) {
- $("#examples-Actuator-metricsRequiredMetricName-title-200").text("Status: 200 - " + responseActuator200_description);
- } else {
- $("#examples-Actuator-metricsRequiredMetricName-title-200").text("Status: 200 - " + responseActuator200_description.substring(0, responseActuator200_description_break));
- $("#examples-Actuator-metricsRequiredMetricName-description-200").html(responseActuator200_description.substring(responseActuator200_description_break));
- }
- </script>
-
-
- <ul id="responses-detail-Actuator-metricsRequiredMetricName-200" class="nav nav-tabs nav-tabs-examples" >
- <li class="active">
- <a data-toggle="tab" href="#responses-Actuator-metricsRequiredMetricName-200-schema">Schema</a>
- </li>
-
-
-
-
- </ul>
-
-
- <div class="tab-content" id="responses-Actuator-metricsRequiredMetricName-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-Actuator-metricsRequiredMetricName-200-schema">
- <div id="responses-Actuator-metricsRequiredMetricName-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
- Object.keys(schema.properties).forEach( (item) => {
- if (schema.properties[item].$ref != null) {
- schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
- }
- });
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
- }
-
- var view = new JSONSchemaView(schema, 3);
- $('#responses-Actuator-metricsRequiredMetricName-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-Actuator-metricsRequiredMetricName-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-Actuator-metricsRequiredMetricName-200-schema-data' type='hidden' value=''></input>
- </div>
- </div>
- </article>
- </div>
- <hr>
- <div id="api-Actuator-shutdown">
- <article id="api-Actuator-shutdown-0" data-group="User" data-name="shutdown" data-version="0">
- <div class="pull-left">
- <h1>shutdown</h1>
- <p>Actuator web endpoint 'shutdown'</p>
- </div>
- <div class="pull-right"></div>
- <div class="clearfix"></div>
- <p></p>
- <p class="marked"></p>
- <p></p>
- <br />
- <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/actuator/shutdown</span></code></pre>
- <p>
- <h3>Usage and SDK Samples</h3>
- </p>
- <ul class="nav nav-tabs nav-tabs-examples">
- <li class="active"><a href="#examples-Actuator-shutdown-0-curl">Curl</a></li>
- <li class=""><a href="#examples-Actuator-shutdown-0-java">Java</a></li>
- <li class=""><a href="#examples-Actuator-shutdown-0-android">Android</a></li>
- <!--<li class=""><a href="#examples-Actuator-shutdown-0-groovy">Groovy</a></li>-->
- <li class=""><a href="#examples-Actuator-shutdown-0-objc">Obj-C</a></li>
- <li class=""><a href="#examples-Actuator-shutdown-0-javascript">JavaScript</a></li>
- <!--<li class=""><a href="#examples-Actuator-shutdown-0-angular">Angular</a></li>-->
- <li class=""><a href="#examples-Actuator-shutdown-0-csharp">C#</a></li>
- <li class=""><a href="#examples-Actuator-shutdown-0-php">PHP</a></li>
- <li class=""><a href="#examples-Actuator-shutdown-0-perl">Perl</a></li>
- <li class=""><a href="#examples-Actuator-shutdown-0-python">Python</a></li>
- <li class=""><a href="#examples-Actuator-shutdown-0-rust">Rust</a></li>
- </ul>
-
- <div class="tab-content">
- <div class="tab-pane active" id="examples-Actuator-shutdown-0-curl">
- <pre class="prettyprint"><code class="language-bsh">curl -X POST \
- -H "Accept: application/vnd.spring-boot.actuator.v3+json,application/json,application/vnd.spring-boot.actuator.v2+json" \
- "http://localhost/actuator/shutdown"
-</code></pre>
- </div>
- <div class="tab-pane" id="examples-Actuator-shutdown-0-java">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
-import org.openapitools.client.auth.*;
-import org.openapitools.client.model.*;
-import org.openapitools.client.api.ActuatorApi;
-
-import java.io.File;
-import java.util.*;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
-
- // Create an instance of the API class
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- Object result = apiInstance.shutdown();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#shutdown");
- e.printStackTrace();
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-shutdown-0-android">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ActuatorApi;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- Object result = apiInstance.shutdown();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#shutdown");
- e.printStackTrace();
- }
- }
-}</code></pre>
- </div>
- <!--
- <div class="tab-pane" id="examples-Actuator-shutdown-0-groovy">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div> -->
- <div class="tab-pane" id="examples-Actuator-shutdown-0-objc">
- <pre class="prettyprint"><code class="language-cpp">
-
-// Create an instance of the API class
-ActuatorApi *apiInstance = [[ActuatorApi alloc] init];
-
-// Actuator web endpoint 'shutdown'
-[apiInstance shutdownWithCompletionHandler:
- ^(Object output, NSError* error) {
- if (output) {
- NSLog(@"%@", output);
- }
- if (error) {
- NSLog(@"Error: %@", error);
- }
-}];
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-shutdown-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
-
-// Create an instance of the API class
-var api = new A1PolicyManagementService.ActuatorApi()
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-api.shutdown(callback);
-</code></pre>
- </div>
-
- <!--<div class="tab-pane" id="examples-Actuator-shutdown-0-angular">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div>-->
- <div class="tab-pane" id="examples-Actuator-shutdown-0-csharp">
- <pre class="prettyprint"><code class="language-cs">using System;
-using System.Diagnostics;
-using Org.OpenAPITools.Api;
-using Org.OpenAPITools.Client;
-using Org.OpenAPITools.Model;
-
-namespace Example
-{
- public class shutdownExample
- {
- public void main()
- {
-
- // Create an instance of the API class
- var apiInstance = new ActuatorApi();
-
- try {
- // Actuator web endpoint 'shutdown'
- Object result = apiInstance.shutdown();
- Debug.WriteLine(result);
- } catch (Exception e) {
- Debug.Print("Exception when calling ActuatorApi.shutdown: " + e.Message );
- }
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-shutdown-0-php">
- <pre class="prettyprint"><code class="language-php"><?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-// Create an instance of the API class
-$api_instance = new OpenAPITools\Client\Api\ActuatorApi();
-
-try {
- $result = $api_instance->shutdown();
- print_r($result);
-} catch (Exception $e) {
- echo 'Exception when calling ActuatorApi->shutdown: ', $e->getMessage(), PHP_EOL;
-}
-?></code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-shutdown-0-perl">
- <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
-use WWW::OPenAPIClient::Configuration;
-use WWW::OPenAPIClient::ActuatorApi;
-
-# Create an instance of the API class
-my $api_instance = WWW::OPenAPIClient::ActuatorApi->new();
-
-eval {
- my $result = $api_instance->shutdown();
- print Dumper($result);
-};
-if ($@) {
- warn "Exception when calling ActuatorApi->shutdown: $@\n";
-}</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-shutdown-0-python">
- <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
-import time
-import openapi_client
-from openapi_client.rest import ApiException
-from pprint import pprint
-
-# Create an instance of the API class
-api_instance = openapi_client.ActuatorApi()
-
-try:
- # Actuator web endpoint 'shutdown'
- api_response = api_instance.shutdown()
- pprint(api_response)
-except ApiException as e:
- print("Exception when calling ActuatorApi->shutdown: %s\n" % e)</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-shutdown-0-rust">
- <pre class="prettyprint"><code class="language-rust">extern crate ActuatorApi;
-
-pub fn main() {
-
- let mut context = ActuatorApi::Context::default();
- let result = client.shutdown(&context).wait();
-
- println!("{:?}", result);
-}
-</code></pre>
- </div>
- </div>
-
- <h2>Scopes</h2>
- <table>
-
- </table>
-
- <h2>Parameters</h2>
-
-
-
-
-
-
- <h2>Responses</h2>
- <h3 id="examples-Actuator-shutdown-title-200"></h3>
- <p id="examples-Actuator-shutdown-description-200" class="marked"></p>
- <script>
- var responseActuator200_description = `OK`;
- var responseActuator200_description_break = responseActuator200_description.indexOf('\n');
- if (responseActuator200_description_break == -1) {
- $("#examples-Actuator-shutdown-title-200").text("Status: 200 - " + responseActuator200_description);
- } else {
- $("#examples-Actuator-shutdown-title-200").text("Status: 200 - " + responseActuator200_description.substring(0, responseActuator200_description_break));
- $("#examples-Actuator-shutdown-description-200").html(responseActuator200_description.substring(responseActuator200_description_break));
- }
- </script>
-
-
- <ul id="responses-detail-Actuator-shutdown-200" class="nav nav-tabs nav-tabs-examples" >
- <li class="active">
- <a data-toggle="tab" href="#responses-Actuator-shutdown-200-schema">Schema</a>
- </li>
-
-
-
-
- </ul>
-
-
- <div class="tab-content" id="responses-Actuator-shutdown-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-Actuator-shutdown-200-schema">
- <div id="responses-Actuator-shutdown-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
- Object.keys(schema.properties).forEach( (item) => {
- if (schema.properties[item].$ref != null) {
- schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
- }
- });
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
- }
-
- var view = new JSONSchemaView(schema, 3);
- $('#responses-Actuator-shutdown-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-Actuator-shutdown-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-Actuator-shutdown-200-schema-data' type='hidden' value=''></input>
- </div>
- </div>
- </article>
- </div>
- <hr>
- <div id="api-Actuator-threaddump">
- <article id="api-Actuator-threaddump-0" data-group="User" data-name="threaddump" data-version="0">
- <div class="pull-left">
- <h1>threaddump</h1>
- <p>Actuator web endpoint 'threaddump'</p>
- </div>
- <div class="pull-right"></div>
- <div class="clearfix"></div>
- <p></p>
- <p class="marked"></p>
- <p></p>
- <br />
- <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/actuator/threaddump</span></code></pre>
- <p>
- <h3>Usage and SDK Samples</h3>
- </p>
- <ul class="nav nav-tabs nav-tabs-examples">
- <li class="active"><a href="#examples-Actuator-threaddump-0-curl">Curl</a></li>
- <li class=""><a href="#examples-Actuator-threaddump-0-java">Java</a></li>
- <li class=""><a href="#examples-Actuator-threaddump-0-android">Android</a></li>
- <!--<li class=""><a href="#examples-Actuator-threaddump-0-groovy">Groovy</a></li>-->
- <li class=""><a href="#examples-Actuator-threaddump-0-objc">Obj-C</a></li>
- <li class=""><a href="#examples-Actuator-threaddump-0-javascript">JavaScript</a></li>
- <!--<li class=""><a href="#examples-Actuator-threaddump-0-angular">Angular</a></li>-->
- <li class=""><a href="#examples-Actuator-threaddump-0-csharp">C#</a></li>
- <li class=""><a href="#examples-Actuator-threaddump-0-php">PHP</a></li>
- <li class=""><a href="#examples-Actuator-threaddump-0-perl">Perl</a></li>
- <li class=""><a href="#examples-Actuator-threaddump-0-python">Python</a></li>
- <li class=""><a href="#examples-Actuator-threaddump-0-rust">Rust</a></li>
- </ul>
-
- <div class="tab-content">
- <div class="tab-pane active" id="examples-Actuator-threaddump-0-curl">
- <pre class="prettyprint"><code class="language-bsh">curl -X GET \
- -H "Accept: text/plain;charset=UTF-8,application/vnd.spring-boot.actuator.v3+json,application/json,application/vnd.spring-boot.actuator.v2+json" \
- "http://localhost/actuator/threaddump"
-</code></pre>
- </div>
- <div class="tab-pane" id="examples-Actuator-threaddump-0-java">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
-import org.openapitools.client.auth.*;
-import org.openapitools.client.model.*;
-import org.openapitools.client.api.ActuatorApi;
-
-import java.io.File;
-import java.util.*;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
-
- // Create an instance of the API class
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- Object result = apiInstance.threaddump();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#threaddump");
- e.printStackTrace();
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-threaddump-0-android">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ActuatorApi;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- Object result = apiInstance.threaddump();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#threaddump");
- e.printStackTrace();
- }
- }
-}</code></pre>
- </div>
- <!--
- <div class="tab-pane" id="examples-Actuator-threaddump-0-groovy">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div> -->
- <div class="tab-pane" id="examples-Actuator-threaddump-0-objc">
- <pre class="prettyprint"><code class="language-cpp">
-
-// Create an instance of the API class
-ActuatorApi *apiInstance = [[ActuatorApi alloc] init];
-
-// Actuator web endpoint 'threaddump'
-[apiInstance threaddumpWithCompletionHandler:
- ^(Object output, NSError* error) {
- if (output) {
- NSLog(@"%@", output);
- }
- if (error) {
- NSLog(@"Error: %@", error);
- }
-}];
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-threaddump-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
-
-// Create an instance of the API class
-var api = new A1PolicyManagementService.ActuatorApi()
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-api.threaddump(callback);
-</code></pre>
- </div>
-
- <!--<div class="tab-pane" id="examples-Actuator-threaddump-0-angular">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div>-->
- <div class="tab-pane" id="examples-Actuator-threaddump-0-csharp">
- <pre class="prettyprint"><code class="language-cs">using System;
-using System.Diagnostics;
-using Org.OpenAPITools.Api;
-using Org.OpenAPITools.Client;
-using Org.OpenAPITools.Model;
-
-namespace Example
-{
- public class threaddumpExample
- {
- public void main()
- {
-
- // Create an instance of the API class
- var apiInstance = new ActuatorApi();
-
- try {
- // Actuator web endpoint 'threaddump'
- Object result = apiInstance.threaddump();
- Debug.WriteLine(result);
- } catch (Exception e) {
- Debug.Print("Exception when calling ActuatorApi.threaddump: " + e.Message );
- }
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-threaddump-0-php">
- <pre class="prettyprint"><code class="language-php"><?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-// Create an instance of the API class
-$api_instance = new OpenAPITools\Client\Api\ActuatorApi();
-
-try {
- $result = $api_instance->threaddump();
- print_r($result);
-} catch (Exception $e) {
- echo 'Exception when calling ActuatorApi->threaddump: ', $e->getMessage(), PHP_EOL;
-}
-?></code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-threaddump-0-perl">
- <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
-use WWW::OPenAPIClient::Configuration;
-use WWW::OPenAPIClient::ActuatorApi;
-
-# Create an instance of the API class
-my $api_instance = WWW::OPenAPIClient::ActuatorApi->new();
-
-eval {
- my $result = $api_instance->threaddump();
- print Dumper($result);
-};
-if ($@) {
- warn "Exception when calling ActuatorApi->threaddump: $@\n";
-}</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-threaddump-0-python">
- <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
-import time
-import openapi_client
-from openapi_client.rest import ApiException
-from pprint import pprint
-
-# Create an instance of the API class
-api_instance = openapi_client.ActuatorApi()
-
-try:
- # Actuator web endpoint 'threaddump'
- api_response = api_instance.threaddump()
- pprint(api_response)
-except ApiException as e:
- print("Exception when calling ActuatorApi->threaddump: %s\n" % e)</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-threaddump-0-rust">
- <pre class="prettyprint"><code class="language-rust">extern crate ActuatorApi;
-
-pub fn main() {
-
- let mut context = ActuatorApi::Context::default();
- let result = client.threaddump(&context).wait();
-
- println!("{:?}", result);
-}
-</code></pre>
- </div>
- </div>
-
- <h2>Scopes</h2>
- <table>
-
- </table>
-
- <h2>Parameters</h2>
-
-
-
-
-
-
- <h2>Responses</h2>
- <h3 id="examples-Actuator-threaddump-title-200"></h3>
- <p id="examples-Actuator-threaddump-description-200" class="marked"></p>
- <script>
- var responseActuator200_description = `OK`;
- var responseActuator200_description_break = responseActuator200_description.indexOf('\n');
- if (responseActuator200_description_break == -1) {
- $("#examples-Actuator-threaddump-title-200").text("Status: 200 - " + responseActuator200_description);
- } else {
- $("#examples-Actuator-threaddump-title-200").text("Status: 200 - " + responseActuator200_description.substring(0, responseActuator200_description_break));
- $("#examples-Actuator-threaddump-description-200").html(responseActuator200_description.substring(responseActuator200_description_break));
- }
- </script>
-
-
- <ul id="responses-detail-Actuator-threaddump-200" class="nav nav-tabs nav-tabs-examples" >
- <li class="active">
- <a data-toggle="tab" href="#responses-Actuator-threaddump-200-schema">Schema</a>
- </li>
-
-
-
-
- </ul>
-
-
- <div class="tab-content" id="responses-Actuator-threaddump-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-Actuator-threaddump-200-schema">
- <div id="responses-Actuator-threaddump-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
- Object.keys(schema.properties).forEach( (item) => {
- if (schema.properties[item].$ref != null) {
- schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
- }
- });
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
- }
-
- var view = new JSONSchemaView(schema, 3);
- $('#responses-Actuator-threaddump-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-Actuator-threaddump-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-Actuator-threaddump-200-schema-data' type='hidden' value=''></input>
- </div>
+ <input id='responses-A1PolicyManagement-putPolicy-423-schema-data' type='hidden' value=''></input>
+ </div>
</div>
</article>
</div>
@@ -8638,6 +5159,7 @@
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="#examples-AuthorizationAPI-performAccessControl-0-curl">Curl</a></li>
<li class=""><a href="#examples-AuthorizationAPI-performAccessControl-0-java">Java</a></li>
+ <li class=""><a href="#examples-AuthorizationAPI-performAccessControl-0-dart">Dart</a></li>
<li class=""><a href="#examples-AuthorizationAPI-performAccessControl-0-android">Android</a></li>
<!--<li class=""><a href="#examples-AuthorizationAPI-performAccessControl-0-groovy">Groovy</a></li>-->
<li class=""><a href="#examples-AuthorizationAPI-performAccessControl-0-objc">Obj-C</a></li>
@@ -8687,6 +5209,23 @@
</code></pre>
</div>
+ <div class="tab-pane" id="examples-AuthorizationAPI-performAccessControl-0-dart">
+ <pre class="prettyprint"><code class="language-dart">import 'package:openapi/api.dart';
+
+final api_instance = DefaultApi();
+
+final PolicyAuthorization policyAuthorization = new PolicyAuthorization(); // PolicyAuthorization |
+
+try {
+ final result = await api_instance.performAccessControl(policyAuthorization);
+ print(result);
+} catch (e) {
+ print('Exception when calling DefaultApi->performAccessControl: $e\n');
+}
+
+</code></pre>
+ </div>
+
<div class="tab-pane" id="examples-AuthorizationAPI-performAccessControl-0-android">
<pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.AuthorizationAPIApi;
@@ -8870,15 +5409,15 @@
<p class="marked"></p>
<script>
$(document).ready(function() {
- var schemaWrapper = {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/policy_authorization"
- }
- }
- },
- "required" : true
+ var schemaWrapper = {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/policy_authorization"
+ }
+ }
+ },
+ "required" : true
};
var schema = findNode('schema',schemaWrapper).schema;
@@ -8887,6 +5426,8 @@
}
if (schema.$ref != null) {
schema = defsParser.$refs.get(schema.$ref);
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
} else {
schemaWrapper.definitions = Object.assign({}, defs);
$RefParser.dereference(schemaWrapper).catch(function(err) {
@@ -8935,41 +5476,55 @@
<div class="tab-content" id="responses-AuthorizationAPI-performAccessControl-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-AuthorizationAPI-performAccessControl-200-schema">
- <div id="responses-AuthorizationAPI-performAccessControl-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-AuthorizationAPI-performAccessControl-200-schema">
+ <div id="responses-AuthorizationAPI-performAccessControl-schema-200" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/authorization_result"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-AuthorizationAPI-performAccessControl-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-AuthorizationAPI-performAccessControl-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-AuthorizationAPI-performAccessControl-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-AuthorizationAPI-performAccessControl-200-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-AuthorizationAPI-performAccessControl-schema-200');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-AuthorizationAPI-performAccessControl-200-schema-data' type='hidden' value=''></input>
+ </div>
</div>
<h3 id="examples-AuthorizationAPI-performAccessControl-title-403"></h3>
<p id="examples-AuthorizationAPI-performAccessControl-description-403" class="marked"></p>
@@ -8997,41 +5552,60 @@
<div class="tab-content" id="responses-AuthorizationAPI-performAccessControl-403-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-AuthorizationAPI-performAccessControl-403-schema">
- <div id="responses-AuthorizationAPI-performAccessControl-schema-403" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-AuthorizationAPI-performAccessControl-403-schema">
+ <div id="responses-AuthorizationAPI-performAccessControl-schema-403" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Forbidden",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/error_information"
+ },
+ "example" : {
+ "status" : 403,
+ "title" : "Forbidden",
+ "detail" : "Your role does not allow to perform this action. Contact System Administrator to change your access rights."
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-AuthorizationAPI-performAccessControl-403-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-AuthorizationAPI-performAccessControl-schema-403');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-AuthorizationAPI-performAccessControl-403-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-AuthorizationAPI-performAccessControl-403-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-AuthorizationAPI-performAccessControl-schema-403');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-AuthorizationAPI-performAccessControl-403-schema-data' type='hidden' value=''></input>
+ </div>
</div>
</article>
</div>
@@ -9058,6 +5632,7 @@
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="#examples-Configuration-getConfiguration-0-curl">Curl</a></li>
<li class=""><a href="#examples-Configuration-getConfiguration-0-java">Java</a></li>
+ <li class=""><a href="#examples-Configuration-getConfiguration-0-dart">Dart</a></li>
<li class=""><a href="#examples-Configuration-getConfiguration-0-android">Android</a></li>
<!--<li class=""><a href="#examples-Configuration-getConfiguration-0-groovy">Groovy</a></li>-->
<li class=""><a href="#examples-Configuration-getConfiguration-0-objc">Obj-C</a></li>
@@ -9104,6 +5679,22 @@
</code></pre>
</div>
+ <div class="tab-pane" id="examples-Configuration-getConfiguration-0-dart">
+ <pre class="prettyprint"><code class="language-dart">import 'package:openapi/api.dart';
+
+final api_instance = DefaultApi();
+
+
+try {
+ final result = await api_instance.getConfiguration();
+ print(result);
+} catch (e) {
+ print('Exception when calling DefaultApi->getConfiguration: $e\n');
+}
+
+</code></pre>
+ </div>
+
<div class="tab-pane" id="examples-Configuration-getConfiguration-0-android">
<pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ConfigurationApi;
@@ -9294,41 +5885,55 @@
<div class="tab-content" id="responses-Configuration-getConfiguration-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-Configuration-getConfiguration-200-schema">
- <div id="responses-Configuration-getConfiguration-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-Configuration-getConfiguration-200-schema">
+ <div id="responses-Configuration-getConfiguration-schema-200" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "OK - Configuration",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "type" : "string"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-Configuration-getConfiguration-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-Configuration-getConfiguration-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-Configuration-getConfiguration-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-Configuration-getConfiguration-200-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-Configuration-getConfiguration-schema-200');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-Configuration-getConfiguration-200-schema-data' type='hidden' value=''></input>
+ </div>
</div>
<h3 id="examples-Configuration-getConfiguration-title-404"></h3>
<p id="examples-Configuration-getConfiguration-description-404" class="marked"></p>
@@ -9351,6 +5956,53 @@
<div class="tab-content" id="responses-Configuration-getConfiguration-404-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-Configuration-getConfiguration-404-schema">
+ <div id="responses-Configuration-getConfiguration-schema-404" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "example" : [ ]
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-Configuration-getConfiguration-404-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-Configuration-getConfiguration-schema-404');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-Configuration-getConfiguration-404-schema-data' type='hidden' value=''></input>
+ </div>
</div>
</article>
</div>
@@ -9374,6 +6026,7 @@
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="#examples-Configuration-putConfiguration-0-curl">Curl</a></li>
<li class=""><a href="#examples-Configuration-putConfiguration-0-java">Java</a></li>
+ <li class=""><a href="#examples-Configuration-putConfiguration-0-dart">Dart</a></li>
<li class=""><a href="#examples-Configuration-putConfiguration-0-android">Android</a></li>
<!--<li class=""><a href="#examples-Configuration-putConfiguration-0-groovy">Groovy</a></li>-->
<li class=""><a href="#examples-Configuration-putConfiguration-0-objc">Obj-C</a></li>
@@ -9423,6 +6076,23 @@
</code></pre>
</div>
+ <div class="tab-pane" id="examples-Configuration-putConfiguration-0-dart">
+ <pre class="prettyprint"><code class="language-dart">import 'package:openapi/api.dart';
+
+final api_instance = DefaultApi();
+
+final Object body = new Object(); // Object |
+
+try {
+ final result = await api_instance.putConfiguration(body);
+ print(result);
+} catch (e) {
+ print('Exception when calling DefaultApi->putConfiguration: $e\n');
+}
+
+</code></pre>
+ </div>
+
<div class="tab-pane" id="examples-Configuration-putConfiguration-0-android">
<pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ConfigurationApi;
@@ -9603,15 +6273,15 @@
<p class="marked"></p>
<script>
$(document).ready(function() {
- var schemaWrapper = {
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object"
- }
- }
- },
- "required" : true
+ var schemaWrapper = {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ },
+ "required" : true
};
var schema = findNode('schema',schemaWrapper).schema;
@@ -9620,6 +6290,8 @@
}
if (schema.$ref != null) {
schema = defsParser.$refs.get(schema.$ref);
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
} else {
schemaWrapper.definitions = Object.assign({}, defs);
$RefParser.dereference(schemaWrapper).catch(function(err) {
@@ -9668,41 +6340,55 @@
<div class="tab-content" id="responses-Configuration-putConfiguration-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-Configuration-putConfiguration-200-schema">
- <div id="responses-Configuration-putConfiguration-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-Configuration-putConfiguration-200-schema">
+ <div id="responses-Configuration-putConfiguration-schema-200" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "OK - Configuration updated",
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/void"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-Configuration-putConfiguration-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-Configuration-putConfiguration-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-Configuration-putConfiguration-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-Configuration-putConfiguration-200-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-Configuration-putConfiguration-schema-200');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-Configuration-putConfiguration-200-schema-data' type='hidden' value=''></input>
+ </div>
</div>
<h3 id="examples-Configuration-putConfiguration-title-400"></h3>
<p id="examples-Configuration-putConfiguration-description-400" class="marked"></p>
@@ -9730,41 +6416,60 @@
<div class="tab-content" id="responses-Configuration-putConfiguration-400-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-Configuration-putConfiguration-400-schema">
- <div id="responses-Configuration-putConfiguration-schema-400" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-Configuration-putConfiguration-400-schema">
+ <div id="responses-Configuration-putConfiguration-schema-400" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Bad Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/error_information"
+ },
+ "example" : {
+ "status" : 400,
+ "title" : "Bad Request",
+ "detail" : "The provided request is not valid."
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-Configuration-putConfiguration-400-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-Configuration-putConfiguration-schema-400');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-Configuration-putConfiguration-400-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-Configuration-putConfiguration-400-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-Configuration-putConfiguration-schema-400');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-Configuration-putConfiguration-400-schema-data' type='hidden' value=''></input>
+ </div>
</div>
</article>
</div>
@@ -9791,6 +6496,7 @@
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="#examples-HealthCheck-getStatus-0-curl">Curl</a></li>
<li class=""><a href="#examples-HealthCheck-getStatus-0-java">Java</a></li>
+ <li class=""><a href="#examples-HealthCheck-getStatus-0-dart">Dart</a></li>
<li class=""><a href="#examples-HealthCheck-getStatus-0-android">Android</a></li>
<!--<li class=""><a href="#examples-HealthCheck-getStatus-0-groovy">Groovy</a></li>-->
<li class=""><a href="#examples-HealthCheck-getStatus-0-objc">Obj-C</a></li>
@@ -9837,6 +6543,22 @@
</code></pre>
</div>
+ <div class="tab-pane" id="examples-HealthCheck-getStatus-0-dart">
+ <pre class="prettyprint"><code class="language-dart">import 'package:openapi/api.dart';
+
+final api_instance = DefaultApi();
+
+
+try {
+ final result = await api_instance.getStatus();
+ print(result);
+} catch (e) {
+ print('Exception when calling DefaultApi->getStatus: $e\n');
+}
+
+</code></pre>
+ </div>
+
<div class="tab-pane" id="examples-HealthCheck-getStatus-0-android">
<pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.HealthCheckApi;
@@ -10027,41 +6749,60 @@
<div class="tab-content" id="responses-HealthCheck-getStatus-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-HealthCheck-getStatus-200-schema">
- <div id="responses-HealthCheck-getStatus-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-HealthCheck-getStatus-200-schema">
+ <div id="responses-HealthCheck-getStatus-schema-200" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "OK- Service is living Ok",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/status_info"
+ },
+ "examples" : {
+ "status_info" : {
+ "$ref" : "#/components/examples/status_info"
+ }
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-HealthCheck-getStatus-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-HealthCheck-getStatus-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-HealthCheck-getStatus-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-HealthCheck-getStatus-200-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-HealthCheck-getStatus-schema-200');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-HealthCheck-getStatus-200-schema-data' type='hidden' value=''></input>
+ </div>
</div>
</article>
</div>
@@ -10085,6 +6826,7 @@
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="#examples-HealthCheck-getStatusV1-0-curl">Curl</a></li>
<li class=""><a href="#examples-HealthCheck-getStatusV1-0-java">Java</a></li>
+ <li class=""><a href="#examples-HealthCheck-getStatusV1-0-dart">Dart</a></li>
<li class=""><a href="#examples-HealthCheck-getStatusV1-0-android">Android</a></li>
<!--<li class=""><a href="#examples-HealthCheck-getStatusV1-0-groovy">Groovy</a></li>-->
<li class=""><a href="#examples-HealthCheck-getStatusV1-0-objc">Obj-C</a></li>
@@ -10131,6 +6873,22 @@
</code></pre>
</div>
+ <div class="tab-pane" id="examples-HealthCheck-getStatusV1-0-dart">
+ <pre class="prettyprint"><code class="language-dart">import 'package:openapi/api.dart';
+
+final api_instance = DefaultApi();
+
+
+try {
+ final result = await api_instance.getStatusV1();
+ print(result);
+} catch (e) {
+ print('Exception when calling DefaultApi->getStatusV1: $e\n');
+}
+
+</code></pre>
+ </div>
+
<div class="tab-pane" id="examples-HealthCheck-getStatusV1-0-android">
<pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.HealthCheckApi;
@@ -10321,41 +7079,55 @@
<div class="tab-content" id="responses-HealthCheck-getStatusV1-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-HealthCheck-getStatusV1-200-schema">
- <div id="responses-HealthCheck-getStatusV1-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-HealthCheck-getStatusV1-200-schema">
+ <div id="responses-HealthCheck-getStatusV1-schema-200" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "OK - Service is living",
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "type" : "string"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-HealthCheck-getStatusV1-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-HealthCheck-getStatusV1-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-HealthCheck-getStatusV1-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-HealthCheck-getStatusV1-200-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-HealthCheck-getStatusV1-schema-200');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-HealthCheck-getStatusV1-200-schema-data' type='hidden' value=''></input>
+ </div>
</div>
</article>
</div>
@@ -10382,6 +7154,7 @@
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="#examples-NearRTRICRepository-getRic-0-curl">Curl</a></li>
<li class=""><a href="#examples-NearRTRICRepository-getRic-0-java">Java</a></li>
+ <li class=""><a href="#examples-NearRTRICRepository-getRic-0-dart">Dart</a></li>
<li class=""><a href="#examples-NearRTRICRepository-getRic-0-android">Android</a></li>
<!--<li class=""><a href="#examples-NearRTRICRepository-getRic-0-groovy">Groovy</a></li>-->
<li class=""><a href="#examples-NearRTRICRepository-getRic-0-objc">Obj-C</a></li>
@@ -10430,6 +7203,24 @@
</code></pre>
</div>
+ <div class="tab-pane" id="examples-NearRTRICRepository-getRic-0-dart">
+ <pre class="prettyprint"><code class="language-dart">import 'package:openapi/api.dart';
+
+final api_instance = DefaultApi();
+
+final String managedElementId = new String(); // String | The identity of a Managed Element. If given, the Near-RT RIC managing the ME is returned.
+final String ricId = new String(); // String | The identity of a Near-RT RIC to get information for.
+
+try {
+ final result = await api_instance.getRic(managedElementId, ricId);
+ print(result);
+} catch (e) {
+ print('Exception when calling DefaultApi->getRic: $e\n');
+}
+
+</code></pre>
+ </div>
+
<div class="tab-pane" id="examples-NearRTRICRepository-getRic-0-android">
<pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.NearRTRICRepositoryApi;
@@ -10690,41 +7481,60 @@
<div class="tab-content" id="responses-NearRTRICRepository-getRic-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-NearRTRICRepository-getRic-200-schema">
- <div id="responses-NearRTRICRepository-getRic-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-NearRTRICRepository-getRic-200-schema">
+ <div id="responses-NearRTRICRepository-getRic-schema-200" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "OK - Near-RT RIC is found",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ric_info"
+ },
+ "examples" : {
+ "ric_info" : {
+ "$ref" : "#/components/examples/ric_info"
+ }
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-NearRTRICRepository-getRic-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-NearRTRICRepository-getRic-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-NearRTRICRepository-getRic-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-NearRTRICRepository-getRic-200-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-NearRTRICRepository-getRic-schema-200');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-NearRTRICRepository-getRic-200-schema-data' type='hidden' value=''></input>
+ </div>
</div>
<h3 id="examples-NearRTRICRepository-getRic-title-404"></h3>
<p id="examples-NearRTRICRepository-getRic-description-404" class="marked"></p>
@@ -10747,6 +7557,53 @@
<div class="tab-content" id="responses-NearRTRICRepository-getRic-404-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-NearRTRICRepository-getRic-404-schema">
+ <div id="responses-NearRTRICRepository-getRic-schema-404" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "example" : [ ]
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-NearRTRICRepository-getRic-404-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-NearRTRICRepository-getRic-schema-404');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-NearRTRICRepository-getRic-404-schema-data' type='hidden' value=''></input>
+ </div>
</div>
</article>
</div>
@@ -10770,6 +7627,7 @@
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="#examples-NearRTRICRepository-getRics-0-curl">Curl</a></li>
<li class=""><a href="#examples-NearRTRICRepository-getRics-0-java">Java</a></li>
+ <li class=""><a href="#examples-NearRTRICRepository-getRics-0-dart">Dart</a></li>
<li class=""><a href="#examples-NearRTRICRepository-getRics-0-android">Android</a></li>
<!--<li class=""><a href="#examples-NearRTRICRepository-getRics-0-groovy">Groovy</a></li>-->
<li class=""><a href="#examples-NearRTRICRepository-getRics-0-objc">Obj-C</a></li>
@@ -10817,6 +7675,23 @@
</code></pre>
</div>
+ <div class="tab-pane" id="examples-NearRTRICRepository-getRics-0-dart">
+ <pre class="prettyprint"><code class="language-dart">import 'package:openapi/api.dart';
+
+final api_instance = DefaultApi();
+
+final String policytypeId = new String(); // String | The identity of a policy type. If given, all Near-RT RICs supporting the policy type are returned
+
+try {
+ final result = await api_instance.getRics(policytypeId);
+ print(result);
+} catch (e) {
+ print('Exception when calling DefaultApi->getRics: $e\n');
+}
+
+</code></pre>
+ </div>
+
<div class="tab-pane" id="examples-NearRTRICRepository-getRics-0-android">
<pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.NearRTRICRepositoryApi;
@@ -11048,41 +7923,60 @@
<div class="tab-content" id="responses-NearRTRICRepository-getRics-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-NearRTRICRepository-getRics-200-schema">
- <div id="responses-NearRTRICRepository-getRics-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-NearRTRICRepository-getRics-200-schema">
+ <div id="responses-NearRTRICRepository-getRics-schema-200" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ric_info_list"
+ },
+ "examples" : {
+ "ric_info_list" : {
+ "$ref" : "#/components/examples/ric_info_list"
+ }
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-NearRTRICRepository-getRics-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-NearRTRICRepository-getRics-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-NearRTRICRepository-getRics-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-NearRTRICRepository-getRics-200-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-NearRTRICRepository-getRics-schema-200');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-NearRTRICRepository-getRics-200-schema-data' type='hidden' value=''></input>
+ </div>
</div>
<h3 id="examples-NearRTRICRepository-getRics-title-404"></h3>
<p id="examples-NearRTRICRepository-getRics-description-404" class="marked"></p>
@@ -11105,6 +7999,53 @@
<div class="tab-content" id="responses-NearRTRICRepository-getRics-404-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-NearRTRICRepository-getRics-404-schema">
+ <div id="responses-NearRTRICRepository-getRics-schema-404" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "example" : [ ]
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-NearRTRICRepository-getRics-404-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-NearRTRICRepository-getRics-schema-404');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-NearRTRICRepository-getRics-404-schema-data' type='hidden' value=''></input>
+ </div>
</div>
</article>
</div>
@@ -11131,6 +8072,7 @@
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="#examples-ServiceRegistryAndSupervision-deleteService-0-curl">Curl</a></li>
<li class=""><a href="#examples-ServiceRegistryAndSupervision-deleteService-0-java">Java</a></li>
+ <li class=""><a href="#examples-ServiceRegistryAndSupervision-deleteService-0-dart">Dart</a></li>
<li class=""><a href="#examples-ServiceRegistryAndSupervision-deleteService-0-android">Android</a></li>
<!--<li class=""><a href="#examples-ServiceRegistryAndSupervision-deleteService-0-groovy">Groovy</a></li>-->
<li class=""><a href="#examples-ServiceRegistryAndSupervision-deleteService-0-objc">Obj-C</a></li>
@@ -11178,6 +8120,23 @@
</code></pre>
</div>
+ <div class="tab-pane" id="examples-ServiceRegistryAndSupervision-deleteService-0-dart">
+ <pre class="prettyprint"><code class="language-dart">import 'package:openapi/api.dart';
+
+final api_instance = DefaultApi();
+
+final String serviceId = new String(); // String |
+
+try {
+ final result = await api_instance.deleteService(serviceId);
+ print(result);
+} catch (e) {
+ print('Exception when calling DefaultApi->deleteService: $e\n');
+}
+
+</code></pre>
+ </div>
+
<div class="tab-pane" id="examples-ServiceRegistryAndSupervision-deleteService-0-android">
<pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ServiceRegistryAndSupervisionApi;
@@ -11404,41 +8363,55 @@
<div class="tab-content" id="responses-ServiceRegistryAndSupervision-deleteService-204-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-ServiceRegistryAndSupervision-deleteService-204-schema">
- <div id="responses-ServiceRegistryAndSupervision-deleteService-schema-204" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-ServiceRegistryAndSupervision-deleteService-204-schema">
+ <div id="responses-ServiceRegistryAndSupervision-deleteService-schema-204" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "No Content - Service unregistered",
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-ServiceRegistryAndSupervision-deleteService-204-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-ServiceRegistryAndSupervision-deleteService-schema-204');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-ServiceRegistryAndSupervision-deleteService-204-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-ServiceRegistryAndSupervision-deleteService-204-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-ServiceRegistryAndSupervision-deleteService-schema-204');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-ServiceRegistryAndSupervision-deleteService-204-schema-data' type='hidden' value=''></input>
+ </div>
</div>
<h3 id="examples-ServiceRegistryAndSupervision-deleteService-title-404"></h3>
<p id="examples-ServiceRegistryAndSupervision-deleteService-description-404" class="marked"></p>
@@ -11461,6 +8434,53 @@
<div class="tab-content" id="responses-ServiceRegistryAndSupervision-deleteService-404-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-ServiceRegistryAndSupervision-deleteService-404-schema">
+ <div id="responses-ServiceRegistryAndSupervision-deleteService-schema-404" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "example" : [ ]
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-ServiceRegistryAndSupervision-deleteService-404-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-ServiceRegistryAndSupervision-deleteService-schema-404');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-ServiceRegistryAndSupervision-deleteService-404-schema-data' type='hidden' value=''></input>
+ </div>
</div>
</article>
</div>
@@ -11484,6 +8504,7 @@
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="#examples-ServiceRegistryAndSupervision-getServices-0-curl">Curl</a></li>
<li class=""><a href="#examples-ServiceRegistryAndSupervision-getServices-0-java">Java</a></li>
+ <li class=""><a href="#examples-ServiceRegistryAndSupervision-getServices-0-dart">Dart</a></li>
<li class=""><a href="#examples-ServiceRegistryAndSupervision-getServices-0-android">Android</a></li>
<!--<li class=""><a href="#examples-ServiceRegistryAndSupervision-getServices-0-groovy">Groovy</a></li>-->
<li class=""><a href="#examples-ServiceRegistryAndSupervision-getServices-0-objc">Obj-C</a></li>
@@ -11531,6 +8552,23 @@
</code></pre>
</div>
+ <div class="tab-pane" id="examples-ServiceRegistryAndSupervision-getServices-0-dart">
+ <pre class="prettyprint"><code class="language-dart">import 'package:openapi/api.dart';
+
+final api_instance = DefaultApi();
+
+final String serviceId = new String(); // String | The identity of the service
+
+try {
+ final result = await api_instance.getServices(serviceId);
+ print(result);
+} catch (e) {
+ print('Exception when calling DefaultApi->getServices: $e\n');
+}
+
+</code></pre>
+ </div>
+
<div class="tab-pane" id="examples-ServiceRegistryAndSupervision-getServices-0-android">
<pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ServiceRegistryAndSupervisionApi;
@@ -11762,41 +8800,60 @@
<div class="tab-content" id="responses-ServiceRegistryAndSupervision-getServices-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-ServiceRegistryAndSupervision-getServices-200-schema">
- <div id="responses-ServiceRegistryAndSupervision-getServices-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-ServiceRegistryAndSupervision-getServices-200-schema">
+ <div id="responses-ServiceRegistryAndSupervision-getServices-schema-200" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/service_status_list"
+ },
+ "examples" : {
+ "service_status_list" : {
+ "$ref" : "#/components/examples/service_status_list"
+ }
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-ServiceRegistryAndSupervision-getServices-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-ServiceRegistryAndSupervision-getServices-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-ServiceRegistryAndSupervision-getServices-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-ServiceRegistryAndSupervision-getServices-200-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-ServiceRegistryAndSupervision-getServices-schema-200');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-ServiceRegistryAndSupervision-getServices-200-schema-data' type='hidden' value=''></input>
+ </div>
</div>
<h3 id="examples-ServiceRegistryAndSupervision-getServices-title-404"></h3>
<p id="examples-ServiceRegistryAndSupervision-getServices-description-404" class="marked"></p>
@@ -11819,6 +8876,53 @@
<div class="tab-content" id="responses-ServiceRegistryAndSupervision-getServices-404-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-ServiceRegistryAndSupervision-getServices-404-schema">
+ <div id="responses-ServiceRegistryAndSupervision-getServices-schema-404" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "example" : [ ]
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-ServiceRegistryAndSupervision-getServices-404-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-ServiceRegistryAndSupervision-getServices-schema-404');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-ServiceRegistryAndSupervision-getServices-404-schema-data' type='hidden' value=''></input>
+ </div>
</div>
</article>
</div>
@@ -11842,6 +8946,7 @@
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="#examples-ServiceRegistryAndSupervision-keepAliveService-0-curl">Curl</a></li>
<li class=""><a href="#examples-ServiceRegistryAndSupervision-keepAliveService-0-java">Java</a></li>
+ <li class=""><a href="#examples-ServiceRegistryAndSupervision-keepAliveService-0-dart">Dart</a></li>
<li class=""><a href="#examples-ServiceRegistryAndSupervision-keepAliveService-0-android">Android</a></li>
<!--<li class=""><a href="#examples-ServiceRegistryAndSupervision-keepAliveService-0-groovy">Groovy</a></li>-->
<li class=""><a href="#examples-ServiceRegistryAndSupervision-keepAliveService-0-objc">Obj-C</a></li>
@@ -11889,6 +8994,23 @@
</code></pre>
</div>
+ <div class="tab-pane" id="examples-ServiceRegistryAndSupervision-keepAliveService-0-dart">
+ <pre class="prettyprint"><code class="language-dart">import 'package:openapi/api.dart';
+
+final api_instance = DefaultApi();
+
+final String serviceId = new String(); // String |
+
+try {
+ final result = await api_instance.keepAliveService(serviceId);
+ print(result);
+} catch (e) {
+ print('Exception when calling DefaultApi->keepAliveService: $e\n');
+}
+
+</code></pre>
+ </div>
+
<div class="tab-pane" id="examples-ServiceRegistryAndSupervision-keepAliveService-0-android">
<pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ServiceRegistryAndSupervisionApi;
@@ -12118,41 +9240,55 @@
<div class="tab-content" id="responses-ServiceRegistryAndSupervision-keepAliveService-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-ServiceRegistryAndSupervision-keepAliveService-200-schema">
- <div id="responses-ServiceRegistryAndSupervision-keepAliveService-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-ServiceRegistryAndSupervision-keepAliveService-200-schema">
+ <div id="responses-ServiceRegistryAndSupervision-keepAliveService-schema-200" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "OK - Service supervision timer refreshed, OK",
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-ServiceRegistryAndSupervision-keepAliveService-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-ServiceRegistryAndSupervision-keepAliveService-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-ServiceRegistryAndSupervision-keepAliveService-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-ServiceRegistryAndSupervision-keepAliveService-200-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-ServiceRegistryAndSupervision-keepAliveService-schema-200');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-ServiceRegistryAndSupervision-keepAliveService-200-schema-data' type='hidden' value=''></input>
+ </div>
</div>
<h3 id="examples-ServiceRegistryAndSupervision-keepAliveService-title-404"></h3>
<p id="examples-ServiceRegistryAndSupervision-keepAliveService-description-404" class="marked"></p>
@@ -12175,6 +9311,53 @@
<div class="tab-content" id="responses-ServiceRegistryAndSupervision-keepAliveService-404-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-ServiceRegistryAndSupervision-keepAliveService-404-schema">
+ <div id="responses-ServiceRegistryAndSupervision-keepAliveService-schema-404" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "example" : [ ]
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-ServiceRegistryAndSupervision-keepAliveService-404-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-ServiceRegistryAndSupervision-keepAliveService-schema-404');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-ServiceRegistryAndSupervision-keepAliveService-404-schema-data' type='hidden' value=''></input>
+ </div>
</div>
</article>
</div>
@@ -12198,6 +9381,7 @@
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="#examples-ServiceRegistryAndSupervision-putService-0-curl">Curl</a></li>
<li class=""><a href="#examples-ServiceRegistryAndSupervision-putService-0-java">Java</a></li>
+ <li class=""><a href="#examples-ServiceRegistryAndSupervision-putService-0-dart">Dart</a></li>
<li class=""><a href="#examples-ServiceRegistryAndSupervision-putService-0-android">Android</a></li>
<!--<li class=""><a href="#examples-ServiceRegistryAndSupervision-putService-0-groovy">Groovy</a></li>-->
<li class=""><a href="#examples-ServiceRegistryAndSupervision-putService-0-objc">Obj-C</a></li>
@@ -12247,6 +9431,23 @@
</code></pre>
</div>
+ <div class="tab-pane" id="examples-ServiceRegistryAndSupervision-putService-0-dart">
+ <pre class="prettyprint"><code class="language-dart">import 'package:openapi/api.dart';
+
+final api_instance = DefaultApi();
+
+final ServiceRegistrationInfo serviceRegistrationInfo = new ServiceRegistrationInfo(); // ServiceRegistrationInfo |
+
+try {
+ final result = await api_instance.putService(serviceRegistrationInfo);
+ print(result);
+} catch (e) {
+ print('Exception when calling DefaultApi->putService: $e\n');
+}
+
+</code></pre>
+ </div>
+
<div class="tab-pane" id="examples-ServiceRegistryAndSupervision-putService-0-android">
<pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ServiceRegistryAndSupervisionApi;
@@ -12430,15 +9631,15 @@
<p class="marked"></p>
<script>
$(document).ready(function() {
- var schemaWrapper = {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/service_registration_info"
- }
- }
- },
- "required" : true
+ var schemaWrapper = {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/service_registration_info"
+ }
+ }
+ },
+ "required" : true
};
var schema = findNode('schema',schemaWrapper).schema;
@@ -12447,6 +9648,8 @@
}
if (schema.$ref != null) {
schema = defsParser.$refs.get(schema.$ref);
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
} else {
schemaWrapper.definitions = Object.assign({}, defs);
$RefParser.dereference(schemaWrapper).catch(function(err) {
@@ -12495,41 +9698,55 @@
<div class="tab-content" id="responses-ServiceRegistryAndSupervision-putService-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-ServiceRegistryAndSupervision-putService-200-schema">
- <div id="responses-ServiceRegistryAndSupervision-putService-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-ServiceRegistryAndSupervision-putService-200-schema">
+ <div id="responses-ServiceRegistryAndSupervision-putService-schema-200" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "OK - Service updated",
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-ServiceRegistryAndSupervision-putService-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-ServiceRegistryAndSupervision-putService-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-ServiceRegistryAndSupervision-putService-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-ServiceRegistryAndSupervision-putService-200-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-ServiceRegistryAndSupervision-putService-schema-200');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-ServiceRegistryAndSupervision-putService-200-schema-data' type='hidden' value=''></input>
+ </div>
</div>
<h3 id="examples-ServiceRegistryAndSupervision-putService-title-201"></h3>
<p id="examples-ServiceRegistryAndSupervision-putService-description-201" class="marked"></p>
@@ -12557,41 +9774,55 @@
<div class="tab-content" id="responses-ServiceRegistryAndSupervision-putService-201-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-ServiceRegistryAndSupervision-putService-201-schema">
- <div id="responses-ServiceRegistryAndSupervision-putService-schema-201" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-ServiceRegistryAndSupervision-putService-201-schema">
+ <div id="responses-ServiceRegistryAndSupervision-putService-schema-201" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Created - Service created",
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-ServiceRegistryAndSupervision-putService-201-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-ServiceRegistryAndSupervision-putService-schema-201');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-ServiceRegistryAndSupervision-putService-201-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-ServiceRegistryAndSupervision-putService-201-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-ServiceRegistryAndSupervision-putService-schema-201');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-ServiceRegistryAndSupervision-putService-201-schema-data' type='hidden' value=''></input>
+ </div>
</div>
<h3 id="examples-ServiceRegistryAndSupervision-putService-title-400"></h3>
<p id="examples-ServiceRegistryAndSupervision-putService-description-400" class="marked"></p>
@@ -12619,41 +9850,60 @@
<div class="tab-content" id="responses-ServiceRegistryAndSupervision-putService-400-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-ServiceRegistryAndSupervision-putService-400-schema">
- <div id="responses-ServiceRegistryAndSupervision-putService-schema-400" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-ServiceRegistryAndSupervision-putService-400-schema">
+ <div id="responses-ServiceRegistryAndSupervision-putService-schema-400" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Bad Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/error_information"
+ },
+ "example" : {
+ "status" : 400,
+ "title" : "Bad Request",
+ "detail" : "The provided request is not valid."
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-ServiceRegistryAndSupervision-putService-400-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-ServiceRegistryAndSupervision-putService-schema-400');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-ServiceRegistryAndSupervision-putService-400-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-ServiceRegistryAndSupervision-putService-400-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-ServiceRegistryAndSupervision-putService-schema-400');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-ServiceRegistryAndSupervision-putService-400-schema-data' type='hidden' value=''></input>
+ </div>
</div>
</article>
</div>
@@ -13772,7 +11022,7 @@
// Determine if a schema is an array
this.isArray = !this.isAny && this.schema && this.schema.type === 'array';
- this.isObject = this.schema && (this.schema.type === 'object' || this.schema.properties || this.schema.anyOf || this.schema.oneof || this.schema.allOf);
+ this.isObject = this.schema && (this.schema.type === 'object' || this.schema.properties || this.schema.anyOf || this.schema.oneOf || this.schema.allOf);
// Determine if a schema is a primitive
this.isPrimitive = !this.isAny && !this.isArray && !this.isObject;
diff --git a/a1-policy-management/api/pms-api/index.html b/a1-policy-management/api/offeredapis/openapitoolgen/offeredapis/pms-api/v3/index.html
similarity index 60%
copy from a1-policy-management/api/pms-api/index.html
copy to a1-policy-management/api/offeredapis/openapitoolgen/offeredapis/pms-api/v3/index.html
index 66934cd..6404c06 100644
--- a/a1-policy-management/api/pms-api/index.html
+++ b/a1-policy-management/api/offeredapis/openapitoolgen/offeredapis/pms-api/v3/index.html
@@ -2,15 +2,13 @@
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
- <title>A1 Policy Management Service</title>
+ <title>A1 policy management API</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="UTF-8" />
<script>
-/*! jQuery v3.1.0 | (c) jQuery Foundation | jquery.org/license */
-!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,
-r.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);
-if(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});
+/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */
+!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(ie,e){"use strict";var oe=[],r=Object.getPrototypeOf,ae=oe.slice,g=oe.flat?function(e){return oe.flat.call(e)}:function(e){return oe.concat.apply([],e)},s=oe.push,se=oe.indexOf,n={},i=n.toString,ue=n.hasOwnProperty,o=ue.toString,a=o.call(Object),le={},v=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},y=function(e){return null!=e&&e===e.window},C=ie.document,u={type:!0,src:!0,nonce:!0,noModule:!0};function m(e,t,n){var r,i,o=(n=n||C).createElement("script");if(o.text=e,t)for(r in u)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[i.call(e)]||"object":typeof e}var t="3.7.1",l=/HTML$/i,ce=function(e,t){return new ce.fn.init(e,t)};function c(e){var t=!!e&&"length"in e&&e.length,n=x(e);return!v(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}function fe(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}ce.fn=ce.prototype={jquery:t,constructor:ce,length:0,toArray:function(){return ae.call(this)},get:function(e){return null==e?ae.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=ce.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return ce.each(this,e)},map:function(n){return this.pushStack(ce.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(ae.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(ce.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(ce.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:s,sort:oe.sort,splice:oe.splice},ce.extend=ce.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||v(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(l&&r&&(ce.isPlainObject(r)||(i=Array.isArray(r)))?(n=a[t],o=i&&!Array.isArray(n)?[]:i||ce.isPlainObject(n)?n:{},i=!1,a[t]=ce.extend(l,o,r)):void 0!==r&&(a[t]=r));return a},ce.extend({expando:"jQuery"+(t+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==i.call(e))&&(!(t=r(e))||"function"==typeof(n=ue.call(t,"constructor")&&t.constructor)&&o.call(n)===a)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){m(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(c(e)){for(n=e.length;r<n;r++)if(!1===t.call(e[r],r,e[r]))break}else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},text:function(e){var t,n="",r=0,i=e.nodeType;if(!i)while(t=e[r++])n+=ce.text(t);return 1===i||11===i?e.textContent:9===i?e.documentElement.textContent:3===i||4===i?e.nodeValue:n},makeArray:function(e,t){var n=t||[];return null!=e&&(c(Object(e))?ce.merge(n,"string"==typeof e?[e]:e):s.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:se.call(t,e,n)},isXMLDoc:function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!l.test(t||n&&n.nodeName||"HTML")},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,a=!n;i<o;i++)!t(e[i],i)!==a&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,a=[];if(c(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&a.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&a.push(i);return g(a)},guid:1,support:le}),"function"==typeof Symbol&&(ce.fn[Symbol.iterator]=oe[Symbol.iterator]),ce.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){n["[object "+t+"]"]=t.toLowerCase()});var pe=oe.pop,de=oe.sort,he=oe.splice,ge="[\\x20\\t\\r\\n\\f]",ve=new RegExp("^"+ge+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ge+"+$","g");ce.contains=function(e,t){var n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(e.contains?e.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))};var f=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function p(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}ce.escapeSelector=function(e){return(e+"").replace(f,p)};var ye=C,me=s;!function(){var e,b,w,o,a,T,r,C,d,i,k=me,S=ce.expando,E=0,n=0,s=W(),c=W(),u=W(),h=W(),l=function(e,t){return e===t&&(a=!0),0},f="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",t="(?:\\\\[\\da-fA-F]{1,6}"+ge+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",p="\\["+ge+"*("+t+")(?:"+ge+"*([*^$|!~]?=)"+ge+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+t+"))|)"+ge+"*\\]",g=":("+t+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+p+")*)|.*)\\)|)",v=new RegExp(ge+"+","g"),y=new RegExp("^"+ge+"*,"+ge+"*"),m=new RegExp("^"+ge+"*([>+~]|"+ge+")"+ge+"*"),x=new RegExp(ge+"|>"),j=new RegExp(g),A=new RegExp("^"+t+"$"),D={ID:new RegExp("^#("+t+")"),CLASS:new RegExp("^\\.("+t+")"),TAG:new RegExp("^("+t+"|[*])"),ATTR:new RegExp("^"+p),PSEUDO:new RegExp("^"+g),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ge+"*(even|odd|(([+-]|)(\\d*)n|)"+ge+"*(?:([+-]|)"+ge+"*(\\d+)|))"+ge+"*\\)|)","i"),bool:new RegExp("^(?:"+f+")$","i"),needsContext:new RegExp("^"+ge+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ge+"*((?:-\\d)?\\d*)"+ge+"*\\)|)(?=[^-]|$)","i")},N=/^(?:input|select|textarea|button)$/i,q=/^h\d$/i,L=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,H=/[+~]/,O=new RegExp("\\\\[\\da-fA-F]{1,6}"+ge+"?|\\\\([^\\r\\n\\f])","g"),P=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},M=function(){V()},R=J(function(e){return!0===e.disabled&&fe(e,"fieldset")},{dir:"parentNode",next:"legend"});try{k.apply(oe=ae.call(ye.childNodes),ye.childNodes),oe[ye.childNodes.length].nodeType}catch(e){k={apply:function(e,t){me.apply(e,ae.call(t))},call:function(e){me.apply(e,ae.call(arguments,1))}}}function I(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(V(e),e=e||T,C)){if(11!==p&&(u=L.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return k.call(n,a),n}else if(f&&(a=f.getElementById(i))&&I.contains(e,a)&&a.id===i)return k.call(n,a),n}else{if(u[2])return k.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&e.getElementsByClassName)return k.apply(n,e.getElementsByClassName(i)),n}if(!(h[t+" "]||d&&d.test(t))){if(c=t,f=e,1===p&&(x.test(t)||m.test(t))){(f=H.test(t)&&U(e.parentNode)||e)==e&&le.scope||((s=e.getAttribute("id"))?s=ce.escapeSelector(s):e.setAttribute("id",s=S)),o=(l=Y(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+Q(l[o]);c=l.join(",")}try{return k.apply(n,f.querySelectorAll(c)),n}catch(e){h(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return re(t.replace(ve,"$1"),e,n,r)}function W(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function F(e){return e[S]=!0,e}function $(e){var t=T.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function B(t){return function(e){return fe(e,"input")&&e.type===t}}function _(t){return function(e){return(fe(e,"input")||fe(e,"button"))&&e.type===t}}function z(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&R(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function X(a){return F(function(o){return o=+o,F(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function U(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function V(e){var t,n=e?e.ownerDocument||e:ye;return n!=T&&9===n.nodeType&&n.documentElement&&(r=(T=n).documentElement,C=!ce.isXMLDoc(T),i=r.matches||r.webkitMatchesSelector||r.msMatchesSelector,r.msMatchesSelector&&ye!=T&&(t=T.defaultView)&&t.top!==t&&t.addEventListener("unload",M),le.getById=$(function(e){return r.appendChild(e).id=ce.expando,!T.getElementsByName||!T.getElementsByName(ce.expando).length}),le.disconnectedMatch=$(function(e){return i.call(e,"*")}),le.scope=$(function(){return T.querySelectorAll(":scope")}),le.cssHas=$(function(){try{return T.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}}),le.getById?(b.filter.ID=function(e){var t=e.replace(O,P);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(O,P);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},b.find.CLASS=function(e,t){if("undefined"!=typeof t.getElementsByClassName&&C)return t.getElementsByClassName(e)},d=[],$(function(e){var t;r.appendChild(e).innerHTML="<a id='"+S+"' href='' disabled='disabled'></a><select id='"+S+"-\r\\' disabled='disabled'><option selected=''></option></select>",e.querySelectorAll("[selected]").length||d.push("\\["+ge+"*(?:value|"+f+")"),e.querySelectorAll("[id~="+S+"-]").length||d.push("~="),e.querySelectorAll("a#"+S+"+*").length||d.push(".#.+[+~]"),e.querySelectorAll(":checked").length||d.push(":checked"),(t=T.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),r.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&d.push(":enabled",":disabled"),(t=T.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||d.push("\\["+ge+"*name"+ge+"*="+ge+"*(?:''|\"\")")}),le.cssHas||d.push(":has"),d=d.length&&new RegExp(d.join("|")),l=function(e,t){if(e===t)return a=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!le.sortDetached&&t.compareDocumentPosition(e)===n?e===T||e.ownerDocument==ye&&I.contains(ye,e)?-1:t===T||t.ownerDocument==ye&&I.contains(ye,t)?1:o?se.call(o,e)-se.call(o,t):0:4&n?-1:1)}),T}for(e in I.matches=function(e,t){return I(e,null,null,t)},I.matchesSelector=function(e,t){if(V(e),C&&!h[t+" "]&&(!d||!d.test(t)))try{var n=i.call(e,t);if(n||le.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){h(t,!0)}return 0<I(t,T,null,[e]).length},I.contains=function(e,t){return(e.ownerDocument||e)!=T&&V(e),ce.contains(e,t)},I.attr=function(e,t){(e.ownerDocument||e)!=T&&V(e);var n=b.attrHandle[t.toLowerCase()],r=n&&ue.call(b.attrHandle,t.toLowerCase())?n(e,t,!C):void 0;return void 0!==r?r:e.getAttribute(t)},I.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ce.uniqueSort=function(e){var t,n=[],r=0,i=0;if(a=!le.sortStable,o=!le.sortStable&&ae.call(e,0),de.call(e,l),a){while(t=e[i++])t===e[i]&&(r=n.push(i));while(r--)he.call(e,n[r],1)}return o=null,e},ce.fn.uniqueSort=function(){return this.pushStack(ce.uniqueSort(ae.apply(this)))},(b=ce.expr={cacheLength:50,createPseudo:F,match:D,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(O,P),e[3]=(e[3]||e[4]||e[5]||"").replace(O,P),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||I.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&I.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return D.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&j.test(n)&&(t=Y(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(O,P).toLowerCase();return"*"===e?function(){return!0}:function(e){return fe(e,t)}},CLASS:function(e){var t=s[e+" "];return t||(t=new RegExp("(^|"+ge+")"+e+"("+ge+"|$)"))&&s(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=I.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1<t.indexOf(i):"$="===r?i&&t.slice(-i.length)===i:"~="===r?-1<(" "+t.replace(v," ")+" ").indexOf(i):"|="===r&&(t===i||t.slice(0,i.length+1)===i+"-"))}},CHILD:function(d,e,t,h,g){var v="nth"!==d.slice(0,3),y="last"!==d.slice(-4),m="of-type"===e;return 1===h&&0===g?function(e){return!!e.parentNode}:function(e,t,n){var r,i,o,a,s,u=v!==y?"nextSibling":"previousSibling",l=e.parentNode,c=m&&e.nodeName.toLowerCase(),f=!n&&!m,p=!1;if(l){if(v){while(u){o=e;while(o=o[u])if(m?fe(o,c):1===o.nodeType)return!1;s=u="only"===d&&!s&&"nextSibling"}return!0}if(s=[y?l.firstChild:l.lastChild],y&&f){p=(a=(r=(i=l[S]||(l[S]={}))[d]||[])[0]===E&&r[1])&&r[2],o=a&&l.childNodes[a];while(o=++a&&o&&o[u]||(p=a=0)||s.pop())if(1===o.nodeType&&++p&&o===e){i[d]=[E,a,p];break}}else if(f&&(p=a=(r=(i=e[S]||(e[S]={}))[d]||[])[0]===E&&r[1]),!1===p)while(o=++a&&o&&o[u]||(p=a=0)||s.pop())if((m?fe(o,c):1===o.nodeType)&&++p&&(f&&((i=o[S]||(o[S]={}))[d]=[E,p]),o===e))break;return(p-=g)===h||p%h==0&&0<=p/h}}},PSEUDO:function(e,o){var t,a=b.pseudos[e]||b.setFilters[e.toLowerCase()]||I.error("unsupported pseudo: "+e);return a[S]?a(o):1<a.length?(t=[e,e,"",o],b.setFilters.hasOwnProperty(e.toLowerCase())?F(function(e,t){var n,r=a(e,o),i=r.length;while(i--)e[n=se.call(e,r[i])]=!(t[n]=r[i])}):function(e){return a(e,0,t)}):a}},pseudos:{not:F(function(e){var r=[],i=[],s=ne(e.replace(ve,"$1"));return s[S]?F(function(e,t,n,r){var i,o=s(e,null,r,[]),a=e.length;while(a--)(i=o[a])&&(e[a]=!(t[a]=i))}):function(e,t,n){return r[0]=e,s(r,null,n,i),r[0]=null,!i.pop()}}),has:F(function(t){return function(e){return 0<I(t,e).length}}),contains:F(function(t){return t=t.replace(O,P),function(e){return-1<(e.textContent||ce.text(e)).indexOf(t)}}),lang:F(function(n){return A.test(n||"")||I.error("unsupported lang: "+n),n=n.replace(O,P).toLowerCase(),function(e){var t;do{if(t=C?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===n||0===t.indexOf(n+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=ie.location&&ie.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===r},focus:function(e){return e===function(){try{return T.activeElement}catch(e){}}()&&T.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:z(!1),disabled:z(!0),checked:function(e){return fe(e,"input")&&!!e.checked||fe(e,"option")&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!b.pseudos.empty(e)},header:function(e){return q.test(e.nodeName)},input:function(e){return N.test(e.nodeName)},button:function(e){return fe(e,"input")&&"button"===e.type||fe(e,"button")},text:function(e){var t;return fe(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:X(function(){return[0]}),last:X(function(e,t){return[t-1]}),eq:X(function(e,t,n){return[n<0?n+t:n]}),even:X(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:X(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:X(function(e,t,n){var r;for(r=n<0?n+t:t<n?t:n;0<=--r;)e.push(r);return e}),gt:X(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=b.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})b.pseudos[e]=B(e);for(e in{submit:!0,reset:!0})b.pseudos[e]=_(e);function G(){}function Y(e,t){var n,r,i,o,a,s,u,l=c[e+" "];if(l)return t?0:l.slice(0);a=e,s=[],u=b.preFilter;while(a){for(o in n&&!(r=y.exec(a))||(r&&(a=a.slice(r[0].length)||a),s.push(i=[])),n=!1,(r=m.exec(a))&&(n=r.shift(),i.push({value:n,type:r[0].replace(ve," ")}),a=a.slice(n.length)),b.filter)!(r=D[o].exec(a))||u[o]&&!(r=u[o](r))||(n=r.shift(),i.push({value:n,type:o,matches:r}),a=a.slice(n.length));if(!n)break}return t?a.length:a?I.error(e):c(e,s).slice(0)}function Q(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function J(a,e,t){var s=e.dir,u=e.next,l=u||s,c=t&&"parentNode"===l,f=n++;return e.first?function(e,t,n){while(e=e[s])if(1===e.nodeType||c)return a(e,t,n);return!1}:function(e,t,n){var r,i,o=[E,f];if(n){while(e=e[s])if((1===e.nodeType||c)&&a(e,t,n))return!0}else while(e=e[s])if(1===e.nodeType||c)if(i=e[S]||(e[S]={}),u&&fe(e,u))e=e[s]||e;else{if((r=i[l])&&r[0]===E&&r[1]===f)return o[2]=r[2];if((i[l]=o)[2]=a(e,t,n))return!0}return!1}}function K(i){return 1<i.length?function(e,t,n){var r=i.length;while(r--)if(!i[r](e,t,n))return!1;return!0}:i[0]}function Z(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,l=null!=t;s<u;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),l&&t.push(s)));return a}function ee(d,h,g,v,y,e){return v&&!v[S]&&(v=ee(v)),y&&!y[S]&&(y=ee(y,e)),F(function(e,t,n,r){var i,o,a,s,u=[],l=[],c=t.length,f=e||function(e,t,n){for(var r=0,i=t.length;r<i;r++)I(e,t[r],n);return n}(h||"*",n.nodeType?[n]:n,[]),p=!d||!e&&h?f:Z(f,u,d,n,r);if(g?g(p,s=y||(e?d:c||v)?[]:t,n,r):s=p,v){i=Z(s,l),v(i,[],n,r),o=i.length;while(o--)(a=i[o])&&(s[l[o]]=!(p[l[o]]=a))}if(e){if(y||d){if(y){i=[],o=s.length;while(o--)(a=s[o])&&i.push(p[o]=a);y(null,s=[],i,r)}o=s.length;while(o--)(a=s[o])&&-1<(i=y?se.call(e,a):u[o])&&(e[i]=!(t[i]=a))}}else s=Z(s===t?s.splice(c,s.length):s),y?y(null,t,s,r):k.apply(t,s)})}function te(e){for(var i,t,n,r=e.length,o=b.relative[e[0].type],a=o||b.relative[" "],s=o?1:0,u=J(function(e){return e===i},a,!0),l=J(function(e){return-1<se.call(i,e)},a,!0),c=[function(e,t,n){var r=!o&&(n||t!=w)||((i=t).nodeType?u(e,t,n):l(e,t,n));return i=null,r}];s<r;s++)if(t=b.relative[e[s].type])c=[J(K(c),t)];else{if((t=b.filter[e[s].type].apply(null,e[s].matches))[S]){for(n=++s;n<r;n++)if(b.relative[e[n].type])break;return ee(1<s&&K(c),1<s&&Q(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(ve,"$1"),t,s<n&&te(e.slice(s,n)),n<r&&te(e=e.slice(n)),n<r&&Q(e))}c.push(t)}return K(c)}function ne(e,t){var n,v,y,m,x,r,i=[],o=[],a=u[e+" "];if(!a){t||(t=Y(e)),n=t.length;while(n--)(a=te(t[n]))[S]?i.push(a):o.push(a);(a=u(e,(v=o,m=0<(y=i).length,x=0<v.length,r=function(e,t,n,r,i){var o,a,s,u=0,l="0",c=e&&[],f=[],p=w,d=e||x&&b.find.TAG("*",i),h=E+=null==p?1:Math.random()||.1,g=d.length;for(i&&(w=t==T||t||i);l!==g&&null!=(o=d[l]);l++){if(x&&o){a=0,t||o.ownerDocument==T||(V(o),n=!C);while(s=v[a++])if(s(o,t||T,n)){k.call(r,o);break}i&&(E=h)}m&&((o=!s&&o)&&u--,e&&c.push(o))}if(u+=l,m&&l!==u){a=0;while(s=y[a++])s(c,f,t,n);if(e){if(0<u)while(l--)c[l]||f[l]||(f[l]=pe.call(r));f=Z(f)}k.apply(r,f),i&&!e&&0<f.length&&1<u+y.length&&ce.uniqueSort(r)}return i&&(E=h,w=p),c},m?F(r):r))).selector=e}return a}function re(e,t,n,r){var i,o,a,s,u,l="function"==typeof e&&e,c=!r&&Y(e=l.selector||e);if(n=n||[],1===c.length){if(2<(o=c[0]=c[0].slice(0)).length&&"ID"===(a=o[0]).type&&9===t.nodeType&&C&&b.relative[o[1].type]){if(!(t=(b.find.ID(a.matches[0].replace(O,P),t)||[])[0]))return n;l&&(t=t.parentNode),e=e.slice(o.shift().value.length)}i=D.needsContext.test(e)?0:o.length;while(i--){if(a=o[i],b.relative[s=a.type])break;if((u=b.find[s])&&(r=u(a.matches[0].replace(O,P),H.test(o[0].type)&&U(t.parentNode)||t))){if(o.splice(i,1),!(e=r.length&&Q(o)))return k.apply(n,r),n;break}}}return(l||ne(e,c))(r,t,!C,n,!t||H.test(e)&&U(t.parentNode)||t),n}G.prototype=b.filters=b.pseudos,b.setFilters=new G,le.sortStable=S.split("").sort(l).join("")===S,V(),le.sortDetached=$(function(e){return 1&e.compareDocumentPosition(T.createElement("fieldset"))}),ce.find=I,ce.expr[":"]=ce.expr.pseudos,ce.unique=ce.uniqueSort,I.compile=ne,I.select=re,I.setDocument=V,I.tokenize=Y,I.escape=ce.escapeSelector,I.getText=ce.text,I.isXML=ce.isXMLDoc,I.selectors=ce.expr,I.support=ce.support,I.uniqueSort=ce.uniqueSort}();var d=function(e,t,n){var r=[],i=void 0!==n;while((e=e[t])&&9!==e.nodeType)if(1===e.nodeType){if(i&&ce(e).is(n))break;r.push(e)}return r},h=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},b=ce.expr.match.needsContext,w=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function T(e,n,r){return v(n)?ce.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?ce.grep(e,function(e){return e===n!==r}):"string"!=typeof n?ce.grep(e,function(e){return-1<se.call(n,e)!==r}):ce.filter(n,e,r)}ce.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?ce.find.matchesSelector(r,e)?[r]:[]:ce.find.matches(e,ce.grep(t,function(e){return 1===e.nodeType}))},ce.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(ce(e).filter(function(){for(t=0;t<r;t++)if(ce.contains(i[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)ce.find(e,i[t],n);return 1<r?ce.uniqueSort(n):n},filter:function(e){return this.pushStack(T(this,e||[],!1))},not:function(e){return this.pushStack(T(this,e||[],!0))},is:function(e){return!!T(this,"string"==typeof e&&b.test(e)?ce(e):e||[],!1).length}});var k,S=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(ce.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||k,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:S.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof ce?t[0]:t,ce.merge(this,ce.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:C,!0)),w.test(r[1])&&ce.isPlainObject(t))for(r in t)v(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=C.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==n.ready?n.ready(e):e(ce):ce.makeArray(e,this)}).prototype=ce.fn,k=ce(C);var E=/^(?:parents|prev(?:Until|All))/,j={children:!0,contents:!0,next:!0,prev:!0};function A(e,t){while((e=e[t])&&1!==e.nodeType);return e}ce.fn.extend({has:function(e){var t=ce(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(ce.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&ce(e);if(!b.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?-1<a.index(n):1===n.nodeType&&ce.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(1<o.length?ce.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?se.call(ce(e),this[0]):se.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(ce.uniqueSort(ce.merge(this.get(),ce(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),ce.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return d(e,"parentNode")},parentsUntil:function(e,t,n){return d(e,"parentNode",n)},next:function(e){return A(e,"nextSibling")},prev:function(e){return A(e,"previousSibling")},nextAll:function(e){return d(e,"nextSibling")},prevAll:function(e){return d(e,"previousSibling")},nextUntil:function(e,t,n){return d(e,"nextSibling",n)},prevUntil:function(e,t,n){return d(e,"previousSibling",n)},siblings:function(e){return h((e.parentNode||{}).firstChild,e)},children:function(e){return h(e.firstChild)},contents:function(e){return null!=e.contentDocument&&r(e.contentDocument)?e.contentDocument:(fe(e,"template")&&(e=e.content||e),ce.merge([],e.childNodes))}},function(r,i){ce.fn[r]=function(e,t){var n=ce.map(this,i,e);return"Until"!==r.slice(-5)&&(t=e),t&&"string"==typeof t&&(n=ce.filter(t,n)),1<this.length&&(j[r]||ce.uniqueSort(n),E.test(r)&&n.reverse()),this.pushStack(n)}});var D=/[^\x20\t\r\n\f]+/g;function N(e){return e}function q(e){throw e}function L(e,t,n,r){var i;try{e&&v(i=e.promise)?i.call(e).done(t).fail(n):e&&v(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}ce.Callbacks=function(r){var e,n;r="string"==typeof r?(e=r,n={},ce.each(e.match(D)||[],function(e,t){n[t]=!0}),n):ce.extend({},r);var i,t,o,a,s=[],u=[],l=-1,c=function(){for(a=a||r.once,o=i=!0;u.length;l=-1){t=u.shift();while(++l<s.length)!1===s[l].apply(t[0],t[1])&&r.stopOnFalse&&(l=s.length,t=!1)}r.memory||(t=!1),i=!1,a&&(s=t?[]:"")},f={add:function(){return s&&(t&&!i&&(l=s.length-1,u.push(t)),function n(e){ce.each(e,function(e,t){v(t)?r.unique&&f.has(t)||s.push(t):t&&t.length&&"string"!==x(t)&&n(t)})}(arguments),t&&!i&&c()),this},remove:function(){return ce.each(arguments,function(e,t){var n;while(-1<(n=ce.inArray(t,s,n)))s.splice(n,1),n<=l&&l--}),this},has:function(e){return e?-1<ce.inArray(e,s):0<s.length},empty:function(){return s&&(s=[]),this},disable:function(){return a=u=[],s=t="",this},disabled:function(){return!s},lock:function(){return a=u=[],t||i||(s=t=""),this},locked:function(){return!!a},fireWith:function(e,t){return a||(t=[e,(t=t||[]).slice?t.slice():t],u.push(t),i||c()),this},fire:function(){return f.fireWith(this,arguments),this},fired:function(){return!!o}};return f},ce.extend({Deferred:function(e){var o=[["notify","progress",ce.Callbacks("memory"),ce.Callbacks("memory"),2],["resolve","done",ce.Callbacks("once memory"),ce.Callbacks("once memory"),0,"resolved"],["reject","fail",ce.Callbacks("once memory"),ce.Callbacks("once memory"),1,"rejected"]],i="pending",a={state:function(){return i},always:function(){return s.done(arguments).fail(arguments),this},"catch":function(e){return a.then(null,e)},pipe:function(){var i=arguments;return ce.Deferred(function(r){ce.each(o,function(e,t){var n=v(i[t[4]])&&i[t[4]];s[t[1]](function(){var e=n&&n.apply(this,arguments);e&&v(e.promise)?e.promise().progress(r.notify).done(r.resolve).fail(r.reject):r[t[0]+"With"](this,n?[e]:arguments)})}),i=null}).promise()},then:function(t,n,r){var u=0;function l(i,o,a,s){return function(){var n=this,r=arguments,e=function(){var e,t;if(!(i<u)){if((e=a.apply(n,r))===o.promise())throw new TypeError("Thenable self-resolution");t=e&&("object"==typeof e||"function"==typeof e)&&e.then,v(t)?s?t.call(e,l(u,o,N,s),l(u,o,q,s)):(u++,t.call(e,l(u,o,N,s),l(u,o,q,s),l(u,o,N,o.notifyWith))):(a!==N&&(n=void 0,r=[e]),(s||o.resolveWith)(n,r))}},t=s?e:function(){try{e()}catch(e){ce.Deferred.exceptionHook&&ce.Deferred.exceptionHook(e,t.error),u<=i+1&&(a!==q&&(n=void 0,r=[e]),o.rejectWith(n,r))}};i?t():(ce.Deferred.getErrorHook?t.error=ce.Deferred.getErrorHook():ce.Deferred.getStackHook&&(t.error=ce.Deferred.getStackHook()),ie.setTimeout(t))}}return ce.Deferred(function(e){o[0][3].add(l(0,e,v(r)?r:N,e.notifyWith)),o[1][3].add(l(0,e,v(t)?t:N)),o[2][3].add(l(0,e,v(n)?n:q))}).promise()},promise:function(e){return null!=e?ce.extend(e,a):a}},s={};return ce.each(o,function(e,t){var n=t[2],r=t[5];a[t[1]]=n.add,r&&n.add(function(){i=r},o[3-e][2].disable,o[3-e][3].disable,o[0][2].lock,o[0][3].lock),n.add(t[3].fire),s[t[0]]=function(){return s[t[0]+"With"](this===s?void 0:this,arguments),this},s[t[0]+"With"]=n.fireWith}),a.promise(s),e&&e.call(s,s),s},when:function(e){var n=arguments.length,t=n,r=Array(t),i=ae.call(arguments),o=ce.Deferred(),a=function(t){return function(e){r[t]=this,i[t]=1<arguments.length?ae.call(arguments):e,--n||o.resolveWith(r,i)}};if(n<=1&&(L(e,o.done(a(t)).resolve,o.reject,!n),"pending"===o.state()||v(i[t]&&i[t].then)))return o.then();while(t--)L(i[t],a(t),o.reject);return o.promise()}});var H=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;ce.Deferred.exceptionHook=function(e,t){ie.console&&ie.console.warn&&e&&H.test(e.name)&&ie.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},ce.readyException=function(e){ie.setTimeout(function(){throw e})};var O=ce.Deferred();function P(){C.removeEventListener("DOMContentLoaded",P),ie.removeEventListener("load",P),ce.ready()}ce.fn.ready=function(e){return O.then(e)["catch"](function(e){ce.readyException(e)}),this},ce.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--ce.readyWait:ce.isReady)||(ce.isReady=!0)!==e&&0<--ce.readyWait||O.resolveWith(C,[ce])}}),ce.ready.then=O.then,"complete"===C.readyState||"loading"!==C.readyState&&!C.documentElement.doScroll?ie.setTimeout(ce.ready):(C.addEventListener("DOMContentLoaded",P),ie.addEventListener("load",P));var M=function(e,t,n,r,i,o,a){var s=0,u=e.length,l=null==n;if("object"===x(n))for(s in i=!0,n)M(e,t,s,n[s],!0,o,a);else if(void 0!==r&&(i=!0,v(r)||(a=!0),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(ce(e),n)})),t))for(;s<u;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:l?t.call(e):u?t(e[0],n):o},R=/^-ms-/,I=/-([a-z])/g;function W(e,t){return t.toUpperCase()}function F(e){return e.replace(R,"ms-").replace(I,W)}var $=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function B(){this.expando=ce.expando+B.uid++}B.uid=1,B.prototype={cache:function(e){var t=e[this.expando];return t||(t={},$(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[F(t)]=n;else for(r in t)i[F(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][F(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(F):(t=F(t))in r?[t]:t.match(D)||[]).length;while(n--)delete r[t[n]]}(void 0===t||ce.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!ce.isEmptyObject(t)}};var _=new B,z=new B,X=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,U=/[A-Z]/g;function V(e,t,n){var r,i;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(U,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n="true"===(i=n)||"false"!==i&&("null"===i?null:i===+i+""?+i:X.test(i)?JSON.parse(i):i)}catch(e){}z.set(e,t,n)}else n=void 0;return n}ce.extend({hasData:function(e){return z.hasData(e)||_.hasData(e)},data:function(e,t,n){return z.access(e,t,n)},removeData:function(e,t){z.remove(e,t)},_data:function(e,t,n){return _.access(e,t,n)},_removeData:function(e,t){_.remove(e,t)}}),ce.fn.extend({data:function(n,e){var t,r,i,o=this[0],a=o&&o.attributes;if(void 0===n){if(this.length&&(i=z.get(o),1===o.nodeType&&!_.get(o,"hasDataAttrs"))){t=a.length;while(t--)a[t]&&0===(r=a[t].name).indexOf("data-")&&(r=F(r.slice(5)),V(o,r,i[r]));_.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof n?this.each(function(){z.set(this,n)}):M(this,function(e){var t;if(o&&void 0===e)return void 0!==(t=z.get(o,n))?t:void 0!==(t=V(o,n))?t:void 0;this.each(function(){z.set(this,n,e)})},null,e,1<arguments.length,null,!0)},removeData:function(e){return this.each(function(){z.remove(this,e)})}}),ce.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=_.get(e,t),n&&(!r||Array.isArray(n)?r=_.access(e,t,ce.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=ce.queue(e,t),r=n.length,i=n.shift(),o=ce._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,function(){ce.dequeue(e,t)},o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return _.get(e,n)||_.access(e,n,{empty:ce.Callbacks("once memory").add(function(){_.remove(e,[t+"queue",n])})})}}),ce.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?ce.queue(this[0],t):void 0===n?this:this.each(function(){var e=ce.queue(this,t,n);ce._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&ce.dequeue(this,t)})},dequeue:function(e){return this.each(function(){ce.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=ce.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};"string"!=typeof e&&(t=e,e=void 0),e=e||"fx";while(a--)(n=_.get(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var G=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Y=new RegExp("^(?:([+-])=|)("+G+")([a-z%]*)$","i"),Q=["Top","Right","Bottom","Left"],J=C.documentElement,K=function(e){return ce.contains(e.ownerDocument,e)},Z={composed:!0};J.getRootNode&&(K=function(e){return ce.contains(e.ownerDocument,e)||e.getRootNode(Z)===e.ownerDocument});var ee=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&K(e)&&"none"===ce.css(e,"display")};function te(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return ce.css(e,t,"")},u=s(),l=n&&n[3]||(ce.cssNumber[t]?"":"px"),c=e.nodeType&&(ce.cssNumber[t]||"px"!==l&&+u)&&Y.exec(ce.css(e,t));if(c&&c[3]!==l){u/=2,l=l||c[3],c=+u||1;while(a--)ce.style(e,t,c+l),(1-o)*(1-(o=s()/u||.5))<=0&&(a=0),c/=o;c*=2,ce.style(e,t,c+l),n=n||[]}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}var ne={};function re(e,t){for(var n,r,i,o,a,s,u,l=[],c=0,f=e.length;c<f;c++)(r=e[c]).style&&(n=r.style.display,t?("none"===n&&(l[c]=_.get(r,"display")||null,l[c]||(r.style.display="")),""===r.style.display&&ee(r)&&(l[c]=(u=a=o=void 0,a=(i=r).ownerDocument,s=i.nodeName,(u=ne[s])||(o=a.body.appendChild(a.createElement(s)),u=ce.css(o,"display"),o.parentNode.removeChild(o),"none"===u&&(u="block"),ne[s]=u)))):"none"!==n&&(l[c]="none",_.set(r,"display",n)));for(c=0;c<f;c++)null!=l[c]&&(e[c].style.display=l[c]);return e}ce.fn.extend({show:function(){return re(this,!0)},hide:function(){return re(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ee(this)?ce(this).show():ce(this).hide()})}});var xe,be,we=/^(?:checkbox|radio)$/i,Te=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Ce=/^$|^module$|\/(?:java|ecma)script/i;xe=C.createDocumentFragment().appendChild(C.createElement("div")),(be=C.createElement("input")).setAttribute("type","radio"),be.setAttribute("checked","checked"),be.setAttribute("name","t"),xe.appendChild(be),le.checkClone=xe.cloneNode(!0).cloneNode(!0).lastChild.checked,xe.innerHTML="<textarea>x</textarea>",le.noCloneChecked=!!xe.cloneNode(!0).lastChild.defaultValue,xe.innerHTML="<option></option>",le.option=!!xe.lastChild;var ke={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,"",""]};function Se(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&fe(e,t)?ce.merge([e],n):n}function Ee(e,t){for(var n=0,r=e.length;n<r;n++)_.set(e[n],"globalEval",!t||_.get(t[n],"globalEval"))}ke.tbody=ke.tfoot=ke.colgroup=ke.caption=ke.thead,ke.th=ke.td,le.option||(ke.optgroup=ke.option=[1,"<select multiple='multiple'>","</select>"]);var je=/<|&#?\w+;/;function Ae(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d<h;d++)if((o=e[d])||0===o)if("object"===x(o))ce.merge(p,o.nodeType?[o]:o);else if(je.test(o)){a=a||f.appendChild(t.createElement("div")),s=(Te.exec(o)||["",""])[1].toLowerCase(),u=ke[s]||ke._default,a.innerHTML=u[1]+ce.htmlPrefilter(o)+u[2],c=u[0];while(c--)a=a.lastChild;ce.merge(p,a.childNodes),(a=f.firstChild).textContent=""}else p.push(t.createTextNode(o));f.textContent="",d=0;while(o=p[d++])if(r&&-1<ce.inArray(o,r))i&&i.push(o);else if(l=K(o),a=Se(f.appendChild(o),"script"),l&&Ee(a),n){c=0;while(o=a[c++])Ce.test(o.type||"")&&n.push(o)}return f}var De=/^([^.]*)(?:\.(.+)|)/;function Ne(){return!0}function qe(){return!1}function Le(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Le(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=qe;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return ce().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=ce.guid++)),e.each(function(){ce.event.add(this,t,i,r,n)})}function He(e,r,t){t?(_.set(e,r,!1),ce.event.add(e,r,{namespace:!1,handler:function(e){var t,n=_.get(this,r);if(1&e.isTrigger&&this[r]){if(n)(ce.event.special[r]||{}).delegateType&&e.stopPropagation();else if(n=ae.call(arguments),_.set(this,r,n),this[r](),t=_.get(this,r),_.set(this,r,!1),n!==t)return e.stopImmediatePropagation(),e.preventDefault(),t}else n&&(_.set(this,r,ce.event.trigger(n[0],n.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=Ne)}})):void 0===_.get(e,r)&&ce.event.add(e,r,Ne)}ce.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=_.get(t);if($(t)){n.handler&&(n=(o=n).handler,i=o.selector),i&&ce.find.matchesSelector(J,i),n.guid||(n.guid=ce.guid++),(u=v.events)||(u=v.events=Object.create(null)),(a=v.handle)||(a=v.handle=function(e){return"undefined"!=typeof ce&&ce.event.triggered!==e.type?ce.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(D)||[""]).length;while(l--)d=g=(s=De.exec(e[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=ce.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=ce.event.special[d]||{},c=ce.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&ce.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),ce.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=_.hasData(e)&&_.get(e);if(v&&(u=v.events)){l=(t=(t||"").match(D)||[""]).length;while(l--)if(d=g=(s=De.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){f=ce.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||ce.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)ce.event.remove(e,d+t[l],n,r,!0);ce.isEmptyObject(u)&&_.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=new Array(arguments.length),u=ce.event.fix(e),l=(_.get(this,"events")||Object.create(null))[u.type]||[],c=ce.event.special[u.type]||{};for(s[0]=u,t=1;t<arguments.length;t++)s[t]=arguments[t];if(u.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,u)){a=ce.event.handlers.call(this,u,l),t=0;while((i=a[t++])&&!u.isPropagationStopped()){u.currentTarget=i.elem,n=0;while((o=i.handlers[n++])&&!u.isImmediatePropagationStopped())u.rnamespace&&!1!==o.namespace&&!u.rnamespace.test(o.namespace)||(u.handleObj=o,u.data=o.data,void 0!==(r=((ce.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,s))&&!1===(u.result=r)&&(u.preventDefault(),u.stopPropagation()))}return c.postDispatch&&c.postDispatch.call(this,u),u.result}},handlers:function(e,t){var n,r,i,o,a,s=[],u=t.delegateCount,l=e.target;if(u&&l.nodeType&&!("click"===e.type&&1<=e.button))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(o=[],a={},n=0;n<u;n++)void 0===a[i=(r=t[n]).selector+" "]&&(a[i]=r.needsContext?-1<ce(i,this).index(l):ce.find(i,this,null,[l]).length),a[i]&&o.push(r);o.length&&s.push({elem:l,handlers:o})}return l=this,u<t.length&&s.push({elem:l,handlers:t.slice(u)}),s},addProp:function(t,e){Object.defineProperty(ce.Event.prototype,t,{enumerable:!0,configurable:!0,get:v(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(e){return e[ce.expando]?e:new ce.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return we.test(t.type)&&t.click&&fe(t,"input")&&He(t,"click",!0),!1},trigger:function(e){var t=this||e;return we.test(t.type)&&t.click&&fe(t,"input")&&He(t,"click"),!0},_default:function(e){var t=e.target;return we.test(t.type)&&t.click&&fe(t,"input")&&_.get(t,"click")||fe(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},ce.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},ce.Event=function(e,t){if(!(this instanceof ce.Event))return new ce.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Ne:qe,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&ce.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[ce.expando]=!0},ce.Event.prototype={constructor:ce.Event,isDefaultPrevented:qe,isPropagationStopped:qe,isImmediatePropagationStopped:qe,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Ne,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Ne,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Ne,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},ce.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,code:!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:!0},ce.event.addProp),ce.each({focus:"focusin",blur:"focusout"},function(r,i){function o(e){if(C.documentMode){var t=_.get(this,"handle"),n=ce.event.fix(e);n.type="focusin"===e.type?"focus":"blur",n.isSimulated=!0,t(e),n.target===n.currentTarget&&t(n)}else ce.event.simulate(i,e.target,ce.event.fix(e))}ce.event.special[r]={setup:function(){var e;if(He(this,r,!0),!C.documentMode)return!1;(e=_.get(this,i))||this.addEventListener(i,o),_.set(this,i,(e||0)+1)},trigger:function(){return He(this,r),!0},teardown:function(){var e;if(!C.documentMode)return!1;(e=_.get(this,i)-1)?_.set(this,i,e):(this.removeEventListener(i,o),_.remove(this,i))},_default:function(e){return _.get(e.target,r)},delegateType:i},ce.event.special[i]={setup:function(){var e=this.ownerDocument||this.document||this,t=C.documentMode?this:e,n=_.get(t,i);n||(C.documentMode?this.addEventListener(i,o):e.addEventListener(r,o,!0)),_.set(t,i,(n||0)+1)},teardown:function(){var e=this.ownerDocument||this.document||this,t=C.documentMode?this:e,n=_.get(t,i)-1;n?_.set(t,i,n):(C.documentMode?this.removeEventListener(i,o):e.removeEventListener(r,o,!0),_.remove(t,i))}}}),ce.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,i){ce.event.special[e]={delegateType:i,bindType:i,handle:function(e){var t,n=e.relatedTarget,r=e.handleObj;return n&&(n===this||ce.contains(this,n))||(e.type=r.origType,t=r.handler.apply(this,arguments),e.type=i),t}}}),ce.fn.extend({on:function(e,t,n,r){return Le(this,e,t,n,r)},one:function(e,t,n,r){return Le(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,ce(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=qe),this.each(function(){ce.event.remove(this,e,n,t)})}});var Oe=/<script|<style|<link/i,Pe=/checked\s*(?:[^=]|=\s*.checked.)/i,Me=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Re(e,t){return fe(e,"table")&&fe(11!==t.nodeType?t:t.firstChild,"tr")&&ce(e).children("tbody")[0]||e}function Ie(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function We(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Fe(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(_.hasData(e)&&(s=_.get(e).events))for(i in _.remove(t,"handle events"),s)for(n=0,r=s[i].length;n<r;n++)ce.event.add(t,i,s[i][n]);z.hasData(e)&&(o=z.access(e),a=ce.extend({},o),z.set(t,a))}}function $e(n,r,i,o){r=g(r);var e,t,a,s,u,l,c=0,f=n.length,p=f-1,d=r[0],h=v(d);if(h||1<f&&"string"==typeof d&&!le.checkClone&&Pe.test(d))return n.each(function(e){var t=n.eq(e);h&&(r[0]=d.call(this,e,t.html())),$e(t,r,i,o)});if(f&&(t=(e=Ae(r,n[0].ownerDocument,!1,n,o)).firstChild,1===e.childNodes.length&&(e=t),t||o)){for(s=(a=ce.map(Se(e,"script"),Ie)).length;c<f;c++)u=e,c!==p&&(u=ce.clone(u,!0,!0),s&&ce.merge(a,Se(u,"script"))),i.call(n[c],u,c);if(s)for(l=a[a.length-1].ownerDocument,ce.map(a,We),c=0;c<s;c++)u=a[c],Ce.test(u.type||"")&&!_.access(u,"globalEval")&&ce.contains(l,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?ce._evalUrl&&!u.noModule&&ce._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")},l):m(u.textContent.replace(Me,""),u,l))}return n}function Be(e,t,n){for(var r,i=t?ce.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||ce.cleanData(Se(r)),r.parentNode&&(n&&K(r)&&Ee(Se(r,"script")),r.parentNode.removeChild(r));return e}ce.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,i,o,a,s,u,l,c=e.cloneNode(!0),f=K(e);if(!(le.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||ce.isXMLDoc(e)))for(a=Se(c),r=0,i=(o=Se(e)).length;r<i;r++)s=o[r],u=a[r],void 0,"input"===(l=u.nodeName.toLowerCase())&&we.test(s.type)?u.checked=s.checked:"input"!==l&&"textarea"!==l||(u.defaultValue=s.defaultValue);if(t)if(n)for(o=o||Se(e),a=a||Se(c),r=0,i=o.length;r<i;r++)Fe(o[r],a[r]);else Fe(e,c);return 0<(a=Se(c,"script")).length&&Ee(a,!f&&Se(e,"script")),c},cleanData:function(e){for(var t,n,r,i=ce.event.special,o=0;void 0!==(n=e[o]);o++)if($(n)){if(t=n[_.expando]){if(t.events)for(r in t.events)i[r]?ce.event.remove(n,r):ce.removeEvent(n,r,t.handle);n[_.expando]=void 0}n[z.expando]&&(n[z.expando]=void 0)}}}),ce.fn.extend({detach:function(e){return Be(this,e,!0)},remove:function(e){return Be(this,e)},text:function(e){return M(this,function(e){return void 0===e?ce.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return $e(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Re(this,e).appendChild(e)})},prepend:function(){return $e(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Re(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return $e(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return $e(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(ce.cleanData(Se(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return ce.clone(this,e,t)})},html:function(e){return M(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Oe.test(e)&&!ke[(Te.exec(e)||["",""])[1].toLowerCase()]){e=ce.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(ce.cleanData(Se(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var n=[];return $e(this,arguments,function(e){var t=this.parentNode;ce.inArray(this,n)<0&&(ce.cleanData(Se(this)),t&&t.replaceChild(e,this))},n)}}),ce.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,a){ce.fn[e]=function(e){for(var t,n=[],r=ce(e),i=r.length-1,o=0;o<=i;o++)t=o===i?this:this.clone(!0),ce(r[o])[a](t),s.apply(n,t.get());return this.pushStack(n)}});var _e=new RegExp("^("+G+")(?!px)[a-z%]+$","i"),ze=/^--/,Xe=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=ie),t.getComputedStyle(e)},Ue=function(e,t,n){var r,i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];for(i in r=n.call(e),t)e.style[i]=o[i];return r},Ve=new RegExp(Q.join("|"),"i");function Ge(e,t,n){var r,i,o,a,s=ze.test(t),u=e.style;return(n=n||Xe(e))&&(a=n.getPropertyValue(t)||n[t],s&&a&&(a=a.replace(ve,"$1")||void 0),""!==a||K(e)||(a=ce.style(e,t)),!le.pixelBoxStyles()&&_e.test(a)&&Ve.test(t)&&(r=u.width,i=u.minWidth,o=u.maxWidth,u.minWidth=u.maxWidth=u.width=a,a=n.width,u.width=r,u.minWidth=i,u.maxWidth=o)),void 0!==a?a+"":a}function Ye(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(l){u.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",l.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",J.appendChild(u).appendChild(l);var e=ie.getComputedStyle(l);n="1%"!==e.top,s=12===t(e.marginLeft),l.style.right="60%",o=36===t(e.right),r=36===t(e.width),l.style.position="absolute",i=12===t(l.offsetWidth/3),J.removeChild(u),l=null}}function t(e){return Math.round(parseFloat(e))}var n,r,i,o,a,s,u=C.createElement("div"),l=C.createElement("div");l.style&&(l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",le.clearCloneStyle="content-box"===l.style.backgroundClip,ce.extend(le,{boxSizingReliable:function(){return e(),r},pixelBoxStyles:function(){return e(),o},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),s},scrollboxSize:function(){return e(),i},reliableTrDimensions:function(){var e,t,n,r;return null==a&&(e=C.createElement("table"),t=C.createElement("tr"),n=C.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="box-sizing:content-box;border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",J.appendChild(e).appendChild(t).appendChild(n),r=ie.getComputedStyle(t),a=parseInt(r.height,10)+parseInt(r.borderTopWidth,10)+parseInt(r.borderBottomWidth,10)===t.offsetHeight,J.removeChild(e)),a}}))}();var Qe=["Webkit","Moz","ms"],Je=C.createElement("div").style,Ke={};function Ze(e){var t=ce.cssProps[e]||Ke[e];return t||(e in Je?e:Ke[e]=function(e){var t=e[0].toUpperCase()+e.slice(1),n=Qe.length;while(n--)if((e=Qe[n]+t)in Je)return e}(e)||e)}var et=/^(none|table(?!-c[ea]).+)/,tt={position:"absolute",visibility:"hidden",display:"block"},nt={letterSpacing:"0",fontWeight:"400"};function rt(e,t,n){var r=Y.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function it(e,t,n,r,i,o){var a="width"===t?1:0,s=0,u=0,l=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(l+=ce.css(e,n+Q[a],!0,i)),r?("content"===n&&(u-=ce.css(e,"padding"+Q[a],!0,i)),"margin"!==n&&(u-=ce.css(e,"border"+Q[a]+"Width",!0,i))):(u+=ce.css(e,"padding"+Q[a],!0,i),"padding"!==n?u+=ce.css(e,"border"+Q[a]+"Width",!0,i):s+=ce.css(e,"border"+Q[a]+"Width",!0,i));return!r&&0<=o&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-.5))||0),u+l}function ot(e,t,n){var r=Xe(e),i=(!le.boxSizingReliable()||n)&&"border-box"===ce.css(e,"boxSizing",!1,r),o=i,a=Ge(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(_e.test(a)){if(!n)return a;a="auto"}return(!le.boxSizingReliable()&&i||!le.reliableTrDimensions()&&fe(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===ce.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===ce.css(e,"boxSizing",!1,r),(o=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+it(e,t,n||(i?"border":"content"),o,r,a)+"px"}function at(e,t,n,r,i){return new at.prototype.init(e,t,n,r,i)}ce.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ge(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=F(t),u=ze.test(t),l=e.style;if(u||(t=Ze(s)),a=ce.cssHooks[t]||ce.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:l[t];"string"===(o=typeof n)&&(i=Y.exec(n))&&i[1]&&(n=te(e,t,i),o="number"),null!=n&&n==n&&("number"!==o||u||(n+=i&&i[3]||(ce.cssNumber[s]?"":"px")),le.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var i,o,a,s=F(t);return ze.test(t)||(t=Ze(s)),(a=ce.cssHooks[t]||ce.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=Ge(e,t,r)),"normal"===i&&t in nt&&(i=nt[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),ce.each(["height","width"],function(e,u){ce.cssHooks[u]={get:function(e,t,n){if(t)return!et.test(ce.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?ot(e,u,n):Ue(e,tt,function(){return ot(e,u,n)})},set:function(e,t,n){var r,i=Xe(e),o=!le.scrollboxSize()&&"absolute"===i.position,a=(o||n)&&"border-box"===ce.css(e,"boxSizing",!1,i),s=n?it(e,u,n,a,i):0;return a&&o&&(s-=Math.ceil(e["offset"+u[0].toUpperCase()+u.slice(1)]-parseFloat(i[u])-it(e,u,"border",!1,i)-.5)),s&&(r=Y.exec(t))&&"px"!==(r[3]||"px")&&(e.style[u]=t,t=ce.css(e,u)),rt(0,t,s)}}}),ce.cssHooks.marginLeft=Ye(le.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Ge(e,"marginLeft"))||e.getBoundingClientRect().left-Ue(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),ce.each({margin:"",padding:"",border:"Width"},function(i,o){ce.cssHooks[i+o]={expand:function(e){for(var t=0,n={},r="string"==typeof e?e.split(" "):[e];t<4;t++)n[i+Q[t]+o]=r[t]||r[t-2]||r[0];return n}},"margin"!==i&&(ce.cssHooks[i+o].set=rt)}),ce.fn.extend({css:function(e,t){return M(this,function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=Xe(e),i=t.length;a<i;a++)o[t[a]]=ce.css(e,t[a],!1,r);return o}return void 0!==n?ce.style(e,t,n):ce.css(e,t)},e,t,1<arguments.length)}}),((ce.Tween=at).prototype={constructor:at,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||ce.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(ce.cssNumber[n]?"":"px")},cur:function(){var e=at.propHooks[this.prop];return e&&e.get?e.get(this):at.propHooks._default.get(this)},run:function(e){var t,n=at.propHooks[this.prop];return this.options.duration?this.pos=t=ce.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):at.propHooks._default.set(this),this}}).init.prototype=at.prototype,(at.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=ce.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){ce.fx.step[e.prop]?ce.fx.step[e.prop](e):1!==e.elem.nodeType||!ce.cssHooks[e.prop]&&null==e.elem.style[Ze(e.prop)]?e.elem[e.prop]=e.now:ce.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=at.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},ce.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},ce.fx=at.prototype.init,ce.fx.step={};var st,ut,lt,ct,ft=/^(?:toggle|show|hide)$/,pt=/queueHooks$/;function dt(){ut&&(!1===C.hidden&&ie.requestAnimationFrame?ie.requestAnimationFrame(dt):ie.setTimeout(dt,ce.fx.interval),ce.fx.tick())}function ht(){return ie.setTimeout(function(){st=void 0}),st=Date.now()}function gt(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=Q[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function vt(e,t,n){for(var r,i=(yt.tweeners[t]||[]).concat(yt.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function yt(o,e,t){var n,a,r=0,i=yt.prefilters.length,s=ce.Deferred().always(function(){delete u.elem}),u=function(){if(a)return!1;for(var e=st||ht(),t=Math.max(0,l.startTime+l.duration-e),n=1-(t/l.duration||0),r=0,i=l.tweens.length;r<i;r++)l.tweens[r].run(n);return s.notifyWith(o,[l,n,t]),n<1&&i?t:(i||s.notifyWith(o,[l,1,0]),s.resolveWith(o,[l]),!1)},l=s.promise({elem:o,props:ce.extend({},e),opts:ce.extend(!0,{specialEasing:{},easing:ce.easing._default},t),originalProperties:e,originalOptions:t,startTime:st||ht(),duration:t.duration,tweens:[],createTween:function(e,t){var n=ce.Tween(o,l.opts,e,t,l.opts.specialEasing[e]||l.opts.easing);return l.tweens.push(n),n},stop:function(e){var t=0,n=e?l.tweens.length:0;if(a)return this;for(a=!0;t<n;t++)l.tweens[t].run(1);return e?(s.notifyWith(o,[l,1,0]),s.resolveWith(o,[l,e])):s.rejectWith(o,[l,e]),this}}),c=l.props;for(!function(e,t){var n,r,i,o,a;for(n in e)if(i=t[r=F(n)],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=ce.cssHooks[r])&&"expand"in a)for(n in o=a.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}(c,l.opts.specialEasing);r<i;r++)if(n=yt.prefilters[r].call(l,o,c,l.opts))return v(n.stop)&&(ce._queueHooks(l.elem,l.opts.queue).stop=n.stop.bind(n)),n;return ce.map(c,vt,l),v(l.opts.start)&&l.opts.start.call(o,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),ce.fx.timer(ce.extend(u,{elem:o,anim:l,queue:l.opts.queue})),l}ce.Animation=ce.extend(yt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return te(n.elem,e,Y.exec(t),n),n}]},tweener:function(e,t){v(e)?(t=e,e=["*"]):e=e.match(D);for(var n,r=0,i=e.length;r<i;r++)n=e[r],yt.tweeners[n]=yt.tweeners[n]||[],yt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,i,o,a,s,u,l,c,f="width"in t||"height"in t,p=this,d={},h=e.style,g=e.nodeType&&ee(e),v=_.get(e,"fxshow");for(r in n.queue||(null==(a=ce._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,p.always(function(){p.always(function(){a.unqueued--,ce.queue(e,"fx").length||a.empty.fire()})})),t)if(i=t[r],ft.test(i)){if(delete t[r],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!v||void 0===v[r])continue;g=!0}d[r]=v&&v[r]||ce.style(e,r)}if((u=!ce.isEmptyObject(t))||!ce.isEmptyObject(d))for(r in f&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(l=v&&v.display)&&(l=_.get(e,"display")),"none"===(c=ce.css(e,"display"))&&(l?c=l:(re([e],!0),l=e.style.display||l,c=ce.css(e,"display"),re([e]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===ce.css(e,"float")&&(u||(p.done(function(){h.display=l}),null==l&&(c=h.display,l="none"===c?"":c)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",p.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),u=!1,d)u||(v?"hidden"in v&&(g=v.hidden):v=_.access(e,"fxshow",{display:l}),o&&(v.hidden=!g),g&&re([e],!0),p.done(function(){for(r in g||re([e]),_.remove(e,"fxshow"),d)ce.style(e,r,d[r])})),u=vt(g?v[r]:0,r,p),r in v||(v[r]=u.start,g&&(u.end=u.start,u.start=0))}],prefilter:function(e,t){t?yt.prefilters.unshift(e):yt.prefilters.push(e)}}),ce.speed=function(e,t,n){var r=e&&"object"==typeof e?ce.extend({},e):{complete:n||!n&&t||v(e)&&e,duration:e,easing:n&&t||t&&!v(t)&&t};return ce.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in ce.fx.speeds?r.duration=ce.fx.speeds[r.duration]:r.duration=ce.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){v(r.old)&&r.old.call(this),r.queue&&ce.dequeue(this,r.queue)},r},ce.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ee).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(t,e,n,r){var i=ce.isEmptyObject(t),o=ce.speed(e,n,r),a=function(){var e=yt(this,ce.extend({},t),o);(i||_.get(this,"finish"))&&e.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(i,e,o){var a=function(e){var t=e.stop;delete e.stop,t(o)};return"string"!=typeof i&&(o=e,e=i,i=void 0),e&&this.queue(i||"fx",[]),this.each(function(){var e=!0,t=null!=i&&i+"queueHooks",n=ce.timers,r=_.get(this);if(t)r[t]&&r[t].stop&&a(r[t]);else for(t in r)r[t]&&r[t].stop&&pt.test(t)&&a(r[t]);for(t=n.length;t--;)n[t].elem!==this||null!=i&&n[t].queue!==i||(n[t].anim.stop(o),e=!1,n.splice(t,1));!e&&o||ce.dequeue(this,i)})},finish:function(a){return!1!==a&&(a=a||"fx"),this.each(function(){var e,t=_.get(this),n=t[a+"queue"],r=t[a+"queueHooks"],i=ce.timers,o=n?n.length:0;for(t.finish=!0,ce.queue(this,a,[]),r&&r.stop&&r.stop.call(this,!0),e=i.length;e--;)i[e].elem===this&&i[e].queue===a&&(i[e].anim.stop(!0),i.splice(e,1));for(e=0;e<o;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete t.finish})}}),ce.each(["toggle","show","hide"],function(e,r){var i=ce.fn[r];ce.fn[r]=function(e,t,n){return null==e||"boolean"==typeof e?i.apply(this,arguments):this.animate(gt(r,!0),e,t,n)}}),ce.each({slideDown:gt("show"),slideUp:gt("hide"),slideToggle:gt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,r){ce.fn[e]=function(e,t,n){return this.animate(r,e,t,n)}}),ce.timers=[],ce.fx.tick=function(){var e,t=0,n=ce.timers;for(st=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||ce.fx.stop(),st=void 0},ce.fx.timer=function(e){ce.timers.push(e),ce.fx.start()},ce.fx.interval=13,ce.fx.start=function(){ut||(ut=!0,dt())},ce.fx.stop=function(){ut=null},ce.fx.speeds={slow:600,fast:200,_default:400},ce.fn.delay=function(r,e){return r=ce.fx&&ce.fx.speeds[r]||r,e=e||"fx",this.queue(e,function(e,t){var n=ie.setTimeout(e,r);t.stop=function(){ie.clearTimeout(n)}})},lt=C.createElement("input"),ct=C.createElement("select").appendChild(C.createElement("option")),lt.type="checkbox",le.checkOn=""!==lt.value,le.optSelected=ct.selected,(lt=C.createElement("input")).value="t",lt.type="radio",le.radioValue="t"===lt.value;var mt,xt=ce.expr.attrHandle;ce.fn.extend({attr:function(e,t){return M(this,ce.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){ce.removeAttr(this,e)})}}),ce.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof e.getAttribute?ce.prop(e,t,n):(1===o&&ce.isXMLDoc(e)||(i=ce.attrHooks[t.toLowerCase()]||(ce.expr.match.bool.test(t)?mt:void 0)),void 0!==n?null===n?void ce.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=ce.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!le.radioValue&&"radio"===t&&fe(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(D);if(i&&1===e.nodeType)while(n=i[r++])e.removeAttribute(n)}}),mt={set:function(e,t,n){return!1===t?ce.removeAttr(e,n):e.setAttribute(n,n),n}},ce.each(ce.expr.match.bool.source.match(/\w+/g),function(e,t){var a=xt[t]||ce.find.attr;xt[t]=function(e,t,n){var r,i,o=t.toLowerCase();return n||(i=xt[o],xt[o]=r,r=null!=a(e,t,n)?o:null,xt[o]=i),r}});var bt=/^(?:input|select|textarea|button)$/i,wt=/^(?:a|area)$/i;function Tt(e){return(e.match(D)||[]).join(" ")}function Ct(e){return e.getAttribute&&e.getAttribute("class")||""}function kt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(D)||[]}ce.fn.extend({prop:function(e,t){return M(this,ce.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[ce.propFix[e]||e]})}}),ce.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&ce.isXMLDoc(e)||(t=ce.propFix[t]||t,i=ce.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=ce.find.attr(e,"tabindex");return t?parseInt(t,10):bt.test(e.nodeName)||wt.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),le.optSelected||(ce.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),ce.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){ce.propFix[this.toLowerCase()]=this}),ce.fn.extend({addClass:function(t){var e,n,r,i,o,a;return v(t)?this.each(function(e){ce(this).addClass(t.call(this,e,Ct(this)))}):(e=kt(t)).length?this.each(function(){if(r=Ct(this),n=1===this.nodeType&&" "+Tt(r)+" "){for(o=0;o<e.length;o++)i=e[o],n.indexOf(" "+i+" ")<0&&(n+=i+" ");a=Tt(n),r!==a&&this.setAttribute("class",a)}}):this},removeClass:function(t){var e,n,r,i,o,a;return v(t)?this.each(function(e){ce(this).removeClass(t.call(this,e,Ct(this)))}):arguments.length?(e=kt(t)).length?this.each(function(){if(r=Ct(this),n=1===this.nodeType&&" "+Tt(r)+" "){for(o=0;o<e.length;o++){i=e[o];while(-1<n.indexOf(" "+i+" "))n=n.replace(" "+i+" "," ")}a=Tt(n),r!==a&&this.setAttribute("class",a)}}):this:this.attr("class","")},toggleClass:function(t,n){var e,r,i,o,a=typeof t,s="string"===a||Array.isArray(t);return v(t)?this.each(function(e){ce(this).toggleClass(t.call(this,e,Ct(this),n),n)}):"boolean"==typeof n&&s?n?this.addClass(t):this.removeClass(t):(e=kt(t),this.each(function(){if(s)for(o=ce(this),i=0;i<e.length;i++)r=e[i],o.hasClass(r)?o.removeClass(r):o.addClass(r);else void 0!==t&&"boolean"!==a||((r=Ct(this))&&_.set(this,"__className__",r),this.setAttribute&&this.setAttribute("class",r||!1===t?"":_.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,r=0;t=" "+e+" ";while(n=this[r++])if(1===n.nodeType&&-1<(" "+Tt(Ct(n))+" ").indexOf(t))return!0;return!1}});var St=/\r/g;ce.fn.extend({val:function(n){var r,e,i,t=this[0];return arguments.length?(i=v(n),this.each(function(e){var t;1===this.nodeType&&(null==(t=i?n.call(this,e,ce(this).val()):n)?t="":"number"==typeof t?t+="":Array.isArray(t)&&(t=ce.map(t,function(e){return null==e?"":e+""})),(r=ce.valHooks[this.type]||ce.valHooks[this.nodeName.toLowerCase()])&&"set"in r&&void 0!==r.set(this,t,"value")||(this.value=t))})):t?(r=ce.valHooks[t.type]||ce.valHooks[t.nodeName.toLowerCase()])&&"get"in r&&void 0!==(e=r.get(t,"value"))?e:"string"==typeof(e=t.value)?e.replace(St,""):null==e?"":e:void 0}}),ce.extend({valHooks:{option:{get:function(e){var t=ce.find.attr(e,"value");return null!=t?t:Tt(ce.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?o+1:i.length;for(r=o<0?u:a?o:0;r<u;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!fe(n.parentNode,"optgroup"))){if(t=ce(n).val(),a)return t;s.push(t)}return s},set:function(e,t){var n,r,i=e.options,o=ce.makeArray(t),a=i.length;while(a--)((r=i[a]).selected=-1<ce.inArray(ce.valHooks.option.get(r),o))&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),ce.each(["radio","checkbox"],function(){ce.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<ce.inArray(ce(e).val(),t)}},le.checkOn||(ce.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Et=ie.location,jt={guid:Date.now()},At=/\?/;ce.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new ie.DOMParser).parseFromString(e,"text/xml")}catch(e){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||ce.error("Invalid XML: "+(n?ce.map(n.childNodes,function(e){return e.textContent}).join("\n"):e)),t};var Dt=/^(?:focusinfocus|focusoutblur)$/,Nt=function(e){e.stopPropagation()};ce.extend(ce.event,{trigger:function(e,t,n,r){var i,o,a,s,u,l,c,f,p=[n||C],d=ue.call(e,"type")?e.type:e,h=ue.call(e,"namespace")?e.namespace.split("."):[];if(o=f=a=n=n||C,3!==n.nodeType&&8!==n.nodeType&&!Dt.test(d+ce.event.triggered)&&(-1<d.indexOf(".")&&(d=(h=d.split(".")).shift(),h.sort()),u=d.indexOf(":")<0&&"on"+d,(e=e[ce.expando]?e:new ce.Event(d,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=h.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:ce.makeArray(t,[e]),c=ce.event.special[d]||{},r||!c.trigger||!1!==c.trigger.apply(n,t))){if(!r&&!c.noBubble&&!y(n)){for(s=c.delegateType||d,Dt.test(s+d)||(o=o.parentNode);o;o=o.parentNode)p.push(o),a=o;a===(n.ownerDocument||C)&&p.push(a.defaultView||a.parentWindow||ie)}i=0;while((o=p[i++])&&!e.isPropagationStopped())f=o,e.type=1<i?s:c.bindType||d,(l=(_.get(o,"events")||Object.create(null))[e.type]&&_.get(o,"handle"))&&l.apply(o,t),(l=u&&o[u])&&l.apply&&$(o)&&(e.result=l.apply(o,t),!1===e.result&&e.preventDefault());return e.type=d,r||e.isDefaultPrevented()||c._default&&!1!==c._default.apply(p.pop(),t)||!$(n)||u&&v(n[d])&&!y(n)&&((a=n[u])&&(n[u]=null),ce.event.triggered=d,e.isPropagationStopped()&&f.addEventListener(d,Nt),n[d](),e.isPropagationStopped()&&f.removeEventListener(d,Nt),ce.event.triggered=void 0,a&&(n[u]=a)),e.result}},simulate:function(e,t,n){var r=ce.extend(new ce.Event,n,{type:e,isSimulated:!0});ce.event.trigger(r,null,t)}}),ce.fn.extend({trigger:function(e,t){return this.each(function(){ce.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return ce.event.trigger(e,t,n,!0)}});var qt=/\[\]$/,Lt=/\r?\n/g,Ht=/^(?:submit|button|image|reset|file)$/i,Ot=/^(?:input|select|textarea|keygen)/i;function Pt(n,e,r,i){var t;if(Array.isArray(e))ce.each(e,function(e,t){r||qt.test(n)?i(n,t):Pt(n+"["+("object"==typeof t&&null!=t?e:"")+"]",t,r,i)});else if(r||"object"!==x(e))i(n,e);else for(t in e)Pt(n+"["+t+"]",e[t],r,i)}ce.param=function(e,t){var n,r=[],i=function(e,t){var n=v(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!ce.isPlainObject(e))ce.each(e,function(){i(this.name,this.value)});else for(n in e)Pt(n,e[n],t,i);return r.join("&")},ce.fn.extend({serialize:function(){return ce.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=ce.prop(this,"elements");return e?ce.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!ce(this).is(":disabled")&&Ot.test(this.nodeName)&&!Ht.test(e)&&(this.checked||!we.test(e))}).map(function(e,t){var n=ce(this).val();return null==n?null:Array.isArray(n)?ce.map(n,function(e){return{name:t.name,value:e.replace(Lt,"\r\n")}}):{name:t.name,value:n.replace(Lt,"\r\n")}}).get()}});var Mt=/%20/g,Rt=/#.*$/,It=/([?&])_=[^&]*/,Wt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ft=/^(?:GET|HEAD)$/,$t=/^\/\//,Bt={},_t={},zt="*/".concat("*"),Xt=C.createElement("a");function Ut(o){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,r=0,i=e.toLowerCase().match(D)||[];if(v(t))while(n=i[r++])"+"===n[0]?(n=n.slice(1)||"*",(o[n]=o[n]||[]).unshift(t)):(o[n]=o[n]||[]).push(t)}}function Vt(t,i,o,a){var s={},u=t===_t;function l(e){var r;return s[e]=!0,ce.each(t[e]||[],function(e,t){var n=t(i,o,a);return"string"!=typeof n||u||s[n]?u?!(r=n):void 0:(i.dataTypes.unshift(n),l(n),!1)}),r}return l(i.dataTypes[0])||!s["*"]&&l("*")}function Gt(e,t){var n,r,i=ce.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&ce.extend(!0,e,r),e}Xt.href=Et.href,ce.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Et.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Et.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":zt,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":ce.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Gt(Gt(e,ce.ajaxSettings),t):Gt(ce.ajaxSettings,e)},ajaxPrefilter:Ut(Bt),ajaxTransport:Ut(_t),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var c,f,p,n,d,r,h,g,i,o,v=ce.ajaxSetup({},t),y=v.context||v,m=v.context&&(y.nodeType||y.jquery)?ce(y):ce.event,x=ce.Deferred(),b=ce.Callbacks("once memory"),w=v.statusCode||{},a={},s={},u="canceled",T={readyState:0,getResponseHeader:function(e){var t;if(h){if(!n){n={};while(t=Wt.exec(p))n[t[1].toLowerCase()+" "]=(n[t[1].toLowerCase()+" "]||[]).concat(t[2])}t=n[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return h?p:null},setRequestHeader:function(e,t){return null==h&&(e=s[e.toLowerCase()]=s[e.toLowerCase()]||e,a[e]=t),this},overrideMimeType:function(e){return null==h&&(v.mimeType=e),this},statusCode:function(e){var t;if(e)if(h)T.always(e[T.status]);else for(t in e)w[t]=[w[t],e[t]];return this},abort:function(e){var t=e||u;return c&&c.abort(t),l(0,t),this}};if(x.promise(T),v.url=((e||v.url||Et.href)+"").replace($t,Et.protocol+"//"),v.type=t.method||t.type||v.method||v.type,v.dataTypes=(v.dataType||"*").toLowerCase().match(D)||[""],null==v.crossDomain){r=C.createElement("a");try{r.href=v.url,r.href=r.href,v.crossDomain=Xt.protocol+"//"+Xt.host!=r.protocol+"//"+r.host}catch(e){v.crossDomain=!0}}if(v.data&&v.processData&&"string"!=typeof v.data&&(v.data=ce.param(v.data,v.traditional)),Vt(Bt,v,t,T),h)return T;for(i in(g=ce.event&&v.global)&&0==ce.active++&&ce.event.trigger("ajaxStart"),v.type=v.type.toUpperCase(),v.hasContent=!Ft.test(v.type),f=v.url.replace(Rt,""),v.hasContent?v.data&&v.processData&&0===(v.contentType||"").indexOf("application/x-www-form-urlencoded")&&(v.data=v.data.replace(Mt,"+")):(o=v.url.slice(f.length),v.data&&(v.processData||"string"==typeof v.data)&&(f+=(At.test(f)?"&":"?")+v.data,delete v.data),!1===v.cache&&(f=f.replace(It,"$1"),o=(At.test(f)?"&":"?")+"_="+jt.guid+++o),v.url=f+o),v.ifModified&&(ce.lastModified[f]&&T.setRequestHeader("If-Modified-Since",ce.lastModified[f]),ce.etag[f]&&T.setRequestHeader("If-None-Match",ce.etag[f])),(v.data&&v.hasContent&&!1!==v.contentType||t.contentType)&&T.setRequestHeader("Content-Type",v.contentType),T.setRequestHeader("Accept",v.dataTypes[0]&&v.accepts[v.dataTypes[0]]?v.accepts[v.dataTypes[0]]+("*"!==v.dataTypes[0]?", "+zt+"; q=0.01":""):v.accepts["*"]),v.headers)T.setRequestHeader(i,v.headers[i]);if(v.beforeSend&&(!1===v.beforeSend.call(y,T,v)||h))return T.abort();if(u="abort",b.add(v.complete),T.done(v.success),T.fail(v.error),c=Vt(_t,v,t,T)){if(T.readyState=1,g&&m.trigger("ajaxSend",[T,v]),h)return T;v.async&&0<v.timeout&&(d=ie.setTimeout(function(){T.abort("timeout")},v.timeout));try{h=!1,c.send(a,l)}catch(e){if(h)throw e;l(-1,e)}}else l(-1,"No Transport");function l(e,t,n,r){var i,o,a,s,u,l=t;h||(h=!0,d&&ie.clearTimeout(d),c=void 0,p=r||"",T.readyState=0<e?4:0,i=200<=e&&e<300||304===e,n&&(s=function(e,t,n){var r,i,o,a,s=e.contents,u=e.dataTypes;while("*"===u[0])u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}(v,T,n)),!i&&-1<ce.inArray("script",v.dataTypes)&&ce.inArray("json",v.dataTypes)<0&&(v.converters["text script"]=function(){}),s=function(e,t,n,r){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];o=c.shift();while(o)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=l[u+" "+o]||l["* "+o]))for(i in l)if((s=i.split(" "))[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}(v,s,T,i),i?(v.ifModified&&((u=T.getResponseHeader("Last-Modified"))&&(ce.lastModified[f]=u),(u=T.getResponseHeader("etag"))&&(ce.etag[f]=u)),204===e||"HEAD"===v.type?l="nocontent":304===e?l="notmodified":(l=s.state,o=s.data,i=!(a=s.error))):(a=l,!e&&l||(l="error",e<0&&(e=0))),T.status=e,T.statusText=(t||l)+"",i?x.resolveWith(y,[o,l,T]):x.rejectWith(y,[T,l,a]),T.statusCode(w),w=void 0,g&&m.trigger(i?"ajaxSuccess":"ajaxError",[T,v,i?o:a]),b.fireWith(y,[T,l]),g&&(m.trigger("ajaxComplete",[T,v]),--ce.active||ce.event.trigger("ajaxStop")))}return T},getJSON:function(e,t,n){return ce.get(e,t,n,"json")},getScript:function(e,t){return ce.get(e,void 0,t,"script")}}),ce.each(["get","post"],function(e,i){ce[i]=function(e,t,n,r){return v(t)&&(r=r||n,n=t,t=void 0),ce.ajax(ce.extend({url:e,type:i,dataType:r,data:t,success:n},ce.isPlainObject(e)&&e))}}),ce.ajaxPrefilter(function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),ce._evalUrl=function(e,t,n){return ce.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){ce.globalEval(e,t,n)}})},ce.fn.extend({wrapAll:function(e){var t;return this[0]&&(v(e)&&(e=e.call(this[0])),t=ce(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstElementChild)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(n){return v(n)?this.each(function(e){ce(this).wrapInner(n.call(this,e))}):this.each(function(){var e=ce(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=v(t);return this.each(function(e){ce(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(e){return this.parent(e).not("body").each(function(){ce(this).replaceWith(this.childNodes)}),this}}),ce.expr.pseudos.hidden=function(e){return!ce.expr.pseudos.visible(e)},ce.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},ce.ajaxSettings.xhr=function(){try{return new ie.XMLHttpRequest}catch(e){}};var Yt={0:200,1223:204},Qt=ce.ajaxSettings.xhr();le.cors=!!Qt&&"withCredentials"in Qt,le.ajax=Qt=!!Qt,ce.ajaxTransport(function(i){var o,a;if(le.cors||Qt&&!i.crossDomain)return{send:function(e,t){var n,r=i.xhr();if(r.open(i.type,i.url,i.async,i.username,i.password),i.xhrFields)for(n in i.xhrFields)r[n]=i.xhrFields[n];for(n in i.mimeType&&r.overrideMimeType&&r.overrideMimeType(i.mimeType),i.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)r.setRequestHeader(n,e[n]);o=function(e){return function(){o&&(o=a=r.onload=r.onerror=r.onabort=r.ontimeout=r.onreadystatechange=null,"abort"===e?r.abort():"error"===e?"number"!=typeof r.status?t(0,"error"):t(r.status,r.statusText):t(Yt[r.status]||r.status,r.statusText,"text"!==(r.responseType||"text")||"string"!=typeof r.responseText?{binary:r.response}:{text:r.responseText},r.getAllResponseHeaders()))}},r.onload=o(),a=r.onerror=r.ontimeout=o("error"),void 0!==r.onabort?r.onabort=a:r.onreadystatechange=function(){4===r.readyState&&ie.setTimeout(function(){o&&a()})},o=o("abort");try{r.send(i.hasContent&&i.data||null)}catch(e){if(o)throw e}},abort:function(){o&&o()}}}),ce.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),ce.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return ce.globalEval(e),e}}}),ce.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),ce.ajaxTransport("script",function(n){var r,i;if(n.crossDomain||n.scriptAttrs)return{send:function(e,t){r=ce("<script>").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),C.head.appendChild(r[0])},abort:function(){i&&i()}}});var Jt,Kt=[],Zt=/(=)\?(?=&|$)|\?\?/;ce.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Kt.pop()||ce.expando+"_"+jt.guid++;return this[e]=!0,e}}),ce.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Zt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Zt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=v(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Zt,"$1"+r):!1!==e.jsonp&&(e.url+=(At.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||ce.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=ie[r],ie[r]=function(){o=arguments},n.always(function(){void 0===i?ce(ie).removeProp(r):ie[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Kt.push(r)),o&&v(i)&&i(o[0]),o=i=void 0}),"script"}),le.createHTMLDocument=((Jt=C.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Jt.childNodes.length),ce.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(le.createHTMLDocument?((r=(t=C.implementation.createHTMLDocument("")).createElement("base")).href=C.location.href,t.head.appendChild(r)):t=C),o=!n&&[],(i=w.exec(e))?[t.createElement(i[1])]:(i=Ae([e],t,o),o&&o.length&&ce(o).remove(),ce.merge([],i.childNodes)));var r,i,o},ce.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1<s&&(r=Tt(e.slice(s)),e=e.slice(0,s)),v(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),0<a.length&&ce.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(r?ce("<div>").append(ce.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},ce.expr.pseudos.animated=function(t){return ce.grep(ce.timers,function(e){return t===e.elem}).length},ce.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=ce.css(e,"position"),c=ce(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=ce.css(e,"top"),u=ce.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),v(t)&&(t=t.call(e,n,ce.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},ce.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){ce.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===ce.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===ce.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=ce(e).offset()).top+=ce.css(e,"borderTopWidth",!0),i.left+=ce.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-ce.css(r,"marginTop",!0),left:t.left-i.left-ce.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===ce.css(e,"position"))e=e.offsetParent;return e||J})}}),ce.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;ce.fn[t]=function(e){return M(this,function(e,t,n){var r;if(y(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),ce.each(["top","left"],function(e,n){ce.cssHooks[n]=Ye(le.pixelPosition,function(e,t){if(t)return t=Ge(e,n),_e.test(t)?ce(e).position()[n]+"px":t})}),ce.each({Height:"height",Width:"width"},function(a,s){ce.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){ce.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return M(this,function(e,t,n){var r;return y(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?ce.css(e,t,i):ce.style(e,t,n,i)},s,n?e:void 0,n)}})}),ce.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){ce.fn[t]=function(e){return this.on(t,e)}}),ce.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),ce.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(e,n){ce.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}});var en=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;ce.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),v(e))return r=ae.call(arguments,2),(i=function(){return e.apply(t||this,r.concat(ae.call(arguments)))}).guid=e.guid=e.guid||ce.guid++,i},ce.holdReady=function(e){e?ce.readyWait++:ce.ready(!0)},ce.isArray=Array.isArray,ce.parseJSON=JSON.parse,ce.nodeName=fe,ce.isFunction=v,ce.isWindow=y,ce.camelCase=F,ce.type=x,ce.now=Date.now,ce.isNumeric=function(e){var t=ce.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},ce.trim=function(e){return null==e?"":(e+"").replace(en,"$1")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return ce});var tn=ie.jQuery,nn=ie.$;return ce.noConflict=function(e){return ie.$===ce&&(ie.$=nn),e&&ie.jQuery===ce&&(ie.jQuery=tn),ce},"undefined"==typeof e&&(ie.jQuery=ie.$=ce),ce});
</script>
<script>
@@ -846,313 +844,315 @@
<script>
// Script section to load models into a JS Var
var defs = {}
- defs["authorization_result"] = {
- "required" : [ "result" ],
- "type" : "object",
- "properties" : {
- "result" : {
- "type" : "boolean",
- "description" : "If true, the access is granted"
- }
- },
- "description" : "Result of authorization",
- "example" : {
- "result" : true
- }
+ defs["AuthorizationResult"] = {
+ "required" : [ "result" ],
+ "type" : "object",
+ "properties" : {
+ "result" : {
+ "type" : "boolean",
+ "description" : "If true, the access is granted"
+ }
+ },
+ "description" : "Result of authorization",
+ "example" : {
+ "result" : true
+ }
};
- defs["error_information"] = {
- "type" : "object",
- "properties" : {
- "detail" : {
- "type" : "string",
- "description" : " A human-readable explanation specific to this occurrence of the problem.",
- "example" : "Policy type not found"
- },
- "title" : {
- "type" : "string",
- "description" : "A specific error name",
- "example" : "Not Found"
- },
- "status" : {
- "type" : "integer",
- "description" : "The HTTP status code generated by the origin server for this occurrence of the problem. ",
- "format" : "int32",
- "example" : 404
- }
- },
- "description" : "Problem as defined in https://tools.ietf.org/html/rfc7807"
+ defs["ErrorInformation"] = {
+ "type" : "object",
+ "properties" : {
+ "detail" : {
+ "type" : "string",
+ "description" : " A human-readable explanation specific to this occurrence of the problem.",
+ "example" : "Policy type not found"
+ },
+ "title" : {
+ "type" : "string",
+ "description" : "A specific error name",
+ "example" : "Not Found"
+ },
+ "status" : {
+ "type" : "integer",
+ "description" : "The HTTP status code generated by the origin server for this occurrence of the problem. ",
+ "format" : "int32",
+ "example" : 404
+ }
+ },
+ "description" : "Problem as defined in https://tools.ietf.org/html/rfc7807"
};
- defs["input"] = {
- "required" : [ "access_type", "auth_token", "policy_type_id" ],
- "type" : "object",
- "properties" : {
- "access_type" : {
- "type" : "string",
- "description" : "Access type",
- "enum" : [ "READ", "WRITE", "DELETE" ]
- },
- "auth_token" : {
- "type" : "string",
- "description" : "Authorization token"
- },
- "policy_type_id" : {
- "type" : "string",
- "description" : "Policy type identifier"
- }
- },
- "description" : "input"
+ defs["input"] = {
+ "required" : [ "accessType", "authToken", "policyTypeId" ],
+ "type" : "object",
+ "properties" : {
+ "accessType" : {
+ "type" : "string",
+ "description" : "Access type",
+ "enum" : [ "READ", "WRITE", "DELETE" ]
+ },
+ "authToken" : {
+ "type" : "string",
+ "description" : "Authorization token"
+ },
+ "policyTypeId" : {
+ "type" : "string",
+ "description" : "Policy type identifier"
+ }
+ },
+ "description" : "input"
};
- defs["Link"] = {
- "type" : "object",
- "properties" : {
- "templated" : {
- "type" : "boolean"
- },
- "href" : {
- "type" : "string"
- }
- }
+ defs["Link"] = {
+ "type" : "object",
+ "properties" : {
+ "templated" : {
+ "type" : "boolean"
+ },
+ "href" : {
+ "type" : "string"
+ }
+ }
};
- defs["policy_authorization"] = {
- "required" : [ "input" ],
- "type" : "object",
- "properties" : {
- "input" : {
- "$ref" : "#/components/schemas/input"
- }
- },
- "description" : "Authorization request for A1 policy requests"
+ defs["PolicyAuthorization"] = {
+ "required" : [ "input" ],
+ "type" : "object",
+ "properties" : {
+ "input" : {
+ "$ref" : "#/components/schemas/input"
+ }
+ },
+ "description" : "Authorization request for A1 policy requests"
};
- defs["policy_id_list"] = {
- "type" : "object",
- "properties" : {
- "policy_ids" : {
- "type" : "array",
- "description" : "Policy identities",
- "items" : {
- "type" : "string",
- "description" : "Policy identities"
- }
- }
- },
- "description" : "A list of policy identities",
- "example" : {
- "policy_ids" : [ "policy_ids", "policy_ids" ]
- }
+ defs["PolicyInformation"] = {
+ "required" : [ "nearRtRicId", "policyId" ],
+ "type" : "object",
+ "properties" : {
+ "policyId" : {
+ "type" : "string",
+ "description" : "Identity of the policy"
+ },
+ "nearRtRicId" : {
+ "$ref" : "#/components/schemas/NearRtRicId"
+ }
+ },
+ "description" : "Near-RT RIC identifiers where A1 policies exist and for each Near-RT RIC identifier the policy identifiers of those policies that exist in that Near-RT RIC"
};
- defs["policy_info"] = {
- "required" : [ "policy_data", "policy_id", "policytype_id", "ric_id" ],
- "type" : "object",
- "properties" : {
- "ric_id" : {
- "type" : "string",
- "description" : "identity of the target Near-RT RIC"
- },
- "policy_id" : {
- "type" : "string",
- "description" : "identity of the policy"
- },
- "transient" : {
- "type" : "boolean",
- "description" : "if true, the policy is deleted at RIC restart. If false, its value is maintained by this service until explicitly deleted. Default false.",
- "nullable" : false,
- "example" : false,
- "default" : false
- },
- "service_id" : {
- "type" : "string",
- "description" : "the identity of the service owning the policy. This can be used to group the policies (it is possible to get all policies associated to a service). Note that the service does not need to be registered.",
- "default" : ""
- },
- "policy_data" : {
- "type" : "object",
- "description" : "the configuration of the policy"
- },
- "status_notification_uri" : {
- "type" : "string",
- "description" : "Callback URI for policy status updates"
- },
- "policytype_id" : {
- "type" : "string",
- "description" : "identity of the policy type"
- }
- },
- "description" : "Information for one A1-P Policy"
+ defs["PolicyObjectInformation"] = {
+ "required" : [ "nearRtRicId", "policyObject", "policyTypeId" ],
+ "type" : "object",
+ "properties" : {
+ "nearRtRicId" : {
+ "type" : "string",
+ "description" : "identity of the target Near-RT RIC",
+ "example" : "Near-RT-Ric-ID"
+ },
+ "transient" : {
+ "type" : "boolean",
+ "description" : "if true, the policy is deleted at RIC restart. If false, its value is maintained by this service until explicitly deleted. Default false.",
+ "nullable" : false,
+ "default" : false
+ },
+ "policyId" : {
+ "type" : "string",
+ "description" : "identity of the Policy",
+ "example" : "POLICY-ID"
+ },
+ "serviceId" : {
+ "type" : "string",
+ "description" : "the identity of the service owning the policy. This can be used to group the policies (it is possible to get all policies associated to a service). Note that the service does not need to be registered.",
+ "example" : "rApp ID"
+ },
+ "policyObject" : {
+ "$ref" : "#/components/schemas/PolicyObject"
+ },
+ "policyTypeId" : {
+ "type" : "string",
+ "description" : "identity of the policy type",
+ "example" : "ORAN_QOS_1.0.0(typeName_SemVersion)"
+ }
+ },
+ "description" : "Information related to the creation of the policy"
};
- defs["policy_info_list"] = {
- "type" : "object",
- "properties" : {
- "policies" : {
- "type" : "array",
- "description" : "List of policy information",
- "items" : {
- "$ref" : "#/components/schemas/policy_info"
- }
- }
- },
- "description" : "List of policy information"
+ defs["PolicyStatusInfo"] = {
+ "type" : "object",
+ "properties" : {
+ "lastModified" : {
+ "type" : "string",
+ "description" : "timestamp, last modification time"
+ },
+ "status" : {
+ "type" : "object",
+ "description" : "the Policy status"
+ }
+ },
+ "description" : "Status for one A1-P Policy"
};
- defs["policy_status_info"] = {
- "type" : "object",
- "properties" : {
- "last_modified" : {
- "type" : "string",
- "description" : "timestamp, last modification time"
- },
- "status" : {
- "type" : "object",
- "description" : "the Policy status"
- }
- },
- "description" : "Status for one A1-P Policy"
+ defs["PolicyTypeInformation"] = {
+ "required" : [ "nearRtRicId", "policyTypeId" ],
+ "type" : "object",
+ "properties" : {
+ "policyTypeId" : {
+ "type" : "string",
+ "description" : "Identity of the policy type"
+ },
+ "nearRtRicId" : {
+ "$ref" : "#/components/schemas/NearRtRicId"
+ }
+ },
+ "description" : "Available policy types and for each policy type identifier the Near-RT RIC identifiers of those Near-RT RICs that support the related A1 policy type"
};
- defs["policy_type_definition"] = {
- "type" : "object",
- "properties" : {
- "policy_schema" : {
- "type" : "object",
- "description" : "Policy type json schema. The schema is a json object following http://json-schema.org/draft-07/schema"
- }
- },
- "description" : "Contains policy type schema definition"
+ defs["ProblemDetails"] = {
+ "type" : "object",
+ "properties" : {
+ "type" : {
+ "type" : "string",
+ "description" : "a URI reference according to IETF RFC 3986 that identifies the problem type"
+ },
+ "title" : {
+ "type" : "string",
+ "description" : "human-readable summary of the problem type"
+ },
+ "status" : {
+ "type" : "number",
+ "description" : "the HTTP status code"
+ },
+ "detail" : {
+ "type" : "string",
+ "description" : "human-readable explanation "
+ },
+ "instance" : {
+ "type" : "string",
+ "description" : "URI reference that identifies the specific occurrence of the problem"
+ }
+ },
+ "description" : "A problem detail to carry details in an HTTP response according to RFC 7807"
};
- defs["policy_type_id_list"] = {
- "type" : "object",
- "properties" : {
- "policytype_ids" : {
- "type" : "array",
- "description" : "Policy type identities",
- "items" : {
- "type" : "string",
- "description" : "Policy type identities"
- }
- }
- },
- "description" : "Information about policy types"
+ defs["RicInfo"] = {
+ "type" : "object",
+ "properties" : {
+ "ricId" : {
+ "type" : "string",
+ "description" : "identity of the Near-RT RIC"
+ },
+ "managedElementIds" : {
+ "type" : "array",
+ "description" : "O1 identities for managed entities",
+ "items" : {
+ "type" : "string",
+ "description" : "O1 identities for managed entities"
+ }
+ },
+ "state" : {
+ "type" : "string",
+ "description" : "Represents the states for a Near-RT RIC",
+ "enum" : [ "UNAVAILABLE", "AVAILABLE", "SYNCHRONIZING", "CONSISTENCY_CHECK" ]
+ },
+ "policyTypeIds" : {
+ "type" : "array",
+ "description" : "supported policy types",
+ "items" : {
+ "type" : "string",
+ "description" : "supported policy types"
+ }
+ }
+ },
+ "description" : "Information for a Near-RT RIC"
};
- defs["ric_info"] = {
- "type" : "object",
- "properties" : {
- "ric_id" : {
- "type" : "string",
- "description" : "identity of the Near-RT RIC"
- },
- "managed_element_ids" : {
- "type" : "array",
- "description" : "O1 identities for managed entities",
- "items" : {
- "type" : "string",
- "description" : "O1 identities for managed entities"
- }
- },
- "state" : {
- "type" : "string",
- "description" : "Represents the states for a Near-RT RIC",
- "enum" : [ "UNAVAILABLE", "AVAILABLE", "SYNCHRONIZING", "CONSISTENCY_CHECK" ]
- },
- "policytype_ids" : {
- "type" : "array",
- "description" : "supported policy types",
- "items" : {
- "type" : "string",
- "description" : "supported policy types"
- }
- }
- },
- "description" : "Information for a Near-RT RIC"
+ defs["RicInfoList"] = {
+ "type" : "object",
+ "properties" : {
+ "rics" : {
+ "type" : "array",
+ "description" : "List of Near-RT RIC information",
+ "items" : {
+ "$ref" : "#/components/schemas/RicInfo"
+ }
+ }
+ },
+ "description" : "List of Near-RT RIC information"
};
- defs["ric_info_list"] = {
- "type" : "object",
- "properties" : {
- "rics" : {
- "type" : "array",
- "description" : "List of Near-RT RIC information",
- "items" : {
- "$ref" : "#/components/schemas/ric_info"
- }
- }
- },
- "description" : "List of Near-RT RIC information"
+ defs["ServiceCallbackInfo"] = {
+ "required" : [ "eventType", "ricId" ],
+ "type" : "object",
+ "properties" : {
+ "ricId" : {
+ "type" : "string",
+ "description" : "identity of a Near-RT RIC"
+ },
+ "eventType" : {
+ "type" : "string",
+ "description" : "values:\nAVAILABLE: the Near-RT RIC has become available for A1 Policy management",
+ "enum" : [ "AVAILABLE" ]
+ }
+ },
+ "description" : "Information transferred as in Service callbacks (callback_url)"
};
- defs["service_callback_info_v2"] = {
- "required" : [ "event_type", "ric_id" ],
- "type" : "object",
- "properties" : {
- "ric_id" : {
- "type" : "string",
- "description" : "identity of a Near-RT RIC"
- },
- "event_type" : {
- "type" : "string",
- "description" : "values:\nAVAILABLE: the Near-RT RIC has become available for A1 Policy management",
- "enum" : [ "AVAILABLE" ]
- }
- },
- "description" : "Information transferred as in Service callbacks (callback_url)"
+ defs["ServiceRegistrationInfo"] = {
+ "required" : [ "serviceId" ],
+ "type" : "object",
+ "properties" : {
+ "callbackUrl" : {
+ "type" : "string",
+ "description" : "callback for notifying of Near-RT RIC state changes"
+ },
+ "serviceId" : {
+ "type" : "string",
+ "description" : "identity of the service"
+ },
+ "keepAliveIntervalSeconds" : {
+ "type" : "integer",
+ "description" : "keep alive interval for the service. This is used to enable optional heartbeat supervision of the service. If set (> 0) the registered service should regularly invoke a 'keepalive' REST call. When a service fails to invoke this 'keepalive' call within the configured time, the service is considered unavailable. An unavailable service will be automatically deregistered and its policies will be deleted. Value 0 means timeout supervision is disabled.",
+ "format" : "int64"
+ }
+ },
+ "description" : "Information for one service"
};
- defs["service_registration_info"] = {
- "required" : [ "service_id" ],
- "type" : "object",
- "properties" : {
- "callback_url" : {
- "type" : "string",
- "description" : "callback for notifying of Near-RT RIC state changes"
- },
- "service_id" : {
- "type" : "string",
- "description" : "identity of the service"
- },
- "keep_alive_interval_seconds" : {
- "type" : "integer",
- "description" : "keep alive interval for the service. This is used to enable optional heartbeat supervision of the service. If set (> 0) the registered service should regularly invoke a 'keepalive' REST call. When a service fails to invoke this 'keepalive' call within the configured time, the service is considered unavailable. An unavailable service will be automatically deregistered and its policies will be deleted. Value 0 means timeout supervision is disabled.",
- "format" : "int64"
- }
- },
- "description" : "Information for one service"
+ defs["ServiceStatus"] = {
+ "type" : "object",
+ "properties" : {
+ "callbackUrl" : {
+ "type" : "string",
+ "description" : "callback for notifying of RIC synchronization"
+ },
+ "serviceId" : {
+ "type" : "string",
+ "description" : "identity of the service"
+ },
+ "keepAliveIntervalSeconds" : {
+ "type" : "integer",
+ "description" : "policy keep alive timeout",
+ "format" : "int64"
+ },
+ "timeSinceLastActivitySeconds" : {
+ "type" : "integer",
+ "description" : "time since last invocation by the service",
+ "format" : "int64"
+ }
+ }
};
- defs["service_status"] = {
- "type" : "object",
- "properties" : {
- "callback_url" : {
- "type" : "string",
- "description" : "callback for notifying of RIC synchronization"
- },
- "service_id" : {
- "type" : "string",
- "description" : "identity of the service"
- },
- "keep_alive_interval_seconds" : {
- "type" : "integer",
- "description" : "policy keep alive timeout",
- "format" : "int64"
- },
- "time_since_last_activity_seconds" : {
- "type" : "integer",
- "description" : "time since last invocation by the service",
- "format" : "int64"
- }
- }
+ defs["ServiceStatusList"] = {
+ "type" : "object",
+ "properties" : {
+ "serviceList" : {
+ "type" : "array",
+ "description" : "List of service information",
+ "items" : {
+ "$ref" : "#/components/schemas/ServiceStatus"
+ }
+ }
+ }
};
- defs["service_status_list"] = {
- "type" : "object",
- "properties" : {
- "service_list" : {
- "type" : "array",
- "description" : "List of service information",
- "items" : {
- "$ref" : "#/components/schemas/service_status"
- }
- }
- }
+ defs["StatusInfo"] = {
+ "type" : "object",
+ "properties" : {
+ "status" : {
+ "type" : "string",
+ "description" : "status text"
+ }
+ }
};
- defs["status_info"] = {
- "type" : "object",
- "properties" : {
- "status" : {
- "type" : "string",
- "description" : "status text"
- }
- }
+
+ defs["NearRtRicId"] = {
+ "type" : "string",
+ "description" : "Identity of the policy"
};
var errs = {};
@@ -1173,21 +1173,18 @@
<li class="nav-fixed nav-header active" data-group="_"><a href="#api-_">API Summary</a></li>
<li class="nav-header" data-group="A1PolicyManagement"><a href="#api-A1PolicyManagement">API Methods - A1PolicyManagement</a></li>
+ <li data-group="A1PolicyManagement" data-name="createPolicy" class="">
+ <a href="#api-A1PolicyManagement-createPolicy">createPolicy</a>
+ </li>
<li data-group="A1PolicyManagement" data-name="deletePolicy" class="">
<a href="#api-A1PolicyManagement-deletePolicy">deletePolicy</a>
</li>
+ <li data-group="A1PolicyManagement" data-name="getAllPolicies" class="">
+ <a href="#api-A1PolicyManagement-getAllPolicies">getAllPolicies</a>
+ </li>
<li data-group="A1PolicyManagement" data-name="getPolicy" class="">
<a href="#api-A1PolicyManagement-getPolicy">getPolicy</a>
</li>
- <li data-group="A1PolicyManagement" data-name="getPolicyIds" class="">
- <a href="#api-A1PolicyManagement-getPolicyIds">getPolicyIds</a>
- </li>
- <li data-group="A1PolicyManagement" data-name="getPolicyInstances" class="">
- <a href="#api-A1PolicyManagement-getPolicyInstances">getPolicyInstances</a>
- </li>
- <li data-group="A1PolicyManagement" data-name="getPolicyStatus" class="">
- <a href="#api-A1PolicyManagement-getPolicyStatus">getPolicyStatus</a>
- </li>
<li data-group="A1PolicyManagement" data-name="getPolicyTypeDefinition" class="">
<a href="#api-A1PolicyManagement-getPolicyTypeDefinition">getPolicyTypeDefinition</a>
</li>
@@ -1197,50 +1194,6 @@
<li data-group="A1PolicyManagement" data-name="putPolicy" class="">
<a href="#api-A1PolicyManagement-putPolicy">putPolicy</a>
</li>
- <li class="nav-header" data-group="Actuator"><a href="#api-Actuator">API Methods - Actuator</a></li>
- <li data-group="Actuator" data-name="health" class="">
- <a href="#api-Actuator-health">health</a>
- </li>
- <li data-group="Actuator" data-name="healthPath" class="">
- <a href="#api-Actuator-healthPath">healthPath</a>
- </li>
- <li data-group="Actuator" data-name="heapdump" class="">
- <a href="#api-Actuator-heapdump">heapdump</a>
- </li>
- <li data-group="Actuator" data-name="info" class="">
- <a href="#api-Actuator-info">info</a>
- </li>
- <li data-group="Actuator" data-name="links" class="">
- <a href="#api-Actuator-links">links</a>
- </li>
- <li data-group="Actuator" data-name="logfile" class="">
- <a href="#api-Actuator-logfile">logfile</a>
- </li>
- <li data-group="Actuator" data-name="loggers" class="">
- <a href="#api-Actuator-loggers">loggers</a>
- </li>
- <li data-group="Actuator" data-name="loggersName" class="">
- <a href="#api-Actuator-loggersName">loggersName</a>
- </li>
- <li data-group="Actuator" data-name="loggersName2" class="">
- <a href="#api-Actuator-loggersName2">loggersName2</a>
- </li>
- <li data-group="Actuator" data-name="metrics" class="">
- <a href="#api-Actuator-metrics">metrics</a>
- </li>
- <li data-group="Actuator" data-name="metricsRequiredMetricName" class="">
- <a href="#api-Actuator-metricsRequiredMetricName">metricsRequiredMetricName</a>
- </li>
- <li data-group="Actuator" data-name="shutdown" class="">
- <a href="#api-Actuator-shutdown">shutdown</a>
- </li>
- <li data-group="Actuator" data-name="threaddump" class="">
- <a href="#api-Actuator-threaddump">threaddump</a>
- </li>
- <li class="nav-header" data-group="AuthorizationAPI"><a href="#api-AuthorizationAPI">API Methods - AuthorizationAPI</a></li>
- <li data-group="AuthorizationAPI" data-name="performAccessControl" class="">
- <a href="#api-AuthorizationAPI-performAccessControl">performAccessControl</a>
- </li>
<li class="nav-header" data-group="Configuration"><a href="#api-Configuration">API Methods - Configuration</a></li>
<li data-group="Configuration" data-name="getConfiguration" class="">
<a href="#api-Configuration-getConfiguration">getConfiguration</a>
@@ -1252,9 +1205,6 @@
<li data-group="HealthCheck" data-name="getStatus" class="">
<a href="#api-HealthCheck-getStatus">getStatus</a>
</li>
- <li data-group="HealthCheck" data-name="getStatusV1" class="">
- <a href="#api-HealthCheck-getStatusV1">getStatusV1</a>
- </li>
<li class="nav-header" data-group="NearRTRICRepository"><a href="#api-NearRTRICRepository">API Methods - NearRTRICRepository</a></li>
<li data-group="NearRTRICRepository" data-name="getRic" class="">
<a href="#api-NearRTRICRepository-getRic">getRic</a>
@@ -1281,17 +1231,17 @@
<div id="content">
<div id="project">
<div class="pull-left">
- <h1>A1 Policy Management Service</h1>
+ <h1>A1 policy management API</h1>
</div>
<div class="clearfix"></div>
</div>
<div id="header">
<div id="api-_">
<h2 id="welcome-to-apidoc">API and SDK Documentation</h2>
- <div class="app-desc">Version: 1.3.0</div>
+ <div class="app-desc">Version: 1.0.0</div>
<hr>
<div id="app-description" class="app-desc">
- <h2>General</h2><p>The O-RAN Non-RT RIC Policy Management Service provides a REST API for managemecnt of A1 policies. <br/>The main tasks of the service are:</p><ul><li>A1 Policy creation, modification and deletion.</li><li>Monitoring and maintaining consistency of the SMO view of A1 policies and the Near-RT RICs</li><li>Maintaining a view of supported Near-RT RIC policy types</li><li>Supervision of using services (R-APPs). When a service is unavailable, its policies are removed.</li></ul><h2>APIs provided or defined by the service</h2><h3>A1 Policy Management</h3><p>This is an API for management of A1 Policies.</p><ul><li>A1 Policy retrieval, creation, modification and deletion.</li><li>Retrieval of supported A1 Policy types for a Near-RT RIC</li><li>Retrieval of status for existing A1 policies</li></ul><h3>Management of configuration</h3><p>API for updating and retrieval of the component configuration. Note that there other ways to maintain the configuration.</p><h3>Service callbacks</h3><p>These are endpoints that are invoked by this service. The callbacks are registered in this service at service registration.</p><h3>NearRT-RIC Repository</h3><p>This is an API that provides support for looking up a NearRT-RIC. Each A1 policy is targeted for one Near-RT RIC.</p><h3>Health Check</h3><p>API used for supervision of the PMS component.</p><h3>Service Registry and Supervision</h3><p>API used for registering services that uses PMS. Each A1 policy is optionally owned by a service. PMS can supervise each registered service by a heart-beat supervision and will automatically remove policies for unavailable services. Note that a service does not need to be registered in order to create A1 Policies. This is a feature that is optional to use.</p><h3>Authorization API</h3><p>API used for access control of A1 Policy access. If configured, an external authorization provider is requested to grant access to the A1 Policy type.</p><h3>Spring Boot Actuator</h3><p>Provides generic functions used to monitor and manage the Spring web application.</p>
+ <h2>General</h2><p>The O-RAN Non-RT RIC Policy Management Service provides a REST API for managemecnt of A1 policies. <br/>The main tasks of the service are:</p><ul><li>A1 Policy creation, modification and deletion.</li><li>Monitoring and maintaining consistency of the SMO view of A1 policies and the Near-RT RICs</li><li>Maintaining a view of supported Near-RT RIC policy types</li><li>Supervision of using services (R-APPs). When a service is unavailable, its policies are removed.</li></ul><h2>APIs provided or defined by the service</h2><h3>A1 Policy Management</h3><p>This is an API for management of A1 Policies.</p><ul><li>A1 Policy retrieval, creation, modification and deletion.</li><li>Retrieval of supported A1 Policy types for a Near-RT RIC</li><li>Retrieval of status for existing A1 policies</li></ul><h3>Management of configuration</h3><p>API for updating and retrieval of the component configuration. Note that there other ways to maintain the configuration.</p><h3>Service callbacks</h3><p>These are endpoints that are invoked by this service. The callbacks are registered in this service at service registration.</p><h3>NearRT-RIC Repository</h3><p>This is an API that provides support for looking up a NearRT-RIC. Each A1 policy is targeted for one Near-RT RIC.</p><h3>Health Check</h3><p>API used for supervision of the PMS component.</p><h3>Service Registry and Supervision</h3><p>API used for registering services that uses PMS. Each A1 policy is optionally owned by a service. PMS can supervise each registered service by a heart-beat supervision and will automatically remove policies for unavailable services. Note that a service does not need to be registered in order to create A1 Policies. This is a feature that is optional to use.</p><h3>Authorization API</h3><p>API used for access control of A1 Policy access. If configured, an external authorization provider is requested to grant access to the A1 Policy type.</p>
</div>
</div>
@@ -1299,6 +1249,1194 @@
<div id="sections">
<section id="api-A1PolicyManagement">
<h1>A1PolicyManagement</h1>
+ <div id="api-A1PolicyManagement-createPolicy">
+ <article id="api-A1PolicyManagement-createPolicy-0" data-group="User" data-name="createPolicy" data-version="0">
+ <div class="pull-left">
+ <h1>createPolicy</h1>
+ <p></p>
+ </div>
+ <div class="pull-right"></div>
+ <div class="clearfix"></div>
+ <p></p>
+ <p class="marked">To create A1 policies</p>
+ <p></p>
+ <br />
+ <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/policies</span></code></pre>
+ <p>
+ <h3>Usage and SDK Samples</h3>
+ </p>
+ <ul class="nav nav-tabs nav-tabs-examples">
+ <li class="active"><a href="#examples-A1PolicyManagement-createPolicy-0-curl">Curl</a></li>
+ <li class=""><a href="#examples-A1PolicyManagement-createPolicy-0-java">Java</a></li>
+ <li class=""><a href="#examples-A1PolicyManagement-createPolicy-0-dart">Dart</a></li>
+ <li class=""><a href="#examples-A1PolicyManagement-createPolicy-0-android">Android</a></li>
+ <!--<li class=""><a href="#examples-A1PolicyManagement-createPolicy-0-groovy">Groovy</a></li>-->
+ <li class=""><a href="#examples-A1PolicyManagement-createPolicy-0-objc">Obj-C</a></li>
+ <li class=""><a href="#examples-A1PolicyManagement-createPolicy-0-javascript">JavaScript</a></li>
+ <!--<li class=""><a href="#examples-A1PolicyManagement-createPolicy-0-angular">Angular</a></li>-->
+ <li class=""><a href="#examples-A1PolicyManagement-createPolicy-0-csharp">C#</a></li>
+ <li class=""><a href="#examples-A1PolicyManagement-createPolicy-0-php">PHP</a></li>
+ <li class=""><a href="#examples-A1PolicyManagement-createPolicy-0-perl">Perl</a></li>
+ <li class=""><a href="#examples-A1PolicyManagement-createPolicy-0-python">Python</a></li>
+ <li class=""><a href="#examples-A1PolicyManagement-createPolicy-0-rust">Rust</a></li>
+ </ul>
+
+ <div class="tab-content">
+ <div class="tab-pane active" id="examples-A1PolicyManagement-createPolicy-0-curl">
+ <pre class="prettyprint"><code class="language-bsh">curl -X POST \
+ -H "Accept: application/json,application/problem+json" \
+ -H "Content-Type: application/json" \
+ "https://example.com/a1-policy-management/v1/policies" \
+ -d '{
+ "policyId" : "POLICY-ID",
+ "nearRtRicId" : "Near-RT-Ric-ID",
+ "transient" : false,
+ "policyObject" : "{}",
+ "serviceId" : "rApp ID",
+ "policyTypeId" : "ORAN_QOS_1.0.0(typeName_SemVersion)"
+}'
+</code></pre>
+ </div>
+ <div class="tab-pane" id="examples-A1PolicyManagement-createPolicy-0-java">
+ <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
+import org.openapitools.client.auth.*;
+import org.openapitools.client.model.*;
+import org.openapitools.client.api.A1PolicyManagementApi;
+
+import java.io.File;
+import java.util.*;
+
+public class A1PolicyManagementApiExample {
+ public static void main(String[] args) {
+
+ // Create an instance of the API class
+ A1PolicyManagementApi apiInstance = new A1PolicyManagementApi();
+ PolicyObjectInformation policyObjectInformation = ; // PolicyObjectInformation |
+
+ try {
+ PolicyObjectInformation result = apiInstance.createPolicy(policyObjectInformation);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling A1PolicyManagementApi#createPolicy");
+ e.printStackTrace();
+ }
+ }
+}
+</code></pre>
+ </div>
+
+ <div class="tab-pane" id="examples-A1PolicyManagement-createPolicy-0-dart">
+ <pre class="prettyprint"><code class="language-dart">import 'package:openapi/api.dart';
+
+final api_instance = DefaultApi();
+
+final PolicyObjectInformation policyObjectInformation = new PolicyObjectInformation(); // PolicyObjectInformation |
+
+try {
+ final result = await api_instance.createPolicy(policyObjectInformation);
+ print(result);
+} catch (e) {
+ print('Exception when calling DefaultApi->createPolicy: $e\n');
+}
+
+</code></pre>
+ </div>
+
+ <div class="tab-pane" id="examples-A1PolicyManagement-createPolicy-0-android">
+ <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.A1PolicyManagementApi;
+
+public class A1PolicyManagementApiExample {
+ public static void main(String[] args) {
+ A1PolicyManagementApi apiInstance = new A1PolicyManagementApi();
+ PolicyObjectInformation policyObjectInformation = ; // PolicyObjectInformation |
+
+ try {
+ PolicyObjectInformation result = apiInstance.createPolicy(policyObjectInformation);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling A1PolicyManagementApi#createPolicy");
+ e.printStackTrace();
+ }
+ }
+}</code></pre>
+ </div>
+ <!--
+ <div class="tab-pane" id="examples-A1PolicyManagement-createPolicy-0-groovy">
+ <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
+ </div> -->
+ <div class="tab-pane" id="examples-A1PolicyManagement-createPolicy-0-objc">
+ <pre class="prettyprint"><code class="language-cpp">
+
+// Create an instance of the API class
+A1PolicyManagementApi *apiInstance = [[A1PolicyManagementApi alloc] init];
+PolicyObjectInformation *policyObjectInformation = ; //
+
+[apiInstance createPolicyWith:policyObjectInformation
+ completionHandler: ^(PolicyObjectInformation output, NSError* error) {
+ if (output) {
+ NSLog(@"%@", output);
+ }
+ if (error) {
+ NSLog(@"Error: %@", error);
+ }
+}];
+</code></pre>
+ </div>
+
+ <div class="tab-pane" id="examples-A1PolicyManagement-createPolicy-0-javascript">
+ <pre class="prettyprint"><code class="language-js">var A1PolicyManagementApi = require('a1_policy_management_api');
+
+// Create an instance of the API class
+var api = new A1PolicyManagementApi.A1PolicyManagementApi()
+var policyObjectInformation = ; // {PolicyObjectInformation}
+
+var callback = function(error, data, response) {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+};
+api.createPolicy(policyObjectInformation, callback);
+</code></pre>
+ </div>
+
+ <!--<div class="tab-pane" id="examples-A1PolicyManagement-createPolicy-0-angular">
+ <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
+ </div>-->
+ <div class="tab-pane" id="examples-A1PolicyManagement-createPolicy-0-csharp">
+ <pre class="prettyprint"><code class="language-cs">using System;
+using System.Diagnostics;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Client;
+using Org.OpenAPITools.Model;
+
+namespace Example
+{
+ public class createPolicyExample
+ {
+ public void main()
+ {
+
+ // Create an instance of the API class
+ var apiInstance = new A1PolicyManagementApi();
+ var policyObjectInformation = new PolicyObjectInformation(); // PolicyObjectInformation |
+
+ try {
+ PolicyObjectInformation result = apiInstance.createPolicy(policyObjectInformation);
+ Debug.WriteLine(result);
+ } catch (Exception e) {
+ Debug.Print("Exception when calling A1PolicyManagementApi.createPolicy: " + e.Message );
+ }
+ }
+ }
+}
+</code></pre>
+ </div>
+
+ <div class="tab-pane" id="examples-A1PolicyManagement-createPolicy-0-php">
+ <pre class="prettyprint"><code class="language-php"><?php
+require_once(__DIR__ . '/vendor/autoload.php');
+
+// Create an instance of the API class
+$api_instance = new OpenAPITools\Client\Api\A1PolicyManagementApi();
+$policyObjectInformation = ; // PolicyObjectInformation |
+
+try {
+ $result = $api_instance->createPolicy($policyObjectInformation);
+ print_r($result);
+} catch (Exception $e) {
+ echo 'Exception when calling A1PolicyManagementApi->createPolicy: ', $e->getMessage(), PHP_EOL;
+}
+?></code></pre>
+ </div>
+
+ <div class="tab-pane" id="examples-A1PolicyManagement-createPolicy-0-perl">
+ <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
+use WWW::OPenAPIClient::Configuration;
+use WWW::OPenAPIClient::A1PolicyManagementApi;
+
+# Create an instance of the API class
+my $api_instance = WWW::OPenAPIClient::A1PolicyManagementApi->new();
+my $policyObjectInformation = WWW::OPenAPIClient::Object::PolicyObjectInformation->new(); # PolicyObjectInformation |
+
+eval {
+ my $result = $api_instance->createPolicy(policyObjectInformation => $policyObjectInformation);
+ print Dumper($result);
+};
+if ($@) {
+ warn "Exception when calling A1PolicyManagementApi->createPolicy: $@\n";
+}</code></pre>
+ </div>
+
+ <div class="tab-pane" id="examples-A1PolicyManagement-createPolicy-0-python">
+ <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
+import time
+import openapi_client
+from openapi_client.rest import ApiException
+from pprint import pprint
+
+# Create an instance of the API class
+api_instance = openapi_client.A1PolicyManagementApi()
+policyObjectInformation = # PolicyObjectInformation |
+
+try:
+ api_response = api_instance.create_policy(policyObjectInformation)
+ pprint(api_response)
+except ApiException as e:
+ print("Exception when calling A1PolicyManagementApi->createPolicy: %s\n" % e)</code></pre>
+ </div>
+
+ <div class="tab-pane" id="examples-A1PolicyManagement-createPolicy-0-rust">
+ <pre class="prettyprint"><code class="language-rust">extern crate A1PolicyManagementApi;
+
+pub fn main() {
+ let policyObjectInformation = ; // PolicyObjectInformation
+
+ let mut context = A1PolicyManagementApi::Context::default();
+ let result = client.createPolicy(policyObjectInformation, &context).wait();
+
+ println!("{:?}", result);
+}
+</code></pre>
+ </div>
+ </div>
+
+ <h2>Scopes</h2>
+ <table>
+
+ </table>
+
+ <h2>Parameters</h2>
+
+
+
+ <div class="methodsubtabletitle">Body parameters</div>
+ <table id="methodsubtable">
+ <tr>
+ <th width="150px">Name</th>
+ <th>Description</th>
+ </tr>
+ <tr><td style="width:150px;">policyObjectInformation <span style="color:red;">*</span></td>
+<td>
+<p class="marked"></p>
+<script>
+$(document).ready(function() {
+ var schemaWrapper = {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/PolicyObjectInformation"
+ }
+ }
+ },
+ "required" : true
+};
+
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema,2,{isBodyParam: true});
+ var result = $('#d2e199_createPolicy_policyObjectInformation');
+ result.empty();
+ result.append(view.render());
+});
+</script>
+<div id="d2e199_createPolicy_policyObjectInformation"></div>
+</td>
+</tr>
+
+ </table>
+
+
+
+ <h2>Responses</h2>
+ <h3 id="examples-A1PolicyManagement-createPolicy-title-201"></h3>
+ <p id="examples-A1PolicyManagement-createPolicy-description-201" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement201_description = `Success case 201 created`;
+ var responseA1PolicyManagement201_description_break = responseA1PolicyManagement201_description.indexOf('\n');
+ if (responseA1PolicyManagement201_description_break == -1) {
+ $("#examples-A1PolicyManagement-createPolicy-title-201").text("Status: 201 - " + responseA1PolicyManagement201_description);
+ } else {
+ $("#examples-A1PolicyManagement-createPolicy-title-201").text("Status: 201 - " + responseA1PolicyManagement201_description.substring(0, responseA1PolicyManagement201_description_break));
+ $("#examples-A1PolicyManagement-createPolicy-description-201").html(responseA1PolicyManagement201_description.substring(responseA1PolicyManagement201_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-createPolicy-201" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-createPolicy-201-schema">Schema</a>
+ </li>
+
+
+
+ <li class="">
+ <a data-toggle="tab" href="#responses-createPolicy-201-headers">Headers</a>
+ </li>
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-createPolicy-201-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-createPolicy-201-schema">
+ <div id="responses-A1PolicyManagement-createPolicy-schema-201" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Success case 201 created",
+ "headers" : {
+ "Location" : {
+ "description" : "Contains the URI of the newly created resource",
+ "required" : true,
+ "style" : "simple",
+ "explode" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ }
+ },
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/PolicyObjectInformation"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-createPolicy-201-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-createPolicy-schema-201');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-createPolicy-201-schema-data' type='hidden' value=''></input>
+ </div>
+ <div class="tab-pane" id="responses-createPolicy-201-headers">
+ <table>
+ <tr>
+ <th width="150px">Name</th>
+ <th width="100px">Type</th>
+ <th width="100px">Format</th>
+ <th>Description</th>
+ </tr>
+ <tr>
+ <td>Location</td>
+ <td>String</td>
+ <td></td>
+ <td>Contains the URI of the newly created resource</td>
+ </tr>
+ </table>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-createPolicy-title-400"></h3>
+ <p id="examples-A1PolicyManagement-createPolicy-description-400" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement400_description = `Bad Request`;
+ var responseA1PolicyManagement400_description_break = responseA1PolicyManagement400_description.indexOf('\n');
+ if (responseA1PolicyManagement400_description_break == -1) {
+ $("#examples-A1PolicyManagement-createPolicy-title-400").text("Status: 400 - " + responseA1PolicyManagement400_description);
+ } else {
+ $("#examples-A1PolicyManagement-createPolicy-title-400").text("Status: 400 - " + responseA1PolicyManagement400_description.substring(0, responseA1PolicyManagement400_description_break));
+ $("#examples-A1PolicyManagement-createPolicy-description-400").html(responseA1PolicyManagement400_description.substring(responseA1PolicyManagement400_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-createPolicy-400" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-createPolicy-400-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-createPolicy-400-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-createPolicy-400-schema">
+ <div id="responses-A1PolicyManagement-createPolicy-schema-400" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Bad Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-createPolicy-400-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-createPolicy-schema-400');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-createPolicy-400-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-createPolicy-title-401"></h3>
+ <p id="examples-A1PolicyManagement-createPolicy-description-401" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement401_description = `Unauthorized`;
+ var responseA1PolicyManagement401_description_break = responseA1PolicyManagement401_description.indexOf('\n');
+ if (responseA1PolicyManagement401_description_break == -1) {
+ $("#examples-A1PolicyManagement-createPolicy-title-401").text("Status: 401 - " + responseA1PolicyManagement401_description);
+ } else {
+ $("#examples-A1PolicyManagement-createPolicy-title-401").text("Status: 401 - " + responseA1PolicyManagement401_description.substring(0, responseA1PolicyManagement401_description_break));
+ $("#examples-A1PolicyManagement-createPolicy-description-401").html(responseA1PolicyManagement401_description.substring(responseA1PolicyManagement401_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-createPolicy-401" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-createPolicy-401-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-createPolicy-401-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-createPolicy-401-schema">
+ <div id="responses-A1PolicyManagement-createPolicy-schema-401" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Unauthorized",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-createPolicy-401-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-createPolicy-schema-401');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-createPolicy-401-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-createPolicy-title-403"></h3>
+ <p id="examples-A1PolicyManagement-createPolicy-description-403" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement403_description = `Forbidden`;
+ var responseA1PolicyManagement403_description_break = responseA1PolicyManagement403_description.indexOf('\n');
+ if (responseA1PolicyManagement403_description_break == -1) {
+ $("#examples-A1PolicyManagement-createPolicy-title-403").text("Status: 403 - " + responseA1PolicyManagement403_description);
+ } else {
+ $("#examples-A1PolicyManagement-createPolicy-title-403").text("Status: 403 - " + responseA1PolicyManagement403_description.substring(0, responseA1PolicyManagement403_description_break));
+ $("#examples-A1PolicyManagement-createPolicy-description-403").html(responseA1PolicyManagement403_description.substring(responseA1PolicyManagement403_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-createPolicy-403" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-createPolicy-403-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-createPolicy-403-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-createPolicy-403-schema">
+ <div id="responses-A1PolicyManagement-createPolicy-schema-403" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Forbidden",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-createPolicy-403-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-createPolicy-schema-403');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-createPolicy-403-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-createPolicy-title-404"></h3>
+ <p id="examples-A1PolicyManagement-createPolicy-description-404" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement404_description = `Not Found`;
+ var responseA1PolicyManagement404_description_break = responseA1PolicyManagement404_description.indexOf('\n');
+ if (responseA1PolicyManagement404_description_break == -1) {
+ $("#examples-A1PolicyManagement-createPolicy-title-404").text("Status: 404 - " + responseA1PolicyManagement404_description);
+ } else {
+ $("#examples-A1PolicyManagement-createPolicy-title-404").text("Status: 404 - " + responseA1PolicyManagement404_description.substring(0, responseA1PolicyManagement404_description_break));
+ $("#examples-A1PolicyManagement-createPolicy-description-404").html(responseA1PolicyManagement404_description.substring(responseA1PolicyManagement404_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-createPolicy-404" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-createPolicy-404-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-createPolicy-404-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-createPolicy-404-schema">
+ <div id="responses-A1PolicyManagement-createPolicy-schema-404" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-createPolicy-404-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-createPolicy-schema-404');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-createPolicy-404-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-createPolicy-title-406"></h3>
+ <p id="examples-A1PolicyManagement-createPolicy-description-406" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement406_description = `Not Acceptable`;
+ var responseA1PolicyManagement406_description_break = responseA1PolicyManagement406_description.indexOf('\n');
+ if (responseA1PolicyManagement406_description_break == -1) {
+ $("#examples-A1PolicyManagement-createPolicy-title-406").text("Status: 406 - " + responseA1PolicyManagement406_description);
+ } else {
+ $("#examples-A1PolicyManagement-createPolicy-title-406").text("Status: 406 - " + responseA1PolicyManagement406_description.substring(0, responseA1PolicyManagement406_description_break));
+ $("#examples-A1PolicyManagement-createPolicy-description-406").html(responseA1PolicyManagement406_description.substring(responseA1PolicyManagement406_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-createPolicy-406" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-createPolicy-406-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-createPolicy-406-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-createPolicy-406-schema">
+ <div id="responses-A1PolicyManagement-createPolicy-schema-406" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Not Acceptable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-createPolicy-406-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-createPolicy-schema-406');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-createPolicy-406-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-createPolicy-title-423"></h3>
+ <p id="examples-A1PolicyManagement-createPolicy-description-423" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement423_description = `Locked - HTTP Status code which can be used when the state is Locked`;
+ var responseA1PolicyManagement423_description_break = responseA1PolicyManagement423_description.indexOf('\n');
+ if (responseA1PolicyManagement423_description_break == -1) {
+ $("#examples-A1PolicyManagement-createPolicy-title-423").text("Status: 423 - " + responseA1PolicyManagement423_description);
+ } else {
+ $("#examples-A1PolicyManagement-createPolicy-title-423").text("Status: 423 - " + responseA1PolicyManagement423_description.substring(0, responseA1PolicyManagement423_description_break));
+ $("#examples-A1PolicyManagement-createPolicy-description-423").html(responseA1PolicyManagement423_description.substring(responseA1PolicyManagement423_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-createPolicy-423" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-createPolicy-423-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-createPolicy-423-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-createPolicy-423-schema">
+ <div id="responses-A1PolicyManagement-createPolicy-schema-423" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Locked - HTTP Status code which can be used when the state is Locked",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ErrorInformation"
+ },
+ "example" : {
+ "status" : 423,
+ "title" : "Locked",
+ "detail" : "State is Locked in the provided request."
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-createPolicy-423-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-createPolicy-schema-423');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-createPolicy-423-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-createPolicy-title-429"></h3>
+ <p id="examples-A1PolicyManagement-createPolicy-description-429" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement429_description = `Too Many Request`;
+ var responseA1PolicyManagement429_description_break = responseA1PolicyManagement429_description.indexOf('\n');
+ if (responseA1PolicyManagement429_description_break == -1) {
+ $("#examples-A1PolicyManagement-createPolicy-title-429").text("Status: 429 - " + responseA1PolicyManagement429_description);
+ } else {
+ $("#examples-A1PolicyManagement-createPolicy-title-429").text("Status: 429 - " + responseA1PolicyManagement429_description.substring(0, responseA1PolicyManagement429_description_break));
+ $("#examples-A1PolicyManagement-createPolicy-description-429").html(responseA1PolicyManagement429_description.substring(responseA1PolicyManagement429_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-createPolicy-429" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-createPolicy-429-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-createPolicy-429-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-createPolicy-429-schema">
+ <div id="responses-A1PolicyManagement-createPolicy-schema-429" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Too Many Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-createPolicy-429-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-createPolicy-schema-429');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-createPolicy-429-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-createPolicy-title-500"></h3>
+ <p id="examples-A1PolicyManagement-createPolicy-description-500" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement500_description = `Internal Server Error`;
+ var responseA1PolicyManagement500_description_break = responseA1PolicyManagement500_description.indexOf('\n');
+ if (responseA1PolicyManagement500_description_break == -1) {
+ $("#examples-A1PolicyManagement-createPolicy-title-500").text("Status: 500 - " + responseA1PolicyManagement500_description);
+ } else {
+ $("#examples-A1PolicyManagement-createPolicy-title-500").text("Status: 500 - " + responseA1PolicyManagement500_description.substring(0, responseA1PolicyManagement500_description_break));
+ $("#examples-A1PolicyManagement-createPolicy-description-500").html(responseA1PolicyManagement500_description.substring(responseA1PolicyManagement500_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-createPolicy-500" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-createPolicy-500-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-createPolicy-500-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-createPolicy-500-schema">
+ <div id="responses-A1PolicyManagement-createPolicy-schema-500" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Internal Server Error",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-createPolicy-500-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-createPolicy-schema-500');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-createPolicy-500-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-createPolicy-title-502"></h3>
+ <p id="examples-A1PolicyManagement-createPolicy-description-502" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement502_description = `Bad Gateway`;
+ var responseA1PolicyManagement502_description_break = responseA1PolicyManagement502_description.indexOf('\n');
+ if (responseA1PolicyManagement502_description_break == -1) {
+ $("#examples-A1PolicyManagement-createPolicy-title-502").text("Status: 502 - " + responseA1PolicyManagement502_description);
+ } else {
+ $("#examples-A1PolicyManagement-createPolicy-title-502").text("Status: 502 - " + responseA1PolicyManagement502_description.substring(0, responseA1PolicyManagement502_description_break));
+ $("#examples-A1PolicyManagement-createPolicy-description-502").html(responseA1PolicyManagement502_description.substring(responseA1PolicyManagement502_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-createPolicy-502" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-createPolicy-502-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-createPolicy-502-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-createPolicy-502-schema">
+ <div id="responses-A1PolicyManagement-createPolicy-schema-502" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Bad Gateway",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-createPolicy-502-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-createPolicy-schema-502');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-createPolicy-502-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-createPolicy-title-503"></h3>
+ <p id="examples-A1PolicyManagement-createPolicy-description-503" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement503_description = `Service Unavailable`;
+ var responseA1PolicyManagement503_description_break = responseA1PolicyManagement503_description.indexOf('\n');
+ if (responseA1PolicyManagement503_description_break == -1) {
+ $("#examples-A1PolicyManagement-createPolicy-title-503").text("Status: 503 - " + responseA1PolicyManagement503_description);
+ } else {
+ $("#examples-A1PolicyManagement-createPolicy-title-503").text("Status: 503 - " + responseA1PolicyManagement503_description.substring(0, responseA1PolicyManagement503_description_break));
+ $("#examples-A1PolicyManagement-createPolicy-description-503").html(responseA1PolicyManagement503_description.substring(responseA1PolicyManagement503_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-createPolicy-503" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-createPolicy-503-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-createPolicy-503-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-createPolicy-503-schema">
+ <div id="responses-A1PolicyManagement-createPolicy-schema-503" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Service Unavailable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-createPolicy-503-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-createPolicy-schema-503');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-createPolicy-503-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ </article>
+ </div>
+ <hr>
<div id="api-A1PolicyManagement-deletePolicy">
<article id="api-A1PolicyManagement-deletePolicy-0" data-group="User" data-name="deletePolicy" data-version="0">
<div class="pull-left">
@@ -1308,16 +2446,17 @@
<div class="pull-right"></div>
<div class="clearfix"></div>
<p></p>
- <p class="marked">Deleting the policy using the Policy's Policy ID.</p>
+ <p class="marked">Deleting the policy using policyId.</p>
<p></p>
<br />
- <pre class="prettyprint language-html prettyprinted" data-type="delete"><code><span class="pln">/a1-policy/v2/policies/{policy_id}</span></code></pre>
+ <pre class="prettyprint language-html prettyprinted" data-type="delete"><code><span class="pln">/policies/{policyId}</span></code></pre>
<p>
<h3>Usage and SDK Samples</h3>
</p>
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="#examples-A1PolicyManagement-deletePolicy-0-curl">Curl</a></li>
<li class=""><a href="#examples-A1PolicyManagement-deletePolicy-0-java">Java</a></li>
+ <li class=""><a href="#examples-A1PolicyManagement-deletePolicy-0-dart">Dart</a></li>
<li class=""><a href="#examples-A1PolicyManagement-deletePolicy-0-android">Android</a></li>
<!--<li class=""><a href="#examples-A1PolicyManagement-deletePolicy-0-groovy">Groovy</a></li>-->
<li class=""><a href="#examples-A1PolicyManagement-deletePolicy-0-objc">Obj-C</a></li>
@@ -1333,8 +2472,8 @@
<div class="tab-content">
<div class="tab-pane active" id="examples-A1PolicyManagement-deletePolicy-0-curl">
<pre class="prettyprint"><code class="language-bsh">curl -X DELETE \
- -H "Accept: */*,application/problem+json" \
- "http://localhost/a1-policy/v2/policies/{policy_id}"
+ -H "Accept: application/problem+json" \
+ "https://example.com/a1-policy-management/v1/policies/{policyId}"
</code></pre>
</div>
<div class="tab-pane" id="examples-A1PolicyManagement-deletePolicy-0-java">
@@ -1352,10 +2491,10 @@
// Create an instance of the API class
A1PolicyManagementApi apiInstance = new A1PolicyManagementApi();
String policyId = policyId_example; // String |
+ String accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
try {
- Object result = apiInstance.deletePolicy(policyId);
- System.out.println(result);
+ apiInstance.deletePolicy(policyId, accept);
} catch (ApiException e) {
System.err.println("Exception when calling A1PolicyManagementApi#deletePolicy");
e.printStackTrace();
@@ -1365,6 +2504,24 @@
</code></pre>
</div>
+ <div class="tab-pane" id="examples-A1PolicyManagement-deletePolicy-0-dart">
+ <pre class="prettyprint"><code class="language-dart">import 'package:openapi/api.dart';
+
+final api_instance = DefaultApi();
+
+final String policyId = new String(); // String |
+final String accept = new String(); // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
+
+try {
+ final result = await api_instance.deletePolicy(policyId, accept);
+ print(result);
+} catch (e) {
+ print('Exception when calling DefaultApi->deletePolicy: $e\n');
+}
+
+</code></pre>
+ </div>
+
<div class="tab-pane" id="examples-A1PolicyManagement-deletePolicy-0-android">
<pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.A1PolicyManagementApi;
@@ -1372,10 +2529,10 @@
public static void main(String[] args) {
A1PolicyManagementApi apiInstance = new A1PolicyManagementApi();
String policyId = policyId_example; // String |
+ String accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
try {
- Object result = apiInstance.deletePolicy(policyId);
- System.out.println(result);
+ apiInstance.deletePolicy(policyId, accept);
} catch (ApiException e) {
System.err.println("Exception when calling A1PolicyManagementApi#deletePolicy");
e.printStackTrace();
@@ -1393,13 +2550,12 @@
// Create an instance of the API class
A1PolicyManagementApi *apiInstance = [[A1PolicyManagementApi alloc] init];
String *policyId = policyId_example; // (default to null)
+String *accept = application/json; // Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. (optional) (default to null)
// Delete a policy
[apiInstance deletePolicyWith:policyId
- completionHandler: ^(Object output, NSError* error) {
- if (output) {
- NSLog(@"%@", output);
- }
+ accept:accept
+ completionHandler: ^(NSError* error) {
if (error) {
NSLog(@"Error: %@", error);
}
@@ -1408,20 +2564,23 @@
</div>
<div class="tab-pane" id="examples-A1PolicyManagement-deletePolicy-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
+ <pre class="prettyprint"><code class="language-js">var A1PolicyManagementApi = require('a1_policy_management_api');
// Create an instance of the API class
-var api = new A1PolicyManagementService.A1PolicyManagementApi()
+var api = new A1PolicyManagementApi.A1PolicyManagementApi()
var policyId = policyId_example; // {String}
+var opts = {
+ 'accept': application/json // {String} Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
+};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
- console.log('API called successfully. Returned data: ' + data);
+ console.log('API called successfully.');
}
};
-api.deletePolicy(policyId, callback);
+api.deletePolicy(policyId, opts, callback);
</code></pre>
</div>
@@ -1445,11 +2604,11 @@
// Create an instance of the API class
var apiInstance = new A1PolicyManagementApi();
var policyId = policyId_example; // String | (default to null)
+ var accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. (optional) (default to null)
try {
// Delete a policy
- Object result = apiInstance.deletePolicy(policyId);
- Debug.WriteLine(result);
+ apiInstance.deletePolicy(policyId, accept);
} catch (Exception e) {
Debug.Print("Exception when calling A1PolicyManagementApi.deletePolicy: " + e.Message );
}
@@ -1466,10 +2625,10 @@
// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\A1PolicyManagementApi();
$policyId = policyId_example; // String |
+$accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
try {
- $result = $api_instance->deletePolicy($policyId);
- print_r($result);
+ $api_instance->deletePolicy($policyId, $accept);
} catch (Exception $e) {
echo 'Exception when calling A1PolicyManagementApi->deletePolicy: ', $e->getMessage(), PHP_EOL;
}
@@ -1484,10 +2643,10 @@
# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::A1PolicyManagementApi->new();
my $policyId = policyId_example; # String |
+my $accept = application/json; # String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
eval {
- my $result = $api_instance->deletePolicy(policyId => $policyId);
- print Dumper($result);
+ $api_instance->deletePolicy(policyId => $policyId, accept => $accept);
};
if ($@) {
warn "Exception when calling A1PolicyManagementApi->deletePolicy: $@\n";
@@ -1504,11 +2663,11 @@
# Create an instance of the API class
api_instance = openapi_client.A1PolicyManagementApi()
policyId = policyId_example # String | (default to null)
+accept = application/json # String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. (optional) (default to null)
try:
# Delete a policy
- api_response = api_instance.delete_policy(policyId)
- pprint(api_response)
+ api_instance.delete_policy(policyId, accept=accept)
except ApiException as e:
print("Exception when calling A1PolicyManagementApi->deletePolicy: %s\n" % e)</code></pre>
</div>
@@ -1518,9 +2677,10 @@
pub fn main() {
let policyId = policyId_example; // String
+ let accept = application/json; // String
let mut context = A1PolicyManagementApi::Context::default();
- let result = client.deletePolicy(policyId, &context).wait();
+ let result = client.deletePolicy(policyId, accept, &context).wait();
println!("{:?}", result);
}
@@ -1541,7 +2701,7 @@
<th width="150px">Name</th>
<th>Description</th>
</tr>
- <tr><td style="width:150px;">policy_id*</td>
+ <tr><td style="width:150px;">policyId*</td>
<td>
@@ -1563,28 +2723,119 @@
</table>
+ <div class="methodsubtabletitle">Header parameters</div>
+ <table id="methodsubtable">
+ <tr>
+ <th width="150px">Name</th>
+ <th>Description</th>
+ </tr>
+ <tr><td style="width:150px;">Accept</td>
+<td>
+
+
+ <div id="d2e199_deletePolicy_accept">
+ <div class="json-schema-view">
+ <div class="primitive">
+ <span class="type">
+ String
+ </span>
+
+ <div class="inner description marked">
+Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
+ </div>
+ </div>
+ </div>
+ </div>
+</td>
+</tr>
+
+ </table>
<h2>Responses</h2>
- <h3 id="examples-A1PolicyManagement-deletePolicy-title-200"></h3>
- <p id="examples-A1PolicyManagement-deletePolicy-description-200" class="marked"></p>
+ <h3 id="examples-A1PolicyManagement-deletePolicy-title-204"></h3>
+ <p id="examples-A1PolicyManagement-deletePolicy-description-204" class="marked"></p>
<script>
- var responseA1PolicyManagement200_description = `OK - Policy deleted`;
- var responseA1PolicyManagement200_description_break = responseA1PolicyManagement200_description.indexOf('\n');
- if (responseA1PolicyManagement200_description_break == -1) {
- $("#examples-A1PolicyManagement-deletePolicy-title-200").text("Status: 200 - " + responseA1PolicyManagement200_description);
+ var responseA1PolicyManagement204_description = `The created A1 policy was deleted`;
+ var responseA1PolicyManagement204_description_break = responseA1PolicyManagement204_description.indexOf('\n');
+ if (responseA1PolicyManagement204_description_break == -1) {
+ $("#examples-A1PolicyManagement-deletePolicy-title-204").text("Status: 204 - " + responseA1PolicyManagement204_description);
} else {
- $("#examples-A1PolicyManagement-deletePolicy-title-200").text("Status: 200 - " + responseA1PolicyManagement200_description.substring(0, responseA1PolicyManagement200_description_break));
- $("#examples-A1PolicyManagement-deletePolicy-description-200").html(responseA1PolicyManagement200_description.substring(responseA1PolicyManagement200_description_break));
+ $("#examples-A1PolicyManagement-deletePolicy-title-204").text("Status: 204 - " + responseA1PolicyManagement204_description.substring(0, responseA1PolicyManagement204_description_break));
+ $("#examples-A1PolicyManagement-deletePolicy-description-204").html(responseA1PolicyManagement204_description.substring(responseA1PolicyManagement204_description_break));
}
</script>
- <ul id="responses-detail-A1PolicyManagement-deletePolicy-200" class="nav nav-tabs nav-tabs-examples" >
+ <ul id="responses-detail-A1PolicyManagement-deletePolicy-204" class="nav nav-tabs nav-tabs-examples" >
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-deletePolicy-204-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-deletePolicy-204-schema">
+ <div id="responses-A1PolicyManagement-deletePolicy-schema-204" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "The created A1 policy was deleted"
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-deletePolicy-204-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-deletePolicy-schema-204');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-deletePolicy-204-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-deletePolicy-title-400"></h3>
+ <p id="examples-A1PolicyManagement-deletePolicy-description-400" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement400_description = `Bad Request`;
+ var responseA1PolicyManagement400_description_break = responseA1PolicyManagement400_description.indexOf('\n');
+ if (responseA1PolicyManagement400_description_break == -1) {
+ $("#examples-A1PolicyManagement-deletePolicy-title-400").text("Status: 400 - " + responseA1PolicyManagement400_description);
+ } else {
+ $("#examples-A1PolicyManagement-deletePolicy-title-400").text("Status: 400 - " + responseA1PolicyManagement400_description.substring(0, responseA1PolicyManagement400_description_break));
+ $("#examples-A1PolicyManagement-deletePolicy-description-400").html(responseA1PolicyManagement400_description.substring(responseA1PolicyManagement400_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-deletePolicy-400" class="nav nav-tabs nav-tabs-examples" >
<li class="active">
- <a data-toggle="tab" href="#responses-A1PolicyManagement-deletePolicy-200-schema">Schema</a>
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-deletePolicy-400-schema">Schema</a>
</li>
@@ -1593,42 +2844,284 @@
</ul>
- <div class="tab-content" id="responses-A1PolicyManagement-deletePolicy-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-A1PolicyManagement-deletePolicy-200-schema">
- <div id="responses-A1PolicyManagement-deletePolicy-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-content" id="responses-A1PolicyManagement-deletePolicy-400-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-deletePolicy-400-schema">
+ <div id="responses-A1PolicyManagement-deletePolicy-schema-400" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Bad Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-deletePolicy-400-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-deletePolicy-schema-400');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-deletePolicy-400-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-deletePolicy-title-401"></h3>
+ <p id="examples-A1PolicyManagement-deletePolicy-description-401" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement401_description = `Unauthorized`;
+ var responseA1PolicyManagement401_description_break = responseA1PolicyManagement401_description.indexOf('\n');
+ if (responseA1PolicyManagement401_description_break == -1) {
+ $("#examples-A1PolicyManagement-deletePolicy-title-401").text("Status: 401 - " + responseA1PolicyManagement401_description);
+ } else {
+ $("#examples-A1PolicyManagement-deletePolicy-title-401").text("Status: 401 - " + responseA1PolicyManagement401_description.substring(0, responseA1PolicyManagement401_description_break));
+ $("#examples-A1PolicyManagement-deletePolicy-description-401").html(responseA1PolicyManagement401_description.substring(responseA1PolicyManagement401_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-deletePolicy-401" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-deletePolicy-401-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-deletePolicy-401-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-deletePolicy-401-schema">
+ <div id="responses-A1PolicyManagement-deletePolicy-schema-401" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Unauthorized",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
});
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-A1PolicyManagement-deletePolicy-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-A1PolicyManagement-deletePolicy-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-A1PolicyManagement-deletePolicy-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-deletePolicy-401-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-deletePolicy-schema-401');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-A1PolicyManagement-deletePolicy-401-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-deletePolicy-title-403"></h3>
+ <p id="examples-A1PolicyManagement-deletePolicy-description-403" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement403_description = `Forbidden`;
+ var responseA1PolicyManagement403_description_break = responseA1PolicyManagement403_description.indexOf('\n');
+ if (responseA1PolicyManagement403_description_break == -1) {
+ $("#examples-A1PolicyManagement-deletePolicy-title-403").text("Status: 403 - " + responseA1PolicyManagement403_description);
+ } else {
+ $("#examples-A1PolicyManagement-deletePolicy-title-403").text("Status: 403 - " + responseA1PolicyManagement403_description.substring(0, responseA1PolicyManagement403_description_break));
+ $("#examples-A1PolicyManagement-deletePolicy-description-403").html(responseA1PolicyManagement403_description.substring(responseA1PolicyManagement403_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-deletePolicy-403" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-deletePolicy-403-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-deletePolicy-403-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-deletePolicy-403-schema">
+ <div id="responses-A1PolicyManagement-deletePolicy-schema-403" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Forbidden",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-deletePolicy-403-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-deletePolicy-schema-403');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-deletePolicy-403-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-deletePolicy-title-404"></h3>
+ <p id="examples-A1PolicyManagement-deletePolicy-description-404" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement404_description = `Not Found`;
+ var responseA1PolicyManagement404_description_break = responseA1PolicyManagement404_description.indexOf('\n');
+ if (responseA1PolicyManagement404_description_break == -1) {
+ $("#examples-A1PolicyManagement-deletePolicy-title-404").text("Status: 404 - " + responseA1PolicyManagement404_description);
+ } else {
+ $("#examples-A1PolicyManagement-deletePolicy-title-404").text("Status: 404 - " + responseA1PolicyManagement404_description.substring(0, responseA1PolicyManagement404_description_break));
+ $("#examples-A1PolicyManagement-deletePolicy-description-404").html(responseA1PolicyManagement404_description.substring(responseA1PolicyManagement404_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-deletePolicy-404" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-deletePolicy-404-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-deletePolicy-404-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-deletePolicy-404-schema">
+ <div id="responses-A1PolicyManagement-deletePolicy-schema-404" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-deletePolicy-404-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-deletePolicy-schema-404');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-deletePolicy-404-schema-data' type='hidden' value=''></input>
+ </div>
</div>
<h3 id="examples-A1PolicyManagement-deletePolicy-title-423"></h3>
<p id="examples-A1PolicyManagement-deletePolicy-description-423" class="marked"></p>
@@ -1656,41 +3149,1550 @@
<div class="tab-content" id="responses-A1PolicyManagement-deletePolicy-423-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-A1PolicyManagement-deletePolicy-423-schema">
- <div id="responses-A1PolicyManagement-deletePolicy-schema-423" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-A1PolicyManagement-deletePolicy-423-schema">
+ <div id="responses-A1PolicyManagement-deletePolicy-schema-423" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Locked - HTTP Status code which can be used when the state is Locked",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ErrorInformation"
+ },
+ "example" : {
+ "status" : 423,
+ "title" : "Locked",
+ "detail" : "State is Locked in the provided request."
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-deletePolicy-423-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-deletePolicy-schema-423');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-deletePolicy-423-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-deletePolicy-title-429"></h3>
+ <p id="examples-A1PolicyManagement-deletePolicy-description-429" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement429_description = `Too Many Request`;
+ var responseA1PolicyManagement429_description_break = responseA1PolicyManagement429_description.indexOf('\n');
+ if (responseA1PolicyManagement429_description_break == -1) {
+ $("#examples-A1PolicyManagement-deletePolicy-title-429").text("Status: 429 - " + responseA1PolicyManagement429_description);
+ } else {
+ $("#examples-A1PolicyManagement-deletePolicy-title-429").text("Status: 429 - " + responseA1PolicyManagement429_description.substring(0, responseA1PolicyManagement429_description_break));
+ $("#examples-A1PolicyManagement-deletePolicy-description-429").html(responseA1PolicyManagement429_description.substring(responseA1PolicyManagement429_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-deletePolicy-429" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-deletePolicy-429-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-deletePolicy-429-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-deletePolicy-429-schema">
+ <div id="responses-A1PolicyManagement-deletePolicy-schema-429" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Too Many Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
});
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-A1PolicyManagement-deletePolicy-423-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-A1PolicyManagement-deletePolicy-schema-423');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-A1PolicyManagement-deletePolicy-423-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-deletePolicy-429-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-deletePolicy-schema-429');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-A1PolicyManagement-deletePolicy-429-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-deletePolicy-title-500"></h3>
+ <p id="examples-A1PolicyManagement-deletePolicy-description-500" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement500_description = `Internal Server Error`;
+ var responseA1PolicyManagement500_description_break = responseA1PolicyManagement500_description.indexOf('\n');
+ if (responseA1PolicyManagement500_description_break == -1) {
+ $("#examples-A1PolicyManagement-deletePolicy-title-500").text("Status: 500 - " + responseA1PolicyManagement500_description);
+ } else {
+ $("#examples-A1PolicyManagement-deletePolicy-title-500").text("Status: 500 - " + responseA1PolicyManagement500_description.substring(0, responseA1PolicyManagement500_description_break));
+ $("#examples-A1PolicyManagement-deletePolicy-description-500").html(responseA1PolicyManagement500_description.substring(responseA1PolicyManagement500_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-deletePolicy-500" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-deletePolicy-500-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-deletePolicy-500-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-deletePolicy-500-schema">
+ <div id="responses-A1PolicyManagement-deletePolicy-schema-500" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Internal Server Error",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-deletePolicy-500-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-deletePolicy-schema-500');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-deletePolicy-500-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-deletePolicy-title-502"></h3>
+ <p id="examples-A1PolicyManagement-deletePolicy-description-502" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement502_description = `Bad Gateway`;
+ var responseA1PolicyManagement502_description_break = responseA1PolicyManagement502_description.indexOf('\n');
+ if (responseA1PolicyManagement502_description_break == -1) {
+ $("#examples-A1PolicyManagement-deletePolicy-title-502").text("Status: 502 - " + responseA1PolicyManagement502_description);
+ } else {
+ $("#examples-A1PolicyManagement-deletePolicy-title-502").text("Status: 502 - " + responseA1PolicyManagement502_description.substring(0, responseA1PolicyManagement502_description_break));
+ $("#examples-A1PolicyManagement-deletePolicy-description-502").html(responseA1PolicyManagement502_description.substring(responseA1PolicyManagement502_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-deletePolicy-502" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-deletePolicy-502-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-deletePolicy-502-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-deletePolicy-502-schema">
+ <div id="responses-A1PolicyManagement-deletePolicy-schema-502" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Bad Gateway",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-deletePolicy-502-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-deletePolicy-schema-502');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-deletePolicy-502-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-deletePolicy-title-503"></h3>
+ <p id="examples-A1PolicyManagement-deletePolicy-description-503" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement503_description = `Service Unavailable`;
+ var responseA1PolicyManagement503_description_break = responseA1PolicyManagement503_description.indexOf('\n');
+ if (responseA1PolicyManagement503_description_break == -1) {
+ $("#examples-A1PolicyManagement-deletePolicy-title-503").text("Status: 503 - " + responseA1PolicyManagement503_description);
+ } else {
+ $("#examples-A1PolicyManagement-deletePolicy-title-503").text("Status: 503 - " + responseA1PolicyManagement503_description.substring(0, responseA1PolicyManagement503_description_break));
+ $("#examples-A1PolicyManagement-deletePolicy-description-503").html(responseA1PolicyManagement503_description.substring(responseA1PolicyManagement503_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-deletePolicy-503" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-deletePolicy-503-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-deletePolicy-503-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-deletePolicy-503-schema">
+ <div id="responses-A1PolicyManagement-deletePolicy-schema-503" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Service Unavailable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-deletePolicy-503-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-deletePolicy-schema-503');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-deletePolicy-503-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ </article>
+ </div>
+ <hr>
+ <div id="api-A1PolicyManagement-getAllPolicies">
+ <article id="api-A1PolicyManagement-getAllPolicies-0" data-group="User" data-name="getAllPolicies" data-version="0">
+ <div class="pull-left">
+ <h1>getAllPolicies</h1>
+ <p>Query policy identities</p>
+ </div>
+ <div class="pull-right"></div>
+ <div class="clearfix"></div>
+ <p></p>
+ <p class="marked">Returns a list of A1 policies matching given search criteria. <br>If several query parameters are defined, the policies matching all conditions are returned.</p>
+ <p></p>
+ <br />
+ <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/policies</span></code></pre>
+ <p>
+ <h3>Usage and SDK Samples</h3>
+ </p>
+ <ul class="nav nav-tabs nav-tabs-examples">
+ <li class="active"><a href="#examples-A1PolicyManagement-getAllPolicies-0-curl">Curl</a></li>
+ <li class=""><a href="#examples-A1PolicyManagement-getAllPolicies-0-java">Java</a></li>
+ <li class=""><a href="#examples-A1PolicyManagement-getAllPolicies-0-dart">Dart</a></li>
+ <li class=""><a href="#examples-A1PolicyManagement-getAllPolicies-0-android">Android</a></li>
+ <!--<li class=""><a href="#examples-A1PolicyManagement-getAllPolicies-0-groovy">Groovy</a></li>-->
+ <li class=""><a href="#examples-A1PolicyManagement-getAllPolicies-0-objc">Obj-C</a></li>
+ <li class=""><a href="#examples-A1PolicyManagement-getAllPolicies-0-javascript">JavaScript</a></li>
+ <!--<li class=""><a href="#examples-A1PolicyManagement-getAllPolicies-0-angular">Angular</a></li>-->
+ <li class=""><a href="#examples-A1PolicyManagement-getAllPolicies-0-csharp">C#</a></li>
+ <li class=""><a href="#examples-A1PolicyManagement-getAllPolicies-0-php">PHP</a></li>
+ <li class=""><a href="#examples-A1PolicyManagement-getAllPolicies-0-perl">Perl</a></li>
+ <li class=""><a href="#examples-A1PolicyManagement-getAllPolicies-0-python">Python</a></li>
+ <li class=""><a href="#examples-A1PolicyManagement-getAllPolicies-0-rust">Rust</a></li>
+ </ul>
+
+ <div class="tab-content">
+ <div class="tab-pane active" id="examples-A1PolicyManagement-getAllPolicies-0-curl">
+ <pre class="prettyprint"><code class="language-bsh">curl -X GET \
+ -H "Accept: application/json,application/problem+json" \
+ "https://example.com/a1-policy-management/v1/policies?policyTypeId=policyTypeId_example&nearRtRicId=nearRtRicId_example&serviceId=serviceId_example&typeName=typeName_example"
+</code></pre>
+ </div>
+ <div class="tab-pane" id="examples-A1PolicyManagement-getAllPolicies-0-java">
+ <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
+import org.openapitools.client.auth.*;
+import org.openapitools.client.model.*;
+import org.openapitools.client.api.A1PolicyManagementApi;
+
+import java.io.File;
+import java.util.*;
+
+public class A1PolicyManagementApiExample {
+ public static void main(String[] args) {
+
+ // Create an instance of the API class
+ A1PolicyManagementApi apiInstance = new A1PolicyManagementApi();
+ String policyTypeId = policyTypeId_example; // String | Select policies of a given policy type identity.
+ String nearRtRicId = nearRtRicId_example; // String | Select policies of a given Near-RT RIC identity.
+ String serviceId = serviceId_example; // String | Select policies owned by a given service.
+ String typeName = typeName_example; // String | Select policies of types with the given type name (type identity has the format <typename_version>)
+ String accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
+
+ try {
+ array[PolicyInformation] result = apiInstance.getAllPolicies(policyTypeId, nearRtRicId, serviceId, typeName, accept);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling A1PolicyManagementApi#getAllPolicies");
+ e.printStackTrace();
+ }
+ }
+}
+</code></pre>
+ </div>
+
+ <div class="tab-pane" id="examples-A1PolicyManagement-getAllPolicies-0-dart">
+ <pre class="prettyprint"><code class="language-dart">import 'package:openapi/api.dart';
+
+final api_instance = DefaultApi();
+
+final String policyTypeId = new String(); // String | Select policies of a given policy type identity.
+final String nearRtRicId = new String(); // String | Select policies of a given Near-RT RIC identity.
+final String serviceId = new String(); // String | Select policies owned by a given service.
+final String typeName = new String(); // String | Select policies of types with the given type name (type identity has the format <typename_version>)
+final String accept = new String(); // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
+
+try {
+ final result = await api_instance.getAllPolicies(policyTypeId, nearRtRicId, serviceId, typeName, accept);
+ print(result);
+} catch (e) {
+ print('Exception when calling DefaultApi->getAllPolicies: $e\n');
+}
+
+</code></pre>
+ </div>
+
+ <div class="tab-pane" id="examples-A1PolicyManagement-getAllPolicies-0-android">
+ <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.A1PolicyManagementApi;
+
+public class A1PolicyManagementApiExample {
+ public static void main(String[] args) {
+ A1PolicyManagementApi apiInstance = new A1PolicyManagementApi();
+ String policyTypeId = policyTypeId_example; // String | Select policies of a given policy type identity.
+ String nearRtRicId = nearRtRicId_example; // String | Select policies of a given Near-RT RIC identity.
+ String serviceId = serviceId_example; // String | Select policies owned by a given service.
+ String typeName = typeName_example; // String | Select policies of types with the given type name (type identity has the format <typename_version>)
+ String accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
+
+ try {
+ array[PolicyInformation] result = apiInstance.getAllPolicies(policyTypeId, nearRtRicId, serviceId, typeName, accept);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling A1PolicyManagementApi#getAllPolicies");
+ e.printStackTrace();
+ }
+ }
+}</code></pre>
+ </div>
+ <!--
+ <div class="tab-pane" id="examples-A1PolicyManagement-getAllPolicies-0-groovy">
+ <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
+ </div> -->
+ <div class="tab-pane" id="examples-A1PolicyManagement-getAllPolicies-0-objc">
+ <pre class="prettyprint"><code class="language-cpp">
+
+// Create an instance of the API class
+A1PolicyManagementApi *apiInstance = [[A1PolicyManagementApi alloc] init];
+String *policyTypeId = policyTypeId_example; // Select policies of a given policy type identity. (optional) (default to null)
+String *nearRtRicId = nearRtRicId_example; // Select policies of a given Near-RT RIC identity. (optional) (default to null)
+String *serviceId = serviceId_example; // Select policies owned by a given service. (optional) (default to null)
+String *typeName = typeName_example; // Select policies of types with the given type name (type identity has the format <typename_version>) (optional) (default to null)
+String *accept = application/json; // Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. (optional) (default to null)
+
+// Query policy identities
+[apiInstance getAllPoliciesWith:policyTypeId
+ nearRtRicId:nearRtRicId
+ serviceId:serviceId
+ typeName:typeName
+ accept:accept
+ completionHandler: ^(array[PolicyInformation] output, NSError* error) {
+ if (output) {
+ NSLog(@"%@", output);
+ }
+ if (error) {
+ NSLog(@"Error: %@", error);
+ }
+}];
+</code></pre>
+ </div>
+
+ <div class="tab-pane" id="examples-A1PolicyManagement-getAllPolicies-0-javascript">
+ <pre class="prettyprint"><code class="language-js">var A1PolicyManagementApi = require('a1_policy_management_api');
+
+// Create an instance of the API class
+var api = new A1PolicyManagementApi.A1PolicyManagementApi()
+var opts = {
+ 'policyTypeId': policyTypeId_example, // {String} Select policies of a given policy type identity.
+ 'nearRtRicId': nearRtRicId_example, // {String} Select policies of a given Near-RT RIC identity.
+ 'serviceId': serviceId_example, // {String} Select policies owned by a given service.
+ 'typeName': typeName_example, // {String} Select policies of types with the given type name (type identity has the format <typename_version>)
+ 'accept': application/json // {String} Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
+};
+
+var callback = function(error, data, response) {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+};
+api.getAllPolicies(opts, callback);
+</code></pre>
+ </div>
+
+ <!--<div class="tab-pane" id="examples-A1PolicyManagement-getAllPolicies-0-angular">
+ <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
+ </div>-->
+ <div class="tab-pane" id="examples-A1PolicyManagement-getAllPolicies-0-csharp">
+ <pre class="prettyprint"><code class="language-cs">using System;
+using System.Diagnostics;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Client;
+using Org.OpenAPITools.Model;
+
+namespace Example
+{
+ public class getAllPoliciesExample
+ {
+ public void main()
+ {
+
+ // Create an instance of the API class
+ var apiInstance = new A1PolicyManagementApi();
+ var policyTypeId = policyTypeId_example; // String | Select policies of a given policy type identity. (optional) (default to null)
+ var nearRtRicId = nearRtRicId_example; // String | Select policies of a given Near-RT RIC identity. (optional) (default to null)
+ var serviceId = serviceId_example; // String | Select policies owned by a given service. (optional) (default to null)
+ var typeName = typeName_example; // String | Select policies of types with the given type name (type identity has the format <typename_version>) (optional) (default to null)
+ var accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. (optional) (default to null)
+
+ try {
+ // Query policy identities
+ array[PolicyInformation] result = apiInstance.getAllPolicies(policyTypeId, nearRtRicId, serviceId, typeName, accept);
+ Debug.WriteLine(result);
+ } catch (Exception e) {
+ Debug.Print("Exception when calling A1PolicyManagementApi.getAllPolicies: " + e.Message );
+ }
+ }
+ }
+}
+</code></pre>
+ </div>
+
+ <div class="tab-pane" id="examples-A1PolicyManagement-getAllPolicies-0-php">
+ <pre class="prettyprint"><code class="language-php"><?php
+require_once(__DIR__ . '/vendor/autoload.php');
+
+// Create an instance of the API class
+$api_instance = new OpenAPITools\Client\Api\A1PolicyManagementApi();
+$policyTypeId = policyTypeId_example; // String | Select policies of a given policy type identity.
+$nearRtRicId = nearRtRicId_example; // String | Select policies of a given Near-RT RIC identity.
+$serviceId = serviceId_example; // String | Select policies owned by a given service.
+$typeName = typeName_example; // String | Select policies of types with the given type name (type identity has the format <typename_version>)
+$accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
+
+try {
+ $result = $api_instance->getAllPolicies($policyTypeId, $nearRtRicId, $serviceId, $typeName, $accept);
+ print_r($result);
+} catch (Exception $e) {
+ echo 'Exception when calling A1PolicyManagementApi->getAllPolicies: ', $e->getMessage(), PHP_EOL;
+}
+?></code></pre>
+ </div>
+
+ <div class="tab-pane" id="examples-A1PolicyManagement-getAllPolicies-0-perl">
+ <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
+use WWW::OPenAPIClient::Configuration;
+use WWW::OPenAPIClient::A1PolicyManagementApi;
+
+# Create an instance of the API class
+my $api_instance = WWW::OPenAPIClient::A1PolicyManagementApi->new();
+my $policyTypeId = policyTypeId_example; # String | Select policies of a given policy type identity.
+my $nearRtRicId = nearRtRicId_example; # String | Select policies of a given Near-RT RIC identity.
+my $serviceId = serviceId_example; # String | Select policies owned by a given service.
+my $typeName = typeName_example; # String | Select policies of types with the given type name (type identity has the format <typename_version>)
+my $accept = application/json; # String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
+
+eval {
+ my $result = $api_instance->getAllPolicies(policyTypeId => $policyTypeId, nearRtRicId => $nearRtRicId, serviceId => $serviceId, typeName => $typeName, accept => $accept);
+ print Dumper($result);
+};
+if ($@) {
+ warn "Exception when calling A1PolicyManagementApi->getAllPolicies: $@\n";
+}</code></pre>
+ </div>
+
+ <div class="tab-pane" id="examples-A1PolicyManagement-getAllPolicies-0-python">
+ <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
+import time
+import openapi_client
+from openapi_client.rest import ApiException
+from pprint import pprint
+
+# Create an instance of the API class
+api_instance = openapi_client.A1PolicyManagementApi()
+policyTypeId = policyTypeId_example # String | Select policies of a given policy type identity. (optional) (default to null)
+nearRtRicId = nearRtRicId_example # String | Select policies of a given Near-RT RIC identity. (optional) (default to null)
+serviceId = serviceId_example # String | Select policies owned by a given service. (optional) (default to null)
+typeName = typeName_example # String | Select policies of types with the given type name (type identity has the format <typename_version>) (optional) (default to null)
+accept = application/json # String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. (optional) (default to null)
+
+try:
+ # Query policy identities
+ api_response = api_instance.get_all_policies(policyTypeId=policyTypeId, nearRtRicId=nearRtRicId, serviceId=serviceId, typeName=typeName, accept=accept)
+ pprint(api_response)
+except ApiException as e:
+ print("Exception when calling A1PolicyManagementApi->getAllPolicies: %s\n" % e)</code></pre>
+ </div>
+
+ <div class="tab-pane" id="examples-A1PolicyManagement-getAllPolicies-0-rust">
+ <pre class="prettyprint"><code class="language-rust">extern crate A1PolicyManagementApi;
+
+pub fn main() {
+ let policyTypeId = policyTypeId_example; // String
+ let nearRtRicId = nearRtRicId_example; // String
+ let serviceId = serviceId_example; // String
+ let typeName = typeName_example; // String
+ let accept = application/json; // String
+
+ let mut context = A1PolicyManagementApi::Context::default();
+ let result = client.getAllPolicies(policyTypeId, nearRtRicId, serviceId, typeName, accept, &context).wait();
+
+ println!("{:?}", result);
+}
+</code></pre>
+ </div>
+ </div>
+
+ <h2>Scopes</h2>
+ <table>
+
+ </table>
+
+ <h2>Parameters</h2>
+
+
+ <div class="methodsubtabletitle">Header parameters</div>
+ <table id="methodsubtable">
+ <tr>
+ <th width="150px">Name</th>
+ <th>Description</th>
+ </tr>
+ <tr><td style="width:150px;">Accept</td>
+<td>
+
+
+ <div id="d2e199_getAllPolicies_accept">
+ <div class="json-schema-view">
+ <div class="primitive">
+ <span class="type">
+ String
+ </span>
+
+ <div class="inner description marked">
+Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
+ </div>
+ </div>
+ </div>
+ </div>
+</td>
+</tr>
+
+ </table>
+
+
+
+ <div class="methodsubtabletitle">Query parameters</div>
+ <table id="methodsubtable">
+ <tr>
+ <th width="150px">Name</th>
+ <th>Description</th>
+ </tr>
+ <tr><td style="width:150px;">policyTypeId</td>
+<td>
+
+
+ <div id="d2e199_getAllPolicies_policyTypeId">
+ <div class="json-schema-view">
+ <div class="primitive">
+ <span class="type">
+ String
+ </span>
+
+ <div class="inner description marked">
+Select policies of a given policy type identity.
+ </div>
+ </div>
+ </div>
+ </div>
+</td>
+</tr>
+
+ <tr><td style="width:150px;">nearRtRicId</td>
+<td>
+
+
+ <div id="d2e199_getAllPolicies_nearRtRicId">
+ <div class="json-schema-view">
+ <div class="primitive">
+ <span class="type">
+ String
+ </span>
+
+ <div class="inner description marked">
+Select policies of a given Near-RT RIC identity.
+ </div>
+ </div>
+ </div>
+ </div>
+</td>
+</tr>
+
+ <tr><td style="width:150px;">serviceId</td>
+<td>
+
+
+ <div id="d2e199_getAllPolicies_serviceId">
+ <div class="json-schema-view">
+ <div class="primitive">
+ <span class="type">
+ String
+ </span>
+
+ <div class="inner description marked">
+Select policies owned by a given service.
+ </div>
+ </div>
+ </div>
+ </div>
+</td>
+</tr>
+
+ <tr><td style="width:150px;">typeName</td>
+<td>
+
+
+ <div id="d2e199_getAllPolicies_typeName">
+ <div class="json-schema-view">
+ <div class="primitive">
+ <span class="type">
+ String
+ </span>
+
+ <div class="inner description marked">
+Select policies of types with the given type name (type identity has the format <typename_version>)
+ </div>
+ </div>
+ </div>
+ </div>
+</td>
+</tr>
+
+ </table>
+
+ <h2>Responses</h2>
+ <h3 id="examples-A1PolicyManagement-getAllPolicies-title-200"></h3>
+ <p id="examples-A1PolicyManagement-getAllPolicies-description-200" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement200_description = `OK - Policy identities`;
+ var responseA1PolicyManagement200_description_break = responseA1PolicyManagement200_description.indexOf('\n');
+ if (responseA1PolicyManagement200_description_break == -1) {
+ $("#examples-A1PolicyManagement-getAllPolicies-title-200").text("Status: 200 - " + responseA1PolicyManagement200_description);
+ } else {
+ $("#examples-A1PolicyManagement-getAllPolicies-title-200").text("Status: 200 - " + responseA1PolicyManagement200_description.substring(0, responseA1PolicyManagement200_description_break));
+ $("#examples-A1PolicyManagement-getAllPolicies-description-200").html(responseA1PolicyManagement200_description.substring(responseA1PolicyManagement200_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-getAllPolicies-200" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getAllPolicies-200-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-getAllPolicies-200-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getAllPolicies-200-schema">
+ <div id="responses-A1PolicyManagement-getAllPolicies-schema-200" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "OK - Policy identities",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/PolicyInformation"
+ }
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getAllPolicies-200-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getAllPolicies-schema-200');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getAllPolicies-200-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-getAllPolicies-title-400"></h3>
+ <p id="examples-A1PolicyManagement-getAllPolicies-description-400" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement400_description = `Bad Request`;
+ var responseA1PolicyManagement400_description_break = responseA1PolicyManagement400_description.indexOf('\n');
+ if (responseA1PolicyManagement400_description_break == -1) {
+ $("#examples-A1PolicyManagement-getAllPolicies-title-400").text("Status: 400 - " + responseA1PolicyManagement400_description);
+ } else {
+ $("#examples-A1PolicyManagement-getAllPolicies-title-400").text("Status: 400 - " + responseA1PolicyManagement400_description.substring(0, responseA1PolicyManagement400_description_break));
+ $("#examples-A1PolicyManagement-getAllPolicies-description-400").html(responseA1PolicyManagement400_description.substring(responseA1PolicyManagement400_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-getAllPolicies-400" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getAllPolicies-400-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-getAllPolicies-400-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getAllPolicies-400-schema">
+ <div id="responses-A1PolicyManagement-getAllPolicies-schema-400" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Bad Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getAllPolicies-400-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getAllPolicies-schema-400');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getAllPolicies-400-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-getAllPolicies-title-401"></h3>
+ <p id="examples-A1PolicyManagement-getAllPolicies-description-401" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement401_description = `Unauthorized`;
+ var responseA1PolicyManagement401_description_break = responseA1PolicyManagement401_description.indexOf('\n');
+ if (responseA1PolicyManagement401_description_break == -1) {
+ $("#examples-A1PolicyManagement-getAllPolicies-title-401").text("Status: 401 - " + responseA1PolicyManagement401_description);
+ } else {
+ $("#examples-A1PolicyManagement-getAllPolicies-title-401").text("Status: 401 - " + responseA1PolicyManagement401_description.substring(0, responseA1PolicyManagement401_description_break));
+ $("#examples-A1PolicyManagement-getAllPolicies-description-401").html(responseA1PolicyManagement401_description.substring(responseA1PolicyManagement401_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-getAllPolicies-401" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getAllPolicies-401-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-getAllPolicies-401-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getAllPolicies-401-schema">
+ <div id="responses-A1PolicyManagement-getAllPolicies-schema-401" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Unauthorized",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getAllPolicies-401-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getAllPolicies-schema-401');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getAllPolicies-401-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-getAllPolicies-title-403"></h3>
+ <p id="examples-A1PolicyManagement-getAllPolicies-description-403" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement403_description = `Forbidden`;
+ var responseA1PolicyManagement403_description_break = responseA1PolicyManagement403_description.indexOf('\n');
+ if (responseA1PolicyManagement403_description_break == -1) {
+ $("#examples-A1PolicyManagement-getAllPolicies-title-403").text("Status: 403 - " + responseA1PolicyManagement403_description);
+ } else {
+ $("#examples-A1PolicyManagement-getAllPolicies-title-403").text("Status: 403 - " + responseA1PolicyManagement403_description.substring(0, responseA1PolicyManagement403_description_break));
+ $("#examples-A1PolicyManagement-getAllPolicies-description-403").html(responseA1PolicyManagement403_description.substring(responseA1PolicyManagement403_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-getAllPolicies-403" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getAllPolicies-403-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-getAllPolicies-403-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getAllPolicies-403-schema">
+ <div id="responses-A1PolicyManagement-getAllPolicies-schema-403" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Forbidden",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getAllPolicies-403-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getAllPolicies-schema-403');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getAllPolicies-403-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-getAllPolicies-title-404"></h3>
+ <p id="examples-A1PolicyManagement-getAllPolicies-description-404" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement404_description = `Not Found`;
+ var responseA1PolicyManagement404_description_break = responseA1PolicyManagement404_description.indexOf('\n');
+ if (responseA1PolicyManagement404_description_break == -1) {
+ $("#examples-A1PolicyManagement-getAllPolicies-title-404").text("Status: 404 - " + responseA1PolicyManagement404_description);
+ } else {
+ $("#examples-A1PolicyManagement-getAllPolicies-title-404").text("Status: 404 - " + responseA1PolicyManagement404_description.substring(0, responseA1PolicyManagement404_description_break));
+ $("#examples-A1PolicyManagement-getAllPolicies-description-404").html(responseA1PolicyManagement404_description.substring(responseA1PolicyManagement404_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-getAllPolicies-404" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getAllPolicies-404-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-getAllPolicies-404-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getAllPolicies-404-schema">
+ <div id="responses-A1PolicyManagement-getAllPolicies-schema-404" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getAllPolicies-404-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getAllPolicies-schema-404');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getAllPolicies-404-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-getAllPolicies-title-406"></h3>
+ <p id="examples-A1PolicyManagement-getAllPolicies-description-406" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement406_description = `Not Acceptable`;
+ var responseA1PolicyManagement406_description_break = responseA1PolicyManagement406_description.indexOf('\n');
+ if (responseA1PolicyManagement406_description_break == -1) {
+ $("#examples-A1PolicyManagement-getAllPolicies-title-406").text("Status: 406 - " + responseA1PolicyManagement406_description);
+ } else {
+ $("#examples-A1PolicyManagement-getAllPolicies-title-406").text("Status: 406 - " + responseA1PolicyManagement406_description.substring(0, responseA1PolicyManagement406_description_break));
+ $("#examples-A1PolicyManagement-getAllPolicies-description-406").html(responseA1PolicyManagement406_description.substring(responseA1PolicyManagement406_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-getAllPolicies-406" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getAllPolicies-406-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-getAllPolicies-406-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getAllPolicies-406-schema">
+ <div id="responses-A1PolicyManagement-getAllPolicies-schema-406" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Not Acceptable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getAllPolicies-406-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getAllPolicies-schema-406');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getAllPolicies-406-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-getAllPolicies-title-429"></h3>
+ <p id="examples-A1PolicyManagement-getAllPolicies-description-429" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement429_description = `Too Many Request`;
+ var responseA1PolicyManagement429_description_break = responseA1PolicyManagement429_description.indexOf('\n');
+ if (responseA1PolicyManagement429_description_break == -1) {
+ $("#examples-A1PolicyManagement-getAllPolicies-title-429").text("Status: 429 - " + responseA1PolicyManagement429_description);
+ } else {
+ $("#examples-A1PolicyManagement-getAllPolicies-title-429").text("Status: 429 - " + responseA1PolicyManagement429_description.substring(0, responseA1PolicyManagement429_description_break));
+ $("#examples-A1PolicyManagement-getAllPolicies-description-429").html(responseA1PolicyManagement429_description.substring(responseA1PolicyManagement429_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-getAllPolicies-429" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getAllPolicies-429-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-getAllPolicies-429-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getAllPolicies-429-schema">
+ <div id="responses-A1PolicyManagement-getAllPolicies-schema-429" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Too Many Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getAllPolicies-429-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getAllPolicies-schema-429');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getAllPolicies-429-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-getAllPolicies-title-500"></h3>
+ <p id="examples-A1PolicyManagement-getAllPolicies-description-500" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement500_description = `Internal Server Error`;
+ var responseA1PolicyManagement500_description_break = responseA1PolicyManagement500_description.indexOf('\n');
+ if (responseA1PolicyManagement500_description_break == -1) {
+ $("#examples-A1PolicyManagement-getAllPolicies-title-500").text("Status: 500 - " + responseA1PolicyManagement500_description);
+ } else {
+ $("#examples-A1PolicyManagement-getAllPolicies-title-500").text("Status: 500 - " + responseA1PolicyManagement500_description.substring(0, responseA1PolicyManagement500_description_break));
+ $("#examples-A1PolicyManagement-getAllPolicies-description-500").html(responseA1PolicyManagement500_description.substring(responseA1PolicyManagement500_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-getAllPolicies-500" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getAllPolicies-500-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-getAllPolicies-500-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getAllPolicies-500-schema">
+ <div id="responses-A1PolicyManagement-getAllPolicies-schema-500" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Internal Server Error",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getAllPolicies-500-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getAllPolicies-schema-500');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getAllPolicies-500-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-getAllPolicies-title-502"></h3>
+ <p id="examples-A1PolicyManagement-getAllPolicies-description-502" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement502_description = `Bad Gateway`;
+ var responseA1PolicyManagement502_description_break = responseA1PolicyManagement502_description.indexOf('\n');
+ if (responseA1PolicyManagement502_description_break == -1) {
+ $("#examples-A1PolicyManagement-getAllPolicies-title-502").text("Status: 502 - " + responseA1PolicyManagement502_description);
+ } else {
+ $("#examples-A1PolicyManagement-getAllPolicies-title-502").text("Status: 502 - " + responseA1PolicyManagement502_description.substring(0, responseA1PolicyManagement502_description_break));
+ $("#examples-A1PolicyManagement-getAllPolicies-description-502").html(responseA1PolicyManagement502_description.substring(responseA1PolicyManagement502_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-getAllPolicies-502" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getAllPolicies-502-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-getAllPolicies-502-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getAllPolicies-502-schema">
+ <div id="responses-A1PolicyManagement-getAllPolicies-schema-502" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Bad Gateway",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getAllPolicies-502-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getAllPolicies-schema-502');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getAllPolicies-502-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-getAllPolicies-title-503"></h3>
+ <p id="examples-A1PolicyManagement-getAllPolicies-description-503" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement503_description = `Service Unavailable`;
+ var responseA1PolicyManagement503_description_break = responseA1PolicyManagement503_description.indexOf('\n');
+ if (responseA1PolicyManagement503_description_break == -1) {
+ $("#examples-A1PolicyManagement-getAllPolicies-title-503").text("Status: 503 - " + responseA1PolicyManagement503_description);
+ } else {
+ $("#examples-A1PolicyManagement-getAllPolicies-title-503").text("Status: 503 - " + responseA1PolicyManagement503_description.substring(0, responseA1PolicyManagement503_description_break));
+ $("#examples-A1PolicyManagement-getAllPolicies-description-503").html(responseA1PolicyManagement503_description.substring(responseA1PolicyManagement503_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-getAllPolicies-503" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getAllPolicies-503-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-getAllPolicies-503-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getAllPolicies-503-schema">
+ <div id="responses-A1PolicyManagement-getAllPolicies-schema-503" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Service Unavailable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getAllPolicies-503-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getAllPolicies-schema-503');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getAllPolicies-503-schema-data' type='hidden' value=''></input>
+ </div>
</div>
</article>
</div>
@@ -1707,13 +4709,14 @@
<p class="marked">Returns a policy</p>
<p></p>
<br />
- <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/a1-policy/v2/policies/{policy_id}</span></code></pre>
+ <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/policies/{policyId}</span></code></pre>
<p>
<h3>Usage and SDK Samples</h3>
</p>
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="#examples-A1PolicyManagement-getPolicy-0-curl">Curl</a></li>
<li class=""><a href="#examples-A1PolicyManagement-getPolicy-0-java">Java</a></li>
+ <li class=""><a href="#examples-A1PolicyManagement-getPolicy-0-dart">Dart</a></li>
<li class=""><a href="#examples-A1PolicyManagement-getPolicy-0-android">Android</a></li>
<!--<li class=""><a href="#examples-A1PolicyManagement-getPolicy-0-groovy">Groovy</a></li>-->
<li class=""><a href="#examples-A1PolicyManagement-getPolicy-0-objc">Obj-C</a></li>
@@ -1730,7 +4733,7 @@
<div class="tab-pane active" id="examples-A1PolicyManagement-getPolicy-0-curl">
<pre class="prettyprint"><code class="language-bsh">curl -X GET \
-H "Accept: application/json,application/problem+json" \
- "http://localhost/a1-policy/v2/policies/{policy_id}"
+ "https://example.com/a1-policy-management/v1/policies/{policyId}"
</code></pre>
</div>
<div class="tab-pane" id="examples-A1PolicyManagement-getPolicy-0-java">
@@ -1748,9 +4751,10 @@
// Create an instance of the API class
A1PolicyManagementApi apiInstance = new A1PolicyManagementApi();
String policyId = policyId_example; // String |
+ String accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
try {
- policy_info result = apiInstance.getPolicy(policyId);
+ Object result = apiInstance.getPolicy(policyId, accept);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling A1PolicyManagementApi#getPolicy");
@@ -1761,6 +4765,24 @@
</code></pre>
</div>
+ <div class="tab-pane" id="examples-A1PolicyManagement-getPolicy-0-dart">
+ <pre class="prettyprint"><code class="language-dart">import 'package:openapi/api.dart';
+
+final api_instance = DefaultApi();
+
+final String policyId = new String(); // String |
+final String accept = new String(); // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
+
+try {
+ final result = await api_instance.getPolicy(policyId, accept);
+ print(result);
+} catch (e) {
+ print('Exception when calling DefaultApi->getPolicy: $e\n');
+}
+
+</code></pre>
+ </div>
+
<div class="tab-pane" id="examples-A1PolicyManagement-getPolicy-0-android">
<pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.A1PolicyManagementApi;
@@ -1768,9 +4790,10 @@
public static void main(String[] args) {
A1PolicyManagementApi apiInstance = new A1PolicyManagementApi();
String policyId = policyId_example; // String |
+ String accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
try {
- policy_info result = apiInstance.getPolicy(policyId);
+ Object result = apiInstance.getPolicy(policyId, accept);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling A1PolicyManagementApi#getPolicy");
@@ -1789,9 +4812,11 @@
// Create an instance of the API class
A1PolicyManagementApi *apiInstance = [[A1PolicyManagementApi alloc] init];
String *policyId = policyId_example; // (default to null)
+String *accept = application/json; // Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. (optional) (default to null)
[apiInstance getPolicyWith:policyId
- completionHandler: ^(policy_info output, NSError* error) {
+ accept:accept
+ completionHandler: ^(Object output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
@@ -1803,11 +4828,14 @@
</div>
<div class="tab-pane" id="examples-A1PolicyManagement-getPolicy-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
+ <pre class="prettyprint"><code class="language-js">var A1PolicyManagementApi = require('a1_policy_management_api');
// Create an instance of the API class
-var api = new A1PolicyManagementService.A1PolicyManagementApi()
+var api = new A1PolicyManagementApi.A1PolicyManagementApi()
var policyId = policyId_example; // {String}
+var opts = {
+ 'accept': application/json // {String} Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
+};
var callback = function(error, data, response) {
if (error) {
@@ -1816,7 +4844,7 @@
console.log('API called successfully. Returned data: ' + data);
}
};
-api.getPolicy(policyId, callback);
+api.getPolicy(policyId, opts, callback);
</code></pre>
</div>
@@ -1840,9 +4868,10 @@
// Create an instance of the API class
var apiInstance = new A1PolicyManagementApi();
var policyId = policyId_example; // String | (default to null)
+ var accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. (optional) (default to null)
try {
- policy_info result = apiInstance.getPolicy(policyId);
+ Object result = apiInstance.getPolicy(policyId, accept);
Debug.WriteLine(result);
} catch (Exception e) {
Debug.Print("Exception when calling A1PolicyManagementApi.getPolicy: " + e.Message );
@@ -1860,9 +4889,10 @@
// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\A1PolicyManagementApi();
$policyId = policyId_example; // String |
+$accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
try {
- $result = $api_instance->getPolicy($policyId);
+ $result = $api_instance->getPolicy($policyId, $accept);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling A1PolicyManagementApi->getPolicy: ', $e->getMessage(), PHP_EOL;
@@ -1878,9 +4908,10 @@
# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::A1PolicyManagementApi->new();
my $policyId = policyId_example; # String |
+my $accept = application/json; # String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
eval {
- my $result = $api_instance->getPolicy(policyId => $policyId);
+ my $result = $api_instance->getPolicy(policyId => $policyId, accept => $accept);
print Dumper($result);
};
if ($@) {
@@ -1898,9 +4929,10 @@
# Create an instance of the API class
api_instance = openapi_client.A1PolicyManagementApi()
policyId = policyId_example # String | (default to null)
+accept = application/json # String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. (optional) (default to null)
try:
- api_response = api_instance.get_policy(policyId)
+ api_response = api_instance.get_policy(policyId, accept=accept)
pprint(api_response)
except ApiException as e:
print("Exception when calling A1PolicyManagementApi->getPolicy: %s\n" % e)</code></pre>
@@ -1911,9 +4943,10 @@
pub fn main() {
let policyId = policyId_example; // String
+ let accept = application/json; // String
let mut context = A1PolicyManagementApi::Context::default();
- let result = client.getPolicy(policyId, &context).wait();
+ let result = client.getPolicy(policyId, accept, &context).wait();
println!("{:?}", result);
}
@@ -1934,7 +4967,7 @@
<th width="150px">Name</th>
<th>Description</th>
</tr>
- <tr><td style="width:150px;">policy_id*</td>
+ <tr><td style="width:150px;">policyId*</td>
<td>
@@ -1956,6 +4989,33 @@
</table>
+ <div class="methodsubtabletitle">Header parameters</div>
+ <table id="methodsubtable">
+ <tr>
+ <th width="150px">Name</th>
+ <th>Description</th>
+ </tr>
+ <tr><td style="width:150px;">Accept</td>
+<td>
+
+
+ <div id="d2e199_getPolicy_accept">
+ <div class="json-schema-view">
+ <div class="primitive">
+ <span class="type">
+ String
+ </span>
+
+ <div class="inner description marked">
+Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
+ </div>
+ </div>
+ </div>
+ </div>
+</td>
+</tr>
+
+ </table>
@@ -1987,41 +5047,288 @@
<div class="tab-content" id="responses-A1PolicyManagement-getPolicy-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicy-200-schema">
- <div id="responses-A1PolicyManagement-getPolicy-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicy-200-schema">
+ <div id="responses-A1PolicyManagement-getPolicy-schema-200" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "OK - Policy found",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/PolicyObject"
+ },
+ "examples" : {
+ "policyObject" : {
+ "$ref" : "#/components/examples/PolicyObject"
+ }
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicy-200-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicy-schema-200');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getPolicy-200-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-getPolicy-title-400"></h3>
+ <p id="examples-A1PolicyManagement-getPolicy-description-400" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement400_description = `Bad Request`;
+ var responseA1PolicyManagement400_description_break = responseA1PolicyManagement400_description.indexOf('\n');
+ if (responseA1PolicyManagement400_description_break == -1) {
+ $("#examples-A1PolicyManagement-getPolicy-title-400").text("Status: 400 - " + responseA1PolicyManagement400_description);
+ } else {
+ $("#examples-A1PolicyManagement-getPolicy-title-400").text("Status: 400 - " + responseA1PolicyManagement400_description.substring(0, responseA1PolicyManagement400_description_break));
+ $("#examples-A1PolicyManagement-getPolicy-description-400").html(responseA1PolicyManagement400_description.substring(responseA1PolicyManagement400_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-getPolicy-400" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicy-400-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-getPolicy-400-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicy-400-schema">
+ <div id="responses-A1PolicyManagement-getPolicy-schema-400" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Bad Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
});
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-A1PolicyManagement-getPolicy-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-A1PolicyManagement-getPolicy-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-A1PolicyManagement-getPolicy-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicy-400-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicy-schema-400');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-A1PolicyManagement-getPolicy-400-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-getPolicy-title-401"></h3>
+ <p id="examples-A1PolicyManagement-getPolicy-description-401" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement401_description = `Unauthorized`;
+ var responseA1PolicyManagement401_description_break = responseA1PolicyManagement401_description.indexOf('\n');
+ if (responseA1PolicyManagement401_description_break == -1) {
+ $("#examples-A1PolicyManagement-getPolicy-title-401").text("Status: 401 - " + responseA1PolicyManagement401_description);
+ } else {
+ $("#examples-A1PolicyManagement-getPolicy-title-401").text("Status: 401 - " + responseA1PolicyManagement401_description.substring(0, responseA1PolicyManagement401_description_break));
+ $("#examples-A1PolicyManagement-getPolicy-description-401").html(responseA1PolicyManagement401_description.substring(responseA1PolicyManagement401_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-getPolicy-401" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicy-401-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-getPolicy-401-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicy-401-schema">
+ <div id="responses-A1PolicyManagement-getPolicy-schema-401" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Unauthorized",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicy-401-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicy-schema-401');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getPolicy-401-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-getPolicy-title-403"></h3>
+ <p id="examples-A1PolicyManagement-getPolicy-description-403" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement403_description = `Forbidden`;
+ var responseA1PolicyManagement403_description_break = responseA1PolicyManagement403_description.indexOf('\n');
+ if (responseA1PolicyManagement403_description_break == -1) {
+ $("#examples-A1PolicyManagement-getPolicy-title-403").text("Status: 403 - " + responseA1PolicyManagement403_description);
+ } else {
+ $("#examples-A1PolicyManagement-getPolicy-title-403").text("Status: 403 - " + responseA1PolicyManagement403_description.substring(0, responseA1PolicyManagement403_description_break));
+ $("#examples-A1PolicyManagement-getPolicy-description-403").html(responseA1PolicyManagement403_description.substring(responseA1PolicyManagement403_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-getPolicy-403" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicy-403-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-getPolicy-403-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicy-403-schema">
+ <div id="responses-A1PolicyManagement-getPolicy-schema-403" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Forbidden",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicy-403-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicy-schema-403');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getPolicy-403-schema-data' type='hidden' value=''></input>
+ </div>
</div>
<h3 id="examples-A1PolicyManagement-getPolicy-title-404"></h3>
<p id="examples-A1PolicyManagement-getPolicy-description-404" class="marked"></p>
@@ -2038,394 +5345,84 @@
<ul id="responses-detail-A1PolicyManagement-getPolicy-404" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicy-404-schema">Schema</a>
+ </li>
+
+
</ul>
<div class="tab-content" id="responses-A1PolicyManagement-getPolicy-404-wrapper" style='margin-bottom: 10px;'>
- </div>
- </article>
- </div>
- <hr>
- <div id="api-A1PolicyManagement-getPolicyIds">
- <article id="api-A1PolicyManagement-getPolicyIds-0" data-group="User" data-name="getPolicyIds" data-version="0">
- <div class="pull-left">
- <h1>getPolicyIds</h1>
- <p>Query policy identities</p>
- </div>
- <div class="pull-right"></div>
- <div class="clearfix"></div>
- <p></p>
- <p class="marked">Returns a list of A1 policies matching given search criteria. <br>If several query parameters are defined, the policies matching all conditions are returned.</p>
- <p></p>
- <br />
- <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/a1-policy/v2/policies</span></code></pre>
- <p>
- <h3>Usage and SDK Samples</h3>
- </p>
- <ul class="nav nav-tabs nav-tabs-examples">
- <li class="active"><a href="#examples-A1PolicyManagement-getPolicyIds-0-curl">Curl</a></li>
- <li class=""><a href="#examples-A1PolicyManagement-getPolicyIds-0-java">Java</a></li>
- <li class=""><a href="#examples-A1PolicyManagement-getPolicyIds-0-android">Android</a></li>
- <!--<li class=""><a href="#examples-A1PolicyManagement-getPolicyIds-0-groovy">Groovy</a></li>-->
- <li class=""><a href="#examples-A1PolicyManagement-getPolicyIds-0-objc">Obj-C</a></li>
- <li class=""><a href="#examples-A1PolicyManagement-getPolicyIds-0-javascript">JavaScript</a></li>
- <!--<li class=""><a href="#examples-A1PolicyManagement-getPolicyIds-0-angular">Angular</a></li>-->
- <li class=""><a href="#examples-A1PolicyManagement-getPolicyIds-0-csharp">C#</a></li>
- <li class=""><a href="#examples-A1PolicyManagement-getPolicyIds-0-php">PHP</a></li>
- <li class=""><a href="#examples-A1PolicyManagement-getPolicyIds-0-perl">Perl</a></li>
- <li class=""><a href="#examples-A1PolicyManagement-getPolicyIds-0-python">Python</a></li>
- <li class=""><a href="#examples-A1PolicyManagement-getPolicyIds-0-rust">Rust</a></li>
- </ul>
-
- <div class="tab-content">
- <div class="tab-pane active" id="examples-A1PolicyManagement-getPolicyIds-0-curl">
- <pre class="prettyprint"><code class="language-bsh">curl -X GET \
- -H "Accept: application/json,application/problem+json" \
- "http://localhost/a1-policy/v2/policies?policytype_id=policytypeId_example&ric_id=ricId_example&service_id=serviceId_example&type_name=typeName_example"
-</code></pre>
- </div>
- <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyIds-0-java">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
-import org.openapitools.client.auth.*;
-import org.openapitools.client.model.*;
-import org.openapitools.client.api.A1PolicyManagementApi;
-
-import java.io.File;
-import java.util.*;
-
-public class A1PolicyManagementApiExample {
- public static void main(String[] args) {
-
- // Create an instance of the API class
- A1PolicyManagementApi apiInstance = new A1PolicyManagementApi();
- String policytypeId = policytypeId_example; // String | Select policies of a given policy type identity.
- String ricId = ricId_example; // String | Select policies of a given Near-RT RIC identity.
- String serviceId = serviceId_example; // String | Select policies owned by a given service.
- String typeName = typeName_example; // String | Select policies of types with the given type name (type identity has the format <typename_version>)
-
- try {
- policy_id_list result = apiInstance.getPolicyIds(policytypeId, ricId, serviceId, typeName);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling A1PolicyManagementApi#getPolicyIds");
- e.printStackTrace();
- }
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicy-404-schema">
+ <div id="responses-A1PolicyManagement-getPolicy-schema-404" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
}
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyIds-0-android">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.A1PolicyManagementApi;
-
-public class A1PolicyManagementApiExample {
- public static void main(String[] args) {
- A1PolicyManagementApi apiInstance = new A1PolicyManagementApi();
- String policytypeId = policytypeId_example; // String | Select policies of a given policy type identity.
- String ricId = ricId_example; // String | Select policies of a given Near-RT RIC identity.
- String serviceId = serviceId_example; // String | Select policies owned by a given service.
- String typeName = typeName_example; // String | Select policies of types with the given type name (type identity has the format <typename_version>)
-
- try {
- policy_id_list result = apiInstance.getPolicyIds(policytypeId, ricId, serviceId, typeName);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling A1PolicyManagementApi#getPolicyIds");
- e.printStackTrace();
- }
- }
-}</code></pre>
- </div>
- <!--
- <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyIds-0-groovy">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div> -->
- <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyIds-0-objc">
- <pre class="prettyprint"><code class="language-cpp">
-
-// Create an instance of the API class
-A1PolicyManagementApi *apiInstance = [[A1PolicyManagementApi alloc] init];
-String *policytypeId = policytypeId_example; // Select policies of a given policy type identity. (optional) (default to null)
-String *ricId = ricId_example; // Select policies of a given Near-RT RIC identity. (optional) (default to null)
-String *serviceId = serviceId_example; // Select policies owned by a given service. (optional) (default to null)
-String *typeName = typeName_example; // Select policies of types with the given type name (type identity has the format <typename_version>) (optional) (default to null)
-
-// Query policy identities
-[apiInstance getPolicyIdsWith:policytypeId
- ricId:ricId
- serviceId:serviceId
- typeName:typeName
- completionHandler: ^(policy_id_list output, NSError* error) {
- if (output) {
- NSLog(@"%@", output);
- }
- if (error) {
- NSLog(@"Error: %@", error);
- }
-}];
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyIds-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
-
-// Create an instance of the API class
-var api = new A1PolicyManagementService.A1PolicyManagementApi()
-var opts = {
- 'policytypeId': policytypeId_example, // {String} Select policies of a given policy type identity.
- 'ricId': ricId_example, // {String} Select policies of a given Near-RT RIC identity.
- 'serviceId': serviceId_example, // {String} Select policies owned by a given service.
- 'typeName': typeName_example // {String} Select policies of types with the given type name (type identity has the format <typename_version>)
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
}
};
-api.getPolicyIds(opts, callback);
-</code></pre>
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicy-404-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicy-schema-404');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getPolicy-404-schema-data' type='hidden' value=''></input>
+ </div>
</div>
-
- <!--<div class="tab-pane" id="examples-A1PolicyManagement-getPolicyIds-0-angular">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div>-->
- <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyIds-0-csharp">
- <pre class="prettyprint"><code class="language-cs">using System;
-using System.Diagnostics;
-using Org.OpenAPITools.Api;
-using Org.OpenAPITools.Client;
-using Org.OpenAPITools.Model;
-
-namespace Example
-{
- public class getPolicyIdsExample
- {
- public void main()
- {
-
- // Create an instance of the API class
- var apiInstance = new A1PolicyManagementApi();
- var policytypeId = policytypeId_example; // String | Select policies of a given policy type identity. (optional) (default to null)
- var ricId = ricId_example; // String | Select policies of a given Near-RT RIC identity. (optional) (default to null)
- var serviceId = serviceId_example; // String | Select policies owned by a given service. (optional) (default to null)
- var typeName = typeName_example; // String | Select policies of types with the given type name (type identity has the format <typename_version>) (optional) (default to null)
-
- try {
- // Query policy identities
- policy_id_list result = apiInstance.getPolicyIds(policytypeId, ricId, serviceId, typeName);
- Debug.WriteLine(result);
- } catch (Exception e) {
- Debug.Print("Exception when calling A1PolicyManagementApi.getPolicyIds: " + e.Message );
- }
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyIds-0-php">
- <pre class="prettyprint"><code class="language-php"><?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-// Create an instance of the API class
-$api_instance = new OpenAPITools\Client\Api\A1PolicyManagementApi();
-$policytypeId = policytypeId_example; // String | Select policies of a given policy type identity.
-$ricId = ricId_example; // String | Select policies of a given Near-RT RIC identity.
-$serviceId = serviceId_example; // String | Select policies owned by a given service.
-$typeName = typeName_example; // String | Select policies of types with the given type name (type identity has the format <typename_version>)
-
-try {
- $result = $api_instance->getPolicyIds($policytypeId, $ricId, $serviceId, $typeName);
- print_r($result);
-} catch (Exception $e) {
- echo 'Exception when calling A1PolicyManagementApi->getPolicyIds: ', $e->getMessage(), PHP_EOL;
-}
-?></code></pre>
- </div>
-
- <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyIds-0-perl">
- <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
-use WWW::OPenAPIClient::Configuration;
-use WWW::OPenAPIClient::A1PolicyManagementApi;
-
-# Create an instance of the API class
-my $api_instance = WWW::OPenAPIClient::A1PolicyManagementApi->new();
-my $policytypeId = policytypeId_example; # String | Select policies of a given policy type identity.
-my $ricId = ricId_example; # String | Select policies of a given Near-RT RIC identity.
-my $serviceId = serviceId_example; # String | Select policies owned by a given service.
-my $typeName = typeName_example; # String | Select policies of types with the given type name (type identity has the format <typename_version>)
-
-eval {
- my $result = $api_instance->getPolicyIds(policytypeId => $policytypeId, ricId => $ricId, serviceId => $serviceId, typeName => $typeName);
- print Dumper($result);
-};
-if ($@) {
- warn "Exception when calling A1PolicyManagementApi->getPolicyIds: $@\n";
-}</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyIds-0-python">
- <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
-import time
-import openapi_client
-from openapi_client.rest import ApiException
-from pprint import pprint
-
-# Create an instance of the API class
-api_instance = openapi_client.A1PolicyManagementApi()
-policytypeId = policytypeId_example # String | Select policies of a given policy type identity. (optional) (default to null)
-ricId = ricId_example # String | Select policies of a given Near-RT RIC identity. (optional) (default to null)
-serviceId = serviceId_example # String | Select policies owned by a given service. (optional) (default to null)
-typeName = typeName_example # String | Select policies of types with the given type name (type identity has the format <typename_version>) (optional) (default to null)
-
-try:
- # Query policy identities
- api_response = api_instance.get_policy_ids(policytypeId=policytypeId, ricId=ricId, serviceId=serviceId, typeName=typeName)
- pprint(api_response)
-except ApiException as e:
- print("Exception when calling A1PolicyManagementApi->getPolicyIds: %s\n" % e)</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyIds-0-rust">
- <pre class="prettyprint"><code class="language-rust">extern crate A1PolicyManagementApi;
-
-pub fn main() {
- let policytypeId = policytypeId_example; // String
- let ricId = ricId_example; // String
- let serviceId = serviceId_example; // String
- let typeName = typeName_example; // String
-
- let mut context = A1PolicyManagementApi::Context::default();
- let result = client.getPolicyIds(policytypeId, ricId, serviceId, typeName, &context).wait();
-
- println!("{:?}", result);
-}
-</code></pre>
- </div>
- </div>
-
- <h2>Scopes</h2>
- <table>
-
- </table>
-
- <h2>Parameters</h2>
-
-
-
-
-
- <div class="methodsubtabletitle">Query parameters</div>
- <table id="methodsubtable">
- <tr>
- <th width="150px">Name</th>
- <th>Description</th>
- </tr>
- <tr><td style="width:150px;">policytype_id</td>
-<td>
-
-
- <div id="d2e199_getPolicyIds_policytypeId">
- <div class="json-schema-view">
- <div class="primitive">
- <span class="type">
- String
- </span>
-
- <div class="inner description marked">
-Select policies of a given policy type identity.
- </div>
- </div>
- </div>
- </div>
-</td>
-</tr>
-
- <tr><td style="width:150px;">ric_id</td>
-<td>
-
-
- <div id="d2e199_getPolicyIds_ricId">
- <div class="json-schema-view">
- <div class="primitive">
- <span class="type">
- String
- </span>
-
- <div class="inner description marked">
-Select policies of a given Near-RT RIC identity.
- </div>
- </div>
- </div>
- </div>
-</td>
-</tr>
-
- <tr><td style="width:150px;">service_id</td>
-<td>
-
-
- <div id="d2e199_getPolicyIds_serviceId">
- <div class="json-schema-view">
- <div class="primitive">
- <span class="type">
- String
- </span>
-
- <div class="inner description marked">
-Select policies owned by a given service.
- </div>
- </div>
- </div>
- </div>
-</td>
-</tr>
-
- <tr><td style="width:150px;">type_name</td>
-<td>
-
-
- <div id="d2e199_getPolicyIds_typeName">
- <div class="json-schema-view">
- <div class="primitive">
- <span class="type">
- String
- </span>
-
- <div class="inner description marked">
-Select policies of types with the given type name (type identity has the format <typename_version>)
- </div>
- </div>
- </div>
- </div>
-</td>
-</tr>
-
- </table>
-
- <h2>Responses</h2>
- <h3 id="examples-A1PolicyManagement-getPolicyIds-title-200"></h3>
- <p id="examples-A1PolicyManagement-getPolicyIds-description-200" class="marked"></p>
+ <h3 id="examples-A1PolicyManagement-getPolicy-title-406"></h3>
+ <p id="examples-A1PolicyManagement-getPolicy-description-406" class="marked"></p>
<script>
- var responseA1PolicyManagement200_description = `OK - Policy identities`;
- var responseA1PolicyManagement200_description_break = responseA1PolicyManagement200_description.indexOf('\n');
- if (responseA1PolicyManagement200_description_break == -1) {
- $("#examples-A1PolicyManagement-getPolicyIds-title-200").text("Status: 200 - " + responseA1PolicyManagement200_description);
+ var responseA1PolicyManagement406_description = `Not Acceptable`;
+ var responseA1PolicyManagement406_description_break = responseA1PolicyManagement406_description.indexOf('\n');
+ if (responseA1PolicyManagement406_description_break == -1) {
+ $("#examples-A1PolicyManagement-getPolicy-title-406").text("Status: 406 - " + responseA1PolicyManagement406_description);
} else {
- $("#examples-A1PolicyManagement-getPolicyIds-title-200").text("Status: 200 - " + responseA1PolicyManagement200_description.substring(0, responseA1PolicyManagement200_description_break));
- $("#examples-A1PolicyManagement-getPolicyIds-description-200").html(responseA1PolicyManagement200_description.substring(responseA1PolicyManagement200_description_break));
+ $("#examples-A1PolicyManagement-getPolicy-title-406").text("Status: 406 - " + responseA1PolicyManagement406_description.substring(0, responseA1PolicyManagement406_description_break));
+ $("#examples-A1PolicyManagement-getPolicy-description-406").html(responseA1PolicyManagement406_description.substring(responseA1PolicyManagement406_description_break));
}
</script>
- <ul id="responses-detail-A1PolicyManagement-getPolicyIds-200" class="nav nav-tabs nav-tabs-examples" >
+ <ul id="responses-detail-A1PolicyManagement-getPolicy-406" class="nav nav-tabs nav-tabs-examples" >
<li class="active">
- <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicyIds-200-schema">Schema</a>
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicy-406-schema">Schema</a>
</li>
@@ -2434,446 +5431,74 @@
</ul>
- <div class="tab-content" id="responses-A1PolicyManagement-getPolicyIds-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyIds-200-schema">
- <div id="responses-A1PolicyManagement-getPolicyIds-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
- Object.keys(schema.properties).forEach( (item) => {
- if (schema.properties[item].$ref != null) {
- schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
- }
- });
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
- }
-
- var view = new JSONSchemaView(schema, 3);
- $('#responses-A1PolicyManagement-getPolicyIds-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-A1PolicyManagement-getPolicyIds-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-A1PolicyManagement-getPolicyIds-200-schema-data' type='hidden' value=''></input>
- </div>
- </div>
- <h3 id="examples-A1PolicyManagement-getPolicyIds-title-404"></h3>
- <p id="examples-A1PolicyManagement-getPolicyIds-description-404" class="marked"></p>
- <script>
- var responseA1PolicyManagement404_description = `Not Found`;
- var responseA1PolicyManagement404_description_break = responseA1PolicyManagement404_description.indexOf('\n');
- if (responseA1PolicyManagement404_description_break == -1) {
- $("#examples-A1PolicyManagement-getPolicyIds-title-404").text("Status: 404 - " + responseA1PolicyManagement404_description);
- } else {
- $("#examples-A1PolicyManagement-getPolicyIds-title-404").text("Status: 404 - " + responseA1PolicyManagement404_description.substring(0, responseA1PolicyManagement404_description_break));
- $("#examples-A1PolicyManagement-getPolicyIds-description-404").html(responseA1PolicyManagement404_description.substring(responseA1PolicyManagement404_description_break));
- }
- </script>
-
-
- <ul id="responses-detail-A1PolicyManagement-getPolicyIds-404" class="nav nav-tabs nav-tabs-examples" >
-
-
- </ul>
-
-
- <div class="tab-content" id="responses-A1PolicyManagement-getPolicyIds-404-wrapper" style='margin-bottom: 10px;'>
- </div>
- </article>
- </div>
- <hr>
- <div id="api-A1PolicyManagement-getPolicyInstances">
- <article id="api-A1PolicyManagement-getPolicyInstances-0" data-group="User" data-name="getPolicyInstances" data-version="0">
- <div class="pull-left">
- <h1>getPolicyInstances</h1>
- <p>Query for A1 policy instances</p>
- </div>
- <div class="pull-right"></div>
- <div class="clearfix"></div>
- <p></p>
- <p class="marked">Returns a list of A1 policies matching given search criteria. <br>If several query parameters are defined, the policies matching all conditions are returned.</p>
- <p></p>
- <br />
- <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/a1-policy/v2/policy-instances</span></code></pre>
- <p>
- <h3>Usage and SDK Samples</h3>
- </p>
- <ul class="nav nav-tabs nav-tabs-examples">
- <li class="active"><a href="#examples-A1PolicyManagement-getPolicyInstances-0-curl">Curl</a></li>
- <li class=""><a href="#examples-A1PolicyManagement-getPolicyInstances-0-java">Java</a></li>
- <li class=""><a href="#examples-A1PolicyManagement-getPolicyInstances-0-android">Android</a></li>
- <!--<li class=""><a href="#examples-A1PolicyManagement-getPolicyInstances-0-groovy">Groovy</a></li>-->
- <li class=""><a href="#examples-A1PolicyManagement-getPolicyInstances-0-objc">Obj-C</a></li>
- <li class=""><a href="#examples-A1PolicyManagement-getPolicyInstances-0-javascript">JavaScript</a></li>
- <!--<li class=""><a href="#examples-A1PolicyManagement-getPolicyInstances-0-angular">Angular</a></li>-->
- <li class=""><a href="#examples-A1PolicyManagement-getPolicyInstances-0-csharp">C#</a></li>
- <li class=""><a href="#examples-A1PolicyManagement-getPolicyInstances-0-php">PHP</a></li>
- <li class=""><a href="#examples-A1PolicyManagement-getPolicyInstances-0-perl">Perl</a></li>
- <li class=""><a href="#examples-A1PolicyManagement-getPolicyInstances-0-python">Python</a></li>
- <li class=""><a href="#examples-A1PolicyManagement-getPolicyInstances-0-rust">Rust</a></li>
- </ul>
-
- <div class="tab-content">
- <div class="tab-pane active" id="examples-A1PolicyManagement-getPolicyInstances-0-curl">
- <pre class="prettyprint"><code class="language-bsh">curl -X GET \
- -H "Accept: application/json" \
- "http://localhost/a1-policy/v2/policy-instances?policytype_id=policytypeId_example&ric_id=ricId_example&service_id=serviceId_example&type_name=typeName_example"
-</code></pre>
- </div>
- <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyInstances-0-java">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
-import org.openapitools.client.auth.*;
-import org.openapitools.client.model.*;
-import org.openapitools.client.api.A1PolicyManagementApi;
-
-import java.io.File;
-import java.util.*;
-
-public class A1PolicyManagementApiExample {
- public static void main(String[] args) {
-
- // Create an instance of the API class
- A1PolicyManagementApi apiInstance = new A1PolicyManagementApi();
- String policytypeId = policytypeId_example; // String | Select policies with a given type identity.
- String ricId = ricId_example; // String | Select policies for a given Near-RT RIC identity.
- String serviceId = serviceId_example; // String | Select policies owned by a given service.
- String typeName = typeName_example; // String | Select policies of a given type name (type identity has the format <typename_version>)
-
- try {
- policy_info_list result = apiInstance.getPolicyInstances(policytypeId, ricId, serviceId, typeName);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling A1PolicyManagementApi#getPolicyInstances");
- e.printStackTrace();
- }
+ <div class="tab-content" id="responses-A1PolicyManagement-getPolicy-406-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicy-406-schema">
+ <div id="responses-A1PolicyManagement-getPolicy-schema-406" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Not Acceptable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
}
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyInstances-0-android">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.A1PolicyManagementApi;
-
-public class A1PolicyManagementApiExample {
- public static void main(String[] args) {
- A1PolicyManagementApi apiInstance = new A1PolicyManagementApi();
- String policytypeId = policytypeId_example; // String | Select policies with a given type identity.
- String ricId = ricId_example; // String | Select policies for a given Near-RT RIC identity.
- String serviceId = serviceId_example; // String | Select policies owned by a given service.
- String typeName = typeName_example; // String | Select policies of a given type name (type identity has the format <typename_version>)
-
- try {
- policy_info_list result = apiInstance.getPolicyInstances(policytypeId, ricId, serviceId, typeName);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling A1PolicyManagementApi#getPolicyInstances");
- e.printStackTrace();
- }
- }
-}</code></pre>
- </div>
- <!--
- <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyInstances-0-groovy">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div> -->
- <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyInstances-0-objc">
- <pre class="prettyprint"><code class="language-cpp">
-
-// Create an instance of the API class
-A1PolicyManagementApi *apiInstance = [[A1PolicyManagementApi alloc] init];
-String *policytypeId = policytypeId_example; // Select policies with a given type identity. (optional) (default to null)
-String *ricId = ricId_example; // Select policies for a given Near-RT RIC identity. (optional) (default to null)
-String *serviceId = serviceId_example; // Select policies owned by a given service. (optional) (default to null)
-String *typeName = typeName_example; // Select policies of a given type name (type identity has the format <typename_version>) (optional) (default to null)
-
-// Query for A1 policy instances
-[apiInstance getPolicyInstancesWith:policytypeId
- ricId:ricId
- serviceId:serviceId
- typeName:typeName
- completionHandler: ^(policy_info_list output, NSError* error) {
- if (output) {
- NSLog(@"%@", output);
- }
- if (error) {
- NSLog(@"Error: %@", error);
- }
-}];
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyInstances-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
-
-// Create an instance of the API class
-var api = new A1PolicyManagementService.A1PolicyManagementApi()
-var opts = {
- 'policytypeId': policytypeId_example, // {String} Select policies with a given type identity.
- 'ricId': ricId_example, // {String} Select policies for a given Near-RT RIC identity.
- 'serviceId': serviceId_example, // {String} Select policies owned by a given service.
- 'typeName': typeName_example // {String} Select policies of a given type name (type identity has the format <typename_version>)
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
}
};
-api.getPolicyInstances(opts, callback);
-</code></pre>
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicy-406-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicy-schema-406');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getPolicy-406-schema-data' type='hidden' value=''></input>
+ </div>
</div>
-
- <!--<div class="tab-pane" id="examples-A1PolicyManagement-getPolicyInstances-0-angular">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div>-->
- <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyInstances-0-csharp">
- <pre class="prettyprint"><code class="language-cs">using System;
-using System.Diagnostics;
-using Org.OpenAPITools.Api;
-using Org.OpenAPITools.Client;
-using Org.OpenAPITools.Model;
-
-namespace Example
-{
- public class getPolicyInstancesExample
- {
- public void main()
- {
-
- // Create an instance of the API class
- var apiInstance = new A1PolicyManagementApi();
- var policytypeId = policytypeId_example; // String | Select policies with a given type identity. (optional) (default to null)
- var ricId = ricId_example; // String | Select policies for a given Near-RT RIC identity. (optional) (default to null)
- var serviceId = serviceId_example; // String | Select policies owned by a given service. (optional) (default to null)
- var typeName = typeName_example; // String | Select policies of a given type name (type identity has the format <typename_version>) (optional) (default to null)
-
- try {
- // Query for A1 policy instances
- policy_info_list result = apiInstance.getPolicyInstances(policytypeId, ricId, serviceId, typeName);
- Debug.WriteLine(result);
- } catch (Exception e) {
- Debug.Print("Exception when calling A1PolicyManagementApi.getPolicyInstances: " + e.Message );
- }
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyInstances-0-php">
- <pre class="prettyprint"><code class="language-php"><?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-// Create an instance of the API class
-$api_instance = new OpenAPITools\Client\Api\A1PolicyManagementApi();
-$policytypeId = policytypeId_example; // String | Select policies with a given type identity.
-$ricId = ricId_example; // String | Select policies for a given Near-RT RIC identity.
-$serviceId = serviceId_example; // String | Select policies owned by a given service.
-$typeName = typeName_example; // String | Select policies of a given type name (type identity has the format <typename_version>)
-
-try {
- $result = $api_instance->getPolicyInstances($policytypeId, $ricId, $serviceId, $typeName);
- print_r($result);
-} catch (Exception $e) {
- echo 'Exception when calling A1PolicyManagementApi->getPolicyInstances: ', $e->getMessage(), PHP_EOL;
-}
-?></code></pre>
- </div>
-
- <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyInstances-0-perl">
- <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
-use WWW::OPenAPIClient::Configuration;
-use WWW::OPenAPIClient::A1PolicyManagementApi;
-
-# Create an instance of the API class
-my $api_instance = WWW::OPenAPIClient::A1PolicyManagementApi->new();
-my $policytypeId = policytypeId_example; # String | Select policies with a given type identity.
-my $ricId = ricId_example; # String | Select policies for a given Near-RT RIC identity.
-my $serviceId = serviceId_example; # String | Select policies owned by a given service.
-my $typeName = typeName_example; # String | Select policies of a given type name (type identity has the format <typename_version>)
-
-eval {
- my $result = $api_instance->getPolicyInstances(policytypeId => $policytypeId, ricId => $ricId, serviceId => $serviceId, typeName => $typeName);
- print Dumper($result);
-};
-if ($@) {
- warn "Exception when calling A1PolicyManagementApi->getPolicyInstances: $@\n";
-}</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyInstances-0-python">
- <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
-import time
-import openapi_client
-from openapi_client.rest import ApiException
-from pprint import pprint
-
-# Create an instance of the API class
-api_instance = openapi_client.A1PolicyManagementApi()
-policytypeId = policytypeId_example # String | Select policies with a given type identity. (optional) (default to null)
-ricId = ricId_example # String | Select policies for a given Near-RT RIC identity. (optional) (default to null)
-serviceId = serviceId_example # String | Select policies owned by a given service. (optional) (default to null)
-typeName = typeName_example # String | Select policies of a given type name (type identity has the format <typename_version>) (optional) (default to null)
-
-try:
- # Query for A1 policy instances
- api_response = api_instance.get_policy_instances(policytypeId=policytypeId, ricId=ricId, serviceId=serviceId, typeName=typeName)
- pprint(api_response)
-except ApiException as e:
- print("Exception when calling A1PolicyManagementApi->getPolicyInstances: %s\n" % e)</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyInstances-0-rust">
- <pre class="prettyprint"><code class="language-rust">extern crate A1PolicyManagementApi;
-
-pub fn main() {
- let policytypeId = policytypeId_example; // String
- let ricId = ricId_example; // String
- let serviceId = serviceId_example; // String
- let typeName = typeName_example; // String
-
- let mut context = A1PolicyManagementApi::Context::default();
- let result = client.getPolicyInstances(policytypeId, ricId, serviceId, typeName, &context).wait();
-
- println!("{:?}", result);
-}
-</code></pre>
- </div>
- </div>
-
- <h2>Scopes</h2>
- <table>
-
- </table>
-
- <h2>Parameters</h2>
-
-
-
-
-
- <div class="methodsubtabletitle">Query parameters</div>
- <table id="methodsubtable">
- <tr>
- <th width="150px">Name</th>
- <th>Description</th>
- </tr>
- <tr><td style="width:150px;">policytype_id</td>
-<td>
-
-
- <div id="d2e199_getPolicyInstances_policytypeId">
- <div class="json-schema-view">
- <div class="primitive">
- <span class="type">
- String
- </span>
-
- <div class="inner description marked">
-Select policies with a given type identity.
- </div>
- </div>
- </div>
- </div>
-</td>
-</tr>
-
- <tr><td style="width:150px;">ric_id</td>
-<td>
-
-
- <div id="d2e199_getPolicyInstances_ricId">
- <div class="json-schema-view">
- <div class="primitive">
- <span class="type">
- String
- </span>
-
- <div class="inner description marked">
-Select policies for a given Near-RT RIC identity.
- </div>
- </div>
- </div>
- </div>
-</td>
-</tr>
-
- <tr><td style="width:150px;">service_id</td>
-<td>
-
-
- <div id="d2e199_getPolicyInstances_serviceId">
- <div class="json-schema-view">
- <div class="primitive">
- <span class="type">
- String
- </span>
-
- <div class="inner description marked">
-Select policies owned by a given service.
- </div>
- </div>
- </div>
- </div>
-</td>
-</tr>
-
- <tr><td style="width:150px;">type_name</td>
-<td>
-
-
- <div id="d2e199_getPolicyInstances_typeName">
- <div class="json-schema-view">
- <div class="primitive">
- <span class="type">
- String
- </span>
-
- <div class="inner description marked">
-Select policies of a given type name (type identity has the format <typename_version>)
- </div>
- </div>
- </div>
- </div>
-</td>
-</tr>
-
- </table>
-
- <h2>Responses</h2>
- <h3 id="examples-A1PolicyManagement-getPolicyInstances-title-200"></h3>
- <p id="examples-A1PolicyManagement-getPolicyInstances-description-200" class="marked"></p>
+ <h3 id="examples-A1PolicyManagement-getPolicy-title-429"></h3>
+ <p id="examples-A1PolicyManagement-getPolicy-description-429" class="marked"></p>
<script>
- var responseA1PolicyManagement200_description = `OK - Returns A1 Policies which matches the criteria`;
- var responseA1PolicyManagement200_description_break = responseA1PolicyManagement200_description.indexOf('\n');
- if (responseA1PolicyManagement200_description_break == -1) {
- $("#examples-A1PolicyManagement-getPolicyInstances-title-200").text("Status: 200 - " + responseA1PolicyManagement200_description);
+ var responseA1PolicyManagement429_description = `Too Many Request`;
+ var responseA1PolicyManagement429_description_break = responseA1PolicyManagement429_description.indexOf('\n');
+ if (responseA1PolicyManagement429_description_break == -1) {
+ $("#examples-A1PolicyManagement-getPolicy-title-429").text("Status: 429 - " + responseA1PolicyManagement429_description);
} else {
- $("#examples-A1PolicyManagement-getPolicyInstances-title-200").text("Status: 200 - " + responseA1PolicyManagement200_description.substring(0, responseA1PolicyManagement200_description_break));
- $("#examples-A1PolicyManagement-getPolicyInstances-description-200").html(responseA1PolicyManagement200_description.substring(responseA1PolicyManagement200_description_break));
+ $("#examples-A1PolicyManagement-getPolicy-title-429").text("Status: 429 - " + responseA1PolicyManagement429_description.substring(0, responseA1PolicyManagement429_description_break));
+ $("#examples-A1PolicyManagement-getPolicy-description-429").html(responseA1PolicyManagement429_description.substring(responseA1PolicyManagement429_description_break));
}
</script>
- <ul id="responses-detail-A1PolicyManagement-getPolicyInstances-200" class="nav nav-tabs nav-tabs-examples" >
+ <ul id="responses-detail-A1PolicyManagement-getPolicy-429" class="nav nav-tabs nav-tabs-examples" >
<li class="active">
- <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicyInstances-200-schema">Schema</a>
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicy-429-schema">Schema</a>
</li>
@@ -2882,391 +5507,74 @@
</ul>
- <div class="tab-content" id="responses-A1PolicyManagement-getPolicyInstances-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyInstances-200-schema">
- <div id="responses-A1PolicyManagement-getPolicyInstances-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
- Object.keys(schema.properties).forEach( (item) => {
- if (schema.properties[item].$ref != null) {
- schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
- }
- });
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
- }
-
- var view = new JSONSchemaView(schema, 3);
- $('#responses-A1PolicyManagement-getPolicyInstances-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-A1PolicyManagement-getPolicyInstances-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-A1PolicyManagement-getPolicyInstances-200-schema-data' type='hidden' value=''></input>
- </div>
- </div>
- <h3 id="examples-A1PolicyManagement-getPolicyInstances-title-404"></h3>
- <p id="examples-A1PolicyManagement-getPolicyInstances-description-404" class="marked"></p>
- <script>
- var responseA1PolicyManagement404_description = `Not Found - Near-RT RIC, policy type or service not found`;
- var responseA1PolicyManagement404_description_break = responseA1PolicyManagement404_description.indexOf('\n');
- if (responseA1PolicyManagement404_description_break == -1) {
- $("#examples-A1PolicyManagement-getPolicyInstances-title-404").text("Status: 404 - " + responseA1PolicyManagement404_description);
- } else {
- $("#examples-A1PolicyManagement-getPolicyInstances-title-404").text("Status: 404 - " + responseA1PolicyManagement404_description.substring(0, responseA1PolicyManagement404_description_break));
- $("#examples-A1PolicyManagement-getPolicyInstances-description-404").html(responseA1PolicyManagement404_description.substring(responseA1PolicyManagement404_description_break));
- }
- </script>
-
-
- <ul id="responses-detail-A1PolicyManagement-getPolicyInstances-404" class="nav nav-tabs nav-tabs-examples" >
- <li class="active">
- <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicyInstances-404-schema">Schema</a>
- </li>
-
-
-
-
- </ul>
-
-
- <div class="tab-content" id="responses-A1PolicyManagement-getPolicyInstances-404-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyInstances-404-schema">
- <div id="responses-A1PolicyManagement-getPolicyInstances-schema-404" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
- Object.keys(schema.properties).forEach( (item) => {
- if (schema.properties[item].$ref != null) {
- schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
- }
- });
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
- }
-
- var view = new JSONSchemaView(schema, 3);
- $('#responses-A1PolicyManagement-getPolicyInstances-404-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-A1PolicyManagement-getPolicyInstances-schema-404');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-A1PolicyManagement-getPolicyInstances-404-schema-data' type='hidden' value=''></input>
- </div>
- </div>
- </article>
- </div>
- <hr>
- <div id="api-A1PolicyManagement-getPolicyStatus">
- <article id="api-A1PolicyManagement-getPolicyStatus-0" data-group="User" data-name="getPolicyStatus" data-version="0">
- <div class="pull-left">
- <h1>getPolicyStatus</h1>
- <p></p>
- </div>
- <div class="pull-right"></div>
- <div class="clearfix"></div>
- <p></p>
- <p class="marked">Returns a policy status</p>
- <p></p>
- <br />
- <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/a1-policy/v2/policies/{policy_id}/status</span></code></pre>
- <p>
- <h3>Usage and SDK Samples</h3>
- </p>
- <ul class="nav nav-tabs nav-tabs-examples">
- <li class="active"><a href="#examples-A1PolicyManagement-getPolicyStatus-0-curl">Curl</a></li>
- <li class=""><a href="#examples-A1PolicyManagement-getPolicyStatus-0-java">Java</a></li>
- <li class=""><a href="#examples-A1PolicyManagement-getPolicyStatus-0-android">Android</a></li>
- <!--<li class=""><a href="#examples-A1PolicyManagement-getPolicyStatus-0-groovy">Groovy</a></li>-->
- <li class=""><a href="#examples-A1PolicyManagement-getPolicyStatus-0-objc">Obj-C</a></li>
- <li class=""><a href="#examples-A1PolicyManagement-getPolicyStatus-0-javascript">JavaScript</a></li>
- <!--<li class=""><a href="#examples-A1PolicyManagement-getPolicyStatus-0-angular">Angular</a></li>-->
- <li class=""><a href="#examples-A1PolicyManagement-getPolicyStatus-0-csharp">C#</a></li>
- <li class=""><a href="#examples-A1PolicyManagement-getPolicyStatus-0-php">PHP</a></li>
- <li class=""><a href="#examples-A1PolicyManagement-getPolicyStatus-0-perl">Perl</a></li>
- <li class=""><a href="#examples-A1PolicyManagement-getPolicyStatus-0-python">Python</a></li>
- <li class=""><a href="#examples-A1PolicyManagement-getPolicyStatus-0-rust">Rust</a></li>
- </ul>
-
- <div class="tab-content">
- <div class="tab-pane active" id="examples-A1PolicyManagement-getPolicyStatus-0-curl">
- <pre class="prettyprint"><code class="language-bsh">curl -X GET \
- -H "Accept: application/json,application/problem+json" \
- "http://localhost/a1-policy/v2/policies/{policy_id}/status"
-</code></pre>
- </div>
- <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyStatus-0-java">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
-import org.openapitools.client.auth.*;
-import org.openapitools.client.model.*;
-import org.openapitools.client.api.A1PolicyManagementApi;
-
-import java.io.File;
-import java.util.*;
-
-public class A1PolicyManagementApiExample {
- public static void main(String[] args) {
-
- // Create an instance of the API class
- A1PolicyManagementApi apiInstance = new A1PolicyManagementApi();
- String policyId = policyId_example; // String |
-
- try {
- policy_status_info result = apiInstance.getPolicyStatus(policyId);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling A1PolicyManagementApi#getPolicyStatus");
- e.printStackTrace();
- }
+ <div class="tab-content" id="responses-A1PolicyManagement-getPolicy-429-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicy-429-schema">
+ <div id="responses-A1PolicyManagement-getPolicy-schema-429" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Too Many Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
}
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyStatus-0-android">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.A1PolicyManagementApi;
-
-public class A1PolicyManagementApiExample {
- public static void main(String[] args) {
- A1PolicyManagementApi apiInstance = new A1PolicyManagementApi();
- String policyId = policyId_example; // String |
-
- try {
- policy_status_info result = apiInstance.getPolicyStatus(policyId);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling A1PolicyManagementApi#getPolicyStatus");
- e.printStackTrace();
- }
- }
-}</code></pre>
- </div>
- <!--
- <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyStatus-0-groovy">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div> -->
- <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyStatus-0-objc">
- <pre class="prettyprint"><code class="language-cpp">
-
-// Create an instance of the API class
-A1PolicyManagementApi *apiInstance = [[A1PolicyManagementApi alloc] init];
-String *policyId = policyId_example; // (default to null)
-
-[apiInstance getPolicyStatusWith:policyId
- completionHandler: ^(policy_status_info output, NSError* error) {
- if (output) {
- NSLog(@"%@", output);
- }
- if (error) {
- NSLog(@"Error: %@", error);
- }
-}];
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyStatus-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
-
-// Create an instance of the API class
-var api = new A1PolicyManagementService.A1PolicyManagementApi()
-var policyId = policyId_example; // {String}
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
}
};
-api.getPolicyStatus(policyId, callback);
-</code></pre>
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicy-429-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicy-schema-429');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getPolicy-429-schema-data' type='hidden' value=''></input>
+ </div>
</div>
-
- <!--<div class="tab-pane" id="examples-A1PolicyManagement-getPolicyStatus-0-angular">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div>-->
- <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyStatus-0-csharp">
- <pre class="prettyprint"><code class="language-cs">using System;
-using System.Diagnostics;
-using Org.OpenAPITools.Api;
-using Org.OpenAPITools.Client;
-using Org.OpenAPITools.Model;
-
-namespace Example
-{
- public class getPolicyStatusExample
- {
- public void main()
- {
-
- // Create an instance of the API class
- var apiInstance = new A1PolicyManagementApi();
- var policyId = policyId_example; // String | (default to null)
-
- try {
- policy_status_info result = apiInstance.getPolicyStatus(policyId);
- Debug.WriteLine(result);
- } catch (Exception e) {
- Debug.Print("Exception when calling A1PolicyManagementApi.getPolicyStatus: " + e.Message );
- }
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyStatus-0-php">
- <pre class="prettyprint"><code class="language-php"><?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-// Create an instance of the API class
-$api_instance = new OpenAPITools\Client\Api\A1PolicyManagementApi();
-$policyId = policyId_example; // String |
-
-try {
- $result = $api_instance->getPolicyStatus($policyId);
- print_r($result);
-} catch (Exception $e) {
- echo 'Exception when calling A1PolicyManagementApi->getPolicyStatus: ', $e->getMessage(), PHP_EOL;
-}
-?></code></pre>
- </div>
-
- <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyStatus-0-perl">
- <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
-use WWW::OPenAPIClient::Configuration;
-use WWW::OPenAPIClient::A1PolicyManagementApi;
-
-# Create an instance of the API class
-my $api_instance = WWW::OPenAPIClient::A1PolicyManagementApi->new();
-my $policyId = policyId_example; # String |
-
-eval {
- my $result = $api_instance->getPolicyStatus(policyId => $policyId);
- print Dumper($result);
-};
-if ($@) {
- warn "Exception when calling A1PolicyManagementApi->getPolicyStatus: $@\n";
-}</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyStatus-0-python">
- <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
-import time
-import openapi_client
-from openapi_client.rest import ApiException
-from pprint import pprint
-
-# Create an instance of the API class
-api_instance = openapi_client.A1PolicyManagementApi()
-policyId = policyId_example # String | (default to null)
-
-try:
- api_response = api_instance.get_policy_status(policyId)
- pprint(api_response)
-except ApiException as e:
- print("Exception when calling A1PolicyManagementApi->getPolicyStatus: %s\n" % e)</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyStatus-0-rust">
- <pre class="prettyprint"><code class="language-rust">extern crate A1PolicyManagementApi;
-
-pub fn main() {
- let policyId = policyId_example; // String
-
- let mut context = A1PolicyManagementApi::Context::default();
- let result = client.getPolicyStatus(policyId, &context).wait();
-
- println!("{:?}", result);
-}
-</code></pre>
- </div>
- </div>
-
- <h2>Scopes</h2>
- <table>
-
- </table>
-
- <h2>Parameters</h2>
-
- <div class="methodsubtabletitle">Path parameters</div>
- <table id="methodsubtable">
- <tr>
- <th width="150px">Name</th>
- <th>Description</th>
- </tr>
- <tr><td style="width:150px;">policy_id*</td>
-<td>
-
-
- <div id="d2e199_getPolicyStatus_policyId">
- <div class="json-schema-view">
- <div class="primitive">
- <span class="type">
- String
- </span>
-
- </div>
- <div class="inner required">
- Required
- </div>
- </div>
- </div>
-</td>
-</tr>
-
- </table>
-
-
-
-
-
- <h2>Responses</h2>
- <h3 id="examples-A1PolicyManagement-getPolicyStatus-title-200"></h3>
- <p id="examples-A1PolicyManagement-getPolicyStatus-description-200" class="marked"></p>
+ <h3 id="examples-A1PolicyManagement-getPolicy-title-500"></h3>
+ <p id="examples-A1PolicyManagement-getPolicy-description-500" class="marked"></p>
<script>
- var responseA1PolicyManagement200_description = `OK - Policy status`;
- var responseA1PolicyManagement200_description_break = responseA1PolicyManagement200_description.indexOf('\n');
- if (responseA1PolicyManagement200_description_break == -1) {
- $("#examples-A1PolicyManagement-getPolicyStatus-title-200").text("Status: 200 - " + responseA1PolicyManagement200_description);
+ var responseA1PolicyManagement500_description = `Internal Server Error`;
+ var responseA1PolicyManagement500_description_break = responseA1PolicyManagement500_description.indexOf('\n');
+ if (responseA1PolicyManagement500_description_break == -1) {
+ $("#examples-A1PolicyManagement-getPolicy-title-500").text("Status: 500 - " + responseA1PolicyManagement500_description);
} else {
- $("#examples-A1PolicyManagement-getPolicyStatus-title-200").text("Status: 200 - " + responseA1PolicyManagement200_description.substring(0, responseA1PolicyManagement200_description_break));
- $("#examples-A1PolicyManagement-getPolicyStatus-description-200").html(responseA1PolicyManagement200_description.substring(responseA1PolicyManagement200_description_break));
+ $("#examples-A1PolicyManagement-getPolicy-title-500").text("Status: 500 - " + responseA1PolicyManagement500_description.substring(0, responseA1PolicyManagement500_description_break));
+ $("#examples-A1PolicyManagement-getPolicy-description-500").html(responseA1PolicyManagement500_description.substring(responseA1PolicyManagement500_description_break));
}
</script>
- <ul id="responses-detail-A1PolicyManagement-getPolicyStatus-200" class="nav nav-tabs nav-tabs-examples" >
+ <ul id="responses-detail-A1PolicyManagement-getPolicy-500" class="nav nav-tabs nav-tabs-examples" >
<li class="active">
- <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicyStatus-200-schema">Schema</a>
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicy-500-schema">Schema</a>
</li>
@@ -3275,64 +5583,208 @@
</ul>
- <div class="tab-content" id="responses-A1PolicyManagement-getPolicyStatus-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyStatus-200-schema">
- <div id="responses-A1PolicyManagement-getPolicyStatus-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-content" id="responses-A1PolicyManagement-getPolicy-500-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicy-500-schema">
+ <div id="responses-A1PolicyManagement-getPolicy-schema-500" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Internal Server Error",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-A1PolicyManagement-getPolicyStatus-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-A1PolicyManagement-getPolicyStatus-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-A1PolicyManagement-getPolicyStatus-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicy-500-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicy-schema-500');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-A1PolicyManagement-getPolicy-500-schema-data' type='hidden' value=''></input>
+ </div>
</div>
- <h3 id="examples-A1PolicyManagement-getPolicyStatus-title-404"></h3>
- <p id="examples-A1PolicyManagement-getPolicyStatus-description-404" class="marked"></p>
+ <h3 id="examples-A1PolicyManagement-getPolicy-title-502"></h3>
+ <p id="examples-A1PolicyManagement-getPolicy-description-502" class="marked"></p>
<script>
- var responseA1PolicyManagement404_description = `Not Found`;
- var responseA1PolicyManagement404_description_break = responseA1PolicyManagement404_description.indexOf('\n');
- if (responseA1PolicyManagement404_description_break == -1) {
- $("#examples-A1PolicyManagement-getPolicyStatus-title-404").text("Status: 404 - " + responseA1PolicyManagement404_description);
+ var responseA1PolicyManagement502_description = `Bad Gateway`;
+ var responseA1PolicyManagement502_description_break = responseA1PolicyManagement502_description.indexOf('\n');
+ if (responseA1PolicyManagement502_description_break == -1) {
+ $("#examples-A1PolicyManagement-getPolicy-title-502").text("Status: 502 - " + responseA1PolicyManagement502_description);
} else {
- $("#examples-A1PolicyManagement-getPolicyStatus-title-404").text("Status: 404 - " + responseA1PolicyManagement404_description.substring(0, responseA1PolicyManagement404_description_break));
- $("#examples-A1PolicyManagement-getPolicyStatus-description-404").html(responseA1PolicyManagement404_description.substring(responseA1PolicyManagement404_description_break));
+ $("#examples-A1PolicyManagement-getPolicy-title-502").text("Status: 502 - " + responseA1PolicyManagement502_description.substring(0, responseA1PolicyManagement502_description_break));
+ $("#examples-A1PolicyManagement-getPolicy-description-502").html(responseA1PolicyManagement502_description.substring(responseA1PolicyManagement502_description_break));
}
</script>
- <ul id="responses-detail-A1PolicyManagement-getPolicyStatus-404" class="nav nav-tabs nav-tabs-examples" >
+ <ul id="responses-detail-A1PolicyManagement-getPolicy-502" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicy-502-schema">Schema</a>
+ </li>
+
+
</ul>
- <div class="tab-content" id="responses-A1PolicyManagement-getPolicyStatus-404-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-content" id="responses-A1PolicyManagement-getPolicy-502-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicy-502-schema">
+ <div id="responses-A1PolicyManagement-getPolicy-schema-502" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Bad Gateway",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicy-502-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicy-schema-502');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getPolicy-502-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-getPolicy-title-503"></h3>
+ <p id="examples-A1PolicyManagement-getPolicy-description-503" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement503_description = `Service Unavailable`;
+ var responseA1PolicyManagement503_description_break = responseA1PolicyManagement503_description.indexOf('\n');
+ if (responseA1PolicyManagement503_description_break == -1) {
+ $("#examples-A1PolicyManagement-getPolicy-title-503").text("Status: 503 - " + responseA1PolicyManagement503_description);
+ } else {
+ $("#examples-A1PolicyManagement-getPolicy-title-503").text("Status: 503 - " + responseA1PolicyManagement503_description.substring(0, responseA1PolicyManagement503_description_break));
+ $("#examples-A1PolicyManagement-getPolicy-description-503").html(responseA1PolicyManagement503_description.substring(responseA1PolicyManagement503_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-getPolicy-503" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicy-503-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-getPolicy-503-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicy-503-schema">
+ <div id="responses-A1PolicyManagement-getPolicy-schema-503" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Service Unavailable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicy-503-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicy-schema-503');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getPolicy-503-schema-data' type='hidden' value=''></input>
+ </div>
</div>
</article>
</div>
@@ -3349,13 +5801,14 @@
<p class="marked">Returns a policy type definition</p>
<p></p>
<br />
- <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/a1-policy/v2/policy-types/{policytype_id}</span></code></pre>
+ <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/policy-types/{policyTypeId}</span></code></pre>
<p>
<h3>Usage and SDK Samples</h3>
</p>
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="#examples-A1PolicyManagement-getPolicyTypeDefinition-0-curl">Curl</a></li>
<li class=""><a href="#examples-A1PolicyManagement-getPolicyTypeDefinition-0-java">Java</a></li>
+ <li class=""><a href="#examples-A1PolicyManagement-getPolicyTypeDefinition-0-dart">Dart</a></li>
<li class=""><a href="#examples-A1PolicyManagement-getPolicyTypeDefinition-0-android">Android</a></li>
<!--<li class=""><a href="#examples-A1PolicyManagement-getPolicyTypeDefinition-0-groovy">Groovy</a></li>-->
<li class=""><a href="#examples-A1PolicyManagement-getPolicyTypeDefinition-0-objc">Obj-C</a></li>
@@ -3372,7 +5825,7 @@
<div class="tab-pane active" id="examples-A1PolicyManagement-getPolicyTypeDefinition-0-curl">
<pre class="prettyprint"><code class="language-bsh">curl -X GET \
-H "Accept: application/json,application/problem+json" \
- "http://localhost/a1-policy/v2/policy-types/{policytype_id}"
+ "https://example.com/a1-policy-management/v1/policy-types/{policyTypeId}"
</code></pre>
</div>
<div class="tab-pane" id="examples-A1PolicyManagement-getPolicyTypeDefinition-0-java">
@@ -3389,10 +5842,11 @@
// Create an instance of the API class
A1PolicyManagementApi apiInstance = new A1PolicyManagementApi();
- String policytypeId = policytypeId_example; // String |
+ String policyTypeId = policyTypeId_example; // String |
+ String accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
try {
- policy_type_definition result = apiInstance.getPolicyTypeDefinition(policytypeId);
+ Object result = apiInstance.getPolicyTypeDefinition(policyTypeId, accept);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling A1PolicyManagementApi#getPolicyTypeDefinition");
@@ -3403,16 +5857,35 @@
</code></pre>
</div>
+ <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyTypeDefinition-0-dart">
+ <pre class="prettyprint"><code class="language-dart">import 'package:openapi/api.dart';
+
+final api_instance = DefaultApi();
+
+final String policyTypeId = new String(); // String |
+final String accept = new String(); // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
+
+try {
+ final result = await api_instance.getPolicyTypeDefinition(policyTypeId, accept);
+ print(result);
+} catch (e) {
+ print('Exception when calling DefaultApi->getPolicyTypeDefinition: $e\n');
+}
+
+</code></pre>
+ </div>
+
<div class="tab-pane" id="examples-A1PolicyManagement-getPolicyTypeDefinition-0-android">
<pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.A1PolicyManagementApi;
public class A1PolicyManagementApiExample {
public static void main(String[] args) {
A1PolicyManagementApi apiInstance = new A1PolicyManagementApi();
- String policytypeId = policytypeId_example; // String |
+ String policyTypeId = policyTypeId_example; // String |
+ String accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
try {
- policy_type_definition result = apiInstance.getPolicyTypeDefinition(policytypeId);
+ Object result = apiInstance.getPolicyTypeDefinition(policyTypeId, accept);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling A1PolicyManagementApi#getPolicyTypeDefinition");
@@ -3430,10 +5903,12 @@
// Create an instance of the API class
A1PolicyManagementApi *apiInstance = [[A1PolicyManagementApi alloc] init];
-String *policytypeId = policytypeId_example; // (default to null)
+String *policyTypeId = policyTypeId_example; // (default to null)
+String *accept = application/json; // Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. (optional) (default to null)
-[apiInstance getPolicyTypeDefinitionWith:policytypeId
- completionHandler: ^(policy_type_definition output, NSError* error) {
+[apiInstance getPolicyTypeDefinitionWith:policyTypeId
+ accept:accept
+ completionHandler: ^(Object output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
@@ -3445,11 +5920,14 @@
</div>
<div class="tab-pane" id="examples-A1PolicyManagement-getPolicyTypeDefinition-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
+ <pre class="prettyprint"><code class="language-js">var A1PolicyManagementApi = require('a1_policy_management_api');
// Create an instance of the API class
-var api = new A1PolicyManagementService.A1PolicyManagementApi()
-var policytypeId = policytypeId_example; // {String}
+var api = new A1PolicyManagementApi.A1PolicyManagementApi()
+var policyTypeId = policyTypeId_example; // {String}
+var opts = {
+ 'accept': application/json // {String} Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
+};
var callback = function(error, data, response) {
if (error) {
@@ -3458,7 +5936,7 @@
console.log('API called successfully. Returned data: ' + data);
}
};
-api.getPolicyTypeDefinition(policytypeId, callback);
+api.getPolicyTypeDefinition(policyTypeId, opts, callback);
</code></pre>
</div>
@@ -3481,10 +5959,11 @@
// Create an instance of the API class
var apiInstance = new A1PolicyManagementApi();
- var policytypeId = policytypeId_example; // String | (default to null)
+ var policyTypeId = policyTypeId_example; // String | (default to null)
+ var accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. (optional) (default to null)
try {
- policy_type_definition result = apiInstance.getPolicyTypeDefinition(policytypeId);
+ Object result = apiInstance.getPolicyTypeDefinition(policyTypeId, accept);
Debug.WriteLine(result);
} catch (Exception e) {
Debug.Print("Exception when calling A1PolicyManagementApi.getPolicyTypeDefinition: " + e.Message );
@@ -3501,10 +5980,11 @@
// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\A1PolicyManagementApi();
-$policytypeId = policytypeId_example; // String |
+$policyTypeId = policyTypeId_example; // String |
+$accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
try {
- $result = $api_instance->getPolicyTypeDefinition($policytypeId);
+ $result = $api_instance->getPolicyTypeDefinition($policyTypeId, $accept);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling A1PolicyManagementApi->getPolicyTypeDefinition: ', $e->getMessage(), PHP_EOL;
@@ -3519,10 +5999,11 @@
# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::A1PolicyManagementApi->new();
-my $policytypeId = policytypeId_example; # String |
+my $policyTypeId = policyTypeId_example; # String |
+my $accept = application/json; # String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
eval {
- my $result = $api_instance->getPolicyTypeDefinition(policytypeId => $policytypeId);
+ my $result = $api_instance->getPolicyTypeDefinition(policyTypeId => $policyTypeId, accept => $accept);
print Dumper($result);
};
if ($@) {
@@ -3539,10 +6020,11 @@
# Create an instance of the API class
api_instance = openapi_client.A1PolicyManagementApi()
-policytypeId = policytypeId_example # String | (default to null)
+policyTypeId = policyTypeId_example # String | (default to null)
+accept = application/json # String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. (optional) (default to null)
try:
- api_response = api_instance.get_policy_type_definition(policytypeId)
+ api_response = api_instance.get_policy_type_definition(policyTypeId, accept=accept)
pprint(api_response)
except ApiException as e:
print("Exception when calling A1PolicyManagementApi->getPolicyTypeDefinition: %s\n" % e)</code></pre>
@@ -3552,10 +6034,11 @@
<pre class="prettyprint"><code class="language-rust">extern crate A1PolicyManagementApi;
pub fn main() {
- let policytypeId = policytypeId_example; // String
+ let policyTypeId = policyTypeId_example; // String
+ let accept = application/json; // String
let mut context = A1PolicyManagementApi::Context::default();
- let result = client.getPolicyTypeDefinition(policytypeId, &context).wait();
+ let result = client.getPolicyTypeDefinition(policyTypeId, accept, &context).wait();
println!("{:?}", result);
}
@@ -3576,11 +6059,11 @@
<th width="150px">Name</th>
<th>Description</th>
</tr>
- <tr><td style="width:150px;">policytype_id*</td>
+ <tr><td style="width:150px;">policyTypeId*</td>
<td>
- <div id="d2e199_getPolicyTypeDefinition_policytypeId">
+ <div id="d2e199_getPolicyTypeDefinition_policyTypeId">
<div class="json-schema-view">
<div class="primitive">
<span class="type">
@@ -3598,6 +6081,33 @@
</table>
+ <div class="methodsubtabletitle">Header parameters</div>
+ <table id="methodsubtable">
+ <tr>
+ <th width="150px">Name</th>
+ <th>Description</th>
+ </tr>
+ <tr><td style="width:150px;">Accept</td>
+<td>
+
+
+ <div id="d2e199_getPolicyTypeDefinition_accept">
+ <div class="json-schema-view">
+ <div class="primitive">
+ <span class="type">
+ String
+ </span>
+
+ <div class="inner description marked">
+Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
+ </div>
+ </div>
+ </div>
+ </div>
+</td>
+</tr>
+
+ </table>
@@ -3629,41 +6139,288 @@
<div class="tab-content" id="responses-A1PolicyManagement-getPolicyTypeDefinition-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyTypeDefinition-200-schema">
- <div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyTypeDefinition-200-schema">
+ <div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-200" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "OK - schema of the given policy type",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/PolicyObject"
+ },
+ "examples" : {
+ "policyObject" : {
+ "$ref" : "#/components/examples/PolicyObject"
+ }
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicyTypeDefinition-200-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicyTypeDefinition-schema-200');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getPolicyTypeDefinition-200-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-getPolicyTypeDefinition-title-400"></h3>
+ <p id="examples-A1PolicyManagement-getPolicyTypeDefinition-description-400" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement400_description = `Bad Request`;
+ var responseA1PolicyManagement400_description_break = responseA1PolicyManagement400_description.indexOf('\n');
+ if (responseA1PolicyManagement400_description_break == -1) {
+ $("#examples-A1PolicyManagement-getPolicyTypeDefinition-title-400").text("Status: 400 - " + responseA1PolicyManagement400_description);
+ } else {
+ $("#examples-A1PolicyManagement-getPolicyTypeDefinition-title-400").text("Status: 400 - " + responseA1PolicyManagement400_description.substring(0, responseA1PolicyManagement400_description_break));
+ $("#examples-A1PolicyManagement-getPolicyTypeDefinition-description-400").html(responseA1PolicyManagement400_description.substring(responseA1PolicyManagement400_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-getPolicyTypeDefinition-400" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicyTypeDefinition-400-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-getPolicyTypeDefinition-400-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyTypeDefinition-400-schema">
+ <div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-400" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Bad Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
});
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-A1PolicyManagement-getPolicyTypeDefinition-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-A1PolicyManagement-getPolicyTypeDefinition-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-A1PolicyManagement-getPolicyTypeDefinition-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicyTypeDefinition-400-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicyTypeDefinition-schema-400');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-A1PolicyManagement-getPolicyTypeDefinition-400-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-getPolicyTypeDefinition-title-401"></h3>
+ <p id="examples-A1PolicyManagement-getPolicyTypeDefinition-description-401" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement401_description = `Unauthorized`;
+ var responseA1PolicyManagement401_description_break = responseA1PolicyManagement401_description.indexOf('\n');
+ if (responseA1PolicyManagement401_description_break == -1) {
+ $("#examples-A1PolicyManagement-getPolicyTypeDefinition-title-401").text("Status: 401 - " + responseA1PolicyManagement401_description);
+ } else {
+ $("#examples-A1PolicyManagement-getPolicyTypeDefinition-title-401").text("Status: 401 - " + responseA1PolicyManagement401_description.substring(0, responseA1PolicyManagement401_description_break));
+ $("#examples-A1PolicyManagement-getPolicyTypeDefinition-description-401").html(responseA1PolicyManagement401_description.substring(responseA1PolicyManagement401_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-getPolicyTypeDefinition-401" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicyTypeDefinition-401-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-getPolicyTypeDefinition-401-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyTypeDefinition-401-schema">
+ <div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-401" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Unauthorized",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicyTypeDefinition-401-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicyTypeDefinition-schema-401');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getPolicyTypeDefinition-401-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-getPolicyTypeDefinition-title-403"></h3>
+ <p id="examples-A1PolicyManagement-getPolicyTypeDefinition-description-403" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement403_description = `Forbidden`;
+ var responseA1PolicyManagement403_description_break = responseA1PolicyManagement403_description.indexOf('\n');
+ if (responseA1PolicyManagement403_description_break == -1) {
+ $("#examples-A1PolicyManagement-getPolicyTypeDefinition-title-403").text("Status: 403 - " + responseA1PolicyManagement403_description);
+ } else {
+ $("#examples-A1PolicyManagement-getPolicyTypeDefinition-title-403").text("Status: 403 - " + responseA1PolicyManagement403_description.substring(0, responseA1PolicyManagement403_description_break));
+ $("#examples-A1PolicyManagement-getPolicyTypeDefinition-description-403").html(responseA1PolicyManagement403_description.substring(responseA1PolicyManagement403_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-getPolicyTypeDefinition-403" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicyTypeDefinition-403-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-getPolicyTypeDefinition-403-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyTypeDefinition-403-schema">
+ <div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-403" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Forbidden",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicyTypeDefinition-403-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicyTypeDefinition-schema-403');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getPolicyTypeDefinition-403-schema-data' type='hidden' value=''></input>
+ </div>
</div>
<h3 id="examples-A1PolicyManagement-getPolicyTypeDefinition-title-404"></h3>
<p id="examples-A1PolicyManagement-getPolicyTypeDefinition-description-404" class="marked"></p>
@@ -3680,12 +6437,446 @@
<ul id="responses-detail-A1PolicyManagement-getPolicyTypeDefinition-404" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicyTypeDefinition-404-schema">Schema</a>
+ </li>
+
+
</ul>
<div class="tab-content" id="responses-A1PolicyManagement-getPolicyTypeDefinition-404-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyTypeDefinition-404-schema">
+ <div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-404" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicyTypeDefinition-404-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicyTypeDefinition-schema-404');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getPolicyTypeDefinition-404-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-getPolicyTypeDefinition-title-406"></h3>
+ <p id="examples-A1PolicyManagement-getPolicyTypeDefinition-description-406" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement406_description = `Not Acceptable`;
+ var responseA1PolicyManagement406_description_break = responseA1PolicyManagement406_description.indexOf('\n');
+ if (responseA1PolicyManagement406_description_break == -1) {
+ $("#examples-A1PolicyManagement-getPolicyTypeDefinition-title-406").text("Status: 406 - " + responseA1PolicyManagement406_description);
+ } else {
+ $("#examples-A1PolicyManagement-getPolicyTypeDefinition-title-406").text("Status: 406 - " + responseA1PolicyManagement406_description.substring(0, responseA1PolicyManagement406_description_break));
+ $("#examples-A1PolicyManagement-getPolicyTypeDefinition-description-406").html(responseA1PolicyManagement406_description.substring(responseA1PolicyManagement406_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-getPolicyTypeDefinition-406" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicyTypeDefinition-406-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-getPolicyTypeDefinition-406-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyTypeDefinition-406-schema">
+ <div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-406" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Not Acceptable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicyTypeDefinition-406-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicyTypeDefinition-schema-406');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getPolicyTypeDefinition-406-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-getPolicyTypeDefinition-title-429"></h3>
+ <p id="examples-A1PolicyManagement-getPolicyTypeDefinition-description-429" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement429_description = `Too Many Request`;
+ var responseA1PolicyManagement429_description_break = responseA1PolicyManagement429_description.indexOf('\n');
+ if (responseA1PolicyManagement429_description_break == -1) {
+ $("#examples-A1PolicyManagement-getPolicyTypeDefinition-title-429").text("Status: 429 - " + responseA1PolicyManagement429_description);
+ } else {
+ $("#examples-A1PolicyManagement-getPolicyTypeDefinition-title-429").text("Status: 429 - " + responseA1PolicyManagement429_description.substring(0, responseA1PolicyManagement429_description_break));
+ $("#examples-A1PolicyManagement-getPolicyTypeDefinition-description-429").html(responseA1PolicyManagement429_description.substring(responseA1PolicyManagement429_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-getPolicyTypeDefinition-429" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicyTypeDefinition-429-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-getPolicyTypeDefinition-429-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyTypeDefinition-429-schema">
+ <div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-429" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Too Many Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicyTypeDefinition-429-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicyTypeDefinition-schema-429');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getPolicyTypeDefinition-429-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-getPolicyTypeDefinition-title-500"></h3>
+ <p id="examples-A1PolicyManagement-getPolicyTypeDefinition-description-500" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement500_description = `Internal Server Error`;
+ var responseA1PolicyManagement500_description_break = responseA1PolicyManagement500_description.indexOf('\n');
+ if (responseA1PolicyManagement500_description_break == -1) {
+ $("#examples-A1PolicyManagement-getPolicyTypeDefinition-title-500").text("Status: 500 - " + responseA1PolicyManagement500_description);
+ } else {
+ $("#examples-A1PolicyManagement-getPolicyTypeDefinition-title-500").text("Status: 500 - " + responseA1PolicyManagement500_description.substring(0, responseA1PolicyManagement500_description_break));
+ $("#examples-A1PolicyManagement-getPolicyTypeDefinition-description-500").html(responseA1PolicyManagement500_description.substring(responseA1PolicyManagement500_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-getPolicyTypeDefinition-500" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicyTypeDefinition-500-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-getPolicyTypeDefinition-500-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyTypeDefinition-500-schema">
+ <div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-500" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Internal Server Error",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicyTypeDefinition-500-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicyTypeDefinition-schema-500');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getPolicyTypeDefinition-500-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-getPolicyTypeDefinition-title-502"></h3>
+ <p id="examples-A1PolicyManagement-getPolicyTypeDefinition-description-502" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement502_description = `Bad Gateway`;
+ var responseA1PolicyManagement502_description_break = responseA1PolicyManagement502_description.indexOf('\n');
+ if (responseA1PolicyManagement502_description_break == -1) {
+ $("#examples-A1PolicyManagement-getPolicyTypeDefinition-title-502").text("Status: 502 - " + responseA1PolicyManagement502_description);
+ } else {
+ $("#examples-A1PolicyManagement-getPolicyTypeDefinition-title-502").text("Status: 502 - " + responseA1PolicyManagement502_description.substring(0, responseA1PolicyManagement502_description_break));
+ $("#examples-A1PolicyManagement-getPolicyTypeDefinition-description-502").html(responseA1PolicyManagement502_description.substring(responseA1PolicyManagement502_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-getPolicyTypeDefinition-502" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicyTypeDefinition-502-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-getPolicyTypeDefinition-502-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyTypeDefinition-502-schema">
+ <div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-502" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Bad Gateway",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicyTypeDefinition-502-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicyTypeDefinition-schema-502');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getPolicyTypeDefinition-502-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-getPolicyTypeDefinition-title-503"></h3>
+ <p id="examples-A1PolicyManagement-getPolicyTypeDefinition-description-503" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement503_description = `Service Unavailable`;
+ var responseA1PolicyManagement503_description_break = responseA1PolicyManagement503_description.indexOf('\n');
+ if (responseA1PolicyManagement503_description_break == -1) {
+ $("#examples-A1PolicyManagement-getPolicyTypeDefinition-title-503").text("Status: 503 - " + responseA1PolicyManagement503_description);
+ } else {
+ $("#examples-A1PolicyManagement-getPolicyTypeDefinition-title-503").text("Status: 503 - " + responseA1PolicyManagement503_description.substring(0, responseA1PolicyManagement503_description_break));
+ $("#examples-A1PolicyManagement-getPolicyTypeDefinition-description-503").html(responseA1PolicyManagement503_description.substring(responseA1PolicyManagement503_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-getPolicyTypeDefinition-503" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicyTypeDefinition-503-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-getPolicyTypeDefinition-503-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyTypeDefinition-503-schema">
+ <div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-503" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Service Unavailable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicyTypeDefinition-503-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicyTypeDefinition-schema-503');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getPolicyTypeDefinition-503-schema-data' type='hidden' value=''></input>
+ </div>
</div>
</article>
</div>
@@ -3702,13 +6893,14 @@
<p class="marked">Query policy type identities</p>
<p></p>
<br />
- <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/a1-policy/v2/policy-types</span></code></pre>
+ <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/policy-types</span></code></pre>
<p>
<h3>Usage and SDK Samples</h3>
</p>
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="#examples-A1PolicyManagement-getPolicyTypes-0-curl">Curl</a></li>
<li class=""><a href="#examples-A1PolicyManagement-getPolicyTypes-0-java">Java</a></li>
+ <li class=""><a href="#examples-A1PolicyManagement-getPolicyTypes-0-dart">Dart</a></li>
<li class=""><a href="#examples-A1PolicyManagement-getPolicyTypes-0-android">Android</a></li>
<!--<li class=""><a href="#examples-A1PolicyManagement-getPolicyTypes-0-groovy">Groovy</a></li>-->
<li class=""><a href="#examples-A1PolicyManagement-getPolicyTypes-0-objc">Obj-C</a></li>
@@ -3725,7 +6917,7 @@
<div class="tab-pane active" id="examples-A1PolicyManagement-getPolicyTypes-0-curl">
<pre class="prettyprint"><code class="language-bsh">curl -X GET \
-H "Accept: application/json,application/problem+json" \
- "http://localhost/a1-policy/v2/policy-types?ric_id=ricId_example&type_name=typeName_example&compatible_with_version=compatibleWithVersion_example"
+ "https://example.com/a1-policy-management/v1/policy-types?nearRtRicId=nearRtRicId_example&typeName=typeName_example&compatibleWithVersion=compatibleWithVersion_example"
</code></pre>
</div>
<div class="tab-pane" id="examples-A1PolicyManagement-getPolicyTypes-0-java">
@@ -3742,12 +6934,13 @@
// Create an instance of the API class
A1PolicyManagementApi apiInstance = new A1PolicyManagementApi();
- String ricId = ricId_example; // String | Select types for the given Near-RT RIC identity.
+ String nearRtRicId = nearRtRicId_example; // String | Select types for the given Near-RT RIC identity.
String typeName = typeName_example; // String | Select types with the given type name (type identity has the format <typename_version>)
String compatibleWithVersion = compatibleWithVersion_example; // String | Select types that are compatible with the given version. This parameter is only applicable in conjunction with type_name. As an example version 1.9.1 is compatible with 1.0.0 but not the other way around. Matching types will be returned sorted in ascending order.
+ String accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
try {
- policy_type_id_list result = apiInstance.getPolicyTypes(ricId, typeName, compatibleWithVersion);
+ array[PolicyTypeInformation] result = apiInstance.getPolicyTypes(nearRtRicId, typeName, compatibleWithVersion, accept);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling A1PolicyManagementApi#getPolicyTypes");
@@ -3758,18 +6951,39 @@
</code></pre>
</div>
+ <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyTypes-0-dart">
+ <pre class="prettyprint"><code class="language-dart">import 'package:openapi/api.dart';
+
+final api_instance = DefaultApi();
+
+final String nearRtRicId = new String(); // String | Select types for the given Near-RT RIC identity.
+final String typeName = new String(); // String | Select types with the given type name (type identity has the format <typename_version>)
+final String compatibleWithVersion = new String(); // String | Select types that are compatible with the given version. This parameter is only applicable in conjunction with type_name. As an example version 1.9.1 is compatible with 1.0.0 but not the other way around. Matching types will be returned sorted in ascending order.
+final String accept = new String(); // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
+
+try {
+ final result = await api_instance.getPolicyTypes(nearRtRicId, typeName, compatibleWithVersion, accept);
+ print(result);
+} catch (e) {
+ print('Exception when calling DefaultApi->getPolicyTypes: $e\n');
+}
+
+</code></pre>
+ </div>
+
<div class="tab-pane" id="examples-A1PolicyManagement-getPolicyTypes-0-android">
<pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.A1PolicyManagementApi;
public class A1PolicyManagementApiExample {
public static void main(String[] args) {
A1PolicyManagementApi apiInstance = new A1PolicyManagementApi();
- String ricId = ricId_example; // String | Select types for the given Near-RT RIC identity.
+ String nearRtRicId = nearRtRicId_example; // String | Select types for the given Near-RT RIC identity.
String typeName = typeName_example; // String | Select types with the given type name (type identity has the format <typename_version>)
String compatibleWithVersion = compatibleWithVersion_example; // String | Select types that are compatible with the given version. This parameter is only applicable in conjunction with type_name. As an example version 1.9.1 is compatible with 1.0.0 but not the other way around. Matching types will be returned sorted in ascending order.
+ String accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
try {
- policy_type_id_list result = apiInstance.getPolicyTypes(ricId, typeName, compatibleWithVersion);
+ array[PolicyTypeInformation] result = apiInstance.getPolicyTypes(nearRtRicId, typeName, compatibleWithVersion, accept);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling A1PolicyManagementApi#getPolicyTypes");
@@ -3787,14 +7001,16 @@
// Create an instance of the API class
A1PolicyManagementApi *apiInstance = [[A1PolicyManagementApi alloc] init];
-String *ricId = ricId_example; // Select types for the given Near-RT RIC identity. (optional) (default to null)
+String *nearRtRicId = nearRtRicId_example; // Select types for the given Near-RT RIC identity. (optional) (default to null)
String *typeName = typeName_example; // Select types with the given type name (type identity has the format <typename_version>) (optional) (default to null)
String *compatibleWithVersion = compatibleWithVersion_example; // Select types that are compatible with the given version. This parameter is only applicable in conjunction with type_name. As an example version 1.9.1 is compatible with 1.0.0 but not the other way around. Matching types will be returned sorted in ascending order. (optional) (default to null)
+String *accept = application/json; // Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. (optional) (default to null)
-[apiInstance getPolicyTypesWith:ricId
+[apiInstance getPolicyTypesWith:nearRtRicId
typeName:typeName
compatibleWithVersion:compatibleWithVersion
- completionHandler: ^(policy_type_id_list output, NSError* error) {
+ accept:accept
+ completionHandler: ^(array[PolicyTypeInformation] output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
@@ -3806,14 +7022,15 @@
</div>
<div class="tab-pane" id="examples-A1PolicyManagement-getPolicyTypes-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
+ <pre class="prettyprint"><code class="language-js">var A1PolicyManagementApi = require('a1_policy_management_api');
// Create an instance of the API class
-var api = new A1PolicyManagementService.A1PolicyManagementApi()
+var api = new A1PolicyManagementApi.A1PolicyManagementApi()
var opts = {
- 'ricId': ricId_example, // {String} Select types for the given Near-RT RIC identity.
+ 'nearRtRicId': nearRtRicId_example, // {String} Select types for the given Near-RT RIC identity.
'typeName': typeName_example, // {String} Select types with the given type name (type identity has the format <typename_version>)
- 'compatibleWithVersion': compatibleWithVersion_example // {String} Select types that are compatible with the given version. This parameter is only applicable in conjunction with type_name. As an example version 1.9.1 is compatible with 1.0.0 but not the other way around. Matching types will be returned sorted in ascending order.
+ 'compatibleWithVersion': compatibleWithVersion_example, // {String} Select types that are compatible with the given version. This parameter is only applicable in conjunction with type_name. As an example version 1.9.1 is compatible with 1.0.0 but not the other way around. Matching types will be returned sorted in ascending order.
+ 'accept': application/json // {String} Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
};
var callback = function(error, data, response) {
@@ -3846,12 +7063,13 @@
// Create an instance of the API class
var apiInstance = new A1PolicyManagementApi();
- var ricId = ricId_example; // String | Select types for the given Near-RT RIC identity. (optional) (default to null)
+ var nearRtRicId = nearRtRicId_example; // String | Select types for the given Near-RT RIC identity. (optional) (default to null)
var typeName = typeName_example; // String | Select types with the given type name (type identity has the format <typename_version>) (optional) (default to null)
var compatibleWithVersion = compatibleWithVersion_example; // String | Select types that are compatible with the given version. This parameter is only applicable in conjunction with type_name. As an example version 1.9.1 is compatible with 1.0.0 but not the other way around. Matching types will be returned sorted in ascending order. (optional) (default to null)
+ var accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. (optional) (default to null)
try {
- policy_type_id_list result = apiInstance.getPolicyTypes(ricId, typeName, compatibleWithVersion);
+ array[PolicyTypeInformation] result = apiInstance.getPolicyTypes(nearRtRicId, typeName, compatibleWithVersion, accept);
Debug.WriteLine(result);
} catch (Exception e) {
Debug.Print("Exception when calling A1PolicyManagementApi.getPolicyTypes: " + e.Message );
@@ -3868,12 +7086,13 @@
// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\A1PolicyManagementApi();
-$ricId = ricId_example; // String | Select types for the given Near-RT RIC identity.
+$nearRtRicId = nearRtRicId_example; // String | Select types for the given Near-RT RIC identity.
$typeName = typeName_example; // String | Select types with the given type name (type identity has the format <typename_version>)
$compatibleWithVersion = compatibleWithVersion_example; // String | Select types that are compatible with the given version. This parameter is only applicable in conjunction with type_name. As an example version 1.9.1 is compatible with 1.0.0 but not the other way around. Matching types will be returned sorted in ascending order.
+$accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
try {
- $result = $api_instance->getPolicyTypes($ricId, $typeName, $compatibleWithVersion);
+ $result = $api_instance->getPolicyTypes($nearRtRicId, $typeName, $compatibleWithVersion, $accept);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling A1PolicyManagementApi->getPolicyTypes: ', $e->getMessage(), PHP_EOL;
@@ -3888,12 +7107,13 @@
# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::A1PolicyManagementApi->new();
-my $ricId = ricId_example; # String | Select types for the given Near-RT RIC identity.
+my $nearRtRicId = nearRtRicId_example; # String | Select types for the given Near-RT RIC identity.
my $typeName = typeName_example; # String | Select types with the given type name (type identity has the format <typename_version>)
my $compatibleWithVersion = compatibleWithVersion_example; # String | Select types that are compatible with the given version. This parameter is only applicable in conjunction with type_name. As an example version 1.9.1 is compatible with 1.0.0 but not the other way around. Matching types will be returned sorted in ascending order.
+my $accept = application/json; # String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
eval {
- my $result = $api_instance->getPolicyTypes(ricId => $ricId, typeName => $typeName, compatibleWithVersion => $compatibleWithVersion);
+ my $result = $api_instance->getPolicyTypes(nearRtRicId => $nearRtRicId, typeName => $typeName, compatibleWithVersion => $compatibleWithVersion, accept => $accept);
print Dumper($result);
};
if ($@) {
@@ -3910,12 +7130,13 @@
# Create an instance of the API class
api_instance = openapi_client.A1PolicyManagementApi()
-ricId = ricId_example # String | Select types for the given Near-RT RIC identity. (optional) (default to null)
+nearRtRicId = nearRtRicId_example # String | Select types for the given Near-RT RIC identity. (optional) (default to null)
typeName = typeName_example # String | Select types with the given type name (type identity has the format <typename_version>) (optional) (default to null)
compatibleWithVersion = compatibleWithVersion_example # String | Select types that are compatible with the given version. This parameter is only applicable in conjunction with type_name. As an example version 1.9.1 is compatible with 1.0.0 but not the other way around. Matching types will be returned sorted in ascending order. (optional) (default to null)
+accept = application/json # String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. (optional) (default to null)
try:
- api_response = api_instance.get_policy_types(ricId=ricId, typeName=typeName, compatibleWithVersion=compatibleWithVersion)
+ api_response = api_instance.get_policy_types(nearRtRicId=nearRtRicId, typeName=typeName, compatibleWithVersion=compatibleWithVersion, accept=accept)
pprint(api_response)
except ApiException as e:
print("Exception when calling A1PolicyManagementApi->getPolicyTypes: %s\n" % e)</code></pre>
@@ -3925,12 +7146,13 @@
<pre class="prettyprint"><code class="language-rust">extern crate A1PolicyManagementApi;
pub fn main() {
- let ricId = ricId_example; // String
+ let nearRtRicId = nearRtRicId_example; // String
let typeName = typeName_example; // String
let compatibleWithVersion = compatibleWithVersion_example; // String
+ let accept = application/json; // String
let mut context = A1PolicyManagementApi::Context::default();
- let result = client.getPolicyTypes(ricId, typeName, compatibleWithVersion, &context).wait();
+ let result = client.getPolicyTypes(nearRtRicId, typeName, compatibleWithVersion, accept, &context).wait();
println!("{:?}", result);
}
@@ -3946,6 +7168,33 @@
<h2>Parameters</h2>
+ <div class="methodsubtabletitle">Header parameters</div>
+ <table id="methodsubtable">
+ <tr>
+ <th width="150px">Name</th>
+ <th>Description</th>
+ </tr>
+ <tr><td style="width:150px;">Accept</td>
+<td>
+
+
+ <div id="d2e199_getPolicyTypes_accept">
+ <div class="json-schema-view">
+ <div class="primitive">
+ <span class="type">
+ String
+ </span>
+
+ <div class="inner description marked">
+Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
+ </div>
+ </div>
+ </div>
+ </div>
+</td>
+</tr>
+
+ </table>
@@ -3955,11 +7204,11 @@
<th width="150px">Name</th>
<th>Description</th>
</tr>
- <tr><td style="width:150px;">ric_id</td>
+ <tr><td style="width:150px;">nearRtRicId</td>
<td>
- <div id="d2e199_getPolicyTypes_ricId">
+ <div id="d2e199_getPolicyTypes_nearRtRicId">
<div class="json-schema-view">
<div class="primitive">
<span class="type">
@@ -3975,7 +7224,7 @@
</td>
</tr>
- <tr><td style="width:150px;">type_name</td>
+ <tr><td style="width:150px;">typeName</td>
<td>
@@ -3995,7 +7244,7 @@
</td>
</tr>
- <tr><td style="width:150px;">compatible_with_version</td>
+ <tr><td style="width:150px;">compatibleWithVersion</td>
<td>
@@ -4021,7 +7270,7 @@
<h3 id="examples-A1PolicyManagement-getPolicyTypes-title-200"></h3>
<p id="examples-A1PolicyManagement-getPolicyTypes-description-200" class="marked"></p>
<script>
- var responseA1PolicyManagement200_description = `OK - Policy Type IDs Found`;
+ var responseA1PolicyManagement200_description = `OK - Policy Type IDs found Ok`;
var responseA1PolicyManagement200_description_break = responseA1PolicyManagement200_description.indexOf('\n');
if (responseA1PolicyManagement200_description_break == -1) {
$("#examples-A1PolicyManagement-getPolicyTypes-title-200").text("Status: 200 - " + responseA1PolicyManagement200_description);
@@ -4044,41 +7293,286 @@
<div class="tab-content" id="responses-A1PolicyManagement-getPolicyTypes-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyTypes-200-schema">
- <div id="responses-A1PolicyManagement-getPolicyTypes-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyTypes-200-schema">
+ <div id="responses-A1PolicyManagement-getPolicyTypes-schema-200" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "OK - Policy Type IDs found Ok",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/PolicyTypeInformation"
+ }
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicyTypes-200-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicyTypes-schema-200');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getPolicyTypes-200-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-getPolicyTypes-title-400"></h3>
+ <p id="examples-A1PolicyManagement-getPolicyTypes-description-400" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement400_description = `Bad Request`;
+ var responseA1PolicyManagement400_description_break = responseA1PolicyManagement400_description.indexOf('\n');
+ if (responseA1PolicyManagement400_description_break == -1) {
+ $("#examples-A1PolicyManagement-getPolicyTypes-title-400").text("Status: 400 - " + responseA1PolicyManagement400_description);
+ } else {
+ $("#examples-A1PolicyManagement-getPolicyTypes-title-400").text("Status: 400 - " + responseA1PolicyManagement400_description.substring(0, responseA1PolicyManagement400_description_break));
+ $("#examples-A1PolicyManagement-getPolicyTypes-description-400").html(responseA1PolicyManagement400_description.substring(responseA1PolicyManagement400_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-getPolicyTypes-400" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicyTypes-400-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-getPolicyTypes-400-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyTypes-400-schema">
+ <div id="responses-A1PolicyManagement-getPolicyTypes-schema-400" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Bad Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
});
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-A1PolicyManagement-getPolicyTypes-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-A1PolicyManagement-getPolicyTypes-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-A1PolicyManagement-getPolicyTypes-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicyTypes-400-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicyTypes-schema-400');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-A1PolicyManagement-getPolicyTypes-400-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-getPolicyTypes-title-401"></h3>
+ <p id="examples-A1PolicyManagement-getPolicyTypes-description-401" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement401_description = `Unauthorized`;
+ var responseA1PolicyManagement401_description_break = responseA1PolicyManagement401_description.indexOf('\n');
+ if (responseA1PolicyManagement401_description_break == -1) {
+ $("#examples-A1PolicyManagement-getPolicyTypes-title-401").text("Status: 401 - " + responseA1PolicyManagement401_description);
+ } else {
+ $("#examples-A1PolicyManagement-getPolicyTypes-title-401").text("Status: 401 - " + responseA1PolicyManagement401_description.substring(0, responseA1PolicyManagement401_description_break));
+ $("#examples-A1PolicyManagement-getPolicyTypes-description-401").html(responseA1PolicyManagement401_description.substring(responseA1PolicyManagement401_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-getPolicyTypes-401" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicyTypes-401-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-getPolicyTypes-401-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyTypes-401-schema">
+ <div id="responses-A1PolicyManagement-getPolicyTypes-schema-401" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Unauthorized",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicyTypes-401-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicyTypes-schema-401');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getPolicyTypes-401-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-getPolicyTypes-title-403"></h3>
+ <p id="examples-A1PolicyManagement-getPolicyTypes-description-403" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement403_description = `Forbidden`;
+ var responseA1PolicyManagement403_description_break = responseA1PolicyManagement403_description.indexOf('\n');
+ if (responseA1PolicyManagement403_description_break == -1) {
+ $("#examples-A1PolicyManagement-getPolicyTypes-title-403").text("Status: 403 - " + responseA1PolicyManagement403_description);
+ } else {
+ $("#examples-A1PolicyManagement-getPolicyTypes-title-403").text("Status: 403 - " + responseA1PolicyManagement403_description.substring(0, responseA1PolicyManagement403_description_break));
+ $("#examples-A1PolicyManagement-getPolicyTypes-description-403").html(responseA1PolicyManagement403_description.substring(responseA1PolicyManagement403_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-getPolicyTypes-403" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicyTypes-403-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-getPolicyTypes-403-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyTypes-403-schema">
+ <div id="responses-A1PolicyManagement-getPolicyTypes-schema-403" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Forbidden",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicyTypes-403-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicyTypes-schema-403');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getPolicyTypes-403-schema-data' type='hidden' value=''></input>
+ </div>
</div>
<h3 id="examples-A1PolicyManagement-getPolicyTypes-title-404"></h3>
<p id="examples-A1PolicyManagement-getPolicyTypes-description-404" class="marked"></p>
@@ -4095,12 +7589,446 @@
<ul id="responses-detail-A1PolicyManagement-getPolicyTypes-404" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicyTypes-404-schema">Schema</a>
+ </li>
+
+
</ul>
<div class="tab-content" id="responses-A1PolicyManagement-getPolicyTypes-404-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyTypes-404-schema">
+ <div id="responses-A1PolicyManagement-getPolicyTypes-schema-404" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicyTypes-404-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicyTypes-schema-404');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getPolicyTypes-404-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-getPolicyTypes-title-406"></h3>
+ <p id="examples-A1PolicyManagement-getPolicyTypes-description-406" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement406_description = `Not Acceptable`;
+ var responseA1PolicyManagement406_description_break = responseA1PolicyManagement406_description.indexOf('\n');
+ if (responseA1PolicyManagement406_description_break == -1) {
+ $("#examples-A1PolicyManagement-getPolicyTypes-title-406").text("Status: 406 - " + responseA1PolicyManagement406_description);
+ } else {
+ $("#examples-A1PolicyManagement-getPolicyTypes-title-406").text("Status: 406 - " + responseA1PolicyManagement406_description.substring(0, responseA1PolicyManagement406_description_break));
+ $("#examples-A1PolicyManagement-getPolicyTypes-description-406").html(responseA1PolicyManagement406_description.substring(responseA1PolicyManagement406_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-getPolicyTypes-406" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicyTypes-406-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-getPolicyTypes-406-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyTypes-406-schema">
+ <div id="responses-A1PolicyManagement-getPolicyTypes-schema-406" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Not Acceptable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicyTypes-406-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicyTypes-schema-406');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getPolicyTypes-406-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-getPolicyTypes-title-429"></h3>
+ <p id="examples-A1PolicyManagement-getPolicyTypes-description-429" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement429_description = `Too Many Request`;
+ var responseA1PolicyManagement429_description_break = responseA1PolicyManagement429_description.indexOf('\n');
+ if (responseA1PolicyManagement429_description_break == -1) {
+ $("#examples-A1PolicyManagement-getPolicyTypes-title-429").text("Status: 429 - " + responseA1PolicyManagement429_description);
+ } else {
+ $("#examples-A1PolicyManagement-getPolicyTypes-title-429").text("Status: 429 - " + responseA1PolicyManagement429_description.substring(0, responseA1PolicyManagement429_description_break));
+ $("#examples-A1PolicyManagement-getPolicyTypes-description-429").html(responseA1PolicyManagement429_description.substring(responseA1PolicyManagement429_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-getPolicyTypes-429" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicyTypes-429-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-getPolicyTypes-429-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyTypes-429-schema">
+ <div id="responses-A1PolicyManagement-getPolicyTypes-schema-429" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Too Many Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicyTypes-429-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicyTypes-schema-429');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getPolicyTypes-429-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-getPolicyTypes-title-500"></h3>
+ <p id="examples-A1PolicyManagement-getPolicyTypes-description-500" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement500_description = `Internal Server Error`;
+ var responseA1PolicyManagement500_description_break = responseA1PolicyManagement500_description.indexOf('\n');
+ if (responseA1PolicyManagement500_description_break == -1) {
+ $("#examples-A1PolicyManagement-getPolicyTypes-title-500").text("Status: 500 - " + responseA1PolicyManagement500_description);
+ } else {
+ $("#examples-A1PolicyManagement-getPolicyTypes-title-500").text("Status: 500 - " + responseA1PolicyManagement500_description.substring(0, responseA1PolicyManagement500_description_break));
+ $("#examples-A1PolicyManagement-getPolicyTypes-description-500").html(responseA1PolicyManagement500_description.substring(responseA1PolicyManagement500_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-getPolicyTypes-500" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicyTypes-500-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-getPolicyTypes-500-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyTypes-500-schema">
+ <div id="responses-A1PolicyManagement-getPolicyTypes-schema-500" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Internal Server Error",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicyTypes-500-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicyTypes-schema-500');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getPolicyTypes-500-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-getPolicyTypes-title-502"></h3>
+ <p id="examples-A1PolicyManagement-getPolicyTypes-description-502" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement502_description = `Bad Gateway`;
+ var responseA1PolicyManagement502_description_break = responseA1PolicyManagement502_description.indexOf('\n');
+ if (responseA1PolicyManagement502_description_break == -1) {
+ $("#examples-A1PolicyManagement-getPolicyTypes-title-502").text("Status: 502 - " + responseA1PolicyManagement502_description);
+ } else {
+ $("#examples-A1PolicyManagement-getPolicyTypes-title-502").text("Status: 502 - " + responseA1PolicyManagement502_description.substring(0, responseA1PolicyManagement502_description_break));
+ $("#examples-A1PolicyManagement-getPolicyTypes-description-502").html(responseA1PolicyManagement502_description.substring(responseA1PolicyManagement502_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-getPolicyTypes-502" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicyTypes-502-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-getPolicyTypes-502-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyTypes-502-schema">
+ <div id="responses-A1PolicyManagement-getPolicyTypes-schema-502" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Bad Gateway",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicyTypes-502-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicyTypes-schema-502');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getPolicyTypes-502-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-getPolicyTypes-title-503"></h3>
+ <p id="examples-A1PolicyManagement-getPolicyTypes-description-503" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement503_description = `Service Unavailable`;
+ var responseA1PolicyManagement503_description_break = responseA1PolicyManagement503_description.indexOf('\n');
+ if (responseA1PolicyManagement503_description_break == -1) {
+ $("#examples-A1PolicyManagement-getPolicyTypes-title-503").text("Status: 503 - " + responseA1PolicyManagement503_description);
+ } else {
+ $("#examples-A1PolicyManagement-getPolicyTypes-title-503").text("Status: 503 - " + responseA1PolicyManagement503_description.substring(0, responseA1PolicyManagement503_description_break));
+ $("#examples-A1PolicyManagement-getPolicyTypes-description-503").html(responseA1PolicyManagement503_description.substring(responseA1PolicyManagement503_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-getPolicyTypes-503" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicyTypes-503-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-getPolicyTypes-503-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyTypes-503-schema">
+ <div id="responses-A1PolicyManagement-getPolicyTypes-schema-503" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Service Unavailable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicyTypes-503-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicyTypes-schema-503');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getPolicyTypes-503-schema-data' type='hidden' value=''></input>
+ </div>
</div>
</article>
</div>
@@ -4114,16 +8042,17 @@
<div class="pull-right"></div>
<div class="clearfix"></div>
<p></p>
- <p class="marked">Create or update a policy</p>
+ <p class="marked">update a policy</p>
<p></p>
<br />
- <pre class="prettyprint language-html prettyprinted" data-type="put"><code><span class="pln">/a1-policy/v2/policies</span></code></pre>
+ <pre class="prettyprint language-html prettyprinted" data-type="put"><code><span class="pln">/policies/{policyId}</span></code></pre>
<p>
<h3>Usage and SDK Samples</h3>
</p>
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="#examples-A1PolicyManagement-putPolicy-0-curl">Curl</a></li>
<li class=""><a href="#examples-A1PolicyManagement-putPolicy-0-java">Java</a></li>
+ <li class=""><a href="#examples-A1PolicyManagement-putPolicy-0-dart">Dart</a></li>
<li class=""><a href="#examples-A1PolicyManagement-putPolicy-0-android">Android</a></li>
<!--<li class=""><a href="#examples-A1PolicyManagement-putPolicy-0-groovy">Groovy</a></li>-->
<li class=""><a href="#examples-A1PolicyManagement-putPolicy-0-objc">Obj-C</a></li>
@@ -4141,7 +8070,7 @@
<pre class="prettyprint"><code class="language-bsh">curl -X PUT \
-H "Accept: application/json,application/problem+json" \
-H "Content-Type: application/json" \
- "http://localhost/a1-policy/v2/policies" \
+ "https://example.com/a1-policy-management/v1/policies/{policyId}" \
-d ''
</code></pre>
</div>
@@ -4159,10 +8088,11 @@
// Create an instance of the API class
A1PolicyManagementApi apiInstance = new A1PolicyManagementApi();
- PolicyInfo policyInfo = ; // PolicyInfo |
+ String policyId = policyId_example; // String |
+ Object body = Object; // Object |
try {
- Object result = apiInstance.putPolicy(policyInfo);
+ Object result = apiInstance.putPolicy(policyId, body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling A1PolicyManagementApi#putPolicy");
@@ -4173,16 +8103,35 @@
</code></pre>
</div>
+ <div class="tab-pane" id="examples-A1PolicyManagement-putPolicy-0-dart">
+ <pre class="prettyprint"><code class="language-dart">import 'package:openapi/api.dart';
+
+final api_instance = DefaultApi();
+
+final String policyId = new String(); // String |
+final Object body = new Object(); // Object |
+
+try {
+ final result = await api_instance.putPolicy(policyId, body);
+ print(result);
+} catch (e) {
+ print('Exception when calling DefaultApi->putPolicy: $e\n');
+}
+
+</code></pre>
+ </div>
+
<div class="tab-pane" id="examples-A1PolicyManagement-putPolicy-0-android">
<pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.A1PolicyManagementApi;
public class A1PolicyManagementApiExample {
public static void main(String[] args) {
A1PolicyManagementApi apiInstance = new A1PolicyManagementApi();
- PolicyInfo policyInfo = ; // PolicyInfo |
+ String policyId = policyId_example; // String |
+ Object body = Object; // Object |
try {
- Object result = apiInstance.putPolicy(policyInfo);
+ Object result = apiInstance.putPolicy(policyId, body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling A1PolicyManagementApi#putPolicy");
@@ -4200,9 +8149,11 @@
// Create an instance of the API class
A1PolicyManagementApi *apiInstance = [[A1PolicyManagementApi alloc] init];
-PolicyInfo *policyInfo = ; //
+String *policyId = policyId_example; // (default to null)
+Object *body = Object; //
-[apiInstance putPolicyWith:policyInfo
+[apiInstance putPolicyWith:policyId
+ body:body
completionHandler: ^(Object output, NSError* error) {
if (output) {
NSLog(@"%@", output);
@@ -4215,11 +8166,12 @@
</div>
<div class="tab-pane" id="examples-A1PolicyManagement-putPolicy-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
+ <pre class="prettyprint"><code class="language-js">var A1PolicyManagementApi = require('a1_policy_management_api');
// Create an instance of the API class
-var api = new A1PolicyManagementService.A1PolicyManagementApi()
-var policyInfo = ; // {PolicyInfo}
+var api = new A1PolicyManagementApi.A1PolicyManagementApi()
+var policyId = policyId_example; // {String}
+var body = Object; // {Object}
var callback = function(error, data, response) {
if (error) {
@@ -4228,7 +8180,7 @@
console.log('API called successfully. Returned data: ' + data);
}
};
-api.putPolicy(policyInfo, callback);
+api.putPolicy(policyId, body, callback);
</code></pre>
</div>
@@ -4251,10 +8203,11 @@
// Create an instance of the API class
var apiInstance = new A1PolicyManagementApi();
- var policyInfo = new PolicyInfo(); // PolicyInfo |
+ var policyId = policyId_example; // String | (default to null)
+ var body = Object; // Object |
try {
- Object result = apiInstance.putPolicy(policyInfo);
+ Object result = apiInstance.putPolicy(policyId, body);
Debug.WriteLine(result);
} catch (Exception e) {
Debug.Print("Exception when calling A1PolicyManagementApi.putPolicy: " + e.Message );
@@ -4271,10 +8224,11 @@
// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\A1PolicyManagementApi();
-$policyInfo = ; // PolicyInfo |
+$policyId = policyId_example; // String |
+$body = Object; // Object |
try {
- $result = $api_instance->putPolicy($policyInfo);
+ $result = $api_instance->putPolicy($policyId, $body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling A1PolicyManagementApi->putPolicy: ', $e->getMessage(), PHP_EOL;
@@ -4289,10 +8243,11 @@
# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::A1PolicyManagementApi->new();
-my $policyInfo = WWW::OPenAPIClient::Object::PolicyInfo->new(); # PolicyInfo |
+my $policyId = policyId_example; # String |
+my $body = WWW::OPenAPIClient::Object::Object->new(); # Object |
eval {
- my $result = $api_instance->putPolicy(policyInfo => $policyInfo);
+ my $result = $api_instance->putPolicy(policyId => $policyId, body => $body);
print Dumper($result);
};
if ($@) {
@@ -4309,10 +8264,11 @@
# Create an instance of the API class
api_instance = openapi_client.A1PolicyManagementApi()
-policyInfo = # PolicyInfo |
+policyId = policyId_example # String | (default to null)
+body = Object # Object |
try:
- api_response = api_instance.put_policy(policyInfo)
+ api_response = api_instance.put_policy(policyId, body)
pprint(api_response)
except ApiException as e:
print("Exception when calling A1PolicyManagementApi->putPolicy: %s\n" % e)</code></pre>
@@ -4322,10 +8278,11 @@
<pre class="prettyprint"><code class="language-rust">extern crate A1PolicyManagementApi;
pub fn main() {
- let policyInfo = ; // PolicyInfo
+ let policyId = policyId_example; // String
+ let body = Object; // Object
let mut context = A1PolicyManagementApi::Context::default();
- let result = client.putPolicy(policyInfo, &context).wait();
+ let result = client.putPolicy(policyId, body, &context).wait();
println!("{:?}", result);
}
@@ -4340,6 +8297,33 @@
<h2>Parameters</h2>
+ <div class="methodsubtabletitle">Path parameters</div>
+ <table id="methodsubtable">
+ <tr>
+ <th width="150px">Name</th>
+ <th>Description</th>
+ </tr>
+ <tr><td style="width:150px;">policyId*</td>
+<td>
+
+
+ <div id="d2e199_putPolicy_policyId">
+ <div class="json-schema-view">
+ <div class="primitive">
+ <span class="type">
+ String
+ </span>
+
+ </div>
+ <div class="inner required">
+ Required
+ </div>
+ </div>
+ </div>
+</td>
+</tr>
+
+ </table>
<div class="methodsubtabletitle">Body parameters</div>
@@ -4348,20 +8332,25 @@
<th width="150px">Name</th>
<th>Description</th>
</tr>
- <tr><td style="width:150px;">policyInfo <span style="color:red;">*</span></td>
+ <tr><td style="width:150px;">body <span style="color:red;">*</span></td>
<td>
<p class="marked"></p>
<script>
$(document).ready(function() {
- var schemaWrapper = {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/policy_info"
- }
- }
- },
- "required" : true
+ var schemaWrapper = {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/PolicyObject"
+ },
+ "examples" : {
+ "policyObject" : {
+ "$ref" : "#/components/examples/PolicyObject"
+ }
+ }
+ }
+ },
+ "required" : true
};
var schema = findNode('schema',schemaWrapper).schema;
@@ -4370,6 +8359,8 @@
}
if (schema.$ref != null) {
schema = defsParser.$refs.get(schema.$ref);
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
} else {
schemaWrapper.definitions = Object.assign({}, defs);
$RefParser.dereference(schemaWrapper).catch(function(err) {
@@ -4378,12 +8369,12 @@
}
var view = new JSONSchemaView(schema,2,{isBodyParam: true});
- var result = $('#d2e199_putPolicy_policyInfo');
+ var result = $('#d2e199_putPolicy_body');
result.empty();
result.append(view.render());
});
</script>
-<div id="d2e199_putPolicy_policyInfo"></div>
+<div id="d2e199_putPolicy_body"></div>
</td>
</tr>
@@ -4418,59 +8409,73 @@
<div class="tab-content" id="responses-A1PolicyManagement-putPolicy-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-A1PolicyManagement-putPolicy-200-schema">
- <div id="responses-A1PolicyManagement-putPolicy-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-A1PolicyManagement-putPolicy-200-schema">
+ <div id="responses-A1PolicyManagement-putPolicy-schema-200" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "OK - Policy updated",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/PolicyObject"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-A1PolicyManagement-putPolicy-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-A1PolicyManagement-putPolicy-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-A1PolicyManagement-putPolicy-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-putPolicy-200-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-putPolicy-schema-200');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-A1PolicyManagement-putPolicy-200-schema-data' type='hidden' value=''></input>
+ </div>
</div>
- <h3 id="examples-A1PolicyManagement-putPolicy-title-201"></h3>
- <p id="examples-A1PolicyManagement-putPolicy-description-201" class="marked"></p>
+ <h3 id="examples-A1PolicyManagement-putPolicy-title-400"></h3>
+ <p id="examples-A1PolicyManagement-putPolicy-description-400" class="marked"></p>
<script>
- var responseA1PolicyManagement201_description = `Created - Policy created`;
- var responseA1PolicyManagement201_description_break = responseA1PolicyManagement201_description.indexOf('\n');
- if (responseA1PolicyManagement201_description_break == -1) {
- $("#examples-A1PolicyManagement-putPolicy-title-201").text("Status: 201 - " + responseA1PolicyManagement201_description);
+ var responseA1PolicyManagement400_description = `Bad Request`;
+ var responseA1PolicyManagement400_description_break = responseA1PolicyManagement400_description.indexOf('\n');
+ if (responseA1PolicyManagement400_description_break == -1) {
+ $("#examples-A1PolicyManagement-putPolicy-title-400").text("Status: 400 - " + responseA1PolicyManagement400_description);
} else {
- $("#examples-A1PolicyManagement-putPolicy-title-201").text("Status: 201 - " + responseA1PolicyManagement201_description.substring(0, responseA1PolicyManagement201_description_break));
- $("#examples-A1PolicyManagement-putPolicy-description-201").html(responseA1PolicyManagement201_description.substring(responseA1PolicyManagement201_description_break));
+ $("#examples-A1PolicyManagement-putPolicy-title-400").text("Status: 400 - " + responseA1PolicyManagement400_description.substring(0, responseA1PolicyManagement400_description_break));
+ $("#examples-A1PolicyManagement-putPolicy-description-400").html(responseA1PolicyManagement400_description.substring(responseA1PolicyManagement400_description_break));
}
</script>
- <ul id="responses-detail-A1PolicyManagement-putPolicy-201" class="nav nav-tabs nav-tabs-examples" >
+ <ul id="responses-detail-A1PolicyManagement-putPolicy-400" class="nav nav-tabs nav-tabs-examples" >
<li class="active">
- <a data-toggle="tab" href="#responses-A1PolicyManagement-putPolicy-201-schema">Schema</a>
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-putPolicy-400-schema">Schema</a>
</li>
@@ -4479,42 +8484,588 @@
</ul>
- <div class="tab-content" id="responses-A1PolicyManagement-putPolicy-201-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-A1PolicyManagement-putPolicy-201-schema">
- <div id="responses-A1PolicyManagement-putPolicy-schema-201" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-content" id="responses-A1PolicyManagement-putPolicy-400-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-putPolicy-400-schema">
+ <div id="responses-A1PolicyManagement-putPolicy-schema-400" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Bad Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-putPolicy-400-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-putPolicy-schema-400');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-putPolicy-400-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-putPolicy-title-401"></h3>
+ <p id="examples-A1PolicyManagement-putPolicy-description-401" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement401_description = `Unauthorized`;
+ var responseA1PolicyManagement401_description_break = responseA1PolicyManagement401_description.indexOf('\n');
+ if (responseA1PolicyManagement401_description_break == -1) {
+ $("#examples-A1PolicyManagement-putPolicy-title-401").text("Status: 401 - " + responseA1PolicyManagement401_description);
+ } else {
+ $("#examples-A1PolicyManagement-putPolicy-title-401").text("Status: 401 - " + responseA1PolicyManagement401_description.substring(0, responseA1PolicyManagement401_description_break));
+ $("#examples-A1PolicyManagement-putPolicy-description-401").html(responseA1PolicyManagement401_description.substring(responseA1PolicyManagement401_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-putPolicy-401" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-putPolicy-401-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-putPolicy-401-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-putPolicy-401-schema">
+ <div id="responses-A1PolicyManagement-putPolicy-schema-401" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Unauthorized",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
});
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-A1PolicyManagement-putPolicy-201-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-A1PolicyManagement-putPolicy-schema-201');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-A1PolicyManagement-putPolicy-201-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-putPolicy-401-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-putPolicy-schema-401');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-A1PolicyManagement-putPolicy-401-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-putPolicy-title-403"></h3>
+ <p id="examples-A1PolicyManagement-putPolicy-description-403" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement403_description = `Forbidden`;
+ var responseA1PolicyManagement403_description_break = responseA1PolicyManagement403_description.indexOf('\n');
+ if (responseA1PolicyManagement403_description_break == -1) {
+ $("#examples-A1PolicyManagement-putPolicy-title-403").text("Status: 403 - " + responseA1PolicyManagement403_description);
+ } else {
+ $("#examples-A1PolicyManagement-putPolicy-title-403").text("Status: 403 - " + responseA1PolicyManagement403_description.substring(0, responseA1PolicyManagement403_description_break));
+ $("#examples-A1PolicyManagement-putPolicy-description-403").html(responseA1PolicyManagement403_description.substring(responseA1PolicyManagement403_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-putPolicy-403" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-putPolicy-403-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-putPolicy-403-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-putPolicy-403-schema">
+ <div id="responses-A1PolicyManagement-putPolicy-schema-403" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Forbidden",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-putPolicy-403-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-putPolicy-schema-403');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-putPolicy-403-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-putPolicy-title-404"></h3>
+ <p id="examples-A1PolicyManagement-putPolicy-description-404" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement404_description = `Not Found`;
+ var responseA1PolicyManagement404_description_break = responseA1PolicyManagement404_description.indexOf('\n');
+ if (responseA1PolicyManagement404_description_break == -1) {
+ $("#examples-A1PolicyManagement-putPolicy-title-404").text("Status: 404 - " + responseA1PolicyManagement404_description);
+ } else {
+ $("#examples-A1PolicyManagement-putPolicy-title-404").text("Status: 404 - " + responseA1PolicyManagement404_description.substring(0, responseA1PolicyManagement404_description_break));
+ $("#examples-A1PolicyManagement-putPolicy-description-404").html(responseA1PolicyManagement404_description.substring(responseA1PolicyManagement404_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-putPolicy-404" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-putPolicy-404-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-putPolicy-404-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-putPolicy-404-schema">
+ <div id="responses-A1PolicyManagement-putPolicy-schema-404" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-putPolicy-404-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-putPolicy-schema-404');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-putPolicy-404-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-putPolicy-title-406"></h3>
+ <p id="examples-A1PolicyManagement-putPolicy-description-406" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement406_description = `Not Acceptable`;
+ var responseA1PolicyManagement406_description_break = responseA1PolicyManagement406_description.indexOf('\n');
+ if (responseA1PolicyManagement406_description_break == -1) {
+ $("#examples-A1PolicyManagement-putPolicy-title-406").text("Status: 406 - " + responseA1PolicyManagement406_description);
+ } else {
+ $("#examples-A1PolicyManagement-putPolicy-title-406").text("Status: 406 - " + responseA1PolicyManagement406_description.substring(0, responseA1PolicyManagement406_description_break));
+ $("#examples-A1PolicyManagement-putPolicy-description-406").html(responseA1PolicyManagement406_description.substring(responseA1PolicyManagement406_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-putPolicy-406" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-putPolicy-406-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-putPolicy-406-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-putPolicy-406-schema">
+ <div id="responses-A1PolicyManagement-putPolicy-schema-406" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Not Acceptable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-putPolicy-406-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-putPolicy-schema-406');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-putPolicy-406-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-putPolicy-title-411"></h3>
+ <p id="examples-A1PolicyManagement-putPolicy-description-411" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement411_description = `Length Required`;
+ var responseA1PolicyManagement411_description_break = responseA1PolicyManagement411_description.indexOf('\n');
+ if (responseA1PolicyManagement411_description_break == -1) {
+ $("#examples-A1PolicyManagement-putPolicy-title-411").text("Status: 411 - " + responseA1PolicyManagement411_description);
+ } else {
+ $("#examples-A1PolicyManagement-putPolicy-title-411").text("Status: 411 - " + responseA1PolicyManagement411_description.substring(0, responseA1PolicyManagement411_description_break));
+ $("#examples-A1PolicyManagement-putPolicy-description-411").html(responseA1PolicyManagement411_description.substring(responseA1PolicyManagement411_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-putPolicy-411" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-putPolicy-411-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-putPolicy-411-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-putPolicy-411-schema">
+ <div id="responses-A1PolicyManagement-putPolicy-schema-411" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Length Required",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-putPolicy-411-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-putPolicy-schema-411');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-putPolicy-411-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-putPolicy-title-413"></h3>
+ <p id="examples-A1PolicyManagement-putPolicy-description-413" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement413_description = `Payload Too Large`;
+ var responseA1PolicyManagement413_description_break = responseA1PolicyManagement413_description.indexOf('\n');
+ if (responseA1PolicyManagement413_description_break == -1) {
+ $("#examples-A1PolicyManagement-putPolicy-title-413").text("Status: 413 - " + responseA1PolicyManagement413_description);
+ } else {
+ $("#examples-A1PolicyManagement-putPolicy-title-413").text("Status: 413 - " + responseA1PolicyManagement413_description.substring(0, responseA1PolicyManagement413_description_break));
+ $("#examples-A1PolicyManagement-putPolicy-description-413").html(responseA1PolicyManagement413_description.substring(responseA1PolicyManagement413_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-putPolicy-413" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-putPolicy-413-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-putPolicy-413-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-putPolicy-413-schema">
+ <div id="responses-A1PolicyManagement-putPolicy-schema-413" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Payload Too Large",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-putPolicy-413-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-putPolicy-schema-413');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-putPolicy-413-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-putPolicy-title-415"></h3>
+ <p id="examples-A1PolicyManagement-putPolicy-description-415" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement415_description = `Unsupported Media Type`;
+ var responseA1PolicyManagement415_description_break = responseA1PolicyManagement415_description.indexOf('\n');
+ if (responseA1PolicyManagement415_description_break == -1) {
+ $("#examples-A1PolicyManagement-putPolicy-title-415").text("Status: 415 - " + responseA1PolicyManagement415_description);
+ } else {
+ $("#examples-A1PolicyManagement-putPolicy-title-415").text("Status: 415 - " + responseA1PolicyManagement415_description.substring(0, responseA1PolicyManagement415_description_break));
+ $("#examples-A1PolicyManagement-putPolicy-description-415").html(responseA1PolicyManagement415_description.substring(responseA1PolicyManagement415_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-putPolicy-415" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-putPolicy-415-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-putPolicy-415-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-putPolicy-415-schema">
+ <div id="responses-A1PolicyManagement-putPolicy-schema-415" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Unsupported Media Type",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-putPolicy-415-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-putPolicy-schema-415');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-putPolicy-415-schema-data' type='hidden' value=''></input>
+ </div>
</div>
<h3 id="examples-A1PolicyManagement-putPolicy-title-423"></h3>
<p id="examples-A1PolicyManagement-putPolicy-description-423" class="marked"></p>
@@ -4542,297 +9093,78 @@
<div class="tab-content" id="responses-A1PolicyManagement-putPolicy-423-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-A1PolicyManagement-putPolicy-423-schema">
- <div id="responses-A1PolicyManagement-putPolicy-schema-423" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-A1PolicyManagement-putPolicy-423-schema">
+ <div id="responses-A1PolicyManagement-putPolicy-schema-423" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Locked - HTTP Status code which can be used when the state is Locked",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ErrorInformation"
+ },
+ "example" : {
+ "status" : 423,
+ "title" : "Locked",
+ "detail" : "State is Locked in the provided request."
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-A1PolicyManagement-putPolicy-423-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-A1PolicyManagement-putPolicy-schema-423');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-A1PolicyManagement-putPolicy-423-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-putPolicy-423-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-putPolicy-schema-423');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-A1PolicyManagement-putPolicy-423-schema-data' type='hidden' value=''></input>
+ </div>
</div>
- </article>
- </div>
- <hr>
- </section>
- <section id="api-Actuator">
- <h1>Actuator</h1>
- <div id="api-Actuator-health">
- <article id="api-Actuator-health-0" data-group="User" data-name="health" data-version="0">
- <div class="pull-left">
- <h1>health</h1>
- <p>Actuator web endpoint 'health'</p>
- </div>
- <div class="pull-right"></div>
- <div class="clearfix"></div>
- <p></p>
- <p class="marked"></p>
- <p></p>
- <br />
- <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/actuator/health</span></code></pre>
- <p>
- <h3>Usage and SDK Samples</h3>
- </p>
- <ul class="nav nav-tabs nav-tabs-examples">
- <li class="active"><a href="#examples-Actuator-health-0-curl">Curl</a></li>
- <li class=""><a href="#examples-Actuator-health-0-java">Java</a></li>
- <li class=""><a href="#examples-Actuator-health-0-android">Android</a></li>
- <!--<li class=""><a href="#examples-Actuator-health-0-groovy">Groovy</a></li>-->
- <li class=""><a href="#examples-Actuator-health-0-objc">Obj-C</a></li>
- <li class=""><a href="#examples-Actuator-health-0-javascript">JavaScript</a></li>
- <!--<li class=""><a href="#examples-Actuator-health-0-angular">Angular</a></li>-->
- <li class=""><a href="#examples-Actuator-health-0-csharp">C#</a></li>
- <li class=""><a href="#examples-Actuator-health-0-php">PHP</a></li>
- <li class=""><a href="#examples-Actuator-health-0-perl">Perl</a></li>
- <li class=""><a href="#examples-Actuator-health-0-python">Python</a></li>
- <li class=""><a href="#examples-Actuator-health-0-rust">Rust</a></li>
- </ul>
-
- <div class="tab-content">
- <div class="tab-pane active" id="examples-Actuator-health-0-curl">
- <pre class="prettyprint"><code class="language-bsh">curl -X GET \
- -H "Accept: application/vnd.spring-boot.actuator.v3+json,application/json,application/vnd.spring-boot.actuator.v2+json" \
- "http://localhost/actuator/health"
-</code></pre>
- </div>
- <div class="tab-pane" id="examples-Actuator-health-0-java">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
-import org.openapitools.client.auth.*;
-import org.openapitools.client.model.*;
-import org.openapitools.client.api.ActuatorApi;
-
-import java.io.File;
-import java.util.*;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
-
- // Create an instance of the API class
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- Object result = apiInstance.health();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#health");
- e.printStackTrace();
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-health-0-android">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ActuatorApi;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- Object result = apiInstance.health();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#health");
- e.printStackTrace();
- }
- }
-}</code></pre>
- </div>
- <!--
- <div class="tab-pane" id="examples-Actuator-health-0-groovy">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div> -->
- <div class="tab-pane" id="examples-Actuator-health-0-objc">
- <pre class="prettyprint"><code class="language-cpp">
-
-// Create an instance of the API class
-ActuatorApi *apiInstance = [[ActuatorApi alloc] init];
-
-// Actuator web endpoint 'health'
-[apiInstance healthWithCompletionHandler:
- ^(Object output, NSError* error) {
- if (output) {
- NSLog(@"%@", output);
- }
- if (error) {
- NSLog(@"Error: %@", error);
- }
-}];
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-health-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
-
-// Create an instance of the API class
-var api = new A1PolicyManagementService.ActuatorApi()
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-api.health(callback);
-</code></pre>
- </div>
-
- <!--<div class="tab-pane" id="examples-Actuator-health-0-angular">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div>-->
- <div class="tab-pane" id="examples-Actuator-health-0-csharp">
- <pre class="prettyprint"><code class="language-cs">using System;
-using System.Diagnostics;
-using Org.OpenAPITools.Api;
-using Org.OpenAPITools.Client;
-using Org.OpenAPITools.Model;
-
-namespace Example
-{
- public class healthExample
- {
- public void main()
- {
-
- // Create an instance of the API class
- var apiInstance = new ActuatorApi();
-
- try {
- // Actuator web endpoint 'health'
- Object result = apiInstance.health();
- Debug.WriteLine(result);
- } catch (Exception e) {
- Debug.Print("Exception when calling ActuatorApi.health: " + e.Message );
- }
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-health-0-php">
- <pre class="prettyprint"><code class="language-php"><?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-// Create an instance of the API class
-$api_instance = new OpenAPITools\Client\Api\ActuatorApi();
-
-try {
- $result = $api_instance->health();
- print_r($result);
-} catch (Exception $e) {
- echo 'Exception when calling ActuatorApi->health: ', $e->getMessage(), PHP_EOL;
-}
-?></code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-health-0-perl">
- <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
-use WWW::OPenAPIClient::Configuration;
-use WWW::OPenAPIClient::ActuatorApi;
-
-# Create an instance of the API class
-my $api_instance = WWW::OPenAPIClient::ActuatorApi->new();
-
-eval {
- my $result = $api_instance->health();
- print Dumper($result);
-};
-if ($@) {
- warn "Exception when calling ActuatorApi->health: $@\n";
-}</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-health-0-python">
- <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
-import time
-import openapi_client
-from openapi_client.rest import ApiException
-from pprint import pprint
-
-# Create an instance of the API class
-api_instance = openapi_client.ActuatorApi()
-
-try:
- # Actuator web endpoint 'health'
- api_response = api_instance.health()
- pprint(api_response)
-except ApiException as e:
- print("Exception when calling ActuatorApi->health: %s\n" % e)</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-health-0-rust">
- <pre class="prettyprint"><code class="language-rust">extern crate ActuatorApi;
-
-pub fn main() {
-
- let mut context = ActuatorApi::Context::default();
- let result = client.health(&context).wait();
-
- println!("{:?}", result);
-}
-</code></pre>
- </div>
- </div>
-
- <h2>Scopes</h2>
- <table>
-
- </table>
-
- <h2>Parameters</h2>
-
-
-
-
-
-
- <h2>Responses</h2>
- <h3 id="examples-Actuator-health-title-200"></h3>
- <p id="examples-Actuator-health-description-200" class="marked"></p>
+ <h3 id="examples-A1PolicyManagement-putPolicy-title-429"></h3>
+ <p id="examples-A1PolicyManagement-putPolicy-description-429" class="marked"></p>
<script>
- var responseActuator200_description = `OK`;
- var responseActuator200_description_break = responseActuator200_description.indexOf('\n');
- if (responseActuator200_description_break == -1) {
- $("#examples-Actuator-health-title-200").text("Status: 200 - " + responseActuator200_description);
+ var responseA1PolicyManagement429_description = `Too Many Request`;
+ var responseA1PolicyManagement429_description_break = responseA1PolicyManagement429_description.indexOf('\n');
+ if (responseA1PolicyManagement429_description_break == -1) {
+ $("#examples-A1PolicyManagement-putPolicy-title-429").text("Status: 429 - " + responseA1PolicyManagement429_description);
} else {
- $("#examples-Actuator-health-title-200").text("Status: 200 - " + responseActuator200_description.substring(0, responseActuator200_description_break));
- $("#examples-Actuator-health-description-200").html(responseActuator200_description.substring(responseActuator200_description_break));
+ $("#examples-A1PolicyManagement-putPolicy-title-429").text("Status: 429 - " + responseA1PolicyManagement429_description.substring(0, responseA1PolicyManagement429_description_break));
+ $("#examples-A1PolicyManagement-putPolicy-description-429").html(responseA1PolicyManagement429_description.substring(responseA1PolicyManagement429_description_break));
}
</script>
- <ul id="responses-detail-Actuator-health-200" class="nav nav-tabs nav-tabs-examples" >
+ <ul id="responses-detail-A1PolicyManagement-putPolicy-429" class="nav nav-tabs nav-tabs-examples" >
<li class="active">
- <a data-toggle="tab" href="#responses-Actuator-health-200-schema">Schema</a>
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-putPolicy-429-schema">Schema</a>
</li>
@@ -4841,295 +9173,74 @@
</ul>
- <div class="tab-content" id="responses-Actuator-health-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-Actuator-health-200-schema">
- <div id="responses-Actuator-health-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-content" id="responses-A1PolicyManagement-putPolicy-429-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-putPolicy-429-schema">
+ <div id="responses-A1PolicyManagement-putPolicy-schema-429" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Too Many Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-Actuator-health-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-Actuator-health-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-Actuator-health-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-putPolicy-429-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-putPolicy-schema-429');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-A1PolicyManagement-putPolicy-429-schema-data' type='hidden' value=''></input>
+ </div>
</div>
- </article>
- </div>
- <hr>
- <div id="api-Actuator-healthPath">
- <article id="api-Actuator-healthPath-0" data-group="User" data-name="healthPath" data-version="0">
- <div class="pull-left">
- <h1>healthPath</h1>
- <p>Actuator web endpoint 'health-path'</p>
- </div>
- <div class="pull-right"></div>
- <div class="clearfix"></div>
- <p></p>
- <p class="marked"></p>
- <p></p>
- <br />
- <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/actuator/health/**</span></code></pre>
- <p>
- <h3>Usage and SDK Samples</h3>
- </p>
- <ul class="nav nav-tabs nav-tabs-examples">
- <li class="active"><a href="#examples-Actuator-healthPath-0-curl">Curl</a></li>
- <li class=""><a href="#examples-Actuator-healthPath-0-java">Java</a></li>
- <li class=""><a href="#examples-Actuator-healthPath-0-android">Android</a></li>
- <!--<li class=""><a href="#examples-Actuator-healthPath-0-groovy">Groovy</a></li>-->
- <li class=""><a href="#examples-Actuator-healthPath-0-objc">Obj-C</a></li>
- <li class=""><a href="#examples-Actuator-healthPath-0-javascript">JavaScript</a></li>
- <!--<li class=""><a href="#examples-Actuator-healthPath-0-angular">Angular</a></li>-->
- <li class=""><a href="#examples-Actuator-healthPath-0-csharp">C#</a></li>
- <li class=""><a href="#examples-Actuator-healthPath-0-php">PHP</a></li>
- <li class=""><a href="#examples-Actuator-healthPath-0-perl">Perl</a></li>
- <li class=""><a href="#examples-Actuator-healthPath-0-python">Python</a></li>
- <li class=""><a href="#examples-Actuator-healthPath-0-rust">Rust</a></li>
- </ul>
-
- <div class="tab-content">
- <div class="tab-pane active" id="examples-Actuator-healthPath-0-curl">
- <pre class="prettyprint"><code class="language-bsh">curl -X GET \
- -H "Accept: application/vnd.spring-boot.actuator.v3+json,application/json,application/vnd.spring-boot.actuator.v2+json" \
- "http://localhost/actuator/health/**"
-</code></pre>
- </div>
- <div class="tab-pane" id="examples-Actuator-healthPath-0-java">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
-import org.openapitools.client.auth.*;
-import org.openapitools.client.model.*;
-import org.openapitools.client.api.ActuatorApi;
-
-import java.io.File;
-import java.util.*;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
-
- // Create an instance of the API class
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- Object result = apiInstance.healthPath();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#healthPath");
- e.printStackTrace();
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-healthPath-0-android">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ActuatorApi;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- Object result = apiInstance.healthPath();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#healthPath");
- e.printStackTrace();
- }
- }
-}</code></pre>
- </div>
- <!--
- <div class="tab-pane" id="examples-Actuator-healthPath-0-groovy">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div> -->
- <div class="tab-pane" id="examples-Actuator-healthPath-0-objc">
- <pre class="prettyprint"><code class="language-cpp">
-
-// Create an instance of the API class
-ActuatorApi *apiInstance = [[ActuatorApi alloc] init];
-
-// Actuator web endpoint 'health-path'
-[apiInstance healthPathWithCompletionHandler:
- ^(Object output, NSError* error) {
- if (output) {
- NSLog(@"%@", output);
- }
- if (error) {
- NSLog(@"Error: %@", error);
- }
-}];
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-healthPath-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
-
-// Create an instance of the API class
-var api = new A1PolicyManagementService.ActuatorApi()
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-api.healthPath(callback);
-</code></pre>
- </div>
-
- <!--<div class="tab-pane" id="examples-Actuator-healthPath-0-angular">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div>-->
- <div class="tab-pane" id="examples-Actuator-healthPath-0-csharp">
- <pre class="prettyprint"><code class="language-cs">using System;
-using System.Diagnostics;
-using Org.OpenAPITools.Api;
-using Org.OpenAPITools.Client;
-using Org.OpenAPITools.Model;
-
-namespace Example
-{
- public class healthPathExample
- {
- public void main()
- {
-
- // Create an instance of the API class
- var apiInstance = new ActuatorApi();
-
- try {
- // Actuator web endpoint 'health-path'
- Object result = apiInstance.healthPath();
- Debug.WriteLine(result);
- } catch (Exception e) {
- Debug.Print("Exception when calling ActuatorApi.healthPath: " + e.Message );
- }
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-healthPath-0-php">
- <pre class="prettyprint"><code class="language-php"><?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-// Create an instance of the API class
-$api_instance = new OpenAPITools\Client\Api\ActuatorApi();
-
-try {
- $result = $api_instance->healthPath();
- print_r($result);
-} catch (Exception $e) {
- echo 'Exception when calling ActuatorApi->healthPath: ', $e->getMessage(), PHP_EOL;
-}
-?></code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-healthPath-0-perl">
- <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
-use WWW::OPenAPIClient::Configuration;
-use WWW::OPenAPIClient::ActuatorApi;
-
-# Create an instance of the API class
-my $api_instance = WWW::OPenAPIClient::ActuatorApi->new();
-
-eval {
- my $result = $api_instance->healthPath();
- print Dumper($result);
-};
-if ($@) {
- warn "Exception when calling ActuatorApi->healthPath: $@\n";
-}</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-healthPath-0-python">
- <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
-import time
-import openapi_client
-from openapi_client.rest import ApiException
-from pprint import pprint
-
-# Create an instance of the API class
-api_instance = openapi_client.ActuatorApi()
-
-try:
- # Actuator web endpoint 'health-path'
- api_response = api_instance.health_path()
- pprint(api_response)
-except ApiException as e:
- print("Exception when calling ActuatorApi->healthPath: %s\n" % e)</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-healthPath-0-rust">
- <pre class="prettyprint"><code class="language-rust">extern crate ActuatorApi;
-
-pub fn main() {
-
- let mut context = ActuatorApi::Context::default();
- let result = client.healthPath(&context).wait();
-
- println!("{:?}", result);
-}
-</code></pre>
- </div>
- </div>
-
- <h2>Scopes</h2>
- <table>
-
- </table>
-
- <h2>Parameters</h2>
-
-
-
-
-
-
- <h2>Responses</h2>
- <h3 id="examples-Actuator-healthPath-title-200"></h3>
- <p id="examples-Actuator-healthPath-description-200" class="marked"></p>
+ <h3 id="examples-A1PolicyManagement-putPolicy-title-500"></h3>
+ <p id="examples-A1PolicyManagement-putPolicy-description-500" class="marked"></p>
<script>
- var responseActuator200_description = `OK`;
- var responseActuator200_description_break = responseActuator200_description.indexOf('\n');
- if (responseActuator200_description_break == -1) {
- $("#examples-Actuator-healthPath-title-200").text("Status: 200 - " + responseActuator200_description);
+ var responseA1PolicyManagement500_description = `Internal Server Error`;
+ var responseA1PolicyManagement500_description_break = responseA1PolicyManagement500_description.indexOf('\n');
+ if (responseA1PolicyManagement500_description_break == -1) {
+ $("#examples-A1PolicyManagement-putPolicy-title-500").text("Status: 500 - " + responseA1PolicyManagement500_description);
} else {
- $("#examples-Actuator-healthPath-title-200").text("Status: 200 - " + responseActuator200_description.substring(0, responseActuator200_description_break));
- $("#examples-Actuator-healthPath-description-200").html(responseActuator200_description.substring(responseActuator200_description_break));
+ $("#examples-A1PolicyManagement-putPolicy-title-500").text("Status: 500 - " + responseA1PolicyManagement500_description.substring(0, responseA1PolicyManagement500_description_break));
+ $("#examples-A1PolicyManagement-putPolicy-description-500").html(responseA1PolicyManagement500_description.substring(responseA1PolicyManagement500_description_break));
}
</script>
- <ul id="responses-detail-Actuator-healthPath-200" class="nav nav-tabs nav-tabs-examples" >
+ <ul id="responses-detail-A1PolicyManagement-putPolicy-500" class="nav nav-tabs nav-tabs-examples" >
<li class="active">
- <a data-toggle="tab" href="#responses-Actuator-healthPath-200-schema">Schema</a>
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-putPolicy-500-schema">Schema</a>
</li>
@@ -5138,295 +9249,74 @@
</ul>
- <div class="tab-content" id="responses-Actuator-healthPath-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-Actuator-healthPath-200-schema">
- <div id="responses-Actuator-healthPath-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-content" id="responses-A1PolicyManagement-putPolicy-500-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-putPolicy-500-schema">
+ <div id="responses-A1PolicyManagement-putPolicy-schema-500" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Internal Server Error",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-Actuator-healthPath-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-Actuator-healthPath-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-Actuator-healthPath-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-putPolicy-500-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-putPolicy-schema-500');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-A1PolicyManagement-putPolicy-500-schema-data' type='hidden' value=''></input>
+ </div>
</div>
- </article>
- </div>
- <hr>
- <div id="api-Actuator-heapdump">
- <article id="api-Actuator-heapdump-0" data-group="User" data-name="heapdump" data-version="0">
- <div class="pull-left">
- <h1>heapdump</h1>
- <p>Actuator web endpoint 'heapdump'</p>
- </div>
- <div class="pull-right"></div>
- <div class="clearfix"></div>
- <p></p>
- <p class="marked"></p>
- <p></p>
- <br />
- <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/actuator/heapdump</span></code></pre>
- <p>
- <h3>Usage and SDK Samples</h3>
- </p>
- <ul class="nav nav-tabs nav-tabs-examples">
- <li class="active"><a href="#examples-Actuator-heapdump-0-curl">Curl</a></li>
- <li class=""><a href="#examples-Actuator-heapdump-0-java">Java</a></li>
- <li class=""><a href="#examples-Actuator-heapdump-0-android">Android</a></li>
- <!--<li class=""><a href="#examples-Actuator-heapdump-0-groovy">Groovy</a></li>-->
- <li class=""><a href="#examples-Actuator-heapdump-0-objc">Obj-C</a></li>
- <li class=""><a href="#examples-Actuator-heapdump-0-javascript">JavaScript</a></li>
- <!--<li class=""><a href="#examples-Actuator-heapdump-0-angular">Angular</a></li>-->
- <li class=""><a href="#examples-Actuator-heapdump-0-csharp">C#</a></li>
- <li class=""><a href="#examples-Actuator-heapdump-0-php">PHP</a></li>
- <li class=""><a href="#examples-Actuator-heapdump-0-perl">Perl</a></li>
- <li class=""><a href="#examples-Actuator-heapdump-0-python">Python</a></li>
- <li class=""><a href="#examples-Actuator-heapdump-0-rust">Rust</a></li>
- </ul>
-
- <div class="tab-content">
- <div class="tab-pane active" id="examples-Actuator-heapdump-0-curl">
- <pre class="prettyprint"><code class="language-bsh">curl -X GET \
- -H "Accept: application/octet-stream" \
- "http://localhost/actuator/heapdump"
-</code></pre>
- </div>
- <div class="tab-pane" id="examples-Actuator-heapdump-0-java">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
-import org.openapitools.client.auth.*;
-import org.openapitools.client.model.*;
-import org.openapitools.client.api.ActuatorApi;
-
-import java.io.File;
-import java.util.*;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
-
- // Create an instance of the API class
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- Object result = apiInstance.heapdump();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#heapdump");
- e.printStackTrace();
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-heapdump-0-android">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ActuatorApi;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- Object result = apiInstance.heapdump();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#heapdump");
- e.printStackTrace();
- }
- }
-}</code></pre>
- </div>
- <!--
- <div class="tab-pane" id="examples-Actuator-heapdump-0-groovy">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div> -->
- <div class="tab-pane" id="examples-Actuator-heapdump-0-objc">
- <pre class="prettyprint"><code class="language-cpp">
-
-// Create an instance of the API class
-ActuatorApi *apiInstance = [[ActuatorApi alloc] init];
-
-// Actuator web endpoint 'heapdump'
-[apiInstance heapdumpWithCompletionHandler:
- ^(Object output, NSError* error) {
- if (output) {
- NSLog(@"%@", output);
- }
- if (error) {
- NSLog(@"Error: %@", error);
- }
-}];
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-heapdump-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
-
-// Create an instance of the API class
-var api = new A1PolicyManagementService.ActuatorApi()
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-api.heapdump(callback);
-</code></pre>
- </div>
-
- <!--<div class="tab-pane" id="examples-Actuator-heapdump-0-angular">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div>-->
- <div class="tab-pane" id="examples-Actuator-heapdump-0-csharp">
- <pre class="prettyprint"><code class="language-cs">using System;
-using System.Diagnostics;
-using Org.OpenAPITools.Api;
-using Org.OpenAPITools.Client;
-using Org.OpenAPITools.Model;
-
-namespace Example
-{
- public class heapdumpExample
- {
- public void main()
- {
-
- // Create an instance of the API class
- var apiInstance = new ActuatorApi();
-
- try {
- // Actuator web endpoint 'heapdump'
- Object result = apiInstance.heapdump();
- Debug.WriteLine(result);
- } catch (Exception e) {
- Debug.Print("Exception when calling ActuatorApi.heapdump: " + e.Message );
- }
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-heapdump-0-php">
- <pre class="prettyprint"><code class="language-php"><?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-// Create an instance of the API class
-$api_instance = new OpenAPITools\Client\Api\ActuatorApi();
-
-try {
- $result = $api_instance->heapdump();
- print_r($result);
-} catch (Exception $e) {
- echo 'Exception when calling ActuatorApi->heapdump: ', $e->getMessage(), PHP_EOL;
-}
-?></code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-heapdump-0-perl">
- <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
-use WWW::OPenAPIClient::Configuration;
-use WWW::OPenAPIClient::ActuatorApi;
-
-# Create an instance of the API class
-my $api_instance = WWW::OPenAPIClient::ActuatorApi->new();
-
-eval {
- my $result = $api_instance->heapdump();
- print Dumper($result);
-};
-if ($@) {
- warn "Exception when calling ActuatorApi->heapdump: $@\n";
-}</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-heapdump-0-python">
- <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
-import time
-import openapi_client
-from openapi_client.rest import ApiException
-from pprint import pprint
-
-# Create an instance of the API class
-api_instance = openapi_client.ActuatorApi()
-
-try:
- # Actuator web endpoint 'heapdump'
- api_response = api_instance.heapdump()
- pprint(api_response)
-except ApiException as e:
- print("Exception when calling ActuatorApi->heapdump: %s\n" % e)</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-heapdump-0-rust">
- <pre class="prettyprint"><code class="language-rust">extern crate ActuatorApi;
-
-pub fn main() {
-
- let mut context = ActuatorApi::Context::default();
- let result = client.heapdump(&context).wait();
-
- println!("{:?}", result);
-}
-</code></pre>
- </div>
- </div>
-
- <h2>Scopes</h2>
- <table>
-
- </table>
-
- <h2>Parameters</h2>
-
-
-
-
-
-
- <h2>Responses</h2>
- <h3 id="examples-Actuator-heapdump-title-200"></h3>
- <p id="examples-Actuator-heapdump-description-200" class="marked"></p>
+ <h3 id="examples-A1PolicyManagement-putPolicy-title-502"></h3>
+ <p id="examples-A1PolicyManagement-putPolicy-description-502" class="marked"></p>
<script>
- var responseActuator200_description = `OK`;
- var responseActuator200_description_break = responseActuator200_description.indexOf('\n');
- if (responseActuator200_description_break == -1) {
- $("#examples-Actuator-heapdump-title-200").text("Status: 200 - " + responseActuator200_description);
+ var responseA1PolicyManagement502_description = `Bad Gateway`;
+ var responseA1PolicyManagement502_description_break = responseA1PolicyManagement502_description.indexOf('\n');
+ if (responseA1PolicyManagement502_description_break == -1) {
+ $("#examples-A1PolicyManagement-putPolicy-title-502").text("Status: 502 - " + responseA1PolicyManagement502_description);
} else {
- $("#examples-Actuator-heapdump-title-200").text("Status: 200 - " + responseActuator200_description.substring(0, responseActuator200_description_break));
- $("#examples-Actuator-heapdump-description-200").html(responseActuator200_description.substring(responseActuator200_description_break));
+ $("#examples-A1PolicyManagement-putPolicy-title-502").text("Status: 502 - " + responseA1PolicyManagement502_description.substring(0, responseA1PolicyManagement502_description_break));
+ $("#examples-A1PolicyManagement-putPolicy-description-502").html(responseA1PolicyManagement502_description.substring(responseA1PolicyManagement502_description_break));
}
</script>
- <ul id="responses-detail-Actuator-heapdump-200" class="nav nav-tabs nav-tabs-examples" >
+ <ul id="responses-detail-A1PolicyManagement-putPolicy-502" class="nav nav-tabs nav-tabs-examples" >
<li class="active">
- <a data-toggle="tab" href="#responses-Actuator-heapdump-200-schema">Schema</a>
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-putPolicy-502-schema">Schema</a>
</li>
@@ -5435,295 +9325,74 @@
</ul>
- <div class="tab-content" id="responses-Actuator-heapdump-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-Actuator-heapdump-200-schema">
- <div id="responses-Actuator-heapdump-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-content" id="responses-A1PolicyManagement-putPolicy-502-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-putPolicy-502-schema">
+ <div id="responses-A1PolicyManagement-putPolicy-schema-502" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Bad Gateway",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-Actuator-heapdump-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-Actuator-heapdump-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-Actuator-heapdump-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-putPolicy-502-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-putPolicy-schema-502');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-A1PolicyManagement-putPolicy-502-schema-data' type='hidden' value=''></input>
+ </div>
</div>
- </article>
- </div>
- <hr>
- <div id="api-Actuator-info">
- <article id="api-Actuator-info-0" data-group="User" data-name="info" data-version="0">
- <div class="pull-left">
- <h1>info</h1>
- <p>Actuator web endpoint 'info'</p>
- </div>
- <div class="pull-right"></div>
- <div class="clearfix"></div>
- <p></p>
- <p class="marked"></p>
- <p></p>
- <br />
- <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/actuator/info</span></code></pre>
- <p>
- <h3>Usage and SDK Samples</h3>
- </p>
- <ul class="nav nav-tabs nav-tabs-examples">
- <li class="active"><a href="#examples-Actuator-info-0-curl">Curl</a></li>
- <li class=""><a href="#examples-Actuator-info-0-java">Java</a></li>
- <li class=""><a href="#examples-Actuator-info-0-android">Android</a></li>
- <!--<li class=""><a href="#examples-Actuator-info-0-groovy">Groovy</a></li>-->
- <li class=""><a href="#examples-Actuator-info-0-objc">Obj-C</a></li>
- <li class=""><a href="#examples-Actuator-info-0-javascript">JavaScript</a></li>
- <!--<li class=""><a href="#examples-Actuator-info-0-angular">Angular</a></li>-->
- <li class=""><a href="#examples-Actuator-info-0-csharp">C#</a></li>
- <li class=""><a href="#examples-Actuator-info-0-php">PHP</a></li>
- <li class=""><a href="#examples-Actuator-info-0-perl">Perl</a></li>
- <li class=""><a href="#examples-Actuator-info-0-python">Python</a></li>
- <li class=""><a href="#examples-Actuator-info-0-rust">Rust</a></li>
- </ul>
-
- <div class="tab-content">
- <div class="tab-pane active" id="examples-Actuator-info-0-curl">
- <pre class="prettyprint"><code class="language-bsh">curl -X GET \
- -H "Accept: application/vnd.spring-boot.actuator.v3+json,application/json,application/vnd.spring-boot.actuator.v2+json" \
- "http://localhost/actuator/info"
-</code></pre>
- </div>
- <div class="tab-pane" id="examples-Actuator-info-0-java">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
-import org.openapitools.client.auth.*;
-import org.openapitools.client.model.*;
-import org.openapitools.client.api.ActuatorApi;
-
-import java.io.File;
-import java.util.*;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
-
- // Create an instance of the API class
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- Object result = apiInstance.info();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#info");
- e.printStackTrace();
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-info-0-android">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ActuatorApi;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- Object result = apiInstance.info();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#info");
- e.printStackTrace();
- }
- }
-}</code></pre>
- </div>
- <!--
- <div class="tab-pane" id="examples-Actuator-info-0-groovy">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div> -->
- <div class="tab-pane" id="examples-Actuator-info-0-objc">
- <pre class="prettyprint"><code class="language-cpp">
-
-// Create an instance of the API class
-ActuatorApi *apiInstance = [[ActuatorApi alloc] init];
-
-// Actuator web endpoint 'info'
-[apiInstance infoWithCompletionHandler:
- ^(Object output, NSError* error) {
- if (output) {
- NSLog(@"%@", output);
- }
- if (error) {
- NSLog(@"Error: %@", error);
- }
-}];
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-info-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
-
-// Create an instance of the API class
-var api = new A1PolicyManagementService.ActuatorApi()
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-api.info(callback);
-</code></pre>
- </div>
-
- <!--<div class="tab-pane" id="examples-Actuator-info-0-angular">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div>-->
- <div class="tab-pane" id="examples-Actuator-info-0-csharp">
- <pre class="prettyprint"><code class="language-cs">using System;
-using System.Diagnostics;
-using Org.OpenAPITools.Api;
-using Org.OpenAPITools.Client;
-using Org.OpenAPITools.Model;
-
-namespace Example
-{
- public class infoExample
- {
- public void main()
- {
-
- // Create an instance of the API class
- var apiInstance = new ActuatorApi();
-
- try {
- // Actuator web endpoint 'info'
- Object result = apiInstance.info();
- Debug.WriteLine(result);
- } catch (Exception e) {
- Debug.Print("Exception when calling ActuatorApi.info: " + e.Message );
- }
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-info-0-php">
- <pre class="prettyprint"><code class="language-php"><?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-// Create an instance of the API class
-$api_instance = new OpenAPITools\Client\Api\ActuatorApi();
-
-try {
- $result = $api_instance->info();
- print_r($result);
-} catch (Exception $e) {
- echo 'Exception when calling ActuatorApi->info: ', $e->getMessage(), PHP_EOL;
-}
-?></code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-info-0-perl">
- <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
-use WWW::OPenAPIClient::Configuration;
-use WWW::OPenAPIClient::ActuatorApi;
-
-# Create an instance of the API class
-my $api_instance = WWW::OPenAPIClient::ActuatorApi->new();
-
-eval {
- my $result = $api_instance->info();
- print Dumper($result);
-};
-if ($@) {
- warn "Exception when calling ActuatorApi->info: $@\n";
-}</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-info-0-python">
- <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
-import time
-import openapi_client
-from openapi_client.rest import ApiException
-from pprint import pprint
-
-# Create an instance of the API class
-api_instance = openapi_client.ActuatorApi()
-
-try:
- # Actuator web endpoint 'info'
- api_response = api_instance.info()
- pprint(api_response)
-except ApiException as e:
- print("Exception when calling ActuatorApi->info: %s\n" % e)</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-info-0-rust">
- <pre class="prettyprint"><code class="language-rust">extern crate ActuatorApi;
-
-pub fn main() {
-
- let mut context = ActuatorApi::Context::default();
- let result = client.info(&context).wait();
-
- println!("{:?}", result);
-}
-</code></pre>
- </div>
- </div>
-
- <h2>Scopes</h2>
- <table>
-
- </table>
-
- <h2>Parameters</h2>
-
-
-
-
-
-
- <h2>Responses</h2>
- <h3 id="examples-Actuator-info-title-200"></h3>
- <p id="examples-Actuator-info-description-200" class="marked"></p>
+ <h3 id="examples-A1PolicyManagement-putPolicy-title-503"></h3>
+ <p id="examples-A1PolicyManagement-putPolicy-description-503" class="marked"></p>
<script>
- var responseActuator200_description = `OK`;
- var responseActuator200_description_break = responseActuator200_description.indexOf('\n');
- if (responseActuator200_description_break == -1) {
- $("#examples-Actuator-info-title-200").text("Status: 200 - " + responseActuator200_description);
+ var responseA1PolicyManagement503_description = `Service Unavailable`;
+ var responseA1PolicyManagement503_description_break = responseA1PolicyManagement503_description.indexOf('\n');
+ if (responseA1PolicyManagement503_description_break == -1) {
+ $("#examples-A1PolicyManagement-putPolicy-title-503").text("Status: 503 - " + responseA1PolicyManagement503_description);
} else {
- $("#examples-Actuator-info-title-200").text("Status: 200 - " + responseActuator200_description.substring(0, responseActuator200_description_break));
- $("#examples-Actuator-info-description-200").html(responseActuator200_description.substring(responseActuator200_description_break));
+ $("#examples-A1PolicyManagement-putPolicy-title-503").text("Status: 503 - " + responseA1PolicyManagement503_description.substring(0, responseA1PolicyManagement503_description_break));
+ $("#examples-A1PolicyManagement-putPolicy-description-503").html(responseA1PolicyManagement503_description.substring(responseA1PolicyManagement503_description_break));
}
</script>
- <ul id="responses-detail-Actuator-info-200" class="nav nav-tabs nav-tabs-examples" >
+ <ul id="responses-detail-A1PolicyManagement-putPolicy-503" class="nav nav-tabs nav-tabs-examples" >
<li class="active">
- <a data-toggle="tab" href="#responses-Actuator-info-200-schema">Schema</a>
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-putPolicy-503-schema">Schema</a>
</li>
@@ -5732,3306 +9401,56 @@
</ul>
- <div class="tab-content" id="responses-Actuator-info-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-Actuator-info-200-schema">
- <div id="responses-Actuator-info-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-content" id="responses-A1PolicyManagement-putPolicy-503-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-putPolicy-503-schema">
+ <div id="responses-A1PolicyManagement-putPolicy-schema-503" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Service Unavailable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-Actuator-info-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-Actuator-info-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-Actuator-info-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-putPolicy-503-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-putPolicy-schema-503');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
- </div>
- </article>
- </div>
- <hr>
- <div id="api-Actuator-links">
- <article id="api-Actuator-links-0" data-group="User" data-name="links" data-version="0">
- <div class="pull-left">
- <h1>links</h1>
- <p>Actuator root web endpoint</p>
- </div>
- <div class="pull-right"></div>
- <div class="clearfix"></div>
- <p></p>
- <p class="marked"></p>
- <p></p>
- <br />
- <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/actuator</span></code></pre>
- <p>
- <h3>Usage and SDK Samples</h3>
- </p>
- <ul class="nav nav-tabs nav-tabs-examples">
- <li class="active"><a href="#examples-Actuator-links-0-curl">Curl</a></li>
- <li class=""><a href="#examples-Actuator-links-0-java">Java</a></li>
- <li class=""><a href="#examples-Actuator-links-0-android">Android</a></li>
- <!--<li class=""><a href="#examples-Actuator-links-0-groovy">Groovy</a></li>-->
- <li class=""><a href="#examples-Actuator-links-0-objc">Obj-C</a></li>
- <li class=""><a href="#examples-Actuator-links-0-javascript">JavaScript</a></li>
- <!--<li class=""><a href="#examples-Actuator-links-0-angular">Angular</a></li>-->
- <li class=""><a href="#examples-Actuator-links-0-csharp">C#</a></li>
- <li class=""><a href="#examples-Actuator-links-0-php">PHP</a></li>
- <li class=""><a href="#examples-Actuator-links-0-perl">Perl</a></li>
- <li class=""><a href="#examples-Actuator-links-0-python">Python</a></li>
- <li class=""><a href="#examples-Actuator-links-0-rust">Rust</a></li>
- </ul>
-
- <div class="tab-content">
- <div class="tab-pane active" id="examples-Actuator-links-0-curl">
- <pre class="prettyprint"><code class="language-bsh">curl -X GET \
- -H "Accept: application/vnd.spring-boot.actuator.v3+json,application/json,application/vnd.spring-boot.actuator.v2+json" \
- "http://localhost/actuator"
-</code></pre>
- </div>
- <div class="tab-pane" id="examples-Actuator-links-0-java">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
-import org.openapitools.client.auth.*;
-import org.openapitools.client.model.*;
-import org.openapitools.client.api.ActuatorApi;
-
-import java.io.File;
-import java.util.*;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
-
- // Create an instance of the API class
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- map['String', map['String', Link]] result = apiInstance.links();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#links");
- e.printStackTrace();
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-links-0-android">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ActuatorApi;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- map['String', map['String', Link]] result = apiInstance.links();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#links");
- e.printStackTrace();
- }
- }
-}</code></pre>
- </div>
- <!--
- <div class="tab-pane" id="examples-Actuator-links-0-groovy">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div> -->
- <div class="tab-pane" id="examples-Actuator-links-0-objc">
- <pre class="prettyprint"><code class="language-cpp">
-
-// Create an instance of the API class
-ActuatorApi *apiInstance = [[ActuatorApi alloc] init];
-
-// Actuator root web endpoint
-[apiInstance linksWithCompletionHandler:
- ^(map['String', map['String', Link]] output, NSError* error) {
- if (output) {
- NSLog(@"%@", output);
- }
- if (error) {
- NSLog(@"Error: %@", error);
- }
-}];
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-links-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
-
-// Create an instance of the API class
-var api = new A1PolicyManagementService.ActuatorApi()
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-api.links(callback);
-</code></pre>
- </div>
-
- <!--<div class="tab-pane" id="examples-Actuator-links-0-angular">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div>-->
- <div class="tab-pane" id="examples-Actuator-links-0-csharp">
- <pre class="prettyprint"><code class="language-cs">using System;
-using System.Diagnostics;
-using Org.OpenAPITools.Api;
-using Org.OpenAPITools.Client;
-using Org.OpenAPITools.Model;
-
-namespace Example
-{
- public class linksExample
- {
- public void main()
- {
-
- // Create an instance of the API class
- var apiInstance = new ActuatorApi();
-
- try {
- // Actuator root web endpoint
- map['String', map['String', Link]] result = apiInstance.links();
- Debug.WriteLine(result);
- } catch (Exception e) {
- Debug.Print("Exception when calling ActuatorApi.links: " + e.Message );
- }
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-links-0-php">
- <pre class="prettyprint"><code class="language-php"><?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-// Create an instance of the API class
-$api_instance = new OpenAPITools\Client\Api\ActuatorApi();
-
-try {
- $result = $api_instance->links();
- print_r($result);
-} catch (Exception $e) {
- echo 'Exception when calling ActuatorApi->links: ', $e->getMessage(), PHP_EOL;
-}
-?></code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-links-0-perl">
- <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
-use WWW::OPenAPIClient::Configuration;
-use WWW::OPenAPIClient::ActuatorApi;
-
-# Create an instance of the API class
-my $api_instance = WWW::OPenAPIClient::ActuatorApi->new();
-
-eval {
- my $result = $api_instance->links();
- print Dumper($result);
-};
-if ($@) {
- warn "Exception when calling ActuatorApi->links: $@\n";
-}</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-links-0-python">
- <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
-import time
-import openapi_client
-from openapi_client.rest import ApiException
-from pprint import pprint
-
-# Create an instance of the API class
-api_instance = openapi_client.ActuatorApi()
-
-try:
- # Actuator root web endpoint
- api_response = api_instance.links()
- pprint(api_response)
-except ApiException as e:
- print("Exception when calling ActuatorApi->links: %s\n" % e)</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-links-0-rust">
- <pre class="prettyprint"><code class="language-rust">extern crate ActuatorApi;
-
-pub fn main() {
-
- let mut context = ActuatorApi::Context::default();
- let result = client.links(&context).wait();
-
- println!("{:?}", result);
-}
-</code></pre>
- </div>
- </div>
-
- <h2>Scopes</h2>
- <table>
-
- </table>
-
- <h2>Parameters</h2>
-
-
-
-
-
-
- <h2>Responses</h2>
- <h3 id="examples-Actuator-links-title-200"></h3>
- <p id="examples-Actuator-links-description-200" class="marked"></p>
- <script>
- var responseActuator200_description = `OK`;
- var responseActuator200_description_break = responseActuator200_description.indexOf('\n');
- if (responseActuator200_description_break == -1) {
- $("#examples-Actuator-links-title-200").text("Status: 200 - " + responseActuator200_description);
- } else {
- $("#examples-Actuator-links-title-200").text("Status: 200 - " + responseActuator200_description.substring(0, responseActuator200_description_break));
- $("#examples-Actuator-links-description-200").html(responseActuator200_description.substring(responseActuator200_description_break));
- }
- </script>
-
-
- <ul id="responses-detail-Actuator-links-200" class="nav nav-tabs nav-tabs-examples" >
- <li class="active">
- <a data-toggle="tab" href="#responses-Actuator-links-200-schema">Schema</a>
- </li>
-
-
-
-
- </ul>
-
-
- <div class="tab-content" id="responses-Actuator-links-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-Actuator-links-200-schema">
- <div id="responses-Actuator-links-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
- Object.keys(schema.properties).forEach( (item) => {
- if (schema.properties[item].$ref != null) {
- schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
- }
- });
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
- }
-
- var view = new JSONSchemaView(schema, 3);
- $('#responses-Actuator-links-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-Actuator-links-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-Actuator-links-200-schema-data' type='hidden' value=''></input>
- </div>
- </div>
- </article>
- </div>
- <hr>
- <div id="api-Actuator-logfile">
- <article id="api-Actuator-logfile-0" data-group="User" data-name="logfile" data-version="0">
- <div class="pull-left">
- <h1>logfile</h1>
- <p>Actuator web endpoint 'logfile'</p>
- </div>
- <div class="pull-right"></div>
- <div class="clearfix"></div>
- <p></p>
- <p class="marked"></p>
- <p></p>
- <br />
- <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/actuator/logfile</span></code></pre>
- <p>
- <h3>Usage and SDK Samples</h3>
- </p>
- <ul class="nav nav-tabs nav-tabs-examples">
- <li class="active"><a href="#examples-Actuator-logfile-0-curl">Curl</a></li>
- <li class=""><a href="#examples-Actuator-logfile-0-java">Java</a></li>
- <li class=""><a href="#examples-Actuator-logfile-0-android">Android</a></li>
- <!--<li class=""><a href="#examples-Actuator-logfile-0-groovy">Groovy</a></li>-->
- <li class=""><a href="#examples-Actuator-logfile-0-objc">Obj-C</a></li>
- <li class=""><a href="#examples-Actuator-logfile-0-javascript">JavaScript</a></li>
- <!--<li class=""><a href="#examples-Actuator-logfile-0-angular">Angular</a></li>-->
- <li class=""><a href="#examples-Actuator-logfile-0-csharp">C#</a></li>
- <li class=""><a href="#examples-Actuator-logfile-0-php">PHP</a></li>
- <li class=""><a href="#examples-Actuator-logfile-0-perl">Perl</a></li>
- <li class=""><a href="#examples-Actuator-logfile-0-python">Python</a></li>
- <li class=""><a href="#examples-Actuator-logfile-0-rust">Rust</a></li>
- </ul>
-
- <div class="tab-content">
- <div class="tab-pane active" id="examples-Actuator-logfile-0-curl">
- <pre class="prettyprint"><code class="language-bsh">curl -X GET \
- -H "Accept: text/plain;charset=UTF-8" \
- "http://localhost/actuator/logfile"
-</code></pre>
- </div>
- <div class="tab-pane" id="examples-Actuator-logfile-0-java">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
-import org.openapitools.client.auth.*;
-import org.openapitools.client.model.*;
-import org.openapitools.client.api.ActuatorApi;
-
-import java.io.File;
-import java.util.*;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
-
- // Create an instance of the API class
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- Object result = apiInstance.logfile();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#logfile");
- e.printStackTrace();
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-logfile-0-android">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ActuatorApi;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- Object result = apiInstance.logfile();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#logfile");
- e.printStackTrace();
- }
- }
-}</code></pre>
- </div>
- <!--
- <div class="tab-pane" id="examples-Actuator-logfile-0-groovy">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div> -->
- <div class="tab-pane" id="examples-Actuator-logfile-0-objc">
- <pre class="prettyprint"><code class="language-cpp">
-
-// Create an instance of the API class
-ActuatorApi *apiInstance = [[ActuatorApi alloc] init];
-
-// Actuator web endpoint 'logfile'
-[apiInstance logfileWithCompletionHandler:
- ^(Object output, NSError* error) {
- if (output) {
- NSLog(@"%@", output);
- }
- if (error) {
- NSLog(@"Error: %@", error);
- }
-}];
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-logfile-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
-
-// Create an instance of the API class
-var api = new A1PolicyManagementService.ActuatorApi()
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-api.logfile(callback);
-</code></pre>
- </div>
-
- <!--<div class="tab-pane" id="examples-Actuator-logfile-0-angular">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div>-->
- <div class="tab-pane" id="examples-Actuator-logfile-0-csharp">
- <pre class="prettyprint"><code class="language-cs">using System;
-using System.Diagnostics;
-using Org.OpenAPITools.Api;
-using Org.OpenAPITools.Client;
-using Org.OpenAPITools.Model;
-
-namespace Example
-{
- public class logfileExample
- {
- public void main()
- {
-
- // Create an instance of the API class
- var apiInstance = new ActuatorApi();
-
- try {
- // Actuator web endpoint 'logfile'
- Object result = apiInstance.logfile();
- Debug.WriteLine(result);
- } catch (Exception e) {
- Debug.Print("Exception when calling ActuatorApi.logfile: " + e.Message );
- }
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-logfile-0-php">
- <pre class="prettyprint"><code class="language-php"><?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-// Create an instance of the API class
-$api_instance = new OpenAPITools\Client\Api\ActuatorApi();
-
-try {
- $result = $api_instance->logfile();
- print_r($result);
-} catch (Exception $e) {
- echo 'Exception when calling ActuatorApi->logfile: ', $e->getMessage(), PHP_EOL;
-}
-?></code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-logfile-0-perl">
- <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
-use WWW::OPenAPIClient::Configuration;
-use WWW::OPenAPIClient::ActuatorApi;
-
-# Create an instance of the API class
-my $api_instance = WWW::OPenAPIClient::ActuatorApi->new();
-
-eval {
- my $result = $api_instance->logfile();
- print Dumper($result);
-};
-if ($@) {
- warn "Exception when calling ActuatorApi->logfile: $@\n";
-}</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-logfile-0-python">
- <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
-import time
-import openapi_client
-from openapi_client.rest import ApiException
-from pprint import pprint
-
-# Create an instance of the API class
-api_instance = openapi_client.ActuatorApi()
-
-try:
- # Actuator web endpoint 'logfile'
- api_response = api_instance.logfile()
- pprint(api_response)
-except ApiException as e:
- print("Exception when calling ActuatorApi->logfile: %s\n" % e)</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-logfile-0-rust">
- <pre class="prettyprint"><code class="language-rust">extern crate ActuatorApi;
-
-pub fn main() {
-
- let mut context = ActuatorApi::Context::default();
- let result = client.logfile(&context).wait();
-
- println!("{:?}", result);
-}
-</code></pre>
- </div>
- </div>
-
- <h2>Scopes</h2>
- <table>
-
- </table>
-
- <h2>Parameters</h2>
-
-
-
-
-
-
- <h2>Responses</h2>
- <h3 id="examples-Actuator-logfile-title-200"></h3>
- <p id="examples-Actuator-logfile-description-200" class="marked"></p>
- <script>
- var responseActuator200_description = `OK`;
- var responseActuator200_description_break = responseActuator200_description.indexOf('\n');
- if (responseActuator200_description_break == -1) {
- $("#examples-Actuator-logfile-title-200").text("Status: 200 - " + responseActuator200_description);
- } else {
- $("#examples-Actuator-logfile-title-200").text("Status: 200 - " + responseActuator200_description.substring(0, responseActuator200_description_break));
- $("#examples-Actuator-logfile-description-200").html(responseActuator200_description.substring(responseActuator200_description_break));
- }
- </script>
-
-
- <ul id="responses-detail-Actuator-logfile-200" class="nav nav-tabs nav-tabs-examples" >
- <li class="active">
- <a data-toggle="tab" href="#responses-Actuator-logfile-200-schema">Schema</a>
- </li>
-
-
-
-
- </ul>
-
-
- <div class="tab-content" id="responses-Actuator-logfile-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-Actuator-logfile-200-schema">
- <div id="responses-Actuator-logfile-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
- Object.keys(schema.properties).forEach( (item) => {
- if (schema.properties[item].$ref != null) {
- schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
- }
- });
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
- }
-
- var view = new JSONSchemaView(schema, 3);
- $('#responses-Actuator-logfile-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-Actuator-logfile-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-Actuator-logfile-200-schema-data' type='hidden' value=''></input>
- </div>
- </div>
- </article>
- </div>
- <hr>
- <div id="api-Actuator-loggers">
- <article id="api-Actuator-loggers-0" data-group="User" data-name="loggers" data-version="0">
- <div class="pull-left">
- <h1>loggers</h1>
- <p>Actuator web endpoint 'loggers'</p>
- </div>
- <div class="pull-right"></div>
- <div class="clearfix"></div>
- <p></p>
- <p class="marked"></p>
- <p></p>
- <br />
- <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/actuator/loggers</span></code></pre>
- <p>
- <h3>Usage and SDK Samples</h3>
- </p>
- <ul class="nav nav-tabs nav-tabs-examples">
- <li class="active"><a href="#examples-Actuator-loggers-0-curl">Curl</a></li>
- <li class=""><a href="#examples-Actuator-loggers-0-java">Java</a></li>
- <li class=""><a href="#examples-Actuator-loggers-0-android">Android</a></li>
- <!--<li class=""><a href="#examples-Actuator-loggers-0-groovy">Groovy</a></li>-->
- <li class=""><a href="#examples-Actuator-loggers-0-objc">Obj-C</a></li>
- <li class=""><a href="#examples-Actuator-loggers-0-javascript">JavaScript</a></li>
- <!--<li class=""><a href="#examples-Actuator-loggers-0-angular">Angular</a></li>-->
- <li class=""><a href="#examples-Actuator-loggers-0-csharp">C#</a></li>
- <li class=""><a href="#examples-Actuator-loggers-0-php">PHP</a></li>
- <li class=""><a href="#examples-Actuator-loggers-0-perl">Perl</a></li>
- <li class=""><a href="#examples-Actuator-loggers-0-python">Python</a></li>
- <li class=""><a href="#examples-Actuator-loggers-0-rust">Rust</a></li>
- </ul>
-
- <div class="tab-content">
- <div class="tab-pane active" id="examples-Actuator-loggers-0-curl">
- <pre class="prettyprint"><code class="language-bsh">curl -X GET \
- -H "Accept: application/vnd.spring-boot.actuator.v3+json,application/json,application/vnd.spring-boot.actuator.v2+json" \
- "http://localhost/actuator/loggers"
-</code></pre>
- </div>
- <div class="tab-pane" id="examples-Actuator-loggers-0-java">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
-import org.openapitools.client.auth.*;
-import org.openapitools.client.model.*;
-import org.openapitools.client.api.ActuatorApi;
-
-import java.io.File;
-import java.util.*;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
-
- // Create an instance of the API class
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- Object result = apiInstance.loggers();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#loggers");
- e.printStackTrace();
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-loggers-0-android">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ActuatorApi;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- Object result = apiInstance.loggers();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#loggers");
- e.printStackTrace();
- }
- }
-}</code></pre>
- </div>
- <!--
- <div class="tab-pane" id="examples-Actuator-loggers-0-groovy">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div> -->
- <div class="tab-pane" id="examples-Actuator-loggers-0-objc">
- <pre class="prettyprint"><code class="language-cpp">
-
-// Create an instance of the API class
-ActuatorApi *apiInstance = [[ActuatorApi alloc] init];
-
-// Actuator web endpoint 'loggers'
-[apiInstance loggersWithCompletionHandler:
- ^(Object output, NSError* error) {
- if (output) {
- NSLog(@"%@", output);
- }
- if (error) {
- NSLog(@"Error: %@", error);
- }
-}];
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-loggers-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
-
-// Create an instance of the API class
-var api = new A1PolicyManagementService.ActuatorApi()
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-api.loggers(callback);
-</code></pre>
- </div>
-
- <!--<div class="tab-pane" id="examples-Actuator-loggers-0-angular">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div>-->
- <div class="tab-pane" id="examples-Actuator-loggers-0-csharp">
- <pre class="prettyprint"><code class="language-cs">using System;
-using System.Diagnostics;
-using Org.OpenAPITools.Api;
-using Org.OpenAPITools.Client;
-using Org.OpenAPITools.Model;
-
-namespace Example
-{
- public class loggersExample
- {
- public void main()
- {
-
- // Create an instance of the API class
- var apiInstance = new ActuatorApi();
-
- try {
- // Actuator web endpoint 'loggers'
- Object result = apiInstance.loggers();
- Debug.WriteLine(result);
- } catch (Exception e) {
- Debug.Print("Exception when calling ActuatorApi.loggers: " + e.Message );
- }
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-loggers-0-php">
- <pre class="prettyprint"><code class="language-php"><?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-// Create an instance of the API class
-$api_instance = new OpenAPITools\Client\Api\ActuatorApi();
-
-try {
- $result = $api_instance->loggers();
- print_r($result);
-} catch (Exception $e) {
- echo 'Exception when calling ActuatorApi->loggers: ', $e->getMessage(), PHP_EOL;
-}
-?></code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-loggers-0-perl">
- <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
-use WWW::OPenAPIClient::Configuration;
-use WWW::OPenAPIClient::ActuatorApi;
-
-# Create an instance of the API class
-my $api_instance = WWW::OPenAPIClient::ActuatorApi->new();
-
-eval {
- my $result = $api_instance->loggers();
- print Dumper($result);
-};
-if ($@) {
- warn "Exception when calling ActuatorApi->loggers: $@\n";
-}</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-loggers-0-python">
- <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
-import time
-import openapi_client
-from openapi_client.rest import ApiException
-from pprint import pprint
-
-# Create an instance of the API class
-api_instance = openapi_client.ActuatorApi()
-
-try:
- # Actuator web endpoint 'loggers'
- api_response = api_instance.loggers()
- pprint(api_response)
-except ApiException as e:
- print("Exception when calling ActuatorApi->loggers: %s\n" % e)</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-loggers-0-rust">
- <pre class="prettyprint"><code class="language-rust">extern crate ActuatorApi;
-
-pub fn main() {
-
- let mut context = ActuatorApi::Context::default();
- let result = client.loggers(&context).wait();
-
- println!("{:?}", result);
-}
-</code></pre>
- </div>
- </div>
-
- <h2>Scopes</h2>
- <table>
-
- </table>
-
- <h2>Parameters</h2>
-
-
-
-
-
-
- <h2>Responses</h2>
- <h3 id="examples-Actuator-loggers-title-200"></h3>
- <p id="examples-Actuator-loggers-description-200" class="marked"></p>
- <script>
- var responseActuator200_description = `OK`;
- var responseActuator200_description_break = responseActuator200_description.indexOf('\n');
- if (responseActuator200_description_break == -1) {
- $("#examples-Actuator-loggers-title-200").text("Status: 200 - " + responseActuator200_description);
- } else {
- $("#examples-Actuator-loggers-title-200").text("Status: 200 - " + responseActuator200_description.substring(0, responseActuator200_description_break));
- $("#examples-Actuator-loggers-description-200").html(responseActuator200_description.substring(responseActuator200_description_break));
- }
- </script>
-
-
- <ul id="responses-detail-Actuator-loggers-200" class="nav nav-tabs nav-tabs-examples" >
- <li class="active">
- <a data-toggle="tab" href="#responses-Actuator-loggers-200-schema">Schema</a>
- </li>
-
-
-
-
- </ul>
-
-
- <div class="tab-content" id="responses-Actuator-loggers-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-Actuator-loggers-200-schema">
- <div id="responses-Actuator-loggers-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
- Object.keys(schema.properties).forEach( (item) => {
- if (schema.properties[item].$ref != null) {
- schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
- }
- });
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
- }
-
- var view = new JSONSchemaView(schema, 3);
- $('#responses-Actuator-loggers-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-Actuator-loggers-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-Actuator-loggers-200-schema-data' type='hidden' value=''></input>
- </div>
- </div>
- </article>
- </div>
- <hr>
- <div id="api-Actuator-loggersName">
- <article id="api-Actuator-loggersName-0" data-group="User" data-name="loggersName" data-version="0">
- <div class="pull-left">
- <h1>loggersName</h1>
- <p>Actuator web endpoint 'loggers-name'</p>
- </div>
- <div class="pull-right"></div>
- <div class="clearfix"></div>
- <p></p>
- <p class="marked"></p>
- <p></p>
- <br />
- <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/actuator/loggers/{name}</span></code></pre>
- <p>
- <h3>Usage and SDK Samples</h3>
- </p>
- <ul class="nav nav-tabs nav-tabs-examples">
- <li class="active"><a href="#examples-Actuator-loggersName-0-curl">Curl</a></li>
- <li class=""><a href="#examples-Actuator-loggersName-0-java">Java</a></li>
- <li class=""><a href="#examples-Actuator-loggersName-0-android">Android</a></li>
- <!--<li class=""><a href="#examples-Actuator-loggersName-0-groovy">Groovy</a></li>-->
- <li class=""><a href="#examples-Actuator-loggersName-0-objc">Obj-C</a></li>
- <li class=""><a href="#examples-Actuator-loggersName-0-javascript">JavaScript</a></li>
- <!--<li class=""><a href="#examples-Actuator-loggersName-0-angular">Angular</a></li>-->
- <li class=""><a href="#examples-Actuator-loggersName-0-csharp">C#</a></li>
- <li class=""><a href="#examples-Actuator-loggersName-0-php">PHP</a></li>
- <li class=""><a href="#examples-Actuator-loggersName-0-perl">Perl</a></li>
- <li class=""><a href="#examples-Actuator-loggersName-0-python">Python</a></li>
- <li class=""><a href="#examples-Actuator-loggersName-0-rust">Rust</a></li>
- </ul>
-
- <div class="tab-content">
- <div class="tab-pane active" id="examples-Actuator-loggersName-0-curl">
- <pre class="prettyprint"><code class="language-bsh">curl -X GET \
- -H "Accept: application/vnd.spring-boot.actuator.v3+json,application/json,application/vnd.spring-boot.actuator.v2+json" \
- "http://localhost/actuator/loggers/{name}"
-</code></pre>
- </div>
- <div class="tab-pane" id="examples-Actuator-loggersName-0-java">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
-import org.openapitools.client.auth.*;
-import org.openapitools.client.model.*;
-import org.openapitools.client.api.ActuatorApi;
-
-import java.io.File;
-import java.util.*;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
-
- // Create an instance of the API class
- ActuatorApi apiInstance = new ActuatorApi();
- String name = name_example; // String |
-
- try {
- Object result = apiInstance.loggersName(name);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#loggersName");
- e.printStackTrace();
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-loggersName-0-android">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ActuatorApi;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
- ActuatorApi apiInstance = new ActuatorApi();
- String name = name_example; // String |
-
- try {
- Object result = apiInstance.loggersName(name);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#loggersName");
- e.printStackTrace();
- }
- }
-}</code></pre>
- </div>
- <!--
- <div class="tab-pane" id="examples-Actuator-loggersName-0-groovy">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div> -->
- <div class="tab-pane" id="examples-Actuator-loggersName-0-objc">
- <pre class="prettyprint"><code class="language-cpp">
-
-// Create an instance of the API class
-ActuatorApi *apiInstance = [[ActuatorApi alloc] init];
-String *name = name_example; // (default to null)
-
-// Actuator web endpoint 'loggers-name'
-[apiInstance loggersNameWith:name
- completionHandler: ^(Object output, NSError* error) {
- if (output) {
- NSLog(@"%@", output);
- }
- if (error) {
- NSLog(@"Error: %@", error);
- }
-}];
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-loggersName-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
-
-// Create an instance of the API class
-var api = new A1PolicyManagementService.ActuatorApi()
-var name = name_example; // {String}
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-api.loggersName(name, callback);
-</code></pre>
- </div>
-
- <!--<div class="tab-pane" id="examples-Actuator-loggersName-0-angular">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div>-->
- <div class="tab-pane" id="examples-Actuator-loggersName-0-csharp">
- <pre class="prettyprint"><code class="language-cs">using System;
-using System.Diagnostics;
-using Org.OpenAPITools.Api;
-using Org.OpenAPITools.Client;
-using Org.OpenAPITools.Model;
-
-namespace Example
-{
- public class loggersNameExample
- {
- public void main()
- {
-
- // Create an instance of the API class
- var apiInstance = new ActuatorApi();
- var name = name_example; // String | (default to null)
-
- try {
- // Actuator web endpoint 'loggers-name'
- Object result = apiInstance.loggersName(name);
- Debug.WriteLine(result);
- } catch (Exception e) {
- Debug.Print("Exception when calling ActuatorApi.loggersName: " + e.Message );
- }
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-loggersName-0-php">
- <pre class="prettyprint"><code class="language-php"><?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-// Create an instance of the API class
-$api_instance = new OpenAPITools\Client\Api\ActuatorApi();
-$name = name_example; // String |
-
-try {
- $result = $api_instance->loggersName($name);
- print_r($result);
-} catch (Exception $e) {
- echo 'Exception when calling ActuatorApi->loggersName: ', $e->getMessage(), PHP_EOL;
-}
-?></code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-loggersName-0-perl">
- <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
-use WWW::OPenAPIClient::Configuration;
-use WWW::OPenAPIClient::ActuatorApi;
-
-# Create an instance of the API class
-my $api_instance = WWW::OPenAPIClient::ActuatorApi->new();
-my $name = name_example; # String |
-
-eval {
- my $result = $api_instance->loggersName(name => $name);
- print Dumper($result);
-};
-if ($@) {
- warn "Exception when calling ActuatorApi->loggersName: $@\n";
-}</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-loggersName-0-python">
- <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
-import time
-import openapi_client
-from openapi_client.rest import ApiException
-from pprint import pprint
-
-# Create an instance of the API class
-api_instance = openapi_client.ActuatorApi()
-name = name_example # String | (default to null)
-
-try:
- # Actuator web endpoint 'loggers-name'
- api_response = api_instance.loggers_name(name)
- pprint(api_response)
-except ApiException as e:
- print("Exception when calling ActuatorApi->loggersName: %s\n" % e)</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-loggersName-0-rust">
- <pre class="prettyprint"><code class="language-rust">extern crate ActuatorApi;
-
-pub fn main() {
- let name = name_example; // String
-
- let mut context = ActuatorApi::Context::default();
- let result = client.loggersName(name, &context).wait();
-
- println!("{:?}", result);
-}
-</code></pre>
- </div>
- </div>
-
- <h2>Scopes</h2>
- <table>
-
- </table>
-
- <h2>Parameters</h2>
-
- <div class="methodsubtabletitle">Path parameters</div>
- <table id="methodsubtable">
- <tr>
- <th width="150px">Name</th>
- <th>Description</th>
- </tr>
- <tr><td style="width:150px;">name*</td>
-<td>
-
-
- <div id="d2e199_loggersName_name">
- <div class="json-schema-view">
- <div class="primitive">
- <span class="type">
- String
- </span>
-
- </div>
- <div class="inner required">
- Required
- </div>
- </div>
- </div>
-</td>
-</tr>
-
- </table>
-
-
-
-
-
- <h2>Responses</h2>
- <h3 id="examples-Actuator-loggersName-title-200"></h3>
- <p id="examples-Actuator-loggersName-description-200" class="marked"></p>
- <script>
- var responseActuator200_description = `OK`;
- var responseActuator200_description_break = responseActuator200_description.indexOf('\n');
- if (responseActuator200_description_break == -1) {
- $("#examples-Actuator-loggersName-title-200").text("Status: 200 - " + responseActuator200_description);
- } else {
- $("#examples-Actuator-loggersName-title-200").text("Status: 200 - " + responseActuator200_description.substring(0, responseActuator200_description_break));
- $("#examples-Actuator-loggersName-description-200").html(responseActuator200_description.substring(responseActuator200_description_break));
- }
- </script>
-
-
- <ul id="responses-detail-Actuator-loggersName-200" class="nav nav-tabs nav-tabs-examples" >
- <li class="active">
- <a data-toggle="tab" href="#responses-Actuator-loggersName-200-schema">Schema</a>
- </li>
-
-
-
-
- </ul>
-
-
- <div class="tab-content" id="responses-Actuator-loggersName-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-Actuator-loggersName-200-schema">
- <div id="responses-Actuator-loggersName-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
- Object.keys(schema.properties).forEach( (item) => {
- if (schema.properties[item].$ref != null) {
- schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
- }
- });
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
- }
-
- var view = new JSONSchemaView(schema, 3);
- $('#responses-Actuator-loggersName-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-Actuator-loggersName-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-Actuator-loggersName-200-schema-data' type='hidden' value=''></input>
- </div>
- </div>
- </article>
- </div>
- <hr>
- <div id="api-Actuator-loggersName2">
- <article id="api-Actuator-loggersName2-0" data-group="User" data-name="loggersName2" data-version="0">
- <div class="pull-left">
- <h1>loggersName2</h1>
- <p>Actuator web endpoint 'loggers-name'</p>
- </div>
- <div class="pull-right"></div>
- <div class="clearfix"></div>
- <p></p>
- <p class="marked"></p>
- <p></p>
- <br />
- <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/actuator/loggers/{name}</span></code></pre>
- <p>
- <h3>Usage and SDK Samples</h3>
- </p>
- <ul class="nav nav-tabs nav-tabs-examples">
- <li class="active"><a href="#examples-Actuator-loggersName2-0-curl">Curl</a></li>
- <li class=""><a href="#examples-Actuator-loggersName2-0-java">Java</a></li>
- <li class=""><a href="#examples-Actuator-loggersName2-0-android">Android</a></li>
- <!--<li class=""><a href="#examples-Actuator-loggersName2-0-groovy">Groovy</a></li>-->
- <li class=""><a href="#examples-Actuator-loggersName2-0-objc">Obj-C</a></li>
- <li class=""><a href="#examples-Actuator-loggersName2-0-javascript">JavaScript</a></li>
- <!--<li class=""><a href="#examples-Actuator-loggersName2-0-angular">Angular</a></li>-->
- <li class=""><a href="#examples-Actuator-loggersName2-0-csharp">C#</a></li>
- <li class=""><a href="#examples-Actuator-loggersName2-0-php">PHP</a></li>
- <li class=""><a href="#examples-Actuator-loggersName2-0-perl">Perl</a></li>
- <li class=""><a href="#examples-Actuator-loggersName2-0-python">Python</a></li>
- <li class=""><a href="#examples-Actuator-loggersName2-0-rust">Rust</a></li>
- </ul>
-
- <div class="tab-content">
- <div class="tab-pane active" id="examples-Actuator-loggersName2-0-curl">
- <pre class="prettyprint"><code class="language-bsh">curl -X POST \
- -H "Accept: */*" \
- -H "Content-Type: application/json" \
- "http://localhost/actuator/loggers/{name}" \
- -d ''
-</code></pre>
- </div>
- <div class="tab-pane" id="examples-Actuator-loggersName2-0-java">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
-import org.openapitools.client.auth.*;
-import org.openapitools.client.model.*;
-import org.openapitools.client.api.ActuatorApi;
-
-import java.io.File;
-import java.util.*;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
-
- // Create an instance of the API class
- ActuatorApi apiInstance = new ActuatorApi();
- String name = name_example; // String |
- String body = body_example; // String |
-
- try {
- Object result = apiInstance.loggersName2(name, body);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#loggersName2");
- e.printStackTrace();
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-loggersName2-0-android">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ActuatorApi;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
- ActuatorApi apiInstance = new ActuatorApi();
- String name = name_example; // String |
- String body = body_example; // String |
-
- try {
- Object result = apiInstance.loggersName2(name, body);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#loggersName2");
- e.printStackTrace();
- }
- }
-}</code></pre>
- </div>
- <!--
- <div class="tab-pane" id="examples-Actuator-loggersName2-0-groovy">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div> -->
- <div class="tab-pane" id="examples-Actuator-loggersName2-0-objc">
- <pre class="prettyprint"><code class="language-cpp">
-
-// Create an instance of the API class
-ActuatorApi *apiInstance = [[ActuatorApi alloc] init];
-String *name = name_example; // (default to null)
-String *body = body_example; // (optional)
-
-// Actuator web endpoint 'loggers-name'
-[apiInstance loggersName2With:name
- body:body
- completionHandler: ^(Object output, NSError* error) {
- if (output) {
- NSLog(@"%@", output);
- }
- if (error) {
- NSLog(@"Error: %@", error);
- }
-}];
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-loggersName2-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
-
-// Create an instance of the API class
-var api = new A1PolicyManagementService.ActuatorApi()
-var name = name_example; // {String}
-var opts = {
- 'body': body_example // {String}
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-api.loggersName2(name, opts, callback);
-</code></pre>
- </div>
-
- <!--<div class="tab-pane" id="examples-Actuator-loggersName2-0-angular">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div>-->
- <div class="tab-pane" id="examples-Actuator-loggersName2-0-csharp">
- <pre class="prettyprint"><code class="language-cs">using System;
-using System.Diagnostics;
-using Org.OpenAPITools.Api;
-using Org.OpenAPITools.Client;
-using Org.OpenAPITools.Model;
-
-namespace Example
-{
- public class loggersName2Example
- {
- public void main()
- {
-
- // Create an instance of the API class
- var apiInstance = new ActuatorApi();
- var name = name_example; // String | (default to null)
- var body = body_example; // String | (optional)
-
- try {
- // Actuator web endpoint 'loggers-name'
- Object result = apiInstance.loggersName2(name, body);
- Debug.WriteLine(result);
- } catch (Exception e) {
- Debug.Print("Exception when calling ActuatorApi.loggersName2: " + e.Message );
- }
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-loggersName2-0-php">
- <pre class="prettyprint"><code class="language-php"><?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-// Create an instance of the API class
-$api_instance = new OpenAPITools\Client\Api\ActuatorApi();
-$name = name_example; // String |
-$body = body_example; // String |
-
-try {
- $result = $api_instance->loggersName2($name, $body);
- print_r($result);
-} catch (Exception $e) {
- echo 'Exception when calling ActuatorApi->loggersName2: ', $e->getMessage(), PHP_EOL;
-}
-?></code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-loggersName2-0-perl">
- <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
-use WWW::OPenAPIClient::Configuration;
-use WWW::OPenAPIClient::ActuatorApi;
-
-# Create an instance of the API class
-my $api_instance = WWW::OPenAPIClient::ActuatorApi->new();
-my $name = name_example; # String |
-my $body = WWW::OPenAPIClient::Object::String->new(); # String |
-
-eval {
- my $result = $api_instance->loggersName2(name => $name, body => $body);
- print Dumper($result);
-};
-if ($@) {
- warn "Exception when calling ActuatorApi->loggersName2: $@\n";
-}</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-loggersName2-0-python">
- <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
-import time
-import openapi_client
-from openapi_client.rest import ApiException
-from pprint import pprint
-
-# Create an instance of the API class
-api_instance = openapi_client.ActuatorApi()
-name = name_example # String | (default to null)
-body = body_example # String | (optional)
-
-try:
- # Actuator web endpoint 'loggers-name'
- api_response = api_instance.loggers_name2(name, body=body)
- pprint(api_response)
-except ApiException as e:
- print("Exception when calling ActuatorApi->loggersName2: %s\n" % e)</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-loggersName2-0-rust">
- <pre class="prettyprint"><code class="language-rust">extern crate ActuatorApi;
-
-pub fn main() {
- let name = name_example; // String
- let body = body_example; // String
-
- let mut context = ActuatorApi::Context::default();
- let result = client.loggersName2(name, body, &context).wait();
-
- println!("{:?}", result);
-}
-</code></pre>
- </div>
- </div>
-
- <h2>Scopes</h2>
- <table>
-
- </table>
-
- <h2>Parameters</h2>
-
- <div class="methodsubtabletitle">Path parameters</div>
- <table id="methodsubtable">
- <tr>
- <th width="150px">Name</th>
- <th>Description</th>
- </tr>
- <tr><td style="width:150px;">name*</td>
-<td>
-
-
- <div id="d2e199_loggersName2_name">
- <div class="json-schema-view">
- <div class="primitive">
- <span class="type">
- String
- </span>
-
- </div>
- <div class="inner required">
- Required
- </div>
- </div>
- </div>
-</td>
-</tr>
-
- </table>
-
-
- <div class="methodsubtabletitle">Body parameters</div>
- <table id="methodsubtable">
- <tr>
- <th width="150px">Name</th>
- <th>Description</th>
- </tr>
- <tr><td style="width:150px;">body </td>
-<td>
-<p class="marked"></p>
-<script>
-$(document).ready(function() {
- var schemaWrapper = {
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "string",
- "enum" : [ "TRACE", "DEBUG", "INFO", "WARN", "ERROR", "FATAL", "OFF" ]
- }
- }
- }
-};
-
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
- }
-
- var view = new JSONSchemaView(schema,2,{isBodyParam: true});
- var result = $('#d2e199_loggersName2_body');
- result.empty();
- result.append(view.render());
-});
-</script>
-<div id="d2e199_loggersName2_body"></div>
-</td>
-</tr>
-
- </table>
-
-
-
- <h2>Responses</h2>
- <h3 id="examples-Actuator-loggersName2-title-200"></h3>
- <p id="examples-Actuator-loggersName2-description-200" class="marked"></p>
- <script>
- var responseActuator200_description = `OK`;
- var responseActuator200_description_break = responseActuator200_description.indexOf('\n');
- if (responseActuator200_description_break == -1) {
- $("#examples-Actuator-loggersName2-title-200").text("Status: 200 - " + responseActuator200_description);
- } else {
- $("#examples-Actuator-loggersName2-title-200").text("Status: 200 - " + responseActuator200_description.substring(0, responseActuator200_description_break));
- $("#examples-Actuator-loggersName2-description-200").html(responseActuator200_description.substring(responseActuator200_description_break));
- }
- </script>
-
-
- <ul id="responses-detail-Actuator-loggersName2-200" class="nav nav-tabs nav-tabs-examples" >
- <li class="active">
- <a data-toggle="tab" href="#responses-Actuator-loggersName2-200-schema">Schema</a>
- </li>
-
-
-
-
- </ul>
-
-
- <div class="tab-content" id="responses-Actuator-loggersName2-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-Actuator-loggersName2-200-schema">
- <div id="responses-Actuator-loggersName2-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
- Object.keys(schema.properties).forEach( (item) => {
- if (schema.properties[item].$ref != null) {
- schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
- }
- });
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
- }
-
- var view = new JSONSchemaView(schema, 3);
- $('#responses-Actuator-loggersName2-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-Actuator-loggersName2-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-Actuator-loggersName2-200-schema-data' type='hidden' value=''></input>
- </div>
- </div>
- </article>
- </div>
- <hr>
- <div id="api-Actuator-metrics">
- <article id="api-Actuator-metrics-0" data-group="User" data-name="metrics" data-version="0">
- <div class="pull-left">
- <h1>metrics</h1>
- <p>Actuator web endpoint 'metrics'</p>
- </div>
- <div class="pull-right"></div>
- <div class="clearfix"></div>
- <p></p>
- <p class="marked"></p>
- <p></p>
- <br />
- <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/actuator/metrics</span></code></pre>
- <p>
- <h3>Usage and SDK Samples</h3>
- </p>
- <ul class="nav nav-tabs nav-tabs-examples">
- <li class="active"><a href="#examples-Actuator-metrics-0-curl">Curl</a></li>
- <li class=""><a href="#examples-Actuator-metrics-0-java">Java</a></li>
- <li class=""><a href="#examples-Actuator-metrics-0-android">Android</a></li>
- <!--<li class=""><a href="#examples-Actuator-metrics-0-groovy">Groovy</a></li>-->
- <li class=""><a href="#examples-Actuator-metrics-0-objc">Obj-C</a></li>
- <li class=""><a href="#examples-Actuator-metrics-0-javascript">JavaScript</a></li>
- <!--<li class=""><a href="#examples-Actuator-metrics-0-angular">Angular</a></li>-->
- <li class=""><a href="#examples-Actuator-metrics-0-csharp">C#</a></li>
- <li class=""><a href="#examples-Actuator-metrics-0-php">PHP</a></li>
- <li class=""><a href="#examples-Actuator-metrics-0-perl">Perl</a></li>
- <li class=""><a href="#examples-Actuator-metrics-0-python">Python</a></li>
- <li class=""><a href="#examples-Actuator-metrics-0-rust">Rust</a></li>
- </ul>
-
- <div class="tab-content">
- <div class="tab-pane active" id="examples-Actuator-metrics-0-curl">
- <pre class="prettyprint"><code class="language-bsh">curl -X GET \
- -H "Accept: application/vnd.spring-boot.actuator.v3+json,application/json,application/vnd.spring-boot.actuator.v2+json" \
- "http://localhost/actuator/metrics"
-</code></pre>
- </div>
- <div class="tab-pane" id="examples-Actuator-metrics-0-java">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
-import org.openapitools.client.auth.*;
-import org.openapitools.client.model.*;
-import org.openapitools.client.api.ActuatorApi;
-
-import java.io.File;
-import java.util.*;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
-
- // Create an instance of the API class
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- Object result = apiInstance.metrics();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#metrics");
- e.printStackTrace();
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-metrics-0-android">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ActuatorApi;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- Object result = apiInstance.metrics();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#metrics");
- e.printStackTrace();
- }
- }
-}</code></pre>
- </div>
- <!--
- <div class="tab-pane" id="examples-Actuator-metrics-0-groovy">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div> -->
- <div class="tab-pane" id="examples-Actuator-metrics-0-objc">
- <pre class="prettyprint"><code class="language-cpp">
-
-// Create an instance of the API class
-ActuatorApi *apiInstance = [[ActuatorApi alloc] init];
-
-// Actuator web endpoint 'metrics'
-[apiInstance metricsWithCompletionHandler:
- ^(Object output, NSError* error) {
- if (output) {
- NSLog(@"%@", output);
- }
- if (error) {
- NSLog(@"Error: %@", error);
- }
-}];
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-metrics-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
-
-// Create an instance of the API class
-var api = new A1PolicyManagementService.ActuatorApi()
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-api.metrics(callback);
-</code></pre>
- </div>
-
- <!--<div class="tab-pane" id="examples-Actuator-metrics-0-angular">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div>-->
- <div class="tab-pane" id="examples-Actuator-metrics-0-csharp">
- <pre class="prettyprint"><code class="language-cs">using System;
-using System.Diagnostics;
-using Org.OpenAPITools.Api;
-using Org.OpenAPITools.Client;
-using Org.OpenAPITools.Model;
-
-namespace Example
-{
- public class metricsExample
- {
- public void main()
- {
-
- // Create an instance of the API class
- var apiInstance = new ActuatorApi();
-
- try {
- // Actuator web endpoint 'metrics'
- Object result = apiInstance.metrics();
- Debug.WriteLine(result);
- } catch (Exception e) {
- Debug.Print("Exception when calling ActuatorApi.metrics: " + e.Message );
- }
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-metrics-0-php">
- <pre class="prettyprint"><code class="language-php"><?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-// Create an instance of the API class
-$api_instance = new OpenAPITools\Client\Api\ActuatorApi();
-
-try {
- $result = $api_instance->metrics();
- print_r($result);
-} catch (Exception $e) {
- echo 'Exception when calling ActuatorApi->metrics: ', $e->getMessage(), PHP_EOL;
-}
-?></code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-metrics-0-perl">
- <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
-use WWW::OPenAPIClient::Configuration;
-use WWW::OPenAPIClient::ActuatorApi;
-
-# Create an instance of the API class
-my $api_instance = WWW::OPenAPIClient::ActuatorApi->new();
-
-eval {
- my $result = $api_instance->metrics();
- print Dumper($result);
-};
-if ($@) {
- warn "Exception when calling ActuatorApi->metrics: $@\n";
-}</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-metrics-0-python">
- <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
-import time
-import openapi_client
-from openapi_client.rest import ApiException
-from pprint import pprint
-
-# Create an instance of the API class
-api_instance = openapi_client.ActuatorApi()
-
-try:
- # Actuator web endpoint 'metrics'
- api_response = api_instance.metrics()
- pprint(api_response)
-except ApiException as e:
- print("Exception when calling ActuatorApi->metrics: %s\n" % e)</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-metrics-0-rust">
- <pre class="prettyprint"><code class="language-rust">extern crate ActuatorApi;
-
-pub fn main() {
-
- let mut context = ActuatorApi::Context::default();
- let result = client.metrics(&context).wait();
-
- println!("{:?}", result);
-}
-</code></pre>
- </div>
- </div>
-
- <h2>Scopes</h2>
- <table>
-
- </table>
-
- <h2>Parameters</h2>
-
-
-
-
-
-
- <h2>Responses</h2>
- <h3 id="examples-Actuator-metrics-title-200"></h3>
- <p id="examples-Actuator-metrics-description-200" class="marked"></p>
- <script>
- var responseActuator200_description = `OK`;
- var responseActuator200_description_break = responseActuator200_description.indexOf('\n');
- if (responseActuator200_description_break == -1) {
- $("#examples-Actuator-metrics-title-200").text("Status: 200 - " + responseActuator200_description);
- } else {
- $("#examples-Actuator-metrics-title-200").text("Status: 200 - " + responseActuator200_description.substring(0, responseActuator200_description_break));
- $("#examples-Actuator-metrics-description-200").html(responseActuator200_description.substring(responseActuator200_description_break));
- }
- </script>
-
-
- <ul id="responses-detail-Actuator-metrics-200" class="nav nav-tabs nav-tabs-examples" >
- <li class="active">
- <a data-toggle="tab" href="#responses-Actuator-metrics-200-schema">Schema</a>
- </li>
-
-
-
-
- </ul>
-
-
- <div class="tab-content" id="responses-Actuator-metrics-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-Actuator-metrics-200-schema">
- <div id="responses-Actuator-metrics-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
- Object.keys(schema.properties).forEach( (item) => {
- if (schema.properties[item].$ref != null) {
- schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
- }
- });
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
- }
-
- var view = new JSONSchemaView(schema, 3);
- $('#responses-Actuator-metrics-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-Actuator-metrics-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-Actuator-metrics-200-schema-data' type='hidden' value=''></input>
- </div>
- </div>
- </article>
- </div>
- <hr>
- <div id="api-Actuator-metricsRequiredMetricName">
- <article id="api-Actuator-metricsRequiredMetricName-0" data-group="User" data-name="metricsRequiredMetricName" data-version="0">
- <div class="pull-left">
- <h1>metricsRequiredMetricName</h1>
- <p>Actuator web endpoint 'metrics-requiredMetricName'</p>
- </div>
- <div class="pull-right"></div>
- <div class="clearfix"></div>
- <p></p>
- <p class="marked"></p>
- <p></p>
- <br />
- <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/actuator/metrics/{requiredMetricName}</span></code></pre>
- <p>
- <h3>Usage and SDK Samples</h3>
- </p>
- <ul class="nav nav-tabs nav-tabs-examples">
- <li class="active"><a href="#examples-Actuator-metricsRequiredMetricName-0-curl">Curl</a></li>
- <li class=""><a href="#examples-Actuator-metricsRequiredMetricName-0-java">Java</a></li>
- <li class=""><a href="#examples-Actuator-metricsRequiredMetricName-0-android">Android</a></li>
- <!--<li class=""><a href="#examples-Actuator-metricsRequiredMetricName-0-groovy">Groovy</a></li>-->
- <li class=""><a href="#examples-Actuator-metricsRequiredMetricName-0-objc">Obj-C</a></li>
- <li class=""><a href="#examples-Actuator-metricsRequiredMetricName-0-javascript">JavaScript</a></li>
- <!--<li class=""><a href="#examples-Actuator-metricsRequiredMetricName-0-angular">Angular</a></li>-->
- <li class=""><a href="#examples-Actuator-metricsRequiredMetricName-0-csharp">C#</a></li>
- <li class=""><a href="#examples-Actuator-metricsRequiredMetricName-0-php">PHP</a></li>
- <li class=""><a href="#examples-Actuator-metricsRequiredMetricName-0-perl">Perl</a></li>
- <li class=""><a href="#examples-Actuator-metricsRequiredMetricName-0-python">Python</a></li>
- <li class=""><a href="#examples-Actuator-metricsRequiredMetricName-0-rust">Rust</a></li>
- </ul>
-
- <div class="tab-content">
- <div class="tab-pane active" id="examples-Actuator-metricsRequiredMetricName-0-curl">
- <pre class="prettyprint"><code class="language-bsh">curl -X GET \
- -H "Accept: application/vnd.spring-boot.actuator.v3+json,application/json,application/vnd.spring-boot.actuator.v2+json" \
- "http://localhost/actuator/metrics/{requiredMetricName}"
-</code></pre>
- </div>
- <div class="tab-pane" id="examples-Actuator-metricsRequiredMetricName-0-java">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
-import org.openapitools.client.auth.*;
-import org.openapitools.client.model.*;
-import org.openapitools.client.api.ActuatorApi;
-
-import java.io.File;
-import java.util.*;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
-
- // Create an instance of the API class
- ActuatorApi apiInstance = new ActuatorApi();
- String requiredMetricName = requiredMetricName_example; // String |
-
- try {
- Object result = apiInstance.metricsRequiredMetricName(requiredMetricName);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#metricsRequiredMetricName");
- e.printStackTrace();
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-metricsRequiredMetricName-0-android">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ActuatorApi;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
- ActuatorApi apiInstance = new ActuatorApi();
- String requiredMetricName = requiredMetricName_example; // String |
-
- try {
- Object result = apiInstance.metricsRequiredMetricName(requiredMetricName);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#metricsRequiredMetricName");
- e.printStackTrace();
- }
- }
-}</code></pre>
- </div>
- <!--
- <div class="tab-pane" id="examples-Actuator-metricsRequiredMetricName-0-groovy">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div> -->
- <div class="tab-pane" id="examples-Actuator-metricsRequiredMetricName-0-objc">
- <pre class="prettyprint"><code class="language-cpp">
-
-// Create an instance of the API class
-ActuatorApi *apiInstance = [[ActuatorApi alloc] init];
-String *requiredMetricName = requiredMetricName_example; // (default to null)
-
-// Actuator web endpoint 'metrics-requiredMetricName'
-[apiInstance metricsRequiredMetricNameWith:requiredMetricName
- completionHandler: ^(Object output, NSError* error) {
- if (output) {
- NSLog(@"%@", output);
- }
- if (error) {
- NSLog(@"Error: %@", error);
- }
-}];
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-metricsRequiredMetricName-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
-
-// Create an instance of the API class
-var api = new A1PolicyManagementService.ActuatorApi()
-var requiredMetricName = requiredMetricName_example; // {String}
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-api.metricsRequiredMetricName(requiredMetricName, callback);
-</code></pre>
- </div>
-
- <!--<div class="tab-pane" id="examples-Actuator-metricsRequiredMetricName-0-angular">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div>-->
- <div class="tab-pane" id="examples-Actuator-metricsRequiredMetricName-0-csharp">
- <pre class="prettyprint"><code class="language-cs">using System;
-using System.Diagnostics;
-using Org.OpenAPITools.Api;
-using Org.OpenAPITools.Client;
-using Org.OpenAPITools.Model;
-
-namespace Example
-{
- public class metricsRequiredMetricNameExample
- {
- public void main()
- {
-
- // Create an instance of the API class
- var apiInstance = new ActuatorApi();
- var requiredMetricName = requiredMetricName_example; // String | (default to null)
-
- try {
- // Actuator web endpoint 'metrics-requiredMetricName'
- Object result = apiInstance.metricsRequiredMetricName(requiredMetricName);
- Debug.WriteLine(result);
- } catch (Exception e) {
- Debug.Print("Exception when calling ActuatorApi.metricsRequiredMetricName: " + e.Message );
- }
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-metricsRequiredMetricName-0-php">
- <pre class="prettyprint"><code class="language-php"><?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-// Create an instance of the API class
-$api_instance = new OpenAPITools\Client\Api\ActuatorApi();
-$requiredMetricName = requiredMetricName_example; // String |
-
-try {
- $result = $api_instance->metricsRequiredMetricName($requiredMetricName);
- print_r($result);
-} catch (Exception $e) {
- echo 'Exception when calling ActuatorApi->metricsRequiredMetricName: ', $e->getMessage(), PHP_EOL;
-}
-?></code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-metricsRequiredMetricName-0-perl">
- <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
-use WWW::OPenAPIClient::Configuration;
-use WWW::OPenAPIClient::ActuatorApi;
-
-# Create an instance of the API class
-my $api_instance = WWW::OPenAPIClient::ActuatorApi->new();
-my $requiredMetricName = requiredMetricName_example; # String |
-
-eval {
- my $result = $api_instance->metricsRequiredMetricName(requiredMetricName => $requiredMetricName);
- print Dumper($result);
-};
-if ($@) {
- warn "Exception when calling ActuatorApi->metricsRequiredMetricName: $@\n";
-}</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-metricsRequiredMetricName-0-python">
- <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
-import time
-import openapi_client
-from openapi_client.rest import ApiException
-from pprint import pprint
-
-# Create an instance of the API class
-api_instance = openapi_client.ActuatorApi()
-requiredMetricName = requiredMetricName_example # String | (default to null)
-
-try:
- # Actuator web endpoint 'metrics-requiredMetricName'
- api_response = api_instance.metrics_required_metric_name(requiredMetricName)
- pprint(api_response)
-except ApiException as e:
- print("Exception when calling ActuatorApi->metricsRequiredMetricName: %s\n" % e)</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-metricsRequiredMetricName-0-rust">
- <pre class="prettyprint"><code class="language-rust">extern crate ActuatorApi;
-
-pub fn main() {
- let requiredMetricName = requiredMetricName_example; // String
-
- let mut context = ActuatorApi::Context::default();
- let result = client.metricsRequiredMetricName(requiredMetricName, &context).wait();
-
- println!("{:?}", result);
-}
-</code></pre>
- </div>
- </div>
-
- <h2>Scopes</h2>
- <table>
-
- </table>
-
- <h2>Parameters</h2>
-
- <div class="methodsubtabletitle">Path parameters</div>
- <table id="methodsubtable">
- <tr>
- <th width="150px">Name</th>
- <th>Description</th>
- </tr>
- <tr><td style="width:150px;">requiredMetricName*</td>
-<td>
-
-
- <div id="d2e199_metricsRequiredMetricName_requiredMetricName">
- <div class="json-schema-view">
- <div class="primitive">
- <span class="type">
- String
- </span>
-
- </div>
- <div class="inner required">
- Required
- </div>
- </div>
- </div>
-</td>
-</tr>
-
- </table>
-
-
-
-
-
- <h2>Responses</h2>
- <h3 id="examples-Actuator-metricsRequiredMetricName-title-200"></h3>
- <p id="examples-Actuator-metricsRequiredMetricName-description-200" class="marked"></p>
- <script>
- var responseActuator200_description = `OK`;
- var responseActuator200_description_break = responseActuator200_description.indexOf('\n');
- if (responseActuator200_description_break == -1) {
- $("#examples-Actuator-metricsRequiredMetricName-title-200").text("Status: 200 - " + responseActuator200_description);
- } else {
- $("#examples-Actuator-metricsRequiredMetricName-title-200").text("Status: 200 - " + responseActuator200_description.substring(0, responseActuator200_description_break));
- $("#examples-Actuator-metricsRequiredMetricName-description-200").html(responseActuator200_description.substring(responseActuator200_description_break));
- }
- </script>
-
-
- <ul id="responses-detail-Actuator-metricsRequiredMetricName-200" class="nav nav-tabs nav-tabs-examples" >
- <li class="active">
- <a data-toggle="tab" href="#responses-Actuator-metricsRequiredMetricName-200-schema">Schema</a>
- </li>
-
-
-
-
- </ul>
-
-
- <div class="tab-content" id="responses-Actuator-metricsRequiredMetricName-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-Actuator-metricsRequiredMetricName-200-schema">
- <div id="responses-Actuator-metricsRequiredMetricName-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
- Object.keys(schema.properties).forEach( (item) => {
- if (schema.properties[item].$ref != null) {
- schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
- }
- });
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
- }
-
- var view = new JSONSchemaView(schema, 3);
- $('#responses-Actuator-metricsRequiredMetricName-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-Actuator-metricsRequiredMetricName-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-Actuator-metricsRequiredMetricName-200-schema-data' type='hidden' value=''></input>
- </div>
- </div>
- </article>
- </div>
- <hr>
- <div id="api-Actuator-shutdown">
- <article id="api-Actuator-shutdown-0" data-group="User" data-name="shutdown" data-version="0">
- <div class="pull-left">
- <h1>shutdown</h1>
- <p>Actuator web endpoint 'shutdown'</p>
- </div>
- <div class="pull-right"></div>
- <div class="clearfix"></div>
- <p></p>
- <p class="marked"></p>
- <p></p>
- <br />
- <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/actuator/shutdown</span></code></pre>
- <p>
- <h3>Usage and SDK Samples</h3>
- </p>
- <ul class="nav nav-tabs nav-tabs-examples">
- <li class="active"><a href="#examples-Actuator-shutdown-0-curl">Curl</a></li>
- <li class=""><a href="#examples-Actuator-shutdown-0-java">Java</a></li>
- <li class=""><a href="#examples-Actuator-shutdown-0-android">Android</a></li>
- <!--<li class=""><a href="#examples-Actuator-shutdown-0-groovy">Groovy</a></li>-->
- <li class=""><a href="#examples-Actuator-shutdown-0-objc">Obj-C</a></li>
- <li class=""><a href="#examples-Actuator-shutdown-0-javascript">JavaScript</a></li>
- <!--<li class=""><a href="#examples-Actuator-shutdown-0-angular">Angular</a></li>-->
- <li class=""><a href="#examples-Actuator-shutdown-0-csharp">C#</a></li>
- <li class=""><a href="#examples-Actuator-shutdown-0-php">PHP</a></li>
- <li class=""><a href="#examples-Actuator-shutdown-0-perl">Perl</a></li>
- <li class=""><a href="#examples-Actuator-shutdown-0-python">Python</a></li>
- <li class=""><a href="#examples-Actuator-shutdown-0-rust">Rust</a></li>
- </ul>
-
- <div class="tab-content">
- <div class="tab-pane active" id="examples-Actuator-shutdown-0-curl">
- <pre class="prettyprint"><code class="language-bsh">curl -X POST \
- -H "Accept: application/vnd.spring-boot.actuator.v3+json,application/json,application/vnd.spring-boot.actuator.v2+json" \
- "http://localhost/actuator/shutdown"
-</code></pre>
- </div>
- <div class="tab-pane" id="examples-Actuator-shutdown-0-java">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
-import org.openapitools.client.auth.*;
-import org.openapitools.client.model.*;
-import org.openapitools.client.api.ActuatorApi;
-
-import java.io.File;
-import java.util.*;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
-
- // Create an instance of the API class
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- Object result = apiInstance.shutdown();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#shutdown");
- e.printStackTrace();
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-shutdown-0-android">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ActuatorApi;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- Object result = apiInstance.shutdown();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#shutdown");
- e.printStackTrace();
- }
- }
-}</code></pre>
- </div>
- <!--
- <div class="tab-pane" id="examples-Actuator-shutdown-0-groovy">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div> -->
- <div class="tab-pane" id="examples-Actuator-shutdown-0-objc">
- <pre class="prettyprint"><code class="language-cpp">
-
-// Create an instance of the API class
-ActuatorApi *apiInstance = [[ActuatorApi alloc] init];
-
-// Actuator web endpoint 'shutdown'
-[apiInstance shutdownWithCompletionHandler:
- ^(Object output, NSError* error) {
- if (output) {
- NSLog(@"%@", output);
- }
- if (error) {
- NSLog(@"Error: %@", error);
- }
-}];
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-shutdown-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
-
-// Create an instance of the API class
-var api = new A1PolicyManagementService.ActuatorApi()
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-api.shutdown(callback);
-</code></pre>
- </div>
-
- <!--<div class="tab-pane" id="examples-Actuator-shutdown-0-angular">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div>-->
- <div class="tab-pane" id="examples-Actuator-shutdown-0-csharp">
- <pre class="prettyprint"><code class="language-cs">using System;
-using System.Diagnostics;
-using Org.OpenAPITools.Api;
-using Org.OpenAPITools.Client;
-using Org.OpenAPITools.Model;
-
-namespace Example
-{
- public class shutdownExample
- {
- public void main()
- {
-
- // Create an instance of the API class
- var apiInstance = new ActuatorApi();
-
- try {
- // Actuator web endpoint 'shutdown'
- Object result = apiInstance.shutdown();
- Debug.WriteLine(result);
- } catch (Exception e) {
- Debug.Print("Exception when calling ActuatorApi.shutdown: " + e.Message );
- }
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-shutdown-0-php">
- <pre class="prettyprint"><code class="language-php"><?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-// Create an instance of the API class
-$api_instance = new OpenAPITools\Client\Api\ActuatorApi();
-
-try {
- $result = $api_instance->shutdown();
- print_r($result);
-} catch (Exception $e) {
- echo 'Exception when calling ActuatorApi->shutdown: ', $e->getMessage(), PHP_EOL;
-}
-?></code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-shutdown-0-perl">
- <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
-use WWW::OPenAPIClient::Configuration;
-use WWW::OPenAPIClient::ActuatorApi;
-
-# Create an instance of the API class
-my $api_instance = WWW::OPenAPIClient::ActuatorApi->new();
-
-eval {
- my $result = $api_instance->shutdown();
- print Dumper($result);
-};
-if ($@) {
- warn "Exception when calling ActuatorApi->shutdown: $@\n";
-}</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-shutdown-0-python">
- <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
-import time
-import openapi_client
-from openapi_client.rest import ApiException
-from pprint import pprint
-
-# Create an instance of the API class
-api_instance = openapi_client.ActuatorApi()
-
-try:
- # Actuator web endpoint 'shutdown'
- api_response = api_instance.shutdown()
- pprint(api_response)
-except ApiException as e:
- print("Exception when calling ActuatorApi->shutdown: %s\n" % e)</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-shutdown-0-rust">
- <pre class="prettyprint"><code class="language-rust">extern crate ActuatorApi;
-
-pub fn main() {
-
- let mut context = ActuatorApi::Context::default();
- let result = client.shutdown(&context).wait();
-
- println!("{:?}", result);
-}
-</code></pre>
- </div>
- </div>
-
- <h2>Scopes</h2>
- <table>
-
- </table>
-
- <h2>Parameters</h2>
-
-
-
-
-
-
- <h2>Responses</h2>
- <h3 id="examples-Actuator-shutdown-title-200"></h3>
- <p id="examples-Actuator-shutdown-description-200" class="marked"></p>
- <script>
- var responseActuator200_description = `OK`;
- var responseActuator200_description_break = responseActuator200_description.indexOf('\n');
- if (responseActuator200_description_break == -1) {
- $("#examples-Actuator-shutdown-title-200").text("Status: 200 - " + responseActuator200_description);
- } else {
- $("#examples-Actuator-shutdown-title-200").text("Status: 200 - " + responseActuator200_description.substring(0, responseActuator200_description_break));
- $("#examples-Actuator-shutdown-description-200").html(responseActuator200_description.substring(responseActuator200_description_break));
- }
- </script>
-
-
- <ul id="responses-detail-Actuator-shutdown-200" class="nav nav-tabs nav-tabs-examples" >
- <li class="active">
- <a data-toggle="tab" href="#responses-Actuator-shutdown-200-schema">Schema</a>
- </li>
-
-
-
-
- </ul>
-
-
- <div class="tab-content" id="responses-Actuator-shutdown-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-Actuator-shutdown-200-schema">
- <div id="responses-Actuator-shutdown-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
- Object.keys(schema.properties).forEach( (item) => {
- if (schema.properties[item].$ref != null) {
- schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
- }
- });
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
- }
-
- var view = new JSONSchemaView(schema, 3);
- $('#responses-Actuator-shutdown-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-Actuator-shutdown-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-Actuator-shutdown-200-schema-data' type='hidden' value=''></input>
- </div>
- </div>
- </article>
- </div>
- <hr>
- <div id="api-Actuator-threaddump">
- <article id="api-Actuator-threaddump-0" data-group="User" data-name="threaddump" data-version="0">
- <div class="pull-left">
- <h1>threaddump</h1>
- <p>Actuator web endpoint 'threaddump'</p>
- </div>
- <div class="pull-right"></div>
- <div class="clearfix"></div>
- <p></p>
- <p class="marked"></p>
- <p></p>
- <br />
- <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/actuator/threaddump</span></code></pre>
- <p>
- <h3>Usage and SDK Samples</h3>
- </p>
- <ul class="nav nav-tabs nav-tabs-examples">
- <li class="active"><a href="#examples-Actuator-threaddump-0-curl">Curl</a></li>
- <li class=""><a href="#examples-Actuator-threaddump-0-java">Java</a></li>
- <li class=""><a href="#examples-Actuator-threaddump-0-android">Android</a></li>
- <!--<li class=""><a href="#examples-Actuator-threaddump-0-groovy">Groovy</a></li>-->
- <li class=""><a href="#examples-Actuator-threaddump-0-objc">Obj-C</a></li>
- <li class=""><a href="#examples-Actuator-threaddump-0-javascript">JavaScript</a></li>
- <!--<li class=""><a href="#examples-Actuator-threaddump-0-angular">Angular</a></li>-->
- <li class=""><a href="#examples-Actuator-threaddump-0-csharp">C#</a></li>
- <li class=""><a href="#examples-Actuator-threaddump-0-php">PHP</a></li>
- <li class=""><a href="#examples-Actuator-threaddump-0-perl">Perl</a></li>
- <li class=""><a href="#examples-Actuator-threaddump-0-python">Python</a></li>
- <li class=""><a href="#examples-Actuator-threaddump-0-rust">Rust</a></li>
- </ul>
-
- <div class="tab-content">
- <div class="tab-pane active" id="examples-Actuator-threaddump-0-curl">
- <pre class="prettyprint"><code class="language-bsh">curl -X GET \
- -H "Accept: text/plain;charset=UTF-8,application/vnd.spring-boot.actuator.v3+json,application/json,application/vnd.spring-boot.actuator.v2+json" \
- "http://localhost/actuator/threaddump"
-</code></pre>
- </div>
- <div class="tab-pane" id="examples-Actuator-threaddump-0-java">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
-import org.openapitools.client.auth.*;
-import org.openapitools.client.model.*;
-import org.openapitools.client.api.ActuatorApi;
-
-import java.io.File;
-import java.util.*;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
-
- // Create an instance of the API class
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- Object result = apiInstance.threaddump();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#threaddump");
- e.printStackTrace();
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-threaddump-0-android">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ActuatorApi;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- Object result = apiInstance.threaddump();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#threaddump");
- e.printStackTrace();
- }
- }
-}</code></pre>
- </div>
- <!--
- <div class="tab-pane" id="examples-Actuator-threaddump-0-groovy">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div> -->
- <div class="tab-pane" id="examples-Actuator-threaddump-0-objc">
- <pre class="prettyprint"><code class="language-cpp">
-
-// Create an instance of the API class
-ActuatorApi *apiInstance = [[ActuatorApi alloc] init];
-
-// Actuator web endpoint 'threaddump'
-[apiInstance threaddumpWithCompletionHandler:
- ^(Object output, NSError* error) {
- if (output) {
- NSLog(@"%@", output);
- }
- if (error) {
- NSLog(@"Error: %@", error);
- }
-}];
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-threaddump-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
-
-// Create an instance of the API class
-var api = new A1PolicyManagementService.ActuatorApi()
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-api.threaddump(callback);
-</code></pre>
- </div>
-
- <!--<div class="tab-pane" id="examples-Actuator-threaddump-0-angular">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div>-->
- <div class="tab-pane" id="examples-Actuator-threaddump-0-csharp">
- <pre class="prettyprint"><code class="language-cs">using System;
-using System.Diagnostics;
-using Org.OpenAPITools.Api;
-using Org.OpenAPITools.Client;
-using Org.OpenAPITools.Model;
-
-namespace Example
-{
- public class threaddumpExample
- {
- public void main()
- {
-
- // Create an instance of the API class
- var apiInstance = new ActuatorApi();
-
- try {
- // Actuator web endpoint 'threaddump'
- Object result = apiInstance.threaddump();
- Debug.WriteLine(result);
- } catch (Exception e) {
- Debug.Print("Exception when calling ActuatorApi.threaddump: " + e.Message );
- }
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-threaddump-0-php">
- <pre class="prettyprint"><code class="language-php"><?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-// Create an instance of the API class
-$api_instance = new OpenAPITools\Client\Api\ActuatorApi();
-
-try {
- $result = $api_instance->threaddump();
- print_r($result);
-} catch (Exception $e) {
- echo 'Exception when calling ActuatorApi->threaddump: ', $e->getMessage(), PHP_EOL;
-}
-?></code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-threaddump-0-perl">
- <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
-use WWW::OPenAPIClient::Configuration;
-use WWW::OPenAPIClient::ActuatorApi;
-
-# Create an instance of the API class
-my $api_instance = WWW::OPenAPIClient::ActuatorApi->new();
-
-eval {
- my $result = $api_instance->threaddump();
- print Dumper($result);
-};
-if ($@) {
- warn "Exception when calling ActuatorApi->threaddump: $@\n";
-}</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-threaddump-0-python">
- <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
-import time
-import openapi_client
-from openapi_client.rest import ApiException
-from pprint import pprint
-
-# Create an instance of the API class
-api_instance = openapi_client.ActuatorApi()
-
-try:
- # Actuator web endpoint 'threaddump'
- api_response = api_instance.threaddump()
- pprint(api_response)
-except ApiException as e:
- print("Exception when calling ActuatorApi->threaddump: %s\n" % e)</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-threaddump-0-rust">
- <pre class="prettyprint"><code class="language-rust">extern crate ActuatorApi;
-
-pub fn main() {
-
- let mut context = ActuatorApi::Context::default();
- let result = client.threaddump(&context).wait();
-
- println!("{:?}", result);
-}
-</code></pre>
- </div>
- </div>
-
- <h2>Scopes</h2>
- <table>
-
- </table>
-
- <h2>Parameters</h2>
-
-
-
-
-
-
- <h2>Responses</h2>
- <h3 id="examples-Actuator-threaddump-title-200"></h3>
- <p id="examples-Actuator-threaddump-description-200" class="marked"></p>
- <script>
- var responseActuator200_description = `OK`;
- var responseActuator200_description_break = responseActuator200_description.indexOf('\n');
- if (responseActuator200_description_break == -1) {
- $("#examples-Actuator-threaddump-title-200").text("Status: 200 - " + responseActuator200_description);
- } else {
- $("#examples-Actuator-threaddump-title-200").text("Status: 200 - " + responseActuator200_description.substring(0, responseActuator200_description_break));
- $("#examples-Actuator-threaddump-description-200").html(responseActuator200_description.substring(responseActuator200_description_break));
- }
- </script>
-
-
- <ul id="responses-detail-Actuator-threaddump-200" class="nav nav-tabs nav-tabs-examples" >
- <li class="active">
- <a data-toggle="tab" href="#responses-Actuator-threaddump-200-schema">Schema</a>
- </li>
-
-
-
-
- </ul>
-
-
- <div class="tab-content" id="responses-Actuator-threaddump-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-Actuator-threaddump-200-schema">
- <div id="responses-Actuator-threaddump-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
- Object.keys(schema.properties).forEach( (item) => {
- if (schema.properties[item].$ref != null) {
- schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
- }
- });
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
- }
-
- var view = new JSONSchemaView(schema, 3);
- $('#responses-Actuator-threaddump-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-Actuator-threaddump-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-Actuator-threaddump-200-schema-data' type='hidden' value=''></input>
- </div>
- </div>
- </article>
- </div>
- <hr>
- </section>
- <section id="api-AuthorizationAPI">
- <h1>AuthorizationAPI</h1>
- <div id="api-AuthorizationAPI-performAccessControl">
- <article id="api-AuthorizationAPI-performAccessControl-0" data-group="User" data-name="performAccessControl" data-version="0">
- <div class="pull-left">
- <h1>performAccessControl</h1>
- <p>Request for access authorization.</p>
- </div>
- <div class="pull-right"></div>
- <div class="clearfix"></div>
- <p></p>
- <p class="marked">The authorization function decides if access is granted.</p>
- <p></p>
- <br />
- <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/example-authz-check</span></code></pre>
- <p>
- <h3>Usage and SDK Samples</h3>
- </p>
- <ul class="nav nav-tabs nav-tabs-examples">
- <li class="active"><a href="#examples-AuthorizationAPI-performAccessControl-0-curl">Curl</a></li>
- <li class=""><a href="#examples-AuthorizationAPI-performAccessControl-0-java">Java</a></li>
- <li class=""><a href="#examples-AuthorizationAPI-performAccessControl-0-android">Android</a></li>
- <!--<li class=""><a href="#examples-AuthorizationAPI-performAccessControl-0-groovy">Groovy</a></li>-->
- <li class=""><a href="#examples-AuthorizationAPI-performAccessControl-0-objc">Obj-C</a></li>
- <li class=""><a href="#examples-AuthorizationAPI-performAccessControl-0-javascript">JavaScript</a></li>
- <!--<li class=""><a href="#examples-AuthorizationAPI-performAccessControl-0-angular">Angular</a></li>-->
- <li class=""><a href="#examples-AuthorizationAPI-performAccessControl-0-csharp">C#</a></li>
- <li class=""><a href="#examples-AuthorizationAPI-performAccessControl-0-php">PHP</a></li>
- <li class=""><a href="#examples-AuthorizationAPI-performAccessControl-0-perl">Perl</a></li>
- <li class=""><a href="#examples-AuthorizationAPI-performAccessControl-0-python">Python</a></li>
- <li class=""><a href="#examples-AuthorizationAPI-performAccessControl-0-rust">Rust</a></li>
- </ul>
-
- <div class="tab-content">
- <div class="tab-pane active" id="examples-AuthorizationAPI-performAccessControl-0-curl">
- <pre class="prettyprint"><code class="language-bsh">curl -X POST \
- -H "Accept: application/json,application/problem+json" \
- -H "Content-Type: application/json" \
- "http://localhost/example-authz-check" \
- -d ''
-</code></pre>
- </div>
- <div class="tab-pane" id="examples-AuthorizationAPI-performAccessControl-0-java">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
-import org.openapitools.client.auth.*;
-import org.openapitools.client.model.*;
-import org.openapitools.client.api.AuthorizationAPIApi;
-
-import java.io.File;
-import java.util.*;
-
-public class AuthorizationAPIApiExample {
- public static void main(String[] args) {
-
- // Create an instance of the API class
- AuthorizationAPIApi apiInstance = new AuthorizationAPIApi();
- PolicyAuthorization policyAuthorization = ; // PolicyAuthorization |
-
- try {
- authorization_result result = apiInstance.performAccessControl(policyAuthorization);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling AuthorizationAPIApi#performAccessControl");
- e.printStackTrace();
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-AuthorizationAPI-performAccessControl-0-android">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.AuthorizationAPIApi;
-
-public class AuthorizationAPIApiExample {
- public static void main(String[] args) {
- AuthorizationAPIApi apiInstance = new AuthorizationAPIApi();
- PolicyAuthorization policyAuthorization = ; // PolicyAuthorization |
-
- try {
- authorization_result result = apiInstance.performAccessControl(policyAuthorization);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling AuthorizationAPIApi#performAccessControl");
- e.printStackTrace();
- }
- }
-}</code></pre>
- </div>
- <!--
- <div class="tab-pane" id="examples-AuthorizationAPI-performAccessControl-0-groovy">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div> -->
- <div class="tab-pane" id="examples-AuthorizationAPI-performAccessControl-0-objc">
- <pre class="prettyprint"><code class="language-cpp">
-
-// Create an instance of the API class
-AuthorizationAPIApi *apiInstance = [[AuthorizationAPIApi alloc] init];
-PolicyAuthorization *policyAuthorization = ; //
-
-// Request for access authorization.
-[apiInstance performAccessControlWith:policyAuthorization
- completionHandler: ^(authorization_result output, NSError* error) {
- if (output) {
- NSLog(@"%@", output);
- }
- if (error) {
- NSLog(@"Error: %@", error);
- }
-}];
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-AuthorizationAPI-performAccessControl-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
-
-// Create an instance of the API class
-var api = new A1PolicyManagementService.AuthorizationAPIApi()
-var policyAuthorization = ; // {PolicyAuthorization}
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-api.performAccessControl(policyAuthorization, callback);
-</code></pre>
- </div>
-
- <!--<div class="tab-pane" id="examples-AuthorizationAPI-performAccessControl-0-angular">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div>-->
- <div class="tab-pane" id="examples-AuthorizationAPI-performAccessControl-0-csharp">
- <pre class="prettyprint"><code class="language-cs">using System;
-using System.Diagnostics;
-using Org.OpenAPITools.Api;
-using Org.OpenAPITools.Client;
-using Org.OpenAPITools.Model;
-
-namespace Example
-{
- public class performAccessControlExample
- {
- public void main()
- {
-
- // Create an instance of the API class
- var apiInstance = new AuthorizationAPIApi();
- var policyAuthorization = new PolicyAuthorization(); // PolicyAuthorization |
-
- try {
- // Request for access authorization.
- authorization_result result = apiInstance.performAccessControl(policyAuthorization);
- Debug.WriteLine(result);
- } catch (Exception e) {
- Debug.Print("Exception when calling AuthorizationAPIApi.performAccessControl: " + e.Message );
- }
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-AuthorizationAPI-performAccessControl-0-php">
- <pre class="prettyprint"><code class="language-php"><?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-// Create an instance of the API class
-$api_instance = new OpenAPITools\Client\Api\AuthorizationAPIApi();
-$policyAuthorization = ; // PolicyAuthorization |
-
-try {
- $result = $api_instance->performAccessControl($policyAuthorization);
- print_r($result);
-} catch (Exception $e) {
- echo 'Exception when calling AuthorizationAPIApi->performAccessControl: ', $e->getMessage(), PHP_EOL;
-}
-?></code></pre>
- </div>
-
- <div class="tab-pane" id="examples-AuthorizationAPI-performAccessControl-0-perl">
- <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
-use WWW::OPenAPIClient::Configuration;
-use WWW::OPenAPIClient::AuthorizationAPIApi;
-
-# Create an instance of the API class
-my $api_instance = WWW::OPenAPIClient::AuthorizationAPIApi->new();
-my $policyAuthorization = WWW::OPenAPIClient::Object::PolicyAuthorization->new(); # PolicyAuthorization |
-
-eval {
- my $result = $api_instance->performAccessControl(policyAuthorization => $policyAuthorization);
- print Dumper($result);
-};
-if ($@) {
- warn "Exception when calling AuthorizationAPIApi->performAccessControl: $@\n";
-}</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-AuthorizationAPI-performAccessControl-0-python">
- <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
-import time
-import openapi_client
-from openapi_client.rest import ApiException
-from pprint import pprint
-
-# Create an instance of the API class
-api_instance = openapi_client.AuthorizationAPIApi()
-policyAuthorization = # PolicyAuthorization |
-
-try:
- # Request for access authorization.
- api_response = api_instance.perform_access_control(policyAuthorization)
- pprint(api_response)
-except ApiException as e:
- print("Exception when calling AuthorizationAPIApi->performAccessControl: %s\n" % e)</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-AuthorizationAPI-performAccessControl-0-rust">
- <pre class="prettyprint"><code class="language-rust">extern crate AuthorizationAPIApi;
-
-pub fn main() {
- let policyAuthorization = ; // PolicyAuthorization
-
- let mut context = AuthorizationAPIApi::Context::default();
- let result = client.performAccessControl(policyAuthorization, &context).wait();
-
- println!("{:?}", result);
-}
-</code></pre>
- </div>
- </div>
-
- <h2>Scopes</h2>
- <table>
-
- </table>
-
- <h2>Parameters</h2>
-
-
-
- <div class="methodsubtabletitle">Body parameters</div>
- <table id="methodsubtable">
- <tr>
- <th width="150px">Name</th>
- <th>Description</th>
- </tr>
- <tr><td style="width:150px;">policyAuthorization <span style="color:red;">*</span></td>
-<td>
-<p class="marked"></p>
-<script>
-$(document).ready(function() {
- var schemaWrapper = {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/policy_authorization"
- }
- }
- },
- "required" : true
-};
-
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
- }
-
- var view = new JSONSchemaView(schema,2,{isBodyParam: true});
- var result = $('#d2e199_performAccessControl_policyAuthorization');
- result.empty();
- result.append(view.render());
-});
-</script>
-<div id="d2e199_performAccessControl_policyAuthorization"></div>
-</td>
-</tr>
-
- </table>
-
-
-
- <h2>Responses</h2>
- <h3 id="examples-AuthorizationAPI-performAccessControl-title-200"></h3>
- <p id="examples-AuthorizationAPI-performAccessControl-description-200" class="marked"></p>
- <script>
- var responseAuthorizationAPI200_description = `OK`;
- var responseAuthorizationAPI200_description_break = responseAuthorizationAPI200_description.indexOf('\n');
- if (responseAuthorizationAPI200_description_break == -1) {
- $("#examples-AuthorizationAPI-performAccessControl-title-200").text("Status: 200 - " + responseAuthorizationAPI200_description);
- } else {
- $("#examples-AuthorizationAPI-performAccessControl-title-200").text("Status: 200 - " + responseAuthorizationAPI200_description.substring(0, responseAuthorizationAPI200_description_break));
- $("#examples-AuthorizationAPI-performAccessControl-description-200").html(responseAuthorizationAPI200_description.substring(responseAuthorizationAPI200_description_break));
- }
- </script>
-
-
- <ul id="responses-detail-AuthorizationAPI-performAccessControl-200" class="nav nav-tabs nav-tabs-examples" >
- <li class="active">
- <a data-toggle="tab" href="#responses-AuthorizationAPI-performAccessControl-200-schema">Schema</a>
- </li>
-
-
-
-
- </ul>
-
-
- <div class="tab-content" id="responses-AuthorizationAPI-performAccessControl-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-AuthorizationAPI-performAccessControl-200-schema">
- <div id="responses-AuthorizationAPI-performAccessControl-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
- Object.keys(schema.properties).forEach( (item) => {
- if (schema.properties[item].$ref != null) {
- schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
- }
- });
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
- }
-
- var view = new JSONSchemaView(schema, 3);
- $('#responses-AuthorizationAPI-performAccessControl-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-AuthorizationAPI-performAccessControl-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-AuthorizationAPI-performAccessControl-200-schema-data' type='hidden' value=''></input>
- </div>
- </div>
- <h3 id="examples-AuthorizationAPI-performAccessControl-title-403"></h3>
- <p id="examples-AuthorizationAPI-performAccessControl-description-403" class="marked"></p>
- <script>
- var responseAuthorizationAPI403_description = `Forbidden`;
- var responseAuthorizationAPI403_description_break = responseAuthorizationAPI403_description.indexOf('\n');
- if (responseAuthorizationAPI403_description_break == -1) {
- $("#examples-AuthorizationAPI-performAccessControl-title-403").text("Status: 403 - " + responseAuthorizationAPI403_description);
- } else {
- $("#examples-AuthorizationAPI-performAccessControl-title-403").text("Status: 403 - " + responseAuthorizationAPI403_description.substring(0, responseAuthorizationAPI403_description_break));
- $("#examples-AuthorizationAPI-performAccessControl-description-403").html(responseAuthorizationAPI403_description.substring(responseAuthorizationAPI403_description_break));
- }
- </script>
-
-
- <ul id="responses-detail-AuthorizationAPI-performAccessControl-403" class="nav nav-tabs nav-tabs-examples" >
- <li class="active">
- <a data-toggle="tab" href="#responses-AuthorizationAPI-performAccessControl-403-schema">Schema</a>
- </li>
-
-
-
-
- </ul>
-
-
- <div class="tab-content" id="responses-AuthorizationAPI-performAccessControl-403-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-AuthorizationAPI-performAccessControl-403-schema">
- <div id="responses-AuthorizationAPI-performAccessControl-schema-403" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
- Object.keys(schema.properties).forEach( (item) => {
- if (schema.properties[item].$ref != null) {
- schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
- }
- });
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
- }
-
- var view = new JSONSchemaView(schema, 3);
- $('#responses-AuthorizationAPI-performAccessControl-403-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-AuthorizationAPI-performAccessControl-schema-403');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-AuthorizationAPI-performAccessControl-403-schema-data' type='hidden' value=''></input>
- </div>
+ <input id='responses-A1PolicyManagement-putPolicy-503-schema-data' type='hidden' value=''></input>
+ </div>
</div>
</article>
</div>
@@ -9048,16 +9467,17 @@
<div class="pull-right"></div>
<div class="clearfix"></div>
<p></p>
- <p class="marked">Returns the contents of the application configuration file</p>
+ <p class="marked">Returns the contents of the application configuration</p>
<p></p>
<br />
- <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/a1-policy/v2/configuration</span></code></pre>
+ <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/configuration</span></code></pre>
<p>
<h3>Usage and SDK Samples</h3>
</p>
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="#examples-Configuration-getConfiguration-0-curl">Curl</a></li>
<li class=""><a href="#examples-Configuration-getConfiguration-0-java">Java</a></li>
+ <li class=""><a href="#examples-Configuration-getConfiguration-0-dart">Dart</a></li>
<li class=""><a href="#examples-Configuration-getConfiguration-0-android">Android</a></li>
<!--<li class=""><a href="#examples-Configuration-getConfiguration-0-groovy">Groovy</a></li>-->
<li class=""><a href="#examples-Configuration-getConfiguration-0-objc">Obj-C</a></li>
@@ -9074,7 +9494,7 @@
<div class="tab-pane active" id="examples-Configuration-getConfiguration-0-curl">
<pre class="prettyprint"><code class="language-bsh">curl -X GET \
-H "Accept: application/json,application/problem+json" \
- "http://localhost/a1-policy/v2/configuration"
+ "https://example.com/a1-policy-management/v1/configuration"
</code></pre>
</div>
<div class="tab-pane" id="examples-Configuration-getConfiguration-0-java">
@@ -9104,6 +9524,22 @@
</code></pre>
</div>
+ <div class="tab-pane" id="examples-Configuration-getConfiguration-0-dart">
+ <pre class="prettyprint"><code class="language-dart">import 'package:openapi/api.dart';
+
+final api_instance = DefaultApi();
+
+
+try {
+ final result = await api_instance.getConfiguration();
+ print(result);
+} catch (e) {
+ print('Exception when calling DefaultApi->getConfiguration: $e\n');
+}
+
+</code></pre>
+ </div>
+
<div class="tab-pane" id="examples-Configuration-getConfiguration-0-android">
<pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ConfigurationApi;
@@ -9144,10 +9580,10 @@
</div>
<div class="tab-pane" id="examples-Configuration-getConfiguration-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
+ <pre class="prettyprint"><code class="language-js">var A1PolicyManagementApi = require('a1_policy_management_api');
// Create an instance of the API class
-var api = new A1PolicyManagementService.ConfigurationApi()
+var api = new A1PolicyManagementApi.ConfigurationApi()
var callback = function(error, data, response) {
if (error) {
console.error(error);
@@ -9271,7 +9707,7 @@
<h3 id="examples-Configuration-getConfiguration-title-200"></h3>
<p id="examples-Configuration-getConfiguration-description-200" class="marked"></p>
<script>
- var responseConfiguration200_description = `OK - Configuration`;
+ var responseConfiguration200_description = `OK - Application configuration received`;
var responseConfiguration200_description_break = responseConfiguration200_description.indexOf('\n');
if (responseConfiguration200_description_break == -1) {
$("#examples-Configuration-getConfiguration-title-200").text("Status: 200 - " + responseConfiguration200_description);
@@ -9294,41 +9730,55 @@
<div class="tab-content" id="responses-Configuration-getConfiguration-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-Configuration-getConfiguration-200-schema">
- <div id="responses-Configuration-getConfiguration-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-Configuration-getConfiguration-200-schema">
+ <div id="responses-Configuration-getConfiguration-schema-200" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "OK - Application configuration received",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "type" : "string"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-Configuration-getConfiguration-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-Configuration-getConfiguration-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-Configuration-getConfiguration-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-Configuration-getConfiguration-200-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-Configuration-getConfiguration-schema-200');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-Configuration-getConfiguration-200-schema-data' type='hidden' value=''></input>
+ </div>
</div>
<h3 id="examples-Configuration-getConfiguration-title-404"></h3>
<p id="examples-Configuration-getConfiguration-description-404" class="marked"></p>
@@ -9345,12 +9795,66 @@
<ul id="responses-detail-Configuration-getConfiguration-404" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-Configuration-getConfiguration-404-schema">Schema</a>
+ </li>
+
+
</ul>
<div class="tab-content" id="responses-Configuration-getConfiguration-404-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-Configuration-getConfiguration-404-schema">
+ <div id="responses-Configuration-getConfiguration-schema-404" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-Configuration-getConfiguration-404-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-Configuration-getConfiguration-schema-404');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-Configuration-getConfiguration-404-schema-data' type='hidden' value=''></input>
+ </div>
</div>
</article>
</div>
@@ -9364,16 +9868,17 @@
<div class="pull-right"></div>
<div class="clearfix"></div>
<p></p>
- <p class="marked">Replace the current configuration with the given configuration</p>
+ <p class="marked">Replace the current configuration file with the given configuration</p>
<p></p>
<br />
- <pre class="prettyprint language-html prettyprinted" data-type="put"><code><span class="pln">/a1-policy/v2/configuration</span></code></pre>
+ <pre class="prettyprint language-html prettyprinted" data-type="put"><code><span class="pln">/configuration</span></code></pre>
<p>
<h3>Usage and SDK Samples</h3>
</p>
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="#examples-Configuration-putConfiguration-0-curl">Curl</a></li>
<li class=""><a href="#examples-Configuration-putConfiguration-0-java">Java</a></li>
+ <li class=""><a href="#examples-Configuration-putConfiguration-0-dart">Dart</a></li>
<li class=""><a href="#examples-Configuration-putConfiguration-0-android">Android</a></li>
<!--<li class=""><a href="#examples-Configuration-putConfiguration-0-groovy">Groovy</a></li>-->
<li class=""><a href="#examples-Configuration-putConfiguration-0-objc">Obj-C</a></li>
@@ -9391,7 +9896,7 @@
<pre class="prettyprint"><code class="language-bsh">curl -X PUT \
-H "Accept: */*,application/problem+json" \
-H "Content-Type: application/json" \
- "http://localhost/a1-policy/v2/configuration" \
+ "https://example.com/a1-policy-management/v1/configuration" \
-d ''
</code></pre>
</div>
@@ -9423,6 +9928,23 @@
</code></pre>
</div>
+ <div class="tab-pane" id="examples-Configuration-putConfiguration-0-dart">
+ <pre class="prettyprint"><code class="language-dart">import 'package:openapi/api.dart';
+
+final api_instance = DefaultApi();
+
+final Object body = new Object(); // Object |
+
+try {
+ final result = await api_instance.putConfiguration(body);
+ print(result);
+} catch (e) {
+ print('Exception when calling DefaultApi->putConfiguration: $e\n');
+}
+
+</code></pre>
+ </div>
+
<div class="tab-pane" id="examples-Configuration-putConfiguration-0-android">
<pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ConfigurationApi;
@@ -9465,10 +9987,10 @@
</div>
<div class="tab-pane" id="examples-Configuration-putConfiguration-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
+ <pre class="prettyprint"><code class="language-js">var A1PolicyManagementApi = require('a1_policy_management_api');
// Create an instance of the API class
-var api = new A1PolicyManagementService.ConfigurationApi()
+var api = new A1PolicyManagementApi.ConfigurationApi()
var body = Object; // {Object}
var callback = function(error, data, response) {
@@ -9603,15 +10125,15 @@
<p class="marked"></p>
<script>
$(document).ready(function() {
- var schemaWrapper = {
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object"
- }
- }
- },
- "required" : true
+ var schemaWrapper = {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ },
+ "required" : true
};
var schema = findNode('schema',schemaWrapper).schema;
@@ -9620,6 +10142,8 @@
}
if (schema.$ref != null) {
schema = defsParser.$refs.get(schema.$ref);
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
} else {
schemaWrapper.definitions = Object.assign({}, defs);
$RefParser.dereference(schemaWrapper).catch(function(err) {
@@ -9668,41 +10192,55 @@
<div class="tab-content" id="responses-Configuration-putConfiguration-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-Configuration-putConfiguration-200-schema">
- <div id="responses-Configuration-putConfiguration-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-Configuration-putConfiguration-200-schema">
+ <div id="responses-Configuration-putConfiguration-schema-200" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "OK - Configuration updated",
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/void"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-Configuration-putConfiguration-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-Configuration-putConfiguration-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-Configuration-putConfiguration-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-Configuration-putConfiguration-200-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-Configuration-putConfiguration-schema-200');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-Configuration-putConfiguration-200-schema-data' type='hidden' value=''></input>
+ </div>
</div>
<h3 id="examples-Configuration-putConfiguration-title-400"></h3>
<p id="examples-Configuration-putConfiguration-description-400" class="marked"></p>
@@ -9730,41 +10268,55 @@
<div class="tab-content" id="responses-Configuration-putConfiguration-400-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-Configuration-putConfiguration-400-schema">
- <div id="responses-Configuration-putConfiguration-schema-400" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-Configuration-putConfiguration-400-schema">
+ <div id="responses-Configuration-putConfiguration-schema-400" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Bad Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-Configuration-putConfiguration-400-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-Configuration-putConfiguration-schema-400');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-Configuration-putConfiguration-400-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-Configuration-putConfiguration-400-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-Configuration-putConfiguration-schema-400');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-Configuration-putConfiguration-400-schema-data' type='hidden' value=''></input>
+ </div>
</div>
</article>
</div>
@@ -9784,13 +10336,14 @@
<p class="marked">Returns status and statistics of this service</p>
<p></p>
<br />
- <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/a1-policy/v2/status</span></code></pre>
+ <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/status</span></code></pre>
<p>
<h3>Usage and SDK Samples</h3>
</p>
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="#examples-HealthCheck-getStatus-0-curl">Curl</a></li>
<li class=""><a href="#examples-HealthCheck-getStatus-0-java">Java</a></li>
+ <li class=""><a href="#examples-HealthCheck-getStatus-0-dart">Dart</a></li>
<li class=""><a href="#examples-HealthCheck-getStatus-0-android">Android</a></li>
<!--<li class=""><a href="#examples-HealthCheck-getStatus-0-groovy">Groovy</a></li>-->
<li class=""><a href="#examples-HealthCheck-getStatus-0-objc">Obj-C</a></li>
@@ -9807,7 +10360,7 @@
<div class="tab-pane active" id="examples-HealthCheck-getStatus-0-curl">
<pre class="prettyprint"><code class="language-bsh">curl -X GET \
-H "Accept: application/json" \
- "http://localhost/a1-policy/v2/status"
+ "https://example.com/a1-policy-management/v1/status"
</code></pre>
</div>
<div class="tab-pane" id="examples-HealthCheck-getStatus-0-java">
@@ -9826,7 +10379,7 @@
HealthCheckApi apiInstance = new HealthCheckApi();
try {
- status_info result = apiInstance.getStatus();
+ StatusInfo result = apiInstance.getStatus();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling HealthCheckApi#getStatus");
@@ -9837,6 +10390,22 @@
</code></pre>
</div>
+ <div class="tab-pane" id="examples-HealthCheck-getStatus-0-dart">
+ <pre class="prettyprint"><code class="language-dart">import 'package:openapi/api.dart';
+
+final api_instance = DefaultApi();
+
+
+try {
+ final result = await api_instance.getStatus();
+ print(result);
+} catch (e) {
+ print('Exception when calling DefaultApi->getStatus: $e\n');
+}
+
+</code></pre>
+ </div>
+
<div class="tab-pane" id="examples-HealthCheck-getStatus-0-android">
<pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.HealthCheckApi;
@@ -9845,7 +10414,7 @@
HealthCheckApi apiInstance = new HealthCheckApi();
try {
- status_info result = apiInstance.getStatus();
+ StatusInfo result = apiInstance.getStatus();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling HealthCheckApi#getStatus");
@@ -9865,7 +10434,7 @@
HealthCheckApi *apiInstance = [[HealthCheckApi alloc] init];
[apiInstance getStatusWithCompletionHandler:
- ^(status_info output, NSError* error) {
+ ^(StatusInfo output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
@@ -9877,10 +10446,10 @@
</div>
<div class="tab-pane" id="examples-HealthCheck-getStatus-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
+ <pre class="prettyprint"><code class="language-js">var A1PolicyManagementApi = require('a1_policy_management_api');
// Create an instance of the API class
-var api = new A1PolicyManagementService.HealthCheckApi()
+var api = new A1PolicyManagementApi.HealthCheckApi()
var callback = function(error, data, response) {
if (error) {
console.error(error);
@@ -9913,7 +10482,7 @@
var apiInstance = new HealthCheckApi();
try {
- status_info result = apiInstance.getStatus();
+ StatusInfo result = apiInstance.getStatus();
Debug.WriteLine(result);
} catch (Exception e) {
Debug.Print("Exception when calling HealthCheckApi.getStatus: " + e.Message );
@@ -10027,335 +10596,60 @@
<div class="tab-content" id="responses-HealthCheck-getStatus-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-HealthCheck-getStatus-200-schema">
- <div id="responses-HealthCheck-getStatus-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
- Object.keys(schema.properties).forEach( (item) => {
- if (schema.properties[item].$ref != null) {
- schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
- }
- });
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
- }
-
- var view = new JSONSchemaView(schema, 3);
- $('#responses-HealthCheck-getStatus-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-HealthCheck-getStatus-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-HealthCheck-getStatus-200-schema-data' type='hidden' value=''></input>
- </div>
- </div>
- </article>
- </div>
- <hr>
- <div id="api-HealthCheck-getStatusV1">
- <article id="api-HealthCheck-getStatusV1-0" data-group="User" data-name="getStatusV1" data-version="0">
- <div class="pull-left">
- <h1>getStatusV1</h1>
- <p></p>
- </div>
- <div class="pull-right"></div>
- <div class="clearfix"></div>
- <p></p>
- <p class="marked">Returns status and statistics of this service</p>
- <p></p>
- <br />
- <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/status</span></code></pre>
- <p>
- <h3>Usage and SDK Samples</h3>
- </p>
- <ul class="nav nav-tabs nav-tabs-examples">
- <li class="active"><a href="#examples-HealthCheck-getStatusV1-0-curl">Curl</a></li>
- <li class=""><a href="#examples-HealthCheck-getStatusV1-0-java">Java</a></li>
- <li class=""><a href="#examples-HealthCheck-getStatusV1-0-android">Android</a></li>
- <!--<li class=""><a href="#examples-HealthCheck-getStatusV1-0-groovy">Groovy</a></li>-->
- <li class=""><a href="#examples-HealthCheck-getStatusV1-0-objc">Obj-C</a></li>
- <li class=""><a href="#examples-HealthCheck-getStatusV1-0-javascript">JavaScript</a></li>
- <!--<li class=""><a href="#examples-HealthCheck-getStatusV1-0-angular">Angular</a></li>-->
- <li class=""><a href="#examples-HealthCheck-getStatusV1-0-csharp">C#</a></li>
- <li class=""><a href="#examples-HealthCheck-getStatusV1-0-php">PHP</a></li>
- <li class=""><a href="#examples-HealthCheck-getStatusV1-0-perl">Perl</a></li>
- <li class=""><a href="#examples-HealthCheck-getStatusV1-0-python">Python</a></li>
- <li class=""><a href="#examples-HealthCheck-getStatusV1-0-rust">Rust</a></li>
- </ul>
-
- <div class="tab-content">
- <div class="tab-pane active" id="examples-HealthCheck-getStatusV1-0-curl">
- <pre class="prettyprint"><code class="language-bsh">curl -X GET \
- -H "Accept: */*" \
- "http://localhost/status"
-</code></pre>
- </div>
- <div class="tab-pane" id="examples-HealthCheck-getStatusV1-0-java">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
-import org.openapitools.client.auth.*;
-import org.openapitools.client.model.*;
-import org.openapitools.client.api.HealthCheckApi;
-
-import java.io.File;
-import java.util.*;
-
-public class HealthCheckApiExample {
- public static void main(String[] args) {
-
- // Create an instance of the API class
- HealthCheckApi apiInstance = new HealthCheckApi();
-
- try {
- 'String' result = apiInstance.getStatusV1();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling HealthCheckApi#getStatusV1");
- e.printStackTrace();
+ <div class="tab-pane active" id="responses-HealthCheck-getStatus-200-schema">
+ <div id="responses-HealthCheck-getStatus-schema-200" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "OK- Service is living Ok",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/StatusInfo"
+ },
+ "examples" : {
+ "status_info" : {
+ "$ref" : "#/components/examples/StatusInfo"
}
+ }
}
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-HealthCheck-getStatusV1-0-android">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.HealthCheckApi;
-
-public class HealthCheckApiExample {
- public static void main(String[] args) {
- HealthCheckApi apiInstance = new HealthCheckApi();
-
- try {
- 'String' result = apiInstance.getStatusV1();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling HealthCheckApi#getStatusV1");
- e.printStackTrace();
- }
- }
-}</code></pre>
- </div>
- <!--
- <div class="tab-pane" id="examples-HealthCheck-getStatusV1-0-groovy">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div> -->
- <div class="tab-pane" id="examples-HealthCheck-getStatusV1-0-objc">
- <pre class="prettyprint"><code class="language-cpp">
-
-// Create an instance of the API class
-HealthCheckApi *apiInstance = [[HealthCheckApi alloc] init];
-
-[apiInstance getStatusV1WithCompletionHandler:
- ^('String' output, NSError* error) {
- if (output) {
- NSLog(@"%@", output);
- }
- if (error) {
- NSLog(@"Error: %@", error);
- }
-}];
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-HealthCheck-getStatusV1-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
-
-// Create an instance of the API class
-var api = new A1PolicyManagementService.HealthCheckApi()
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
}
};
-api.getStatusV1(callback);
-</code></pre>
- </div>
-
- <!--<div class="tab-pane" id="examples-HealthCheck-getStatusV1-0-angular">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div>-->
- <div class="tab-pane" id="examples-HealthCheck-getStatusV1-0-csharp">
- <pre class="prettyprint"><code class="language-cs">using System;
-using System.Diagnostics;
-using Org.OpenAPITools.Api;
-using Org.OpenAPITools.Client;
-using Org.OpenAPITools.Model;
-
-namespace Example
-{
- public class getStatusV1Example
- {
- public void main()
- {
-
- // Create an instance of the API class
- var apiInstance = new HealthCheckApi();
-
- try {
- 'String' result = apiInstance.getStatusV1();
- Debug.WriteLine(result);
- } catch (Exception e) {
- Debug.Print("Exception when calling HealthCheckApi.getStatusV1: " + e.Message );
- }
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-HealthCheck-getStatusV1-0-php">
- <pre class="prettyprint"><code class="language-php"><?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-// Create an instance of the API class
-$api_instance = new OpenAPITools\Client\Api\HealthCheckApi();
-
-try {
- $result = $api_instance->getStatusV1();
- print_r($result);
-} catch (Exception $e) {
- echo 'Exception when calling HealthCheckApi->getStatusV1: ', $e->getMessage(), PHP_EOL;
-}
-?></code></pre>
- </div>
-
- <div class="tab-pane" id="examples-HealthCheck-getStatusV1-0-perl">
- <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
-use WWW::OPenAPIClient::Configuration;
-use WWW::OPenAPIClient::HealthCheckApi;
-
-# Create an instance of the API class
-my $api_instance = WWW::OPenAPIClient::HealthCheckApi->new();
-
-eval {
- my $result = $api_instance->getStatusV1();
- print Dumper($result);
-};
-if ($@) {
- warn "Exception when calling HealthCheckApi->getStatusV1: $@\n";
-}</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-HealthCheck-getStatusV1-0-python">
- <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
-import time
-import openapi_client
-from openapi_client.rest import ApiException
-from pprint import pprint
-
-# Create an instance of the API class
-api_instance = openapi_client.HealthCheckApi()
-
-try:
- api_response = api_instance.get_status_v1()
- pprint(api_response)
-except ApiException as e:
- print("Exception when calling HealthCheckApi->getStatusV1: %s\n" % e)</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-HealthCheck-getStatusV1-0-rust">
- <pre class="prettyprint"><code class="language-rust">extern crate HealthCheckApi;
-
-pub fn main() {
-
- let mut context = HealthCheckApi::Context::default();
- let result = client.getStatusV1(&context).wait();
-
- println!("{:?}", result);
-}
-</code></pre>
- </div>
- </div>
-
- <h2>Scopes</h2>
- <table>
-
- </table>
-
- <h2>Parameters</h2>
-
-
-
-
-
-
- <h2>Responses</h2>
- <h3 id="examples-HealthCheck-getStatusV1-title-200"></h3>
- <p id="examples-HealthCheck-getStatusV1-description-200" class="marked"></p>
- <script>
- var responseHealthCheck200_description = `OK - Service is living`;
- var responseHealthCheck200_description_break = responseHealthCheck200_description.indexOf('\n');
- if (responseHealthCheck200_description_break == -1) {
- $("#examples-HealthCheck-getStatusV1-title-200").text("Status: 200 - " + responseHealthCheck200_description);
- } else {
- $("#examples-HealthCheck-getStatusV1-title-200").text("Status: 200 - " + responseHealthCheck200_description.substring(0, responseHealthCheck200_description_break));
- $("#examples-HealthCheck-getStatusV1-description-200").html(responseHealthCheck200_description.substring(responseHealthCheck200_description_break));
- }
- </script>
-
-
- <ul id="responses-detail-HealthCheck-getStatusV1-200" class="nav nav-tabs nav-tabs-examples" >
- <li class="active">
- <a data-toggle="tab" href="#responses-HealthCheck-getStatusV1-200-schema">Schema</a>
- </li>
-
-
-
-
- </ul>
-
-
- <div class="tab-content" id="responses-HealthCheck-getStatusV1-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-HealthCheck-getStatusV1-200-schema">
- <div id="responses-HealthCheck-getStatusV1-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-HealthCheck-getStatusV1-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-HealthCheck-getStatusV1-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-HealthCheck-getStatusV1-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-HealthCheck-getStatus-200-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-HealthCheck-getStatus-schema-200');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-HealthCheck-getStatus-200-schema-data' type='hidden' value=''></input>
+ </div>
</div>
</article>
</div>
@@ -10367,7 +10661,7 @@
<article id="api-NearRTRICRepository-getRic-0" data-group="User" data-name="getRic" data-version="0">
<div class="pull-left">
<h1>getRic</h1>
- <p>Returns info of Near-RT RIC queried by the ric-id and managed-element-id</p>
+ <p>Returns info for one Near-RT RIC</p>
</div>
<div class="pull-right"></div>
<div class="clearfix"></div>
@@ -10375,13 +10669,14 @@
<p class="marked">Either a Near-RT RIC identity or a Managed Element identity can be specified.<br>The intention with Managed Element identity is the ID used in O1 for accessing the traffical element (such as the ID of CU).</p>
<p></p>
<br />
- <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/a1-policy/v2/rics/ric</span></code></pre>
+ <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/rics/ric</span></code></pre>
<p>
<h3>Usage and SDK Samples</h3>
</p>
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="#examples-NearRTRICRepository-getRic-0-curl">Curl</a></li>
<li class=""><a href="#examples-NearRTRICRepository-getRic-0-java">Java</a></li>
+ <li class=""><a href="#examples-NearRTRICRepository-getRic-0-dart">Dart</a></li>
<li class=""><a href="#examples-NearRTRICRepository-getRic-0-android">Android</a></li>
<!--<li class=""><a href="#examples-NearRTRICRepository-getRic-0-groovy">Groovy</a></li>-->
<li class=""><a href="#examples-NearRTRICRepository-getRic-0-objc">Obj-C</a></li>
@@ -10398,7 +10693,7 @@
<div class="tab-pane active" id="examples-NearRTRICRepository-getRic-0-curl">
<pre class="prettyprint"><code class="language-bsh">curl -X GET \
-H "Accept: application/json,application/problem+json" \
- "http://localhost/a1-policy/v2/rics/ric?managed_element_id=managedElementId_example&ric_id=ricId_example"
+ "https://example.com/a1-policy-management/v1/rics/ric?managedElementId=managedElementId_example&ricId=ricId_example"
</code></pre>
</div>
<div class="tab-pane" id="examples-NearRTRICRepository-getRic-0-java">
@@ -10417,9 +10712,10 @@
NearRTRICRepositoryApi apiInstance = new NearRTRICRepositoryApi();
String managedElementId = managedElementId_example; // String | The identity of a Managed Element. If given, the Near-RT RIC managing the ME is returned.
String ricId = ricId_example; // String | The identity of a Near-RT RIC to get information for.
+ String accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
try {
- ric_info result = apiInstance.getRic(managedElementId, ricId);
+ RicInfo result = apiInstance.getRic(managedElementId, ricId, accept);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling NearRTRICRepositoryApi#getRic");
@@ -10430,6 +10726,25 @@
</code></pre>
</div>
+ <div class="tab-pane" id="examples-NearRTRICRepository-getRic-0-dart">
+ <pre class="prettyprint"><code class="language-dart">import 'package:openapi/api.dart';
+
+final api_instance = DefaultApi();
+
+final String managedElementId = new String(); // String | The identity of a Managed Element. If given, the Near-RT RIC managing the ME is returned.
+final String ricId = new String(); // String | The identity of a Near-RT RIC to get information for.
+final String accept = new String(); // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
+
+try {
+ final result = await api_instance.getRic(managedElementId, ricId, accept);
+ print(result);
+} catch (e) {
+ print('Exception when calling DefaultApi->getRic: $e\n');
+}
+
+</code></pre>
+ </div>
+
<div class="tab-pane" id="examples-NearRTRICRepository-getRic-0-android">
<pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.NearRTRICRepositoryApi;
@@ -10438,9 +10753,10 @@
NearRTRICRepositoryApi apiInstance = new NearRTRICRepositoryApi();
String managedElementId = managedElementId_example; // String | The identity of a Managed Element. If given, the Near-RT RIC managing the ME is returned.
String ricId = ricId_example; // String | The identity of a Near-RT RIC to get information for.
+ String accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
try {
- ric_info result = apiInstance.getRic(managedElementId, ricId);
+ RicInfo result = apiInstance.getRic(managedElementId, ricId, accept);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling NearRTRICRepositoryApi#getRic");
@@ -10460,11 +10776,13 @@
NearRTRICRepositoryApi *apiInstance = [[NearRTRICRepositoryApi alloc] init];
String *managedElementId = managedElementId_example; // The identity of a Managed Element. If given, the Near-RT RIC managing the ME is returned. (optional) (default to null)
String *ricId = ricId_example; // The identity of a Near-RT RIC to get information for. (optional) (default to null)
+String *accept = application/json; // Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. (optional) (default to null)
-// Returns info of Near-RT RIC queried by the ric-id and managed-element-id
+// Returns info for one Near-RT RIC
[apiInstance getRicWith:managedElementId
ricId:ricId
- completionHandler: ^(ric_info output, NSError* error) {
+ accept:accept
+ completionHandler: ^(RicInfo output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
@@ -10476,13 +10794,14 @@
</div>
<div class="tab-pane" id="examples-NearRTRICRepository-getRic-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
+ <pre class="prettyprint"><code class="language-js">var A1PolicyManagementApi = require('a1_policy_management_api');
// Create an instance of the API class
-var api = new A1PolicyManagementService.NearRTRICRepositoryApi()
+var api = new A1PolicyManagementApi.NearRTRICRepositoryApi()
var opts = {
'managedElementId': managedElementId_example, // {String} The identity of a Managed Element. If given, the Near-RT RIC managing the ME is returned.
- 'ricId': ricId_example // {String} The identity of a Near-RT RIC to get information for.
+ 'ricId': ricId_example, // {String} The identity of a Near-RT RIC to get information for.
+ 'accept': application/json // {String} Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
};
var callback = function(error, data, response) {
@@ -10517,10 +10836,11 @@
var apiInstance = new NearRTRICRepositoryApi();
var managedElementId = managedElementId_example; // String | The identity of a Managed Element. If given, the Near-RT RIC managing the ME is returned. (optional) (default to null)
var ricId = ricId_example; // String | The identity of a Near-RT RIC to get information for. (optional) (default to null)
+ var accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. (optional) (default to null)
try {
- // Returns info of Near-RT RIC queried by the ric-id and managed-element-id
- ric_info result = apiInstance.getRic(managedElementId, ricId);
+ // Returns info for one Near-RT RIC
+ RicInfo result = apiInstance.getRic(managedElementId, ricId, accept);
Debug.WriteLine(result);
} catch (Exception e) {
Debug.Print("Exception when calling NearRTRICRepositoryApi.getRic: " + e.Message );
@@ -10539,9 +10859,10 @@
$api_instance = new OpenAPITools\Client\Api\NearRTRICRepositoryApi();
$managedElementId = managedElementId_example; // String | The identity of a Managed Element. If given, the Near-RT RIC managing the ME is returned.
$ricId = ricId_example; // String | The identity of a Near-RT RIC to get information for.
+$accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
try {
- $result = $api_instance->getRic($managedElementId, $ricId);
+ $result = $api_instance->getRic($managedElementId, $ricId, $accept);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling NearRTRICRepositoryApi->getRic: ', $e->getMessage(), PHP_EOL;
@@ -10558,9 +10879,10 @@
my $api_instance = WWW::OPenAPIClient::NearRTRICRepositoryApi->new();
my $managedElementId = managedElementId_example; # String | The identity of a Managed Element. If given, the Near-RT RIC managing the ME is returned.
my $ricId = ricId_example; # String | The identity of a Near-RT RIC to get information for.
+my $accept = application/json; # String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
eval {
- my $result = $api_instance->getRic(managedElementId => $managedElementId, ricId => $ricId);
+ my $result = $api_instance->getRic(managedElementId => $managedElementId, ricId => $ricId, accept => $accept);
print Dumper($result);
};
if ($@) {
@@ -10579,10 +10901,11 @@
api_instance = openapi_client.NearRTRICRepositoryApi()
managedElementId = managedElementId_example # String | The identity of a Managed Element. If given, the Near-RT RIC managing the ME is returned. (optional) (default to null)
ricId = ricId_example # String | The identity of a Near-RT RIC to get information for. (optional) (default to null)
+accept = application/json # String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. (optional) (default to null)
try:
- # Returns info of Near-RT RIC queried by the ric-id and managed-element-id
- api_response = api_instance.get_ric(managedElementId=managedElementId, ricId=ricId)
+ # Returns info for one Near-RT RIC
+ api_response = api_instance.get_ric(managedElementId=managedElementId, ricId=ricId, accept=accept)
pprint(api_response)
except ApiException as e:
print("Exception when calling NearRTRICRepositoryApi->getRic: %s\n" % e)</code></pre>
@@ -10594,9 +10917,10 @@
pub fn main() {
let managedElementId = managedElementId_example; // String
let ricId = ricId_example; // String
+ let accept = application/json; // String
let mut context = NearRTRICRepositoryApi::Context::default();
- let result = client.getRic(managedElementId, ricId, &context).wait();
+ let result = client.getRic(managedElementId, ricId, accept, &context).wait();
println!("{:?}", result);
}
@@ -10612,6 +10936,33 @@
<h2>Parameters</h2>
+ <div class="methodsubtabletitle">Header parameters</div>
+ <table id="methodsubtable">
+ <tr>
+ <th width="150px">Name</th>
+ <th>Description</th>
+ </tr>
+ <tr><td style="width:150px;">Accept</td>
+<td>
+
+
+ <div id="d2e199_getRic_accept">
+ <div class="json-schema-view">
+ <div class="primitive">
+ <span class="type">
+ String
+ </span>
+
+ <div class="inner description marked">
+Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
+ </div>
+ </div>
+ </div>
+ </div>
+</td>
+</tr>
+
+ </table>
@@ -10621,7 +10972,7 @@
<th width="150px">Name</th>
<th>Description</th>
</tr>
- <tr><td style="width:150px;">managed_element_id</td>
+ <tr><td style="width:150px;">managedElementId</td>
<td>
@@ -10641,7 +10992,7 @@
</td>
</tr>
- <tr><td style="width:150px;">ric_id</td>
+ <tr><td style="width:150px;">ricId</td>
<td>
@@ -10667,7 +11018,7 @@
<h3 id="examples-NearRTRICRepository-getRic-title-200"></h3>
<p id="examples-NearRTRICRepository-getRic-description-200" class="marked"></p>
<script>
- var responseNearRTRICRepository200_description = `OK - Near-RT RIC is found`;
+ var responseNearRTRICRepository200_description = `OK - Near-RT RIC is found OK`;
var responseNearRTRICRepository200_description_break = responseNearRTRICRepository200_description.indexOf('\n');
if (responseNearRTRICRepository200_description_break == -1) {
$("#examples-NearRTRICRepository-getRic-title-200").text("Status: 200 - " + responseNearRTRICRepository200_description);
@@ -10690,41 +11041,60 @@
<div class="tab-content" id="responses-NearRTRICRepository-getRic-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-NearRTRICRepository-getRic-200-schema">
- <div id="responses-NearRTRICRepository-getRic-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-NearRTRICRepository-getRic-200-schema">
+ <div id="responses-NearRTRICRepository-getRic-schema-200" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "OK - Near-RT RIC is found OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/RicInfo"
+ },
+ "examples" : {
+ "ric_info" : {
+ "$ref" : "#/components/examples/RicInfo"
+ }
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-NearRTRICRepository-getRic-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-NearRTRICRepository-getRic-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-NearRTRICRepository-getRic-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-NearRTRICRepository-getRic-200-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-NearRTRICRepository-getRic-schema-200');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-NearRTRICRepository-getRic-200-schema-data' type='hidden' value=''></input>
+ </div>
</div>
<h3 id="examples-NearRTRICRepository-getRic-title-404"></h3>
<p id="examples-NearRTRICRepository-getRic-description-404" class="marked"></p>
@@ -10741,12 +11111,66 @@
<ul id="responses-detail-NearRTRICRepository-getRic-404" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-NearRTRICRepository-getRic-404-schema">Schema</a>
+ </li>
+
+
</ul>
<div class="tab-content" id="responses-NearRTRICRepository-getRic-404-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-NearRTRICRepository-getRic-404-schema">
+ <div id="responses-NearRTRICRepository-getRic-schema-404" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-NearRTRICRepository-getRic-404-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-NearRTRICRepository-getRic-schema-404');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-NearRTRICRepository-getRic-404-schema-data' type='hidden' value=''></input>
+ </div>
</div>
</article>
</div>
@@ -10763,13 +11187,14 @@
<p class="marked">The call returns all Near-RT RICs that supports a given policy type identity</p>
<p></p>
<br />
- <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/a1-policy/v2/rics</span></code></pre>
+ <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/rics</span></code></pre>
<p>
<h3>Usage and SDK Samples</h3>
</p>
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="#examples-NearRTRICRepository-getRics-0-curl">Curl</a></li>
<li class=""><a href="#examples-NearRTRICRepository-getRics-0-java">Java</a></li>
+ <li class=""><a href="#examples-NearRTRICRepository-getRics-0-dart">Dart</a></li>
<li class=""><a href="#examples-NearRTRICRepository-getRics-0-android">Android</a></li>
<!--<li class=""><a href="#examples-NearRTRICRepository-getRics-0-groovy">Groovy</a></li>-->
<li class=""><a href="#examples-NearRTRICRepository-getRics-0-objc">Obj-C</a></li>
@@ -10786,7 +11211,7 @@
<div class="tab-pane active" id="examples-NearRTRICRepository-getRics-0-curl">
<pre class="prettyprint"><code class="language-bsh">curl -X GET \
-H "Accept: application/json,application/problem+json" \
- "http://localhost/a1-policy/v2/rics?policytype_id=policytypeId_example"
+ "https://example.com/a1-policy-management/v1/rics?policyTypeId=policyTypeId_example"
</code></pre>
</div>
<div class="tab-pane" id="examples-NearRTRICRepository-getRics-0-java">
@@ -10803,10 +11228,11 @@
// Create an instance of the API class
NearRTRICRepositoryApi apiInstance = new NearRTRICRepositoryApi();
- String policytypeId = policytypeId_example; // String | The identity of a policy type. If given, all Near-RT RICs supporting the policy type are returned
+ String policyTypeId = policyTypeId_example; // String | The identity of a policy type. If given, all Near-RT RICs supporting the policy type are returned
+ String accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
try {
- ric_info_list result = apiInstance.getRics(policytypeId);
+ RicInfoList result = apiInstance.getRics(policyTypeId, accept);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling NearRTRICRepositoryApi#getRics");
@@ -10817,16 +11243,35 @@
</code></pre>
</div>
+ <div class="tab-pane" id="examples-NearRTRICRepository-getRics-0-dart">
+ <pre class="prettyprint"><code class="language-dart">import 'package:openapi/api.dart';
+
+final api_instance = DefaultApi();
+
+final String policyTypeId = new String(); // String | The identity of a policy type. If given, all Near-RT RICs supporting the policy type are returned
+final String accept = new String(); // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
+
+try {
+ final result = await api_instance.getRics(policyTypeId, accept);
+ print(result);
+} catch (e) {
+ print('Exception when calling DefaultApi->getRics: $e\n');
+}
+
+</code></pre>
+ </div>
+
<div class="tab-pane" id="examples-NearRTRICRepository-getRics-0-android">
<pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.NearRTRICRepositoryApi;
public class NearRTRICRepositoryApiExample {
public static void main(String[] args) {
NearRTRICRepositoryApi apiInstance = new NearRTRICRepositoryApi();
- String policytypeId = policytypeId_example; // String | The identity of a policy type. If given, all Near-RT RICs supporting the policy type are returned
+ String policyTypeId = policyTypeId_example; // String | The identity of a policy type. If given, all Near-RT RICs supporting the policy type are returned
+ String accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
try {
- ric_info_list result = apiInstance.getRics(policytypeId);
+ RicInfoList result = apiInstance.getRics(policyTypeId, accept);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling NearRTRICRepositoryApi#getRics");
@@ -10844,11 +11289,13 @@
// Create an instance of the API class
NearRTRICRepositoryApi *apiInstance = [[NearRTRICRepositoryApi alloc] init];
-String *policytypeId = policytypeId_example; // The identity of a policy type. If given, all Near-RT RICs supporting the policy type are returned (optional) (default to null)
+String *policyTypeId = policyTypeId_example; // The identity of a policy type. If given, all Near-RT RICs supporting the policy type are returned (optional) (default to null)
+String *accept = application/json; // Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. (optional) (default to null)
// Query Near-RT RIC information
-[apiInstance getRicsWith:policytypeId
- completionHandler: ^(ric_info_list output, NSError* error) {
+[apiInstance getRicsWith:policyTypeId
+ accept:accept
+ completionHandler: ^(RicInfoList output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
@@ -10860,12 +11307,13 @@
</div>
<div class="tab-pane" id="examples-NearRTRICRepository-getRics-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
+ <pre class="prettyprint"><code class="language-js">var A1PolicyManagementApi = require('a1_policy_management_api');
// Create an instance of the API class
-var api = new A1PolicyManagementService.NearRTRICRepositoryApi()
+var api = new A1PolicyManagementApi.NearRTRICRepositoryApi()
var opts = {
- 'policytypeId': policytypeId_example // {String} The identity of a policy type. If given, all Near-RT RICs supporting the policy type are returned
+ 'policyTypeId': policyTypeId_example, // {String} The identity of a policy type. If given, all Near-RT RICs supporting the policy type are returned
+ 'accept': application/json // {String} Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
};
var callback = function(error, data, response) {
@@ -10898,11 +11346,12 @@
// Create an instance of the API class
var apiInstance = new NearRTRICRepositoryApi();
- var policytypeId = policytypeId_example; // String | The identity of a policy type. If given, all Near-RT RICs supporting the policy type are returned (optional) (default to null)
+ var policyTypeId = policyTypeId_example; // String | The identity of a policy type. If given, all Near-RT RICs supporting the policy type are returned (optional) (default to null)
+ var accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. (optional) (default to null)
try {
// Query Near-RT RIC information
- ric_info_list result = apiInstance.getRics(policytypeId);
+ RicInfoList result = apiInstance.getRics(policyTypeId, accept);
Debug.WriteLine(result);
} catch (Exception e) {
Debug.Print("Exception when calling NearRTRICRepositoryApi.getRics: " + e.Message );
@@ -10919,10 +11368,11 @@
// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\NearRTRICRepositoryApi();
-$policytypeId = policytypeId_example; // String | The identity of a policy type. If given, all Near-RT RICs supporting the policy type are returned
+$policyTypeId = policyTypeId_example; // String | The identity of a policy type. If given, all Near-RT RICs supporting the policy type are returned
+$accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
try {
- $result = $api_instance->getRics($policytypeId);
+ $result = $api_instance->getRics($policyTypeId, $accept);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling NearRTRICRepositoryApi->getRics: ', $e->getMessage(), PHP_EOL;
@@ -10937,10 +11387,11 @@
# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::NearRTRICRepositoryApi->new();
-my $policytypeId = policytypeId_example; # String | The identity of a policy type. If given, all Near-RT RICs supporting the policy type are returned
+my $policyTypeId = policyTypeId_example; # String | The identity of a policy type. If given, all Near-RT RICs supporting the policy type are returned
+my $accept = application/json; # String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
eval {
- my $result = $api_instance->getRics(policytypeId => $policytypeId);
+ my $result = $api_instance->getRics(policyTypeId => $policyTypeId, accept => $accept);
print Dumper($result);
};
if ($@) {
@@ -10957,11 +11408,12 @@
# Create an instance of the API class
api_instance = openapi_client.NearRTRICRepositoryApi()
-policytypeId = policytypeId_example # String | The identity of a policy type. If given, all Near-RT RICs supporting the policy type are returned (optional) (default to null)
+policyTypeId = policyTypeId_example # String | The identity of a policy type. If given, all Near-RT RICs supporting the policy type are returned (optional) (default to null)
+accept = application/json # String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. (optional) (default to null)
try:
# Query Near-RT RIC information
- api_response = api_instance.get_rics(policytypeId=policytypeId)
+ api_response = api_instance.get_rics(policyTypeId=policyTypeId, accept=accept)
pprint(api_response)
except ApiException as e:
print("Exception when calling NearRTRICRepositoryApi->getRics: %s\n" % e)</code></pre>
@@ -10971,10 +11423,11 @@
<pre class="prettyprint"><code class="language-rust">extern crate NearRTRICRepositoryApi;
pub fn main() {
- let policytypeId = policytypeId_example; // String
+ let policyTypeId = policyTypeId_example; // String
+ let accept = application/json; // String
let mut context = NearRTRICRepositoryApi::Context::default();
- let result = client.getRics(policytypeId, &context).wait();
+ let result = client.getRics(policyTypeId, accept, &context).wait();
println!("{:?}", result);
}
@@ -10990,6 +11443,33 @@
<h2>Parameters</h2>
+ <div class="methodsubtabletitle">Header parameters</div>
+ <table id="methodsubtable">
+ <tr>
+ <th width="150px">Name</th>
+ <th>Description</th>
+ </tr>
+ <tr><td style="width:150px;">Accept</td>
+<td>
+
+
+ <div id="d2e199_getRics_accept">
+ <div class="json-schema-view">
+ <div class="primitive">
+ <span class="type">
+ String
+ </span>
+
+ <div class="inner description marked">
+Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
+ </div>
+ </div>
+ </div>
+ </div>
+</td>
+</tr>
+
+ </table>
@@ -10999,11 +11479,11 @@
<th width="150px">Name</th>
<th>Description</th>
</tr>
- <tr><td style="width:150px;">policytype_id</td>
+ <tr><td style="width:150px;">policyTypeId</td>
<td>
- <div id="d2e199_getRics_policytypeId">
+ <div id="d2e199_getRics_policyTypeId">
<div class="json-schema-view">
<div class="primitive">
<span class="type">
@@ -11048,41 +11528,60 @@
<div class="tab-content" id="responses-NearRTRICRepository-getRics-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-NearRTRICRepository-getRics-200-schema">
- <div id="responses-NearRTRICRepository-getRics-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-NearRTRICRepository-getRics-200-schema">
+ <div id="responses-NearRTRICRepository-getRics-schema-200" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/RicInfoList"
+ },
+ "examples" : {
+ "ric_info_list" : {
+ "$ref" : "#/components/examples/RicInfoList"
+ }
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-NearRTRICRepository-getRics-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-NearRTRICRepository-getRics-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-NearRTRICRepository-getRics-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-NearRTRICRepository-getRics-200-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-NearRTRICRepository-getRics-schema-200');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-NearRTRICRepository-getRics-200-schema-data' type='hidden' value=''></input>
+ </div>
</div>
<h3 id="examples-NearRTRICRepository-getRics-title-404"></h3>
<p id="examples-NearRTRICRepository-getRics-description-404" class="marked"></p>
@@ -11099,12 +11598,66 @@
<ul id="responses-detail-NearRTRICRepository-getRics-404" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-NearRTRICRepository-getRics-404-schema">Schema</a>
+ </li>
+
+
</ul>
<div class="tab-content" id="responses-NearRTRICRepository-getRics-404-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-NearRTRICRepository-getRics-404-schema">
+ <div id="responses-NearRTRICRepository-getRics-schema-404" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-NearRTRICRepository-getRics-404-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-NearRTRICRepository-getRics-schema-404');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-NearRTRICRepository-getRics-404-schema-data' type='hidden' value=''></input>
+ </div>
</div>
</article>
</div>
@@ -11124,13 +11677,14 @@
<p class="marked">Unregister a service</p>
<p></p>
<br />
- <pre class="prettyprint language-html prettyprinted" data-type="delete"><code><span class="pln">/a1-policy/v2/services/{service_id}</span></code></pre>
+ <pre class="prettyprint language-html prettyprinted" data-type="delete"><code><span class="pln">/services/{serviceId}</span></code></pre>
<p>
<h3>Usage and SDK Samples</h3>
</p>
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="#examples-ServiceRegistryAndSupervision-deleteService-0-curl">Curl</a></li>
<li class=""><a href="#examples-ServiceRegistryAndSupervision-deleteService-0-java">Java</a></li>
+ <li class=""><a href="#examples-ServiceRegistryAndSupervision-deleteService-0-dart">Dart</a></li>
<li class=""><a href="#examples-ServiceRegistryAndSupervision-deleteService-0-android">Android</a></li>
<!--<li class=""><a href="#examples-ServiceRegistryAndSupervision-deleteService-0-groovy">Groovy</a></li>-->
<li class=""><a href="#examples-ServiceRegistryAndSupervision-deleteService-0-objc">Obj-C</a></li>
@@ -11147,7 +11701,7 @@
<div class="tab-pane active" id="examples-ServiceRegistryAndSupervision-deleteService-0-curl">
<pre class="prettyprint"><code class="language-bsh">curl -X DELETE \
-H "Accept: */*,application/problem+json" \
- "http://localhost/a1-policy/v2/services/{service_id}"
+ "https://example.com/a1-policy-management/v1/services/{serviceId}"
</code></pre>
</div>
<div class="tab-pane" id="examples-ServiceRegistryAndSupervision-deleteService-0-java">
@@ -11165,9 +11719,10 @@
// Create an instance of the API class
ServiceRegistryAndSupervisionApi apiInstance = new ServiceRegistryAndSupervisionApi();
String serviceId = serviceId_example; // String |
+ String accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
try {
- Object result = apiInstance.deleteService(serviceId);
+ Object result = apiInstance.deleteService(serviceId, accept);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ServiceRegistryAndSupervisionApi#deleteService");
@@ -11178,6 +11733,24 @@
</code></pre>
</div>
+ <div class="tab-pane" id="examples-ServiceRegistryAndSupervision-deleteService-0-dart">
+ <pre class="prettyprint"><code class="language-dart">import 'package:openapi/api.dart';
+
+final api_instance = DefaultApi();
+
+final String serviceId = new String(); // String |
+final String accept = new String(); // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
+
+try {
+ final result = await api_instance.deleteService(serviceId, accept);
+ print(result);
+} catch (e) {
+ print('Exception when calling DefaultApi->deleteService: $e\n');
+}
+
+</code></pre>
+ </div>
+
<div class="tab-pane" id="examples-ServiceRegistryAndSupervision-deleteService-0-android">
<pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ServiceRegistryAndSupervisionApi;
@@ -11185,9 +11758,10 @@
public static void main(String[] args) {
ServiceRegistryAndSupervisionApi apiInstance = new ServiceRegistryAndSupervisionApi();
String serviceId = serviceId_example; // String |
+ String accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
try {
- Object result = apiInstance.deleteService(serviceId);
+ Object result = apiInstance.deleteService(serviceId, accept);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ServiceRegistryAndSupervisionApi#deleteService");
@@ -11206,8 +11780,10 @@
// Create an instance of the API class
ServiceRegistryAndSupervisionApi *apiInstance = [[ServiceRegistryAndSupervisionApi alloc] init];
String *serviceId = serviceId_example; // (default to null)
+String *accept = application/json; // Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. (optional) (default to null)
[apiInstance deleteServiceWith:serviceId
+ accept:accept
completionHandler: ^(Object output, NSError* error) {
if (output) {
NSLog(@"%@", output);
@@ -11220,11 +11796,14 @@
</div>
<div class="tab-pane" id="examples-ServiceRegistryAndSupervision-deleteService-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
+ <pre class="prettyprint"><code class="language-js">var A1PolicyManagementApi = require('a1_policy_management_api');
// Create an instance of the API class
-var api = new A1PolicyManagementService.ServiceRegistryAndSupervisionApi()
+var api = new A1PolicyManagementApi.ServiceRegistryAndSupervisionApi()
var serviceId = serviceId_example; // {String}
+var opts = {
+ 'accept': application/json // {String} Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
+};
var callback = function(error, data, response) {
if (error) {
@@ -11233,7 +11812,7 @@
console.log('API called successfully. Returned data: ' + data);
}
};
-api.deleteService(serviceId, callback);
+api.deleteService(serviceId, opts, callback);
</code></pre>
</div>
@@ -11257,9 +11836,10 @@
// Create an instance of the API class
var apiInstance = new ServiceRegistryAndSupervisionApi();
var serviceId = serviceId_example; // String | (default to null)
+ var accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. (optional) (default to null)
try {
- Object result = apiInstance.deleteService(serviceId);
+ Object result = apiInstance.deleteService(serviceId, accept);
Debug.WriteLine(result);
} catch (Exception e) {
Debug.Print("Exception when calling ServiceRegistryAndSupervisionApi.deleteService: " + e.Message );
@@ -11277,9 +11857,10 @@
// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\ServiceRegistryAndSupervisionApi();
$serviceId = serviceId_example; // String |
+$accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
try {
- $result = $api_instance->deleteService($serviceId);
+ $result = $api_instance->deleteService($serviceId, $accept);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ServiceRegistryAndSupervisionApi->deleteService: ', $e->getMessage(), PHP_EOL;
@@ -11295,9 +11876,10 @@
# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::ServiceRegistryAndSupervisionApi->new();
my $serviceId = serviceId_example; # String |
+my $accept = application/json; # String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
eval {
- my $result = $api_instance->deleteService(serviceId => $serviceId);
+ my $result = $api_instance->deleteService(serviceId => $serviceId, accept => $accept);
print Dumper($result);
};
if ($@) {
@@ -11315,9 +11897,10 @@
# Create an instance of the API class
api_instance = openapi_client.ServiceRegistryAndSupervisionApi()
serviceId = serviceId_example # String | (default to null)
+accept = application/json # String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. (optional) (default to null)
try:
- api_response = api_instance.delete_service(serviceId)
+ api_response = api_instance.delete_service(serviceId, accept=accept)
pprint(api_response)
except ApiException as e:
print("Exception when calling ServiceRegistryAndSupervisionApi->deleteService: %s\n" % e)</code></pre>
@@ -11328,9 +11911,10 @@
pub fn main() {
let serviceId = serviceId_example; // String
+ let accept = application/json; // String
let mut context = ServiceRegistryAndSupervisionApi::Context::default();
- let result = client.deleteService(serviceId, &context).wait();
+ let result = client.deleteService(serviceId, accept, &context).wait();
println!("{:?}", result);
}
@@ -11351,7 +11935,7 @@
<th width="150px">Name</th>
<th>Description</th>
</tr>
- <tr><td style="width:150px;">service_id*</td>
+ <tr><td style="width:150px;">serviceId*</td>
<td>
@@ -11373,6 +11957,33 @@
</table>
+ <div class="methodsubtabletitle">Header parameters</div>
+ <table id="methodsubtable">
+ <tr>
+ <th width="150px">Name</th>
+ <th>Description</th>
+ </tr>
+ <tr><td style="width:150px;">Accept</td>
+<td>
+
+
+ <div id="d2e199_deleteService_accept">
+ <div class="json-schema-view">
+ <div class="primitive">
+ <span class="type">
+ String
+ </span>
+
+ <div class="inner description marked">
+Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
+ </div>
+ </div>
+ </div>
+ </div>
+</td>
+</tr>
+
+ </table>
@@ -11404,41 +12015,55 @@
<div class="tab-content" id="responses-ServiceRegistryAndSupervision-deleteService-204-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-ServiceRegistryAndSupervision-deleteService-204-schema">
- <div id="responses-ServiceRegistryAndSupervision-deleteService-schema-204" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-ServiceRegistryAndSupervision-deleteService-204-schema">
+ <div id="responses-ServiceRegistryAndSupervision-deleteService-schema-204" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "No Content - Service unregistered",
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-ServiceRegistryAndSupervision-deleteService-204-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-ServiceRegistryAndSupervision-deleteService-schema-204');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-ServiceRegistryAndSupervision-deleteService-204-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-ServiceRegistryAndSupervision-deleteService-204-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-ServiceRegistryAndSupervision-deleteService-schema-204');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-ServiceRegistryAndSupervision-deleteService-204-schema-data' type='hidden' value=''></input>
+ </div>
</div>
<h3 id="examples-ServiceRegistryAndSupervision-deleteService-title-404"></h3>
<p id="examples-ServiceRegistryAndSupervision-deleteService-description-404" class="marked"></p>
@@ -11455,12 +12080,66 @@
<ul id="responses-detail-ServiceRegistryAndSupervision-deleteService-404" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-ServiceRegistryAndSupervision-deleteService-404-schema">Schema</a>
+ </li>
+
+
</ul>
<div class="tab-content" id="responses-ServiceRegistryAndSupervision-deleteService-404-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-ServiceRegistryAndSupervision-deleteService-404-schema">
+ <div id="responses-ServiceRegistryAndSupervision-deleteService-schema-404" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-ServiceRegistryAndSupervision-deleteService-404-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-ServiceRegistryAndSupervision-deleteService-schema-404');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-ServiceRegistryAndSupervision-deleteService-404-schema-data' type='hidden' value=''></input>
+ </div>
</div>
</article>
</div>
@@ -11477,13 +12156,14 @@
<p class="marked">Either information about a registered service with given identity or all registered services are returned.</p>
<p></p>
<br />
- <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/a1-policy/v2/services</span></code></pre>
+ <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/services</span></code></pre>
<p>
<h3>Usage and SDK Samples</h3>
</p>
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="#examples-ServiceRegistryAndSupervision-getServices-0-curl">Curl</a></li>
<li class=""><a href="#examples-ServiceRegistryAndSupervision-getServices-0-java">Java</a></li>
+ <li class=""><a href="#examples-ServiceRegistryAndSupervision-getServices-0-dart">Dart</a></li>
<li class=""><a href="#examples-ServiceRegistryAndSupervision-getServices-0-android">Android</a></li>
<!--<li class=""><a href="#examples-ServiceRegistryAndSupervision-getServices-0-groovy">Groovy</a></li>-->
<li class=""><a href="#examples-ServiceRegistryAndSupervision-getServices-0-objc">Obj-C</a></li>
@@ -11500,7 +12180,7 @@
<div class="tab-pane active" id="examples-ServiceRegistryAndSupervision-getServices-0-curl">
<pre class="prettyprint"><code class="language-bsh">curl -X GET \
-H "Accept: application/json,application/problem+json" \
- "http://localhost/a1-policy/v2/services?service_id=serviceId_example"
+ "https://example.com/a1-policy-management/v1/services?serviceId=serviceId_example"
</code></pre>
</div>
<div class="tab-pane" id="examples-ServiceRegistryAndSupervision-getServices-0-java">
@@ -11518,9 +12198,10 @@
// Create an instance of the API class
ServiceRegistryAndSupervisionApi apiInstance = new ServiceRegistryAndSupervisionApi();
String serviceId = serviceId_example; // String | The identity of the service
+ String accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
try {
- service_status_list result = apiInstance.getServices(serviceId);
+ ServiceStatusList result = apiInstance.getServices(serviceId, accept);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ServiceRegistryAndSupervisionApi#getServices");
@@ -11531,6 +12212,24 @@
</code></pre>
</div>
+ <div class="tab-pane" id="examples-ServiceRegistryAndSupervision-getServices-0-dart">
+ <pre class="prettyprint"><code class="language-dart">import 'package:openapi/api.dart';
+
+final api_instance = DefaultApi();
+
+final String serviceId = new String(); // String | The identity of the service
+final String accept = new String(); // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
+
+try {
+ final result = await api_instance.getServices(serviceId, accept);
+ print(result);
+} catch (e) {
+ print('Exception when calling DefaultApi->getServices: $e\n');
+}
+
+</code></pre>
+ </div>
+
<div class="tab-pane" id="examples-ServiceRegistryAndSupervision-getServices-0-android">
<pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ServiceRegistryAndSupervisionApi;
@@ -11538,9 +12237,10 @@
public static void main(String[] args) {
ServiceRegistryAndSupervisionApi apiInstance = new ServiceRegistryAndSupervisionApi();
String serviceId = serviceId_example; // String | The identity of the service
+ String accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
try {
- service_status_list result = apiInstance.getServices(serviceId);
+ ServiceStatusList result = apiInstance.getServices(serviceId, accept);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ServiceRegistryAndSupervisionApi#getServices");
@@ -11559,10 +12259,12 @@
// Create an instance of the API class
ServiceRegistryAndSupervisionApi *apiInstance = [[ServiceRegistryAndSupervisionApi alloc] init];
String *serviceId = serviceId_example; // The identity of the service (optional) (default to null)
+String *accept = application/json; // Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. (optional) (default to null)
// Returns service information
[apiInstance getServicesWith:serviceId
- completionHandler: ^(service_status_list output, NSError* error) {
+ accept:accept
+ completionHandler: ^(ServiceStatusList output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
@@ -11574,12 +12276,13 @@
</div>
<div class="tab-pane" id="examples-ServiceRegistryAndSupervision-getServices-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
+ <pre class="prettyprint"><code class="language-js">var A1PolicyManagementApi = require('a1_policy_management_api');
// Create an instance of the API class
-var api = new A1PolicyManagementService.ServiceRegistryAndSupervisionApi()
+var api = new A1PolicyManagementApi.ServiceRegistryAndSupervisionApi()
var opts = {
- 'serviceId': serviceId_example // {String} The identity of the service
+ 'serviceId': serviceId_example, // {String} The identity of the service
+ 'accept': application/json // {String} Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
};
var callback = function(error, data, response) {
@@ -11613,10 +12316,11 @@
// Create an instance of the API class
var apiInstance = new ServiceRegistryAndSupervisionApi();
var serviceId = serviceId_example; // String | The identity of the service (optional) (default to null)
+ var accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. (optional) (default to null)
try {
// Returns service information
- service_status_list result = apiInstance.getServices(serviceId);
+ ServiceStatusList result = apiInstance.getServices(serviceId, accept);
Debug.WriteLine(result);
} catch (Exception e) {
Debug.Print("Exception when calling ServiceRegistryAndSupervisionApi.getServices: " + e.Message );
@@ -11634,9 +12338,10 @@
// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\ServiceRegistryAndSupervisionApi();
$serviceId = serviceId_example; // String | The identity of the service
+$accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
try {
- $result = $api_instance->getServices($serviceId);
+ $result = $api_instance->getServices($serviceId, $accept);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ServiceRegistryAndSupervisionApi->getServices: ', $e->getMessage(), PHP_EOL;
@@ -11652,9 +12357,10 @@
# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::ServiceRegistryAndSupervisionApi->new();
my $serviceId = serviceId_example; # String | The identity of the service
+my $accept = application/json; # String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
eval {
- my $result = $api_instance->getServices(serviceId => $serviceId);
+ my $result = $api_instance->getServices(serviceId => $serviceId, accept => $accept);
print Dumper($result);
};
if ($@) {
@@ -11672,10 +12378,11 @@
# Create an instance of the API class
api_instance = openapi_client.ServiceRegistryAndSupervisionApi()
serviceId = serviceId_example # String | The identity of the service (optional) (default to null)
+accept = application/json # String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. (optional) (default to null)
try:
# Returns service information
- api_response = api_instance.get_services(serviceId=serviceId)
+ api_response = api_instance.get_services(serviceId=serviceId, accept=accept)
pprint(api_response)
except ApiException as e:
print("Exception when calling ServiceRegistryAndSupervisionApi->getServices: %s\n" % e)</code></pre>
@@ -11686,9 +12393,10 @@
pub fn main() {
let serviceId = serviceId_example; // String
+ let accept = application/json; // String
let mut context = ServiceRegistryAndSupervisionApi::Context::default();
- let result = client.getServices(serviceId, &context).wait();
+ let result = client.getServices(serviceId, accept, &context).wait();
println!("{:?}", result);
}
@@ -11704,6 +12412,33 @@
<h2>Parameters</h2>
+ <div class="methodsubtabletitle">Header parameters</div>
+ <table id="methodsubtable">
+ <tr>
+ <th width="150px">Name</th>
+ <th>Description</th>
+ </tr>
+ <tr><td style="width:150px;">Accept</td>
+<td>
+
+
+ <div id="d2e199_getServices_accept">
+ <div class="json-schema-view">
+ <div class="primitive">
+ <span class="type">
+ String
+ </span>
+
+ <div class="inner description marked">
+Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
+ </div>
+ </div>
+ </div>
+ </div>
+</td>
+</tr>
+
+ </table>
@@ -11713,7 +12448,7 @@
<th width="150px">Name</th>
<th>Description</th>
</tr>
- <tr><td style="width:150px;">service_id</td>
+ <tr><td style="width:150px;">serviceId</td>
<td>
@@ -11762,41 +12497,60 @@
<div class="tab-content" id="responses-ServiceRegistryAndSupervision-getServices-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-ServiceRegistryAndSupervision-getServices-200-schema">
- <div id="responses-ServiceRegistryAndSupervision-getServices-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-ServiceRegistryAndSupervision-getServices-200-schema">
+ <div id="responses-ServiceRegistryAndSupervision-getServices-schema-200" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ServiceStatusList"
+ },
+ "examples" : {
+ "service_status_list" : {
+ "$ref" : "#/components/examples/ServiceStatusList"
+ }
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-ServiceRegistryAndSupervision-getServices-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-ServiceRegistryAndSupervision-getServices-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-ServiceRegistryAndSupervision-getServices-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-ServiceRegistryAndSupervision-getServices-200-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-ServiceRegistryAndSupervision-getServices-schema-200');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-ServiceRegistryAndSupervision-getServices-200-schema-data' type='hidden' value=''></input>
+ </div>
</div>
<h3 id="examples-ServiceRegistryAndSupervision-getServices-title-404"></h3>
<p id="examples-ServiceRegistryAndSupervision-getServices-description-404" class="marked"></p>
@@ -11813,12 +12567,66 @@
<ul id="responses-detail-ServiceRegistryAndSupervision-getServices-404" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-ServiceRegistryAndSupervision-getServices-404-schema">Schema</a>
+ </li>
+
+
</ul>
<div class="tab-content" id="responses-ServiceRegistryAndSupervision-getServices-404-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-ServiceRegistryAndSupervision-getServices-404-schema">
+ <div id="responses-ServiceRegistryAndSupervision-getServices-schema-404" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-ServiceRegistryAndSupervision-getServices-404-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-ServiceRegistryAndSupervision-getServices-schema-404');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-ServiceRegistryAndSupervision-getServices-404-schema-data' type='hidden' value=''></input>
+ </div>
</div>
</article>
</div>
@@ -11835,13 +12643,14 @@
<p class="marked">A registered service should invoke this operation regularly to indicate that it is still alive. If a registered service fails to invoke this operation before the end of a timeout period the service will be deregistered and all its A1 policies wil be removed. (This timeout can be set or disabled when each service is initially registered)</p>
<p></p>
<br />
- <pre class="prettyprint language-html prettyprinted" data-type="put"><code><span class="pln">/a1-policy/v2/services/{service_id}/keepalive</span></code></pre>
+ <pre class="prettyprint language-html prettyprinted" data-type="put"><code><span class="pln">/services/{serviceId}/keepalive</span></code></pre>
<p>
<h3>Usage and SDK Samples</h3>
</p>
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="#examples-ServiceRegistryAndSupervision-keepAliveService-0-curl">Curl</a></li>
<li class=""><a href="#examples-ServiceRegistryAndSupervision-keepAliveService-0-java">Java</a></li>
+ <li class=""><a href="#examples-ServiceRegistryAndSupervision-keepAliveService-0-dart">Dart</a></li>
<li class=""><a href="#examples-ServiceRegistryAndSupervision-keepAliveService-0-android">Android</a></li>
<!--<li class=""><a href="#examples-ServiceRegistryAndSupervision-keepAliveService-0-groovy">Groovy</a></li>-->
<li class=""><a href="#examples-ServiceRegistryAndSupervision-keepAliveService-0-objc">Obj-C</a></li>
@@ -11858,7 +12667,9 @@
<div class="tab-pane active" id="examples-ServiceRegistryAndSupervision-keepAliveService-0-curl">
<pre class="prettyprint"><code class="language-bsh">curl -X PUT \
-H "Accept: */*,application/problem+json" \
- "http://localhost/a1-policy/v2/services/{service_id}/keepalive"
+ -H "Content-Type: application/json" \
+ "https://example.com/a1-policy-management/v1/services/{serviceId}/keepalive" \
+ -d ''
</code></pre>
</div>
<div class="tab-pane" id="examples-ServiceRegistryAndSupervision-keepAliveService-0-java">
@@ -11876,9 +12687,11 @@
// Create an instance of the API class
ServiceRegistryAndSupervisionApi apiInstance = new ServiceRegistryAndSupervisionApi();
String serviceId = serviceId_example; // String |
+ String accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
+ String body = body_example; // String |
try {
- Object result = apiInstance.keepAliveService(serviceId);
+ Object result = apiInstance.keepAliveService(serviceId, accept, body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ServiceRegistryAndSupervisionApi#keepAliveService");
@@ -11889,6 +12702,25 @@
</code></pre>
</div>
+ <div class="tab-pane" id="examples-ServiceRegistryAndSupervision-keepAliveService-0-dart">
+ <pre class="prettyprint"><code class="language-dart">import 'package:openapi/api.dart';
+
+final api_instance = DefaultApi();
+
+final String serviceId = new String(); // String |
+final String accept = new String(); // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
+final String body = new String(); // String |
+
+try {
+ final result = await api_instance.keepAliveService(serviceId, accept, body);
+ print(result);
+} catch (e) {
+ print('Exception when calling DefaultApi->keepAliveService: $e\n');
+}
+
+</code></pre>
+ </div>
+
<div class="tab-pane" id="examples-ServiceRegistryAndSupervision-keepAliveService-0-android">
<pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ServiceRegistryAndSupervisionApi;
@@ -11896,9 +12728,11 @@
public static void main(String[] args) {
ServiceRegistryAndSupervisionApi apiInstance = new ServiceRegistryAndSupervisionApi();
String serviceId = serviceId_example; // String |
+ String accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
+ String body = body_example; // String |
try {
- Object result = apiInstance.keepAliveService(serviceId);
+ Object result = apiInstance.keepAliveService(serviceId, accept, body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ServiceRegistryAndSupervisionApi#keepAliveService");
@@ -11917,9 +12751,13 @@
// Create an instance of the API class
ServiceRegistryAndSupervisionApi *apiInstance = [[ServiceRegistryAndSupervisionApi alloc] init];
String *serviceId = serviceId_example; // (default to null)
+String *accept = application/json; // Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. (optional) (default to null)
+String *body = body_example; // (optional)
// Heartbeat indicates that the service is running
[apiInstance keepAliveServiceWith:serviceId
+ accept:accept
+ body:body
completionHandler: ^(Object output, NSError* error) {
if (output) {
NSLog(@"%@", output);
@@ -11932,11 +12770,15 @@
</div>
<div class="tab-pane" id="examples-ServiceRegistryAndSupervision-keepAliveService-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
+ <pre class="prettyprint"><code class="language-js">var A1PolicyManagementApi = require('a1_policy_management_api');
// Create an instance of the API class
-var api = new A1PolicyManagementService.ServiceRegistryAndSupervisionApi()
+var api = new A1PolicyManagementApi.ServiceRegistryAndSupervisionApi()
var serviceId = serviceId_example; // {String}
+var opts = {
+ 'accept': application/json, // {String} Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
+ 'body': body_example // {String}
+};
var callback = function(error, data, response) {
if (error) {
@@ -11945,7 +12787,7 @@
console.log('API called successfully. Returned data: ' + data);
}
};
-api.keepAliveService(serviceId, callback);
+api.keepAliveService(serviceId, opts, callback);
</code></pre>
</div>
@@ -11969,10 +12811,12 @@
// Create an instance of the API class
var apiInstance = new ServiceRegistryAndSupervisionApi();
var serviceId = serviceId_example; // String | (default to null)
+ var accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. (optional) (default to null)
+ var body = body_example; // String | (optional)
try {
// Heartbeat indicates that the service is running
- Object result = apiInstance.keepAliveService(serviceId);
+ Object result = apiInstance.keepAliveService(serviceId, accept, body);
Debug.WriteLine(result);
} catch (Exception e) {
Debug.Print("Exception when calling ServiceRegistryAndSupervisionApi.keepAliveService: " + e.Message );
@@ -11990,9 +12834,11 @@
// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\ServiceRegistryAndSupervisionApi();
$serviceId = serviceId_example; // String |
+$accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
+$body = body_example; // String |
try {
- $result = $api_instance->keepAliveService($serviceId);
+ $result = $api_instance->keepAliveService($serviceId, $accept, $body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ServiceRegistryAndSupervisionApi->keepAliveService: ', $e->getMessage(), PHP_EOL;
@@ -12008,9 +12854,11 @@
# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::ServiceRegistryAndSupervisionApi->new();
my $serviceId = serviceId_example; # String |
+my $accept = application/json; # String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
+my $body = WWW::OPenAPIClient::Object::String->new(); # String |
eval {
- my $result = $api_instance->keepAliveService(serviceId => $serviceId);
+ my $result = $api_instance->keepAliveService(serviceId => $serviceId, accept => $accept, body => $body);
print Dumper($result);
};
if ($@) {
@@ -12028,10 +12876,12 @@
# Create an instance of the API class
api_instance = openapi_client.ServiceRegistryAndSupervisionApi()
serviceId = serviceId_example # String | (default to null)
+accept = application/json # String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. (optional) (default to null)
+body = body_example # String | (optional)
try:
# Heartbeat indicates that the service is running
- api_response = api_instance.keep_alive_service(serviceId)
+ api_response = api_instance.keep_alive_service(serviceId, accept=accept, body=body)
pprint(api_response)
except ApiException as e:
print("Exception when calling ServiceRegistryAndSupervisionApi->keepAliveService: %s\n" % e)</code></pre>
@@ -12042,9 +12892,11 @@
pub fn main() {
let serviceId = serviceId_example; // String
+ let accept = application/json; // String
+ let body = body_example; // String
let mut context = ServiceRegistryAndSupervisionApi::Context::default();
- let result = client.keepAliveService(serviceId, &context).wait();
+ let result = client.keepAliveService(serviceId, accept, body, &context).wait();
println!("{:?}", result);
}
@@ -12065,7 +12917,7 @@
<th width="150px">Name</th>
<th>Description</th>
</tr>
- <tr><td style="width:150px;">service_id*</td>
+ <tr><td style="width:150px;">serviceId*</td>
<td>
@@ -12087,8 +12939,83 @@
</table>
+ <div class="methodsubtabletitle">Header parameters</div>
+ <table id="methodsubtable">
+ <tr>
+ <th width="150px">Name</th>
+ <th>Description</th>
+ </tr>
+ <tr><td style="width:150px;">Accept</td>
+<td>
+ <div id="d2e199_keepAliveService_accept">
+ <div class="json-schema-view">
+ <div class="primitive">
+ <span class="type">
+ String
+ </span>
+
+ <div class="inner description marked">
+Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
+ </div>
+ </div>
+ </div>
+ </div>
+</td>
+</tr>
+
+ </table>
+
+ <div class="methodsubtabletitle">Body parameters</div>
+ <table id="methodsubtable">
+ <tr>
+ <th width="150px">Name</th>
+ <th>Description</th>
+ </tr>
+ <tr><td style="width:150px;">body </td>
+<td>
+<p class="marked"></p>
+<script>
+$(document).ready(function() {
+ var schemaWrapper = {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "type" : "string"
+ }
+ }
+ },
+ "required" : false
+};
+
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema,2,{isBodyParam: true});
+ var result = $('#d2e199_keepAliveService_body');
+ result.empty();
+ result.append(view.render());
+});
+</script>
+<div id="d2e199_keepAliveService_body"></div>
+</td>
+</tr>
+
+ </table>
+
<h2>Responses</h2>
@@ -12118,41 +13045,55 @@
<div class="tab-content" id="responses-ServiceRegistryAndSupervision-keepAliveService-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-ServiceRegistryAndSupervision-keepAliveService-200-schema">
- <div id="responses-ServiceRegistryAndSupervision-keepAliveService-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-ServiceRegistryAndSupervision-keepAliveService-200-schema">
+ <div id="responses-ServiceRegistryAndSupervision-keepAliveService-schema-200" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "OK - Service supervision timer refreshed, OK",
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-ServiceRegistryAndSupervision-keepAliveService-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-ServiceRegistryAndSupervision-keepAliveService-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-ServiceRegistryAndSupervision-keepAliveService-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-ServiceRegistryAndSupervision-keepAliveService-200-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-ServiceRegistryAndSupervision-keepAliveService-schema-200');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-ServiceRegistryAndSupervision-keepAliveService-200-schema-data' type='hidden' value=''></input>
+ </div>
</div>
<h3 id="examples-ServiceRegistryAndSupervision-keepAliveService-title-404"></h3>
<p id="examples-ServiceRegistryAndSupervision-keepAliveService-description-404" class="marked"></p>
@@ -12169,12 +13110,66 @@
<ul id="responses-detail-ServiceRegistryAndSupervision-keepAliveService-404" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-ServiceRegistryAndSupervision-keepAliveService-404-schema">Schema</a>
+ </li>
+
+
</ul>
<div class="tab-content" id="responses-ServiceRegistryAndSupervision-keepAliveService-404-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-ServiceRegistryAndSupervision-keepAliveService-404-schema">
+ <div id="responses-ServiceRegistryAndSupervision-keepAliveService-schema-404" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-ServiceRegistryAndSupervision-keepAliveService-404-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-ServiceRegistryAndSupervision-keepAliveService-schema-404');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-ServiceRegistryAndSupervision-keepAliveService-404-schema-data' type='hidden' value=''></input>
+ </div>
</div>
</article>
</div>
@@ -12191,13 +13186,14 @@
<p class="marked">Registering a service is needed to:<ul><li>Get callbacks about available NearRT RICs.</li><li>Activate supervision of the service. If a service is inactive, its policies will automatically be deleted.</li></ul>Policies can be created even if the service is not registerred. This is a feature which it is optional to use.</p>
<p></p>
<br />
- <pre class="prettyprint language-html prettyprinted" data-type="put"><code><span class="pln">/a1-policy/v2/services</span></code></pre>
+ <pre class="prettyprint language-html prettyprinted" data-type="put"><code><span class="pln">/services</span></code></pre>
<p>
<h3>Usage and SDK Samples</h3>
</p>
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="#examples-ServiceRegistryAndSupervision-putService-0-curl">Curl</a></li>
<li class=""><a href="#examples-ServiceRegistryAndSupervision-putService-0-java">Java</a></li>
+ <li class=""><a href="#examples-ServiceRegistryAndSupervision-putService-0-dart">Dart</a></li>
<li class=""><a href="#examples-ServiceRegistryAndSupervision-putService-0-android">Android</a></li>
<!--<li class=""><a href="#examples-ServiceRegistryAndSupervision-putService-0-groovy">Groovy</a></li>-->
<li class=""><a href="#examples-ServiceRegistryAndSupervision-putService-0-objc">Obj-C</a></li>
@@ -12215,8 +13211,12 @@
<pre class="prettyprint"><code class="language-bsh">curl -X PUT \
-H "Accept: */*,application/problem+json" \
-H "Content-Type: application/json" \
- "http://localhost/a1-policy/v2/services" \
- -d ''
+ "https://example.com/a1-policy-management/v1/services" \
+ -d '{
+ "keepAliveIntervalSeconds" : 0,
+ "callbackUrl" : "callbackUrl",
+ "serviceId" : "serviceId"
+}'
</code></pre>
</div>
<div class="tab-pane" id="examples-ServiceRegistryAndSupervision-putService-0-java">
@@ -12247,6 +13247,23 @@
</code></pre>
</div>
+ <div class="tab-pane" id="examples-ServiceRegistryAndSupervision-putService-0-dart">
+ <pre class="prettyprint"><code class="language-dart">import 'package:openapi/api.dart';
+
+final api_instance = DefaultApi();
+
+final ServiceRegistrationInfo serviceRegistrationInfo = new ServiceRegistrationInfo(); // ServiceRegistrationInfo |
+
+try {
+ final result = await api_instance.putService(serviceRegistrationInfo);
+ print(result);
+} catch (e) {
+ print('Exception when calling DefaultApi->putService: $e\n');
+}
+
+</code></pre>
+ </div>
+
<div class="tab-pane" id="examples-ServiceRegistryAndSupervision-putService-0-android">
<pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ServiceRegistryAndSupervisionApi;
@@ -12290,10 +13307,10 @@
</div>
<div class="tab-pane" id="examples-ServiceRegistryAndSupervision-putService-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
+ <pre class="prettyprint"><code class="language-js">var A1PolicyManagementApi = require('a1_policy_management_api');
// Create an instance of the API class
-var api = new A1PolicyManagementService.ServiceRegistryAndSupervisionApi()
+var api = new A1PolicyManagementApi.ServiceRegistryAndSupervisionApi()
var serviceRegistrationInfo = ; // {ServiceRegistrationInfo}
var callback = function(error, data, response) {
@@ -12430,15 +13447,15 @@
<p class="marked"></p>
<script>
$(document).ready(function() {
- var schemaWrapper = {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/service_registration_info"
- }
- }
- },
- "required" : true
+ var schemaWrapper = {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ServiceRegistrationInfo"
+ }
+ }
+ },
+ "required" : true
};
var schema = findNode('schema',schemaWrapper).schema;
@@ -12447,6 +13464,8 @@
}
if (schema.$ref != null) {
schema = defsParser.$refs.get(schema.$ref);
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
} else {
schemaWrapper.definitions = Object.assign({}, defs);
$RefParser.dereference(schemaWrapper).catch(function(err) {
@@ -12495,41 +13514,55 @@
<div class="tab-content" id="responses-ServiceRegistryAndSupervision-putService-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-ServiceRegistryAndSupervision-putService-200-schema">
- <div id="responses-ServiceRegistryAndSupervision-putService-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-ServiceRegistryAndSupervision-putService-200-schema">
+ <div id="responses-ServiceRegistryAndSupervision-putService-schema-200" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "OK - Service updated",
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-ServiceRegistryAndSupervision-putService-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-ServiceRegistryAndSupervision-putService-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-ServiceRegistryAndSupervision-putService-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-ServiceRegistryAndSupervision-putService-200-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-ServiceRegistryAndSupervision-putService-schema-200');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-ServiceRegistryAndSupervision-putService-200-schema-data' type='hidden' value=''></input>
+ </div>
</div>
<h3 id="examples-ServiceRegistryAndSupervision-putService-title-201"></h3>
<p id="examples-ServiceRegistryAndSupervision-putService-description-201" class="marked"></p>
@@ -12557,41 +13590,55 @@
<div class="tab-content" id="responses-ServiceRegistryAndSupervision-putService-201-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-ServiceRegistryAndSupervision-putService-201-schema">
- <div id="responses-ServiceRegistryAndSupervision-putService-schema-201" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-ServiceRegistryAndSupervision-putService-201-schema">
+ <div id="responses-ServiceRegistryAndSupervision-putService-schema-201" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Created - Service created",
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-ServiceRegistryAndSupervision-putService-201-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-ServiceRegistryAndSupervision-putService-schema-201');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-ServiceRegistryAndSupervision-putService-201-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-ServiceRegistryAndSupervision-putService-201-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-ServiceRegistryAndSupervision-putService-schema-201');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-ServiceRegistryAndSupervision-putService-201-schema-data' type='hidden' value=''></input>
+ </div>
</div>
<h3 id="examples-ServiceRegistryAndSupervision-putService-title-400"></h3>
<p id="examples-ServiceRegistryAndSupervision-putService-description-400" class="marked"></p>
@@ -12619,41 +13666,55 @@
<div class="tab-content" id="responses-ServiceRegistryAndSupervision-putService-400-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-ServiceRegistryAndSupervision-putService-400-schema">
- <div id="responses-ServiceRegistryAndSupervision-putService-schema-400" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-ServiceRegistryAndSupervision-putService-400-schema">
+ <div id="responses-ServiceRegistryAndSupervision-putService-schema-400" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Bad Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-ServiceRegistryAndSupervision-putService-400-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-ServiceRegistryAndSupervision-putService-schema-400');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-ServiceRegistryAndSupervision-putService-400-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-ServiceRegistryAndSupervision-putService-400-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-ServiceRegistryAndSupervision-putService-schema-400');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-ServiceRegistryAndSupervision-putService-400-schema-data' type='hidden' value=''></input>
+ </div>
</div>
</article>
</div>
@@ -12666,7 +13727,7 @@
<div class="app-desc">Information URL: <a href="https://www.onap.org/">https://www.onap.org/</a></div>
<div class="app-desc">Contact Info: <a href="discuss-list@onap.com">discuss-list@onap.com</a></div>
</p>
- <div class="license-info">Copyright (C) 2020-2023 Nordix Foundation. Licensed under the Apache License.</div>
+ <div class="license-info">Copyright (C) 2024 OpenInfra Foundation Europe. Licensed under the Apache License.</div>
<div class="license-url">http://www.apache.org/licenses/LICENSE-2.0</div>
</div>
</div>
@@ -13772,7 +14833,7 @@
// Determine if a schema is an array
this.isArray = !this.isAny && this.schema && this.schema.type === 'array';
- this.isObject = this.schema && (this.schema.type === 'object' || this.schema.properties || this.schema.anyOf || this.schema.oneof || this.schema.allOf);
+ this.isObject = this.schema && (this.schema.type === 'object' || this.schema.properties || this.schema.anyOf || this.schema.oneOf || this.schema.allOf);
// Determine if a schema is a primitive
this.isPrimitive = !this.isAny && !this.isArray && !this.isObject;
diff --git a/a1-policy-management/api/offeredapis/swagger/pms-api-v3.json b/a1-policy-management/api/offeredapis/swagger/pms-api-v3.json
new file mode 100644
index 0000000..c844073
--- /dev/null
+++ b/a1-policy-management/api/offeredapis/swagger/pms-api-v3.json
@@ -0,0 +1,2134 @@
+{
+ "openapi" : "3.0.3",
+ "info" : {
+ "contact" : {
+ "email" : "discuss-list@onap.com",
+ "url" : "https://www.onap.org/"
+ },
+ "description" : "<h2>General</h2><p>The O-RAN Non-RT RIC Policy Management Service provides a REST API for managemecnt of A1 policies. <br/>The main tasks of the service are:</p><ul><li>A1 Policy creation, modification and deletion.</li><li>Monitoring and maintaining consistency of the SMO view of A1 policies and the Near-RT RICs</li><li>Maintaining a view of supported Near-RT RIC policy types</li><li>Supervision of using services (R-APPs). When a service is unavailable, its policies are removed.</li></ul><h2>APIs provided or defined by the service</h2><h3>A1 Policy Management</h3><p>This is an API for management of A1 Policies.</p><ul><li>A1 Policy retrieval, creation, modification and deletion.</li><li>Retrieval of supported A1 Policy types for a Near-RT RIC</li><li>Retrieval of status for existing A1 policies</li></ul><h3>Management of configuration</h3><p>API for updating and retrieval of the component configuration. Note that there other ways to maintain the configuration.</p><h3>Service callbacks</h3><p>These are endpoints that are invoked by this service. The callbacks are registered in this service at service registration.</p><h3>NearRT-RIC Repository</h3><p>This is an API that provides support for looking up a NearRT-RIC. Each A1 policy is targeted for one Near-RT RIC.</p><h3>Health Check</h3><p>API used for supervision of the PMS component.</p><h3>Service Registry and Supervision</h3><p>API used for registering services that uses PMS. Each A1 policy is optionally owned by a service. PMS can supervise each registered service by a heart-beat supervision and will automatically remove policies for unavailable services. Note that a service does not need to be registered in order to create A1 Policies. This is a feature that is optional to use.</p><h3>Authorization API</h3><p>API used for access control of A1 Policy access. If configured, an external authorization provider is requested to grant access to the A1 Policy type.</p>",
+ "license" : {
+ "name" : "Copyright (C) 2024 OpenInfra Foundation Europe. Licensed under the Apache License.",
+ "url" : "http://www.apache.org/licenses/LICENSE-2.0"
+ },
+ "title" : "A1 policy management API",
+ "version" : "1.0.0",
+ "x-api-id" : "a31c510b-20e6-4a08-af16-368c44d7fba8",
+ "x-audience" : "external-public"
+ },
+ "servers" : [ {
+ "url" : "{apiRoot}/a1-policy-management/v1",
+ "variables" : {
+ "apiRoot" : {
+ "default" : "https://example.com",
+ "description" : "This is the Host:Port or Address where the A1-Policy Management Service can be accessed"
+ }
+ }
+ } ],
+ "tags" : [ {
+ "description" : "API used to create polices, Policy Instances and get them as individual using an ID or get all policies/Instances.",
+ "name" : "A1 Policy Management"
+ }, {
+ "description" : "API used to get the NearRT-RIC for the managed element.",
+ "name" : "NearRT-RIC Repository"
+ }, {
+ "description" : "API used to keep the service Alive with in the timeout period",
+ "name" : "Service Registry and Supervision"
+ }, {
+ "description" : "API used to get the health status and statistics of this service",
+ "name" : "Health Check"
+ }, {
+ "name" : "Service callbacks"
+ }, {
+ "description" : "API used to create or fetch the application configuration.",
+ "name" : "Configuration"
+ } ],
+ "paths" : {
+ "/status" : {
+ "get" : {
+ "description" : "Returns status and statistics of this service",
+ "operationId" : "getStatus",
+ "responses" : {
+ "200" : {
+ "content" : {
+ "application/json" : {
+ "examples" : {
+ "status_info" : {
+ "$ref" : "#/components/examples/StatusInfo"
+ }
+ },
+ "schema" : {
+ "$ref" : "#/components/schemas/StatusInfo"
+ }
+ }
+ },
+ "description" : "OK- Service is living Ok"
+ }
+ },
+ "tags" : [ "Health Check" ]
+ }
+ },
+ "/rics/ric" : {
+ "get" : {
+ "description" : "Either a Near-RT RIC identity or a Managed Element identity can be specified.<br>The intention with Managed Element identity is the ID used in O1 for accessing the traffical element (such as the ID of CU).",
+ "operationId" : "getRic",
+ "parameters" : [ {
+ "description" : "The identity of a Managed Element. If given, the Near-RT RIC managing the ME is returned.",
+ "explode" : true,
+ "in" : "query",
+ "name" : "managedElementId",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "form"
+ }, {
+ "description" : "The identity of a Near-RT RIC to get information for.",
+ "explode" : true,
+ "in" : "query",
+ "name" : "ricId",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "form"
+ }, {
+ "description" : "Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.",
+ "explode" : false,
+ "in" : "header",
+ "name" : "Accept",
+ "required" : false,
+ "schema" : {
+ "example" : "application/json",
+ "type" : "string"
+ },
+ "style" : "simple"
+ } ],
+ "responses" : {
+ "200" : {
+ "content" : {
+ "application/json" : {
+ "examples" : {
+ "ric_info" : {
+ "$ref" : "#/components/examples/RicInfo"
+ }
+ },
+ "schema" : {
+ "$ref" : "#/components/schemas/RicInfo"
+ }
+ }
+ },
+ "description" : "OK - Near-RT RIC is found OK"
+ },
+ "404" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Not Found"
+ }
+ },
+ "summary" : "Returns info for one Near-RT RIC",
+ "tags" : [ "NearRT-RIC Repository" ]
+ }
+ },
+ "/rics" : {
+ "get" : {
+ "description" : "The call returns all Near-RT RICs that supports a given policy type identity",
+ "operationId" : "getRics",
+ "parameters" : [ {
+ "description" : "The identity of a policy type. If given, all Near-RT RICs supporting the policy type are returned",
+ "explode" : true,
+ "in" : "query",
+ "name" : "policyTypeId",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "form"
+ }, {
+ "description" : "Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.",
+ "explode" : false,
+ "in" : "header",
+ "name" : "Accept",
+ "required" : false,
+ "schema" : {
+ "example" : "application/json",
+ "type" : "string"
+ },
+ "style" : "simple"
+ } ],
+ "responses" : {
+ "200" : {
+ "content" : {
+ "application/json" : {
+ "examples" : {
+ "ric_info_list" : {
+ "$ref" : "#/components/examples/RicInfoList"
+ }
+ },
+ "schema" : {
+ "$ref" : "#/components/schemas/RicInfoList"
+ }
+ }
+ },
+ "description" : "OK"
+ },
+ "404" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Not Found"
+ }
+ },
+ "summary" : "Query Near-RT RIC information",
+ "tags" : [ "NearRT-RIC Repository" ]
+ }
+ },
+ "/policy-types" : {
+ "get" : {
+ "description" : "Query policy type identities",
+ "operationId" : "getPolicyTypes",
+ "parameters" : [ {
+ "description" : "Select types for the given Near-RT RIC identity.",
+ "explode" : true,
+ "in" : "query",
+ "name" : "nearRtRicId",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "form"
+ }, {
+ "description" : "Select types with the given type name (type identity has the format <typename_version>)",
+ "explode" : true,
+ "in" : "query",
+ "name" : "typeName",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "form"
+ }, {
+ "description" : "Select types that are compatible with the given version. This parameter is only applicable in conjunction with type_name. As an example version 1.9.1 is compatible with 1.0.0 but not the other way around. Matching types will be returned sorted in ascending order.",
+ "explode" : true,
+ "in" : "query",
+ "name" : "compatibleWithVersion",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "form"
+ }, {
+ "description" : "Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.",
+ "explode" : false,
+ "in" : "header",
+ "name" : "Accept",
+ "required" : false,
+ "schema" : {
+ "example" : "application/json",
+ "type" : "string"
+ },
+ "style" : "simple"
+ } ],
+ "responses" : {
+ "200" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "items" : {
+ "$ref" : "#/components/schemas/PolicyTypeInformation"
+ },
+ "type" : "array"
+ }
+ }
+ },
+ "description" : "OK - Policy Type IDs found Ok"
+ },
+ "400" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Bad Request"
+ },
+ "401" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Unauthorized"
+ },
+ "403" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Forbidden"
+ },
+ "404" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Not Found"
+ },
+ "406" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Not Acceptable"
+ },
+ "429" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Too Many Request"
+ },
+ "500" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Internal Server Error"
+ },
+ "502" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Bad Gateway"
+ },
+ "503" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Service Unavailable"
+ }
+ },
+ "tags" : [ "A1 Policy Management" ]
+ }
+ },
+ "/policy-types/{policyTypeId}" : {
+ "get" : {
+ "description" : "Returns a policy type definition",
+ "operationId" : "getPolicyTypeDefinition",
+ "parameters" : [ {
+ "explode" : false,
+ "in" : "path",
+ "name" : "policyTypeId",
+ "required" : true,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "simple"
+ }, {
+ "description" : "Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.",
+ "explode" : false,
+ "in" : "header",
+ "name" : "Accept",
+ "required" : false,
+ "schema" : {
+ "example" : "application/json",
+ "type" : "string"
+ },
+ "style" : "simple"
+ } ],
+ "responses" : {
+ "200" : {
+ "content" : {
+ "application/json" : {
+ "examples" : {
+ "policyObject" : {
+ "$ref" : "#/components/examples/PolicyObject"
+ }
+ },
+ "schema" : {
+ "$ref" : "#/components/schemas/PolicyObject"
+ }
+ }
+ },
+ "description" : "OK - schema of the given policy type"
+ },
+ "400" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Bad Request"
+ },
+ "401" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Unauthorized"
+ },
+ "403" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Forbidden"
+ },
+ "404" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Not Found"
+ },
+ "406" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Not Acceptable"
+ },
+ "429" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Too Many Request"
+ },
+ "500" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Internal Server Error"
+ },
+ "502" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Bad Gateway"
+ },
+ "503" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Service Unavailable"
+ }
+ },
+ "tags" : [ "A1 Policy Management" ]
+ }
+ },
+ "/policies/{policyId}" : {
+ "delete" : {
+ "description" : "Deleting the policy using policyId.",
+ "operationId" : "deletePolicy",
+ "parameters" : [ {
+ "explode" : false,
+ "in" : "path",
+ "name" : "policyId",
+ "required" : true,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "simple"
+ }, {
+ "description" : "Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.",
+ "explode" : false,
+ "in" : "header",
+ "name" : "Accept",
+ "required" : false,
+ "schema" : {
+ "example" : "application/json",
+ "type" : "string"
+ },
+ "style" : "simple"
+ } ],
+ "responses" : {
+ "204" : {
+ "description" : "The created A1 policy was deleted"
+ },
+ "400" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Bad Request"
+ },
+ "401" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Unauthorized"
+ },
+ "403" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Forbidden"
+ },
+ "404" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Not Found"
+ },
+ "423" : {
+ "content" : {
+ "application/problem+json" : {
+ "example" : {
+ "status" : 423,
+ "title" : "Locked",
+ "detail" : "State is Locked in the provided request."
+ },
+ "schema" : {
+ "$ref" : "#/components/schemas/ErrorInformation"
+ }
+ }
+ },
+ "description" : "Locked - HTTP Status code which can be used when the state is Locked"
+ },
+ "429" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Too Many Request"
+ },
+ "500" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Internal Server Error"
+ },
+ "502" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Bad Gateway"
+ },
+ "503" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Service Unavailable"
+ }
+ },
+ "summary" : "Delete a policy",
+ "tags" : [ "A1 Policy Management" ]
+ },
+ "get" : {
+ "description" : "Returns a policy",
+ "operationId" : "getPolicy",
+ "parameters" : [ {
+ "explode" : false,
+ "in" : "path",
+ "name" : "policyId",
+ "required" : true,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "simple"
+ }, {
+ "description" : "Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.",
+ "explode" : false,
+ "in" : "header",
+ "name" : "Accept",
+ "required" : false,
+ "schema" : {
+ "example" : "application/json",
+ "type" : "string"
+ },
+ "style" : "simple"
+ } ],
+ "responses" : {
+ "200" : {
+ "content" : {
+ "application/json" : {
+ "examples" : {
+ "policyObject" : {
+ "$ref" : "#/components/examples/PolicyObject"
+ }
+ },
+ "schema" : {
+ "$ref" : "#/components/schemas/PolicyObject"
+ }
+ }
+ },
+ "description" : "OK - Policy found"
+ },
+ "400" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Bad Request"
+ },
+ "401" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Unauthorized"
+ },
+ "403" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Forbidden"
+ },
+ "404" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Not Found"
+ },
+ "406" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Not Acceptable"
+ },
+ "429" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Too Many Request"
+ },
+ "500" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Internal Server Error"
+ },
+ "502" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Bad Gateway"
+ },
+ "503" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Service Unavailable"
+ }
+ },
+ "tags" : [ "A1 Policy Management" ]
+ },
+ "put" : {
+ "description" : "update a policy",
+ "operationId" : "putPolicy",
+ "parameters" : [ {
+ "explode" : false,
+ "in" : "path",
+ "name" : "policyId",
+ "required" : true,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "simple"
+ } ],
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "examples" : {
+ "policyObject" : {
+ "$ref" : "#/components/examples/PolicyObject"
+ }
+ },
+ "schema" : {
+ "$ref" : "#/components/schemas/PolicyObject"
+ }
+ }
+ },
+ "required" : true
+ },
+ "responses" : {
+ "200" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/PolicyObject"
+ }
+ }
+ },
+ "description" : "OK - Policy updated"
+ },
+ "400" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Bad Request"
+ },
+ "401" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Unauthorized"
+ },
+ "403" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Forbidden"
+ },
+ "404" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Not Found"
+ },
+ "406" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Not Acceptable"
+ },
+ "411" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Length Required"
+ },
+ "413" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Payload Too Large"
+ },
+ "415" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Unsupported Media Type"
+ },
+ "423" : {
+ "content" : {
+ "application/problem+json" : {
+ "example" : {
+ "status" : 423,
+ "title" : "Locked",
+ "detail" : "State is Locked in the provided request."
+ },
+ "schema" : {
+ "$ref" : "#/components/schemas/ErrorInformation"
+ }
+ }
+ },
+ "description" : "Locked - HTTP Status code which can be used when the state is Locked"
+ },
+ "429" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Too Many Request"
+ },
+ "500" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Internal Server Error"
+ },
+ "502" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Bad Gateway"
+ },
+ "503" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Service Unavailable"
+ }
+ },
+ "tags" : [ "A1 Policy Management" ]
+ }
+ },
+ "/policies" : {
+ "get" : {
+ "description" : "Returns a list of A1 policies matching given search criteria. <br>If several query parameters are defined, the policies matching all conditions are returned.",
+ "operationId" : "getAllPolicies",
+ "parameters" : [ {
+ "description" : "Select policies of a given policy type identity.",
+ "explode" : true,
+ "in" : "query",
+ "name" : "policyTypeId",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "form"
+ }, {
+ "description" : "Select policies of a given Near-RT RIC identity.",
+ "explode" : true,
+ "in" : "query",
+ "name" : "nearRtRicId",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "form"
+ }, {
+ "description" : "Select policies owned by a given service.",
+ "explode" : true,
+ "in" : "query",
+ "name" : "serviceId",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "form"
+ }, {
+ "description" : "Select policies of types with the given type name (type identity has the format <typename_version>)",
+ "explode" : true,
+ "in" : "query",
+ "name" : "typeName",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "form"
+ }, {
+ "description" : "Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.",
+ "explode" : false,
+ "in" : "header",
+ "name" : "Accept",
+ "required" : false,
+ "schema" : {
+ "example" : "application/json",
+ "type" : "string"
+ },
+ "style" : "simple"
+ } ],
+ "responses" : {
+ "200" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "items" : {
+ "$ref" : "#/components/schemas/PolicyInformation"
+ },
+ "type" : "array"
+ }
+ }
+ },
+ "description" : "OK - Policy identities"
+ },
+ "400" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Bad Request"
+ },
+ "401" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Unauthorized"
+ },
+ "403" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Forbidden"
+ },
+ "404" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Not Found"
+ },
+ "406" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Not Acceptable"
+ },
+ "429" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Too Many Request"
+ },
+ "500" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Internal Server Error"
+ },
+ "502" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Bad Gateway"
+ },
+ "503" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Service Unavailable"
+ }
+ },
+ "summary" : "Query policy identities",
+ "tags" : [ "A1 Policy Management" ]
+ },
+ "post" : {
+ "description" : "To create A1 policies",
+ "operationId" : "createPolicy",
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/PolicyObjectInformation"
+ }
+ }
+ },
+ "required" : true
+ },
+ "responses" : {
+ "201" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/PolicyObjectInformation"
+ }
+ }
+ },
+ "description" : "Success case 201 created",
+ "headers" : {
+ "Location" : {
+ "description" : "Contains the URI of the newly created resource",
+ "explode" : false,
+ "required" : true,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "simple"
+ }
+ }
+ },
+ "400" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Bad Request"
+ },
+ "401" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Unauthorized"
+ },
+ "403" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Forbidden"
+ },
+ "404" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Not Found"
+ },
+ "406" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Not Acceptable"
+ },
+ "423" : {
+ "content" : {
+ "application/problem+json" : {
+ "example" : {
+ "status" : 423,
+ "title" : "Locked",
+ "detail" : "State is Locked in the provided request."
+ },
+ "schema" : {
+ "$ref" : "#/components/schemas/ErrorInformation"
+ }
+ }
+ },
+ "description" : "Locked - HTTP Status code which can be used when the state is Locked"
+ },
+ "429" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Too Many Request"
+ },
+ "500" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Internal Server Error"
+ },
+ "502" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Bad Gateway"
+ },
+ "503" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Service Unavailable"
+ }
+ },
+ "tags" : [ "A1 Policy Management" ]
+ }
+ },
+ "/configuration" : {
+ "get" : {
+ "description" : "Returns the contents of the application configuration",
+ "operationId" : "getConfiguration",
+ "responses" : {
+ "200" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "type" : "string"
+ }
+ }
+ },
+ "description" : "OK - Application configuration received"
+ },
+ "404" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Not Found"
+ }
+ },
+ "tags" : [ "Configuration" ]
+ },
+ "put" : {
+ "description" : "Replace the current configuration file with the given configuration",
+ "operationId" : "putConfiguration",
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ },
+ "required" : true
+ },
+ "responses" : {
+ "200" : {
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/void"
+ }
+ }
+ },
+ "description" : "OK - Configuration updated"
+ },
+ "400" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Bad Request"
+ }
+ },
+ "tags" : [ "Configuration" ]
+ }
+ },
+ "/services/{serviceId}/keepalive" : {
+ "put" : {
+ "description" : "A registered service should invoke this operation regularly to indicate that it is still alive. If a registered service fails to invoke this operation before the end of a timeout period the service will be deregistered and all its A1 policies wil be removed. (This timeout can be set or disabled when each service is initially registered)",
+ "operationId" : "keepAliveService",
+ "parameters" : [ {
+ "explode" : false,
+ "in" : "path",
+ "name" : "serviceId",
+ "required" : true,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "simple"
+ }, {
+ "description" : "Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.",
+ "explode" : false,
+ "in" : "header",
+ "name" : "Accept",
+ "required" : false,
+ "schema" : {
+ "example" : "application/json",
+ "type" : "string"
+ },
+ "style" : "simple"
+ } ],
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "type" : "string"
+ }
+ }
+ },
+ "required" : false
+ },
+ "responses" : {
+ "200" : {
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ },
+ "description" : "OK - Service supervision timer refreshed, OK"
+ },
+ "404" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Not Found"
+ }
+ },
+ "summary" : "Heartbeat indicates that the service is running",
+ "tags" : [ "Service Registry and Supervision" ]
+ }
+ },
+ "/services" : {
+ "get" : {
+ "description" : "Either information about a registered service with given identity or all registered services are returned.",
+ "operationId" : "getServices",
+ "parameters" : [ {
+ "description" : "The identity of the service",
+ "explode" : true,
+ "in" : "query",
+ "name" : "serviceId",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "form"
+ }, {
+ "description" : "Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.",
+ "explode" : false,
+ "in" : "header",
+ "name" : "Accept",
+ "required" : false,
+ "schema" : {
+ "example" : "application/json",
+ "type" : "string"
+ },
+ "style" : "simple"
+ } ],
+ "responses" : {
+ "200" : {
+ "content" : {
+ "application/json" : {
+ "examples" : {
+ "service_status_list" : {
+ "$ref" : "#/components/examples/ServiceStatusList"
+ }
+ },
+ "schema" : {
+ "$ref" : "#/components/schemas/ServiceStatusList"
+ }
+ }
+ },
+ "description" : "OK"
+ },
+ "404" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Not Found"
+ }
+ },
+ "summary" : "Returns service information",
+ "tags" : [ "Service Registry and Supervision" ]
+ },
+ "put" : {
+ "callbacks" : {
+ "RICStatus" : {
+ "{$request.body#/callback_url}" : {
+ "post" : {
+ "description" : "The URL to this call is registered at Service registration.",
+ "operationId" : "serviceCallback",
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ServiceCallbackInfo"
+ }
+ }
+ },
+ "required" : true
+ },
+ "responses" : {
+ "200" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/void"
+ }
+ }
+ },
+ "description" : "OK"
+ },
+ "404" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Not Found"
+ }
+ },
+ "summary" : "Callback for Near-RT RIC status",
+ "tags" : [ "Service callbacks" ]
+ }
+ }
+ }
+ },
+ "description" : "Registering a service is needed to:<ul><li>Get callbacks about available NearRT RICs.</li><li>Activate supervision of the service. If a service is inactive, its policies will automatically be deleted.</li></ul>Policies can be created even if the service is not registerred. This is a feature which it is optional to use.",
+ "operationId" : "putService",
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ServiceRegistrationInfo"
+ }
+ }
+ },
+ "required" : true
+ },
+ "responses" : {
+ "200" : {
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ },
+ "description" : "OK - Service updated"
+ },
+ "201" : {
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ },
+ "description" : "Created - Service created"
+ },
+ "400" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Bad Request"
+ }
+ },
+ "summary" : "Register a service",
+ "tags" : [ "Service Registry and Supervision" ]
+ }
+ },
+ "/services/{serviceId}" : {
+ "delete" : {
+ "description" : "Unregister a service",
+ "operationId" : "deleteService",
+ "parameters" : [ {
+ "explode" : false,
+ "in" : "path",
+ "name" : "serviceId",
+ "required" : true,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "simple"
+ }, {
+ "description" : "Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.",
+ "explode" : false,
+ "in" : "header",
+ "name" : "Accept",
+ "required" : false,
+ "schema" : {
+ "example" : "application/json",
+ "type" : "string"
+ },
+ "style" : "simple"
+ } ],
+ "responses" : {
+ "204" : {
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ },
+ "description" : "No Content - Service unregistered"
+ },
+ "404" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Not Found"
+ }
+ },
+ "tags" : [ "Service Registry and Supervision" ]
+ }
+ }
+ },
+ "components" : {
+ "examples" : {
+ "ServiceStatusList" : {
+ "description" : "List of service information",
+ "value" : {
+ "serviceList" : [ {
+ "callbackUrl" : "callbackUrl",
+ "serviceId" : "serviceId",
+ "keepAliveIntervalSeconds" : 0,
+ "timeSinceLastActivitySeconds" : 6
+ }, {
+ "callbackUrl" : "callbackUrl",
+ "serviceId" : "serviceId",
+ "keepAliveIntervalSeconds" : 0,
+ "timeSinceLastActivitySeconds" : 6
+ } ]
+ }
+ },
+ "PolicyStatusInfo" : {
+ "description" : "Status for one A1-P Policy",
+ "value" : {
+ "lastModified" : "last_modified",
+ "status" : {
+ "value" : {
+ "status" : "status"
+ }
+ }
+ }
+ },
+ "StatusInfo" : {
+ "value" : {
+ "status" : "status"
+ }
+ },
+ "RicInfo" : {
+ "value" : {
+ "ricId" : "ricId",
+ "managedElementIds" : [ "managedElementId", "managedElementId" ],
+ "state" : "UNAVAILABLE",
+ "policyTypeIds" : [ "policyTypeId", "policyTypeId" ]
+ }
+ },
+ "RicInfoList" : {
+ "value" : {
+ "rics" : [ {
+ "ricId" : "ricId",
+ "managedElementIds" : [ "managedElementId", "managedElementId" ],
+ "state" : "UNAVAILABLE",
+ "policyTypeIds" : [ "policyTypeId", "policyTypeId" ]
+ }, {
+ "ricId" : "ricId",
+ "managedElementIds" : [ "managedElementId", "managedElementId" ],
+ "state" : "UNAVAILABLE",
+ "policyTypeIds" : [ "policyTypeId", "policyTypeId" ]
+ } ]
+ }
+ },
+ "PolicyObject" : {
+ "value" : {
+ "scope" : {
+ "ueId" : {
+ "guRanUeId" : {
+ "globalGnbId" : {
+ "plmnId" : {
+ "mcc" : "123",
+ "mnc" : "45"
+ },
+ "gnbId" : {
+ "gnbIdLength" : 24,
+ "gnbIdValue" : 12345678
+ }
+ },
+ "RanUeId" : "a31c510b20e64a74"
+ }
+ },
+ "groupId" : {
+ "spId" : 123
+ },
+ "qosId" : {
+ "5qI" : 1
+ },
+ "cellId" : {
+ "plmnId" : {
+ "mcc" : "123",
+ "mnc" : "45"
+ },
+ "cId" : {
+ "ncI" : 123
+ }
+ }
+ },
+ "qosObjectives" : {
+ "gfbr" : 100,
+ "mfbr" : 200,
+ "priorityLevel" : 3,
+ "pdb" : 50
+ }
+ }
+ }
+ },
+ "responses" : {
+ "400" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Bad Request"
+ },
+ "401" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Unauthorized"
+ },
+ "403" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Forbidden"
+ },
+ "404" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Not Found"
+ },
+ "405" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Method Not Allowed"
+ },
+ "406" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Not Acceptable"
+ },
+ "409" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Conflict"
+ },
+ "411" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Length Required"
+ },
+ "413" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Payload Too Large"
+ },
+ "415" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Unsupported Media Type"
+ },
+ "429" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Too Many Request"
+ },
+ "500" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Internal Server Error"
+ },
+ "502" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Bad Gateway"
+ },
+ "503" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Service Unavailable"
+ },
+ "Locked" : {
+ "content" : {
+ "application/problem+json" : {
+ "example" : {
+ "status" : 423,
+ "title" : "Locked",
+ "detail" : "State is Locked in the provided request."
+ },
+ "schema" : {
+ "$ref" : "#/components/schemas/ErrorInformation"
+ }
+ }
+ },
+ "description" : "Locked - HTTP Status code which can be used when the state is Locked"
+ }
+ },
+ "schemas" : {
+ "PolicyTypeInformation" : {
+ "description" : "Available policy types and for each policy type identifier the Near-RT RIC identifiers of those Near-RT RICs that support the related A1 policy type",
+ "properties" : {
+ "policyTypeId" : {
+ "description" : "Identity of the policy type",
+ "type" : "string"
+ },
+ "nearRtRicId" : {
+ "$ref" : "#/components/schemas/NearRtRicId"
+ }
+ },
+ "required" : [ "nearRtRicId", "policyTypeId" ],
+ "type" : "object"
+ },
+ "PolicyObjectInformation" : {
+ "description" : "Information related to the creation of the policy",
+ "properties" : {
+ "nearRtRicId" : {
+ "description" : "identity of the target Near-RT RIC",
+ "example" : "Near-RT-Ric-ID",
+ "type" : "string"
+ },
+ "transient" : {
+ "default" : false,
+ "description" : "if true, the policy is deleted at RIC restart. If false, its value is maintained by this service until explicitly deleted. Default false.",
+ "nullable" : false,
+ "type" : "boolean"
+ },
+ "policyId" : {
+ "description" : "identity of the Policy",
+ "example" : "POLICY-ID",
+ "type" : "string"
+ },
+ "serviceId" : {
+ "description" : "the identity of the service owning the policy. This can be used to group the policies (it is possible to get all policies associated to a service). Note that the service does not need to be registered.",
+ "example" : "rApp ID",
+ "type" : "string"
+ },
+ "policyObject" : {
+ "$ref" : "#/components/schemas/PolicyObject"
+ },
+ "policyTypeId" : {
+ "description" : "identity of the policy type",
+ "example" : "ORAN_QOS_1.0.0(typeName_SemVersion)",
+ "type" : "string"
+ }
+ },
+ "required" : [ "nearRtRicId", "policyObject", "policyTypeId" ],
+ "type" : "object"
+ },
+ "ErrorInformation" : {
+ "description" : "Problem as defined in https://tools.ietf.org/html/rfc7807",
+ "properties" : {
+ "detail" : {
+ "description" : " A human-readable explanation specific to this occurrence of the problem.",
+ "example" : "Policy type not found",
+ "type" : "string"
+ },
+ "title" : {
+ "description" : "A specific error name",
+ "example" : "Not Found",
+ "type" : "string"
+ },
+ "status" : {
+ "description" : "The HTTP status code generated by the origin server for this occurrence of the problem. ",
+ "example" : 404,
+ "format" : "int32",
+ "type" : "integer"
+ }
+ },
+ "type" : "object"
+ },
+ "PolicyObject" : {
+ "description" : "Policy Object is a JSON representation of an A1 policy",
+ "type" : "object"
+ },
+ "void" : {
+ "description" : "Void/empty",
+ "type" : "object"
+ },
+ "StatusInfo" : {
+ "properties" : {
+ "status" : {
+ "description" : "status text",
+ "type" : "string"
+ }
+ },
+ "type" : "object"
+ },
+ "AuthorizationResult" : {
+ "description" : "Result of authorization",
+ "example" : {
+ "result" : true
+ },
+ "properties" : {
+ "result" : {
+ "description" : "If true, the access is granted",
+ "type" : "boolean"
+ }
+ },
+ "required" : [ "result" ],
+ "type" : "object"
+ },
+ "RicInfo" : {
+ "description" : "Information for a Near-RT RIC",
+ "properties" : {
+ "ricId" : {
+ "description" : "identity of the Near-RT RIC",
+ "type" : "string"
+ },
+ "managedElementIds" : {
+ "description" : "O1 identities for managed entities",
+ "items" : {
+ "description" : "O1 identities for managed entities",
+ "type" : "string"
+ },
+ "type" : "array"
+ },
+ "state" : {
+ "description" : "Represents the states for a Near-RT RIC",
+ "enum" : [ "UNAVAILABLE", "AVAILABLE", "SYNCHRONIZING", "CONSISTENCY_CHECK" ],
+ "type" : "string"
+ },
+ "policyTypeIds" : {
+ "description" : "supported policy types",
+ "items" : {
+ "description" : "supported policy types",
+ "type" : "string"
+ },
+ "type" : "array"
+ }
+ },
+ "type" : "object"
+ },
+ "ServiceRegistrationInfo" : {
+ "description" : "Information for one service",
+ "properties" : {
+ "callbackUrl" : {
+ "description" : "callback for notifying of Near-RT RIC state changes",
+ "type" : "string"
+ },
+ "serviceId" : {
+ "description" : "identity of the service",
+ "type" : "string"
+ },
+ "keepAliveIntervalSeconds" : {
+ "description" : "keep alive interval for the service. This is used to enable optional heartbeat supervision of the service. If set (> 0) the registered service should regularly invoke a 'keepalive' REST call. When a service fails to invoke this 'keepalive' call within the configured time, the service is considered unavailable. An unavailable service will be automatically deregistered and its policies will be deleted. Value 0 means timeout supervision is disabled.",
+ "format" : "int64",
+ "type" : "integer"
+ }
+ },
+ "required" : [ "serviceId" ],
+ "type" : "object"
+ },
+ "PolicyStatusInfo" : {
+ "description" : "Status for one A1-P Policy",
+ "properties" : {
+ "lastModified" : {
+ "description" : "timestamp, last modification time",
+ "type" : "string"
+ },
+ "status" : {
+ "description" : "the Policy status",
+ "type" : "object"
+ }
+ },
+ "type" : "object"
+ },
+ "ServiceStatus" : {
+ "properties" : {
+ "callbackUrl" : {
+ "description" : "callback for notifying of RIC synchronization",
+ "type" : "string"
+ },
+ "serviceId" : {
+ "description" : "identity of the service",
+ "type" : "string"
+ },
+ "keepAliveIntervalSeconds" : {
+ "description" : "policy keep alive timeout",
+ "format" : "int64",
+ "type" : "integer"
+ },
+ "timeSinceLastActivitySeconds" : {
+ "description" : "time since last invocation by the service",
+ "format" : "int64",
+ "type" : "integer"
+ }
+ },
+ "type" : "object"
+ },
+ "RicInfoList" : {
+ "description" : "List of Near-RT RIC information",
+ "properties" : {
+ "rics" : {
+ "description" : "List of Near-RT RIC information",
+ "items" : {
+ "$ref" : "#/components/schemas/RicInfo"
+ },
+ "type" : "array"
+ }
+ },
+ "type" : "object"
+ },
+ "input" : {
+ "description" : "input",
+ "properties" : {
+ "accessType" : {
+ "description" : "Access type",
+ "enum" : [ "READ", "WRITE", "DELETE" ],
+ "type" : "string"
+ },
+ "authToken" : {
+ "description" : "Authorization token",
+ "type" : "string"
+ },
+ "policyTypeId" : {
+ "description" : "Policy type identifier",
+ "type" : "string"
+ }
+ },
+ "required" : [ "accessType", "authToken", "policyTypeId" ],
+ "type" : "object"
+ },
+ "PolicyAuthorization" : {
+ "description" : "Authorization request for A1 policy requests",
+ "properties" : {
+ "input" : {
+ "$ref" : "#/components/schemas/input"
+ }
+ },
+ "required" : [ "input" ],
+ "type" : "object"
+ },
+ "NearRtRicId" : {
+ "description" : "Identity of the policy",
+ "type" : "string"
+ },
+ "PolicyInformation" : {
+ "description" : "Near-RT RIC identifiers where A1 policies exist and for each Near-RT RIC identifier the policy identifiers of those policies that exist in that Near-RT RIC",
+ "properties" : {
+ "policyId" : {
+ "description" : "Identity of the policy",
+ "type" : "string"
+ },
+ "nearRtRicId" : {
+ "$ref" : "#/components/schemas/NearRtRicId"
+ }
+ },
+ "required" : [ "nearRtRicId", "policyId" ],
+ "type" : "object"
+ },
+ "ServiceStatusList" : {
+ "properties" : {
+ "serviceList" : {
+ "description" : "List of service information",
+ "items" : {
+ "$ref" : "#/components/schemas/ServiceStatus"
+ },
+ "type" : "array"
+ }
+ },
+ "type" : "object"
+ },
+ "ServiceCallbackInfo" : {
+ "description" : "Information transferred as in Service callbacks (callback_url)",
+ "properties" : {
+ "ricId" : {
+ "description" : "identity of a Near-RT RIC",
+ "type" : "string"
+ },
+ "eventType" : {
+ "description" : "values:\nAVAILABLE: the Near-RT RIC has become available for A1 Policy management",
+ "enum" : [ "AVAILABLE" ],
+ "type" : "string"
+ }
+ },
+ "required" : [ "eventType", "ricId" ],
+ "type" : "object"
+ },
+ "Link" : {
+ "properties" : {
+ "templated" : {
+ "type" : "boolean"
+ },
+ "href" : {
+ "type" : "string"
+ }
+ },
+ "type" : "object"
+ },
+ "ProblemDetails" : {
+ "description" : "A problem detail to carry details in an HTTP response according to RFC 7807",
+ "properties" : {
+ "type" : {
+ "description" : "a URI reference according to IETF RFC 3986 that identifies the problem type",
+ "type" : "string"
+ },
+ "title" : {
+ "description" : "human-readable summary of the problem type",
+ "type" : "string"
+ },
+ "status" : {
+ "description" : "the HTTP status code",
+ "type" : "number"
+ },
+ "detail" : {
+ "description" : "human-readable explanation ",
+ "type" : "string"
+ },
+ "instance" : {
+ "description" : "URI reference that identifies the specific occurrence of the problem",
+ "type" : "string"
+ }
+ },
+ "type" : "object"
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/a1-policy-management/api/pms-api-v3.yaml b/a1-policy-management/api/offeredapis/swagger/pms-api-v3.yaml
similarity index 99%
rename from a1-policy-management/api/pms-api-v3.yaml
rename to a1-policy-management/api/offeredapis/swagger/pms-api-v3.yaml
index d2d613a..46f881e 100644
--- a/a1-policy-management/api/pms-api-v3.yaml
+++ b/a1-policy-management/api/offeredapis/swagger/pms-api-v3.yaml
@@ -56,8 +56,8 @@
- url: '{apiRoot}/a1-policy-management/v1'
variables:
apiRoot:
- description: 'apiRoot is the Host:port/Domain name of the service where the A1Pms running'
- default: 'https://a1-pms.com'
+ default: 'https://example.com'
+ description: 'This is the Host:Port or Address where the A1-Policy Management Service can be accessed'
tags:
- name: A1 Policy Management
description: "API used to create polices, Policy Instances and get \ them as individual using an ID or get all policies/Instances."
diff --git a/a1-policy-management/api/offeredapis/swagger/pms-api.json b/a1-policy-management/api/offeredapis/swagger/pms-api.json
new file mode 100644
index 0000000..deb5743
--- /dev/null
+++ b/a1-policy-management/api/offeredapis/swagger/pms-api.json
@@ -0,0 +1,1864 @@
+{
+ "openapi" : "3.0.3",
+ "info" : {
+ "contact" : {
+ "email" : "discuss-list@onap.com",
+ "url" : "https://www.onap.org/"
+ },
+ "description" : "<h2>General</h2><p>The O-RAN Non-RT RIC Policy Management Service provides a REST API for managemecnt of A1 policies. <br/>The main tasks of the service are:</p><ul><li>A1 Policy creation, modification and deletion.</li><li>Monitoring and maintaining consistency of the SMO view of A1 policies and the Near-RT RICs</li><li>Maintaining a view of supported Near-RT RIC policy types</li><li>Supervision of using services (R-APPs). When a service is unavailable, its policies are removed.</li></ul><h2>APIs provided or defined by the service</h2><h3>A1 Policy Management</h3><p>This is an API for management of A1 Policies.</p><ul><li>A1 Policy retrieval, creation, modification and deletion.</li><li>Retrieval of supported A1 Policy types for a Near-RT RIC</li><li>Retrieval of status for existing A1 policies</li></ul><h3>Management of configuration</h3><p>API for updating and retrieval of the component configuration. Note that there other ways to maintain the configuration.</p><h3>Service callbacks</h3><p>These are endpoints that are invoked by this service. The callbacks are registered in this service at service registration.</p><h3>NearRT-RIC Repository</h3><p>This is an API that provides support for looking up a NearRT-RIC. Each A1 policy is targeted for one Near-RT RIC.</p><h3>Health Check</h3><p>API used for supervision of the PMS component.</p><h3>Service Registry and Supervision</h3><p>API used for registering services that uses PMS. Each A1 policy is optionally owned by a service. PMS can supervise each registered service by a heart-beat supervision and will automatically remove policies for unavailable services. Note that a service does not need to be registered in order to create A1 Policies. This is a feature that is optional to use.</p><h3>Authorization API</h3><p>API used for access control of A1 Policy access. If configured, an external authorization provider is requested to grant access to the A1 Policy type.</p><h3>Spring Boot Actuator</h3><p>Provides generic functions used to monitor and manage the Spring web application.</p>",
+ "license" : {
+ "name" : "Copyright (C) 2020-2023 Nordix Foundation. Licensed under the Apache License.",
+ "url" : "http://www.apache.org/licenses/LICENSE-2.0"
+ },
+ "title" : "A1 Policy Management Service",
+ "version" : "1.3.0",
+ "x-api-id" : "a31c510b-20e6-4a08-af16-368c44d7fba8",
+ "x-audience" : "external-public"
+ },
+ "servers" : [ {
+ "url" : "/"
+ } ],
+ "tags" : [ {
+ "description" : "API used to create polices, Policy Instances and get them as individual using an ID or get all policies/Instances.",
+ "name" : "A1 Policy Management"
+ }, {
+ "description" : "API used to get the NearRT-RIC for the managed element.",
+ "name" : "NearRT-RIC Repository"
+ }, {
+ "description" : "API used to keep the service Alive with in the timeout period",
+ "name" : "Service Registry and Supervision"
+ }, {
+ "description" : "API used to get the health status and statistics of this service",
+ "name" : "Health Check"
+ }, {
+ "name" : "Service callbacks"
+ }, {
+ "description" : "API used for authorization of information A1 policy access (this is provided by an authorization producer such as OPA). <br> Note that this API is called by PMS, it is not provided.",
+ "name" : "Authorization API"
+ }, {
+ "description" : "API used to create or fetch the application configuration.",
+ "name" : "Configuration"
+ }, {
+ "description" : "Monitor and interact",
+ "externalDocs" : {
+ "description" : "Spring Boot Actuator Web API Documentation",
+ "url" : "https://docs.spring.io/spring-boot/docs/current/actuator-api/html/"
+ },
+ "name" : "Actuator"
+ } ],
+ "paths" : {
+ "/a1-policy/v2/policy-instances" : {
+ "get" : {
+ "description" : "Returns a list of A1 policies matching given search criteria. <br>If several query parameters are defined, the policies matching all conditions are returned.",
+ "operationId" : "getPolicyInstances",
+ "parameters" : [ {
+ "description" : "Select policies with a given type identity.",
+ "explode" : true,
+ "in" : "query",
+ "name" : "policytype_id",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "form"
+ }, {
+ "description" : "Select policies for a given Near-RT RIC identity.",
+ "explode" : true,
+ "in" : "query",
+ "name" : "ric_id",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "form"
+ }, {
+ "description" : "Select policies owned by a given service.",
+ "explode" : true,
+ "in" : "query",
+ "name" : "service_id",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "form"
+ }, {
+ "description" : "Select policies of a given type name (type identity has the format <typename_version>)",
+ "explode" : true,
+ "in" : "query",
+ "name" : "type_name",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "form"
+ } ],
+ "responses" : {
+ "200" : {
+ "content" : {
+ "application/json" : {
+ "examples" : {
+ "policy_info_list" : {
+ "$ref" : "#/components/examples/policy_info_list"
+ }
+ },
+ "schema" : {
+ "$ref" : "#/components/schemas/policy_info_list"
+ }
+ }
+ },
+ "description" : "OK - Returns A1 Policies which matches the criteria"
+ },
+ "404" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/error_information"
+ }
+ }
+ },
+ "description" : "Not Found - Near-RT RIC, policy type or service not found"
+ }
+ },
+ "summary" : "Query for A1 policy instances",
+ "tags" : [ "A1 Policy Management" ]
+ }
+ },
+ "/example-authz-check" : {
+ "post" : {
+ "description" : "The authorization function decides if access is granted.",
+ "operationId" : "performAccessControl",
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/policy_authorization"
+ }
+ }
+ },
+ "required" : true
+ },
+ "responses" : {
+ "200" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/authorization_result"
+ }
+ }
+ },
+ "description" : "OK"
+ },
+ "403" : {
+ "content" : {
+ "application/problem+json" : {
+ "example" : {
+ "status" : 403,
+ "title" : "Forbidden",
+ "detail" : "Your role does not allow to perform this action. Contact System Administrator to change your access rights."
+ },
+ "schema" : {
+ "$ref" : "#/components/schemas/error_information"
+ }
+ }
+ },
+ "description" : "Forbidden"
+ }
+ },
+ "summary" : "Request for access authorization.",
+ "tags" : [ "Authorization API" ]
+ }
+ },
+ "/actuator/threaddump" : {
+ "get" : {
+ "operationId" : "threaddump",
+ "responses" : {
+ "200" : {
+ "content" : {
+ "text/plain;charset=UTF-8" : {
+ "schema" : {
+ "type" : "object"
+ }
+ },
+ "application/vnd.spring-boot.actuator.v3+json" : {
+ "schema" : {
+ "type" : "object"
+ }
+ },
+ "application/json" : {
+ "schema" : {
+ "type" : "object"
+ }
+ },
+ "application/vnd.spring-boot.actuator.v2+json" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ },
+ "description" : "OK"
+ }
+ },
+ "summary" : "Actuator web endpoint 'threaddump'",
+ "tags" : [ "Actuator" ],
+ "x-internal" : true
+ }
+ },
+ "/a1-policy/v2/status" : {
+ "get" : {
+ "description" : "Returns status and statistics of this service",
+ "operationId" : "getStatus",
+ "responses" : {
+ "200" : {
+ "content" : {
+ "application/json" : {
+ "examples" : {
+ "status_info" : {
+ "$ref" : "#/components/examples/status_info"
+ }
+ },
+ "schema" : {
+ "$ref" : "#/components/schemas/status_info"
+ }
+ }
+ },
+ "description" : "OK- Service is living Ok"
+ }
+ },
+ "tags" : [ "Health Check" ]
+ }
+ },
+ "/actuator/loggers" : {
+ "get" : {
+ "operationId" : "loggers",
+ "responses" : {
+ "200" : {
+ "content" : {
+ "application/vnd.spring-boot.actuator.v3+json" : {
+ "schema" : {
+ "type" : "object"
+ }
+ },
+ "application/json" : {
+ "schema" : {
+ "type" : "object"
+ }
+ },
+ "application/vnd.spring-boot.actuator.v2+json" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ },
+ "description" : "OK"
+ }
+ },
+ "summary" : "Actuator web endpoint 'loggers'",
+ "tags" : [ "Actuator" ],
+ "x-internal" : true
+ }
+ },
+ "/actuator/health/**" : {
+ "get" : {
+ "operationId" : "health-path",
+ "responses" : {
+ "200" : {
+ "content" : {
+ "application/vnd.spring-boot.actuator.v3+json" : {
+ "schema" : {
+ "type" : "object"
+ }
+ },
+ "application/json" : {
+ "schema" : {
+ "type" : "object"
+ }
+ },
+ "application/vnd.spring-boot.actuator.v2+json" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ },
+ "description" : "OK"
+ }
+ },
+ "summary" : "Actuator web endpoint 'health-path'",
+ "tags" : [ "Actuator" ],
+ "x-internal" : true
+ }
+ },
+ "/a1-policy/v2/rics/ric" : {
+ "get" : {
+ "description" : "Either a Near-RT RIC identity or a Managed Element identity can be specified.<br>The intention with Managed Element identity is the ID used in O1 for accessing the traffical element (such as the ID of CU).",
+ "operationId" : "getRic",
+ "parameters" : [ {
+ "description" : "The identity of a Managed Element. If given, the Near-RT RIC managing the ME is returned.",
+ "explode" : true,
+ "in" : "query",
+ "name" : "managed_element_id",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "form"
+ }, {
+ "description" : "The identity of a Near-RT RIC to get information for.",
+ "explode" : true,
+ "in" : "query",
+ "name" : "ric_id",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "form"
+ } ],
+ "responses" : {
+ "200" : {
+ "content" : {
+ "application/json" : {
+ "examples" : {
+ "ric_info" : {
+ "$ref" : "#/components/examples/ric_info"
+ }
+ },
+ "schema" : {
+ "$ref" : "#/components/schemas/ric_info"
+ }
+ }
+ },
+ "description" : "OK - Near-RT RIC is found"
+ },
+ "404" : {
+ "content" : {
+ "application/problem+json" : {
+ "example" : [ ]
+ }
+ },
+ "description" : "Not Found"
+ }
+ },
+ "summary" : "Returns info of Near-RT RIC queried by the ric-id and managed-element-id",
+ "tags" : [ "NearRT-RIC Repository" ]
+ }
+ },
+ "/actuator/shutdown" : {
+ "post" : {
+ "operationId" : "shutdown",
+ "responses" : {
+ "200" : {
+ "content" : {
+ "application/vnd.spring-boot.actuator.v3+json" : {
+ "schema" : {
+ "type" : "object"
+ }
+ },
+ "application/json" : {
+ "schema" : {
+ "type" : "object"
+ }
+ },
+ "application/vnd.spring-boot.actuator.v2+json" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ },
+ "description" : "OK"
+ }
+ },
+ "summary" : "Actuator web endpoint 'shutdown'",
+ "tags" : [ "Actuator" ],
+ "x-internal" : true
+ }
+ },
+ "/a1-policy/v2/policy-types" : {
+ "get" : {
+ "description" : "Query policy type identities",
+ "operationId" : "getPolicyTypes",
+ "parameters" : [ {
+ "description" : "Select types for the given Near-RT RIC identity.",
+ "explode" : true,
+ "in" : "query",
+ "name" : "ric_id",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "form"
+ }, {
+ "description" : "Select types with the given type name (type identity has the format <typename_version>)",
+ "explode" : true,
+ "in" : "query",
+ "name" : "type_name",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "form"
+ }, {
+ "description" : "Select types that are compatible with the given version. This parameter is only applicable in conjunction with type_name. As an example version 1.9.1 is compatible with 1.0.0 but not the other way around. Matching types will be returned sorted in ascending order.",
+ "explode" : true,
+ "in" : "query",
+ "name" : "compatible_with_version",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "form"
+ } ],
+ "responses" : {
+ "200" : {
+ "content" : {
+ "application/json" : {
+ "examples" : {
+ "policy_type_id_list" : {
+ "$ref" : "#/components/examples/policy_type_id_list"
+ }
+ },
+ "schema" : {
+ "$ref" : "#/components/schemas/policy_type_id_list"
+ }
+ }
+ },
+ "description" : "OK - Policy Type IDs Found"
+ },
+ "404" : {
+ "content" : {
+ "application/problem+json" : {
+ "example" : [ ]
+ }
+ },
+ "description" : "Not Found"
+ }
+ },
+ "tags" : [ "A1 Policy Management" ]
+ }
+ },
+ "/a1-policy/v2/policies/{policy_id}" : {
+ "delete" : {
+ "description" : "Deleting the policy using the Policy's Policy ID.",
+ "operationId" : "deletePolicy",
+ "parameters" : [ {
+ "explode" : false,
+ "in" : "path",
+ "name" : "policy_id",
+ "required" : true,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "simple"
+ } ],
+ "responses" : {
+ "200" : {
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/void"
+ }
+ }
+ },
+ "description" : "OK - Policy deleted"
+ },
+ "423" : {
+ "content" : {
+ "application/problem+json" : {
+ "example" : {
+ "status" : 423,
+ "title" : "Locked",
+ "detail" : "Requested resource is in a locked state."
+ },
+ "schema" : {
+ "$ref" : "#/components/schemas/error_information"
+ }
+ }
+ },
+ "description" : "Locked - HTTP Status code which can be used when the state is Locked"
+ }
+ },
+ "summary" : "Delete a policy",
+ "tags" : [ "A1 Policy Management" ]
+ },
+ "get" : {
+ "description" : "Returns a policy",
+ "operationId" : "getPolicy",
+ "parameters" : [ {
+ "explode" : false,
+ "in" : "path",
+ "name" : "policy_id",
+ "required" : true,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "simple"
+ } ],
+ "responses" : {
+ "200" : {
+ "content" : {
+ "application/json" : {
+ "examples" : {
+ "policy_info" : {
+ "$ref" : "#/components/examples/policy_info"
+ }
+ },
+ "schema" : {
+ "$ref" : "#/components/schemas/policy_info"
+ }
+ }
+ },
+ "description" : "OK - Policy found"
+ },
+ "404" : {
+ "content" : {
+ "application/problem+json" : {
+ "example" : [ ]
+ }
+ },
+ "description" : "Not Found"
+ }
+ },
+ "tags" : [ "A1 Policy Management" ]
+ }
+ },
+ "/actuator/metrics/{requiredMetricName}" : {
+ "get" : {
+ "operationId" : "metrics-requiredMetricName",
+ "parameters" : [ {
+ "explode" : false,
+ "in" : "path",
+ "name" : "requiredMetricName",
+ "required" : true,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "simple"
+ } ],
+ "responses" : {
+ "200" : {
+ "content" : {
+ "application/vnd.spring-boot.actuator.v3+json" : {
+ "schema" : {
+ "type" : "object"
+ }
+ },
+ "application/json" : {
+ "schema" : {
+ "type" : "object"
+ }
+ },
+ "application/vnd.spring-boot.actuator.v2+json" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ },
+ "description" : "OK"
+ }
+ },
+ "summary" : "Actuator web endpoint 'metrics-requiredMetricName'",
+ "tags" : [ "Actuator" ],
+ "x-internal" : true
+ }
+ },
+ "/a1-policy/v2/configuration" : {
+ "get" : {
+ "description" : "Returns the contents of the application configuration file",
+ "operationId" : "getConfiguration",
+ "responses" : {
+ "200" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "type" : "string"
+ }
+ }
+ },
+ "description" : "OK - Configuration"
+ },
+ "404" : {
+ "content" : {
+ "application/problem+json" : {
+ "example" : [ ]
+ }
+ },
+ "description" : "Not Found"
+ }
+ },
+ "tags" : [ "Configuration" ]
+ },
+ "put" : {
+ "description" : "Replace the current configuration with the given configuration",
+ "operationId" : "putConfiguration",
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ },
+ "required" : true
+ },
+ "responses" : {
+ "200" : {
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/void"
+ }
+ }
+ },
+ "description" : "OK - Configuration updated"
+ },
+ "400" : {
+ "content" : {
+ "application/problem+json" : {
+ "example" : {
+ "status" : 400,
+ "title" : "Bad Request",
+ "detail" : "The provided request is not valid."
+ },
+ "schema" : {
+ "$ref" : "#/components/schemas/error_information"
+ }
+ }
+ },
+ "description" : "Bad Request"
+ }
+ },
+ "tags" : [ "Configuration" ]
+ }
+ },
+ "/actuator" : {
+ "get" : {
+ "operationId" : "links",
+ "responses" : {
+ "200" : {
+ "content" : {
+ "application/vnd.spring-boot.actuator.v3+json" : {
+ "schema" : {
+ "additionalProperties" : {
+ "additionalProperties" : {
+ "$ref" : "#/components/schemas/Link"
+ },
+ "type" : "object"
+ },
+ "type" : "object"
+ }
+ },
+ "application/json" : {
+ "schema" : {
+ "additionalProperties" : {
+ "additionalProperties" : {
+ "$ref" : "#/components/schemas/Link"
+ },
+ "type" : "object"
+ },
+ "type" : "object"
+ }
+ },
+ "application/vnd.spring-boot.actuator.v2+json" : {
+ "schema" : {
+ "additionalProperties" : {
+ "additionalProperties" : {
+ "$ref" : "#/components/schemas/Link"
+ },
+ "type" : "object"
+ },
+ "type" : "object"
+ }
+ }
+ },
+ "description" : "OK"
+ }
+ },
+ "summary" : "Actuator root web endpoint",
+ "tags" : [ "Actuator" ],
+ "x-internal" : true
+ }
+ },
+ "/actuator/loggers/{name}" : {
+ "get" : {
+ "operationId" : "loggers-name",
+ "parameters" : [ {
+ "explode" : false,
+ "in" : "path",
+ "name" : "name",
+ "required" : true,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "simple"
+ } ],
+ "responses" : {
+ "200" : {
+ "content" : {
+ "application/vnd.spring-boot.actuator.v3+json" : {
+ "schema" : {
+ "type" : "object"
+ }
+ },
+ "application/json" : {
+ "schema" : {
+ "type" : "object"
+ }
+ },
+ "application/vnd.spring-boot.actuator.v2+json" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ },
+ "description" : "OK"
+ }
+ },
+ "summary" : "Actuator web endpoint 'loggers-name'",
+ "tags" : [ "Actuator" ],
+ "x-internal" : true
+ },
+ "post" : {
+ "operationId" : "loggers-name_2",
+ "parameters" : [ {
+ "explode" : false,
+ "in" : "path",
+ "name" : "name",
+ "required" : true,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "simple"
+ } ],
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "enum" : [ "TRACE", "DEBUG", "INFO", "WARN", "ERROR", "FATAL", "OFF" ],
+ "type" : "string"
+ }
+ }
+ }
+ },
+ "responses" : {
+ "200" : {
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ },
+ "description" : "OK"
+ }
+ },
+ "summary" : "Actuator web endpoint 'loggers-name'",
+ "tags" : [ "Actuator" ],
+ "x-internal" : true
+ }
+ },
+ "/a1-policy/v2/services/{service_id}/keepalive" : {
+ "put" : {
+ "description" : "A registered service should invoke this operation regularly to indicate that it is still alive. If a registered service fails to invoke this operation before the end of a timeout period the service will be deregistered and all its A1 policies wil be removed. (This timeout can be set or disabled when each service is initially registered)",
+ "operationId" : "keepAliveService",
+ "parameters" : [ {
+ "explode" : false,
+ "in" : "path",
+ "name" : "service_id",
+ "required" : true,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "simple"
+ } ],
+ "responses" : {
+ "200" : {
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ },
+ "description" : "OK - Service supervision timer refreshed, OK"
+ },
+ "404" : {
+ "content" : {
+ "application/problem+json" : {
+ "example" : [ ]
+ }
+ },
+ "description" : "Not Found"
+ }
+ },
+ "summary" : "Heartbeat indicates that the service is running",
+ "tags" : [ "Service Registry and Supervision" ]
+ }
+ },
+ "/actuator/metrics" : {
+ "get" : {
+ "operationId" : "metrics",
+ "responses" : {
+ "200" : {
+ "content" : {
+ "application/vnd.spring-boot.actuator.v3+json" : {
+ "schema" : {
+ "type" : "object"
+ }
+ },
+ "application/json" : {
+ "schema" : {
+ "type" : "object"
+ }
+ },
+ "application/vnd.spring-boot.actuator.v2+json" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ },
+ "description" : "OK"
+ }
+ },
+ "summary" : "Actuator web endpoint 'metrics'",
+ "tags" : [ "Actuator" ],
+ "x-internal" : true
+ }
+ },
+ "/a1-policy/v2/rics" : {
+ "get" : {
+ "description" : "The call returns all Near-RT RICs that supports a given policy type identity",
+ "operationId" : "getRics",
+ "parameters" : [ {
+ "description" : "The identity of a policy type. If given, all Near-RT RICs supporting the policy type are returned",
+ "explode" : true,
+ "in" : "query",
+ "name" : "policytype_id",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "form"
+ } ],
+ "responses" : {
+ "200" : {
+ "content" : {
+ "application/json" : {
+ "examples" : {
+ "ric_info_list" : {
+ "$ref" : "#/components/examples/ric_info_list"
+ }
+ },
+ "schema" : {
+ "$ref" : "#/components/schemas/ric_info_list"
+ }
+ }
+ },
+ "description" : "OK"
+ },
+ "404" : {
+ "content" : {
+ "application/problem+json" : {
+ "example" : [ ]
+ }
+ },
+ "description" : "Not Found"
+ }
+ },
+ "summary" : "Query Near-RT RIC information",
+ "tags" : [ "NearRT-RIC Repository" ]
+ }
+ },
+ "/a1-policy/v2/services" : {
+ "get" : {
+ "description" : "Either information about a registered service with given identity or all registered services are returned.",
+ "operationId" : "getServices",
+ "parameters" : [ {
+ "description" : "The identity of the service",
+ "explode" : true,
+ "in" : "query",
+ "name" : "service_id",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "form"
+ } ],
+ "responses" : {
+ "200" : {
+ "content" : {
+ "application/json" : {
+ "examples" : {
+ "service_status_list" : {
+ "$ref" : "#/components/examples/service_status_list"
+ }
+ },
+ "schema" : {
+ "$ref" : "#/components/schemas/service_status_list"
+ }
+ }
+ },
+ "description" : "OK"
+ },
+ "404" : {
+ "content" : {
+ "application/problem+json" : {
+ "example" : [ ]
+ }
+ },
+ "description" : "Not Found"
+ }
+ },
+ "summary" : "Returns service information",
+ "tags" : [ "Service Registry and Supervision" ]
+ },
+ "put" : {
+ "callbacks" : {
+ "RICStatus" : {
+ "{$request.body#/callback_url}" : {
+ "post" : {
+ "description" : "The URL to this call is registered at Service registration.",
+ "operationId" : "serviceCallback",
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/service_callback_info_v2"
+ }
+ }
+ },
+ "required" : true
+ },
+ "responses" : {
+ "200" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/void"
+ }
+ }
+ },
+ "description" : "OK"
+ },
+ "404" : {
+ "content" : {
+ "application/problem+json" : {
+ "example" : [ ]
+ }
+ },
+ "description" : "Not Found"
+ }
+ },
+ "summary" : "Callback for Near-RT RIC status",
+ "tags" : [ "Service callbacks" ]
+ }
+ }
+ }
+ },
+ "description" : "Registering a service is needed to:<ul><li>Get callbacks about available NearRT RICs.</li><li>Activate supervision of the service. If a service is inactive, its policies will automatically be deleted.</li></ul>Policies can be created even if the service is not registerred. This is a feature which it is optional to use.",
+ "operationId" : "putService",
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/service_registration_info"
+ }
+ }
+ },
+ "required" : true
+ },
+ "responses" : {
+ "200" : {
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ },
+ "description" : "OK - Service updated"
+ },
+ "201" : {
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ },
+ "description" : "Created - Service created"
+ },
+ "400" : {
+ "content" : {
+ "application/problem+json" : {
+ "example" : {
+ "status" : 400,
+ "title" : "Bad Request",
+ "detail" : "The provided request is not valid."
+ },
+ "schema" : {
+ "$ref" : "#/components/schemas/error_information"
+ }
+ }
+ },
+ "description" : "Bad Request"
+ }
+ },
+ "summary" : "Register a service",
+ "tags" : [ "Service Registry and Supervision" ]
+ }
+ },
+ "/actuator/info" : {
+ "get" : {
+ "operationId" : "info",
+ "responses" : {
+ "200" : {
+ "content" : {
+ "application/vnd.spring-boot.actuator.v3+json" : {
+ "schema" : {
+ "type" : "object"
+ }
+ },
+ "application/json" : {
+ "schema" : {
+ "type" : "object"
+ }
+ },
+ "application/vnd.spring-boot.actuator.v2+json" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ },
+ "description" : "OK"
+ }
+ },
+ "summary" : "Actuator web endpoint 'info'",
+ "tags" : [ "Actuator" ],
+ "x-internal" : true
+ }
+ },
+ "/status" : {
+ "get" : {
+ "description" : "Returns status and statistics of this service",
+ "operationId" : "getStatusV1",
+ "responses" : {
+ "200" : {
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "type" : "string"
+ }
+ }
+ },
+ "description" : "OK - Service is living"
+ }
+ },
+ "tags" : [ "Health Check" ]
+ }
+ },
+ "/a1-policy/v2/policy-types/{policytype_id}" : {
+ "get" : {
+ "description" : "Returns a policy type definition",
+ "operationId" : "getPolicyTypeDefinition",
+ "parameters" : [ {
+ "explode" : false,
+ "in" : "path",
+ "name" : "policytype_id",
+ "required" : true,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "simple"
+ } ],
+ "responses" : {
+ "200" : {
+ "content" : {
+ "application/json" : {
+ "examples" : {
+ "policy_type_definition" : {
+ "$ref" : "#/components/examples/policy_type_definition"
+ }
+ },
+ "schema" : {
+ "$ref" : "#/components/schemas/policy_type_definition"
+ }
+ }
+ },
+ "description" : "OK - schema of the given policy type"
+ },
+ "404" : {
+ "content" : {
+ "application/problem+json" : {
+ "example" : [ ]
+ }
+ },
+ "description" : "Not Found"
+ }
+ },
+ "tags" : [ "A1 Policy Management" ]
+ }
+ },
+ "/actuator/logfile" : {
+ "get" : {
+ "operationId" : "logfile",
+ "responses" : {
+ "200" : {
+ "content" : {
+ "text/plain;charset=UTF-8" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ },
+ "description" : "OK"
+ }
+ },
+ "summary" : "Actuator web endpoint 'logfile'",
+ "tags" : [ "Actuator" ],
+ "x-internal" : true
+ }
+ },
+ "/actuator/health" : {
+ "get" : {
+ "operationId" : "health",
+ "responses" : {
+ "200" : {
+ "content" : {
+ "application/vnd.spring-boot.actuator.v3+json" : {
+ "schema" : {
+ "type" : "object"
+ }
+ },
+ "application/json" : {
+ "schema" : {
+ "type" : "object"
+ }
+ },
+ "application/vnd.spring-boot.actuator.v2+json" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ },
+ "description" : "OK"
+ }
+ },
+ "summary" : "Actuator web endpoint 'health'",
+ "tags" : [ "Actuator" ],
+ "x-internal" : true
+ }
+ },
+ "/a1-policy/v2/policies" : {
+ "get" : {
+ "description" : "Returns a list of A1 policies matching given search criteria. <br>If several query parameters are defined, the policies matching all conditions are returned.",
+ "operationId" : "getPolicyIds",
+ "parameters" : [ {
+ "description" : "Select policies of a given policy type identity.",
+ "explode" : true,
+ "in" : "query",
+ "name" : "policytype_id",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "form"
+ }, {
+ "description" : "Select policies of a given Near-RT RIC identity.",
+ "explode" : true,
+ "in" : "query",
+ "name" : "ric_id",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "form"
+ }, {
+ "description" : "Select policies owned by a given service.",
+ "explode" : true,
+ "in" : "query",
+ "name" : "service_id",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "form"
+ }, {
+ "description" : "Select policies of types with the given type name (type identity has the format <typename_version>)",
+ "explode" : true,
+ "in" : "query",
+ "name" : "type_name",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "form"
+ } ],
+ "responses" : {
+ "200" : {
+ "content" : {
+ "application/json" : {
+ "examples" : {
+ "policy_id_list" : {
+ "$ref" : "#/components/examples/policy_id_list"
+ }
+ },
+ "schema" : {
+ "$ref" : "#/components/schemas/policy_id_list"
+ }
+ }
+ },
+ "description" : "OK - Policy identities"
+ },
+ "404" : {
+ "content" : {
+ "application/problem+json" : {
+ "example" : [ ]
+ }
+ },
+ "description" : "Not Found"
+ }
+ },
+ "summary" : "Query policy identities",
+ "tags" : [ "A1 Policy Management" ]
+ },
+ "put" : {
+ "description" : "Create or update a policy",
+ "operationId" : "putPolicy",
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/policy_info"
+ }
+ }
+ },
+ "required" : true
+ },
+ "responses" : {
+ "200" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/void"
+ }
+ }
+ },
+ "description" : "OK - Policy updated"
+ },
+ "201" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/void"
+ }
+ }
+ },
+ "description" : "Created - Policy created"
+ },
+ "423" : {
+ "content" : {
+ "application/problem+json" : {
+ "example" : {
+ "status" : 423,
+ "title" : "Locked",
+ "detail" : "Requested resource is in a locked state."
+ },
+ "schema" : {
+ "$ref" : "#/components/schemas/error_information"
+ }
+ }
+ },
+ "description" : "Locked - HTTP Status code which can be used when the state is Locked"
+ }
+ },
+ "tags" : [ "A1 Policy Management" ]
+ }
+ },
+ "/a1-policy/v2/services/{service_id}" : {
+ "delete" : {
+ "description" : "Unregister a service",
+ "operationId" : "deleteService",
+ "parameters" : [ {
+ "explode" : false,
+ "in" : "path",
+ "name" : "service_id",
+ "required" : true,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "simple"
+ } ],
+ "responses" : {
+ "204" : {
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ },
+ "description" : "No Content - Service unregistered"
+ },
+ "404" : {
+ "content" : {
+ "application/problem+json" : {
+ "example" : [ ]
+ }
+ },
+ "description" : "Not Found"
+ }
+ },
+ "tags" : [ "Service Registry and Supervision" ]
+ }
+ },
+ "/actuator/heapdump" : {
+ "get" : {
+ "operationId" : "heapdump",
+ "responses" : {
+ "200" : {
+ "content" : {
+ "application/octet-stream" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ },
+ "description" : "OK"
+ }
+ },
+ "summary" : "Actuator web endpoint 'heapdump'",
+ "tags" : [ "Actuator" ],
+ "x-internal" : true
+ }
+ },
+ "/a1-policy/v2/policies/{policy_id}/status" : {
+ "get" : {
+ "description" : "Returns a policy status",
+ "operationId" : "getPolicyStatus",
+ "parameters" : [ {
+ "explode" : false,
+ "in" : "path",
+ "name" : "policy_id",
+ "required" : true,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "simple"
+ } ],
+ "responses" : {
+ "200" : {
+ "content" : {
+ "application/json" : {
+ "examples" : {
+ "policy_status_info" : {
+ "$ref" : "#/components/examples/policy_status_info"
+ }
+ },
+ "schema" : {
+ "$ref" : "#/components/schemas/policy_status_info"
+ }
+ }
+ },
+ "description" : "OK - Policy status"
+ },
+ "404" : {
+ "content" : {
+ "application/problem+json" : {
+ "example" : [ ]
+ }
+ },
+ "description" : "Not Found"
+ }
+ },
+ "tags" : [ "A1 Policy Management" ]
+ }
+ }
+ },
+ "components" : {
+ "examples" : {
+ "service_status" : {
+ "description" : "List of service information",
+ "value" : {
+ "callback_url" : "callback_url",
+ "service_id" : "service_id",
+ "keep_alive_interval_seconds" : 0,
+ "time_since_last_activity_seconds" : 6
+ }
+ },
+ "service_status_list" : {
+ "description" : "List of service information",
+ "value" : {
+ "service_list" : [ {
+ "callback_url" : "callback_url",
+ "service_id" : "service_id",
+ "keep_alive_interval_seconds" : 0,
+ "time_since_last_activity_seconds" : 6
+ }, {
+ "callback_url" : "callback_url",
+ "service_id" : "service_id",
+ "keep_alive_interval_seconds" : 0,
+ "time_since_last_activity_seconds" : 6
+ } ]
+ }
+ },
+ "policy_type_definition" : {
+ "description" : "Schema of the given Policy type",
+ "value" : {
+ "policy_schema" : "{}"
+ }
+ },
+ "policy_type_id_list" : {
+ "description" : "Array of policy type id's",
+ "value" : {
+ "policy_type_id_list" : [ "policytype_id", "policytype_id" ]
+ }
+ },
+ "policy_info" : {
+ "description" : "Policy information of one A1-P policy",
+ "value" : {
+ "ric_id" : "ric_id",
+ "policy_id" : "policy_id",
+ "transient" : false,
+ "service_id" : "service_id",
+ "policy_data" : "{}",
+ "status_notification_uri" : "status_notification_uri",
+ "policytype_id" : "policytype_id"
+ }
+ },
+ "policy_info_list" : {
+ "description" : "List of policy information",
+ "value" : {
+ "policies" : [ {
+ "ric_id" : "ric_id",
+ "policy_id" : "policy_id",
+ "transient" : false,
+ "service_id" : "service_id",
+ "policy_data" : "{}",
+ "status_notification_uri" : "status_notification_uri",
+ "policytype_id" : "policytype_id"
+ }, {
+ "ric_id" : "ric_id",
+ "policy_id" : "policy_id",
+ "transient" : false,
+ "service_id" : "service_id",
+ "policy_data" : "{}",
+ "status_notification_uri" : "status_notification_uri",
+ "policytype_id" : "policytype_id"
+ } ]
+ }
+ },
+ "policy_id_list" : {
+ "description" : "A list of policy identities",
+ "value" : {
+ "policy_ids" : [ "some_policy_id", "some_policy_id" ]
+ }
+ },
+ "policy_status_info" : {
+ "description" : "Status for one A1-P Policy",
+ "value" : {
+ "last_modified" : "last_modified",
+ "status" : {
+ "value" : {
+ "status" : "status"
+ }
+ }
+ }
+ },
+ "status_info" : {
+ "value" : {
+ "status" : "status"
+ }
+ },
+ "ric_info" : {
+ "value" : {
+ "ric_id" : "ric_id",
+ "managed_element_ids" : [ "some_managed_element_id", "some_managed_element_id" ],
+ "state" : "UNAVAILABLE",
+ "policytype_ids" : [ "some_policytype_id", "some_policytype_id" ]
+ }
+ },
+ "ric_info_list" : {
+ "value" : {
+ "rics" : [ {
+ "ric_id" : "ric_id",
+ "managed_element_ids" : [ "some_managed_element_id", "some_managed_element_id" ],
+ "state" : "UNAVAILABLE",
+ "policytype_ids" : [ "policytype_id", "policytype_id" ]
+ }, {
+ "ric_id" : "ric_id",
+ "managed_element_ids" : [ "managed_element_ids", "managed_element_ids" ],
+ "state" : "UNAVAILABLE",
+ "policytype_ids" : [ "policytype_ids", "policytype_ids" ]
+ } ]
+ }
+ }
+ },
+ "responses" : {
+ "Locked" : {
+ "content" : {
+ "application/problem+json" : {
+ "example" : {
+ "status" : 423,
+ "title" : "Locked",
+ "detail" : "Requested resource is in a locked state."
+ },
+ "schema" : {
+ "$ref" : "#/components/schemas/error_information"
+ }
+ }
+ },
+ "description" : "Locked - HTTP Status code which can be used when the state is Locked"
+ },
+ "BadRequest" : {
+ "content" : {
+ "application/problem+json" : {
+ "example" : {
+ "status" : 400,
+ "title" : "Bad Request",
+ "detail" : "The provided request is not valid."
+ },
+ "schema" : {
+ "$ref" : "#/components/schemas/error_information"
+ }
+ }
+ },
+ "description" : "Bad Request"
+ },
+ "Forbidden" : {
+ "content" : {
+ "application/problem+json" : {
+ "example" : {
+ "status" : 403,
+ "title" : "Forbidden",
+ "detail" : "Your role does not allow to perform this action. Contact System Administrator to change your access rights."
+ },
+ "schema" : {
+ "$ref" : "#/components/schemas/error_information"
+ }
+ }
+ },
+ "description" : "Forbidden"
+ },
+ "NotFound" : {
+ "content" : {
+ "application/problem+json" : {
+ "example" : [ ]
+ }
+ },
+ "description" : "Not Found"
+ }
+ },
+ "schemas" : {
+ "policy_type_definition" : {
+ "description" : "Contains policy type schema definition",
+ "properties" : {
+ "policy_schema" : {
+ "description" : "Policy type json schema. The schema is a json object following http://json-schema.org/draft-07/schema",
+ "type" : "object"
+ }
+ },
+ "type" : "object"
+ },
+ "error_information" : {
+ "description" : "Problem as defined in https://tools.ietf.org/html/rfc7807",
+ "properties" : {
+ "detail" : {
+ "description" : " A human-readable explanation specific to this occurrence of the problem.",
+ "example" : "Policy type not found",
+ "type" : "string"
+ },
+ "title" : {
+ "description" : "A specific error name",
+ "example" : "Not Found",
+ "type" : "string"
+ },
+ "status" : {
+ "description" : "The HTTP status code generated by the origin server for this occurrence of the problem. ",
+ "example" : 404,
+ "format" : "int32",
+ "type" : "integer"
+ }
+ },
+ "type" : "object"
+ },
+ "void" : {
+ "description" : "Void/empty",
+ "type" : "object"
+ },
+ "status_info" : {
+ "properties" : {
+ "status" : {
+ "description" : "status text",
+ "type" : "string"
+ }
+ },
+ "type" : "object"
+ },
+ "authorization_result" : {
+ "description" : "Result of authorization",
+ "example" : {
+ "result" : true
+ },
+ "properties" : {
+ "result" : {
+ "description" : "If true, the access is granted",
+ "type" : "boolean"
+ }
+ },
+ "required" : [ "result" ],
+ "type" : "object"
+ },
+ "ric_info" : {
+ "description" : "Information for a Near-RT RIC",
+ "properties" : {
+ "ric_id" : {
+ "description" : "identity of the Near-RT RIC",
+ "type" : "string"
+ },
+ "managed_element_ids" : {
+ "description" : "O1 identities for managed entities",
+ "items" : {
+ "description" : "O1 identities for managed entities",
+ "type" : "string"
+ },
+ "type" : "array"
+ },
+ "state" : {
+ "description" : "Represents the states for a Near-RT RIC",
+ "enum" : [ "UNAVAILABLE", "AVAILABLE", "SYNCHRONIZING", "CONSISTENCY_CHECK" ],
+ "type" : "string"
+ },
+ "policytype_ids" : {
+ "description" : "supported policy types",
+ "items" : {
+ "description" : "supported policy types",
+ "type" : "string"
+ },
+ "type" : "array"
+ }
+ },
+ "type" : "object"
+ },
+ "service_registration_info" : {
+ "description" : "Information for one service",
+ "properties" : {
+ "callback_url" : {
+ "description" : "callback for notifying of Near-RT RIC state changes",
+ "type" : "string"
+ },
+ "service_id" : {
+ "description" : "identity of the service",
+ "type" : "string"
+ },
+ "keep_alive_interval_seconds" : {
+ "description" : "keep alive interval for the service. This is used to enable optional heartbeat supervision of the service. If set (> 0) the registered service should regularly invoke a 'keepalive' REST call. When a service fails to invoke this 'keepalive' call within the configured time, the service is considered unavailable. An unavailable service will be automatically deregistered and its policies will be deleted. Value 0 means timeout supervision is disabled.",
+ "format" : "int64",
+ "type" : "integer"
+ }
+ },
+ "required" : [ "service_id" ],
+ "type" : "object"
+ },
+ "policy_info_list" : {
+ "description" : "List of policy information",
+ "properties" : {
+ "policies" : {
+ "description" : "List of policy information",
+ "items" : {
+ "$ref" : "#/components/schemas/policy_info"
+ },
+ "type" : "array"
+ }
+ },
+ "type" : "object"
+ },
+ "policy_status_info" : {
+ "description" : "Status for one A1-P Policy",
+ "properties" : {
+ "last_modified" : {
+ "description" : "timestamp, last modification time",
+ "type" : "string"
+ },
+ "status" : {
+ "description" : "the Policy status",
+ "type" : "object"
+ }
+ },
+ "type" : "object"
+ },
+ "service_status" : {
+ "properties" : {
+ "callback_url" : {
+ "description" : "callback for notifying of RIC synchronization",
+ "type" : "string"
+ },
+ "service_id" : {
+ "description" : "identity of the service",
+ "type" : "string"
+ },
+ "keep_alive_interval_seconds" : {
+ "description" : "policy keep alive timeout",
+ "format" : "int64",
+ "type" : "integer"
+ },
+ "time_since_last_activity_seconds" : {
+ "description" : "time since last invocation by the service",
+ "format" : "int64",
+ "type" : "integer"
+ }
+ },
+ "type" : "object"
+ },
+ "ric_info_list" : {
+ "description" : "List of Near-RT RIC information",
+ "properties" : {
+ "rics" : {
+ "description" : "List of Near-RT RIC information",
+ "items" : {
+ "$ref" : "#/components/schemas/ric_info"
+ },
+ "type" : "array"
+ }
+ },
+ "type" : "object"
+ },
+ "input" : {
+ "description" : "input",
+ "properties" : {
+ "access_type" : {
+ "description" : "Access type",
+ "enum" : [ "READ", "WRITE", "DELETE" ],
+ "type" : "string"
+ },
+ "auth_token" : {
+ "description" : "Authorization token",
+ "type" : "string"
+ },
+ "policy_type_id" : {
+ "description" : "Policy type identifier",
+ "type" : "string"
+ }
+ },
+ "required" : [ "access_type", "auth_token", "policy_type_id" ],
+ "type" : "object"
+ },
+ "policy_authorization" : {
+ "description" : "Authorization request for A1 policy requests",
+ "properties" : {
+ "input" : {
+ "$ref" : "#/components/schemas/input"
+ }
+ },
+ "required" : [ "input" ],
+ "type" : "object"
+ },
+ "policy_type_id_list" : {
+ "description" : "Information about policy types",
+ "properties" : {
+ "policytype_ids" : {
+ "description" : "Policy type identities",
+ "items" : {
+ "description" : "Policy type identities",
+ "type" : "string"
+ },
+ "type" : "array"
+ }
+ },
+ "type" : "object"
+ },
+ "policy_info" : {
+ "description" : "Information for one A1-P Policy",
+ "properties" : {
+ "ric_id" : {
+ "description" : "identity of the target Near-RT RIC",
+ "type" : "string"
+ },
+ "policy_id" : {
+ "description" : "identity of the policy",
+ "type" : "string"
+ },
+ "transient" : {
+ "default" : false,
+ "description" : "if true, the policy is deleted at RIC restart. If false, its value is maintained by this service until explicitly deleted. Default false.",
+ "example" : false,
+ "nullable" : false,
+ "type" : "boolean"
+ },
+ "service_id" : {
+ "default" : "",
+ "description" : "the identity of the service owning the policy. This can be used to group the policies (it is possible to get all policies associated to a service). Note that the service does not need to be registered.",
+ "type" : "string"
+ },
+ "policy_data" : {
+ "description" : "the configuration of the policy",
+ "type" : "object"
+ },
+ "status_notification_uri" : {
+ "description" : "Callback URI for policy status updates",
+ "type" : "string"
+ },
+ "policytype_id" : {
+ "description" : "identity of the policy type",
+ "type" : "string"
+ }
+ },
+ "required" : [ "policy_data", "policy_id", "policytype_id", "ric_id" ],
+ "type" : "object"
+ },
+ "policy_id_list" : {
+ "description" : "A list of policy identities",
+ "example" : {
+ "policy_ids" : [ "policy_ids", "policy_ids" ]
+ },
+ "properties" : {
+ "policy_ids" : {
+ "description" : "Policy identities",
+ "items" : {
+ "description" : "Policy identities",
+ "type" : "string"
+ },
+ "type" : "array"
+ }
+ },
+ "type" : "object"
+ },
+ "service_status_list" : {
+ "properties" : {
+ "service_list" : {
+ "description" : "List of service information",
+ "items" : {
+ "$ref" : "#/components/schemas/service_status"
+ },
+ "type" : "array"
+ }
+ },
+ "type" : "object"
+ },
+ "service_callback_info_v2" : {
+ "description" : "Information transferred as in Service callbacks (callback_url)",
+ "properties" : {
+ "ric_id" : {
+ "description" : "identity of a Near-RT RIC",
+ "type" : "string"
+ },
+ "event_type" : {
+ "description" : "values:\nAVAILABLE: the Near-RT RIC has become available for A1 Policy management",
+ "enum" : [ "AVAILABLE" ],
+ "type" : "string"
+ }
+ },
+ "required" : [ "event_type", "ric_id" ],
+ "type" : "object"
+ },
+ "Link" : {
+ "properties" : {
+ "templated" : {
+ "type" : "boolean"
+ },
+ "href" : {
+ "type" : "string"
+ }
+ },
+ "type" : "object"
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/a1-policy-management/api/pms-api.yaml b/a1-policy-management/api/offeredapis/swagger/pms-api.yaml
similarity index 99%
rename from a1-policy-management/api/pms-api.yaml
rename to a1-policy-management/api/offeredapis/swagger/pms-api.yaml
index 1c25e05..c0b50d4 100644
--- a/a1-policy-management/api/pms-api.yaml
+++ b/a1-policy-management/api/offeredapis/swagger/pms-api.yaml
@@ -431,7 +431,6 @@
- Actuator
/a1-policy/v2/configuration:
get:
- x-internal: true
operationId: getConfiguration
responses:
"200":
@@ -447,7 +446,6 @@
tags:
- Configuration
put:
- x-internal: true
operationId: putConfiguration
requestBody:
content:
diff --git a/a1-policy-management/pom.xml b/a1-policy-management/pom.xml
index 82ea405..798722d 100644
--- a/a1-policy-management/pom.xml
+++ b/a1-policy-management/pom.xml
@@ -264,6 +264,7 @@
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-actuator-autoconfigure</artifactId>
+ <version>3.3.0</version>
</dependency>
</dependencies>
<dependencyManagement>
@@ -395,9 +396,9 @@
</executions>
</plugin>
<plugin>
- <groupId>io.swagger.codegen.v3</groupId>
- <artifactId>swagger-codegen-maven-plugin</artifactId>
- <version>3.0.46</version>
+ <groupId>org.openapitools</groupId>
+ <artifactId>openapi-generator-maven-plugin</artifactId>
+ <version>7.7.0</version>
<executions>
<execution>
<id>generate-openapi-json</id>
@@ -406,21 +407,29 @@
<goal>generate</goal>
</goals>
<configuration>
- <inputSpec>${project.basedir}/api/pms-api.yaml</inputSpec>
- <language>openapi</language>
- <output>${project.basedir}/api</output>
+ <inputSpec>${project.basedir}/api/offeredapis/swagger/pms-api.yaml</inputSpec>
+ <generatorName>openapi</generatorName>
+ <output>${project.basedir}/api/offeredapis/swagger</output>
<configOptions>
- <outputFile>pms-api.json</outputFile>
+ <outputFileName>pms-api.json</outputFileName>
</configOptions>
</configuration>
</execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.openapitools</groupId>
- <artifactId>openapi-generator-maven-plugin</artifactId>
- <version>6.6.0</version>
- <executions>
+ <execution>
+ <id>generate-openapi-json-v3</id>
+ <phase>prepare-package</phase>
+ <goals>
+ <goal>generate</goal>
+ </goals>
+ <configuration>
+ <inputSpec>${project.basedir}/api/offeredapis/swagger/pms-api-v3.yaml</inputSpec>
+ <generatorName>openapi</generatorName>
+ <output>${project.basedir}/api/offeredapis/swagger</output>
+ <configOptions>
+ <outputFileName>pms-api-v3.json</outputFileName>
+ </configOptions>
+ </configuration>
+ </execution>
<execution>
<id>generate-openapi-html</id>
<phase>prepare-package</phase>
@@ -428,9 +437,9 @@
<goal>generate</goal>
</goals>
<configuration>
- <inputSpec>${project.basedir}/api/pms-api.json</inputSpec>
+ <inputSpec>${project.basedir}/api/offeredapis/swagger/pms-api.json</inputSpec>
<generatorName>html2</generatorName>
- <output>${project.basedir}/api/pms-api</output>
+ <output>${project.basedir}/api/offeredapis/openapitoolgen/offeredapis/pms-api</output>
<skipOperationExample>false</skipOperationExample>
<strictSpec>false</strictSpec>
<configOptions>
@@ -445,13 +454,35 @@
</configuration>
</execution>
<execution>
+ <id>generate-openapi-html-v3</id>
+ <phase>prepare-package</phase>
+ <goals>
+ <goal>generate</goal>
+ </goals>
+ <configuration>
+ <inputSpec>${project.basedir}/api/offeredapis/swagger/pms-api-v3.json</inputSpec>
+ <generatorName>html2</generatorName>
+ <output>${project.basedir}/api/offeredapis/openapitoolgen/offeredapis/pms-api/v3</output>
+ <skipOperationExample>false</skipOperationExample>
+ <strictSpec>false</strictSpec>
+ <configOptions>
+ <appDescription>The O-RAN Non-RT RIC Policy Management Service
+ provides a REST API for managing O-RAN A1 Policies.</appDescription>
+ <appName>ONAP CCSDK A1 Policy Management Service</appName>
+ <infoUrl>https://wiki.onap.org/display/DW/O-RAN+A1+Policies+in+ONAP</infoUrl>
+ <licenseInfo>Copyright (C) 2024 OpenInfra Foundation Europe. All rights reserved.</licenseInfo>
+ <licenseUrl>http://www.apache.org/licenses/LICENSE-2.0</licenseUrl>
+ </configOptions>
+ </configuration>
+ </execution>
+ <execution>
<id>generate-policy-api</id>
<phase>generate-sources </phase>
<goals>
<goal>generate</goal>
</goals>
<configuration>
- <inputSpec>${project.basedir}/api/pms-api.yaml</inputSpec>
+ <inputSpec>${project.basedir}/api/offeredapis/swagger/pms-api.yaml</inputSpec>
<invokerPackage>${project.groupId}.a1policymanagementservice.controllers.v2</invokerPackage>
<apiPackage>${project.groupId}.a1policymanagementservice.controllers.api.v2</apiPackage>
<modelPackage>${project.groupId}.a1policymanagementservice.models.v2</modelPackage>
@@ -481,7 +512,7 @@
<goal>generate</goal>
</goals>
<configuration>
- <inputSpec>${project.basedir}/api/pms-api-v3.yaml</inputSpec>
+ <inputSpec>${project.basedir}/api/offeredapis/swagger/pms-api-v3.yaml</inputSpec>
<invokerPackage>${project.groupId}.a1policymanagementservice.controllers.v3</invokerPackage>
<apiPackage>${project.groupId}.a1policymanagementservice.controllers.api.v3</apiPackage>
<modelPackage>${project.groupId}.a1policymanagementservice.models.v3</modelPackage>
@@ -516,34 +547,18 @@
<goal>copy-resources</goal>
</goals>
<configuration>
- <outputDirectory>${project.basedir}/../docs/offeredapis/swagger</outputDirectory>
+ <outputDirectory>${project.basedir}/../docs/offeredapis</outputDirectory>
<overwrite>true</overwrite>
<resources>
<resource>
- <directory>${project.basedir}/api</directory>
+ <directory>${project.basedir}/api/offeredapis</directory>
<includes>
- <include>pms-api.json</include>
- <include>pms-api.yaml</include>
- </includes>
- </resource>
- </resources>
- </configuration>
- </execution>
- <execution>
- <id>copy-resource-openapi-html</id>
- <phase>package</phase>
- <goals>
- <goal>copy-resources</goal>
- </goals>
- <configuration>
- <verbose>true</verbose>
- <outputDirectory>
- ${project.basedir}/../docs/offeredapis/openapitoolgen/offeredapis/pms-api</outputDirectory>
- <resources>
- <resource>
- <directory>${project.basedir}/api/pms-api</directory>
- <includes>
- <include>index.html</include>
+ <include>swagger/pms-api.json</include>
+ <include>swagger/pms-api.yaml</include>
+ <include>swagger/pms-api-v3.json</include>
+ <include>swagger/pms-api-v3.yaml</include>
+ <include>openapitoolgen/offeredapis/pms-api/index.html</include>
+ <include>openapitoolgen/offeredapis/pms-api/v3/index.html</include>
</includes>
</resource>
</resources>
diff --git a/docs/conf.py b/docs/conf.py
index 460f86d..196f094 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -58,6 +58,12 @@
'embed': True,
},
{
+ 'name': 'PMS API V3',
+ 'page': 'offeredapis/pms-api-v3',
+ 'spec': './offeredapis/swagger/pms-api-v3.json',
+ 'embed': True,
+ },
+ {
'name': 'A1 ADAPTER API',
'page': 'offeredapis/a1-adapter-api',
'spec': './offeredapis/swagger/a1-adapter-api.json',
@@ -77,7 +83,7 @@
spelling_lang = "en_GB"
html_extra_path = [
- 'offeredapis/openapitoolgen/offeredapis/pms-api'
+ 'offeredapis/openapitoolgen'
]
#
@@ -91,7 +97,8 @@
app.add_css_file("css/ribbon.css")
linkcheck_ignore = [
- r'http://localhost:\d+/',
- './a1-adapter-api.html', #Generated file that doesn't exist at link check.
- './pms-api.html' #Generated file that doesn't exist at link check.
+ r'http://localhost:\d+/',
+ './a1-adapter-api.html', #Generated file that doesn't exist at link check.
+ './pms-api.html', #Generated file that doesn't exist at link check.
+ './pms-api-v3.html' #Generated file that doesn't exist at link check.
]
diff --git a/docs/offeredapis/offeredapis.rst b/docs/offeredapis/offeredapis.rst
index 28f0083..e94b53a 100644
--- a/docs/offeredapis/offeredapis.rst
+++ b/docs/offeredapis/offeredapis.rst
@@ -48,6 +48,7 @@
:widths: 10,5, 5
"A1 Policy Management Service API (NBI)", ":download:`link <./swagger/pms-api.json>`", ":download:`link <./swagger/pms-api.yaml>`"
+ "A1 Policy Management Service API V3 (NBI)", ":download:`link <./swagger/pms-api-v3.json>`", ":download:`link <./swagger/pms-api-v3.yaml>`"
"A1 ADAPTER API (Internal)", ":download:`link <./swagger/a1-adapter-api.json>`", ":download:`link <./swagger/a1-adapter-api.yaml>`"
.. _pms_api:
@@ -56,6 +57,7 @@
................................
The A1 Policy Management Service API is described in more detail in `A1 Policy Management Service API (html) <./pms-api.html>`_
+A1 Policy Management Service API version 3 is described in more detail at `A1 Policy Management Service API V3 (html) <./pms-api-v3.html>`_
.. _a1_adapter_api:
diff --git a/docs/offeredapis/openapitoolgen/offeredapis/pms-api/index.html b/docs/offeredapis/openapitoolgen/offeredapis/pms-api/index.html
index 66934cd..9580d53 100644
--- a/docs/offeredapis/openapitoolgen/offeredapis/pms-api/index.html
+++ b/docs/offeredapis/openapitoolgen/offeredapis/pms-api/index.html
@@ -7,10 +7,8 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="UTF-8" />
<script>
-/*! jQuery v3.1.0 | (c) jQuery Foundation | jquery.org/license */
-!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,
-r.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);
-if(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});
+/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */
+!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(ie,e){"use strict";var oe=[],r=Object.getPrototypeOf,ae=oe.slice,g=oe.flat?function(e){return oe.flat.call(e)}:function(e){return oe.concat.apply([],e)},s=oe.push,se=oe.indexOf,n={},i=n.toString,ue=n.hasOwnProperty,o=ue.toString,a=o.call(Object),le={},v=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},y=function(e){return null!=e&&e===e.window},C=ie.document,u={type:!0,src:!0,nonce:!0,noModule:!0};function m(e,t,n){var r,i,o=(n=n||C).createElement("script");if(o.text=e,t)for(r in u)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[i.call(e)]||"object":typeof e}var t="3.7.1",l=/HTML$/i,ce=function(e,t){return new ce.fn.init(e,t)};function c(e){var t=!!e&&"length"in e&&e.length,n=x(e);return!v(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}function fe(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}ce.fn=ce.prototype={jquery:t,constructor:ce,length:0,toArray:function(){return ae.call(this)},get:function(e){return null==e?ae.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=ce.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return ce.each(this,e)},map:function(n){return this.pushStack(ce.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(ae.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(ce.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(ce.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:s,sort:oe.sort,splice:oe.splice},ce.extend=ce.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||v(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(l&&r&&(ce.isPlainObject(r)||(i=Array.isArray(r)))?(n=a[t],o=i&&!Array.isArray(n)?[]:i||ce.isPlainObject(n)?n:{},i=!1,a[t]=ce.extend(l,o,r)):void 0!==r&&(a[t]=r));return a},ce.extend({expando:"jQuery"+(t+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==i.call(e))&&(!(t=r(e))||"function"==typeof(n=ue.call(t,"constructor")&&t.constructor)&&o.call(n)===a)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){m(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(c(e)){for(n=e.length;r<n;r++)if(!1===t.call(e[r],r,e[r]))break}else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},text:function(e){var t,n="",r=0,i=e.nodeType;if(!i)while(t=e[r++])n+=ce.text(t);return 1===i||11===i?e.textContent:9===i?e.documentElement.textContent:3===i||4===i?e.nodeValue:n},makeArray:function(e,t){var n=t||[];return null!=e&&(c(Object(e))?ce.merge(n,"string"==typeof e?[e]:e):s.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:se.call(t,e,n)},isXMLDoc:function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!l.test(t||n&&n.nodeName||"HTML")},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,a=!n;i<o;i++)!t(e[i],i)!==a&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,a=[];if(c(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&a.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&a.push(i);return g(a)},guid:1,support:le}),"function"==typeof Symbol&&(ce.fn[Symbol.iterator]=oe[Symbol.iterator]),ce.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){n["[object "+t+"]"]=t.toLowerCase()});var pe=oe.pop,de=oe.sort,he=oe.splice,ge="[\\x20\\t\\r\\n\\f]",ve=new RegExp("^"+ge+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ge+"+$","g");ce.contains=function(e,t){var n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(e.contains?e.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))};var f=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function p(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}ce.escapeSelector=function(e){return(e+"").replace(f,p)};var ye=C,me=s;!function(){var e,b,w,o,a,T,r,C,d,i,k=me,S=ce.expando,E=0,n=0,s=W(),c=W(),u=W(),h=W(),l=function(e,t){return e===t&&(a=!0),0},f="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",t="(?:\\\\[\\da-fA-F]{1,6}"+ge+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",p="\\["+ge+"*("+t+")(?:"+ge+"*([*^$|!~]?=)"+ge+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+t+"))|)"+ge+"*\\]",g=":("+t+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+p+")*)|.*)\\)|)",v=new RegExp(ge+"+","g"),y=new RegExp("^"+ge+"*,"+ge+"*"),m=new RegExp("^"+ge+"*([>+~]|"+ge+")"+ge+"*"),x=new RegExp(ge+"|>"),j=new RegExp(g),A=new RegExp("^"+t+"$"),D={ID:new RegExp("^#("+t+")"),CLASS:new RegExp("^\\.("+t+")"),TAG:new RegExp("^("+t+"|[*])"),ATTR:new RegExp("^"+p),PSEUDO:new RegExp("^"+g),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ge+"*(even|odd|(([+-]|)(\\d*)n|)"+ge+"*(?:([+-]|)"+ge+"*(\\d+)|))"+ge+"*\\)|)","i"),bool:new RegExp("^(?:"+f+")$","i"),needsContext:new RegExp("^"+ge+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ge+"*((?:-\\d)?\\d*)"+ge+"*\\)|)(?=[^-]|$)","i")},N=/^(?:input|select|textarea|button)$/i,q=/^h\d$/i,L=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,H=/[+~]/,O=new RegExp("\\\\[\\da-fA-F]{1,6}"+ge+"?|\\\\([^\\r\\n\\f])","g"),P=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},M=function(){V()},R=J(function(e){return!0===e.disabled&&fe(e,"fieldset")},{dir:"parentNode",next:"legend"});try{k.apply(oe=ae.call(ye.childNodes),ye.childNodes),oe[ye.childNodes.length].nodeType}catch(e){k={apply:function(e,t){me.apply(e,ae.call(t))},call:function(e){me.apply(e,ae.call(arguments,1))}}}function I(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(V(e),e=e||T,C)){if(11!==p&&(u=L.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return k.call(n,a),n}else if(f&&(a=f.getElementById(i))&&I.contains(e,a)&&a.id===i)return k.call(n,a),n}else{if(u[2])return k.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&e.getElementsByClassName)return k.apply(n,e.getElementsByClassName(i)),n}if(!(h[t+" "]||d&&d.test(t))){if(c=t,f=e,1===p&&(x.test(t)||m.test(t))){(f=H.test(t)&&U(e.parentNode)||e)==e&&le.scope||((s=e.getAttribute("id"))?s=ce.escapeSelector(s):e.setAttribute("id",s=S)),o=(l=Y(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+Q(l[o]);c=l.join(",")}try{return k.apply(n,f.querySelectorAll(c)),n}catch(e){h(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return re(t.replace(ve,"$1"),e,n,r)}function W(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function F(e){return e[S]=!0,e}function $(e){var t=T.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function B(t){return function(e){return fe(e,"input")&&e.type===t}}function _(t){return function(e){return(fe(e,"input")||fe(e,"button"))&&e.type===t}}function z(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&R(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function X(a){return F(function(o){return o=+o,F(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function U(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function V(e){var t,n=e?e.ownerDocument||e:ye;return n!=T&&9===n.nodeType&&n.documentElement&&(r=(T=n).documentElement,C=!ce.isXMLDoc(T),i=r.matches||r.webkitMatchesSelector||r.msMatchesSelector,r.msMatchesSelector&&ye!=T&&(t=T.defaultView)&&t.top!==t&&t.addEventListener("unload",M),le.getById=$(function(e){return r.appendChild(e).id=ce.expando,!T.getElementsByName||!T.getElementsByName(ce.expando).length}),le.disconnectedMatch=$(function(e){return i.call(e,"*")}),le.scope=$(function(){return T.querySelectorAll(":scope")}),le.cssHas=$(function(){try{return T.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}}),le.getById?(b.filter.ID=function(e){var t=e.replace(O,P);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(O,P);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},b.find.CLASS=function(e,t){if("undefined"!=typeof t.getElementsByClassName&&C)return t.getElementsByClassName(e)},d=[],$(function(e){var t;r.appendChild(e).innerHTML="<a id='"+S+"' href='' disabled='disabled'></a><select id='"+S+"-\r\\' disabled='disabled'><option selected=''></option></select>",e.querySelectorAll("[selected]").length||d.push("\\["+ge+"*(?:value|"+f+")"),e.querySelectorAll("[id~="+S+"-]").length||d.push("~="),e.querySelectorAll("a#"+S+"+*").length||d.push(".#.+[+~]"),e.querySelectorAll(":checked").length||d.push(":checked"),(t=T.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),r.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&d.push(":enabled",":disabled"),(t=T.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||d.push("\\["+ge+"*name"+ge+"*="+ge+"*(?:''|\"\")")}),le.cssHas||d.push(":has"),d=d.length&&new RegExp(d.join("|")),l=function(e,t){if(e===t)return a=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!le.sortDetached&&t.compareDocumentPosition(e)===n?e===T||e.ownerDocument==ye&&I.contains(ye,e)?-1:t===T||t.ownerDocument==ye&&I.contains(ye,t)?1:o?se.call(o,e)-se.call(o,t):0:4&n?-1:1)}),T}for(e in I.matches=function(e,t){return I(e,null,null,t)},I.matchesSelector=function(e,t){if(V(e),C&&!h[t+" "]&&(!d||!d.test(t)))try{var n=i.call(e,t);if(n||le.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){h(t,!0)}return 0<I(t,T,null,[e]).length},I.contains=function(e,t){return(e.ownerDocument||e)!=T&&V(e),ce.contains(e,t)},I.attr=function(e,t){(e.ownerDocument||e)!=T&&V(e);var n=b.attrHandle[t.toLowerCase()],r=n&&ue.call(b.attrHandle,t.toLowerCase())?n(e,t,!C):void 0;return void 0!==r?r:e.getAttribute(t)},I.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ce.uniqueSort=function(e){var t,n=[],r=0,i=0;if(a=!le.sortStable,o=!le.sortStable&&ae.call(e,0),de.call(e,l),a){while(t=e[i++])t===e[i]&&(r=n.push(i));while(r--)he.call(e,n[r],1)}return o=null,e},ce.fn.uniqueSort=function(){return this.pushStack(ce.uniqueSort(ae.apply(this)))},(b=ce.expr={cacheLength:50,createPseudo:F,match:D,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(O,P),e[3]=(e[3]||e[4]||e[5]||"").replace(O,P),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||I.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&I.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return D.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&j.test(n)&&(t=Y(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(O,P).toLowerCase();return"*"===e?function(){return!0}:function(e){return fe(e,t)}},CLASS:function(e){var t=s[e+" "];return t||(t=new RegExp("(^|"+ge+")"+e+"("+ge+"|$)"))&&s(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=I.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1<t.indexOf(i):"$="===r?i&&t.slice(-i.length)===i:"~="===r?-1<(" "+t.replace(v," ")+" ").indexOf(i):"|="===r&&(t===i||t.slice(0,i.length+1)===i+"-"))}},CHILD:function(d,e,t,h,g){var v="nth"!==d.slice(0,3),y="last"!==d.slice(-4),m="of-type"===e;return 1===h&&0===g?function(e){return!!e.parentNode}:function(e,t,n){var r,i,o,a,s,u=v!==y?"nextSibling":"previousSibling",l=e.parentNode,c=m&&e.nodeName.toLowerCase(),f=!n&&!m,p=!1;if(l){if(v){while(u){o=e;while(o=o[u])if(m?fe(o,c):1===o.nodeType)return!1;s=u="only"===d&&!s&&"nextSibling"}return!0}if(s=[y?l.firstChild:l.lastChild],y&&f){p=(a=(r=(i=l[S]||(l[S]={}))[d]||[])[0]===E&&r[1])&&r[2],o=a&&l.childNodes[a];while(o=++a&&o&&o[u]||(p=a=0)||s.pop())if(1===o.nodeType&&++p&&o===e){i[d]=[E,a,p];break}}else if(f&&(p=a=(r=(i=e[S]||(e[S]={}))[d]||[])[0]===E&&r[1]),!1===p)while(o=++a&&o&&o[u]||(p=a=0)||s.pop())if((m?fe(o,c):1===o.nodeType)&&++p&&(f&&((i=o[S]||(o[S]={}))[d]=[E,p]),o===e))break;return(p-=g)===h||p%h==0&&0<=p/h}}},PSEUDO:function(e,o){var t,a=b.pseudos[e]||b.setFilters[e.toLowerCase()]||I.error("unsupported pseudo: "+e);return a[S]?a(o):1<a.length?(t=[e,e,"",o],b.setFilters.hasOwnProperty(e.toLowerCase())?F(function(e,t){var n,r=a(e,o),i=r.length;while(i--)e[n=se.call(e,r[i])]=!(t[n]=r[i])}):function(e){return a(e,0,t)}):a}},pseudos:{not:F(function(e){var r=[],i=[],s=ne(e.replace(ve,"$1"));return s[S]?F(function(e,t,n,r){var i,o=s(e,null,r,[]),a=e.length;while(a--)(i=o[a])&&(e[a]=!(t[a]=i))}):function(e,t,n){return r[0]=e,s(r,null,n,i),r[0]=null,!i.pop()}}),has:F(function(t){return function(e){return 0<I(t,e).length}}),contains:F(function(t){return t=t.replace(O,P),function(e){return-1<(e.textContent||ce.text(e)).indexOf(t)}}),lang:F(function(n){return A.test(n||"")||I.error("unsupported lang: "+n),n=n.replace(O,P).toLowerCase(),function(e){var t;do{if(t=C?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===n||0===t.indexOf(n+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=ie.location&&ie.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===r},focus:function(e){return e===function(){try{return T.activeElement}catch(e){}}()&&T.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:z(!1),disabled:z(!0),checked:function(e){return fe(e,"input")&&!!e.checked||fe(e,"option")&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!b.pseudos.empty(e)},header:function(e){return q.test(e.nodeName)},input:function(e){return N.test(e.nodeName)},button:function(e){return fe(e,"input")&&"button"===e.type||fe(e,"button")},text:function(e){var t;return fe(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:X(function(){return[0]}),last:X(function(e,t){return[t-1]}),eq:X(function(e,t,n){return[n<0?n+t:n]}),even:X(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:X(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:X(function(e,t,n){var r;for(r=n<0?n+t:t<n?t:n;0<=--r;)e.push(r);return e}),gt:X(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=b.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})b.pseudos[e]=B(e);for(e in{submit:!0,reset:!0})b.pseudos[e]=_(e);function G(){}function Y(e,t){var n,r,i,o,a,s,u,l=c[e+" "];if(l)return t?0:l.slice(0);a=e,s=[],u=b.preFilter;while(a){for(o in n&&!(r=y.exec(a))||(r&&(a=a.slice(r[0].length)||a),s.push(i=[])),n=!1,(r=m.exec(a))&&(n=r.shift(),i.push({value:n,type:r[0].replace(ve," ")}),a=a.slice(n.length)),b.filter)!(r=D[o].exec(a))||u[o]&&!(r=u[o](r))||(n=r.shift(),i.push({value:n,type:o,matches:r}),a=a.slice(n.length));if(!n)break}return t?a.length:a?I.error(e):c(e,s).slice(0)}function Q(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function J(a,e,t){var s=e.dir,u=e.next,l=u||s,c=t&&"parentNode"===l,f=n++;return e.first?function(e,t,n){while(e=e[s])if(1===e.nodeType||c)return a(e,t,n);return!1}:function(e,t,n){var r,i,o=[E,f];if(n){while(e=e[s])if((1===e.nodeType||c)&&a(e,t,n))return!0}else while(e=e[s])if(1===e.nodeType||c)if(i=e[S]||(e[S]={}),u&&fe(e,u))e=e[s]||e;else{if((r=i[l])&&r[0]===E&&r[1]===f)return o[2]=r[2];if((i[l]=o)[2]=a(e,t,n))return!0}return!1}}function K(i){return 1<i.length?function(e,t,n){var r=i.length;while(r--)if(!i[r](e,t,n))return!1;return!0}:i[0]}function Z(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,l=null!=t;s<u;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),l&&t.push(s)));return a}function ee(d,h,g,v,y,e){return v&&!v[S]&&(v=ee(v)),y&&!y[S]&&(y=ee(y,e)),F(function(e,t,n,r){var i,o,a,s,u=[],l=[],c=t.length,f=e||function(e,t,n){for(var r=0,i=t.length;r<i;r++)I(e,t[r],n);return n}(h||"*",n.nodeType?[n]:n,[]),p=!d||!e&&h?f:Z(f,u,d,n,r);if(g?g(p,s=y||(e?d:c||v)?[]:t,n,r):s=p,v){i=Z(s,l),v(i,[],n,r),o=i.length;while(o--)(a=i[o])&&(s[l[o]]=!(p[l[o]]=a))}if(e){if(y||d){if(y){i=[],o=s.length;while(o--)(a=s[o])&&i.push(p[o]=a);y(null,s=[],i,r)}o=s.length;while(o--)(a=s[o])&&-1<(i=y?se.call(e,a):u[o])&&(e[i]=!(t[i]=a))}}else s=Z(s===t?s.splice(c,s.length):s),y?y(null,t,s,r):k.apply(t,s)})}function te(e){for(var i,t,n,r=e.length,o=b.relative[e[0].type],a=o||b.relative[" "],s=o?1:0,u=J(function(e){return e===i},a,!0),l=J(function(e){return-1<se.call(i,e)},a,!0),c=[function(e,t,n){var r=!o&&(n||t!=w)||((i=t).nodeType?u(e,t,n):l(e,t,n));return i=null,r}];s<r;s++)if(t=b.relative[e[s].type])c=[J(K(c),t)];else{if((t=b.filter[e[s].type].apply(null,e[s].matches))[S]){for(n=++s;n<r;n++)if(b.relative[e[n].type])break;return ee(1<s&&K(c),1<s&&Q(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(ve,"$1"),t,s<n&&te(e.slice(s,n)),n<r&&te(e=e.slice(n)),n<r&&Q(e))}c.push(t)}return K(c)}function ne(e,t){var n,v,y,m,x,r,i=[],o=[],a=u[e+" "];if(!a){t||(t=Y(e)),n=t.length;while(n--)(a=te(t[n]))[S]?i.push(a):o.push(a);(a=u(e,(v=o,m=0<(y=i).length,x=0<v.length,r=function(e,t,n,r,i){var o,a,s,u=0,l="0",c=e&&[],f=[],p=w,d=e||x&&b.find.TAG("*",i),h=E+=null==p?1:Math.random()||.1,g=d.length;for(i&&(w=t==T||t||i);l!==g&&null!=(o=d[l]);l++){if(x&&o){a=0,t||o.ownerDocument==T||(V(o),n=!C);while(s=v[a++])if(s(o,t||T,n)){k.call(r,o);break}i&&(E=h)}m&&((o=!s&&o)&&u--,e&&c.push(o))}if(u+=l,m&&l!==u){a=0;while(s=y[a++])s(c,f,t,n);if(e){if(0<u)while(l--)c[l]||f[l]||(f[l]=pe.call(r));f=Z(f)}k.apply(r,f),i&&!e&&0<f.length&&1<u+y.length&&ce.uniqueSort(r)}return i&&(E=h,w=p),c},m?F(r):r))).selector=e}return a}function re(e,t,n,r){var i,o,a,s,u,l="function"==typeof e&&e,c=!r&&Y(e=l.selector||e);if(n=n||[],1===c.length){if(2<(o=c[0]=c[0].slice(0)).length&&"ID"===(a=o[0]).type&&9===t.nodeType&&C&&b.relative[o[1].type]){if(!(t=(b.find.ID(a.matches[0].replace(O,P),t)||[])[0]))return n;l&&(t=t.parentNode),e=e.slice(o.shift().value.length)}i=D.needsContext.test(e)?0:o.length;while(i--){if(a=o[i],b.relative[s=a.type])break;if((u=b.find[s])&&(r=u(a.matches[0].replace(O,P),H.test(o[0].type)&&U(t.parentNode)||t))){if(o.splice(i,1),!(e=r.length&&Q(o)))return k.apply(n,r),n;break}}}return(l||ne(e,c))(r,t,!C,n,!t||H.test(e)&&U(t.parentNode)||t),n}G.prototype=b.filters=b.pseudos,b.setFilters=new G,le.sortStable=S.split("").sort(l).join("")===S,V(),le.sortDetached=$(function(e){return 1&e.compareDocumentPosition(T.createElement("fieldset"))}),ce.find=I,ce.expr[":"]=ce.expr.pseudos,ce.unique=ce.uniqueSort,I.compile=ne,I.select=re,I.setDocument=V,I.tokenize=Y,I.escape=ce.escapeSelector,I.getText=ce.text,I.isXML=ce.isXMLDoc,I.selectors=ce.expr,I.support=ce.support,I.uniqueSort=ce.uniqueSort}();var d=function(e,t,n){var r=[],i=void 0!==n;while((e=e[t])&&9!==e.nodeType)if(1===e.nodeType){if(i&&ce(e).is(n))break;r.push(e)}return r},h=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},b=ce.expr.match.needsContext,w=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function T(e,n,r){return v(n)?ce.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?ce.grep(e,function(e){return e===n!==r}):"string"!=typeof n?ce.grep(e,function(e){return-1<se.call(n,e)!==r}):ce.filter(n,e,r)}ce.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?ce.find.matchesSelector(r,e)?[r]:[]:ce.find.matches(e,ce.grep(t,function(e){return 1===e.nodeType}))},ce.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(ce(e).filter(function(){for(t=0;t<r;t++)if(ce.contains(i[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)ce.find(e,i[t],n);return 1<r?ce.uniqueSort(n):n},filter:function(e){return this.pushStack(T(this,e||[],!1))},not:function(e){return this.pushStack(T(this,e||[],!0))},is:function(e){return!!T(this,"string"==typeof e&&b.test(e)?ce(e):e||[],!1).length}});var k,S=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(ce.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||k,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:S.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof ce?t[0]:t,ce.merge(this,ce.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:C,!0)),w.test(r[1])&&ce.isPlainObject(t))for(r in t)v(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=C.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==n.ready?n.ready(e):e(ce):ce.makeArray(e,this)}).prototype=ce.fn,k=ce(C);var E=/^(?:parents|prev(?:Until|All))/,j={children:!0,contents:!0,next:!0,prev:!0};function A(e,t){while((e=e[t])&&1!==e.nodeType);return e}ce.fn.extend({has:function(e){var t=ce(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(ce.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&ce(e);if(!b.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?-1<a.index(n):1===n.nodeType&&ce.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(1<o.length?ce.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?se.call(ce(e),this[0]):se.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(ce.uniqueSort(ce.merge(this.get(),ce(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),ce.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return d(e,"parentNode")},parentsUntil:function(e,t,n){return d(e,"parentNode",n)},next:function(e){return A(e,"nextSibling")},prev:function(e){return A(e,"previousSibling")},nextAll:function(e){return d(e,"nextSibling")},prevAll:function(e){return d(e,"previousSibling")},nextUntil:function(e,t,n){return d(e,"nextSibling",n)},prevUntil:function(e,t,n){return d(e,"previousSibling",n)},siblings:function(e){return h((e.parentNode||{}).firstChild,e)},children:function(e){return h(e.firstChild)},contents:function(e){return null!=e.contentDocument&&r(e.contentDocument)?e.contentDocument:(fe(e,"template")&&(e=e.content||e),ce.merge([],e.childNodes))}},function(r,i){ce.fn[r]=function(e,t){var n=ce.map(this,i,e);return"Until"!==r.slice(-5)&&(t=e),t&&"string"==typeof t&&(n=ce.filter(t,n)),1<this.length&&(j[r]||ce.uniqueSort(n),E.test(r)&&n.reverse()),this.pushStack(n)}});var D=/[^\x20\t\r\n\f]+/g;function N(e){return e}function q(e){throw e}function L(e,t,n,r){var i;try{e&&v(i=e.promise)?i.call(e).done(t).fail(n):e&&v(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}ce.Callbacks=function(r){var e,n;r="string"==typeof r?(e=r,n={},ce.each(e.match(D)||[],function(e,t){n[t]=!0}),n):ce.extend({},r);var i,t,o,a,s=[],u=[],l=-1,c=function(){for(a=a||r.once,o=i=!0;u.length;l=-1){t=u.shift();while(++l<s.length)!1===s[l].apply(t[0],t[1])&&r.stopOnFalse&&(l=s.length,t=!1)}r.memory||(t=!1),i=!1,a&&(s=t?[]:"")},f={add:function(){return s&&(t&&!i&&(l=s.length-1,u.push(t)),function n(e){ce.each(e,function(e,t){v(t)?r.unique&&f.has(t)||s.push(t):t&&t.length&&"string"!==x(t)&&n(t)})}(arguments),t&&!i&&c()),this},remove:function(){return ce.each(arguments,function(e,t){var n;while(-1<(n=ce.inArray(t,s,n)))s.splice(n,1),n<=l&&l--}),this},has:function(e){return e?-1<ce.inArray(e,s):0<s.length},empty:function(){return s&&(s=[]),this},disable:function(){return a=u=[],s=t="",this},disabled:function(){return!s},lock:function(){return a=u=[],t||i||(s=t=""),this},locked:function(){return!!a},fireWith:function(e,t){return a||(t=[e,(t=t||[]).slice?t.slice():t],u.push(t),i||c()),this},fire:function(){return f.fireWith(this,arguments),this},fired:function(){return!!o}};return f},ce.extend({Deferred:function(e){var o=[["notify","progress",ce.Callbacks("memory"),ce.Callbacks("memory"),2],["resolve","done",ce.Callbacks("once memory"),ce.Callbacks("once memory"),0,"resolved"],["reject","fail",ce.Callbacks("once memory"),ce.Callbacks("once memory"),1,"rejected"]],i="pending",a={state:function(){return i},always:function(){return s.done(arguments).fail(arguments),this},"catch":function(e){return a.then(null,e)},pipe:function(){var i=arguments;return ce.Deferred(function(r){ce.each(o,function(e,t){var n=v(i[t[4]])&&i[t[4]];s[t[1]](function(){var e=n&&n.apply(this,arguments);e&&v(e.promise)?e.promise().progress(r.notify).done(r.resolve).fail(r.reject):r[t[0]+"With"](this,n?[e]:arguments)})}),i=null}).promise()},then:function(t,n,r){var u=0;function l(i,o,a,s){return function(){var n=this,r=arguments,e=function(){var e,t;if(!(i<u)){if((e=a.apply(n,r))===o.promise())throw new TypeError("Thenable self-resolution");t=e&&("object"==typeof e||"function"==typeof e)&&e.then,v(t)?s?t.call(e,l(u,o,N,s),l(u,o,q,s)):(u++,t.call(e,l(u,o,N,s),l(u,o,q,s),l(u,o,N,o.notifyWith))):(a!==N&&(n=void 0,r=[e]),(s||o.resolveWith)(n,r))}},t=s?e:function(){try{e()}catch(e){ce.Deferred.exceptionHook&&ce.Deferred.exceptionHook(e,t.error),u<=i+1&&(a!==q&&(n=void 0,r=[e]),o.rejectWith(n,r))}};i?t():(ce.Deferred.getErrorHook?t.error=ce.Deferred.getErrorHook():ce.Deferred.getStackHook&&(t.error=ce.Deferred.getStackHook()),ie.setTimeout(t))}}return ce.Deferred(function(e){o[0][3].add(l(0,e,v(r)?r:N,e.notifyWith)),o[1][3].add(l(0,e,v(t)?t:N)),o[2][3].add(l(0,e,v(n)?n:q))}).promise()},promise:function(e){return null!=e?ce.extend(e,a):a}},s={};return ce.each(o,function(e,t){var n=t[2],r=t[5];a[t[1]]=n.add,r&&n.add(function(){i=r},o[3-e][2].disable,o[3-e][3].disable,o[0][2].lock,o[0][3].lock),n.add(t[3].fire),s[t[0]]=function(){return s[t[0]+"With"](this===s?void 0:this,arguments),this},s[t[0]+"With"]=n.fireWith}),a.promise(s),e&&e.call(s,s),s},when:function(e){var n=arguments.length,t=n,r=Array(t),i=ae.call(arguments),o=ce.Deferred(),a=function(t){return function(e){r[t]=this,i[t]=1<arguments.length?ae.call(arguments):e,--n||o.resolveWith(r,i)}};if(n<=1&&(L(e,o.done(a(t)).resolve,o.reject,!n),"pending"===o.state()||v(i[t]&&i[t].then)))return o.then();while(t--)L(i[t],a(t),o.reject);return o.promise()}});var H=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;ce.Deferred.exceptionHook=function(e,t){ie.console&&ie.console.warn&&e&&H.test(e.name)&&ie.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},ce.readyException=function(e){ie.setTimeout(function(){throw e})};var O=ce.Deferred();function P(){C.removeEventListener("DOMContentLoaded",P),ie.removeEventListener("load",P),ce.ready()}ce.fn.ready=function(e){return O.then(e)["catch"](function(e){ce.readyException(e)}),this},ce.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--ce.readyWait:ce.isReady)||(ce.isReady=!0)!==e&&0<--ce.readyWait||O.resolveWith(C,[ce])}}),ce.ready.then=O.then,"complete"===C.readyState||"loading"!==C.readyState&&!C.documentElement.doScroll?ie.setTimeout(ce.ready):(C.addEventListener("DOMContentLoaded",P),ie.addEventListener("load",P));var M=function(e,t,n,r,i,o,a){var s=0,u=e.length,l=null==n;if("object"===x(n))for(s in i=!0,n)M(e,t,s,n[s],!0,o,a);else if(void 0!==r&&(i=!0,v(r)||(a=!0),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(ce(e),n)})),t))for(;s<u;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:l?t.call(e):u?t(e[0],n):o},R=/^-ms-/,I=/-([a-z])/g;function W(e,t){return t.toUpperCase()}function F(e){return e.replace(R,"ms-").replace(I,W)}var $=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function B(){this.expando=ce.expando+B.uid++}B.uid=1,B.prototype={cache:function(e){var t=e[this.expando];return t||(t={},$(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[F(t)]=n;else for(r in t)i[F(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][F(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(F):(t=F(t))in r?[t]:t.match(D)||[]).length;while(n--)delete r[t[n]]}(void 0===t||ce.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!ce.isEmptyObject(t)}};var _=new B,z=new B,X=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,U=/[A-Z]/g;function V(e,t,n){var r,i;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(U,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n="true"===(i=n)||"false"!==i&&("null"===i?null:i===+i+""?+i:X.test(i)?JSON.parse(i):i)}catch(e){}z.set(e,t,n)}else n=void 0;return n}ce.extend({hasData:function(e){return z.hasData(e)||_.hasData(e)},data:function(e,t,n){return z.access(e,t,n)},removeData:function(e,t){z.remove(e,t)},_data:function(e,t,n){return _.access(e,t,n)},_removeData:function(e,t){_.remove(e,t)}}),ce.fn.extend({data:function(n,e){var t,r,i,o=this[0],a=o&&o.attributes;if(void 0===n){if(this.length&&(i=z.get(o),1===o.nodeType&&!_.get(o,"hasDataAttrs"))){t=a.length;while(t--)a[t]&&0===(r=a[t].name).indexOf("data-")&&(r=F(r.slice(5)),V(o,r,i[r]));_.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof n?this.each(function(){z.set(this,n)}):M(this,function(e){var t;if(o&&void 0===e)return void 0!==(t=z.get(o,n))?t:void 0!==(t=V(o,n))?t:void 0;this.each(function(){z.set(this,n,e)})},null,e,1<arguments.length,null,!0)},removeData:function(e){return this.each(function(){z.remove(this,e)})}}),ce.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=_.get(e,t),n&&(!r||Array.isArray(n)?r=_.access(e,t,ce.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=ce.queue(e,t),r=n.length,i=n.shift(),o=ce._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,function(){ce.dequeue(e,t)},o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return _.get(e,n)||_.access(e,n,{empty:ce.Callbacks("once memory").add(function(){_.remove(e,[t+"queue",n])})})}}),ce.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?ce.queue(this[0],t):void 0===n?this:this.each(function(){var e=ce.queue(this,t,n);ce._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&ce.dequeue(this,t)})},dequeue:function(e){return this.each(function(){ce.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=ce.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};"string"!=typeof e&&(t=e,e=void 0),e=e||"fx";while(a--)(n=_.get(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var G=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Y=new RegExp("^(?:([+-])=|)("+G+")([a-z%]*)$","i"),Q=["Top","Right","Bottom","Left"],J=C.documentElement,K=function(e){return ce.contains(e.ownerDocument,e)},Z={composed:!0};J.getRootNode&&(K=function(e){return ce.contains(e.ownerDocument,e)||e.getRootNode(Z)===e.ownerDocument});var ee=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&K(e)&&"none"===ce.css(e,"display")};function te(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return ce.css(e,t,"")},u=s(),l=n&&n[3]||(ce.cssNumber[t]?"":"px"),c=e.nodeType&&(ce.cssNumber[t]||"px"!==l&&+u)&&Y.exec(ce.css(e,t));if(c&&c[3]!==l){u/=2,l=l||c[3],c=+u||1;while(a--)ce.style(e,t,c+l),(1-o)*(1-(o=s()/u||.5))<=0&&(a=0),c/=o;c*=2,ce.style(e,t,c+l),n=n||[]}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}var ne={};function re(e,t){for(var n,r,i,o,a,s,u,l=[],c=0,f=e.length;c<f;c++)(r=e[c]).style&&(n=r.style.display,t?("none"===n&&(l[c]=_.get(r,"display")||null,l[c]||(r.style.display="")),""===r.style.display&&ee(r)&&(l[c]=(u=a=o=void 0,a=(i=r).ownerDocument,s=i.nodeName,(u=ne[s])||(o=a.body.appendChild(a.createElement(s)),u=ce.css(o,"display"),o.parentNode.removeChild(o),"none"===u&&(u="block"),ne[s]=u)))):"none"!==n&&(l[c]="none",_.set(r,"display",n)));for(c=0;c<f;c++)null!=l[c]&&(e[c].style.display=l[c]);return e}ce.fn.extend({show:function(){return re(this,!0)},hide:function(){return re(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ee(this)?ce(this).show():ce(this).hide()})}});var xe,be,we=/^(?:checkbox|radio)$/i,Te=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Ce=/^$|^module$|\/(?:java|ecma)script/i;xe=C.createDocumentFragment().appendChild(C.createElement("div")),(be=C.createElement("input")).setAttribute("type","radio"),be.setAttribute("checked","checked"),be.setAttribute("name","t"),xe.appendChild(be),le.checkClone=xe.cloneNode(!0).cloneNode(!0).lastChild.checked,xe.innerHTML="<textarea>x</textarea>",le.noCloneChecked=!!xe.cloneNode(!0).lastChild.defaultValue,xe.innerHTML="<option></option>",le.option=!!xe.lastChild;var ke={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,"",""]};function Se(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&fe(e,t)?ce.merge([e],n):n}function Ee(e,t){for(var n=0,r=e.length;n<r;n++)_.set(e[n],"globalEval",!t||_.get(t[n],"globalEval"))}ke.tbody=ke.tfoot=ke.colgroup=ke.caption=ke.thead,ke.th=ke.td,le.option||(ke.optgroup=ke.option=[1,"<select multiple='multiple'>","</select>"]);var je=/<|&#?\w+;/;function Ae(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d<h;d++)if((o=e[d])||0===o)if("object"===x(o))ce.merge(p,o.nodeType?[o]:o);else if(je.test(o)){a=a||f.appendChild(t.createElement("div")),s=(Te.exec(o)||["",""])[1].toLowerCase(),u=ke[s]||ke._default,a.innerHTML=u[1]+ce.htmlPrefilter(o)+u[2],c=u[0];while(c--)a=a.lastChild;ce.merge(p,a.childNodes),(a=f.firstChild).textContent=""}else p.push(t.createTextNode(o));f.textContent="",d=0;while(o=p[d++])if(r&&-1<ce.inArray(o,r))i&&i.push(o);else if(l=K(o),a=Se(f.appendChild(o),"script"),l&&Ee(a),n){c=0;while(o=a[c++])Ce.test(o.type||"")&&n.push(o)}return f}var De=/^([^.]*)(?:\.(.+)|)/;function Ne(){return!0}function qe(){return!1}function Le(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Le(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=qe;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return ce().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=ce.guid++)),e.each(function(){ce.event.add(this,t,i,r,n)})}function He(e,r,t){t?(_.set(e,r,!1),ce.event.add(e,r,{namespace:!1,handler:function(e){var t,n=_.get(this,r);if(1&e.isTrigger&&this[r]){if(n)(ce.event.special[r]||{}).delegateType&&e.stopPropagation();else if(n=ae.call(arguments),_.set(this,r,n),this[r](),t=_.get(this,r),_.set(this,r,!1),n!==t)return e.stopImmediatePropagation(),e.preventDefault(),t}else n&&(_.set(this,r,ce.event.trigger(n[0],n.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=Ne)}})):void 0===_.get(e,r)&&ce.event.add(e,r,Ne)}ce.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=_.get(t);if($(t)){n.handler&&(n=(o=n).handler,i=o.selector),i&&ce.find.matchesSelector(J,i),n.guid||(n.guid=ce.guid++),(u=v.events)||(u=v.events=Object.create(null)),(a=v.handle)||(a=v.handle=function(e){return"undefined"!=typeof ce&&ce.event.triggered!==e.type?ce.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(D)||[""]).length;while(l--)d=g=(s=De.exec(e[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=ce.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=ce.event.special[d]||{},c=ce.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&ce.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),ce.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=_.hasData(e)&&_.get(e);if(v&&(u=v.events)){l=(t=(t||"").match(D)||[""]).length;while(l--)if(d=g=(s=De.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){f=ce.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||ce.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)ce.event.remove(e,d+t[l],n,r,!0);ce.isEmptyObject(u)&&_.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=new Array(arguments.length),u=ce.event.fix(e),l=(_.get(this,"events")||Object.create(null))[u.type]||[],c=ce.event.special[u.type]||{};for(s[0]=u,t=1;t<arguments.length;t++)s[t]=arguments[t];if(u.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,u)){a=ce.event.handlers.call(this,u,l),t=0;while((i=a[t++])&&!u.isPropagationStopped()){u.currentTarget=i.elem,n=0;while((o=i.handlers[n++])&&!u.isImmediatePropagationStopped())u.rnamespace&&!1!==o.namespace&&!u.rnamespace.test(o.namespace)||(u.handleObj=o,u.data=o.data,void 0!==(r=((ce.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,s))&&!1===(u.result=r)&&(u.preventDefault(),u.stopPropagation()))}return c.postDispatch&&c.postDispatch.call(this,u),u.result}},handlers:function(e,t){var n,r,i,o,a,s=[],u=t.delegateCount,l=e.target;if(u&&l.nodeType&&!("click"===e.type&&1<=e.button))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(o=[],a={},n=0;n<u;n++)void 0===a[i=(r=t[n]).selector+" "]&&(a[i]=r.needsContext?-1<ce(i,this).index(l):ce.find(i,this,null,[l]).length),a[i]&&o.push(r);o.length&&s.push({elem:l,handlers:o})}return l=this,u<t.length&&s.push({elem:l,handlers:t.slice(u)}),s},addProp:function(t,e){Object.defineProperty(ce.Event.prototype,t,{enumerable:!0,configurable:!0,get:v(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(e){return e[ce.expando]?e:new ce.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return we.test(t.type)&&t.click&&fe(t,"input")&&He(t,"click",!0),!1},trigger:function(e){var t=this||e;return we.test(t.type)&&t.click&&fe(t,"input")&&He(t,"click"),!0},_default:function(e){var t=e.target;return we.test(t.type)&&t.click&&fe(t,"input")&&_.get(t,"click")||fe(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},ce.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},ce.Event=function(e,t){if(!(this instanceof ce.Event))return new ce.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Ne:qe,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&ce.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[ce.expando]=!0},ce.Event.prototype={constructor:ce.Event,isDefaultPrevented:qe,isPropagationStopped:qe,isImmediatePropagationStopped:qe,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Ne,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Ne,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Ne,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},ce.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,code:!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:!0},ce.event.addProp),ce.each({focus:"focusin",blur:"focusout"},function(r,i){function o(e){if(C.documentMode){var t=_.get(this,"handle"),n=ce.event.fix(e);n.type="focusin"===e.type?"focus":"blur",n.isSimulated=!0,t(e),n.target===n.currentTarget&&t(n)}else ce.event.simulate(i,e.target,ce.event.fix(e))}ce.event.special[r]={setup:function(){var e;if(He(this,r,!0),!C.documentMode)return!1;(e=_.get(this,i))||this.addEventListener(i,o),_.set(this,i,(e||0)+1)},trigger:function(){return He(this,r),!0},teardown:function(){var e;if(!C.documentMode)return!1;(e=_.get(this,i)-1)?_.set(this,i,e):(this.removeEventListener(i,o),_.remove(this,i))},_default:function(e){return _.get(e.target,r)},delegateType:i},ce.event.special[i]={setup:function(){var e=this.ownerDocument||this.document||this,t=C.documentMode?this:e,n=_.get(t,i);n||(C.documentMode?this.addEventListener(i,o):e.addEventListener(r,o,!0)),_.set(t,i,(n||0)+1)},teardown:function(){var e=this.ownerDocument||this.document||this,t=C.documentMode?this:e,n=_.get(t,i)-1;n?_.set(t,i,n):(C.documentMode?this.removeEventListener(i,o):e.removeEventListener(r,o,!0),_.remove(t,i))}}}),ce.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,i){ce.event.special[e]={delegateType:i,bindType:i,handle:function(e){var t,n=e.relatedTarget,r=e.handleObj;return n&&(n===this||ce.contains(this,n))||(e.type=r.origType,t=r.handler.apply(this,arguments),e.type=i),t}}}),ce.fn.extend({on:function(e,t,n,r){return Le(this,e,t,n,r)},one:function(e,t,n,r){return Le(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,ce(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=qe),this.each(function(){ce.event.remove(this,e,n,t)})}});var Oe=/<script|<style|<link/i,Pe=/checked\s*(?:[^=]|=\s*.checked.)/i,Me=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Re(e,t){return fe(e,"table")&&fe(11!==t.nodeType?t:t.firstChild,"tr")&&ce(e).children("tbody")[0]||e}function Ie(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function We(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Fe(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(_.hasData(e)&&(s=_.get(e).events))for(i in _.remove(t,"handle events"),s)for(n=0,r=s[i].length;n<r;n++)ce.event.add(t,i,s[i][n]);z.hasData(e)&&(o=z.access(e),a=ce.extend({},o),z.set(t,a))}}function $e(n,r,i,o){r=g(r);var e,t,a,s,u,l,c=0,f=n.length,p=f-1,d=r[0],h=v(d);if(h||1<f&&"string"==typeof d&&!le.checkClone&&Pe.test(d))return n.each(function(e){var t=n.eq(e);h&&(r[0]=d.call(this,e,t.html())),$e(t,r,i,o)});if(f&&(t=(e=Ae(r,n[0].ownerDocument,!1,n,o)).firstChild,1===e.childNodes.length&&(e=t),t||o)){for(s=(a=ce.map(Se(e,"script"),Ie)).length;c<f;c++)u=e,c!==p&&(u=ce.clone(u,!0,!0),s&&ce.merge(a,Se(u,"script"))),i.call(n[c],u,c);if(s)for(l=a[a.length-1].ownerDocument,ce.map(a,We),c=0;c<s;c++)u=a[c],Ce.test(u.type||"")&&!_.access(u,"globalEval")&&ce.contains(l,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?ce._evalUrl&&!u.noModule&&ce._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")},l):m(u.textContent.replace(Me,""),u,l))}return n}function Be(e,t,n){for(var r,i=t?ce.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||ce.cleanData(Se(r)),r.parentNode&&(n&&K(r)&&Ee(Se(r,"script")),r.parentNode.removeChild(r));return e}ce.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,i,o,a,s,u,l,c=e.cloneNode(!0),f=K(e);if(!(le.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||ce.isXMLDoc(e)))for(a=Se(c),r=0,i=(o=Se(e)).length;r<i;r++)s=o[r],u=a[r],void 0,"input"===(l=u.nodeName.toLowerCase())&&we.test(s.type)?u.checked=s.checked:"input"!==l&&"textarea"!==l||(u.defaultValue=s.defaultValue);if(t)if(n)for(o=o||Se(e),a=a||Se(c),r=0,i=o.length;r<i;r++)Fe(o[r],a[r]);else Fe(e,c);return 0<(a=Se(c,"script")).length&&Ee(a,!f&&Se(e,"script")),c},cleanData:function(e){for(var t,n,r,i=ce.event.special,o=0;void 0!==(n=e[o]);o++)if($(n)){if(t=n[_.expando]){if(t.events)for(r in t.events)i[r]?ce.event.remove(n,r):ce.removeEvent(n,r,t.handle);n[_.expando]=void 0}n[z.expando]&&(n[z.expando]=void 0)}}}),ce.fn.extend({detach:function(e){return Be(this,e,!0)},remove:function(e){return Be(this,e)},text:function(e){return M(this,function(e){return void 0===e?ce.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return $e(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Re(this,e).appendChild(e)})},prepend:function(){return $e(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Re(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return $e(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return $e(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(ce.cleanData(Se(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return ce.clone(this,e,t)})},html:function(e){return M(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Oe.test(e)&&!ke[(Te.exec(e)||["",""])[1].toLowerCase()]){e=ce.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(ce.cleanData(Se(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var n=[];return $e(this,arguments,function(e){var t=this.parentNode;ce.inArray(this,n)<0&&(ce.cleanData(Se(this)),t&&t.replaceChild(e,this))},n)}}),ce.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,a){ce.fn[e]=function(e){for(var t,n=[],r=ce(e),i=r.length-1,o=0;o<=i;o++)t=o===i?this:this.clone(!0),ce(r[o])[a](t),s.apply(n,t.get());return this.pushStack(n)}});var _e=new RegExp("^("+G+")(?!px)[a-z%]+$","i"),ze=/^--/,Xe=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=ie),t.getComputedStyle(e)},Ue=function(e,t,n){var r,i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];for(i in r=n.call(e),t)e.style[i]=o[i];return r},Ve=new RegExp(Q.join("|"),"i");function Ge(e,t,n){var r,i,o,a,s=ze.test(t),u=e.style;return(n=n||Xe(e))&&(a=n.getPropertyValue(t)||n[t],s&&a&&(a=a.replace(ve,"$1")||void 0),""!==a||K(e)||(a=ce.style(e,t)),!le.pixelBoxStyles()&&_e.test(a)&&Ve.test(t)&&(r=u.width,i=u.minWidth,o=u.maxWidth,u.minWidth=u.maxWidth=u.width=a,a=n.width,u.width=r,u.minWidth=i,u.maxWidth=o)),void 0!==a?a+"":a}function Ye(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(l){u.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",l.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",J.appendChild(u).appendChild(l);var e=ie.getComputedStyle(l);n="1%"!==e.top,s=12===t(e.marginLeft),l.style.right="60%",o=36===t(e.right),r=36===t(e.width),l.style.position="absolute",i=12===t(l.offsetWidth/3),J.removeChild(u),l=null}}function t(e){return Math.round(parseFloat(e))}var n,r,i,o,a,s,u=C.createElement("div"),l=C.createElement("div");l.style&&(l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",le.clearCloneStyle="content-box"===l.style.backgroundClip,ce.extend(le,{boxSizingReliable:function(){return e(),r},pixelBoxStyles:function(){return e(),o},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),s},scrollboxSize:function(){return e(),i},reliableTrDimensions:function(){var e,t,n,r;return null==a&&(e=C.createElement("table"),t=C.createElement("tr"),n=C.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="box-sizing:content-box;border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",J.appendChild(e).appendChild(t).appendChild(n),r=ie.getComputedStyle(t),a=parseInt(r.height,10)+parseInt(r.borderTopWidth,10)+parseInt(r.borderBottomWidth,10)===t.offsetHeight,J.removeChild(e)),a}}))}();var Qe=["Webkit","Moz","ms"],Je=C.createElement("div").style,Ke={};function Ze(e){var t=ce.cssProps[e]||Ke[e];return t||(e in Je?e:Ke[e]=function(e){var t=e[0].toUpperCase()+e.slice(1),n=Qe.length;while(n--)if((e=Qe[n]+t)in Je)return e}(e)||e)}var et=/^(none|table(?!-c[ea]).+)/,tt={position:"absolute",visibility:"hidden",display:"block"},nt={letterSpacing:"0",fontWeight:"400"};function rt(e,t,n){var r=Y.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function it(e,t,n,r,i,o){var a="width"===t?1:0,s=0,u=0,l=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(l+=ce.css(e,n+Q[a],!0,i)),r?("content"===n&&(u-=ce.css(e,"padding"+Q[a],!0,i)),"margin"!==n&&(u-=ce.css(e,"border"+Q[a]+"Width",!0,i))):(u+=ce.css(e,"padding"+Q[a],!0,i),"padding"!==n?u+=ce.css(e,"border"+Q[a]+"Width",!0,i):s+=ce.css(e,"border"+Q[a]+"Width",!0,i));return!r&&0<=o&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-.5))||0),u+l}function ot(e,t,n){var r=Xe(e),i=(!le.boxSizingReliable()||n)&&"border-box"===ce.css(e,"boxSizing",!1,r),o=i,a=Ge(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(_e.test(a)){if(!n)return a;a="auto"}return(!le.boxSizingReliable()&&i||!le.reliableTrDimensions()&&fe(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===ce.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===ce.css(e,"boxSizing",!1,r),(o=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+it(e,t,n||(i?"border":"content"),o,r,a)+"px"}function at(e,t,n,r,i){return new at.prototype.init(e,t,n,r,i)}ce.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ge(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=F(t),u=ze.test(t),l=e.style;if(u||(t=Ze(s)),a=ce.cssHooks[t]||ce.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:l[t];"string"===(o=typeof n)&&(i=Y.exec(n))&&i[1]&&(n=te(e,t,i),o="number"),null!=n&&n==n&&("number"!==o||u||(n+=i&&i[3]||(ce.cssNumber[s]?"":"px")),le.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var i,o,a,s=F(t);return ze.test(t)||(t=Ze(s)),(a=ce.cssHooks[t]||ce.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=Ge(e,t,r)),"normal"===i&&t in nt&&(i=nt[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),ce.each(["height","width"],function(e,u){ce.cssHooks[u]={get:function(e,t,n){if(t)return!et.test(ce.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?ot(e,u,n):Ue(e,tt,function(){return ot(e,u,n)})},set:function(e,t,n){var r,i=Xe(e),o=!le.scrollboxSize()&&"absolute"===i.position,a=(o||n)&&"border-box"===ce.css(e,"boxSizing",!1,i),s=n?it(e,u,n,a,i):0;return a&&o&&(s-=Math.ceil(e["offset"+u[0].toUpperCase()+u.slice(1)]-parseFloat(i[u])-it(e,u,"border",!1,i)-.5)),s&&(r=Y.exec(t))&&"px"!==(r[3]||"px")&&(e.style[u]=t,t=ce.css(e,u)),rt(0,t,s)}}}),ce.cssHooks.marginLeft=Ye(le.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Ge(e,"marginLeft"))||e.getBoundingClientRect().left-Ue(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),ce.each({margin:"",padding:"",border:"Width"},function(i,o){ce.cssHooks[i+o]={expand:function(e){for(var t=0,n={},r="string"==typeof e?e.split(" "):[e];t<4;t++)n[i+Q[t]+o]=r[t]||r[t-2]||r[0];return n}},"margin"!==i&&(ce.cssHooks[i+o].set=rt)}),ce.fn.extend({css:function(e,t){return M(this,function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=Xe(e),i=t.length;a<i;a++)o[t[a]]=ce.css(e,t[a],!1,r);return o}return void 0!==n?ce.style(e,t,n):ce.css(e,t)},e,t,1<arguments.length)}}),((ce.Tween=at).prototype={constructor:at,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||ce.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(ce.cssNumber[n]?"":"px")},cur:function(){var e=at.propHooks[this.prop];return e&&e.get?e.get(this):at.propHooks._default.get(this)},run:function(e){var t,n=at.propHooks[this.prop];return this.options.duration?this.pos=t=ce.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):at.propHooks._default.set(this),this}}).init.prototype=at.prototype,(at.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=ce.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){ce.fx.step[e.prop]?ce.fx.step[e.prop](e):1!==e.elem.nodeType||!ce.cssHooks[e.prop]&&null==e.elem.style[Ze(e.prop)]?e.elem[e.prop]=e.now:ce.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=at.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},ce.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},ce.fx=at.prototype.init,ce.fx.step={};var st,ut,lt,ct,ft=/^(?:toggle|show|hide)$/,pt=/queueHooks$/;function dt(){ut&&(!1===C.hidden&&ie.requestAnimationFrame?ie.requestAnimationFrame(dt):ie.setTimeout(dt,ce.fx.interval),ce.fx.tick())}function ht(){return ie.setTimeout(function(){st=void 0}),st=Date.now()}function gt(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=Q[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function vt(e,t,n){for(var r,i=(yt.tweeners[t]||[]).concat(yt.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function yt(o,e,t){var n,a,r=0,i=yt.prefilters.length,s=ce.Deferred().always(function(){delete u.elem}),u=function(){if(a)return!1;for(var e=st||ht(),t=Math.max(0,l.startTime+l.duration-e),n=1-(t/l.duration||0),r=0,i=l.tweens.length;r<i;r++)l.tweens[r].run(n);return s.notifyWith(o,[l,n,t]),n<1&&i?t:(i||s.notifyWith(o,[l,1,0]),s.resolveWith(o,[l]),!1)},l=s.promise({elem:o,props:ce.extend({},e),opts:ce.extend(!0,{specialEasing:{},easing:ce.easing._default},t),originalProperties:e,originalOptions:t,startTime:st||ht(),duration:t.duration,tweens:[],createTween:function(e,t){var n=ce.Tween(o,l.opts,e,t,l.opts.specialEasing[e]||l.opts.easing);return l.tweens.push(n),n},stop:function(e){var t=0,n=e?l.tweens.length:0;if(a)return this;for(a=!0;t<n;t++)l.tweens[t].run(1);return e?(s.notifyWith(o,[l,1,0]),s.resolveWith(o,[l,e])):s.rejectWith(o,[l,e]),this}}),c=l.props;for(!function(e,t){var n,r,i,o,a;for(n in e)if(i=t[r=F(n)],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=ce.cssHooks[r])&&"expand"in a)for(n in o=a.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}(c,l.opts.specialEasing);r<i;r++)if(n=yt.prefilters[r].call(l,o,c,l.opts))return v(n.stop)&&(ce._queueHooks(l.elem,l.opts.queue).stop=n.stop.bind(n)),n;return ce.map(c,vt,l),v(l.opts.start)&&l.opts.start.call(o,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),ce.fx.timer(ce.extend(u,{elem:o,anim:l,queue:l.opts.queue})),l}ce.Animation=ce.extend(yt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return te(n.elem,e,Y.exec(t),n),n}]},tweener:function(e,t){v(e)?(t=e,e=["*"]):e=e.match(D);for(var n,r=0,i=e.length;r<i;r++)n=e[r],yt.tweeners[n]=yt.tweeners[n]||[],yt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,i,o,a,s,u,l,c,f="width"in t||"height"in t,p=this,d={},h=e.style,g=e.nodeType&&ee(e),v=_.get(e,"fxshow");for(r in n.queue||(null==(a=ce._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,p.always(function(){p.always(function(){a.unqueued--,ce.queue(e,"fx").length||a.empty.fire()})})),t)if(i=t[r],ft.test(i)){if(delete t[r],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!v||void 0===v[r])continue;g=!0}d[r]=v&&v[r]||ce.style(e,r)}if((u=!ce.isEmptyObject(t))||!ce.isEmptyObject(d))for(r in f&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(l=v&&v.display)&&(l=_.get(e,"display")),"none"===(c=ce.css(e,"display"))&&(l?c=l:(re([e],!0),l=e.style.display||l,c=ce.css(e,"display"),re([e]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===ce.css(e,"float")&&(u||(p.done(function(){h.display=l}),null==l&&(c=h.display,l="none"===c?"":c)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",p.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),u=!1,d)u||(v?"hidden"in v&&(g=v.hidden):v=_.access(e,"fxshow",{display:l}),o&&(v.hidden=!g),g&&re([e],!0),p.done(function(){for(r in g||re([e]),_.remove(e,"fxshow"),d)ce.style(e,r,d[r])})),u=vt(g?v[r]:0,r,p),r in v||(v[r]=u.start,g&&(u.end=u.start,u.start=0))}],prefilter:function(e,t){t?yt.prefilters.unshift(e):yt.prefilters.push(e)}}),ce.speed=function(e,t,n){var r=e&&"object"==typeof e?ce.extend({},e):{complete:n||!n&&t||v(e)&&e,duration:e,easing:n&&t||t&&!v(t)&&t};return ce.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in ce.fx.speeds?r.duration=ce.fx.speeds[r.duration]:r.duration=ce.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){v(r.old)&&r.old.call(this),r.queue&&ce.dequeue(this,r.queue)},r},ce.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ee).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(t,e,n,r){var i=ce.isEmptyObject(t),o=ce.speed(e,n,r),a=function(){var e=yt(this,ce.extend({},t),o);(i||_.get(this,"finish"))&&e.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(i,e,o){var a=function(e){var t=e.stop;delete e.stop,t(o)};return"string"!=typeof i&&(o=e,e=i,i=void 0),e&&this.queue(i||"fx",[]),this.each(function(){var e=!0,t=null!=i&&i+"queueHooks",n=ce.timers,r=_.get(this);if(t)r[t]&&r[t].stop&&a(r[t]);else for(t in r)r[t]&&r[t].stop&&pt.test(t)&&a(r[t]);for(t=n.length;t--;)n[t].elem!==this||null!=i&&n[t].queue!==i||(n[t].anim.stop(o),e=!1,n.splice(t,1));!e&&o||ce.dequeue(this,i)})},finish:function(a){return!1!==a&&(a=a||"fx"),this.each(function(){var e,t=_.get(this),n=t[a+"queue"],r=t[a+"queueHooks"],i=ce.timers,o=n?n.length:0;for(t.finish=!0,ce.queue(this,a,[]),r&&r.stop&&r.stop.call(this,!0),e=i.length;e--;)i[e].elem===this&&i[e].queue===a&&(i[e].anim.stop(!0),i.splice(e,1));for(e=0;e<o;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete t.finish})}}),ce.each(["toggle","show","hide"],function(e,r){var i=ce.fn[r];ce.fn[r]=function(e,t,n){return null==e||"boolean"==typeof e?i.apply(this,arguments):this.animate(gt(r,!0),e,t,n)}}),ce.each({slideDown:gt("show"),slideUp:gt("hide"),slideToggle:gt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,r){ce.fn[e]=function(e,t,n){return this.animate(r,e,t,n)}}),ce.timers=[],ce.fx.tick=function(){var e,t=0,n=ce.timers;for(st=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||ce.fx.stop(),st=void 0},ce.fx.timer=function(e){ce.timers.push(e),ce.fx.start()},ce.fx.interval=13,ce.fx.start=function(){ut||(ut=!0,dt())},ce.fx.stop=function(){ut=null},ce.fx.speeds={slow:600,fast:200,_default:400},ce.fn.delay=function(r,e){return r=ce.fx&&ce.fx.speeds[r]||r,e=e||"fx",this.queue(e,function(e,t){var n=ie.setTimeout(e,r);t.stop=function(){ie.clearTimeout(n)}})},lt=C.createElement("input"),ct=C.createElement("select").appendChild(C.createElement("option")),lt.type="checkbox",le.checkOn=""!==lt.value,le.optSelected=ct.selected,(lt=C.createElement("input")).value="t",lt.type="radio",le.radioValue="t"===lt.value;var mt,xt=ce.expr.attrHandle;ce.fn.extend({attr:function(e,t){return M(this,ce.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){ce.removeAttr(this,e)})}}),ce.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof e.getAttribute?ce.prop(e,t,n):(1===o&&ce.isXMLDoc(e)||(i=ce.attrHooks[t.toLowerCase()]||(ce.expr.match.bool.test(t)?mt:void 0)),void 0!==n?null===n?void ce.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=ce.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!le.radioValue&&"radio"===t&&fe(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(D);if(i&&1===e.nodeType)while(n=i[r++])e.removeAttribute(n)}}),mt={set:function(e,t,n){return!1===t?ce.removeAttr(e,n):e.setAttribute(n,n),n}},ce.each(ce.expr.match.bool.source.match(/\w+/g),function(e,t){var a=xt[t]||ce.find.attr;xt[t]=function(e,t,n){var r,i,o=t.toLowerCase();return n||(i=xt[o],xt[o]=r,r=null!=a(e,t,n)?o:null,xt[o]=i),r}});var bt=/^(?:input|select|textarea|button)$/i,wt=/^(?:a|area)$/i;function Tt(e){return(e.match(D)||[]).join(" ")}function Ct(e){return e.getAttribute&&e.getAttribute("class")||""}function kt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(D)||[]}ce.fn.extend({prop:function(e,t){return M(this,ce.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[ce.propFix[e]||e]})}}),ce.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&ce.isXMLDoc(e)||(t=ce.propFix[t]||t,i=ce.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=ce.find.attr(e,"tabindex");return t?parseInt(t,10):bt.test(e.nodeName)||wt.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),le.optSelected||(ce.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),ce.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){ce.propFix[this.toLowerCase()]=this}),ce.fn.extend({addClass:function(t){var e,n,r,i,o,a;return v(t)?this.each(function(e){ce(this).addClass(t.call(this,e,Ct(this)))}):(e=kt(t)).length?this.each(function(){if(r=Ct(this),n=1===this.nodeType&&" "+Tt(r)+" "){for(o=0;o<e.length;o++)i=e[o],n.indexOf(" "+i+" ")<0&&(n+=i+" ");a=Tt(n),r!==a&&this.setAttribute("class",a)}}):this},removeClass:function(t){var e,n,r,i,o,a;return v(t)?this.each(function(e){ce(this).removeClass(t.call(this,e,Ct(this)))}):arguments.length?(e=kt(t)).length?this.each(function(){if(r=Ct(this),n=1===this.nodeType&&" "+Tt(r)+" "){for(o=0;o<e.length;o++){i=e[o];while(-1<n.indexOf(" "+i+" "))n=n.replace(" "+i+" "," ")}a=Tt(n),r!==a&&this.setAttribute("class",a)}}):this:this.attr("class","")},toggleClass:function(t,n){var e,r,i,o,a=typeof t,s="string"===a||Array.isArray(t);return v(t)?this.each(function(e){ce(this).toggleClass(t.call(this,e,Ct(this),n),n)}):"boolean"==typeof n&&s?n?this.addClass(t):this.removeClass(t):(e=kt(t),this.each(function(){if(s)for(o=ce(this),i=0;i<e.length;i++)r=e[i],o.hasClass(r)?o.removeClass(r):o.addClass(r);else void 0!==t&&"boolean"!==a||((r=Ct(this))&&_.set(this,"__className__",r),this.setAttribute&&this.setAttribute("class",r||!1===t?"":_.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,r=0;t=" "+e+" ";while(n=this[r++])if(1===n.nodeType&&-1<(" "+Tt(Ct(n))+" ").indexOf(t))return!0;return!1}});var St=/\r/g;ce.fn.extend({val:function(n){var r,e,i,t=this[0];return arguments.length?(i=v(n),this.each(function(e){var t;1===this.nodeType&&(null==(t=i?n.call(this,e,ce(this).val()):n)?t="":"number"==typeof t?t+="":Array.isArray(t)&&(t=ce.map(t,function(e){return null==e?"":e+""})),(r=ce.valHooks[this.type]||ce.valHooks[this.nodeName.toLowerCase()])&&"set"in r&&void 0!==r.set(this,t,"value")||(this.value=t))})):t?(r=ce.valHooks[t.type]||ce.valHooks[t.nodeName.toLowerCase()])&&"get"in r&&void 0!==(e=r.get(t,"value"))?e:"string"==typeof(e=t.value)?e.replace(St,""):null==e?"":e:void 0}}),ce.extend({valHooks:{option:{get:function(e){var t=ce.find.attr(e,"value");return null!=t?t:Tt(ce.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?o+1:i.length;for(r=o<0?u:a?o:0;r<u;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!fe(n.parentNode,"optgroup"))){if(t=ce(n).val(),a)return t;s.push(t)}return s},set:function(e,t){var n,r,i=e.options,o=ce.makeArray(t),a=i.length;while(a--)((r=i[a]).selected=-1<ce.inArray(ce.valHooks.option.get(r),o))&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),ce.each(["radio","checkbox"],function(){ce.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<ce.inArray(ce(e).val(),t)}},le.checkOn||(ce.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Et=ie.location,jt={guid:Date.now()},At=/\?/;ce.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new ie.DOMParser).parseFromString(e,"text/xml")}catch(e){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||ce.error("Invalid XML: "+(n?ce.map(n.childNodes,function(e){return e.textContent}).join("\n"):e)),t};var Dt=/^(?:focusinfocus|focusoutblur)$/,Nt=function(e){e.stopPropagation()};ce.extend(ce.event,{trigger:function(e,t,n,r){var i,o,a,s,u,l,c,f,p=[n||C],d=ue.call(e,"type")?e.type:e,h=ue.call(e,"namespace")?e.namespace.split("."):[];if(o=f=a=n=n||C,3!==n.nodeType&&8!==n.nodeType&&!Dt.test(d+ce.event.triggered)&&(-1<d.indexOf(".")&&(d=(h=d.split(".")).shift(),h.sort()),u=d.indexOf(":")<0&&"on"+d,(e=e[ce.expando]?e:new ce.Event(d,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=h.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:ce.makeArray(t,[e]),c=ce.event.special[d]||{},r||!c.trigger||!1!==c.trigger.apply(n,t))){if(!r&&!c.noBubble&&!y(n)){for(s=c.delegateType||d,Dt.test(s+d)||(o=o.parentNode);o;o=o.parentNode)p.push(o),a=o;a===(n.ownerDocument||C)&&p.push(a.defaultView||a.parentWindow||ie)}i=0;while((o=p[i++])&&!e.isPropagationStopped())f=o,e.type=1<i?s:c.bindType||d,(l=(_.get(o,"events")||Object.create(null))[e.type]&&_.get(o,"handle"))&&l.apply(o,t),(l=u&&o[u])&&l.apply&&$(o)&&(e.result=l.apply(o,t),!1===e.result&&e.preventDefault());return e.type=d,r||e.isDefaultPrevented()||c._default&&!1!==c._default.apply(p.pop(),t)||!$(n)||u&&v(n[d])&&!y(n)&&((a=n[u])&&(n[u]=null),ce.event.triggered=d,e.isPropagationStopped()&&f.addEventListener(d,Nt),n[d](),e.isPropagationStopped()&&f.removeEventListener(d,Nt),ce.event.triggered=void 0,a&&(n[u]=a)),e.result}},simulate:function(e,t,n){var r=ce.extend(new ce.Event,n,{type:e,isSimulated:!0});ce.event.trigger(r,null,t)}}),ce.fn.extend({trigger:function(e,t){return this.each(function(){ce.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return ce.event.trigger(e,t,n,!0)}});var qt=/\[\]$/,Lt=/\r?\n/g,Ht=/^(?:submit|button|image|reset|file)$/i,Ot=/^(?:input|select|textarea|keygen)/i;function Pt(n,e,r,i){var t;if(Array.isArray(e))ce.each(e,function(e,t){r||qt.test(n)?i(n,t):Pt(n+"["+("object"==typeof t&&null!=t?e:"")+"]",t,r,i)});else if(r||"object"!==x(e))i(n,e);else for(t in e)Pt(n+"["+t+"]",e[t],r,i)}ce.param=function(e,t){var n,r=[],i=function(e,t){var n=v(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!ce.isPlainObject(e))ce.each(e,function(){i(this.name,this.value)});else for(n in e)Pt(n,e[n],t,i);return r.join("&")},ce.fn.extend({serialize:function(){return ce.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=ce.prop(this,"elements");return e?ce.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!ce(this).is(":disabled")&&Ot.test(this.nodeName)&&!Ht.test(e)&&(this.checked||!we.test(e))}).map(function(e,t){var n=ce(this).val();return null==n?null:Array.isArray(n)?ce.map(n,function(e){return{name:t.name,value:e.replace(Lt,"\r\n")}}):{name:t.name,value:n.replace(Lt,"\r\n")}}).get()}});var Mt=/%20/g,Rt=/#.*$/,It=/([?&])_=[^&]*/,Wt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ft=/^(?:GET|HEAD)$/,$t=/^\/\//,Bt={},_t={},zt="*/".concat("*"),Xt=C.createElement("a");function Ut(o){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,r=0,i=e.toLowerCase().match(D)||[];if(v(t))while(n=i[r++])"+"===n[0]?(n=n.slice(1)||"*",(o[n]=o[n]||[]).unshift(t)):(o[n]=o[n]||[]).push(t)}}function Vt(t,i,o,a){var s={},u=t===_t;function l(e){var r;return s[e]=!0,ce.each(t[e]||[],function(e,t){var n=t(i,o,a);return"string"!=typeof n||u||s[n]?u?!(r=n):void 0:(i.dataTypes.unshift(n),l(n),!1)}),r}return l(i.dataTypes[0])||!s["*"]&&l("*")}function Gt(e,t){var n,r,i=ce.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&ce.extend(!0,e,r),e}Xt.href=Et.href,ce.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Et.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Et.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":zt,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":ce.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Gt(Gt(e,ce.ajaxSettings),t):Gt(ce.ajaxSettings,e)},ajaxPrefilter:Ut(Bt),ajaxTransport:Ut(_t),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var c,f,p,n,d,r,h,g,i,o,v=ce.ajaxSetup({},t),y=v.context||v,m=v.context&&(y.nodeType||y.jquery)?ce(y):ce.event,x=ce.Deferred(),b=ce.Callbacks("once memory"),w=v.statusCode||{},a={},s={},u="canceled",T={readyState:0,getResponseHeader:function(e){var t;if(h){if(!n){n={};while(t=Wt.exec(p))n[t[1].toLowerCase()+" "]=(n[t[1].toLowerCase()+" "]||[]).concat(t[2])}t=n[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return h?p:null},setRequestHeader:function(e,t){return null==h&&(e=s[e.toLowerCase()]=s[e.toLowerCase()]||e,a[e]=t),this},overrideMimeType:function(e){return null==h&&(v.mimeType=e),this},statusCode:function(e){var t;if(e)if(h)T.always(e[T.status]);else for(t in e)w[t]=[w[t],e[t]];return this},abort:function(e){var t=e||u;return c&&c.abort(t),l(0,t),this}};if(x.promise(T),v.url=((e||v.url||Et.href)+"").replace($t,Et.protocol+"//"),v.type=t.method||t.type||v.method||v.type,v.dataTypes=(v.dataType||"*").toLowerCase().match(D)||[""],null==v.crossDomain){r=C.createElement("a");try{r.href=v.url,r.href=r.href,v.crossDomain=Xt.protocol+"//"+Xt.host!=r.protocol+"//"+r.host}catch(e){v.crossDomain=!0}}if(v.data&&v.processData&&"string"!=typeof v.data&&(v.data=ce.param(v.data,v.traditional)),Vt(Bt,v,t,T),h)return T;for(i in(g=ce.event&&v.global)&&0==ce.active++&&ce.event.trigger("ajaxStart"),v.type=v.type.toUpperCase(),v.hasContent=!Ft.test(v.type),f=v.url.replace(Rt,""),v.hasContent?v.data&&v.processData&&0===(v.contentType||"").indexOf("application/x-www-form-urlencoded")&&(v.data=v.data.replace(Mt,"+")):(o=v.url.slice(f.length),v.data&&(v.processData||"string"==typeof v.data)&&(f+=(At.test(f)?"&":"?")+v.data,delete v.data),!1===v.cache&&(f=f.replace(It,"$1"),o=(At.test(f)?"&":"?")+"_="+jt.guid+++o),v.url=f+o),v.ifModified&&(ce.lastModified[f]&&T.setRequestHeader("If-Modified-Since",ce.lastModified[f]),ce.etag[f]&&T.setRequestHeader("If-None-Match",ce.etag[f])),(v.data&&v.hasContent&&!1!==v.contentType||t.contentType)&&T.setRequestHeader("Content-Type",v.contentType),T.setRequestHeader("Accept",v.dataTypes[0]&&v.accepts[v.dataTypes[0]]?v.accepts[v.dataTypes[0]]+("*"!==v.dataTypes[0]?", "+zt+"; q=0.01":""):v.accepts["*"]),v.headers)T.setRequestHeader(i,v.headers[i]);if(v.beforeSend&&(!1===v.beforeSend.call(y,T,v)||h))return T.abort();if(u="abort",b.add(v.complete),T.done(v.success),T.fail(v.error),c=Vt(_t,v,t,T)){if(T.readyState=1,g&&m.trigger("ajaxSend",[T,v]),h)return T;v.async&&0<v.timeout&&(d=ie.setTimeout(function(){T.abort("timeout")},v.timeout));try{h=!1,c.send(a,l)}catch(e){if(h)throw e;l(-1,e)}}else l(-1,"No Transport");function l(e,t,n,r){var i,o,a,s,u,l=t;h||(h=!0,d&&ie.clearTimeout(d),c=void 0,p=r||"",T.readyState=0<e?4:0,i=200<=e&&e<300||304===e,n&&(s=function(e,t,n){var r,i,o,a,s=e.contents,u=e.dataTypes;while("*"===u[0])u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}(v,T,n)),!i&&-1<ce.inArray("script",v.dataTypes)&&ce.inArray("json",v.dataTypes)<0&&(v.converters["text script"]=function(){}),s=function(e,t,n,r){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];o=c.shift();while(o)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=l[u+" "+o]||l["* "+o]))for(i in l)if((s=i.split(" "))[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}(v,s,T,i),i?(v.ifModified&&((u=T.getResponseHeader("Last-Modified"))&&(ce.lastModified[f]=u),(u=T.getResponseHeader("etag"))&&(ce.etag[f]=u)),204===e||"HEAD"===v.type?l="nocontent":304===e?l="notmodified":(l=s.state,o=s.data,i=!(a=s.error))):(a=l,!e&&l||(l="error",e<0&&(e=0))),T.status=e,T.statusText=(t||l)+"",i?x.resolveWith(y,[o,l,T]):x.rejectWith(y,[T,l,a]),T.statusCode(w),w=void 0,g&&m.trigger(i?"ajaxSuccess":"ajaxError",[T,v,i?o:a]),b.fireWith(y,[T,l]),g&&(m.trigger("ajaxComplete",[T,v]),--ce.active||ce.event.trigger("ajaxStop")))}return T},getJSON:function(e,t,n){return ce.get(e,t,n,"json")},getScript:function(e,t){return ce.get(e,void 0,t,"script")}}),ce.each(["get","post"],function(e,i){ce[i]=function(e,t,n,r){return v(t)&&(r=r||n,n=t,t=void 0),ce.ajax(ce.extend({url:e,type:i,dataType:r,data:t,success:n},ce.isPlainObject(e)&&e))}}),ce.ajaxPrefilter(function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),ce._evalUrl=function(e,t,n){return ce.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){ce.globalEval(e,t,n)}})},ce.fn.extend({wrapAll:function(e){var t;return this[0]&&(v(e)&&(e=e.call(this[0])),t=ce(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstElementChild)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(n){return v(n)?this.each(function(e){ce(this).wrapInner(n.call(this,e))}):this.each(function(){var e=ce(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=v(t);return this.each(function(e){ce(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(e){return this.parent(e).not("body").each(function(){ce(this).replaceWith(this.childNodes)}),this}}),ce.expr.pseudos.hidden=function(e){return!ce.expr.pseudos.visible(e)},ce.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},ce.ajaxSettings.xhr=function(){try{return new ie.XMLHttpRequest}catch(e){}};var Yt={0:200,1223:204},Qt=ce.ajaxSettings.xhr();le.cors=!!Qt&&"withCredentials"in Qt,le.ajax=Qt=!!Qt,ce.ajaxTransport(function(i){var o,a;if(le.cors||Qt&&!i.crossDomain)return{send:function(e,t){var n,r=i.xhr();if(r.open(i.type,i.url,i.async,i.username,i.password),i.xhrFields)for(n in i.xhrFields)r[n]=i.xhrFields[n];for(n in i.mimeType&&r.overrideMimeType&&r.overrideMimeType(i.mimeType),i.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)r.setRequestHeader(n,e[n]);o=function(e){return function(){o&&(o=a=r.onload=r.onerror=r.onabort=r.ontimeout=r.onreadystatechange=null,"abort"===e?r.abort():"error"===e?"number"!=typeof r.status?t(0,"error"):t(r.status,r.statusText):t(Yt[r.status]||r.status,r.statusText,"text"!==(r.responseType||"text")||"string"!=typeof r.responseText?{binary:r.response}:{text:r.responseText},r.getAllResponseHeaders()))}},r.onload=o(),a=r.onerror=r.ontimeout=o("error"),void 0!==r.onabort?r.onabort=a:r.onreadystatechange=function(){4===r.readyState&&ie.setTimeout(function(){o&&a()})},o=o("abort");try{r.send(i.hasContent&&i.data||null)}catch(e){if(o)throw e}},abort:function(){o&&o()}}}),ce.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),ce.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return ce.globalEval(e),e}}}),ce.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),ce.ajaxTransport("script",function(n){var r,i;if(n.crossDomain||n.scriptAttrs)return{send:function(e,t){r=ce("<script>").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),C.head.appendChild(r[0])},abort:function(){i&&i()}}});var Jt,Kt=[],Zt=/(=)\?(?=&|$)|\?\?/;ce.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Kt.pop()||ce.expando+"_"+jt.guid++;return this[e]=!0,e}}),ce.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Zt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Zt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=v(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Zt,"$1"+r):!1!==e.jsonp&&(e.url+=(At.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||ce.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=ie[r],ie[r]=function(){o=arguments},n.always(function(){void 0===i?ce(ie).removeProp(r):ie[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Kt.push(r)),o&&v(i)&&i(o[0]),o=i=void 0}),"script"}),le.createHTMLDocument=((Jt=C.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Jt.childNodes.length),ce.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(le.createHTMLDocument?((r=(t=C.implementation.createHTMLDocument("")).createElement("base")).href=C.location.href,t.head.appendChild(r)):t=C),o=!n&&[],(i=w.exec(e))?[t.createElement(i[1])]:(i=Ae([e],t,o),o&&o.length&&ce(o).remove(),ce.merge([],i.childNodes)));var r,i,o},ce.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1<s&&(r=Tt(e.slice(s)),e=e.slice(0,s)),v(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),0<a.length&&ce.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(r?ce("<div>").append(ce.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},ce.expr.pseudos.animated=function(t){return ce.grep(ce.timers,function(e){return t===e.elem}).length},ce.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=ce.css(e,"position"),c=ce(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=ce.css(e,"top"),u=ce.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),v(t)&&(t=t.call(e,n,ce.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},ce.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){ce.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===ce.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===ce.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=ce(e).offset()).top+=ce.css(e,"borderTopWidth",!0),i.left+=ce.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-ce.css(r,"marginTop",!0),left:t.left-i.left-ce.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===ce.css(e,"position"))e=e.offsetParent;return e||J})}}),ce.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;ce.fn[t]=function(e){return M(this,function(e,t,n){var r;if(y(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),ce.each(["top","left"],function(e,n){ce.cssHooks[n]=Ye(le.pixelPosition,function(e,t){if(t)return t=Ge(e,n),_e.test(t)?ce(e).position()[n]+"px":t})}),ce.each({Height:"height",Width:"width"},function(a,s){ce.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){ce.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return M(this,function(e,t,n){var r;return y(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?ce.css(e,t,i):ce.style(e,t,n,i)},s,n?e:void 0,n)}})}),ce.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){ce.fn[t]=function(e){return this.on(t,e)}}),ce.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),ce.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(e,n){ce.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}});var en=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;ce.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),v(e))return r=ae.call(arguments,2),(i=function(){return e.apply(t||this,r.concat(ae.call(arguments)))}).guid=e.guid=e.guid||ce.guid++,i},ce.holdReady=function(e){e?ce.readyWait++:ce.ready(!0)},ce.isArray=Array.isArray,ce.parseJSON=JSON.parse,ce.nodeName=fe,ce.isFunction=v,ce.isWindow=y,ce.camelCase=F,ce.type=x,ce.now=Date.now,ce.isNumeric=function(e){var t=ce.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},ce.trim=function(e){return null==e?"":(e+"").replace(en,"$1")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return ce});var tn=ie.jQuery,nn=ie.$;return ce.noConflict=function(e){return ie.$===ce&&(ie.$=nn),e&&ie.jQuery===ce&&(ie.jQuery=tn),ce},"undefined"==typeof e&&(ie.jQuery=ie.$=ce),ce});
</script>
<script>
@@ -1155,6 +1153,7 @@
}
};
+
var errs = {};
</script>
@@ -1197,46 +1196,6 @@
<li data-group="A1PolicyManagement" data-name="putPolicy" class="">
<a href="#api-A1PolicyManagement-putPolicy">putPolicy</a>
</li>
- <li class="nav-header" data-group="Actuator"><a href="#api-Actuator">API Methods - Actuator</a></li>
- <li data-group="Actuator" data-name="health" class="">
- <a href="#api-Actuator-health">health</a>
- </li>
- <li data-group="Actuator" data-name="healthPath" class="">
- <a href="#api-Actuator-healthPath">healthPath</a>
- </li>
- <li data-group="Actuator" data-name="heapdump" class="">
- <a href="#api-Actuator-heapdump">heapdump</a>
- </li>
- <li data-group="Actuator" data-name="info" class="">
- <a href="#api-Actuator-info">info</a>
- </li>
- <li data-group="Actuator" data-name="links" class="">
- <a href="#api-Actuator-links">links</a>
- </li>
- <li data-group="Actuator" data-name="logfile" class="">
- <a href="#api-Actuator-logfile">logfile</a>
- </li>
- <li data-group="Actuator" data-name="loggers" class="">
- <a href="#api-Actuator-loggers">loggers</a>
- </li>
- <li data-group="Actuator" data-name="loggersName" class="">
- <a href="#api-Actuator-loggersName">loggersName</a>
- </li>
- <li data-group="Actuator" data-name="loggersName2" class="">
- <a href="#api-Actuator-loggersName2">loggersName2</a>
- </li>
- <li data-group="Actuator" data-name="metrics" class="">
- <a href="#api-Actuator-metrics">metrics</a>
- </li>
- <li data-group="Actuator" data-name="metricsRequiredMetricName" class="">
- <a href="#api-Actuator-metricsRequiredMetricName">metricsRequiredMetricName</a>
- </li>
- <li data-group="Actuator" data-name="shutdown" class="">
- <a href="#api-Actuator-shutdown">shutdown</a>
- </li>
- <li data-group="Actuator" data-name="threaddump" class="">
- <a href="#api-Actuator-threaddump">threaddump</a>
- </li>
<li class="nav-header" data-group="AuthorizationAPI"><a href="#api-AuthorizationAPI">API Methods - AuthorizationAPI</a></li>
<li data-group="AuthorizationAPI" data-name="performAccessControl" class="">
<a href="#api-AuthorizationAPI-performAccessControl">performAccessControl</a>
@@ -1318,6 +1277,7 @@
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="#examples-A1PolicyManagement-deletePolicy-0-curl">Curl</a></li>
<li class=""><a href="#examples-A1PolicyManagement-deletePolicy-0-java">Java</a></li>
+ <li class=""><a href="#examples-A1PolicyManagement-deletePolicy-0-dart">Dart</a></li>
<li class=""><a href="#examples-A1PolicyManagement-deletePolicy-0-android">Android</a></li>
<!--<li class=""><a href="#examples-A1PolicyManagement-deletePolicy-0-groovy">Groovy</a></li>-->
<li class=""><a href="#examples-A1PolicyManagement-deletePolicy-0-objc">Obj-C</a></li>
@@ -1365,6 +1325,23 @@
</code></pre>
</div>
+ <div class="tab-pane" id="examples-A1PolicyManagement-deletePolicy-0-dart">
+ <pre class="prettyprint"><code class="language-dart">import 'package:openapi/api.dart';
+
+final api_instance = DefaultApi();
+
+final String policyId = new String(); // String |
+
+try {
+ final result = await api_instance.deletePolicy(policyId);
+ print(result);
+} catch (e) {
+ print('Exception when calling DefaultApi->deletePolicy: $e\n');
+}
+
+</code></pre>
+ </div>
+
<div class="tab-pane" id="examples-A1PolicyManagement-deletePolicy-0-android">
<pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.A1PolicyManagementApi;
@@ -1594,41 +1571,55 @@
<div class="tab-content" id="responses-A1PolicyManagement-deletePolicy-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-A1PolicyManagement-deletePolicy-200-schema">
- <div id="responses-A1PolicyManagement-deletePolicy-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-A1PolicyManagement-deletePolicy-200-schema">
+ <div id="responses-A1PolicyManagement-deletePolicy-schema-200" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "OK - Policy deleted",
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/void"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-A1PolicyManagement-deletePolicy-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-A1PolicyManagement-deletePolicy-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-A1PolicyManagement-deletePolicy-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-deletePolicy-200-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-deletePolicy-schema-200');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-A1PolicyManagement-deletePolicy-200-schema-data' type='hidden' value=''></input>
+ </div>
</div>
<h3 id="examples-A1PolicyManagement-deletePolicy-title-423"></h3>
<p id="examples-A1PolicyManagement-deletePolicy-description-423" class="marked"></p>
@@ -1656,41 +1647,60 @@
<div class="tab-content" id="responses-A1PolicyManagement-deletePolicy-423-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-A1PolicyManagement-deletePolicy-423-schema">
- <div id="responses-A1PolicyManagement-deletePolicy-schema-423" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-A1PolicyManagement-deletePolicy-423-schema">
+ <div id="responses-A1PolicyManagement-deletePolicy-schema-423" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Locked - HTTP Status code which can be used when the state is Locked",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/error_information"
+ },
+ "example" : {
+ "status" : 423,
+ "title" : "Locked",
+ "detail" : "Requested resource is in a locked state."
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-A1PolicyManagement-deletePolicy-423-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-A1PolicyManagement-deletePolicy-schema-423');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-A1PolicyManagement-deletePolicy-423-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-deletePolicy-423-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-deletePolicy-schema-423');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-A1PolicyManagement-deletePolicy-423-schema-data' type='hidden' value=''></input>
+ </div>
</div>
</article>
</div>
@@ -1714,6 +1724,7 @@
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="#examples-A1PolicyManagement-getPolicy-0-curl">Curl</a></li>
<li class=""><a href="#examples-A1PolicyManagement-getPolicy-0-java">Java</a></li>
+ <li class=""><a href="#examples-A1PolicyManagement-getPolicy-0-dart">Dart</a></li>
<li class=""><a href="#examples-A1PolicyManagement-getPolicy-0-android">Android</a></li>
<!--<li class=""><a href="#examples-A1PolicyManagement-getPolicy-0-groovy">Groovy</a></li>-->
<li class=""><a href="#examples-A1PolicyManagement-getPolicy-0-objc">Obj-C</a></li>
@@ -1761,6 +1772,23 @@
</code></pre>
</div>
+ <div class="tab-pane" id="examples-A1PolicyManagement-getPolicy-0-dart">
+ <pre class="prettyprint"><code class="language-dart">import 'package:openapi/api.dart';
+
+final api_instance = DefaultApi();
+
+final String policyId = new String(); // String |
+
+try {
+ final result = await api_instance.getPolicy(policyId);
+ print(result);
+} catch (e) {
+ print('Exception when calling DefaultApi->getPolicy: $e\n');
+}
+
+</code></pre>
+ </div>
+
<div class="tab-pane" id="examples-A1PolicyManagement-getPolicy-0-android">
<pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.A1PolicyManagementApi;
@@ -1987,41 +2015,60 @@
<div class="tab-content" id="responses-A1PolicyManagement-getPolicy-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicy-200-schema">
- <div id="responses-A1PolicyManagement-getPolicy-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicy-200-schema">
+ <div id="responses-A1PolicyManagement-getPolicy-schema-200" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "OK - Policy found",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/policy_info"
+ },
+ "examples" : {
+ "policy_info" : {
+ "$ref" : "#/components/examples/policy_info"
+ }
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-A1PolicyManagement-getPolicy-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-A1PolicyManagement-getPolicy-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-A1PolicyManagement-getPolicy-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicy-200-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicy-schema-200');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-A1PolicyManagement-getPolicy-200-schema-data' type='hidden' value=''></input>
+ </div>
</div>
<h3 id="examples-A1PolicyManagement-getPolicy-title-404"></h3>
<p id="examples-A1PolicyManagement-getPolicy-description-404" class="marked"></p>
@@ -2044,6 +2091,53 @@
<div class="tab-content" id="responses-A1PolicyManagement-getPolicy-404-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicy-404-schema">
+ <div id="responses-A1PolicyManagement-getPolicy-schema-404" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "example" : [ ]
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicy-404-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicy-schema-404');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getPolicy-404-schema-data' type='hidden' value=''></input>
+ </div>
</div>
</article>
</div>
@@ -2067,6 +2161,7 @@
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="#examples-A1PolicyManagement-getPolicyIds-0-curl">Curl</a></li>
<li class=""><a href="#examples-A1PolicyManagement-getPolicyIds-0-java">Java</a></li>
+ <li class=""><a href="#examples-A1PolicyManagement-getPolicyIds-0-dart">Dart</a></li>
<li class=""><a href="#examples-A1PolicyManagement-getPolicyIds-0-android">Android</a></li>
<!--<li class=""><a href="#examples-A1PolicyManagement-getPolicyIds-0-groovy">Groovy</a></li>-->
<li class=""><a href="#examples-A1PolicyManagement-getPolicyIds-0-objc">Obj-C</a></li>
@@ -2117,6 +2212,26 @@
</code></pre>
</div>
+ <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyIds-0-dart">
+ <pre class="prettyprint"><code class="language-dart">import 'package:openapi/api.dart';
+
+final api_instance = DefaultApi();
+
+final String policytypeId = new String(); // String | Select policies of a given policy type identity.
+final String ricId = new String(); // String | Select policies of a given Near-RT RIC identity.
+final String serviceId = new String(); // String | Select policies owned by a given service.
+final String typeName = new String(); // String | Select policies of types with the given type name (type identity has the format <typename_version>)
+
+try {
+ final result = await api_instance.getPolicyIds(policytypeId, ricId, serviceId, typeName);
+ print(result);
+} catch (e) {
+ print('Exception when calling DefaultApi->getPolicyIds: $e\n');
+}
+
+</code></pre>
+ </div>
+
<div class="tab-pane" id="examples-A1PolicyManagement-getPolicyIds-0-android">
<pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.A1PolicyManagementApi;
@@ -2435,41 +2550,60 @@
<div class="tab-content" id="responses-A1PolicyManagement-getPolicyIds-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyIds-200-schema">
- <div id="responses-A1PolicyManagement-getPolicyIds-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyIds-200-schema">
+ <div id="responses-A1PolicyManagement-getPolicyIds-schema-200" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "OK - Policy identities",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/policy_id_list"
+ },
+ "examples" : {
+ "policy_id_list" : {
+ "$ref" : "#/components/examples/policy_id_list"
+ }
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-A1PolicyManagement-getPolicyIds-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-A1PolicyManagement-getPolicyIds-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-A1PolicyManagement-getPolicyIds-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicyIds-200-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicyIds-schema-200');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-A1PolicyManagement-getPolicyIds-200-schema-data' type='hidden' value=''></input>
+ </div>
</div>
<h3 id="examples-A1PolicyManagement-getPolicyIds-title-404"></h3>
<p id="examples-A1PolicyManagement-getPolicyIds-description-404" class="marked"></p>
@@ -2492,6 +2626,53 @@
<div class="tab-content" id="responses-A1PolicyManagement-getPolicyIds-404-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyIds-404-schema">
+ <div id="responses-A1PolicyManagement-getPolicyIds-schema-404" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "example" : [ ]
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicyIds-404-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicyIds-schema-404');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getPolicyIds-404-schema-data' type='hidden' value=''></input>
+ </div>
</div>
</article>
</div>
@@ -2515,6 +2696,7 @@
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="#examples-A1PolicyManagement-getPolicyInstances-0-curl">Curl</a></li>
<li class=""><a href="#examples-A1PolicyManagement-getPolicyInstances-0-java">Java</a></li>
+ <li class=""><a href="#examples-A1PolicyManagement-getPolicyInstances-0-dart">Dart</a></li>
<li class=""><a href="#examples-A1PolicyManagement-getPolicyInstances-0-android">Android</a></li>
<!--<li class=""><a href="#examples-A1PolicyManagement-getPolicyInstances-0-groovy">Groovy</a></li>-->
<li class=""><a href="#examples-A1PolicyManagement-getPolicyInstances-0-objc">Obj-C</a></li>
@@ -2565,6 +2747,26 @@
</code></pre>
</div>
+ <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyInstances-0-dart">
+ <pre class="prettyprint"><code class="language-dart">import 'package:openapi/api.dart';
+
+final api_instance = DefaultApi();
+
+final String policytypeId = new String(); // String | Select policies with a given type identity.
+final String ricId = new String(); // String | Select policies for a given Near-RT RIC identity.
+final String serviceId = new String(); // String | Select policies owned by a given service.
+final String typeName = new String(); // String | Select policies of a given type name (type identity has the format <typename_version>)
+
+try {
+ final result = await api_instance.getPolicyInstances(policytypeId, ricId, serviceId, typeName);
+ print(result);
+} catch (e) {
+ print('Exception when calling DefaultApi->getPolicyInstances: $e\n');
+}
+
+</code></pre>
+ </div>
+
<div class="tab-pane" id="examples-A1PolicyManagement-getPolicyInstances-0-android">
<pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.A1PolicyManagementApi;
@@ -2883,41 +3085,60 @@
<div class="tab-content" id="responses-A1PolicyManagement-getPolicyInstances-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyInstances-200-schema">
- <div id="responses-A1PolicyManagement-getPolicyInstances-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyInstances-200-schema">
+ <div id="responses-A1PolicyManagement-getPolicyInstances-schema-200" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "OK - Returns A1 Policies which matches the criteria",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/policy_info_list"
+ },
+ "examples" : {
+ "policy_info_list" : {
+ "$ref" : "#/components/examples/policy_info_list"
+ }
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-A1PolicyManagement-getPolicyInstances-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-A1PolicyManagement-getPolicyInstances-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-A1PolicyManagement-getPolicyInstances-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicyInstances-200-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicyInstances-schema-200');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-A1PolicyManagement-getPolicyInstances-200-schema-data' type='hidden' value=''></input>
+ </div>
</div>
<h3 id="examples-A1PolicyManagement-getPolicyInstances-title-404"></h3>
<p id="examples-A1PolicyManagement-getPolicyInstances-description-404" class="marked"></p>
@@ -2945,41 +3166,55 @@
<div class="tab-content" id="responses-A1PolicyManagement-getPolicyInstances-404-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyInstances-404-schema">
- <div id="responses-A1PolicyManagement-getPolicyInstances-schema-404" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyInstances-404-schema">
+ <div id="responses-A1PolicyManagement-getPolicyInstances-schema-404" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Not Found - Near-RT RIC, policy type or service not found",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/error_information"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-A1PolicyManagement-getPolicyInstances-404-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-A1PolicyManagement-getPolicyInstances-schema-404');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-A1PolicyManagement-getPolicyInstances-404-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicyInstances-404-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicyInstances-schema-404');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-A1PolicyManagement-getPolicyInstances-404-schema-data' type='hidden' value=''></input>
+ </div>
</div>
</article>
</div>
@@ -3003,6 +3238,7 @@
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="#examples-A1PolicyManagement-getPolicyStatus-0-curl">Curl</a></li>
<li class=""><a href="#examples-A1PolicyManagement-getPolicyStatus-0-java">Java</a></li>
+ <li class=""><a href="#examples-A1PolicyManagement-getPolicyStatus-0-dart">Dart</a></li>
<li class=""><a href="#examples-A1PolicyManagement-getPolicyStatus-0-android">Android</a></li>
<!--<li class=""><a href="#examples-A1PolicyManagement-getPolicyStatus-0-groovy">Groovy</a></li>-->
<li class=""><a href="#examples-A1PolicyManagement-getPolicyStatus-0-objc">Obj-C</a></li>
@@ -3050,6 +3286,23 @@
</code></pre>
</div>
+ <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyStatus-0-dart">
+ <pre class="prettyprint"><code class="language-dart">import 'package:openapi/api.dart';
+
+final api_instance = DefaultApi();
+
+final String policyId = new String(); // String |
+
+try {
+ final result = await api_instance.getPolicyStatus(policyId);
+ print(result);
+} catch (e) {
+ print('Exception when calling DefaultApi->getPolicyStatus: $e\n');
+}
+
+</code></pre>
+ </div>
+
<div class="tab-pane" id="examples-A1PolicyManagement-getPolicyStatus-0-android">
<pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.A1PolicyManagementApi;
@@ -3276,41 +3529,60 @@
<div class="tab-content" id="responses-A1PolicyManagement-getPolicyStatus-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyStatus-200-schema">
- <div id="responses-A1PolicyManagement-getPolicyStatus-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyStatus-200-schema">
+ <div id="responses-A1PolicyManagement-getPolicyStatus-schema-200" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "OK - Policy status",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/policy_status_info"
+ },
+ "examples" : {
+ "policy_status_info" : {
+ "$ref" : "#/components/examples/policy_status_info"
+ }
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-A1PolicyManagement-getPolicyStatus-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-A1PolicyManagement-getPolicyStatus-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-A1PolicyManagement-getPolicyStatus-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicyStatus-200-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicyStatus-schema-200');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-A1PolicyManagement-getPolicyStatus-200-schema-data' type='hidden' value=''></input>
+ </div>
</div>
<h3 id="examples-A1PolicyManagement-getPolicyStatus-title-404"></h3>
<p id="examples-A1PolicyManagement-getPolicyStatus-description-404" class="marked"></p>
@@ -3333,6 +3605,53 @@
<div class="tab-content" id="responses-A1PolicyManagement-getPolicyStatus-404-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyStatus-404-schema">
+ <div id="responses-A1PolicyManagement-getPolicyStatus-schema-404" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "example" : [ ]
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicyStatus-404-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicyStatus-schema-404');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getPolicyStatus-404-schema-data' type='hidden' value=''></input>
+ </div>
</div>
</article>
</div>
@@ -3356,6 +3675,7 @@
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="#examples-A1PolicyManagement-getPolicyTypeDefinition-0-curl">Curl</a></li>
<li class=""><a href="#examples-A1PolicyManagement-getPolicyTypeDefinition-0-java">Java</a></li>
+ <li class=""><a href="#examples-A1PolicyManagement-getPolicyTypeDefinition-0-dart">Dart</a></li>
<li class=""><a href="#examples-A1PolicyManagement-getPolicyTypeDefinition-0-android">Android</a></li>
<!--<li class=""><a href="#examples-A1PolicyManagement-getPolicyTypeDefinition-0-groovy">Groovy</a></li>-->
<li class=""><a href="#examples-A1PolicyManagement-getPolicyTypeDefinition-0-objc">Obj-C</a></li>
@@ -3403,6 +3723,23 @@
</code></pre>
</div>
+ <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyTypeDefinition-0-dart">
+ <pre class="prettyprint"><code class="language-dart">import 'package:openapi/api.dart';
+
+final api_instance = DefaultApi();
+
+final String policytypeId = new String(); // String |
+
+try {
+ final result = await api_instance.getPolicyTypeDefinition(policytypeId);
+ print(result);
+} catch (e) {
+ print('Exception when calling DefaultApi->getPolicyTypeDefinition: $e\n');
+}
+
+</code></pre>
+ </div>
+
<div class="tab-pane" id="examples-A1PolicyManagement-getPolicyTypeDefinition-0-android">
<pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.A1PolicyManagementApi;
@@ -3629,41 +3966,60 @@
<div class="tab-content" id="responses-A1PolicyManagement-getPolicyTypeDefinition-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyTypeDefinition-200-schema">
- <div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyTypeDefinition-200-schema">
+ <div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-200" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "OK - schema of the given policy type",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/policy_type_definition"
+ },
+ "examples" : {
+ "policy_type_definition" : {
+ "$ref" : "#/components/examples/policy_type_definition"
+ }
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-A1PolicyManagement-getPolicyTypeDefinition-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-A1PolicyManagement-getPolicyTypeDefinition-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-A1PolicyManagement-getPolicyTypeDefinition-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicyTypeDefinition-200-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicyTypeDefinition-schema-200');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-A1PolicyManagement-getPolicyTypeDefinition-200-schema-data' type='hidden' value=''></input>
+ </div>
</div>
<h3 id="examples-A1PolicyManagement-getPolicyTypeDefinition-title-404"></h3>
<p id="examples-A1PolicyManagement-getPolicyTypeDefinition-description-404" class="marked"></p>
@@ -3686,6 +4042,53 @@
<div class="tab-content" id="responses-A1PolicyManagement-getPolicyTypeDefinition-404-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyTypeDefinition-404-schema">
+ <div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-404" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "example" : [ ]
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicyTypeDefinition-404-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicyTypeDefinition-schema-404');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getPolicyTypeDefinition-404-schema-data' type='hidden' value=''></input>
+ </div>
</div>
</article>
</div>
@@ -3709,6 +4112,7 @@
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="#examples-A1PolicyManagement-getPolicyTypes-0-curl">Curl</a></li>
<li class=""><a href="#examples-A1PolicyManagement-getPolicyTypes-0-java">Java</a></li>
+ <li class=""><a href="#examples-A1PolicyManagement-getPolicyTypes-0-dart">Dart</a></li>
<li class=""><a href="#examples-A1PolicyManagement-getPolicyTypes-0-android">Android</a></li>
<!--<li class=""><a href="#examples-A1PolicyManagement-getPolicyTypes-0-groovy">Groovy</a></li>-->
<li class=""><a href="#examples-A1PolicyManagement-getPolicyTypes-0-objc">Obj-C</a></li>
@@ -3758,6 +4162,25 @@
</code></pre>
</div>
+ <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyTypes-0-dart">
+ <pre class="prettyprint"><code class="language-dart">import 'package:openapi/api.dart';
+
+final api_instance = DefaultApi();
+
+final String ricId = new String(); // String | Select types for the given Near-RT RIC identity.
+final String typeName = new String(); // String | Select types with the given type name (type identity has the format <typename_version>)
+final String compatibleWithVersion = new String(); // String | Select types that are compatible with the given version. This parameter is only applicable in conjunction with type_name. As an example version 1.9.1 is compatible with 1.0.0 but not the other way around. Matching types will be returned sorted in ascending order.
+
+try {
+ final result = await api_instance.getPolicyTypes(ricId, typeName, compatibleWithVersion);
+ print(result);
+} catch (e) {
+ print('Exception when calling DefaultApi->getPolicyTypes: $e\n');
+}
+
+</code></pre>
+ </div>
+
<div class="tab-pane" id="examples-A1PolicyManagement-getPolicyTypes-0-android">
<pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.A1PolicyManagementApi;
@@ -4044,41 +4467,60 @@
<div class="tab-content" id="responses-A1PolicyManagement-getPolicyTypes-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyTypes-200-schema">
- <div id="responses-A1PolicyManagement-getPolicyTypes-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyTypes-200-schema">
+ <div id="responses-A1PolicyManagement-getPolicyTypes-schema-200" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "OK - Policy Type IDs Found",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/policy_type_id_list"
+ },
+ "examples" : {
+ "policy_type_id_list" : {
+ "$ref" : "#/components/examples/policy_type_id_list"
+ }
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-A1PolicyManagement-getPolicyTypes-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-A1PolicyManagement-getPolicyTypes-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-A1PolicyManagement-getPolicyTypes-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicyTypes-200-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicyTypes-schema-200');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-A1PolicyManagement-getPolicyTypes-200-schema-data' type='hidden' value=''></input>
+ </div>
</div>
<h3 id="examples-A1PolicyManagement-getPolicyTypes-title-404"></h3>
<p id="examples-A1PolicyManagement-getPolicyTypes-description-404" class="marked"></p>
@@ -4101,6 +4543,53 @@
<div class="tab-content" id="responses-A1PolicyManagement-getPolicyTypes-404-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyTypes-404-schema">
+ <div id="responses-A1PolicyManagement-getPolicyTypes-schema-404" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "example" : [ ]
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicyTypes-404-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicyTypes-schema-404');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getPolicyTypes-404-schema-data' type='hidden' value=''></input>
+ </div>
</div>
</article>
</div>
@@ -4124,6 +4613,7 @@
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="#examples-A1PolicyManagement-putPolicy-0-curl">Curl</a></li>
<li class=""><a href="#examples-A1PolicyManagement-putPolicy-0-java">Java</a></li>
+ <li class=""><a href="#examples-A1PolicyManagement-putPolicy-0-dart">Dart</a></li>
<li class=""><a href="#examples-A1PolicyManagement-putPolicy-0-android">Android</a></li>
<!--<li class=""><a href="#examples-A1PolicyManagement-putPolicy-0-groovy">Groovy</a></li>-->
<li class=""><a href="#examples-A1PolicyManagement-putPolicy-0-objc">Obj-C</a></li>
@@ -4173,6 +4663,23 @@
</code></pre>
</div>
+ <div class="tab-pane" id="examples-A1PolicyManagement-putPolicy-0-dart">
+ <pre class="prettyprint"><code class="language-dart">import 'package:openapi/api.dart';
+
+final api_instance = DefaultApi();
+
+final PolicyInfo policyInfo = new PolicyInfo(); // PolicyInfo |
+
+try {
+ final result = await api_instance.putPolicy(policyInfo);
+ print(result);
+} catch (e) {
+ print('Exception when calling DefaultApi->putPolicy: $e\n');
+}
+
+</code></pre>
+ </div>
+
<div class="tab-pane" id="examples-A1PolicyManagement-putPolicy-0-android">
<pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.A1PolicyManagementApi;
@@ -4370,6 +4877,8 @@
}
if (schema.$ref != null) {
schema = defsParser.$refs.get(schema.$ref);
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
} else {
schemaWrapper.definitions = Object.assign({}, defs);
$RefParser.dereference(schemaWrapper).catch(function(err) {
@@ -4418,41 +4927,55 @@
<div class="tab-content" id="responses-A1PolicyManagement-putPolicy-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-A1PolicyManagement-putPolicy-200-schema">
- <div id="responses-A1PolicyManagement-putPolicy-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-A1PolicyManagement-putPolicy-200-schema">
+ <div id="responses-A1PolicyManagement-putPolicy-schema-200" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "OK - Policy updated",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/void"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-A1PolicyManagement-putPolicy-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-A1PolicyManagement-putPolicy-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-A1PolicyManagement-putPolicy-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-putPolicy-200-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-putPolicy-schema-200');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-A1PolicyManagement-putPolicy-200-schema-data' type='hidden' value=''></input>
+ </div>
</div>
<h3 id="examples-A1PolicyManagement-putPolicy-title-201"></h3>
<p id="examples-A1PolicyManagement-putPolicy-description-201" class="marked"></p>
@@ -4480,41 +5003,55 @@
<div class="tab-content" id="responses-A1PolicyManagement-putPolicy-201-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-A1PolicyManagement-putPolicy-201-schema">
- <div id="responses-A1PolicyManagement-putPolicy-schema-201" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-A1PolicyManagement-putPolicy-201-schema">
+ <div id="responses-A1PolicyManagement-putPolicy-schema-201" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Created - Policy created",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/void"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-A1PolicyManagement-putPolicy-201-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-A1PolicyManagement-putPolicy-schema-201');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-A1PolicyManagement-putPolicy-201-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-putPolicy-201-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-putPolicy-schema-201');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-A1PolicyManagement-putPolicy-201-schema-data' type='hidden' value=''></input>
+ </div>
</div>
<h3 id="examples-A1PolicyManagement-putPolicy-title-423"></h3>
<p id="examples-A1PolicyManagement-putPolicy-description-423" class="marked"></p>
@@ -4542,4076 +5079,60 @@
<div class="tab-content" id="responses-A1PolicyManagement-putPolicy-423-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-A1PolicyManagement-putPolicy-423-schema">
- <div id="responses-A1PolicyManagement-putPolicy-schema-423" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
- Object.keys(schema.properties).forEach( (item) => {
- if (schema.properties[item].$ref != null) {
- schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
- }
- });
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
- }
-
- var view = new JSONSchemaView(schema, 3);
- $('#responses-A1PolicyManagement-putPolicy-423-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-A1PolicyManagement-putPolicy-schema-423');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-A1PolicyManagement-putPolicy-423-schema-data' type='hidden' value=''></input>
- </div>
- </div>
- </article>
- </div>
- <hr>
- </section>
- <section id="api-Actuator">
- <h1>Actuator</h1>
- <div id="api-Actuator-health">
- <article id="api-Actuator-health-0" data-group="User" data-name="health" data-version="0">
- <div class="pull-left">
- <h1>health</h1>
- <p>Actuator web endpoint 'health'</p>
- </div>
- <div class="pull-right"></div>
- <div class="clearfix"></div>
- <p></p>
- <p class="marked"></p>
- <p></p>
- <br />
- <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/actuator/health</span></code></pre>
- <p>
- <h3>Usage and SDK Samples</h3>
- </p>
- <ul class="nav nav-tabs nav-tabs-examples">
- <li class="active"><a href="#examples-Actuator-health-0-curl">Curl</a></li>
- <li class=""><a href="#examples-Actuator-health-0-java">Java</a></li>
- <li class=""><a href="#examples-Actuator-health-0-android">Android</a></li>
- <!--<li class=""><a href="#examples-Actuator-health-0-groovy">Groovy</a></li>-->
- <li class=""><a href="#examples-Actuator-health-0-objc">Obj-C</a></li>
- <li class=""><a href="#examples-Actuator-health-0-javascript">JavaScript</a></li>
- <!--<li class=""><a href="#examples-Actuator-health-0-angular">Angular</a></li>-->
- <li class=""><a href="#examples-Actuator-health-0-csharp">C#</a></li>
- <li class=""><a href="#examples-Actuator-health-0-php">PHP</a></li>
- <li class=""><a href="#examples-Actuator-health-0-perl">Perl</a></li>
- <li class=""><a href="#examples-Actuator-health-0-python">Python</a></li>
- <li class=""><a href="#examples-Actuator-health-0-rust">Rust</a></li>
- </ul>
-
- <div class="tab-content">
- <div class="tab-pane active" id="examples-Actuator-health-0-curl">
- <pre class="prettyprint"><code class="language-bsh">curl -X GET \
- -H "Accept: application/vnd.spring-boot.actuator.v3+json,application/json,application/vnd.spring-boot.actuator.v2+json" \
- "http://localhost/actuator/health"
-</code></pre>
- </div>
- <div class="tab-pane" id="examples-Actuator-health-0-java">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
-import org.openapitools.client.auth.*;
-import org.openapitools.client.model.*;
-import org.openapitools.client.api.ActuatorApi;
-
-import java.io.File;
-import java.util.*;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
-
- // Create an instance of the API class
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- Object result = apiInstance.health();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#health");
- e.printStackTrace();
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-health-0-android">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ActuatorApi;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- Object result = apiInstance.health();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#health");
- e.printStackTrace();
- }
- }
-}</code></pre>
- </div>
- <!--
- <div class="tab-pane" id="examples-Actuator-health-0-groovy">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div> -->
- <div class="tab-pane" id="examples-Actuator-health-0-objc">
- <pre class="prettyprint"><code class="language-cpp">
-
-// Create an instance of the API class
-ActuatorApi *apiInstance = [[ActuatorApi alloc] init];
-
-// Actuator web endpoint 'health'
-[apiInstance healthWithCompletionHandler:
- ^(Object output, NSError* error) {
- if (output) {
- NSLog(@"%@", output);
- }
- if (error) {
- NSLog(@"Error: %@", error);
- }
-}];
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-health-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
-
-// Create an instance of the API class
-var api = new A1PolicyManagementService.ActuatorApi()
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-api.health(callback);
-</code></pre>
- </div>
-
- <!--<div class="tab-pane" id="examples-Actuator-health-0-angular">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div>-->
- <div class="tab-pane" id="examples-Actuator-health-0-csharp">
- <pre class="prettyprint"><code class="language-cs">using System;
-using System.Diagnostics;
-using Org.OpenAPITools.Api;
-using Org.OpenAPITools.Client;
-using Org.OpenAPITools.Model;
-
-namespace Example
-{
- public class healthExample
- {
- public void main()
- {
-
- // Create an instance of the API class
- var apiInstance = new ActuatorApi();
-
- try {
- // Actuator web endpoint 'health'
- Object result = apiInstance.health();
- Debug.WriteLine(result);
- } catch (Exception e) {
- Debug.Print("Exception when calling ActuatorApi.health: " + e.Message );
- }
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-health-0-php">
- <pre class="prettyprint"><code class="language-php"><?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-// Create an instance of the API class
-$api_instance = new OpenAPITools\Client\Api\ActuatorApi();
-
-try {
- $result = $api_instance->health();
- print_r($result);
-} catch (Exception $e) {
- echo 'Exception when calling ActuatorApi->health: ', $e->getMessage(), PHP_EOL;
-}
-?></code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-health-0-perl">
- <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
-use WWW::OPenAPIClient::Configuration;
-use WWW::OPenAPIClient::ActuatorApi;
-
-# Create an instance of the API class
-my $api_instance = WWW::OPenAPIClient::ActuatorApi->new();
-
-eval {
- my $result = $api_instance->health();
- print Dumper($result);
-};
-if ($@) {
- warn "Exception when calling ActuatorApi->health: $@\n";
-}</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-health-0-python">
- <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
-import time
-import openapi_client
-from openapi_client.rest import ApiException
-from pprint import pprint
-
-# Create an instance of the API class
-api_instance = openapi_client.ActuatorApi()
-
-try:
- # Actuator web endpoint 'health'
- api_response = api_instance.health()
- pprint(api_response)
-except ApiException as e:
- print("Exception when calling ActuatorApi->health: %s\n" % e)</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-health-0-rust">
- <pre class="prettyprint"><code class="language-rust">extern crate ActuatorApi;
-
-pub fn main() {
-
- let mut context = ActuatorApi::Context::default();
- let result = client.health(&context).wait();
-
- println!("{:?}", result);
-}
-</code></pre>
- </div>
- </div>
-
- <h2>Scopes</h2>
- <table>
-
- </table>
-
- <h2>Parameters</h2>
-
-
-
-
-
-
- <h2>Responses</h2>
- <h3 id="examples-Actuator-health-title-200"></h3>
- <p id="examples-Actuator-health-description-200" class="marked"></p>
- <script>
- var responseActuator200_description = `OK`;
- var responseActuator200_description_break = responseActuator200_description.indexOf('\n');
- if (responseActuator200_description_break == -1) {
- $("#examples-Actuator-health-title-200").text("Status: 200 - " + responseActuator200_description);
- } else {
- $("#examples-Actuator-health-title-200").text("Status: 200 - " + responseActuator200_description.substring(0, responseActuator200_description_break));
- $("#examples-Actuator-health-description-200").html(responseActuator200_description.substring(responseActuator200_description_break));
- }
- </script>
-
-
- <ul id="responses-detail-Actuator-health-200" class="nav nav-tabs nav-tabs-examples" >
- <li class="active">
- <a data-toggle="tab" href="#responses-Actuator-health-200-schema">Schema</a>
- </li>
-
-
-
-
- </ul>
-
-
- <div class="tab-content" id="responses-Actuator-health-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-Actuator-health-200-schema">
- <div id="responses-Actuator-health-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
- Object.keys(schema.properties).forEach( (item) => {
- if (schema.properties[item].$ref != null) {
- schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
- }
- });
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
- }
-
- var view = new JSONSchemaView(schema, 3);
- $('#responses-Actuator-health-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-Actuator-health-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-Actuator-health-200-schema-data' type='hidden' value=''></input>
- </div>
- </div>
- </article>
- </div>
- <hr>
- <div id="api-Actuator-healthPath">
- <article id="api-Actuator-healthPath-0" data-group="User" data-name="healthPath" data-version="0">
- <div class="pull-left">
- <h1>healthPath</h1>
- <p>Actuator web endpoint 'health-path'</p>
- </div>
- <div class="pull-right"></div>
- <div class="clearfix"></div>
- <p></p>
- <p class="marked"></p>
- <p></p>
- <br />
- <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/actuator/health/**</span></code></pre>
- <p>
- <h3>Usage and SDK Samples</h3>
- </p>
- <ul class="nav nav-tabs nav-tabs-examples">
- <li class="active"><a href="#examples-Actuator-healthPath-0-curl">Curl</a></li>
- <li class=""><a href="#examples-Actuator-healthPath-0-java">Java</a></li>
- <li class=""><a href="#examples-Actuator-healthPath-0-android">Android</a></li>
- <!--<li class=""><a href="#examples-Actuator-healthPath-0-groovy">Groovy</a></li>-->
- <li class=""><a href="#examples-Actuator-healthPath-0-objc">Obj-C</a></li>
- <li class=""><a href="#examples-Actuator-healthPath-0-javascript">JavaScript</a></li>
- <!--<li class=""><a href="#examples-Actuator-healthPath-0-angular">Angular</a></li>-->
- <li class=""><a href="#examples-Actuator-healthPath-0-csharp">C#</a></li>
- <li class=""><a href="#examples-Actuator-healthPath-0-php">PHP</a></li>
- <li class=""><a href="#examples-Actuator-healthPath-0-perl">Perl</a></li>
- <li class=""><a href="#examples-Actuator-healthPath-0-python">Python</a></li>
- <li class=""><a href="#examples-Actuator-healthPath-0-rust">Rust</a></li>
- </ul>
-
- <div class="tab-content">
- <div class="tab-pane active" id="examples-Actuator-healthPath-0-curl">
- <pre class="prettyprint"><code class="language-bsh">curl -X GET \
- -H "Accept: application/vnd.spring-boot.actuator.v3+json,application/json,application/vnd.spring-boot.actuator.v2+json" \
- "http://localhost/actuator/health/**"
-</code></pre>
- </div>
- <div class="tab-pane" id="examples-Actuator-healthPath-0-java">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
-import org.openapitools.client.auth.*;
-import org.openapitools.client.model.*;
-import org.openapitools.client.api.ActuatorApi;
-
-import java.io.File;
-import java.util.*;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
-
- // Create an instance of the API class
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- Object result = apiInstance.healthPath();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#healthPath");
- e.printStackTrace();
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-healthPath-0-android">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ActuatorApi;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- Object result = apiInstance.healthPath();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#healthPath");
- e.printStackTrace();
- }
- }
-}</code></pre>
- </div>
- <!--
- <div class="tab-pane" id="examples-Actuator-healthPath-0-groovy">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div> -->
- <div class="tab-pane" id="examples-Actuator-healthPath-0-objc">
- <pre class="prettyprint"><code class="language-cpp">
-
-// Create an instance of the API class
-ActuatorApi *apiInstance = [[ActuatorApi alloc] init];
-
-// Actuator web endpoint 'health-path'
-[apiInstance healthPathWithCompletionHandler:
- ^(Object output, NSError* error) {
- if (output) {
- NSLog(@"%@", output);
- }
- if (error) {
- NSLog(@"Error: %@", error);
- }
-}];
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-healthPath-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
-
-// Create an instance of the API class
-var api = new A1PolicyManagementService.ActuatorApi()
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-api.healthPath(callback);
-</code></pre>
- </div>
-
- <!--<div class="tab-pane" id="examples-Actuator-healthPath-0-angular">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div>-->
- <div class="tab-pane" id="examples-Actuator-healthPath-0-csharp">
- <pre class="prettyprint"><code class="language-cs">using System;
-using System.Diagnostics;
-using Org.OpenAPITools.Api;
-using Org.OpenAPITools.Client;
-using Org.OpenAPITools.Model;
-
-namespace Example
-{
- public class healthPathExample
- {
- public void main()
- {
-
- // Create an instance of the API class
- var apiInstance = new ActuatorApi();
-
- try {
- // Actuator web endpoint 'health-path'
- Object result = apiInstance.healthPath();
- Debug.WriteLine(result);
- } catch (Exception e) {
- Debug.Print("Exception when calling ActuatorApi.healthPath: " + e.Message );
- }
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-healthPath-0-php">
- <pre class="prettyprint"><code class="language-php"><?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-// Create an instance of the API class
-$api_instance = new OpenAPITools\Client\Api\ActuatorApi();
-
-try {
- $result = $api_instance->healthPath();
- print_r($result);
-} catch (Exception $e) {
- echo 'Exception when calling ActuatorApi->healthPath: ', $e->getMessage(), PHP_EOL;
-}
-?></code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-healthPath-0-perl">
- <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
-use WWW::OPenAPIClient::Configuration;
-use WWW::OPenAPIClient::ActuatorApi;
-
-# Create an instance of the API class
-my $api_instance = WWW::OPenAPIClient::ActuatorApi->new();
-
-eval {
- my $result = $api_instance->healthPath();
- print Dumper($result);
-};
-if ($@) {
- warn "Exception when calling ActuatorApi->healthPath: $@\n";
-}</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-healthPath-0-python">
- <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
-import time
-import openapi_client
-from openapi_client.rest import ApiException
-from pprint import pprint
-
-# Create an instance of the API class
-api_instance = openapi_client.ActuatorApi()
-
-try:
- # Actuator web endpoint 'health-path'
- api_response = api_instance.health_path()
- pprint(api_response)
-except ApiException as e:
- print("Exception when calling ActuatorApi->healthPath: %s\n" % e)</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-healthPath-0-rust">
- <pre class="prettyprint"><code class="language-rust">extern crate ActuatorApi;
-
-pub fn main() {
-
- let mut context = ActuatorApi::Context::default();
- let result = client.healthPath(&context).wait();
-
- println!("{:?}", result);
-}
-</code></pre>
- </div>
- </div>
-
- <h2>Scopes</h2>
- <table>
-
- </table>
-
- <h2>Parameters</h2>
-
-
-
-
-
-
- <h2>Responses</h2>
- <h3 id="examples-Actuator-healthPath-title-200"></h3>
- <p id="examples-Actuator-healthPath-description-200" class="marked"></p>
- <script>
- var responseActuator200_description = `OK`;
- var responseActuator200_description_break = responseActuator200_description.indexOf('\n');
- if (responseActuator200_description_break == -1) {
- $("#examples-Actuator-healthPath-title-200").text("Status: 200 - " + responseActuator200_description);
- } else {
- $("#examples-Actuator-healthPath-title-200").text("Status: 200 - " + responseActuator200_description.substring(0, responseActuator200_description_break));
- $("#examples-Actuator-healthPath-description-200").html(responseActuator200_description.substring(responseActuator200_description_break));
- }
- </script>
-
-
- <ul id="responses-detail-Actuator-healthPath-200" class="nav nav-tabs nav-tabs-examples" >
- <li class="active">
- <a data-toggle="tab" href="#responses-Actuator-healthPath-200-schema">Schema</a>
- </li>
-
-
-
-
- </ul>
-
-
- <div class="tab-content" id="responses-Actuator-healthPath-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-Actuator-healthPath-200-schema">
- <div id="responses-Actuator-healthPath-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
- Object.keys(schema.properties).forEach( (item) => {
- if (schema.properties[item].$ref != null) {
- schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
- }
- });
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
- }
-
- var view = new JSONSchemaView(schema, 3);
- $('#responses-Actuator-healthPath-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-Actuator-healthPath-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-Actuator-healthPath-200-schema-data' type='hidden' value=''></input>
- </div>
- </div>
- </article>
- </div>
- <hr>
- <div id="api-Actuator-heapdump">
- <article id="api-Actuator-heapdump-0" data-group="User" data-name="heapdump" data-version="0">
- <div class="pull-left">
- <h1>heapdump</h1>
- <p>Actuator web endpoint 'heapdump'</p>
- </div>
- <div class="pull-right"></div>
- <div class="clearfix"></div>
- <p></p>
- <p class="marked"></p>
- <p></p>
- <br />
- <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/actuator/heapdump</span></code></pre>
- <p>
- <h3>Usage and SDK Samples</h3>
- </p>
- <ul class="nav nav-tabs nav-tabs-examples">
- <li class="active"><a href="#examples-Actuator-heapdump-0-curl">Curl</a></li>
- <li class=""><a href="#examples-Actuator-heapdump-0-java">Java</a></li>
- <li class=""><a href="#examples-Actuator-heapdump-0-android">Android</a></li>
- <!--<li class=""><a href="#examples-Actuator-heapdump-0-groovy">Groovy</a></li>-->
- <li class=""><a href="#examples-Actuator-heapdump-0-objc">Obj-C</a></li>
- <li class=""><a href="#examples-Actuator-heapdump-0-javascript">JavaScript</a></li>
- <!--<li class=""><a href="#examples-Actuator-heapdump-0-angular">Angular</a></li>-->
- <li class=""><a href="#examples-Actuator-heapdump-0-csharp">C#</a></li>
- <li class=""><a href="#examples-Actuator-heapdump-0-php">PHP</a></li>
- <li class=""><a href="#examples-Actuator-heapdump-0-perl">Perl</a></li>
- <li class=""><a href="#examples-Actuator-heapdump-0-python">Python</a></li>
- <li class=""><a href="#examples-Actuator-heapdump-0-rust">Rust</a></li>
- </ul>
-
- <div class="tab-content">
- <div class="tab-pane active" id="examples-Actuator-heapdump-0-curl">
- <pre class="prettyprint"><code class="language-bsh">curl -X GET \
- -H "Accept: application/octet-stream" \
- "http://localhost/actuator/heapdump"
-</code></pre>
- </div>
- <div class="tab-pane" id="examples-Actuator-heapdump-0-java">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
-import org.openapitools.client.auth.*;
-import org.openapitools.client.model.*;
-import org.openapitools.client.api.ActuatorApi;
-
-import java.io.File;
-import java.util.*;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
-
- // Create an instance of the API class
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- Object result = apiInstance.heapdump();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#heapdump");
- e.printStackTrace();
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-heapdump-0-android">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ActuatorApi;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- Object result = apiInstance.heapdump();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#heapdump");
- e.printStackTrace();
- }
- }
-}</code></pre>
- </div>
- <!--
- <div class="tab-pane" id="examples-Actuator-heapdump-0-groovy">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div> -->
- <div class="tab-pane" id="examples-Actuator-heapdump-0-objc">
- <pre class="prettyprint"><code class="language-cpp">
-
-// Create an instance of the API class
-ActuatorApi *apiInstance = [[ActuatorApi alloc] init];
-
-// Actuator web endpoint 'heapdump'
-[apiInstance heapdumpWithCompletionHandler:
- ^(Object output, NSError* error) {
- if (output) {
- NSLog(@"%@", output);
- }
- if (error) {
- NSLog(@"Error: %@", error);
- }
-}];
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-heapdump-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
-
-// Create an instance of the API class
-var api = new A1PolicyManagementService.ActuatorApi()
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-api.heapdump(callback);
-</code></pre>
- </div>
-
- <!--<div class="tab-pane" id="examples-Actuator-heapdump-0-angular">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div>-->
- <div class="tab-pane" id="examples-Actuator-heapdump-0-csharp">
- <pre class="prettyprint"><code class="language-cs">using System;
-using System.Diagnostics;
-using Org.OpenAPITools.Api;
-using Org.OpenAPITools.Client;
-using Org.OpenAPITools.Model;
-
-namespace Example
-{
- public class heapdumpExample
- {
- public void main()
- {
-
- // Create an instance of the API class
- var apiInstance = new ActuatorApi();
-
- try {
- // Actuator web endpoint 'heapdump'
- Object result = apiInstance.heapdump();
- Debug.WriteLine(result);
- } catch (Exception e) {
- Debug.Print("Exception when calling ActuatorApi.heapdump: " + e.Message );
- }
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-heapdump-0-php">
- <pre class="prettyprint"><code class="language-php"><?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-// Create an instance of the API class
-$api_instance = new OpenAPITools\Client\Api\ActuatorApi();
-
-try {
- $result = $api_instance->heapdump();
- print_r($result);
-} catch (Exception $e) {
- echo 'Exception when calling ActuatorApi->heapdump: ', $e->getMessage(), PHP_EOL;
-}
-?></code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-heapdump-0-perl">
- <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
-use WWW::OPenAPIClient::Configuration;
-use WWW::OPenAPIClient::ActuatorApi;
-
-# Create an instance of the API class
-my $api_instance = WWW::OPenAPIClient::ActuatorApi->new();
-
-eval {
- my $result = $api_instance->heapdump();
- print Dumper($result);
-};
-if ($@) {
- warn "Exception when calling ActuatorApi->heapdump: $@\n";
-}</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-heapdump-0-python">
- <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
-import time
-import openapi_client
-from openapi_client.rest import ApiException
-from pprint import pprint
-
-# Create an instance of the API class
-api_instance = openapi_client.ActuatorApi()
-
-try:
- # Actuator web endpoint 'heapdump'
- api_response = api_instance.heapdump()
- pprint(api_response)
-except ApiException as e:
- print("Exception when calling ActuatorApi->heapdump: %s\n" % e)</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-heapdump-0-rust">
- <pre class="prettyprint"><code class="language-rust">extern crate ActuatorApi;
-
-pub fn main() {
-
- let mut context = ActuatorApi::Context::default();
- let result = client.heapdump(&context).wait();
-
- println!("{:?}", result);
-}
-</code></pre>
- </div>
- </div>
-
- <h2>Scopes</h2>
- <table>
-
- </table>
-
- <h2>Parameters</h2>
-
-
-
-
-
-
- <h2>Responses</h2>
- <h3 id="examples-Actuator-heapdump-title-200"></h3>
- <p id="examples-Actuator-heapdump-description-200" class="marked"></p>
- <script>
- var responseActuator200_description = `OK`;
- var responseActuator200_description_break = responseActuator200_description.indexOf('\n');
- if (responseActuator200_description_break == -1) {
- $("#examples-Actuator-heapdump-title-200").text("Status: 200 - " + responseActuator200_description);
- } else {
- $("#examples-Actuator-heapdump-title-200").text("Status: 200 - " + responseActuator200_description.substring(0, responseActuator200_description_break));
- $("#examples-Actuator-heapdump-description-200").html(responseActuator200_description.substring(responseActuator200_description_break));
- }
- </script>
-
-
- <ul id="responses-detail-Actuator-heapdump-200" class="nav nav-tabs nav-tabs-examples" >
- <li class="active">
- <a data-toggle="tab" href="#responses-Actuator-heapdump-200-schema">Schema</a>
- </li>
-
-
-
-
- </ul>
-
-
- <div class="tab-content" id="responses-Actuator-heapdump-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-Actuator-heapdump-200-schema">
- <div id="responses-Actuator-heapdump-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
- Object.keys(schema.properties).forEach( (item) => {
- if (schema.properties[item].$ref != null) {
- schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
- }
- });
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
- }
-
- var view = new JSONSchemaView(schema, 3);
- $('#responses-Actuator-heapdump-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-Actuator-heapdump-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-Actuator-heapdump-200-schema-data' type='hidden' value=''></input>
- </div>
- </div>
- </article>
- </div>
- <hr>
- <div id="api-Actuator-info">
- <article id="api-Actuator-info-0" data-group="User" data-name="info" data-version="0">
- <div class="pull-left">
- <h1>info</h1>
- <p>Actuator web endpoint 'info'</p>
- </div>
- <div class="pull-right"></div>
- <div class="clearfix"></div>
- <p></p>
- <p class="marked"></p>
- <p></p>
- <br />
- <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/actuator/info</span></code></pre>
- <p>
- <h3>Usage and SDK Samples</h3>
- </p>
- <ul class="nav nav-tabs nav-tabs-examples">
- <li class="active"><a href="#examples-Actuator-info-0-curl">Curl</a></li>
- <li class=""><a href="#examples-Actuator-info-0-java">Java</a></li>
- <li class=""><a href="#examples-Actuator-info-0-android">Android</a></li>
- <!--<li class=""><a href="#examples-Actuator-info-0-groovy">Groovy</a></li>-->
- <li class=""><a href="#examples-Actuator-info-0-objc">Obj-C</a></li>
- <li class=""><a href="#examples-Actuator-info-0-javascript">JavaScript</a></li>
- <!--<li class=""><a href="#examples-Actuator-info-0-angular">Angular</a></li>-->
- <li class=""><a href="#examples-Actuator-info-0-csharp">C#</a></li>
- <li class=""><a href="#examples-Actuator-info-0-php">PHP</a></li>
- <li class=""><a href="#examples-Actuator-info-0-perl">Perl</a></li>
- <li class=""><a href="#examples-Actuator-info-0-python">Python</a></li>
- <li class=""><a href="#examples-Actuator-info-0-rust">Rust</a></li>
- </ul>
-
- <div class="tab-content">
- <div class="tab-pane active" id="examples-Actuator-info-0-curl">
- <pre class="prettyprint"><code class="language-bsh">curl -X GET \
- -H "Accept: application/vnd.spring-boot.actuator.v3+json,application/json,application/vnd.spring-boot.actuator.v2+json" \
- "http://localhost/actuator/info"
-</code></pre>
- </div>
- <div class="tab-pane" id="examples-Actuator-info-0-java">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
-import org.openapitools.client.auth.*;
-import org.openapitools.client.model.*;
-import org.openapitools.client.api.ActuatorApi;
-
-import java.io.File;
-import java.util.*;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
-
- // Create an instance of the API class
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- Object result = apiInstance.info();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#info");
- e.printStackTrace();
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-info-0-android">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ActuatorApi;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- Object result = apiInstance.info();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#info");
- e.printStackTrace();
- }
- }
-}</code></pre>
- </div>
- <!--
- <div class="tab-pane" id="examples-Actuator-info-0-groovy">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div> -->
- <div class="tab-pane" id="examples-Actuator-info-0-objc">
- <pre class="prettyprint"><code class="language-cpp">
-
-// Create an instance of the API class
-ActuatorApi *apiInstance = [[ActuatorApi alloc] init];
-
-// Actuator web endpoint 'info'
-[apiInstance infoWithCompletionHandler:
- ^(Object output, NSError* error) {
- if (output) {
- NSLog(@"%@", output);
- }
- if (error) {
- NSLog(@"Error: %@", error);
- }
-}];
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-info-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
-
-// Create an instance of the API class
-var api = new A1PolicyManagementService.ActuatorApi()
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-api.info(callback);
-</code></pre>
- </div>
-
- <!--<div class="tab-pane" id="examples-Actuator-info-0-angular">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div>-->
- <div class="tab-pane" id="examples-Actuator-info-0-csharp">
- <pre class="prettyprint"><code class="language-cs">using System;
-using System.Diagnostics;
-using Org.OpenAPITools.Api;
-using Org.OpenAPITools.Client;
-using Org.OpenAPITools.Model;
-
-namespace Example
-{
- public class infoExample
- {
- public void main()
- {
-
- // Create an instance of the API class
- var apiInstance = new ActuatorApi();
-
- try {
- // Actuator web endpoint 'info'
- Object result = apiInstance.info();
- Debug.WriteLine(result);
- } catch (Exception e) {
- Debug.Print("Exception when calling ActuatorApi.info: " + e.Message );
- }
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-info-0-php">
- <pre class="prettyprint"><code class="language-php"><?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-// Create an instance of the API class
-$api_instance = new OpenAPITools\Client\Api\ActuatorApi();
-
-try {
- $result = $api_instance->info();
- print_r($result);
-} catch (Exception $e) {
- echo 'Exception when calling ActuatorApi->info: ', $e->getMessage(), PHP_EOL;
-}
-?></code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-info-0-perl">
- <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
-use WWW::OPenAPIClient::Configuration;
-use WWW::OPenAPIClient::ActuatorApi;
-
-# Create an instance of the API class
-my $api_instance = WWW::OPenAPIClient::ActuatorApi->new();
-
-eval {
- my $result = $api_instance->info();
- print Dumper($result);
-};
-if ($@) {
- warn "Exception when calling ActuatorApi->info: $@\n";
-}</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-info-0-python">
- <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
-import time
-import openapi_client
-from openapi_client.rest import ApiException
-from pprint import pprint
-
-# Create an instance of the API class
-api_instance = openapi_client.ActuatorApi()
-
-try:
- # Actuator web endpoint 'info'
- api_response = api_instance.info()
- pprint(api_response)
-except ApiException as e:
- print("Exception when calling ActuatorApi->info: %s\n" % e)</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-info-0-rust">
- <pre class="prettyprint"><code class="language-rust">extern crate ActuatorApi;
-
-pub fn main() {
-
- let mut context = ActuatorApi::Context::default();
- let result = client.info(&context).wait();
-
- println!("{:?}", result);
-}
-</code></pre>
- </div>
- </div>
-
- <h2>Scopes</h2>
- <table>
-
- </table>
-
- <h2>Parameters</h2>
-
-
-
-
-
-
- <h2>Responses</h2>
- <h3 id="examples-Actuator-info-title-200"></h3>
- <p id="examples-Actuator-info-description-200" class="marked"></p>
- <script>
- var responseActuator200_description = `OK`;
- var responseActuator200_description_break = responseActuator200_description.indexOf('\n');
- if (responseActuator200_description_break == -1) {
- $("#examples-Actuator-info-title-200").text("Status: 200 - " + responseActuator200_description);
- } else {
- $("#examples-Actuator-info-title-200").text("Status: 200 - " + responseActuator200_description.substring(0, responseActuator200_description_break));
- $("#examples-Actuator-info-description-200").html(responseActuator200_description.substring(responseActuator200_description_break));
- }
- </script>
-
-
- <ul id="responses-detail-Actuator-info-200" class="nav nav-tabs nav-tabs-examples" >
- <li class="active">
- <a data-toggle="tab" href="#responses-Actuator-info-200-schema">Schema</a>
- </li>
-
-
-
-
- </ul>
-
-
- <div class="tab-content" id="responses-Actuator-info-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-Actuator-info-200-schema">
- <div id="responses-Actuator-info-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
- Object.keys(schema.properties).forEach( (item) => {
- if (schema.properties[item].$ref != null) {
- schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
- }
- });
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
- }
-
- var view = new JSONSchemaView(schema, 3);
- $('#responses-Actuator-info-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-Actuator-info-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-Actuator-info-200-schema-data' type='hidden' value=''></input>
- </div>
- </div>
- </article>
- </div>
- <hr>
- <div id="api-Actuator-links">
- <article id="api-Actuator-links-0" data-group="User" data-name="links" data-version="0">
- <div class="pull-left">
- <h1>links</h1>
- <p>Actuator root web endpoint</p>
- </div>
- <div class="pull-right"></div>
- <div class="clearfix"></div>
- <p></p>
- <p class="marked"></p>
- <p></p>
- <br />
- <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/actuator</span></code></pre>
- <p>
- <h3>Usage and SDK Samples</h3>
- </p>
- <ul class="nav nav-tabs nav-tabs-examples">
- <li class="active"><a href="#examples-Actuator-links-0-curl">Curl</a></li>
- <li class=""><a href="#examples-Actuator-links-0-java">Java</a></li>
- <li class=""><a href="#examples-Actuator-links-0-android">Android</a></li>
- <!--<li class=""><a href="#examples-Actuator-links-0-groovy">Groovy</a></li>-->
- <li class=""><a href="#examples-Actuator-links-0-objc">Obj-C</a></li>
- <li class=""><a href="#examples-Actuator-links-0-javascript">JavaScript</a></li>
- <!--<li class=""><a href="#examples-Actuator-links-0-angular">Angular</a></li>-->
- <li class=""><a href="#examples-Actuator-links-0-csharp">C#</a></li>
- <li class=""><a href="#examples-Actuator-links-0-php">PHP</a></li>
- <li class=""><a href="#examples-Actuator-links-0-perl">Perl</a></li>
- <li class=""><a href="#examples-Actuator-links-0-python">Python</a></li>
- <li class=""><a href="#examples-Actuator-links-0-rust">Rust</a></li>
- </ul>
-
- <div class="tab-content">
- <div class="tab-pane active" id="examples-Actuator-links-0-curl">
- <pre class="prettyprint"><code class="language-bsh">curl -X GET \
- -H "Accept: application/vnd.spring-boot.actuator.v3+json,application/json,application/vnd.spring-boot.actuator.v2+json" \
- "http://localhost/actuator"
-</code></pre>
- </div>
- <div class="tab-pane" id="examples-Actuator-links-0-java">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
-import org.openapitools.client.auth.*;
-import org.openapitools.client.model.*;
-import org.openapitools.client.api.ActuatorApi;
-
-import java.io.File;
-import java.util.*;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
-
- // Create an instance of the API class
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- map['String', map['String', Link]] result = apiInstance.links();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#links");
- e.printStackTrace();
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-links-0-android">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ActuatorApi;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- map['String', map['String', Link]] result = apiInstance.links();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#links");
- e.printStackTrace();
- }
- }
-}</code></pre>
- </div>
- <!--
- <div class="tab-pane" id="examples-Actuator-links-0-groovy">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div> -->
- <div class="tab-pane" id="examples-Actuator-links-0-objc">
- <pre class="prettyprint"><code class="language-cpp">
-
-// Create an instance of the API class
-ActuatorApi *apiInstance = [[ActuatorApi alloc] init];
-
-// Actuator root web endpoint
-[apiInstance linksWithCompletionHandler:
- ^(map['String', map['String', Link]] output, NSError* error) {
- if (output) {
- NSLog(@"%@", output);
- }
- if (error) {
- NSLog(@"Error: %@", error);
- }
-}];
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-links-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
-
-// Create an instance of the API class
-var api = new A1PolicyManagementService.ActuatorApi()
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-api.links(callback);
-</code></pre>
- </div>
-
- <!--<div class="tab-pane" id="examples-Actuator-links-0-angular">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div>-->
- <div class="tab-pane" id="examples-Actuator-links-0-csharp">
- <pre class="prettyprint"><code class="language-cs">using System;
-using System.Diagnostics;
-using Org.OpenAPITools.Api;
-using Org.OpenAPITools.Client;
-using Org.OpenAPITools.Model;
-
-namespace Example
-{
- public class linksExample
- {
- public void main()
- {
-
- // Create an instance of the API class
- var apiInstance = new ActuatorApi();
-
- try {
- // Actuator root web endpoint
- map['String', map['String', Link]] result = apiInstance.links();
- Debug.WriteLine(result);
- } catch (Exception e) {
- Debug.Print("Exception when calling ActuatorApi.links: " + e.Message );
- }
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-links-0-php">
- <pre class="prettyprint"><code class="language-php"><?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-// Create an instance of the API class
-$api_instance = new OpenAPITools\Client\Api\ActuatorApi();
-
-try {
- $result = $api_instance->links();
- print_r($result);
-} catch (Exception $e) {
- echo 'Exception when calling ActuatorApi->links: ', $e->getMessage(), PHP_EOL;
-}
-?></code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-links-0-perl">
- <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
-use WWW::OPenAPIClient::Configuration;
-use WWW::OPenAPIClient::ActuatorApi;
-
-# Create an instance of the API class
-my $api_instance = WWW::OPenAPIClient::ActuatorApi->new();
-
-eval {
- my $result = $api_instance->links();
- print Dumper($result);
-};
-if ($@) {
- warn "Exception when calling ActuatorApi->links: $@\n";
-}</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-links-0-python">
- <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
-import time
-import openapi_client
-from openapi_client.rest import ApiException
-from pprint import pprint
-
-# Create an instance of the API class
-api_instance = openapi_client.ActuatorApi()
-
-try:
- # Actuator root web endpoint
- api_response = api_instance.links()
- pprint(api_response)
-except ApiException as e:
- print("Exception when calling ActuatorApi->links: %s\n" % e)</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-links-0-rust">
- <pre class="prettyprint"><code class="language-rust">extern crate ActuatorApi;
-
-pub fn main() {
-
- let mut context = ActuatorApi::Context::default();
- let result = client.links(&context).wait();
-
- println!("{:?}", result);
-}
-</code></pre>
- </div>
- </div>
-
- <h2>Scopes</h2>
- <table>
-
- </table>
-
- <h2>Parameters</h2>
-
-
-
-
-
-
- <h2>Responses</h2>
- <h3 id="examples-Actuator-links-title-200"></h3>
- <p id="examples-Actuator-links-description-200" class="marked"></p>
- <script>
- var responseActuator200_description = `OK`;
- var responseActuator200_description_break = responseActuator200_description.indexOf('\n');
- if (responseActuator200_description_break == -1) {
- $("#examples-Actuator-links-title-200").text("Status: 200 - " + responseActuator200_description);
- } else {
- $("#examples-Actuator-links-title-200").text("Status: 200 - " + responseActuator200_description.substring(0, responseActuator200_description_break));
- $("#examples-Actuator-links-description-200").html(responseActuator200_description.substring(responseActuator200_description_break));
- }
- </script>
-
-
- <ul id="responses-detail-Actuator-links-200" class="nav nav-tabs nav-tabs-examples" >
- <li class="active">
- <a data-toggle="tab" href="#responses-Actuator-links-200-schema">Schema</a>
- </li>
-
-
-
-
- </ul>
-
-
- <div class="tab-content" id="responses-Actuator-links-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-Actuator-links-200-schema">
- <div id="responses-Actuator-links-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
- Object.keys(schema.properties).forEach( (item) => {
- if (schema.properties[item].$ref != null) {
- schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
- }
- });
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
- }
-
- var view = new JSONSchemaView(schema, 3);
- $('#responses-Actuator-links-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-Actuator-links-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-Actuator-links-200-schema-data' type='hidden' value=''></input>
- </div>
- </div>
- </article>
- </div>
- <hr>
- <div id="api-Actuator-logfile">
- <article id="api-Actuator-logfile-0" data-group="User" data-name="logfile" data-version="0">
- <div class="pull-left">
- <h1>logfile</h1>
- <p>Actuator web endpoint 'logfile'</p>
- </div>
- <div class="pull-right"></div>
- <div class="clearfix"></div>
- <p></p>
- <p class="marked"></p>
- <p></p>
- <br />
- <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/actuator/logfile</span></code></pre>
- <p>
- <h3>Usage and SDK Samples</h3>
- </p>
- <ul class="nav nav-tabs nav-tabs-examples">
- <li class="active"><a href="#examples-Actuator-logfile-0-curl">Curl</a></li>
- <li class=""><a href="#examples-Actuator-logfile-0-java">Java</a></li>
- <li class=""><a href="#examples-Actuator-logfile-0-android">Android</a></li>
- <!--<li class=""><a href="#examples-Actuator-logfile-0-groovy">Groovy</a></li>-->
- <li class=""><a href="#examples-Actuator-logfile-0-objc">Obj-C</a></li>
- <li class=""><a href="#examples-Actuator-logfile-0-javascript">JavaScript</a></li>
- <!--<li class=""><a href="#examples-Actuator-logfile-0-angular">Angular</a></li>-->
- <li class=""><a href="#examples-Actuator-logfile-0-csharp">C#</a></li>
- <li class=""><a href="#examples-Actuator-logfile-0-php">PHP</a></li>
- <li class=""><a href="#examples-Actuator-logfile-0-perl">Perl</a></li>
- <li class=""><a href="#examples-Actuator-logfile-0-python">Python</a></li>
- <li class=""><a href="#examples-Actuator-logfile-0-rust">Rust</a></li>
- </ul>
-
- <div class="tab-content">
- <div class="tab-pane active" id="examples-Actuator-logfile-0-curl">
- <pre class="prettyprint"><code class="language-bsh">curl -X GET \
- -H "Accept: text/plain;charset=UTF-8" \
- "http://localhost/actuator/logfile"
-</code></pre>
- </div>
- <div class="tab-pane" id="examples-Actuator-logfile-0-java">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
-import org.openapitools.client.auth.*;
-import org.openapitools.client.model.*;
-import org.openapitools.client.api.ActuatorApi;
-
-import java.io.File;
-import java.util.*;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
-
- // Create an instance of the API class
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- Object result = apiInstance.logfile();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#logfile");
- e.printStackTrace();
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-logfile-0-android">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ActuatorApi;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- Object result = apiInstance.logfile();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#logfile");
- e.printStackTrace();
- }
- }
-}</code></pre>
- </div>
- <!--
- <div class="tab-pane" id="examples-Actuator-logfile-0-groovy">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div> -->
- <div class="tab-pane" id="examples-Actuator-logfile-0-objc">
- <pre class="prettyprint"><code class="language-cpp">
-
-// Create an instance of the API class
-ActuatorApi *apiInstance = [[ActuatorApi alloc] init];
-
-// Actuator web endpoint 'logfile'
-[apiInstance logfileWithCompletionHandler:
- ^(Object output, NSError* error) {
- if (output) {
- NSLog(@"%@", output);
- }
- if (error) {
- NSLog(@"Error: %@", error);
- }
-}];
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-logfile-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
-
-// Create an instance of the API class
-var api = new A1PolicyManagementService.ActuatorApi()
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-api.logfile(callback);
-</code></pre>
- </div>
-
- <!--<div class="tab-pane" id="examples-Actuator-logfile-0-angular">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div>-->
- <div class="tab-pane" id="examples-Actuator-logfile-0-csharp">
- <pre class="prettyprint"><code class="language-cs">using System;
-using System.Diagnostics;
-using Org.OpenAPITools.Api;
-using Org.OpenAPITools.Client;
-using Org.OpenAPITools.Model;
-
-namespace Example
-{
- public class logfileExample
- {
- public void main()
- {
-
- // Create an instance of the API class
- var apiInstance = new ActuatorApi();
-
- try {
- // Actuator web endpoint 'logfile'
- Object result = apiInstance.logfile();
- Debug.WriteLine(result);
- } catch (Exception e) {
- Debug.Print("Exception when calling ActuatorApi.logfile: " + e.Message );
- }
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-logfile-0-php">
- <pre class="prettyprint"><code class="language-php"><?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-// Create an instance of the API class
-$api_instance = new OpenAPITools\Client\Api\ActuatorApi();
-
-try {
- $result = $api_instance->logfile();
- print_r($result);
-} catch (Exception $e) {
- echo 'Exception when calling ActuatorApi->logfile: ', $e->getMessage(), PHP_EOL;
-}
-?></code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-logfile-0-perl">
- <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
-use WWW::OPenAPIClient::Configuration;
-use WWW::OPenAPIClient::ActuatorApi;
-
-# Create an instance of the API class
-my $api_instance = WWW::OPenAPIClient::ActuatorApi->new();
-
-eval {
- my $result = $api_instance->logfile();
- print Dumper($result);
-};
-if ($@) {
- warn "Exception when calling ActuatorApi->logfile: $@\n";
-}</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-logfile-0-python">
- <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
-import time
-import openapi_client
-from openapi_client.rest import ApiException
-from pprint import pprint
-
-# Create an instance of the API class
-api_instance = openapi_client.ActuatorApi()
-
-try:
- # Actuator web endpoint 'logfile'
- api_response = api_instance.logfile()
- pprint(api_response)
-except ApiException as e:
- print("Exception when calling ActuatorApi->logfile: %s\n" % e)</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-logfile-0-rust">
- <pre class="prettyprint"><code class="language-rust">extern crate ActuatorApi;
-
-pub fn main() {
-
- let mut context = ActuatorApi::Context::default();
- let result = client.logfile(&context).wait();
-
- println!("{:?}", result);
-}
-</code></pre>
- </div>
- </div>
-
- <h2>Scopes</h2>
- <table>
-
- </table>
-
- <h2>Parameters</h2>
-
-
-
-
-
-
- <h2>Responses</h2>
- <h3 id="examples-Actuator-logfile-title-200"></h3>
- <p id="examples-Actuator-logfile-description-200" class="marked"></p>
- <script>
- var responseActuator200_description = `OK`;
- var responseActuator200_description_break = responseActuator200_description.indexOf('\n');
- if (responseActuator200_description_break == -1) {
- $("#examples-Actuator-logfile-title-200").text("Status: 200 - " + responseActuator200_description);
- } else {
- $("#examples-Actuator-logfile-title-200").text("Status: 200 - " + responseActuator200_description.substring(0, responseActuator200_description_break));
- $("#examples-Actuator-logfile-description-200").html(responseActuator200_description.substring(responseActuator200_description_break));
- }
- </script>
-
-
- <ul id="responses-detail-Actuator-logfile-200" class="nav nav-tabs nav-tabs-examples" >
- <li class="active">
- <a data-toggle="tab" href="#responses-Actuator-logfile-200-schema">Schema</a>
- </li>
-
-
-
-
- </ul>
-
-
- <div class="tab-content" id="responses-Actuator-logfile-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-Actuator-logfile-200-schema">
- <div id="responses-Actuator-logfile-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
- Object.keys(schema.properties).forEach( (item) => {
- if (schema.properties[item].$ref != null) {
- schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
- }
- });
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
- }
-
- var view = new JSONSchemaView(schema, 3);
- $('#responses-Actuator-logfile-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-Actuator-logfile-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-Actuator-logfile-200-schema-data' type='hidden' value=''></input>
- </div>
- </div>
- </article>
- </div>
- <hr>
- <div id="api-Actuator-loggers">
- <article id="api-Actuator-loggers-0" data-group="User" data-name="loggers" data-version="0">
- <div class="pull-left">
- <h1>loggers</h1>
- <p>Actuator web endpoint 'loggers'</p>
- </div>
- <div class="pull-right"></div>
- <div class="clearfix"></div>
- <p></p>
- <p class="marked"></p>
- <p></p>
- <br />
- <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/actuator/loggers</span></code></pre>
- <p>
- <h3>Usage and SDK Samples</h3>
- </p>
- <ul class="nav nav-tabs nav-tabs-examples">
- <li class="active"><a href="#examples-Actuator-loggers-0-curl">Curl</a></li>
- <li class=""><a href="#examples-Actuator-loggers-0-java">Java</a></li>
- <li class=""><a href="#examples-Actuator-loggers-0-android">Android</a></li>
- <!--<li class=""><a href="#examples-Actuator-loggers-0-groovy">Groovy</a></li>-->
- <li class=""><a href="#examples-Actuator-loggers-0-objc">Obj-C</a></li>
- <li class=""><a href="#examples-Actuator-loggers-0-javascript">JavaScript</a></li>
- <!--<li class=""><a href="#examples-Actuator-loggers-0-angular">Angular</a></li>-->
- <li class=""><a href="#examples-Actuator-loggers-0-csharp">C#</a></li>
- <li class=""><a href="#examples-Actuator-loggers-0-php">PHP</a></li>
- <li class=""><a href="#examples-Actuator-loggers-0-perl">Perl</a></li>
- <li class=""><a href="#examples-Actuator-loggers-0-python">Python</a></li>
- <li class=""><a href="#examples-Actuator-loggers-0-rust">Rust</a></li>
- </ul>
-
- <div class="tab-content">
- <div class="tab-pane active" id="examples-Actuator-loggers-0-curl">
- <pre class="prettyprint"><code class="language-bsh">curl -X GET \
- -H "Accept: application/vnd.spring-boot.actuator.v3+json,application/json,application/vnd.spring-boot.actuator.v2+json" \
- "http://localhost/actuator/loggers"
-</code></pre>
- </div>
- <div class="tab-pane" id="examples-Actuator-loggers-0-java">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
-import org.openapitools.client.auth.*;
-import org.openapitools.client.model.*;
-import org.openapitools.client.api.ActuatorApi;
-
-import java.io.File;
-import java.util.*;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
-
- // Create an instance of the API class
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- Object result = apiInstance.loggers();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#loggers");
- e.printStackTrace();
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-loggers-0-android">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ActuatorApi;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- Object result = apiInstance.loggers();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#loggers");
- e.printStackTrace();
- }
- }
-}</code></pre>
- </div>
- <!--
- <div class="tab-pane" id="examples-Actuator-loggers-0-groovy">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div> -->
- <div class="tab-pane" id="examples-Actuator-loggers-0-objc">
- <pre class="prettyprint"><code class="language-cpp">
-
-// Create an instance of the API class
-ActuatorApi *apiInstance = [[ActuatorApi alloc] init];
-
-// Actuator web endpoint 'loggers'
-[apiInstance loggersWithCompletionHandler:
- ^(Object output, NSError* error) {
- if (output) {
- NSLog(@"%@", output);
- }
- if (error) {
- NSLog(@"Error: %@", error);
- }
-}];
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-loggers-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
-
-// Create an instance of the API class
-var api = new A1PolicyManagementService.ActuatorApi()
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-api.loggers(callback);
-</code></pre>
- </div>
-
- <!--<div class="tab-pane" id="examples-Actuator-loggers-0-angular">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div>-->
- <div class="tab-pane" id="examples-Actuator-loggers-0-csharp">
- <pre class="prettyprint"><code class="language-cs">using System;
-using System.Diagnostics;
-using Org.OpenAPITools.Api;
-using Org.OpenAPITools.Client;
-using Org.OpenAPITools.Model;
-
-namespace Example
-{
- public class loggersExample
- {
- public void main()
- {
-
- // Create an instance of the API class
- var apiInstance = new ActuatorApi();
-
- try {
- // Actuator web endpoint 'loggers'
- Object result = apiInstance.loggers();
- Debug.WriteLine(result);
- } catch (Exception e) {
- Debug.Print("Exception when calling ActuatorApi.loggers: " + e.Message );
- }
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-loggers-0-php">
- <pre class="prettyprint"><code class="language-php"><?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-// Create an instance of the API class
-$api_instance = new OpenAPITools\Client\Api\ActuatorApi();
-
-try {
- $result = $api_instance->loggers();
- print_r($result);
-} catch (Exception $e) {
- echo 'Exception when calling ActuatorApi->loggers: ', $e->getMessage(), PHP_EOL;
-}
-?></code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-loggers-0-perl">
- <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
-use WWW::OPenAPIClient::Configuration;
-use WWW::OPenAPIClient::ActuatorApi;
-
-# Create an instance of the API class
-my $api_instance = WWW::OPenAPIClient::ActuatorApi->new();
-
-eval {
- my $result = $api_instance->loggers();
- print Dumper($result);
-};
-if ($@) {
- warn "Exception when calling ActuatorApi->loggers: $@\n";
-}</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-loggers-0-python">
- <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
-import time
-import openapi_client
-from openapi_client.rest import ApiException
-from pprint import pprint
-
-# Create an instance of the API class
-api_instance = openapi_client.ActuatorApi()
-
-try:
- # Actuator web endpoint 'loggers'
- api_response = api_instance.loggers()
- pprint(api_response)
-except ApiException as e:
- print("Exception when calling ActuatorApi->loggers: %s\n" % e)</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-loggers-0-rust">
- <pre class="prettyprint"><code class="language-rust">extern crate ActuatorApi;
-
-pub fn main() {
-
- let mut context = ActuatorApi::Context::default();
- let result = client.loggers(&context).wait();
-
- println!("{:?}", result);
-}
-</code></pre>
- </div>
- </div>
-
- <h2>Scopes</h2>
- <table>
-
- </table>
-
- <h2>Parameters</h2>
-
-
-
-
-
-
- <h2>Responses</h2>
- <h3 id="examples-Actuator-loggers-title-200"></h3>
- <p id="examples-Actuator-loggers-description-200" class="marked"></p>
- <script>
- var responseActuator200_description = `OK`;
- var responseActuator200_description_break = responseActuator200_description.indexOf('\n');
- if (responseActuator200_description_break == -1) {
- $("#examples-Actuator-loggers-title-200").text("Status: 200 - " + responseActuator200_description);
- } else {
- $("#examples-Actuator-loggers-title-200").text("Status: 200 - " + responseActuator200_description.substring(0, responseActuator200_description_break));
- $("#examples-Actuator-loggers-description-200").html(responseActuator200_description.substring(responseActuator200_description_break));
- }
- </script>
-
-
- <ul id="responses-detail-Actuator-loggers-200" class="nav nav-tabs nav-tabs-examples" >
- <li class="active">
- <a data-toggle="tab" href="#responses-Actuator-loggers-200-schema">Schema</a>
- </li>
-
-
-
-
- </ul>
-
-
- <div class="tab-content" id="responses-Actuator-loggers-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-Actuator-loggers-200-schema">
- <div id="responses-Actuator-loggers-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
- Object.keys(schema.properties).forEach( (item) => {
- if (schema.properties[item].$ref != null) {
- schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
- }
- });
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
- }
-
- var view = new JSONSchemaView(schema, 3);
- $('#responses-Actuator-loggers-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-Actuator-loggers-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-Actuator-loggers-200-schema-data' type='hidden' value=''></input>
- </div>
- </div>
- </article>
- </div>
- <hr>
- <div id="api-Actuator-loggersName">
- <article id="api-Actuator-loggersName-0" data-group="User" data-name="loggersName" data-version="0">
- <div class="pull-left">
- <h1>loggersName</h1>
- <p>Actuator web endpoint 'loggers-name'</p>
- </div>
- <div class="pull-right"></div>
- <div class="clearfix"></div>
- <p></p>
- <p class="marked"></p>
- <p></p>
- <br />
- <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/actuator/loggers/{name}</span></code></pre>
- <p>
- <h3>Usage and SDK Samples</h3>
- </p>
- <ul class="nav nav-tabs nav-tabs-examples">
- <li class="active"><a href="#examples-Actuator-loggersName-0-curl">Curl</a></li>
- <li class=""><a href="#examples-Actuator-loggersName-0-java">Java</a></li>
- <li class=""><a href="#examples-Actuator-loggersName-0-android">Android</a></li>
- <!--<li class=""><a href="#examples-Actuator-loggersName-0-groovy">Groovy</a></li>-->
- <li class=""><a href="#examples-Actuator-loggersName-0-objc">Obj-C</a></li>
- <li class=""><a href="#examples-Actuator-loggersName-0-javascript">JavaScript</a></li>
- <!--<li class=""><a href="#examples-Actuator-loggersName-0-angular">Angular</a></li>-->
- <li class=""><a href="#examples-Actuator-loggersName-0-csharp">C#</a></li>
- <li class=""><a href="#examples-Actuator-loggersName-0-php">PHP</a></li>
- <li class=""><a href="#examples-Actuator-loggersName-0-perl">Perl</a></li>
- <li class=""><a href="#examples-Actuator-loggersName-0-python">Python</a></li>
- <li class=""><a href="#examples-Actuator-loggersName-0-rust">Rust</a></li>
- </ul>
-
- <div class="tab-content">
- <div class="tab-pane active" id="examples-Actuator-loggersName-0-curl">
- <pre class="prettyprint"><code class="language-bsh">curl -X GET \
- -H "Accept: application/vnd.spring-boot.actuator.v3+json,application/json,application/vnd.spring-boot.actuator.v2+json" \
- "http://localhost/actuator/loggers/{name}"
-</code></pre>
- </div>
- <div class="tab-pane" id="examples-Actuator-loggersName-0-java">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
-import org.openapitools.client.auth.*;
-import org.openapitools.client.model.*;
-import org.openapitools.client.api.ActuatorApi;
-
-import java.io.File;
-import java.util.*;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
-
- // Create an instance of the API class
- ActuatorApi apiInstance = new ActuatorApi();
- String name = name_example; // String |
-
- try {
- Object result = apiInstance.loggersName(name);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#loggersName");
- e.printStackTrace();
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-loggersName-0-android">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ActuatorApi;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
- ActuatorApi apiInstance = new ActuatorApi();
- String name = name_example; // String |
-
- try {
- Object result = apiInstance.loggersName(name);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#loggersName");
- e.printStackTrace();
- }
- }
-}</code></pre>
- </div>
- <!--
- <div class="tab-pane" id="examples-Actuator-loggersName-0-groovy">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div> -->
- <div class="tab-pane" id="examples-Actuator-loggersName-0-objc">
- <pre class="prettyprint"><code class="language-cpp">
-
-// Create an instance of the API class
-ActuatorApi *apiInstance = [[ActuatorApi alloc] init];
-String *name = name_example; // (default to null)
-
-// Actuator web endpoint 'loggers-name'
-[apiInstance loggersNameWith:name
- completionHandler: ^(Object output, NSError* error) {
- if (output) {
- NSLog(@"%@", output);
- }
- if (error) {
- NSLog(@"Error: %@", error);
- }
-}];
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-loggersName-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
-
-// Create an instance of the API class
-var api = new A1PolicyManagementService.ActuatorApi()
-var name = name_example; // {String}
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-api.loggersName(name, callback);
-</code></pre>
- </div>
-
- <!--<div class="tab-pane" id="examples-Actuator-loggersName-0-angular">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div>-->
- <div class="tab-pane" id="examples-Actuator-loggersName-0-csharp">
- <pre class="prettyprint"><code class="language-cs">using System;
-using System.Diagnostics;
-using Org.OpenAPITools.Api;
-using Org.OpenAPITools.Client;
-using Org.OpenAPITools.Model;
-
-namespace Example
-{
- public class loggersNameExample
- {
- public void main()
- {
-
- // Create an instance of the API class
- var apiInstance = new ActuatorApi();
- var name = name_example; // String | (default to null)
-
- try {
- // Actuator web endpoint 'loggers-name'
- Object result = apiInstance.loggersName(name);
- Debug.WriteLine(result);
- } catch (Exception e) {
- Debug.Print("Exception when calling ActuatorApi.loggersName: " + e.Message );
- }
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-loggersName-0-php">
- <pre class="prettyprint"><code class="language-php"><?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-// Create an instance of the API class
-$api_instance = new OpenAPITools\Client\Api\ActuatorApi();
-$name = name_example; // String |
-
-try {
- $result = $api_instance->loggersName($name);
- print_r($result);
-} catch (Exception $e) {
- echo 'Exception when calling ActuatorApi->loggersName: ', $e->getMessage(), PHP_EOL;
-}
-?></code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-loggersName-0-perl">
- <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
-use WWW::OPenAPIClient::Configuration;
-use WWW::OPenAPIClient::ActuatorApi;
-
-# Create an instance of the API class
-my $api_instance = WWW::OPenAPIClient::ActuatorApi->new();
-my $name = name_example; # String |
-
-eval {
- my $result = $api_instance->loggersName(name => $name);
- print Dumper($result);
-};
-if ($@) {
- warn "Exception when calling ActuatorApi->loggersName: $@\n";
-}</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-loggersName-0-python">
- <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
-import time
-import openapi_client
-from openapi_client.rest import ApiException
-from pprint import pprint
-
-# Create an instance of the API class
-api_instance = openapi_client.ActuatorApi()
-name = name_example # String | (default to null)
-
-try:
- # Actuator web endpoint 'loggers-name'
- api_response = api_instance.loggers_name(name)
- pprint(api_response)
-except ApiException as e:
- print("Exception when calling ActuatorApi->loggersName: %s\n" % e)</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-loggersName-0-rust">
- <pre class="prettyprint"><code class="language-rust">extern crate ActuatorApi;
-
-pub fn main() {
- let name = name_example; // String
-
- let mut context = ActuatorApi::Context::default();
- let result = client.loggersName(name, &context).wait();
-
- println!("{:?}", result);
-}
-</code></pre>
- </div>
- </div>
-
- <h2>Scopes</h2>
- <table>
-
- </table>
-
- <h2>Parameters</h2>
-
- <div class="methodsubtabletitle">Path parameters</div>
- <table id="methodsubtable">
- <tr>
- <th width="150px">Name</th>
- <th>Description</th>
- </tr>
- <tr><td style="width:150px;">name*</td>
-<td>
-
-
- <div id="d2e199_loggersName_name">
- <div class="json-schema-view">
- <div class="primitive">
- <span class="type">
- String
- </span>
-
- </div>
- <div class="inner required">
- Required
- </div>
- </div>
- </div>
-</td>
-</tr>
-
- </table>
-
-
-
-
-
- <h2>Responses</h2>
- <h3 id="examples-Actuator-loggersName-title-200"></h3>
- <p id="examples-Actuator-loggersName-description-200" class="marked"></p>
- <script>
- var responseActuator200_description = `OK`;
- var responseActuator200_description_break = responseActuator200_description.indexOf('\n');
- if (responseActuator200_description_break == -1) {
- $("#examples-Actuator-loggersName-title-200").text("Status: 200 - " + responseActuator200_description);
- } else {
- $("#examples-Actuator-loggersName-title-200").text("Status: 200 - " + responseActuator200_description.substring(0, responseActuator200_description_break));
- $("#examples-Actuator-loggersName-description-200").html(responseActuator200_description.substring(responseActuator200_description_break));
- }
- </script>
-
-
- <ul id="responses-detail-Actuator-loggersName-200" class="nav nav-tabs nav-tabs-examples" >
- <li class="active">
- <a data-toggle="tab" href="#responses-Actuator-loggersName-200-schema">Schema</a>
- </li>
-
-
-
-
- </ul>
-
-
- <div class="tab-content" id="responses-Actuator-loggersName-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-Actuator-loggersName-200-schema">
- <div id="responses-Actuator-loggersName-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
- Object.keys(schema.properties).forEach( (item) => {
- if (schema.properties[item].$ref != null) {
- schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
- }
- });
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
- }
-
- var view = new JSONSchemaView(schema, 3);
- $('#responses-Actuator-loggersName-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-Actuator-loggersName-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-Actuator-loggersName-200-schema-data' type='hidden' value=''></input>
- </div>
- </div>
- </article>
- </div>
- <hr>
- <div id="api-Actuator-loggersName2">
- <article id="api-Actuator-loggersName2-0" data-group="User" data-name="loggersName2" data-version="0">
- <div class="pull-left">
- <h1>loggersName2</h1>
- <p>Actuator web endpoint 'loggers-name'</p>
- </div>
- <div class="pull-right"></div>
- <div class="clearfix"></div>
- <p></p>
- <p class="marked"></p>
- <p></p>
- <br />
- <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/actuator/loggers/{name}</span></code></pre>
- <p>
- <h3>Usage and SDK Samples</h3>
- </p>
- <ul class="nav nav-tabs nav-tabs-examples">
- <li class="active"><a href="#examples-Actuator-loggersName2-0-curl">Curl</a></li>
- <li class=""><a href="#examples-Actuator-loggersName2-0-java">Java</a></li>
- <li class=""><a href="#examples-Actuator-loggersName2-0-android">Android</a></li>
- <!--<li class=""><a href="#examples-Actuator-loggersName2-0-groovy">Groovy</a></li>-->
- <li class=""><a href="#examples-Actuator-loggersName2-0-objc">Obj-C</a></li>
- <li class=""><a href="#examples-Actuator-loggersName2-0-javascript">JavaScript</a></li>
- <!--<li class=""><a href="#examples-Actuator-loggersName2-0-angular">Angular</a></li>-->
- <li class=""><a href="#examples-Actuator-loggersName2-0-csharp">C#</a></li>
- <li class=""><a href="#examples-Actuator-loggersName2-0-php">PHP</a></li>
- <li class=""><a href="#examples-Actuator-loggersName2-0-perl">Perl</a></li>
- <li class=""><a href="#examples-Actuator-loggersName2-0-python">Python</a></li>
- <li class=""><a href="#examples-Actuator-loggersName2-0-rust">Rust</a></li>
- </ul>
-
- <div class="tab-content">
- <div class="tab-pane active" id="examples-Actuator-loggersName2-0-curl">
- <pre class="prettyprint"><code class="language-bsh">curl -X POST \
- -H "Accept: */*" \
- -H "Content-Type: application/json" \
- "http://localhost/actuator/loggers/{name}" \
- -d ''
-</code></pre>
- </div>
- <div class="tab-pane" id="examples-Actuator-loggersName2-0-java">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
-import org.openapitools.client.auth.*;
-import org.openapitools.client.model.*;
-import org.openapitools.client.api.ActuatorApi;
-
-import java.io.File;
-import java.util.*;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
-
- // Create an instance of the API class
- ActuatorApi apiInstance = new ActuatorApi();
- String name = name_example; // String |
- String body = body_example; // String |
-
- try {
- Object result = apiInstance.loggersName2(name, body);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#loggersName2");
- e.printStackTrace();
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-loggersName2-0-android">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ActuatorApi;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
- ActuatorApi apiInstance = new ActuatorApi();
- String name = name_example; // String |
- String body = body_example; // String |
-
- try {
- Object result = apiInstance.loggersName2(name, body);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#loggersName2");
- e.printStackTrace();
- }
- }
-}</code></pre>
- </div>
- <!--
- <div class="tab-pane" id="examples-Actuator-loggersName2-0-groovy">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div> -->
- <div class="tab-pane" id="examples-Actuator-loggersName2-0-objc">
- <pre class="prettyprint"><code class="language-cpp">
-
-// Create an instance of the API class
-ActuatorApi *apiInstance = [[ActuatorApi alloc] init];
-String *name = name_example; // (default to null)
-String *body = body_example; // (optional)
-
-// Actuator web endpoint 'loggers-name'
-[apiInstance loggersName2With:name
- body:body
- completionHandler: ^(Object output, NSError* error) {
- if (output) {
- NSLog(@"%@", output);
- }
- if (error) {
- NSLog(@"Error: %@", error);
- }
-}];
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-loggersName2-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
-
-// Create an instance of the API class
-var api = new A1PolicyManagementService.ActuatorApi()
-var name = name_example; // {String}
-var opts = {
- 'body': body_example // {String}
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-api.loggersName2(name, opts, callback);
-</code></pre>
- </div>
-
- <!--<div class="tab-pane" id="examples-Actuator-loggersName2-0-angular">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div>-->
- <div class="tab-pane" id="examples-Actuator-loggersName2-0-csharp">
- <pre class="prettyprint"><code class="language-cs">using System;
-using System.Diagnostics;
-using Org.OpenAPITools.Api;
-using Org.OpenAPITools.Client;
-using Org.OpenAPITools.Model;
-
-namespace Example
-{
- public class loggersName2Example
- {
- public void main()
- {
-
- // Create an instance of the API class
- var apiInstance = new ActuatorApi();
- var name = name_example; // String | (default to null)
- var body = body_example; // String | (optional)
-
- try {
- // Actuator web endpoint 'loggers-name'
- Object result = apiInstance.loggersName2(name, body);
- Debug.WriteLine(result);
- } catch (Exception e) {
- Debug.Print("Exception when calling ActuatorApi.loggersName2: " + e.Message );
- }
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-loggersName2-0-php">
- <pre class="prettyprint"><code class="language-php"><?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-// Create an instance of the API class
-$api_instance = new OpenAPITools\Client\Api\ActuatorApi();
-$name = name_example; // String |
-$body = body_example; // String |
-
-try {
- $result = $api_instance->loggersName2($name, $body);
- print_r($result);
-} catch (Exception $e) {
- echo 'Exception when calling ActuatorApi->loggersName2: ', $e->getMessage(), PHP_EOL;
-}
-?></code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-loggersName2-0-perl">
- <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
-use WWW::OPenAPIClient::Configuration;
-use WWW::OPenAPIClient::ActuatorApi;
-
-# Create an instance of the API class
-my $api_instance = WWW::OPenAPIClient::ActuatorApi->new();
-my $name = name_example; # String |
-my $body = WWW::OPenAPIClient::Object::String->new(); # String |
-
-eval {
- my $result = $api_instance->loggersName2(name => $name, body => $body);
- print Dumper($result);
-};
-if ($@) {
- warn "Exception when calling ActuatorApi->loggersName2: $@\n";
-}</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-loggersName2-0-python">
- <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
-import time
-import openapi_client
-from openapi_client.rest import ApiException
-from pprint import pprint
-
-# Create an instance of the API class
-api_instance = openapi_client.ActuatorApi()
-name = name_example # String | (default to null)
-body = body_example # String | (optional)
-
-try:
- # Actuator web endpoint 'loggers-name'
- api_response = api_instance.loggers_name2(name, body=body)
- pprint(api_response)
-except ApiException as e:
- print("Exception when calling ActuatorApi->loggersName2: %s\n" % e)</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-loggersName2-0-rust">
- <pre class="prettyprint"><code class="language-rust">extern crate ActuatorApi;
-
-pub fn main() {
- let name = name_example; // String
- let body = body_example; // String
-
- let mut context = ActuatorApi::Context::default();
- let result = client.loggersName2(name, body, &context).wait();
-
- println!("{:?}", result);
-}
-</code></pre>
- </div>
- </div>
-
- <h2>Scopes</h2>
- <table>
-
- </table>
-
- <h2>Parameters</h2>
-
- <div class="methodsubtabletitle">Path parameters</div>
- <table id="methodsubtable">
- <tr>
- <th width="150px">Name</th>
- <th>Description</th>
- </tr>
- <tr><td style="width:150px;">name*</td>
-<td>
-
-
- <div id="d2e199_loggersName2_name">
- <div class="json-schema-view">
- <div class="primitive">
- <span class="type">
- String
- </span>
-
- </div>
- <div class="inner required">
- Required
- </div>
- </div>
- </div>
-</td>
-</tr>
-
- </table>
-
-
- <div class="methodsubtabletitle">Body parameters</div>
- <table id="methodsubtable">
- <tr>
- <th width="150px">Name</th>
- <th>Description</th>
- </tr>
- <tr><td style="width:150px;">body </td>
-<td>
-<p class="marked"></p>
-<script>
-$(document).ready(function() {
- var schemaWrapper = {
+ <div class="tab-pane active" id="responses-A1PolicyManagement-putPolicy-423-schema">
+ <div id="responses-A1PolicyManagement-putPolicy-schema-423" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Locked - HTTP Status code which can be used when the state is Locked",
"content" : {
- "application/json" : {
+ "application/problem+json" : {
"schema" : {
- "type" : "string",
- "enum" : [ "TRACE", "DEBUG", "INFO", "WARN", "ERROR", "FATAL", "OFF" ]
+ "$ref" : "#/components/schemas/error_information"
+ },
+ "example" : {
+ "status" : 423,
+ "title" : "Locked",
+ "detail" : "Requested resource is in a locked state."
}
}
}
};
-
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
- }
-
- var view = new JSONSchemaView(schema,2,{isBodyParam: true});
- var result = $('#d2e199_loggersName2_body');
- result.empty();
- result.append(view.render());
-});
-</script>
-<div id="d2e199_loggersName2_body"></div>
-</td>
-</tr>
-
- </table>
-
-
-
- <h2>Responses</h2>
- <h3 id="examples-Actuator-loggersName2-title-200"></h3>
- <p id="examples-Actuator-loggersName2-description-200" class="marked"></p>
- <script>
- var responseActuator200_description = `OK`;
- var responseActuator200_description_break = responseActuator200_description.indexOf('\n');
- if (responseActuator200_description_break == -1) {
- $("#examples-Actuator-loggersName2-title-200").text("Status: 200 - " + responseActuator200_description);
- } else {
- $("#examples-Actuator-loggersName2-title-200").text("Status: 200 - " + responseActuator200_description.substring(0, responseActuator200_description_break));
- $("#examples-Actuator-loggersName2-description-200").html(responseActuator200_description.substring(responseActuator200_description_break));
- }
- </script>
-
-
- <ul id="responses-detail-Actuator-loggersName2-200" class="nav nav-tabs nav-tabs-examples" >
- <li class="active">
- <a data-toggle="tab" href="#responses-Actuator-loggersName2-200-schema">Schema</a>
- </li>
-
-
-
-
- </ul>
-
-
- <div class="tab-content" id="responses-Actuator-loggersName2-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-Actuator-loggersName2-200-schema">
- <div id="responses-Actuator-loggersName2-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-Actuator-loggersName2-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-Actuator-loggersName2-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-Actuator-loggersName2-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-putPolicy-423-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-putPolicy-schema-423');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
- </div>
- </article>
- </div>
- <hr>
- <div id="api-Actuator-metrics">
- <article id="api-Actuator-metrics-0" data-group="User" data-name="metrics" data-version="0">
- <div class="pull-left">
- <h1>metrics</h1>
- <p>Actuator web endpoint 'metrics'</p>
- </div>
- <div class="pull-right"></div>
- <div class="clearfix"></div>
- <p></p>
- <p class="marked"></p>
- <p></p>
- <br />
- <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/actuator/metrics</span></code></pre>
- <p>
- <h3>Usage and SDK Samples</h3>
- </p>
- <ul class="nav nav-tabs nav-tabs-examples">
- <li class="active"><a href="#examples-Actuator-metrics-0-curl">Curl</a></li>
- <li class=""><a href="#examples-Actuator-metrics-0-java">Java</a></li>
- <li class=""><a href="#examples-Actuator-metrics-0-android">Android</a></li>
- <!--<li class=""><a href="#examples-Actuator-metrics-0-groovy">Groovy</a></li>-->
- <li class=""><a href="#examples-Actuator-metrics-0-objc">Obj-C</a></li>
- <li class=""><a href="#examples-Actuator-metrics-0-javascript">JavaScript</a></li>
- <!--<li class=""><a href="#examples-Actuator-metrics-0-angular">Angular</a></li>-->
- <li class=""><a href="#examples-Actuator-metrics-0-csharp">C#</a></li>
- <li class=""><a href="#examples-Actuator-metrics-0-php">PHP</a></li>
- <li class=""><a href="#examples-Actuator-metrics-0-perl">Perl</a></li>
- <li class=""><a href="#examples-Actuator-metrics-0-python">Python</a></li>
- <li class=""><a href="#examples-Actuator-metrics-0-rust">Rust</a></li>
- </ul>
-
- <div class="tab-content">
- <div class="tab-pane active" id="examples-Actuator-metrics-0-curl">
- <pre class="prettyprint"><code class="language-bsh">curl -X GET \
- -H "Accept: application/vnd.spring-boot.actuator.v3+json,application/json,application/vnd.spring-boot.actuator.v2+json" \
- "http://localhost/actuator/metrics"
-</code></pre>
- </div>
- <div class="tab-pane" id="examples-Actuator-metrics-0-java">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
-import org.openapitools.client.auth.*;
-import org.openapitools.client.model.*;
-import org.openapitools.client.api.ActuatorApi;
-
-import java.io.File;
-import java.util.*;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
-
- // Create an instance of the API class
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- Object result = apiInstance.metrics();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#metrics");
- e.printStackTrace();
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-metrics-0-android">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ActuatorApi;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- Object result = apiInstance.metrics();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#metrics");
- e.printStackTrace();
- }
- }
-}</code></pre>
- </div>
- <!--
- <div class="tab-pane" id="examples-Actuator-metrics-0-groovy">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div> -->
- <div class="tab-pane" id="examples-Actuator-metrics-0-objc">
- <pre class="prettyprint"><code class="language-cpp">
-
-// Create an instance of the API class
-ActuatorApi *apiInstance = [[ActuatorApi alloc] init];
-
-// Actuator web endpoint 'metrics'
-[apiInstance metricsWithCompletionHandler:
- ^(Object output, NSError* error) {
- if (output) {
- NSLog(@"%@", output);
- }
- if (error) {
- NSLog(@"Error: %@", error);
- }
-}];
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-metrics-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
-
-// Create an instance of the API class
-var api = new A1PolicyManagementService.ActuatorApi()
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-api.metrics(callback);
-</code></pre>
- </div>
-
- <!--<div class="tab-pane" id="examples-Actuator-metrics-0-angular">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div>-->
- <div class="tab-pane" id="examples-Actuator-metrics-0-csharp">
- <pre class="prettyprint"><code class="language-cs">using System;
-using System.Diagnostics;
-using Org.OpenAPITools.Api;
-using Org.OpenAPITools.Client;
-using Org.OpenAPITools.Model;
-
-namespace Example
-{
- public class metricsExample
- {
- public void main()
- {
-
- // Create an instance of the API class
- var apiInstance = new ActuatorApi();
-
- try {
- // Actuator web endpoint 'metrics'
- Object result = apiInstance.metrics();
- Debug.WriteLine(result);
- } catch (Exception e) {
- Debug.Print("Exception when calling ActuatorApi.metrics: " + e.Message );
- }
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-metrics-0-php">
- <pre class="prettyprint"><code class="language-php"><?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-// Create an instance of the API class
-$api_instance = new OpenAPITools\Client\Api\ActuatorApi();
-
-try {
- $result = $api_instance->metrics();
- print_r($result);
-} catch (Exception $e) {
- echo 'Exception when calling ActuatorApi->metrics: ', $e->getMessage(), PHP_EOL;
-}
-?></code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-metrics-0-perl">
- <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
-use WWW::OPenAPIClient::Configuration;
-use WWW::OPenAPIClient::ActuatorApi;
-
-# Create an instance of the API class
-my $api_instance = WWW::OPenAPIClient::ActuatorApi->new();
-
-eval {
- my $result = $api_instance->metrics();
- print Dumper($result);
-};
-if ($@) {
- warn "Exception when calling ActuatorApi->metrics: $@\n";
-}</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-metrics-0-python">
- <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
-import time
-import openapi_client
-from openapi_client.rest import ApiException
-from pprint import pprint
-
-# Create an instance of the API class
-api_instance = openapi_client.ActuatorApi()
-
-try:
- # Actuator web endpoint 'metrics'
- api_response = api_instance.metrics()
- pprint(api_response)
-except ApiException as e:
- print("Exception when calling ActuatorApi->metrics: %s\n" % e)</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-metrics-0-rust">
- <pre class="prettyprint"><code class="language-rust">extern crate ActuatorApi;
-
-pub fn main() {
-
- let mut context = ActuatorApi::Context::default();
- let result = client.metrics(&context).wait();
-
- println!("{:?}", result);
-}
-</code></pre>
- </div>
- </div>
-
- <h2>Scopes</h2>
- <table>
-
- </table>
-
- <h2>Parameters</h2>
-
-
-
-
-
-
- <h2>Responses</h2>
- <h3 id="examples-Actuator-metrics-title-200"></h3>
- <p id="examples-Actuator-metrics-description-200" class="marked"></p>
- <script>
- var responseActuator200_description = `OK`;
- var responseActuator200_description_break = responseActuator200_description.indexOf('\n');
- if (responseActuator200_description_break == -1) {
- $("#examples-Actuator-metrics-title-200").text("Status: 200 - " + responseActuator200_description);
- } else {
- $("#examples-Actuator-metrics-title-200").text("Status: 200 - " + responseActuator200_description.substring(0, responseActuator200_description_break));
- $("#examples-Actuator-metrics-description-200").html(responseActuator200_description.substring(responseActuator200_description_break));
- }
- </script>
-
-
- <ul id="responses-detail-Actuator-metrics-200" class="nav nav-tabs nav-tabs-examples" >
- <li class="active">
- <a data-toggle="tab" href="#responses-Actuator-metrics-200-schema">Schema</a>
- </li>
-
-
-
-
- </ul>
-
-
- <div class="tab-content" id="responses-Actuator-metrics-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-Actuator-metrics-200-schema">
- <div id="responses-Actuator-metrics-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
- Object.keys(schema.properties).forEach( (item) => {
- if (schema.properties[item].$ref != null) {
- schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
- }
- });
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
- }
-
- var view = new JSONSchemaView(schema, 3);
- $('#responses-Actuator-metrics-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-Actuator-metrics-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-Actuator-metrics-200-schema-data' type='hidden' value=''></input>
- </div>
- </div>
- </article>
- </div>
- <hr>
- <div id="api-Actuator-metricsRequiredMetricName">
- <article id="api-Actuator-metricsRequiredMetricName-0" data-group="User" data-name="metricsRequiredMetricName" data-version="0">
- <div class="pull-left">
- <h1>metricsRequiredMetricName</h1>
- <p>Actuator web endpoint 'metrics-requiredMetricName'</p>
- </div>
- <div class="pull-right"></div>
- <div class="clearfix"></div>
- <p></p>
- <p class="marked"></p>
- <p></p>
- <br />
- <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/actuator/metrics/{requiredMetricName}</span></code></pre>
- <p>
- <h3>Usage and SDK Samples</h3>
- </p>
- <ul class="nav nav-tabs nav-tabs-examples">
- <li class="active"><a href="#examples-Actuator-metricsRequiredMetricName-0-curl">Curl</a></li>
- <li class=""><a href="#examples-Actuator-metricsRequiredMetricName-0-java">Java</a></li>
- <li class=""><a href="#examples-Actuator-metricsRequiredMetricName-0-android">Android</a></li>
- <!--<li class=""><a href="#examples-Actuator-metricsRequiredMetricName-0-groovy">Groovy</a></li>-->
- <li class=""><a href="#examples-Actuator-metricsRequiredMetricName-0-objc">Obj-C</a></li>
- <li class=""><a href="#examples-Actuator-metricsRequiredMetricName-0-javascript">JavaScript</a></li>
- <!--<li class=""><a href="#examples-Actuator-metricsRequiredMetricName-0-angular">Angular</a></li>-->
- <li class=""><a href="#examples-Actuator-metricsRequiredMetricName-0-csharp">C#</a></li>
- <li class=""><a href="#examples-Actuator-metricsRequiredMetricName-0-php">PHP</a></li>
- <li class=""><a href="#examples-Actuator-metricsRequiredMetricName-0-perl">Perl</a></li>
- <li class=""><a href="#examples-Actuator-metricsRequiredMetricName-0-python">Python</a></li>
- <li class=""><a href="#examples-Actuator-metricsRequiredMetricName-0-rust">Rust</a></li>
- </ul>
-
- <div class="tab-content">
- <div class="tab-pane active" id="examples-Actuator-metricsRequiredMetricName-0-curl">
- <pre class="prettyprint"><code class="language-bsh">curl -X GET \
- -H "Accept: application/vnd.spring-boot.actuator.v3+json,application/json,application/vnd.spring-boot.actuator.v2+json" \
- "http://localhost/actuator/metrics/{requiredMetricName}"
-</code></pre>
- </div>
- <div class="tab-pane" id="examples-Actuator-metricsRequiredMetricName-0-java">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
-import org.openapitools.client.auth.*;
-import org.openapitools.client.model.*;
-import org.openapitools.client.api.ActuatorApi;
-
-import java.io.File;
-import java.util.*;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
-
- // Create an instance of the API class
- ActuatorApi apiInstance = new ActuatorApi();
- String requiredMetricName = requiredMetricName_example; // String |
-
- try {
- Object result = apiInstance.metricsRequiredMetricName(requiredMetricName);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#metricsRequiredMetricName");
- e.printStackTrace();
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-metricsRequiredMetricName-0-android">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ActuatorApi;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
- ActuatorApi apiInstance = new ActuatorApi();
- String requiredMetricName = requiredMetricName_example; // String |
-
- try {
- Object result = apiInstance.metricsRequiredMetricName(requiredMetricName);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#metricsRequiredMetricName");
- e.printStackTrace();
- }
- }
-}</code></pre>
- </div>
- <!--
- <div class="tab-pane" id="examples-Actuator-metricsRequiredMetricName-0-groovy">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div> -->
- <div class="tab-pane" id="examples-Actuator-metricsRequiredMetricName-0-objc">
- <pre class="prettyprint"><code class="language-cpp">
-
-// Create an instance of the API class
-ActuatorApi *apiInstance = [[ActuatorApi alloc] init];
-String *requiredMetricName = requiredMetricName_example; // (default to null)
-
-// Actuator web endpoint 'metrics-requiredMetricName'
-[apiInstance metricsRequiredMetricNameWith:requiredMetricName
- completionHandler: ^(Object output, NSError* error) {
- if (output) {
- NSLog(@"%@", output);
- }
- if (error) {
- NSLog(@"Error: %@", error);
- }
-}];
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-metricsRequiredMetricName-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
-
-// Create an instance of the API class
-var api = new A1PolicyManagementService.ActuatorApi()
-var requiredMetricName = requiredMetricName_example; // {String}
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-api.metricsRequiredMetricName(requiredMetricName, callback);
-</code></pre>
- </div>
-
- <!--<div class="tab-pane" id="examples-Actuator-metricsRequiredMetricName-0-angular">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div>-->
- <div class="tab-pane" id="examples-Actuator-metricsRequiredMetricName-0-csharp">
- <pre class="prettyprint"><code class="language-cs">using System;
-using System.Diagnostics;
-using Org.OpenAPITools.Api;
-using Org.OpenAPITools.Client;
-using Org.OpenAPITools.Model;
-
-namespace Example
-{
- public class metricsRequiredMetricNameExample
- {
- public void main()
- {
-
- // Create an instance of the API class
- var apiInstance = new ActuatorApi();
- var requiredMetricName = requiredMetricName_example; // String | (default to null)
-
- try {
- // Actuator web endpoint 'metrics-requiredMetricName'
- Object result = apiInstance.metricsRequiredMetricName(requiredMetricName);
- Debug.WriteLine(result);
- } catch (Exception e) {
- Debug.Print("Exception when calling ActuatorApi.metricsRequiredMetricName: " + e.Message );
- }
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-metricsRequiredMetricName-0-php">
- <pre class="prettyprint"><code class="language-php"><?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-// Create an instance of the API class
-$api_instance = new OpenAPITools\Client\Api\ActuatorApi();
-$requiredMetricName = requiredMetricName_example; // String |
-
-try {
- $result = $api_instance->metricsRequiredMetricName($requiredMetricName);
- print_r($result);
-} catch (Exception $e) {
- echo 'Exception when calling ActuatorApi->metricsRequiredMetricName: ', $e->getMessage(), PHP_EOL;
-}
-?></code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-metricsRequiredMetricName-0-perl">
- <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
-use WWW::OPenAPIClient::Configuration;
-use WWW::OPenAPIClient::ActuatorApi;
-
-# Create an instance of the API class
-my $api_instance = WWW::OPenAPIClient::ActuatorApi->new();
-my $requiredMetricName = requiredMetricName_example; # String |
-
-eval {
- my $result = $api_instance->metricsRequiredMetricName(requiredMetricName => $requiredMetricName);
- print Dumper($result);
-};
-if ($@) {
- warn "Exception when calling ActuatorApi->metricsRequiredMetricName: $@\n";
-}</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-metricsRequiredMetricName-0-python">
- <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
-import time
-import openapi_client
-from openapi_client.rest import ApiException
-from pprint import pprint
-
-# Create an instance of the API class
-api_instance = openapi_client.ActuatorApi()
-requiredMetricName = requiredMetricName_example # String | (default to null)
-
-try:
- # Actuator web endpoint 'metrics-requiredMetricName'
- api_response = api_instance.metrics_required_metric_name(requiredMetricName)
- pprint(api_response)
-except ApiException as e:
- print("Exception when calling ActuatorApi->metricsRequiredMetricName: %s\n" % e)</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-metricsRequiredMetricName-0-rust">
- <pre class="prettyprint"><code class="language-rust">extern crate ActuatorApi;
-
-pub fn main() {
- let requiredMetricName = requiredMetricName_example; // String
-
- let mut context = ActuatorApi::Context::default();
- let result = client.metricsRequiredMetricName(requiredMetricName, &context).wait();
-
- println!("{:?}", result);
-}
-</code></pre>
- </div>
- </div>
-
- <h2>Scopes</h2>
- <table>
-
- </table>
-
- <h2>Parameters</h2>
-
- <div class="methodsubtabletitle">Path parameters</div>
- <table id="methodsubtable">
- <tr>
- <th width="150px">Name</th>
- <th>Description</th>
- </tr>
- <tr><td style="width:150px;">requiredMetricName*</td>
-<td>
-
-
- <div id="d2e199_metricsRequiredMetricName_requiredMetricName">
- <div class="json-schema-view">
- <div class="primitive">
- <span class="type">
- String
- </span>
-
- </div>
- <div class="inner required">
- Required
- </div>
- </div>
- </div>
-</td>
-</tr>
-
- </table>
-
-
-
-
-
- <h2>Responses</h2>
- <h3 id="examples-Actuator-metricsRequiredMetricName-title-200"></h3>
- <p id="examples-Actuator-metricsRequiredMetricName-description-200" class="marked"></p>
- <script>
- var responseActuator200_description = `OK`;
- var responseActuator200_description_break = responseActuator200_description.indexOf('\n');
- if (responseActuator200_description_break == -1) {
- $("#examples-Actuator-metricsRequiredMetricName-title-200").text("Status: 200 - " + responseActuator200_description);
- } else {
- $("#examples-Actuator-metricsRequiredMetricName-title-200").text("Status: 200 - " + responseActuator200_description.substring(0, responseActuator200_description_break));
- $("#examples-Actuator-metricsRequiredMetricName-description-200").html(responseActuator200_description.substring(responseActuator200_description_break));
- }
- </script>
-
-
- <ul id="responses-detail-Actuator-metricsRequiredMetricName-200" class="nav nav-tabs nav-tabs-examples" >
- <li class="active">
- <a data-toggle="tab" href="#responses-Actuator-metricsRequiredMetricName-200-schema">Schema</a>
- </li>
-
-
-
-
- </ul>
-
-
- <div class="tab-content" id="responses-Actuator-metricsRequiredMetricName-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-Actuator-metricsRequiredMetricName-200-schema">
- <div id="responses-Actuator-metricsRequiredMetricName-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
- Object.keys(schema.properties).forEach( (item) => {
- if (schema.properties[item].$ref != null) {
- schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
- }
- });
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
- }
-
- var view = new JSONSchemaView(schema, 3);
- $('#responses-Actuator-metricsRequiredMetricName-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-Actuator-metricsRequiredMetricName-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-Actuator-metricsRequiredMetricName-200-schema-data' type='hidden' value=''></input>
- </div>
- </div>
- </article>
- </div>
- <hr>
- <div id="api-Actuator-shutdown">
- <article id="api-Actuator-shutdown-0" data-group="User" data-name="shutdown" data-version="0">
- <div class="pull-left">
- <h1>shutdown</h1>
- <p>Actuator web endpoint 'shutdown'</p>
- </div>
- <div class="pull-right"></div>
- <div class="clearfix"></div>
- <p></p>
- <p class="marked"></p>
- <p></p>
- <br />
- <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/actuator/shutdown</span></code></pre>
- <p>
- <h3>Usage and SDK Samples</h3>
- </p>
- <ul class="nav nav-tabs nav-tabs-examples">
- <li class="active"><a href="#examples-Actuator-shutdown-0-curl">Curl</a></li>
- <li class=""><a href="#examples-Actuator-shutdown-0-java">Java</a></li>
- <li class=""><a href="#examples-Actuator-shutdown-0-android">Android</a></li>
- <!--<li class=""><a href="#examples-Actuator-shutdown-0-groovy">Groovy</a></li>-->
- <li class=""><a href="#examples-Actuator-shutdown-0-objc">Obj-C</a></li>
- <li class=""><a href="#examples-Actuator-shutdown-0-javascript">JavaScript</a></li>
- <!--<li class=""><a href="#examples-Actuator-shutdown-0-angular">Angular</a></li>-->
- <li class=""><a href="#examples-Actuator-shutdown-0-csharp">C#</a></li>
- <li class=""><a href="#examples-Actuator-shutdown-0-php">PHP</a></li>
- <li class=""><a href="#examples-Actuator-shutdown-0-perl">Perl</a></li>
- <li class=""><a href="#examples-Actuator-shutdown-0-python">Python</a></li>
- <li class=""><a href="#examples-Actuator-shutdown-0-rust">Rust</a></li>
- </ul>
-
- <div class="tab-content">
- <div class="tab-pane active" id="examples-Actuator-shutdown-0-curl">
- <pre class="prettyprint"><code class="language-bsh">curl -X POST \
- -H "Accept: application/vnd.spring-boot.actuator.v3+json,application/json,application/vnd.spring-boot.actuator.v2+json" \
- "http://localhost/actuator/shutdown"
-</code></pre>
- </div>
- <div class="tab-pane" id="examples-Actuator-shutdown-0-java">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
-import org.openapitools.client.auth.*;
-import org.openapitools.client.model.*;
-import org.openapitools.client.api.ActuatorApi;
-
-import java.io.File;
-import java.util.*;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
-
- // Create an instance of the API class
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- Object result = apiInstance.shutdown();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#shutdown");
- e.printStackTrace();
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-shutdown-0-android">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ActuatorApi;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- Object result = apiInstance.shutdown();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#shutdown");
- e.printStackTrace();
- }
- }
-}</code></pre>
- </div>
- <!--
- <div class="tab-pane" id="examples-Actuator-shutdown-0-groovy">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div> -->
- <div class="tab-pane" id="examples-Actuator-shutdown-0-objc">
- <pre class="prettyprint"><code class="language-cpp">
-
-// Create an instance of the API class
-ActuatorApi *apiInstance = [[ActuatorApi alloc] init];
-
-// Actuator web endpoint 'shutdown'
-[apiInstance shutdownWithCompletionHandler:
- ^(Object output, NSError* error) {
- if (output) {
- NSLog(@"%@", output);
- }
- if (error) {
- NSLog(@"Error: %@", error);
- }
-}];
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-shutdown-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
-
-// Create an instance of the API class
-var api = new A1PolicyManagementService.ActuatorApi()
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-api.shutdown(callback);
-</code></pre>
- </div>
-
- <!--<div class="tab-pane" id="examples-Actuator-shutdown-0-angular">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div>-->
- <div class="tab-pane" id="examples-Actuator-shutdown-0-csharp">
- <pre class="prettyprint"><code class="language-cs">using System;
-using System.Diagnostics;
-using Org.OpenAPITools.Api;
-using Org.OpenAPITools.Client;
-using Org.OpenAPITools.Model;
-
-namespace Example
-{
- public class shutdownExample
- {
- public void main()
- {
-
- // Create an instance of the API class
- var apiInstance = new ActuatorApi();
-
- try {
- // Actuator web endpoint 'shutdown'
- Object result = apiInstance.shutdown();
- Debug.WriteLine(result);
- } catch (Exception e) {
- Debug.Print("Exception when calling ActuatorApi.shutdown: " + e.Message );
- }
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-shutdown-0-php">
- <pre class="prettyprint"><code class="language-php"><?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-// Create an instance of the API class
-$api_instance = new OpenAPITools\Client\Api\ActuatorApi();
-
-try {
- $result = $api_instance->shutdown();
- print_r($result);
-} catch (Exception $e) {
- echo 'Exception when calling ActuatorApi->shutdown: ', $e->getMessage(), PHP_EOL;
-}
-?></code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-shutdown-0-perl">
- <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
-use WWW::OPenAPIClient::Configuration;
-use WWW::OPenAPIClient::ActuatorApi;
-
-# Create an instance of the API class
-my $api_instance = WWW::OPenAPIClient::ActuatorApi->new();
-
-eval {
- my $result = $api_instance->shutdown();
- print Dumper($result);
-};
-if ($@) {
- warn "Exception when calling ActuatorApi->shutdown: $@\n";
-}</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-shutdown-0-python">
- <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
-import time
-import openapi_client
-from openapi_client.rest import ApiException
-from pprint import pprint
-
-# Create an instance of the API class
-api_instance = openapi_client.ActuatorApi()
-
-try:
- # Actuator web endpoint 'shutdown'
- api_response = api_instance.shutdown()
- pprint(api_response)
-except ApiException as e:
- print("Exception when calling ActuatorApi->shutdown: %s\n" % e)</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-shutdown-0-rust">
- <pre class="prettyprint"><code class="language-rust">extern crate ActuatorApi;
-
-pub fn main() {
-
- let mut context = ActuatorApi::Context::default();
- let result = client.shutdown(&context).wait();
-
- println!("{:?}", result);
-}
-</code></pre>
- </div>
- </div>
-
- <h2>Scopes</h2>
- <table>
-
- </table>
-
- <h2>Parameters</h2>
-
-
-
-
-
-
- <h2>Responses</h2>
- <h3 id="examples-Actuator-shutdown-title-200"></h3>
- <p id="examples-Actuator-shutdown-description-200" class="marked"></p>
- <script>
- var responseActuator200_description = `OK`;
- var responseActuator200_description_break = responseActuator200_description.indexOf('\n');
- if (responseActuator200_description_break == -1) {
- $("#examples-Actuator-shutdown-title-200").text("Status: 200 - " + responseActuator200_description);
- } else {
- $("#examples-Actuator-shutdown-title-200").text("Status: 200 - " + responseActuator200_description.substring(0, responseActuator200_description_break));
- $("#examples-Actuator-shutdown-description-200").html(responseActuator200_description.substring(responseActuator200_description_break));
- }
- </script>
-
-
- <ul id="responses-detail-Actuator-shutdown-200" class="nav nav-tabs nav-tabs-examples" >
- <li class="active">
- <a data-toggle="tab" href="#responses-Actuator-shutdown-200-schema">Schema</a>
- </li>
-
-
-
-
- </ul>
-
-
- <div class="tab-content" id="responses-Actuator-shutdown-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-Actuator-shutdown-200-schema">
- <div id="responses-Actuator-shutdown-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
- Object.keys(schema.properties).forEach( (item) => {
- if (schema.properties[item].$ref != null) {
- schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
- }
- });
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
- }
-
- var view = new JSONSchemaView(schema, 3);
- $('#responses-Actuator-shutdown-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-Actuator-shutdown-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-Actuator-shutdown-200-schema-data' type='hidden' value=''></input>
- </div>
- </div>
- </article>
- </div>
- <hr>
- <div id="api-Actuator-threaddump">
- <article id="api-Actuator-threaddump-0" data-group="User" data-name="threaddump" data-version="0">
- <div class="pull-left">
- <h1>threaddump</h1>
- <p>Actuator web endpoint 'threaddump'</p>
- </div>
- <div class="pull-right"></div>
- <div class="clearfix"></div>
- <p></p>
- <p class="marked"></p>
- <p></p>
- <br />
- <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/actuator/threaddump</span></code></pre>
- <p>
- <h3>Usage and SDK Samples</h3>
- </p>
- <ul class="nav nav-tabs nav-tabs-examples">
- <li class="active"><a href="#examples-Actuator-threaddump-0-curl">Curl</a></li>
- <li class=""><a href="#examples-Actuator-threaddump-0-java">Java</a></li>
- <li class=""><a href="#examples-Actuator-threaddump-0-android">Android</a></li>
- <!--<li class=""><a href="#examples-Actuator-threaddump-0-groovy">Groovy</a></li>-->
- <li class=""><a href="#examples-Actuator-threaddump-0-objc">Obj-C</a></li>
- <li class=""><a href="#examples-Actuator-threaddump-0-javascript">JavaScript</a></li>
- <!--<li class=""><a href="#examples-Actuator-threaddump-0-angular">Angular</a></li>-->
- <li class=""><a href="#examples-Actuator-threaddump-0-csharp">C#</a></li>
- <li class=""><a href="#examples-Actuator-threaddump-0-php">PHP</a></li>
- <li class=""><a href="#examples-Actuator-threaddump-0-perl">Perl</a></li>
- <li class=""><a href="#examples-Actuator-threaddump-0-python">Python</a></li>
- <li class=""><a href="#examples-Actuator-threaddump-0-rust">Rust</a></li>
- </ul>
-
- <div class="tab-content">
- <div class="tab-pane active" id="examples-Actuator-threaddump-0-curl">
- <pre class="prettyprint"><code class="language-bsh">curl -X GET \
- -H "Accept: text/plain;charset=UTF-8,application/vnd.spring-boot.actuator.v3+json,application/json,application/vnd.spring-boot.actuator.v2+json" \
- "http://localhost/actuator/threaddump"
-</code></pre>
- </div>
- <div class="tab-pane" id="examples-Actuator-threaddump-0-java">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
-import org.openapitools.client.auth.*;
-import org.openapitools.client.model.*;
-import org.openapitools.client.api.ActuatorApi;
-
-import java.io.File;
-import java.util.*;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
-
- // Create an instance of the API class
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- Object result = apiInstance.threaddump();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#threaddump");
- e.printStackTrace();
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-threaddump-0-android">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ActuatorApi;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- Object result = apiInstance.threaddump();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#threaddump");
- e.printStackTrace();
- }
- }
-}</code></pre>
- </div>
- <!--
- <div class="tab-pane" id="examples-Actuator-threaddump-0-groovy">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div> -->
- <div class="tab-pane" id="examples-Actuator-threaddump-0-objc">
- <pre class="prettyprint"><code class="language-cpp">
-
-// Create an instance of the API class
-ActuatorApi *apiInstance = [[ActuatorApi alloc] init];
-
-// Actuator web endpoint 'threaddump'
-[apiInstance threaddumpWithCompletionHandler:
- ^(Object output, NSError* error) {
- if (output) {
- NSLog(@"%@", output);
- }
- if (error) {
- NSLog(@"Error: %@", error);
- }
-}];
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-threaddump-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
-
-// Create an instance of the API class
-var api = new A1PolicyManagementService.ActuatorApi()
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-api.threaddump(callback);
-</code></pre>
- </div>
-
- <!--<div class="tab-pane" id="examples-Actuator-threaddump-0-angular">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div>-->
- <div class="tab-pane" id="examples-Actuator-threaddump-0-csharp">
- <pre class="prettyprint"><code class="language-cs">using System;
-using System.Diagnostics;
-using Org.OpenAPITools.Api;
-using Org.OpenAPITools.Client;
-using Org.OpenAPITools.Model;
-
-namespace Example
-{
- public class threaddumpExample
- {
- public void main()
- {
-
- // Create an instance of the API class
- var apiInstance = new ActuatorApi();
-
- try {
- // Actuator web endpoint 'threaddump'
- Object result = apiInstance.threaddump();
- Debug.WriteLine(result);
- } catch (Exception e) {
- Debug.Print("Exception when calling ActuatorApi.threaddump: " + e.Message );
- }
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-threaddump-0-php">
- <pre class="prettyprint"><code class="language-php"><?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-// Create an instance of the API class
-$api_instance = new OpenAPITools\Client\Api\ActuatorApi();
-
-try {
- $result = $api_instance->threaddump();
- print_r($result);
-} catch (Exception $e) {
- echo 'Exception when calling ActuatorApi->threaddump: ', $e->getMessage(), PHP_EOL;
-}
-?></code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-threaddump-0-perl">
- <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
-use WWW::OPenAPIClient::Configuration;
-use WWW::OPenAPIClient::ActuatorApi;
-
-# Create an instance of the API class
-my $api_instance = WWW::OPenAPIClient::ActuatorApi->new();
-
-eval {
- my $result = $api_instance->threaddump();
- print Dumper($result);
-};
-if ($@) {
- warn "Exception when calling ActuatorApi->threaddump: $@\n";
-}</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-threaddump-0-python">
- <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
-import time
-import openapi_client
-from openapi_client.rest import ApiException
-from pprint import pprint
-
-# Create an instance of the API class
-api_instance = openapi_client.ActuatorApi()
-
-try:
- # Actuator web endpoint 'threaddump'
- api_response = api_instance.threaddump()
- pprint(api_response)
-except ApiException as e:
- print("Exception when calling ActuatorApi->threaddump: %s\n" % e)</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-threaddump-0-rust">
- <pre class="prettyprint"><code class="language-rust">extern crate ActuatorApi;
-
-pub fn main() {
-
- let mut context = ActuatorApi::Context::default();
- let result = client.threaddump(&context).wait();
-
- println!("{:?}", result);
-}
-</code></pre>
- </div>
- </div>
-
- <h2>Scopes</h2>
- <table>
-
- </table>
-
- <h2>Parameters</h2>
-
-
-
-
-
-
- <h2>Responses</h2>
- <h3 id="examples-Actuator-threaddump-title-200"></h3>
- <p id="examples-Actuator-threaddump-description-200" class="marked"></p>
- <script>
- var responseActuator200_description = `OK`;
- var responseActuator200_description_break = responseActuator200_description.indexOf('\n');
- if (responseActuator200_description_break == -1) {
- $("#examples-Actuator-threaddump-title-200").text("Status: 200 - " + responseActuator200_description);
- } else {
- $("#examples-Actuator-threaddump-title-200").text("Status: 200 - " + responseActuator200_description.substring(0, responseActuator200_description_break));
- $("#examples-Actuator-threaddump-description-200").html(responseActuator200_description.substring(responseActuator200_description_break));
- }
- </script>
-
-
- <ul id="responses-detail-Actuator-threaddump-200" class="nav nav-tabs nav-tabs-examples" >
- <li class="active">
- <a data-toggle="tab" href="#responses-Actuator-threaddump-200-schema">Schema</a>
- </li>
-
-
-
-
- </ul>
-
-
- <div class="tab-content" id="responses-Actuator-threaddump-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-Actuator-threaddump-200-schema">
- <div id="responses-Actuator-threaddump-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
- Object.keys(schema.properties).forEach( (item) => {
- if (schema.properties[item].$ref != null) {
- schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
- }
- });
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
- }
-
- var view = new JSONSchemaView(schema, 3);
- $('#responses-Actuator-threaddump-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-Actuator-threaddump-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-Actuator-threaddump-200-schema-data' type='hidden' value=''></input>
- </div>
+ <input id='responses-A1PolicyManagement-putPolicy-423-schema-data' type='hidden' value=''></input>
+ </div>
</div>
</article>
</div>
@@ -8638,6 +5159,7 @@
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="#examples-AuthorizationAPI-performAccessControl-0-curl">Curl</a></li>
<li class=""><a href="#examples-AuthorizationAPI-performAccessControl-0-java">Java</a></li>
+ <li class=""><a href="#examples-AuthorizationAPI-performAccessControl-0-dart">Dart</a></li>
<li class=""><a href="#examples-AuthorizationAPI-performAccessControl-0-android">Android</a></li>
<!--<li class=""><a href="#examples-AuthorizationAPI-performAccessControl-0-groovy">Groovy</a></li>-->
<li class=""><a href="#examples-AuthorizationAPI-performAccessControl-0-objc">Obj-C</a></li>
@@ -8687,6 +5209,23 @@
</code></pre>
</div>
+ <div class="tab-pane" id="examples-AuthorizationAPI-performAccessControl-0-dart">
+ <pre class="prettyprint"><code class="language-dart">import 'package:openapi/api.dart';
+
+final api_instance = DefaultApi();
+
+final PolicyAuthorization policyAuthorization = new PolicyAuthorization(); // PolicyAuthorization |
+
+try {
+ final result = await api_instance.performAccessControl(policyAuthorization);
+ print(result);
+} catch (e) {
+ print('Exception when calling DefaultApi->performAccessControl: $e\n');
+}
+
+</code></pre>
+ </div>
+
<div class="tab-pane" id="examples-AuthorizationAPI-performAccessControl-0-android">
<pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.AuthorizationAPIApi;
@@ -8887,6 +5426,8 @@
}
if (schema.$ref != null) {
schema = defsParser.$refs.get(schema.$ref);
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
} else {
schemaWrapper.definitions = Object.assign({}, defs);
$RefParser.dereference(schemaWrapper).catch(function(err) {
@@ -8935,41 +5476,55 @@
<div class="tab-content" id="responses-AuthorizationAPI-performAccessControl-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-AuthorizationAPI-performAccessControl-200-schema">
- <div id="responses-AuthorizationAPI-performAccessControl-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-AuthorizationAPI-performAccessControl-200-schema">
+ <div id="responses-AuthorizationAPI-performAccessControl-schema-200" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/authorization_result"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-AuthorizationAPI-performAccessControl-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-AuthorizationAPI-performAccessControl-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-AuthorizationAPI-performAccessControl-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-AuthorizationAPI-performAccessControl-200-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-AuthorizationAPI-performAccessControl-schema-200');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-AuthorizationAPI-performAccessControl-200-schema-data' type='hidden' value=''></input>
+ </div>
</div>
<h3 id="examples-AuthorizationAPI-performAccessControl-title-403"></h3>
<p id="examples-AuthorizationAPI-performAccessControl-description-403" class="marked"></p>
@@ -8997,41 +5552,60 @@
<div class="tab-content" id="responses-AuthorizationAPI-performAccessControl-403-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-AuthorizationAPI-performAccessControl-403-schema">
- <div id="responses-AuthorizationAPI-performAccessControl-schema-403" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-AuthorizationAPI-performAccessControl-403-schema">
+ <div id="responses-AuthorizationAPI-performAccessControl-schema-403" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Forbidden",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/error_information"
+ },
+ "example" : {
+ "status" : 403,
+ "title" : "Forbidden",
+ "detail" : "Your role does not allow to perform this action. Contact System Administrator to change your access rights."
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-AuthorizationAPI-performAccessControl-403-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-AuthorizationAPI-performAccessControl-schema-403');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-AuthorizationAPI-performAccessControl-403-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-AuthorizationAPI-performAccessControl-403-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-AuthorizationAPI-performAccessControl-schema-403');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-AuthorizationAPI-performAccessControl-403-schema-data' type='hidden' value=''></input>
+ </div>
</div>
</article>
</div>
@@ -9058,6 +5632,7 @@
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="#examples-Configuration-getConfiguration-0-curl">Curl</a></li>
<li class=""><a href="#examples-Configuration-getConfiguration-0-java">Java</a></li>
+ <li class=""><a href="#examples-Configuration-getConfiguration-0-dart">Dart</a></li>
<li class=""><a href="#examples-Configuration-getConfiguration-0-android">Android</a></li>
<!--<li class=""><a href="#examples-Configuration-getConfiguration-0-groovy">Groovy</a></li>-->
<li class=""><a href="#examples-Configuration-getConfiguration-0-objc">Obj-C</a></li>
@@ -9104,6 +5679,22 @@
</code></pre>
</div>
+ <div class="tab-pane" id="examples-Configuration-getConfiguration-0-dart">
+ <pre class="prettyprint"><code class="language-dart">import 'package:openapi/api.dart';
+
+final api_instance = DefaultApi();
+
+
+try {
+ final result = await api_instance.getConfiguration();
+ print(result);
+} catch (e) {
+ print('Exception when calling DefaultApi->getConfiguration: $e\n');
+}
+
+</code></pre>
+ </div>
+
<div class="tab-pane" id="examples-Configuration-getConfiguration-0-android">
<pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ConfigurationApi;
@@ -9294,41 +5885,55 @@
<div class="tab-content" id="responses-Configuration-getConfiguration-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-Configuration-getConfiguration-200-schema">
- <div id="responses-Configuration-getConfiguration-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-Configuration-getConfiguration-200-schema">
+ <div id="responses-Configuration-getConfiguration-schema-200" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "OK - Configuration",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "type" : "string"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-Configuration-getConfiguration-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-Configuration-getConfiguration-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-Configuration-getConfiguration-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-Configuration-getConfiguration-200-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-Configuration-getConfiguration-schema-200');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-Configuration-getConfiguration-200-schema-data' type='hidden' value=''></input>
+ </div>
</div>
<h3 id="examples-Configuration-getConfiguration-title-404"></h3>
<p id="examples-Configuration-getConfiguration-description-404" class="marked"></p>
@@ -9351,6 +5956,53 @@
<div class="tab-content" id="responses-Configuration-getConfiguration-404-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-Configuration-getConfiguration-404-schema">
+ <div id="responses-Configuration-getConfiguration-schema-404" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "example" : [ ]
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-Configuration-getConfiguration-404-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-Configuration-getConfiguration-schema-404');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-Configuration-getConfiguration-404-schema-data' type='hidden' value=''></input>
+ </div>
</div>
</article>
</div>
@@ -9374,6 +6026,7 @@
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="#examples-Configuration-putConfiguration-0-curl">Curl</a></li>
<li class=""><a href="#examples-Configuration-putConfiguration-0-java">Java</a></li>
+ <li class=""><a href="#examples-Configuration-putConfiguration-0-dart">Dart</a></li>
<li class=""><a href="#examples-Configuration-putConfiguration-0-android">Android</a></li>
<!--<li class=""><a href="#examples-Configuration-putConfiguration-0-groovy">Groovy</a></li>-->
<li class=""><a href="#examples-Configuration-putConfiguration-0-objc">Obj-C</a></li>
@@ -9423,6 +6076,23 @@
</code></pre>
</div>
+ <div class="tab-pane" id="examples-Configuration-putConfiguration-0-dart">
+ <pre class="prettyprint"><code class="language-dart">import 'package:openapi/api.dart';
+
+final api_instance = DefaultApi();
+
+final Object body = new Object(); // Object |
+
+try {
+ final result = await api_instance.putConfiguration(body);
+ print(result);
+} catch (e) {
+ print('Exception when calling DefaultApi->putConfiguration: $e\n');
+}
+
+</code></pre>
+ </div>
+
<div class="tab-pane" id="examples-Configuration-putConfiguration-0-android">
<pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ConfigurationApi;
@@ -9620,6 +6290,8 @@
}
if (schema.$ref != null) {
schema = defsParser.$refs.get(schema.$ref);
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
} else {
schemaWrapper.definitions = Object.assign({}, defs);
$RefParser.dereference(schemaWrapper).catch(function(err) {
@@ -9668,41 +6340,55 @@
<div class="tab-content" id="responses-Configuration-putConfiguration-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-Configuration-putConfiguration-200-schema">
- <div id="responses-Configuration-putConfiguration-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-Configuration-putConfiguration-200-schema">
+ <div id="responses-Configuration-putConfiguration-schema-200" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "OK - Configuration updated",
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/void"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-Configuration-putConfiguration-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-Configuration-putConfiguration-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-Configuration-putConfiguration-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-Configuration-putConfiguration-200-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-Configuration-putConfiguration-schema-200');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-Configuration-putConfiguration-200-schema-data' type='hidden' value=''></input>
+ </div>
</div>
<h3 id="examples-Configuration-putConfiguration-title-400"></h3>
<p id="examples-Configuration-putConfiguration-description-400" class="marked"></p>
@@ -9730,41 +6416,60 @@
<div class="tab-content" id="responses-Configuration-putConfiguration-400-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-Configuration-putConfiguration-400-schema">
- <div id="responses-Configuration-putConfiguration-schema-400" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-Configuration-putConfiguration-400-schema">
+ <div id="responses-Configuration-putConfiguration-schema-400" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Bad Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/error_information"
+ },
+ "example" : {
+ "status" : 400,
+ "title" : "Bad Request",
+ "detail" : "The provided request is not valid."
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-Configuration-putConfiguration-400-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-Configuration-putConfiguration-schema-400');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-Configuration-putConfiguration-400-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-Configuration-putConfiguration-400-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-Configuration-putConfiguration-schema-400');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-Configuration-putConfiguration-400-schema-data' type='hidden' value=''></input>
+ </div>
</div>
</article>
</div>
@@ -9791,6 +6496,7 @@
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="#examples-HealthCheck-getStatus-0-curl">Curl</a></li>
<li class=""><a href="#examples-HealthCheck-getStatus-0-java">Java</a></li>
+ <li class=""><a href="#examples-HealthCheck-getStatus-0-dart">Dart</a></li>
<li class=""><a href="#examples-HealthCheck-getStatus-0-android">Android</a></li>
<!--<li class=""><a href="#examples-HealthCheck-getStatus-0-groovy">Groovy</a></li>-->
<li class=""><a href="#examples-HealthCheck-getStatus-0-objc">Obj-C</a></li>
@@ -9837,6 +6543,22 @@
</code></pre>
</div>
+ <div class="tab-pane" id="examples-HealthCheck-getStatus-0-dart">
+ <pre class="prettyprint"><code class="language-dart">import 'package:openapi/api.dart';
+
+final api_instance = DefaultApi();
+
+
+try {
+ final result = await api_instance.getStatus();
+ print(result);
+} catch (e) {
+ print('Exception when calling DefaultApi->getStatus: $e\n');
+}
+
+</code></pre>
+ </div>
+
<div class="tab-pane" id="examples-HealthCheck-getStatus-0-android">
<pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.HealthCheckApi;
@@ -10027,41 +6749,60 @@
<div class="tab-content" id="responses-HealthCheck-getStatus-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-HealthCheck-getStatus-200-schema">
- <div id="responses-HealthCheck-getStatus-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-HealthCheck-getStatus-200-schema">
+ <div id="responses-HealthCheck-getStatus-schema-200" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "OK- Service is living Ok",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/status_info"
+ },
+ "examples" : {
+ "status_info" : {
+ "$ref" : "#/components/examples/status_info"
+ }
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-HealthCheck-getStatus-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-HealthCheck-getStatus-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-HealthCheck-getStatus-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-HealthCheck-getStatus-200-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-HealthCheck-getStatus-schema-200');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-HealthCheck-getStatus-200-schema-data' type='hidden' value=''></input>
+ </div>
</div>
</article>
</div>
@@ -10085,6 +6826,7 @@
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="#examples-HealthCheck-getStatusV1-0-curl">Curl</a></li>
<li class=""><a href="#examples-HealthCheck-getStatusV1-0-java">Java</a></li>
+ <li class=""><a href="#examples-HealthCheck-getStatusV1-0-dart">Dart</a></li>
<li class=""><a href="#examples-HealthCheck-getStatusV1-0-android">Android</a></li>
<!--<li class=""><a href="#examples-HealthCheck-getStatusV1-0-groovy">Groovy</a></li>-->
<li class=""><a href="#examples-HealthCheck-getStatusV1-0-objc">Obj-C</a></li>
@@ -10131,6 +6873,22 @@
</code></pre>
</div>
+ <div class="tab-pane" id="examples-HealthCheck-getStatusV1-0-dart">
+ <pre class="prettyprint"><code class="language-dart">import 'package:openapi/api.dart';
+
+final api_instance = DefaultApi();
+
+
+try {
+ final result = await api_instance.getStatusV1();
+ print(result);
+} catch (e) {
+ print('Exception when calling DefaultApi->getStatusV1: $e\n');
+}
+
+</code></pre>
+ </div>
+
<div class="tab-pane" id="examples-HealthCheck-getStatusV1-0-android">
<pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.HealthCheckApi;
@@ -10321,41 +7079,55 @@
<div class="tab-content" id="responses-HealthCheck-getStatusV1-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-HealthCheck-getStatusV1-200-schema">
- <div id="responses-HealthCheck-getStatusV1-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-HealthCheck-getStatusV1-200-schema">
+ <div id="responses-HealthCheck-getStatusV1-schema-200" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "OK - Service is living",
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "type" : "string"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-HealthCheck-getStatusV1-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-HealthCheck-getStatusV1-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-HealthCheck-getStatusV1-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-HealthCheck-getStatusV1-200-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-HealthCheck-getStatusV1-schema-200');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-HealthCheck-getStatusV1-200-schema-data' type='hidden' value=''></input>
+ </div>
</div>
</article>
</div>
@@ -10382,6 +7154,7 @@
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="#examples-NearRTRICRepository-getRic-0-curl">Curl</a></li>
<li class=""><a href="#examples-NearRTRICRepository-getRic-0-java">Java</a></li>
+ <li class=""><a href="#examples-NearRTRICRepository-getRic-0-dart">Dart</a></li>
<li class=""><a href="#examples-NearRTRICRepository-getRic-0-android">Android</a></li>
<!--<li class=""><a href="#examples-NearRTRICRepository-getRic-0-groovy">Groovy</a></li>-->
<li class=""><a href="#examples-NearRTRICRepository-getRic-0-objc">Obj-C</a></li>
@@ -10430,6 +7203,24 @@
</code></pre>
</div>
+ <div class="tab-pane" id="examples-NearRTRICRepository-getRic-0-dart">
+ <pre class="prettyprint"><code class="language-dart">import 'package:openapi/api.dart';
+
+final api_instance = DefaultApi();
+
+final String managedElementId = new String(); // String | The identity of a Managed Element. If given, the Near-RT RIC managing the ME is returned.
+final String ricId = new String(); // String | The identity of a Near-RT RIC to get information for.
+
+try {
+ final result = await api_instance.getRic(managedElementId, ricId);
+ print(result);
+} catch (e) {
+ print('Exception when calling DefaultApi->getRic: $e\n');
+}
+
+</code></pre>
+ </div>
+
<div class="tab-pane" id="examples-NearRTRICRepository-getRic-0-android">
<pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.NearRTRICRepositoryApi;
@@ -10690,41 +7481,60 @@
<div class="tab-content" id="responses-NearRTRICRepository-getRic-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-NearRTRICRepository-getRic-200-schema">
- <div id="responses-NearRTRICRepository-getRic-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-NearRTRICRepository-getRic-200-schema">
+ <div id="responses-NearRTRICRepository-getRic-schema-200" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "OK - Near-RT RIC is found",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ric_info"
+ },
+ "examples" : {
+ "ric_info" : {
+ "$ref" : "#/components/examples/ric_info"
+ }
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-NearRTRICRepository-getRic-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-NearRTRICRepository-getRic-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-NearRTRICRepository-getRic-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-NearRTRICRepository-getRic-200-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-NearRTRICRepository-getRic-schema-200');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-NearRTRICRepository-getRic-200-schema-data' type='hidden' value=''></input>
+ </div>
</div>
<h3 id="examples-NearRTRICRepository-getRic-title-404"></h3>
<p id="examples-NearRTRICRepository-getRic-description-404" class="marked"></p>
@@ -10747,6 +7557,53 @@
<div class="tab-content" id="responses-NearRTRICRepository-getRic-404-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-NearRTRICRepository-getRic-404-schema">
+ <div id="responses-NearRTRICRepository-getRic-schema-404" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "example" : [ ]
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-NearRTRICRepository-getRic-404-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-NearRTRICRepository-getRic-schema-404');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-NearRTRICRepository-getRic-404-schema-data' type='hidden' value=''></input>
+ </div>
</div>
</article>
</div>
@@ -10770,6 +7627,7 @@
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="#examples-NearRTRICRepository-getRics-0-curl">Curl</a></li>
<li class=""><a href="#examples-NearRTRICRepository-getRics-0-java">Java</a></li>
+ <li class=""><a href="#examples-NearRTRICRepository-getRics-0-dart">Dart</a></li>
<li class=""><a href="#examples-NearRTRICRepository-getRics-0-android">Android</a></li>
<!--<li class=""><a href="#examples-NearRTRICRepository-getRics-0-groovy">Groovy</a></li>-->
<li class=""><a href="#examples-NearRTRICRepository-getRics-0-objc">Obj-C</a></li>
@@ -10817,6 +7675,23 @@
</code></pre>
</div>
+ <div class="tab-pane" id="examples-NearRTRICRepository-getRics-0-dart">
+ <pre class="prettyprint"><code class="language-dart">import 'package:openapi/api.dart';
+
+final api_instance = DefaultApi();
+
+final String policytypeId = new String(); // String | The identity of a policy type. If given, all Near-RT RICs supporting the policy type are returned
+
+try {
+ final result = await api_instance.getRics(policytypeId);
+ print(result);
+} catch (e) {
+ print('Exception when calling DefaultApi->getRics: $e\n');
+}
+
+</code></pre>
+ </div>
+
<div class="tab-pane" id="examples-NearRTRICRepository-getRics-0-android">
<pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.NearRTRICRepositoryApi;
@@ -11048,41 +7923,60 @@
<div class="tab-content" id="responses-NearRTRICRepository-getRics-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-NearRTRICRepository-getRics-200-schema">
- <div id="responses-NearRTRICRepository-getRics-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-NearRTRICRepository-getRics-200-schema">
+ <div id="responses-NearRTRICRepository-getRics-schema-200" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ric_info_list"
+ },
+ "examples" : {
+ "ric_info_list" : {
+ "$ref" : "#/components/examples/ric_info_list"
+ }
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-NearRTRICRepository-getRics-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-NearRTRICRepository-getRics-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-NearRTRICRepository-getRics-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-NearRTRICRepository-getRics-200-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-NearRTRICRepository-getRics-schema-200');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-NearRTRICRepository-getRics-200-schema-data' type='hidden' value=''></input>
+ </div>
</div>
<h3 id="examples-NearRTRICRepository-getRics-title-404"></h3>
<p id="examples-NearRTRICRepository-getRics-description-404" class="marked"></p>
@@ -11105,6 +7999,53 @@
<div class="tab-content" id="responses-NearRTRICRepository-getRics-404-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-NearRTRICRepository-getRics-404-schema">
+ <div id="responses-NearRTRICRepository-getRics-schema-404" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "example" : [ ]
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-NearRTRICRepository-getRics-404-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-NearRTRICRepository-getRics-schema-404');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-NearRTRICRepository-getRics-404-schema-data' type='hidden' value=''></input>
+ </div>
</div>
</article>
</div>
@@ -11131,6 +8072,7 @@
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="#examples-ServiceRegistryAndSupervision-deleteService-0-curl">Curl</a></li>
<li class=""><a href="#examples-ServiceRegistryAndSupervision-deleteService-0-java">Java</a></li>
+ <li class=""><a href="#examples-ServiceRegistryAndSupervision-deleteService-0-dart">Dart</a></li>
<li class=""><a href="#examples-ServiceRegistryAndSupervision-deleteService-0-android">Android</a></li>
<!--<li class=""><a href="#examples-ServiceRegistryAndSupervision-deleteService-0-groovy">Groovy</a></li>-->
<li class=""><a href="#examples-ServiceRegistryAndSupervision-deleteService-0-objc">Obj-C</a></li>
@@ -11178,6 +8120,23 @@
</code></pre>
</div>
+ <div class="tab-pane" id="examples-ServiceRegistryAndSupervision-deleteService-0-dart">
+ <pre class="prettyprint"><code class="language-dart">import 'package:openapi/api.dart';
+
+final api_instance = DefaultApi();
+
+final String serviceId = new String(); // String |
+
+try {
+ final result = await api_instance.deleteService(serviceId);
+ print(result);
+} catch (e) {
+ print('Exception when calling DefaultApi->deleteService: $e\n');
+}
+
+</code></pre>
+ </div>
+
<div class="tab-pane" id="examples-ServiceRegistryAndSupervision-deleteService-0-android">
<pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ServiceRegistryAndSupervisionApi;
@@ -11404,41 +8363,55 @@
<div class="tab-content" id="responses-ServiceRegistryAndSupervision-deleteService-204-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-ServiceRegistryAndSupervision-deleteService-204-schema">
- <div id="responses-ServiceRegistryAndSupervision-deleteService-schema-204" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-ServiceRegistryAndSupervision-deleteService-204-schema">
+ <div id="responses-ServiceRegistryAndSupervision-deleteService-schema-204" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "No Content - Service unregistered",
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-ServiceRegistryAndSupervision-deleteService-204-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-ServiceRegistryAndSupervision-deleteService-schema-204');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-ServiceRegistryAndSupervision-deleteService-204-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-ServiceRegistryAndSupervision-deleteService-204-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-ServiceRegistryAndSupervision-deleteService-schema-204');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-ServiceRegistryAndSupervision-deleteService-204-schema-data' type='hidden' value=''></input>
+ </div>
</div>
<h3 id="examples-ServiceRegistryAndSupervision-deleteService-title-404"></h3>
<p id="examples-ServiceRegistryAndSupervision-deleteService-description-404" class="marked"></p>
@@ -11461,6 +8434,53 @@
<div class="tab-content" id="responses-ServiceRegistryAndSupervision-deleteService-404-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-ServiceRegistryAndSupervision-deleteService-404-schema">
+ <div id="responses-ServiceRegistryAndSupervision-deleteService-schema-404" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "example" : [ ]
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-ServiceRegistryAndSupervision-deleteService-404-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-ServiceRegistryAndSupervision-deleteService-schema-404');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-ServiceRegistryAndSupervision-deleteService-404-schema-data' type='hidden' value=''></input>
+ </div>
</div>
</article>
</div>
@@ -11484,6 +8504,7 @@
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="#examples-ServiceRegistryAndSupervision-getServices-0-curl">Curl</a></li>
<li class=""><a href="#examples-ServiceRegistryAndSupervision-getServices-0-java">Java</a></li>
+ <li class=""><a href="#examples-ServiceRegistryAndSupervision-getServices-0-dart">Dart</a></li>
<li class=""><a href="#examples-ServiceRegistryAndSupervision-getServices-0-android">Android</a></li>
<!--<li class=""><a href="#examples-ServiceRegistryAndSupervision-getServices-0-groovy">Groovy</a></li>-->
<li class=""><a href="#examples-ServiceRegistryAndSupervision-getServices-0-objc">Obj-C</a></li>
@@ -11531,6 +8552,23 @@
</code></pre>
</div>
+ <div class="tab-pane" id="examples-ServiceRegistryAndSupervision-getServices-0-dart">
+ <pre class="prettyprint"><code class="language-dart">import 'package:openapi/api.dart';
+
+final api_instance = DefaultApi();
+
+final String serviceId = new String(); // String | The identity of the service
+
+try {
+ final result = await api_instance.getServices(serviceId);
+ print(result);
+} catch (e) {
+ print('Exception when calling DefaultApi->getServices: $e\n');
+}
+
+</code></pre>
+ </div>
+
<div class="tab-pane" id="examples-ServiceRegistryAndSupervision-getServices-0-android">
<pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ServiceRegistryAndSupervisionApi;
@@ -11762,41 +8800,60 @@
<div class="tab-content" id="responses-ServiceRegistryAndSupervision-getServices-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-ServiceRegistryAndSupervision-getServices-200-schema">
- <div id="responses-ServiceRegistryAndSupervision-getServices-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-ServiceRegistryAndSupervision-getServices-200-schema">
+ <div id="responses-ServiceRegistryAndSupervision-getServices-schema-200" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/service_status_list"
+ },
+ "examples" : {
+ "service_status_list" : {
+ "$ref" : "#/components/examples/service_status_list"
+ }
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-ServiceRegistryAndSupervision-getServices-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-ServiceRegistryAndSupervision-getServices-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-ServiceRegistryAndSupervision-getServices-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-ServiceRegistryAndSupervision-getServices-200-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-ServiceRegistryAndSupervision-getServices-schema-200');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-ServiceRegistryAndSupervision-getServices-200-schema-data' type='hidden' value=''></input>
+ </div>
</div>
<h3 id="examples-ServiceRegistryAndSupervision-getServices-title-404"></h3>
<p id="examples-ServiceRegistryAndSupervision-getServices-description-404" class="marked"></p>
@@ -11819,6 +8876,53 @@
<div class="tab-content" id="responses-ServiceRegistryAndSupervision-getServices-404-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-ServiceRegistryAndSupervision-getServices-404-schema">
+ <div id="responses-ServiceRegistryAndSupervision-getServices-schema-404" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "example" : [ ]
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-ServiceRegistryAndSupervision-getServices-404-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-ServiceRegistryAndSupervision-getServices-schema-404');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-ServiceRegistryAndSupervision-getServices-404-schema-data' type='hidden' value=''></input>
+ </div>
</div>
</article>
</div>
@@ -11842,6 +8946,7 @@
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="#examples-ServiceRegistryAndSupervision-keepAliveService-0-curl">Curl</a></li>
<li class=""><a href="#examples-ServiceRegistryAndSupervision-keepAliveService-0-java">Java</a></li>
+ <li class=""><a href="#examples-ServiceRegistryAndSupervision-keepAliveService-0-dart">Dart</a></li>
<li class=""><a href="#examples-ServiceRegistryAndSupervision-keepAliveService-0-android">Android</a></li>
<!--<li class=""><a href="#examples-ServiceRegistryAndSupervision-keepAliveService-0-groovy">Groovy</a></li>-->
<li class=""><a href="#examples-ServiceRegistryAndSupervision-keepAliveService-0-objc">Obj-C</a></li>
@@ -11889,6 +8994,23 @@
</code></pre>
</div>
+ <div class="tab-pane" id="examples-ServiceRegistryAndSupervision-keepAliveService-0-dart">
+ <pre class="prettyprint"><code class="language-dart">import 'package:openapi/api.dart';
+
+final api_instance = DefaultApi();
+
+final String serviceId = new String(); // String |
+
+try {
+ final result = await api_instance.keepAliveService(serviceId);
+ print(result);
+} catch (e) {
+ print('Exception when calling DefaultApi->keepAliveService: $e\n');
+}
+
+</code></pre>
+ </div>
+
<div class="tab-pane" id="examples-ServiceRegistryAndSupervision-keepAliveService-0-android">
<pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ServiceRegistryAndSupervisionApi;
@@ -12118,41 +9240,55 @@
<div class="tab-content" id="responses-ServiceRegistryAndSupervision-keepAliveService-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-ServiceRegistryAndSupervision-keepAliveService-200-schema">
- <div id="responses-ServiceRegistryAndSupervision-keepAliveService-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-ServiceRegistryAndSupervision-keepAliveService-200-schema">
+ <div id="responses-ServiceRegistryAndSupervision-keepAliveService-schema-200" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "OK - Service supervision timer refreshed, OK",
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-ServiceRegistryAndSupervision-keepAliveService-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-ServiceRegistryAndSupervision-keepAliveService-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-ServiceRegistryAndSupervision-keepAliveService-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-ServiceRegistryAndSupervision-keepAliveService-200-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-ServiceRegistryAndSupervision-keepAliveService-schema-200');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-ServiceRegistryAndSupervision-keepAliveService-200-schema-data' type='hidden' value=''></input>
+ </div>
</div>
<h3 id="examples-ServiceRegistryAndSupervision-keepAliveService-title-404"></h3>
<p id="examples-ServiceRegistryAndSupervision-keepAliveService-description-404" class="marked"></p>
@@ -12175,6 +9311,53 @@
<div class="tab-content" id="responses-ServiceRegistryAndSupervision-keepAliveService-404-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-ServiceRegistryAndSupervision-keepAliveService-404-schema">
+ <div id="responses-ServiceRegistryAndSupervision-keepAliveService-schema-404" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "example" : [ ]
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-ServiceRegistryAndSupervision-keepAliveService-404-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-ServiceRegistryAndSupervision-keepAliveService-schema-404');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-ServiceRegistryAndSupervision-keepAliveService-404-schema-data' type='hidden' value=''></input>
+ </div>
</div>
</article>
</div>
@@ -12198,6 +9381,7 @@
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="#examples-ServiceRegistryAndSupervision-putService-0-curl">Curl</a></li>
<li class=""><a href="#examples-ServiceRegistryAndSupervision-putService-0-java">Java</a></li>
+ <li class=""><a href="#examples-ServiceRegistryAndSupervision-putService-0-dart">Dart</a></li>
<li class=""><a href="#examples-ServiceRegistryAndSupervision-putService-0-android">Android</a></li>
<!--<li class=""><a href="#examples-ServiceRegistryAndSupervision-putService-0-groovy">Groovy</a></li>-->
<li class=""><a href="#examples-ServiceRegistryAndSupervision-putService-0-objc">Obj-C</a></li>
@@ -12247,6 +9431,23 @@
</code></pre>
</div>
+ <div class="tab-pane" id="examples-ServiceRegistryAndSupervision-putService-0-dart">
+ <pre class="prettyprint"><code class="language-dart">import 'package:openapi/api.dart';
+
+final api_instance = DefaultApi();
+
+final ServiceRegistrationInfo serviceRegistrationInfo = new ServiceRegistrationInfo(); // ServiceRegistrationInfo |
+
+try {
+ final result = await api_instance.putService(serviceRegistrationInfo);
+ print(result);
+} catch (e) {
+ print('Exception when calling DefaultApi->putService: $e\n');
+}
+
+</code></pre>
+ </div>
+
<div class="tab-pane" id="examples-ServiceRegistryAndSupervision-putService-0-android">
<pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ServiceRegistryAndSupervisionApi;
@@ -12447,6 +9648,8 @@
}
if (schema.$ref != null) {
schema = defsParser.$refs.get(schema.$ref);
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
} else {
schemaWrapper.definitions = Object.assign({}, defs);
$RefParser.dereference(schemaWrapper).catch(function(err) {
@@ -12495,41 +9698,55 @@
<div class="tab-content" id="responses-ServiceRegistryAndSupervision-putService-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-ServiceRegistryAndSupervision-putService-200-schema">
- <div id="responses-ServiceRegistryAndSupervision-putService-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-ServiceRegistryAndSupervision-putService-200-schema">
+ <div id="responses-ServiceRegistryAndSupervision-putService-schema-200" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "OK - Service updated",
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-ServiceRegistryAndSupervision-putService-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-ServiceRegistryAndSupervision-putService-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-ServiceRegistryAndSupervision-putService-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-ServiceRegistryAndSupervision-putService-200-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-ServiceRegistryAndSupervision-putService-schema-200');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-ServiceRegistryAndSupervision-putService-200-schema-data' type='hidden' value=''></input>
+ </div>
</div>
<h3 id="examples-ServiceRegistryAndSupervision-putService-title-201"></h3>
<p id="examples-ServiceRegistryAndSupervision-putService-description-201" class="marked"></p>
@@ -12557,41 +9774,55 @@
<div class="tab-content" id="responses-ServiceRegistryAndSupervision-putService-201-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-ServiceRegistryAndSupervision-putService-201-schema">
- <div id="responses-ServiceRegistryAndSupervision-putService-schema-201" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-ServiceRegistryAndSupervision-putService-201-schema">
+ <div id="responses-ServiceRegistryAndSupervision-putService-schema-201" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Created - Service created",
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-ServiceRegistryAndSupervision-putService-201-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-ServiceRegistryAndSupervision-putService-schema-201');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-ServiceRegistryAndSupervision-putService-201-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-ServiceRegistryAndSupervision-putService-201-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-ServiceRegistryAndSupervision-putService-schema-201');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-ServiceRegistryAndSupervision-putService-201-schema-data' type='hidden' value=''></input>
+ </div>
</div>
<h3 id="examples-ServiceRegistryAndSupervision-putService-title-400"></h3>
<p id="examples-ServiceRegistryAndSupervision-putService-description-400" class="marked"></p>
@@ -12619,41 +9850,60 @@
<div class="tab-content" id="responses-ServiceRegistryAndSupervision-putService-400-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-ServiceRegistryAndSupervision-putService-400-schema">
- <div id="responses-ServiceRegistryAndSupervision-putService-schema-400" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-ServiceRegistryAndSupervision-putService-400-schema">
+ <div id="responses-ServiceRegistryAndSupervision-putService-schema-400" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Bad Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/error_information"
+ },
+ "example" : {
+ "status" : 400,
+ "title" : "Bad Request",
+ "detail" : "The provided request is not valid."
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-ServiceRegistryAndSupervision-putService-400-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-ServiceRegistryAndSupervision-putService-schema-400');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-ServiceRegistryAndSupervision-putService-400-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-ServiceRegistryAndSupervision-putService-400-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-ServiceRegistryAndSupervision-putService-schema-400');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-ServiceRegistryAndSupervision-putService-400-schema-data' type='hidden' value=''></input>
+ </div>
</div>
</article>
</div>
@@ -13772,7 +11022,7 @@
// Determine if a schema is an array
this.isArray = !this.isAny && this.schema && this.schema.type === 'array';
- this.isObject = this.schema && (this.schema.type === 'object' || this.schema.properties || this.schema.anyOf || this.schema.oneof || this.schema.allOf);
+ this.isObject = this.schema && (this.schema.type === 'object' || this.schema.properties || this.schema.anyOf || this.schema.oneOf || this.schema.allOf);
// Determine if a schema is a primitive
this.isPrimitive = !this.isAny && !this.isArray && !this.isObject;
diff --git a/a1-policy-management/api/pms-api/index.html b/docs/offeredapis/openapitoolgen/offeredapis/pms-api/v3/index.html
similarity index 60%
copy from a1-policy-management/api/pms-api/index.html
copy to docs/offeredapis/openapitoolgen/offeredapis/pms-api/v3/index.html
index 66934cd..6404c06 100644
--- a/a1-policy-management/api/pms-api/index.html
+++ b/docs/offeredapis/openapitoolgen/offeredapis/pms-api/v3/index.html
@@ -2,15 +2,13 @@
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
- <title>A1 Policy Management Service</title>
+ <title>A1 policy management API</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="UTF-8" />
<script>
-/*! jQuery v3.1.0 | (c) jQuery Foundation | jquery.org/license */
-!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,
-r.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);
-if(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});
+/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */
+!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(ie,e){"use strict";var oe=[],r=Object.getPrototypeOf,ae=oe.slice,g=oe.flat?function(e){return oe.flat.call(e)}:function(e){return oe.concat.apply([],e)},s=oe.push,se=oe.indexOf,n={},i=n.toString,ue=n.hasOwnProperty,o=ue.toString,a=o.call(Object),le={},v=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},y=function(e){return null!=e&&e===e.window},C=ie.document,u={type:!0,src:!0,nonce:!0,noModule:!0};function m(e,t,n){var r,i,o=(n=n||C).createElement("script");if(o.text=e,t)for(r in u)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[i.call(e)]||"object":typeof e}var t="3.7.1",l=/HTML$/i,ce=function(e,t){return new ce.fn.init(e,t)};function c(e){var t=!!e&&"length"in e&&e.length,n=x(e);return!v(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}function fe(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}ce.fn=ce.prototype={jquery:t,constructor:ce,length:0,toArray:function(){return ae.call(this)},get:function(e){return null==e?ae.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=ce.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return ce.each(this,e)},map:function(n){return this.pushStack(ce.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(ae.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(ce.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(ce.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:s,sort:oe.sort,splice:oe.splice},ce.extend=ce.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||v(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(l&&r&&(ce.isPlainObject(r)||(i=Array.isArray(r)))?(n=a[t],o=i&&!Array.isArray(n)?[]:i||ce.isPlainObject(n)?n:{},i=!1,a[t]=ce.extend(l,o,r)):void 0!==r&&(a[t]=r));return a},ce.extend({expando:"jQuery"+(t+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==i.call(e))&&(!(t=r(e))||"function"==typeof(n=ue.call(t,"constructor")&&t.constructor)&&o.call(n)===a)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){m(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(c(e)){for(n=e.length;r<n;r++)if(!1===t.call(e[r],r,e[r]))break}else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},text:function(e){var t,n="",r=0,i=e.nodeType;if(!i)while(t=e[r++])n+=ce.text(t);return 1===i||11===i?e.textContent:9===i?e.documentElement.textContent:3===i||4===i?e.nodeValue:n},makeArray:function(e,t){var n=t||[];return null!=e&&(c(Object(e))?ce.merge(n,"string"==typeof e?[e]:e):s.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:se.call(t,e,n)},isXMLDoc:function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!l.test(t||n&&n.nodeName||"HTML")},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,a=!n;i<o;i++)!t(e[i],i)!==a&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,a=[];if(c(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&a.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&a.push(i);return g(a)},guid:1,support:le}),"function"==typeof Symbol&&(ce.fn[Symbol.iterator]=oe[Symbol.iterator]),ce.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){n["[object "+t+"]"]=t.toLowerCase()});var pe=oe.pop,de=oe.sort,he=oe.splice,ge="[\\x20\\t\\r\\n\\f]",ve=new RegExp("^"+ge+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ge+"+$","g");ce.contains=function(e,t){var n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(e.contains?e.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))};var f=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function p(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}ce.escapeSelector=function(e){return(e+"").replace(f,p)};var ye=C,me=s;!function(){var e,b,w,o,a,T,r,C,d,i,k=me,S=ce.expando,E=0,n=0,s=W(),c=W(),u=W(),h=W(),l=function(e,t){return e===t&&(a=!0),0},f="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",t="(?:\\\\[\\da-fA-F]{1,6}"+ge+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",p="\\["+ge+"*("+t+")(?:"+ge+"*([*^$|!~]?=)"+ge+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+t+"))|)"+ge+"*\\]",g=":("+t+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+p+")*)|.*)\\)|)",v=new RegExp(ge+"+","g"),y=new RegExp("^"+ge+"*,"+ge+"*"),m=new RegExp("^"+ge+"*([>+~]|"+ge+")"+ge+"*"),x=new RegExp(ge+"|>"),j=new RegExp(g),A=new RegExp("^"+t+"$"),D={ID:new RegExp("^#("+t+")"),CLASS:new RegExp("^\\.("+t+")"),TAG:new RegExp("^("+t+"|[*])"),ATTR:new RegExp("^"+p),PSEUDO:new RegExp("^"+g),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ge+"*(even|odd|(([+-]|)(\\d*)n|)"+ge+"*(?:([+-]|)"+ge+"*(\\d+)|))"+ge+"*\\)|)","i"),bool:new RegExp("^(?:"+f+")$","i"),needsContext:new RegExp("^"+ge+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ge+"*((?:-\\d)?\\d*)"+ge+"*\\)|)(?=[^-]|$)","i")},N=/^(?:input|select|textarea|button)$/i,q=/^h\d$/i,L=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,H=/[+~]/,O=new RegExp("\\\\[\\da-fA-F]{1,6}"+ge+"?|\\\\([^\\r\\n\\f])","g"),P=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},M=function(){V()},R=J(function(e){return!0===e.disabled&&fe(e,"fieldset")},{dir:"parentNode",next:"legend"});try{k.apply(oe=ae.call(ye.childNodes),ye.childNodes),oe[ye.childNodes.length].nodeType}catch(e){k={apply:function(e,t){me.apply(e,ae.call(t))},call:function(e){me.apply(e,ae.call(arguments,1))}}}function I(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(V(e),e=e||T,C)){if(11!==p&&(u=L.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return k.call(n,a),n}else if(f&&(a=f.getElementById(i))&&I.contains(e,a)&&a.id===i)return k.call(n,a),n}else{if(u[2])return k.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&e.getElementsByClassName)return k.apply(n,e.getElementsByClassName(i)),n}if(!(h[t+" "]||d&&d.test(t))){if(c=t,f=e,1===p&&(x.test(t)||m.test(t))){(f=H.test(t)&&U(e.parentNode)||e)==e&&le.scope||((s=e.getAttribute("id"))?s=ce.escapeSelector(s):e.setAttribute("id",s=S)),o=(l=Y(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+Q(l[o]);c=l.join(",")}try{return k.apply(n,f.querySelectorAll(c)),n}catch(e){h(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return re(t.replace(ve,"$1"),e,n,r)}function W(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function F(e){return e[S]=!0,e}function $(e){var t=T.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function B(t){return function(e){return fe(e,"input")&&e.type===t}}function _(t){return function(e){return(fe(e,"input")||fe(e,"button"))&&e.type===t}}function z(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&R(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function X(a){return F(function(o){return o=+o,F(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function U(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function V(e){var t,n=e?e.ownerDocument||e:ye;return n!=T&&9===n.nodeType&&n.documentElement&&(r=(T=n).documentElement,C=!ce.isXMLDoc(T),i=r.matches||r.webkitMatchesSelector||r.msMatchesSelector,r.msMatchesSelector&&ye!=T&&(t=T.defaultView)&&t.top!==t&&t.addEventListener("unload",M),le.getById=$(function(e){return r.appendChild(e).id=ce.expando,!T.getElementsByName||!T.getElementsByName(ce.expando).length}),le.disconnectedMatch=$(function(e){return i.call(e,"*")}),le.scope=$(function(){return T.querySelectorAll(":scope")}),le.cssHas=$(function(){try{return T.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}}),le.getById?(b.filter.ID=function(e){var t=e.replace(O,P);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(O,P);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},b.find.CLASS=function(e,t){if("undefined"!=typeof t.getElementsByClassName&&C)return t.getElementsByClassName(e)},d=[],$(function(e){var t;r.appendChild(e).innerHTML="<a id='"+S+"' href='' disabled='disabled'></a><select id='"+S+"-\r\\' disabled='disabled'><option selected=''></option></select>",e.querySelectorAll("[selected]").length||d.push("\\["+ge+"*(?:value|"+f+")"),e.querySelectorAll("[id~="+S+"-]").length||d.push("~="),e.querySelectorAll("a#"+S+"+*").length||d.push(".#.+[+~]"),e.querySelectorAll(":checked").length||d.push(":checked"),(t=T.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),r.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&d.push(":enabled",":disabled"),(t=T.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||d.push("\\["+ge+"*name"+ge+"*="+ge+"*(?:''|\"\")")}),le.cssHas||d.push(":has"),d=d.length&&new RegExp(d.join("|")),l=function(e,t){if(e===t)return a=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!le.sortDetached&&t.compareDocumentPosition(e)===n?e===T||e.ownerDocument==ye&&I.contains(ye,e)?-1:t===T||t.ownerDocument==ye&&I.contains(ye,t)?1:o?se.call(o,e)-se.call(o,t):0:4&n?-1:1)}),T}for(e in I.matches=function(e,t){return I(e,null,null,t)},I.matchesSelector=function(e,t){if(V(e),C&&!h[t+" "]&&(!d||!d.test(t)))try{var n=i.call(e,t);if(n||le.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){h(t,!0)}return 0<I(t,T,null,[e]).length},I.contains=function(e,t){return(e.ownerDocument||e)!=T&&V(e),ce.contains(e,t)},I.attr=function(e,t){(e.ownerDocument||e)!=T&&V(e);var n=b.attrHandle[t.toLowerCase()],r=n&&ue.call(b.attrHandle,t.toLowerCase())?n(e,t,!C):void 0;return void 0!==r?r:e.getAttribute(t)},I.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ce.uniqueSort=function(e){var t,n=[],r=0,i=0;if(a=!le.sortStable,o=!le.sortStable&&ae.call(e,0),de.call(e,l),a){while(t=e[i++])t===e[i]&&(r=n.push(i));while(r--)he.call(e,n[r],1)}return o=null,e},ce.fn.uniqueSort=function(){return this.pushStack(ce.uniqueSort(ae.apply(this)))},(b=ce.expr={cacheLength:50,createPseudo:F,match:D,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(O,P),e[3]=(e[3]||e[4]||e[5]||"").replace(O,P),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||I.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&I.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return D.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&j.test(n)&&(t=Y(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(O,P).toLowerCase();return"*"===e?function(){return!0}:function(e){return fe(e,t)}},CLASS:function(e){var t=s[e+" "];return t||(t=new RegExp("(^|"+ge+")"+e+"("+ge+"|$)"))&&s(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=I.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1<t.indexOf(i):"$="===r?i&&t.slice(-i.length)===i:"~="===r?-1<(" "+t.replace(v," ")+" ").indexOf(i):"|="===r&&(t===i||t.slice(0,i.length+1)===i+"-"))}},CHILD:function(d,e,t,h,g){var v="nth"!==d.slice(0,3),y="last"!==d.slice(-4),m="of-type"===e;return 1===h&&0===g?function(e){return!!e.parentNode}:function(e,t,n){var r,i,o,a,s,u=v!==y?"nextSibling":"previousSibling",l=e.parentNode,c=m&&e.nodeName.toLowerCase(),f=!n&&!m,p=!1;if(l){if(v){while(u){o=e;while(o=o[u])if(m?fe(o,c):1===o.nodeType)return!1;s=u="only"===d&&!s&&"nextSibling"}return!0}if(s=[y?l.firstChild:l.lastChild],y&&f){p=(a=(r=(i=l[S]||(l[S]={}))[d]||[])[0]===E&&r[1])&&r[2],o=a&&l.childNodes[a];while(o=++a&&o&&o[u]||(p=a=0)||s.pop())if(1===o.nodeType&&++p&&o===e){i[d]=[E,a,p];break}}else if(f&&(p=a=(r=(i=e[S]||(e[S]={}))[d]||[])[0]===E&&r[1]),!1===p)while(o=++a&&o&&o[u]||(p=a=0)||s.pop())if((m?fe(o,c):1===o.nodeType)&&++p&&(f&&((i=o[S]||(o[S]={}))[d]=[E,p]),o===e))break;return(p-=g)===h||p%h==0&&0<=p/h}}},PSEUDO:function(e,o){var t,a=b.pseudos[e]||b.setFilters[e.toLowerCase()]||I.error("unsupported pseudo: "+e);return a[S]?a(o):1<a.length?(t=[e,e,"",o],b.setFilters.hasOwnProperty(e.toLowerCase())?F(function(e,t){var n,r=a(e,o),i=r.length;while(i--)e[n=se.call(e,r[i])]=!(t[n]=r[i])}):function(e){return a(e,0,t)}):a}},pseudos:{not:F(function(e){var r=[],i=[],s=ne(e.replace(ve,"$1"));return s[S]?F(function(e,t,n,r){var i,o=s(e,null,r,[]),a=e.length;while(a--)(i=o[a])&&(e[a]=!(t[a]=i))}):function(e,t,n){return r[0]=e,s(r,null,n,i),r[0]=null,!i.pop()}}),has:F(function(t){return function(e){return 0<I(t,e).length}}),contains:F(function(t){return t=t.replace(O,P),function(e){return-1<(e.textContent||ce.text(e)).indexOf(t)}}),lang:F(function(n){return A.test(n||"")||I.error("unsupported lang: "+n),n=n.replace(O,P).toLowerCase(),function(e){var t;do{if(t=C?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===n||0===t.indexOf(n+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=ie.location&&ie.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===r},focus:function(e){return e===function(){try{return T.activeElement}catch(e){}}()&&T.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:z(!1),disabled:z(!0),checked:function(e){return fe(e,"input")&&!!e.checked||fe(e,"option")&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!b.pseudos.empty(e)},header:function(e){return q.test(e.nodeName)},input:function(e){return N.test(e.nodeName)},button:function(e){return fe(e,"input")&&"button"===e.type||fe(e,"button")},text:function(e){var t;return fe(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:X(function(){return[0]}),last:X(function(e,t){return[t-1]}),eq:X(function(e,t,n){return[n<0?n+t:n]}),even:X(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:X(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:X(function(e,t,n){var r;for(r=n<0?n+t:t<n?t:n;0<=--r;)e.push(r);return e}),gt:X(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=b.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})b.pseudos[e]=B(e);for(e in{submit:!0,reset:!0})b.pseudos[e]=_(e);function G(){}function Y(e,t){var n,r,i,o,a,s,u,l=c[e+" "];if(l)return t?0:l.slice(0);a=e,s=[],u=b.preFilter;while(a){for(o in n&&!(r=y.exec(a))||(r&&(a=a.slice(r[0].length)||a),s.push(i=[])),n=!1,(r=m.exec(a))&&(n=r.shift(),i.push({value:n,type:r[0].replace(ve," ")}),a=a.slice(n.length)),b.filter)!(r=D[o].exec(a))||u[o]&&!(r=u[o](r))||(n=r.shift(),i.push({value:n,type:o,matches:r}),a=a.slice(n.length));if(!n)break}return t?a.length:a?I.error(e):c(e,s).slice(0)}function Q(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function J(a,e,t){var s=e.dir,u=e.next,l=u||s,c=t&&"parentNode"===l,f=n++;return e.first?function(e,t,n){while(e=e[s])if(1===e.nodeType||c)return a(e,t,n);return!1}:function(e,t,n){var r,i,o=[E,f];if(n){while(e=e[s])if((1===e.nodeType||c)&&a(e,t,n))return!0}else while(e=e[s])if(1===e.nodeType||c)if(i=e[S]||(e[S]={}),u&&fe(e,u))e=e[s]||e;else{if((r=i[l])&&r[0]===E&&r[1]===f)return o[2]=r[2];if((i[l]=o)[2]=a(e,t,n))return!0}return!1}}function K(i){return 1<i.length?function(e,t,n){var r=i.length;while(r--)if(!i[r](e,t,n))return!1;return!0}:i[0]}function Z(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,l=null!=t;s<u;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),l&&t.push(s)));return a}function ee(d,h,g,v,y,e){return v&&!v[S]&&(v=ee(v)),y&&!y[S]&&(y=ee(y,e)),F(function(e,t,n,r){var i,o,a,s,u=[],l=[],c=t.length,f=e||function(e,t,n){for(var r=0,i=t.length;r<i;r++)I(e,t[r],n);return n}(h||"*",n.nodeType?[n]:n,[]),p=!d||!e&&h?f:Z(f,u,d,n,r);if(g?g(p,s=y||(e?d:c||v)?[]:t,n,r):s=p,v){i=Z(s,l),v(i,[],n,r),o=i.length;while(o--)(a=i[o])&&(s[l[o]]=!(p[l[o]]=a))}if(e){if(y||d){if(y){i=[],o=s.length;while(o--)(a=s[o])&&i.push(p[o]=a);y(null,s=[],i,r)}o=s.length;while(o--)(a=s[o])&&-1<(i=y?se.call(e,a):u[o])&&(e[i]=!(t[i]=a))}}else s=Z(s===t?s.splice(c,s.length):s),y?y(null,t,s,r):k.apply(t,s)})}function te(e){for(var i,t,n,r=e.length,o=b.relative[e[0].type],a=o||b.relative[" "],s=o?1:0,u=J(function(e){return e===i},a,!0),l=J(function(e){return-1<se.call(i,e)},a,!0),c=[function(e,t,n){var r=!o&&(n||t!=w)||((i=t).nodeType?u(e,t,n):l(e,t,n));return i=null,r}];s<r;s++)if(t=b.relative[e[s].type])c=[J(K(c),t)];else{if((t=b.filter[e[s].type].apply(null,e[s].matches))[S]){for(n=++s;n<r;n++)if(b.relative[e[n].type])break;return ee(1<s&&K(c),1<s&&Q(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(ve,"$1"),t,s<n&&te(e.slice(s,n)),n<r&&te(e=e.slice(n)),n<r&&Q(e))}c.push(t)}return K(c)}function ne(e,t){var n,v,y,m,x,r,i=[],o=[],a=u[e+" "];if(!a){t||(t=Y(e)),n=t.length;while(n--)(a=te(t[n]))[S]?i.push(a):o.push(a);(a=u(e,(v=o,m=0<(y=i).length,x=0<v.length,r=function(e,t,n,r,i){var o,a,s,u=0,l="0",c=e&&[],f=[],p=w,d=e||x&&b.find.TAG("*",i),h=E+=null==p?1:Math.random()||.1,g=d.length;for(i&&(w=t==T||t||i);l!==g&&null!=(o=d[l]);l++){if(x&&o){a=0,t||o.ownerDocument==T||(V(o),n=!C);while(s=v[a++])if(s(o,t||T,n)){k.call(r,o);break}i&&(E=h)}m&&((o=!s&&o)&&u--,e&&c.push(o))}if(u+=l,m&&l!==u){a=0;while(s=y[a++])s(c,f,t,n);if(e){if(0<u)while(l--)c[l]||f[l]||(f[l]=pe.call(r));f=Z(f)}k.apply(r,f),i&&!e&&0<f.length&&1<u+y.length&&ce.uniqueSort(r)}return i&&(E=h,w=p),c},m?F(r):r))).selector=e}return a}function re(e,t,n,r){var i,o,a,s,u,l="function"==typeof e&&e,c=!r&&Y(e=l.selector||e);if(n=n||[],1===c.length){if(2<(o=c[0]=c[0].slice(0)).length&&"ID"===(a=o[0]).type&&9===t.nodeType&&C&&b.relative[o[1].type]){if(!(t=(b.find.ID(a.matches[0].replace(O,P),t)||[])[0]))return n;l&&(t=t.parentNode),e=e.slice(o.shift().value.length)}i=D.needsContext.test(e)?0:o.length;while(i--){if(a=o[i],b.relative[s=a.type])break;if((u=b.find[s])&&(r=u(a.matches[0].replace(O,P),H.test(o[0].type)&&U(t.parentNode)||t))){if(o.splice(i,1),!(e=r.length&&Q(o)))return k.apply(n,r),n;break}}}return(l||ne(e,c))(r,t,!C,n,!t||H.test(e)&&U(t.parentNode)||t),n}G.prototype=b.filters=b.pseudos,b.setFilters=new G,le.sortStable=S.split("").sort(l).join("")===S,V(),le.sortDetached=$(function(e){return 1&e.compareDocumentPosition(T.createElement("fieldset"))}),ce.find=I,ce.expr[":"]=ce.expr.pseudos,ce.unique=ce.uniqueSort,I.compile=ne,I.select=re,I.setDocument=V,I.tokenize=Y,I.escape=ce.escapeSelector,I.getText=ce.text,I.isXML=ce.isXMLDoc,I.selectors=ce.expr,I.support=ce.support,I.uniqueSort=ce.uniqueSort}();var d=function(e,t,n){var r=[],i=void 0!==n;while((e=e[t])&&9!==e.nodeType)if(1===e.nodeType){if(i&&ce(e).is(n))break;r.push(e)}return r},h=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},b=ce.expr.match.needsContext,w=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function T(e,n,r){return v(n)?ce.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?ce.grep(e,function(e){return e===n!==r}):"string"!=typeof n?ce.grep(e,function(e){return-1<se.call(n,e)!==r}):ce.filter(n,e,r)}ce.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?ce.find.matchesSelector(r,e)?[r]:[]:ce.find.matches(e,ce.grep(t,function(e){return 1===e.nodeType}))},ce.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(ce(e).filter(function(){for(t=0;t<r;t++)if(ce.contains(i[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)ce.find(e,i[t],n);return 1<r?ce.uniqueSort(n):n},filter:function(e){return this.pushStack(T(this,e||[],!1))},not:function(e){return this.pushStack(T(this,e||[],!0))},is:function(e){return!!T(this,"string"==typeof e&&b.test(e)?ce(e):e||[],!1).length}});var k,S=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(ce.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||k,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:S.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof ce?t[0]:t,ce.merge(this,ce.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:C,!0)),w.test(r[1])&&ce.isPlainObject(t))for(r in t)v(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=C.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==n.ready?n.ready(e):e(ce):ce.makeArray(e,this)}).prototype=ce.fn,k=ce(C);var E=/^(?:parents|prev(?:Until|All))/,j={children:!0,contents:!0,next:!0,prev:!0};function A(e,t){while((e=e[t])&&1!==e.nodeType);return e}ce.fn.extend({has:function(e){var t=ce(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(ce.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&ce(e);if(!b.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?-1<a.index(n):1===n.nodeType&&ce.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(1<o.length?ce.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?se.call(ce(e),this[0]):se.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(ce.uniqueSort(ce.merge(this.get(),ce(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),ce.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return d(e,"parentNode")},parentsUntil:function(e,t,n){return d(e,"parentNode",n)},next:function(e){return A(e,"nextSibling")},prev:function(e){return A(e,"previousSibling")},nextAll:function(e){return d(e,"nextSibling")},prevAll:function(e){return d(e,"previousSibling")},nextUntil:function(e,t,n){return d(e,"nextSibling",n)},prevUntil:function(e,t,n){return d(e,"previousSibling",n)},siblings:function(e){return h((e.parentNode||{}).firstChild,e)},children:function(e){return h(e.firstChild)},contents:function(e){return null!=e.contentDocument&&r(e.contentDocument)?e.contentDocument:(fe(e,"template")&&(e=e.content||e),ce.merge([],e.childNodes))}},function(r,i){ce.fn[r]=function(e,t){var n=ce.map(this,i,e);return"Until"!==r.slice(-5)&&(t=e),t&&"string"==typeof t&&(n=ce.filter(t,n)),1<this.length&&(j[r]||ce.uniqueSort(n),E.test(r)&&n.reverse()),this.pushStack(n)}});var D=/[^\x20\t\r\n\f]+/g;function N(e){return e}function q(e){throw e}function L(e,t,n,r){var i;try{e&&v(i=e.promise)?i.call(e).done(t).fail(n):e&&v(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}ce.Callbacks=function(r){var e,n;r="string"==typeof r?(e=r,n={},ce.each(e.match(D)||[],function(e,t){n[t]=!0}),n):ce.extend({},r);var i,t,o,a,s=[],u=[],l=-1,c=function(){for(a=a||r.once,o=i=!0;u.length;l=-1){t=u.shift();while(++l<s.length)!1===s[l].apply(t[0],t[1])&&r.stopOnFalse&&(l=s.length,t=!1)}r.memory||(t=!1),i=!1,a&&(s=t?[]:"")},f={add:function(){return s&&(t&&!i&&(l=s.length-1,u.push(t)),function n(e){ce.each(e,function(e,t){v(t)?r.unique&&f.has(t)||s.push(t):t&&t.length&&"string"!==x(t)&&n(t)})}(arguments),t&&!i&&c()),this},remove:function(){return ce.each(arguments,function(e,t){var n;while(-1<(n=ce.inArray(t,s,n)))s.splice(n,1),n<=l&&l--}),this},has:function(e){return e?-1<ce.inArray(e,s):0<s.length},empty:function(){return s&&(s=[]),this},disable:function(){return a=u=[],s=t="",this},disabled:function(){return!s},lock:function(){return a=u=[],t||i||(s=t=""),this},locked:function(){return!!a},fireWith:function(e,t){return a||(t=[e,(t=t||[]).slice?t.slice():t],u.push(t),i||c()),this},fire:function(){return f.fireWith(this,arguments),this},fired:function(){return!!o}};return f},ce.extend({Deferred:function(e){var o=[["notify","progress",ce.Callbacks("memory"),ce.Callbacks("memory"),2],["resolve","done",ce.Callbacks("once memory"),ce.Callbacks("once memory"),0,"resolved"],["reject","fail",ce.Callbacks("once memory"),ce.Callbacks("once memory"),1,"rejected"]],i="pending",a={state:function(){return i},always:function(){return s.done(arguments).fail(arguments),this},"catch":function(e){return a.then(null,e)},pipe:function(){var i=arguments;return ce.Deferred(function(r){ce.each(o,function(e,t){var n=v(i[t[4]])&&i[t[4]];s[t[1]](function(){var e=n&&n.apply(this,arguments);e&&v(e.promise)?e.promise().progress(r.notify).done(r.resolve).fail(r.reject):r[t[0]+"With"](this,n?[e]:arguments)})}),i=null}).promise()},then:function(t,n,r){var u=0;function l(i,o,a,s){return function(){var n=this,r=arguments,e=function(){var e,t;if(!(i<u)){if((e=a.apply(n,r))===o.promise())throw new TypeError("Thenable self-resolution");t=e&&("object"==typeof e||"function"==typeof e)&&e.then,v(t)?s?t.call(e,l(u,o,N,s),l(u,o,q,s)):(u++,t.call(e,l(u,o,N,s),l(u,o,q,s),l(u,o,N,o.notifyWith))):(a!==N&&(n=void 0,r=[e]),(s||o.resolveWith)(n,r))}},t=s?e:function(){try{e()}catch(e){ce.Deferred.exceptionHook&&ce.Deferred.exceptionHook(e,t.error),u<=i+1&&(a!==q&&(n=void 0,r=[e]),o.rejectWith(n,r))}};i?t():(ce.Deferred.getErrorHook?t.error=ce.Deferred.getErrorHook():ce.Deferred.getStackHook&&(t.error=ce.Deferred.getStackHook()),ie.setTimeout(t))}}return ce.Deferred(function(e){o[0][3].add(l(0,e,v(r)?r:N,e.notifyWith)),o[1][3].add(l(0,e,v(t)?t:N)),o[2][3].add(l(0,e,v(n)?n:q))}).promise()},promise:function(e){return null!=e?ce.extend(e,a):a}},s={};return ce.each(o,function(e,t){var n=t[2],r=t[5];a[t[1]]=n.add,r&&n.add(function(){i=r},o[3-e][2].disable,o[3-e][3].disable,o[0][2].lock,o[0][3].lock),n.add(t[3].fire),s[t[0]]=function(){return s[t[0]+"With"](this===s?void 0:this,arguments),this},s[t[0]+"With"]=n.fireWith}),a.promise(s),e&&e.call(s,s),s},when:function(e){var n=arguments.length,t=n,r=Array(t),i=ae.call(arguments),o=ce.Deferred(),a=function(t){return function(e){r[t]=this,i[t]=1<arguments.length?ae.call(arguments):e,--n||o.resolveWith(r,i)}};if(n<=1&&(L(e,o.done(a(t)).resolve,o.reject,!n),"pending"===o.state()||v(i[t]&&i[t].then)))return o.then();while(t--)L(i[t],a(t),o.reject);return o.promise()}});var H=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;ce.Deferred.exceptionHook=function(e,t){ie.console&&ie.console.warn&&e&&H.test(e.name)&&ie.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},ce.readyException=function(e){ie.setTimeout(function(){throw e})};var O=ce.Deferred();function P(){C.removeEventListener("DOMContentLoaded",P),ie.removeEventListener("load",P),ce.ready()}ce.fn.ready=function(e){return O.then(e)["catch"](function(e){ce.readyException(e)}),this},ce.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--ce.readyWait:ce.isReady)||(ce.isReady=!0)!==e&&0<--ce.readyWait||O.resolveWith(C,[ce])}}),ce.ready.then=O.then,"complete"===C.readyState||"loading"!==C.readyState&&!C.documentElement.doScroll?ie.setTimeout(ce.ready):(C.addEventListener("DOMContentLoaded",P),ie.addEventListener("load",P));var M=function(e,t,n,r,i,o,a){var s=0,u=e.length,l=null==n;if("object"===x(n))for(s in i=!0,n)M(e,t,s,n[s],!0,o,a);else if(void 0!==r&&(i=!0,v(r)||(a=!0),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(ce(e),n)})),t))for(;s<u;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:l?t.call(e):u?t(e[0],n):o},R=/^-ms-/,I=/-([a-z])/g;function W(e,t){return t.toUpperCase()}function F(e){return e.replace(R,"ms-").replace(I,W)}var $=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function B(){this.expando=ce.expando+B.uid++}B.uid=1,B.prototype={cache:function(e){var t=e[this.expando];return t||(t={},$(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[F(t)]=n;else for(r in t)i[F(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][F(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(F):(t=F(t))in r?[t]:t.match(D)||[]).length;while(n--)delete r[t[n]]}(void 0===t||ce.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!ce.isEmptyObject(t)}};var _=new B,z=new B,X=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,U=/[A-Z]/g;function V(e,t,n){var r,i;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(U,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n="true"===(i=n)||"false"!==i&&("null"===i?null:i===+i+""?+i:X.test(i)?JSON.parse(i):i)}catch(e){}z.set(e,t,n)}else n=void 0;return n}ce.extend({hasData:function(e){return z.hasData(e)||_.hasData(e)},data:function(e,t,n){return z.access(e,t,n)},removeData:function(e,t){z.remove(e,t)},_data:function(e,t,n){return _.access(e,t,n)},_removeData:function(e,t){_.remove(e,t)}}),ce.fn.extend({data:function(n,e){var t,r,i,o=this[0],a=o&&o.attributes;if(void 0===n){if(this.length&&(i=z.get(o),1===o.nodeType&&!_.get(o,"hasDataAttrs"))){t=a.length;while(t--)a[t]&&0===(r=a[t].name).indexOf("data-")&&(r=F(r.slice(5)),V(o,r,i[r]));_.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof n?this.each(function(){z.set(this,n)}):M(this,function(e){var t;if(o&&void 0===e)return void 0!==(t=z.get(o,n))?t:void 0!==(t=V(o,n))?t:void 0;this.each(function(){z.set(this,n,e)})},null,e,1<arguments.length,null,!0)},removeData:function(e){return this.each(function(){z.remove(this,e)})}}),ce.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=_.get(e,t),n&&(!r||Array.isArray(n)?r=_.access(e,t,ce.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=ce.queue(e,t),r=n.length,i=n.shift(),o=ce._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,function(){ce.dequeue(e,t)},o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return _.get(e,n)||_.access(e,n,{empty:ce.Callbacks("once memory").add(function(){_.remove(e,[t+"queue",n])})})}}),ce.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?ce.queue(this[0],t):void 0===n?this:this.each(function(){var e=ce.queue(this,t,n);ce._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&ce.dequeue(this,t)})},dequeue:function(e){return this.each(function(){ce.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=ce.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};"string"!=typeof e&&(t=e,e=void 0),e=e||"fx";while(a--)(n=_.get(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var G=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Y=new RegExp("^(?:([+-])=|)("+G+")([a-z%]*)$","i"),Q=["Top","Right","Bottom","Left"],J=C.documentElement,K=function(e){return ce.contains(e.ownerDocument,e)},Z={composed:!0};J.getRootNode&&(K=function(e){return ce.contains(e.ownerDocument,e)||e.getRootNode(Z)===e.ownerDocument});var ee=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&K(e)&&"none"===ce.css(e,"display")};function te(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return ce.css(e,t,"")},u=s(),l=n&&n[3]||(ce.cssNumber[t]?"":"px"),c=e.nodeType&&(ce.cssNumber[t]||"px"!==l&&+u)&&Y.exec(ce.css(e,t));if(c&&c[3]!==l){u/=2,l=l||c[3],c=+u||1;while(a--)ce.style(e,t,c+l),(1-o)*(1-(o=s()/u||.5))<=0&&(a=0),c/=o;c*=2,ce.style(e,t,c+l),n=n||[]}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}var ne={};function re(e,t){for(var n,r,i,o,a,s,u,l=[],c=0,f=e.length;c<f;c++)(r=e[c]).style&&(n=r.style.display,t?("none"===n&&(l[c]=_.get(r,"display")||null,l[c]||(r.style.display="")),""===r.style.display&&ee(r)&&(l[c]=(u=a=o=void 0,a=(i=r).ownerDocument,s=i.nodeName,(u=ne[s])||(o=a.body.appendChild(a.createElement(s)),u=ce.css(o,"display"),o.parentNode.removeChild(o),"none"===u&&(u="block"),ne[s]=u)))):"none"!==n&&(l[c]="none",_.set(r,"display",n)));for(c=0;c<f;c++)null!=l[c]&&(e[c].style.display=l[c]);return e}ce.fn.extend({show:function(){return re(this,!0)},hide:function(){return re(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ee(this)?ce(this).show():ce(this).hide()})}});var xe,be,we=/^(?:checkbox|radio)$/i,Te=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Ce=/^$|^module$|\/(?:java|ecma)script/i;xe=C.createDocumentFragment().appendChild(C.createElement("div")),(be=C.createElement("input")).setAttribute("type","radio"),be.setAttribute("checked","checked"),be.setAttribute("name","t"),xe.appendChild(be),le.checkClone=xe.cloneNode(!0).cloneNode(!0).lastChild.checked,xe.innerHTML="<textarea>x</textarea>",le.noCloneChecked=!!xe.cloneNode(!0).lastChild.defaultValue,xe.innerHTML="<option></option>",le.option=!!xe.lastChild;var ke={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,"",""]};function Se(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&fe(e,t)?ce.merge([e],n):n}function Ee(e,t){for(var n=0,r=e.length;n<r;n++)_.set(e[n],"globalEval",!t||_.get(t[n],"globalEval"))}ke.tbody=ke.tfoot=ke.colgroup=ke.caption=ke.thead,ke.th=ke.td,le.option||(ke.optgroup=ke.option=[1,"<select multiple='multiple'>","</select>"]);var je=/<|&#?\w+;/;function Ae(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d<h;d++)if((o=e[d])||0===o)if("object"===x(o))ce.merge(p,o.nodeType?[o]:o);else if(je.test(o)){a=a||f.appendChild(t.createElement("div")),s=(Te.exec(o)||["",""])[1].toLowerCase(),u=ke[s]||ke._default,a.innerHTML=u[1]+ce.htmlPrefilter(o)+u[2],c=u[0];while(c--)a=a.lastChild;ce.merge(p,a.childNodes),(a=f.firstChild).textContent=""}else p.push(t.createTextNode(o));f.textContent="",d=0;while(o=p[d++])if(r&&-1<ce.inArray(o,r))i&&i.push(o);else if(l=K(o),a=Se(f.appendChild(o),"script"),l&&Ee(a),n){c=0;while(o=a[c++])Ce.test(o.type||"")&&n.push(o)}return f}var De=/^([^.]*)(?:\.(.+)|)/;function Ne(){return!0}function qe(){return!1}function Le(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Le(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=qe;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return ce().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=ce.guid++)),e.each(function(){ce.event.add(this,t,i,r,n)})}function He(e,r,t){t?(_.set(e,r,!1),ce.event.add(e,r,{namespace:!1,handler:function(e){var t,n=_.get(this,r);if(1&e.isTrigger&&this[r]){if(n)(ce.event.special[r]||{}).delegateType&&e.stopPropagation();else if(n=ae.call(arguments),_.set(this,r,n),this[r](),t=_.get(this,r),_.set(this,r,!1),n!==t)return e.stopImmediatePropagation(),e.preventDefault(),t}else n&&(_.set(this,r,ce.event.trigger(n[0],n.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=Ne)}})):void 0===_.get(e,r)&&ce.event.add(e,r,Ne)}ce.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=_.get(t);if($(t)){n.handler&&(n=(o=n).handler,i=o.selector),i&&ce.find.matchesSelector(J,i),n.guid||(n.guid=ce.guid++),(u=v.events)||(u=v.events=Object.create(null)),(a=v.handle)||(a=v.handle=function(e){return"undefined"!=typeof ce&&ce.event.triggered!==e.type?ce.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(D)||[""]).length;while(l--)d=g=(s=De.exec(e[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=ce.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=ce.event.special[d]||{},c=ce.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&ce.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),ce.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=_.hasData(e)&&_.get(e);if(v&&(u=v.events)){l=(t=(t||"").match(D)||[""]).length;while(l--)if(d=g=(s=De.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){f=ce.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||ce.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)ce.event.remove(e,d+t[l],n,r,!0);ce.isEmptyObject(u)&&_.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=new Array(arguments.length),u=ce.event.fix(e),l=(_.get(this,"events")||Object.create(null))[u.type]||[],c=ce.event.special[u.type]||{};for(s[0]=u,t=1;t<arguments.length;t++)s[t]=arguments[t];if(u.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,u)){a=ce.event.handlers.call(this,u,l),t=0;while((i=a[t++])&&!u.isPropagationStopped()){u.currentTarget=i.elem,n=0;while((o=i.handlers[n++])&&!u.isImmediatePropagationStopped())u.rnamespace&&!1!==o.namespace&&!u.rnamespace.test(o.namespace)||(u.handleObj=o,u.data=o.data,void 0!==(r=((ce.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,s))&&!1===(u.result=r)&&(u.preventDefault(),u.stopPropagation()))}return c.postDispatch&&c.postDispatch.call(this,u),u.result}},handlers:function(e,t){var n,r,i,o,a,s=[],u=t.delegateCount,l=e.target;if(u&&l.nodeType&&!("click"===e.type&&1<=e.button))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(o=[],a={},n=0;n<u;n++)void 0===a[i=(r=t[n]).selector+" "]&&(a[i]=r.needsContext?-1<ce(i,this).index(l):ce.find(i,this,null,[l]).length),a[i]&&o.push(r);o.length&&s.push({elem:l,handlers:o})}return l=this,u<t.length&&s.push({elem:l,handlers:t.slice(u)}),s},addProp:function(t,e){Object.defineProperty(ce.Event.prototype,t,{enumerable:!0,configurable:!0,get:v(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(e){return e[ce.expando]?e:new ce.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return we.test(t.type)&&t.click&&fe(t,"input")&&He(t,"click",!0),!1},trigger:function(e){var t=this||e;return we.test(t.type)&&t.click&&fe(t,"input")&&He(t,"click"),!0},_default:function(e){var t=e.target;return we.test(t.type)&&t.click&&fe(t,"input")&&_.get(t,"click")||fe(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},ce.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},ce.Event=function(e,t){if(!(this instanceof ce.Event))return new ce.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Ne:qe,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&ce.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[ce.expando]=!0},ce.Event.prototype={constructor:ce.Event,isDefaultPrevented:qe,isPropagationStopped:qe,isImmediatePropagationStopped:qe,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Ne,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Ne,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Ne,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},ce.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,code:!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:!0},ce.event.addProp),ce.each({focus:"focusin",blur:"focusout"},function(r,i){function o(e){if(C.documentMode){var t=_.get(this,"handle"),n=ce.event.fix(e);n.type="focusin"===e.type?"focus":"blur",n.isSimulated=!0,t(e),n.target===n.currentTarget&&t(n)}else ce.event.simulate(i,e.target,ce.event.fix(e))}ce.event.special[r]={setup:function(){var e;if(He(this,r,!0),!C.documentMode)return!1;(e=_.get(this,i))||this.addEventListener(i,o),_.set(this,i,(e||0)+1)},trigger:function(){return He(this,r),!0},teardown:function(){var e;if(!C.documentMode)return!1;(e=_.get(this,i)-1)?_.set(this,i,e):(this.removeEventListener(i,o),_.remove(this,i))},_default:function(e){return _.get(e.target,r)},delegateType:i},ce.event.special[i]={setup:function(){var e=this.ownerDocument||this.document||this,t=C.documentMode?this:e,n=_.get(t,i);n||(C.documentMode?this.addEventListener(i,o):e.addEventListener(r,o,!0)),_.set(t,i,(n||0)+1)},teardown:function(){var e=this.ownerDocument||this.document||this,t=C.documentMode?this:e,n=_.get(t,i)-1;n?_.set(t,i,n):(C.documentMode?this.removeEventListener(i,o):e.removeEventListener(r,o,!0),_.remove(t,i))}}}),ce.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,i){ce.event.special[e]={delegateType:i,bindType:i,handle:function(e){var t,n=e.relatedTarget,r=e.handleObj;return n&&(n===this||ce.contains(this,n))||(e.type=r.origType,t=r.handler.apply(this,arguments),e.type=i),t}}}),ce.fn.extend({on:function(e,t,n,r){return Le(this,e,t,n,r)},one:function(e,t,n,r){return Le(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,ce(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=qe),this.each(function(){ce.event.remove(this,e,n,t)})}});var Oe=/<script|<style|<link/i,Pe=/checked\s*(?:[^=]|=\s*.checked.)/i,Me=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Re(e,t){return fe(e,"table")&&fe(11!==t.nodeType?t:t.firstChild,"tr")&&ce(e).children("tbody")[0]||e}function Ie(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function We(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Fe(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(_.hasData(e)&&(s=_.get(e).events))for(i in _.remove(t,"handle events"),s)for(n=0,r=s[i].length;n<r;n++)ce.event.add(t,i,s[i][n]);z.hasData(e)&&(o=z.access(e),a=ce.extend({},o),z.set(t,a))}}function $e(n,r,i,o){r=g(r);var e,t,a,s,u,l,c=0,f=n.length,p=f-1,d=r[0],h=v(d);if(h||1<f&&"string"==typeof d&&!le.checkClone&&Pe.test(d))return n.each(function(e){var t=n.eq(e);h&&(r[0]=d.call(this,e,t.html())),$e(t,r,i,o)});if(f&&(t=(e=Ae(r,n[0].ownerDocument,!1,n,o)).firstChild,1===e.childNodes.length&&(e=t),t||o)){for(s=(a=ce.map(Se(e,"script"),Ie)).length;c<f;c++)u=e,c!==p&&(u=ce.clone(u,!0,!0),s&&ce.merge(a,Se(u,"script"))),i.call(n[c],u,c);if(s)for(l=a[a.length-1].ownerDocument,ce.map(a,We),c=0;c<s;c++)u=a[c],Ce.test(u.type||"")&&!_.access(u,"globalEval")&&ce.contains(l,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?ce._evalUrl&&!u.noModule&&ce._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")},l):m(u.textContent.replace(Me,""),u,l))}return n}function Be(e,t,n){for(var r,i=t?ce.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||ce.cleanData(Se(r)),r.parentNode&&(n&&K(r)&&Ee(Se(r,"script")),r.parentNode.removeChild(r));return e}ce.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,i,o,a,s,u,l,c=e.cloneNode(!0),f=K(e);if(!(le.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||ce.isXMLDoc(e)))for(a=Se(c),r=0,i=(o=Se(e)).length;r<i;r++)s=o[r],u=a[r],void 0,"input"===(l=u.nodeName.toLowerCase())&&we.test(s.type)?u.checked=s.checked:"input"!==l&&"textarea"!==l||(u.defaultValue=s.defaultValue);if(t)if(n)for(o=o||Se(e),a=a||Se(c),r=0,i=o.length;r<i;r++)Fe(o[r],a[r]);else Fe(e,c);return 0<(a=Se(c,"script")).length&&Ee(a,!f&&Se(e,"script")),c},cleanData:function(e){for(var t,n,r,i=ce.event.special,o=0;void 0!==(n=e[o]);o++)if($(n)){if(t=n[_.expando]){if(t.events)for(r in t.events)i[r]?ce.event.remove(n,r):ce.removeEvent(n,r,t.handle);n[_.expando]=void 0}n[z.expando]&&(n[z.expando]=void 0)}}}),ce.fn.extend({detach:function(e){return Be(this,e,!0)},remove:function(e){return Be(this,e)},text:function(e){return M(this,function(e){return void 0===e?ce.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return $e(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Re(this,e).appendChild(e)})},prepend:function(){return $e(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Re(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return $e(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return $e(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(ce.cleanData(Se(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return ce.clone(this,e,t)})},html:function(e){return M(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Oe.test(e)&&!ke[(Te.exec(e)||["",""])[1].toLowerCase()]){e=ce.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(ce.cleanData(Se(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var n=[];return $e(this,arguments,function(e){var t=this.parentNode;ce.inArray(this,n)<0&&(ce.cleanData(Se(this)),t&&t.replaceChild(e,this))},n)}}),ce.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,a){ce.fn[e]=function(e){for(var t,n=[],r=ce(e),i=r.length-1,o=0;o<=i;o++)t=o===i?this:this.clone(!0),ce(r[o])[a](t),s.apply(n,t.get());return this.pushStack(n)}});var _e=new RegExp("^("+G+")(?!px)[a-z%]+$","i"),ze=/^--/,Xe=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=ie),t.getComputedStyle(e)},Ue=function(e,t,n){var r,i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];for(i in r=n.call(e),t)e.style[i]=o[i];return r},Ve=new RegExp(Q.join("|"),"i");function Ge(e,t,n){var r,i,o,a,s=ze.test(t),u=e.style;return(n=n||Xe(e))&&(a=n.getPropertyValue(t)||n[t],s&&a&&(a=a.replace(ve,"$1")||void 0),""!==a||K(e)||(a=ce.style(e,t)),!le.pixelBoxStyles()&&_e.test(a)&&Ve.test(t)&&(r=u.width,i=u.minWidth,o=u.maxWidth,u.minWidth=u.maxWidth=u.width=a,a=n.width,u.width=r,u.minWidth=i,u.maxWidth=o)),void 0!==a?a+"":a}function Ye(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(l){u.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",l.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",J.appendChild(u).appendChild(l);var e=ie.getComputedStyle(l);n="1%"!==e.top,s=12===t(e.marginLeft),l.style.right="60%",o=36===t(e.right),r=36===t(e.width),l.style.position="absolute",i=12===t(l.offsetWidth/3),J.removeChild(u),l=null}}function t(e){return Math.round(parseFloat(e))}var n,r,i,o,a,s,u=C.createElement("div"),l=C.createElement("div");l.style&&(l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",le.clearCloneStyle="content-box"===l.style.backgroundClip,ce.extend(le,{boxSizingReliable:function(){return e(),r},pixelBoxStyles:function(){return e(),o},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),s},scrollboxSize:function(){return e(),i},reliableTrDimensions:function(){var e,t,n,r;return null==a&&(e=C.createElement("table"),t=C.createElement("tr"),n=C.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="box-sizing:content-box;border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",J.appendChild(e).appendChild(t).appendChild(n),r=ie.getComputedStyle(t),a=parseInt(r.height,10)+parseInt(r.borderTopWidth,10)+parseInt(r.borderBottomWidth,10)===t.offsetHeight,J.removeChild(e)),a}}))}();var Qe=["Webkit","Moz","ms"],Je=C.createElement("div").style,Ke={};function Ze(e){var t=ce.cssProps[e]||Ke[e];return t||(e in Je?e:Ke[e]=function(e){var t=e[0].toUpperCase()+e.slice(1),n=Qe.length;while(n--)if((e=Qe[n]+t)in Je)return e}(e)||e)}var et=/^(none|table(?!-c[ea]).+)/,tt={position:"absolute",visibility:"hidden",display:"block"},nt={letterSpacing:"0",fontWeight:"400"};function rt(e,t,n){var r=Y.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function it(e,t,n,r,i,o){var a="width"===t?1:0,s=0,u=0,l=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(l+=ce.css(e,n+Q[a],!0,i)),r?("content"===n&&(u-=ce.css(e,"padding"+Q[a],!0,i)),"margin"!==n&&(u-=ce.css(e,"border"+Q[a]+"Width",!0,i))):(u+=ce.css(e,"padding"+Q[a],!0,i),"padding"!==n?u+=ce.css(e,"border"+Q[a]+"Width",!0,i):s+=ce.css(e,"border"+Q[a]+"Width",!0,i));return!r&&0<=o&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-.5))||0),u+l}function ot(e,t,n){var r=Xe(e),i=(!le.boxSizingReliable()||n)&&"border-box"===ce.css(e,"boxSizing",!1,r),o=i,a=Ge(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(_e.test(a)){if(!n)return a;a="auto"}return(!le.boxSizingReliable()&&i||!le.reliableTrDimensions()&&fe(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===ce.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===ce.css(e,"boxSizing",!1,r),(o=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+it(e,t,n||(i?"border":"content"),o,r,a)+"px"}function at(e,t,n,r,i){return new at.prototype.init(e,t,n,r,i)}ce.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ge(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=F(t),u=ze.test(t),l=e.style;if(u||(t=Ze(s)),a=ce.cssHooks[t]||ce.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:l[t];"string"===(o=typeof n)&&(i=Y.exec(n))&&i[1]&&(n=te(e,t,i),o="number"),null!=n&&n==n&&("number"!==o||u||(n+=i&&i[3]||(ce.cssNumber[s]?"":"px")),le.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var i,o,a,s=F(t);return ze.test(t)||(t=Ze(s)),(a=ce.cssHooks[t]||ce.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=Ge(e,t,r)),"normal"===i&&t in nt&&(i=nt[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),ce.each(["height","width"],function(e,u){ce.cssHooks[u]={get:function(e,t,n){if(t)return!et.test(ce.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?ot(e,u,n):Ue(e,tt,function(){return ot(e,u,n)})},set:function(e,t,n){var r,i=Xe(e),o=!le.scrollboxSize()&&"absolute"===i.position,a=(o||n)&&"border-box"===ce.css(e,"boxSizing",!1,i),s=n?it(e,u,n,a,i):0;return a&&o&&(s-=Math.ceil(e["offset"+u[0].toUpperCase()+u.slice(1)]-parseFloat(i[u])-it(e,u,"border",!1,i)-.5)),s&&(r=Y.exec(t))&&"px"!==(r[3]||"px")&&(e.style[u]=t,t=ce.css(e,u)),rt(0,t,s)}}}),ce.cssHooks.marginLeft=Ye(le.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Ge(e,"marginLeft"))||e.getBoundingClientRect().left-Ue(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),ce.each({margin:"",padding:"",border:"Width"},function(i,o){ce.cssHooks[i+o]={expand:function(e){for(var t=0,n={},r="string"==typeof e?e.split(" "):[e];t<4;t++)n[i+Q[t]+o]=r[t]||r[t-2]||r[0];return n}},"margin"!==i&&(ce.cssHooks[i+o].set=rt)}),ce.fn.extend({css:function(e,t){return M(this,function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=Xe(e),i=t.length;a<i;a++)o[t[a]]=ce.css(e,t[a],!1,r);return o}return void 0!==n?ce.style(e,t,n):ce.css(e,t)},e,t,1<arguments.length)}}),((ce.Tween=at).prototype={constructor:at,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||ce.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(ce.cssNumber[n]?"":"px")},cur:function(){var e=at.propHooks[this.prop];return e&&e.get?e.get(this):at.propHooks._default.get(this)},run:function(e){var t,n=at.propHooks[this.prop];return this.options.duration?this.pos=t=ce.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):at.propHooks._default.set(this),this}}).init.prototype=at.prototype,(at.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=ce.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){ce.fx.step[e.prop]?ce.fx.step[e.prop](e):1!==e.elem.nodeType||!ce.cssHooks[e.prop]&&null==e.elem.style[Ze(e.prop)]?e.elem[e.prop]=e.now:ce.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=at.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},ce.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},ce.fx=at.prototype.init,ce.fx.step={};var st,ut,lt,ct,ft=/^(?:toggle|show|hide)$/,pt=/queueHooks$/;function dt(){ut&&(!1===C.hidden&&ie.requestAnimationFrame?ie.requestAnimationFrame(dt):ie.setTimeout(dt,ce.fx.interval),ce.fx.tick())}function ht(){return ie.setTimeout(function(){st=void 0}),st=Date.now()}function gt(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=Q[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function vt(e,t,n){for(var r,i=(yt.tweeners[t]||[]).concat(yt.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function yt(o,e,t){var n,a,r=0,i=yt.prefilters.length,s=ce.Deferred().always(function(){delete u.elem}),u=function(){if(a)return!1;for(var e=st||ht(),t=Math.max(0,l.startTime+l.duration-e),n=1-(t/l.duration||0),r=0,i=l.tweens.length;r<i;r++)l.tweens[r].run(n);return s.notifyWith(o,[l,n,t]),n<1&&i?t:(i||s.notifyWith(o,[l,1,0]),s.resolveWith(o,[l]),!1)},l=s.promise({elem:o,props:ce.extend({},e),opts:ce.extend(!0,{specialEasing:{},easing:ce.easing._default},t),originalProperties:e,originalOptions:t,startTime:st||ht(),duration:t.duration,tweens:[],createTween:function(e,t){var n=ce.Tween(o,l.opts,e,t,l.opts.specialEasing[e]||l.opts.easing);return l.tweens.push(n),n},stop:function(e){var t=0,n=e?l.tweens.length:0;if(a)return this;for(a=!0;t<n;t++)l.tweens[t].run(1);return e?(s.notifyWith(o,[l,1,0]),s.resolveWith(o,[l,e])):s.rejectWith(o,[l,e]),this}}),c=l.props;for(!function(e,t){var n,r,i,o,a;for(n in e)if(i=t[r=F(n)],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=ce.cssHooks[r])&&"expand"in a)for(n in o=a.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}(c,l.opts.specialEasing);r<i;r++)if(n=yt.prefilters[r].call(l,o,c,l.opts))return v(n.stop)&&(ce._queueHooks(l.elem,l.opts.queue).stop=n.stop.bind(n)),n;return ce.map(c,vt,l),v(l.opts.start)&&l.opts.start.call(o,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),ce.fx.timer(ce.extend(u,{elem:o,anim:l,queue:l.opts.queue})),l}ce.Animation=ce.extend(yt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return te(n.elem,e,Y.exec(t),n),n}]},tweener:function(e,t){v(e)?(t=e,e=["*"]):e=e.match(D);for(var n,r=0,i=e.length;r<i;r++)n=e[r],yt.tweeners[n]=yt.tweeners[n]||[],yt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,i,o,a,s,u,l,c,f="width"in t||"height"in t,p=this,d={},h=e.style,g=e.nodeType&&ee(e),v=_.get(e,"fxshow");for(r in n.queue||(null==(a=ce._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,p.always(function(){p.always(function(){a.unqueued--,ce.queue(e,"fx").length||a.empty.fire()})})),t)if(i=t[r],ft.test(i)){if(delete t[r],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!v||void 0===v[r])continue;g=!0}d[r]=v&&v[r]||ce.style(e,r)}if((u=!ce.isEmptyObject(t))||!ce.isEmptyObject(d))for(r in f&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(l=v&&v.display)&&(l=_.get(e,"display")),"none"===(c=ce.css(e,"display"))&&(l?c=l:(re([e],!0),l=e.style.display||l,c=ce.css(e,"display"),re([e]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===ce.css(e,"float")&&(u||(p.done(function(){h.display=l}),null==l&&(c=h.display,l="none"===c?"":c)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",p.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),u=!1,d)u||(v?"hidden"in v&&(g=v.hidden):v=_.access(e,"fxshow",{display:l}),o&&(v.hidden=!g),g&&re([e],!0),p.done(function(){for(r in g||re([e]),_.remove(e,"fxshow"),d)ce.style(e,r,d[r])})),u=vt(g?v[r]:0,r,p),r in v||(v[r]=u.start,g&&(u.end=u.start,u.start=0))}],prefilter:function(e,t){t?yt.prefilters.unshift(e):yt.prefilters.push(e)}}),ce.speed=function(e,t,n){var r=e&&"object"==typeof e?ce.extend({},e):{complete:n||!n&&t||v(e)&&e,duration:e,easing:n&&t||t&&!v(t)&&t};return ce.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in ce.fx.speeds?r.duration=ce.fx.speeds[r.duration]:r.duration=ce.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){v(r.old)&&r.old.call(this),r.queue&&ce.dequeue(this,r.queue)},r},ce.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ee).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(t,e,n,r){var i=ce.isEmptyObject(t),o=ce.speed(e,n,r),a=function(){var e=yt(this,ce.extend({},t),o);(i||_.get(this,"finish"))&&e.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(i,e,o){var a=function(e){var t=e.stop;delete e.stop,t(o)};return"string"!=typeof i&&(o=e,e=i,i=void 0),e&&this.queue(i||"fx",[]),this.each(function(){var e=!0,t=null!=i&&i+"queueHooks",n=ce.timers,r=_.get(this);if(t)r[t]&&r[t].stop&&a(r[t]);else for(t in r)r[t]&&r[t].stop&&pt.test(t)&&a(r[t]);for(t=n.length;t--;)n[t].elem!==this||null!=i&&n[t].queue!==i||(n[t].anim.stop(o),e=!1,n.splice(t,1));!e&&o||ce.dequeue(this,i)})},finish:function(a){return!1!==a&&(a=a||"fx"),this.each(function(){var e,t=_.get(this),n=t[a+"queue"],r=t[a+"queueHooks"],i=ce.timers,o=n?n.length:0;for(t.finish=!0,ce.queue(this,a,[]),r&&r.stop&&r.stop.call(this,!0),e=i.length;e--;)i[e].elem===this&&i[e].queue===a&&(i[e].anim.stop(!0),i.splice(e,1));for(e=0;e<o;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete t.finish})}}),ce.each(["toggle","show","hide"],function(e,r){var i=ce.fn[r];ce.fn[r]=function(e,t,n){return null==e||"boolean"==typeof e?i.apply(this,arguments):this.animate(gt(r,!0),e,t,n)}}),ce.each({slideDown:gt("show"),slideUp:gt("hide"),slideToggle:gt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,r){ce.fn[e]=function(e,t,n){return this.animate(r,e,t,n)}}),ce.timers=[],ce.fx.tick=function(){var e,t=0,n=ce.timers;for(st=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||ce.fx.stop(),st=void 0},ce.fx.timer=function(e){ce.timers.push(e),ce.fx.start()},ce.fx.interval=13,ce.fx.start=function(){ut||(ut=!0,dt())},ce.fx.stop=function(){ut=null},ce.fx.speeds={slow:600,fast:200,_default:400},ce.fn.delay=function(r,e){return r=ce.fx&&ce.fx.speeds[r]||r,e=e||"fx",this.queue(e,function(e,t){var n=ie.setTimeout(e,r);t.stop=function(){ie.clearTimeout(n)}})},lt=C.createElement("input"),ct=C.createElement("select").appendChild(C.createElement("option")),lt.type="checkbox",le.checkOn=""!==lt.value,le.optSelected=ct.selected,(lt=C.createElement("input")).value="t",lt.type="radio",le.radioValue="t"===lt.value;var mt,xt=ce.expr.attrHandle;ce.fn.extend({attr:function(e,t){return M(this,ce.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){ce.removeAttr(this,e)})}}),ce.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof e.getAttribute?ce.prop(e,t,n):(1===o&&ce.isXMLDoc(e)||(i=ce.attrHooks[t.toLowerCase()]||(ce.expr.match.bool.test(t)?mt:void 0)),void 0!==n?null===n?void ce.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=ce.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!le.radioValue&&"radio"===t&&fe(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(D);if(i&&1===e.nodeType)while(n=i[r++])e.removeAttribute(n)}}),mt={set:function(e,t,n){return!1===t?ce.removeAttr(e,n):e.setAttribute(n,n),n}},ce.each(ce.expr.match.bool.source.match(/\w+/g),function(e,t){var a=xt[t]||ce.find.attr;xt[t]=function(e,t,n){var r,i,o=t.toLowerCase();return n||(i=xt[o],xt[o]=r,r=null!=a(e,t,n)?o:null,xt[o]=i),r}});var bt=/^(?:input|select|textarea|button)$/i,wt=/^(?:a|area)$/i;function Tt(e){return(e.match(D)||[]).join(" ")}function Ct(e){return e.getAttribute&&e.getAttribute("class")||""}function kt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(D)||[]}ce.fn.extend({prop:function(e,t){return M(this,ce.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[ce.propFix[e]||e]})}}),ce.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&ce.isXMLDoc(e)||(t=ce.propFix[t]||t,i=ce.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=ce.find.attr(e,"tabindex");return t?parseInt(t,10):bt.test(e.nodeName)||wt.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),le.optSelected||(ce.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),ce.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){ce.propFix[this.toLowerCase()]=this}),ce.fn.extend({addClass:function(t){var e,n,r,i,o,a;return v(t)?this.each(function(e){ce(this).addClass(t.call(this,e,Ct(this)))}):(e=kt(t)).length?this.each(function(){if(r=Ct(this),n=1===this.nodeType&&" "+Tt(r)+" "){for(o=0;o<e.length;o++)i=e[o],n.indexOf(" "+i+" ")<0&&(n+=i+" ");a=Tt(n),r!==a&&this.setAttribute("class",a)}}):this},removeClass:function(t){var e,n,r,i,o,a;return v(t)?this.each(function(e){ce(this).removeClass(t.call(this,e,Ct(this)))}):arguments.length?(e=kt(t)).length?this.each(function(){if(r=Ct(this),n=1===this.nodeType&&" "+Tt(r)+" "){for(o=0;o<e.length;o++){i=e[o];while(-1<n.indexOf(" "+i+" "))n=n.replace(" "+i+" "," ")}a=Tt(n),r!==a&&this.setAttribute("class",a)}}):this:this.attr("class","")},toggleClass:function(t,n){var e,r,i,o,a=typeof t,s="string"===a||Array.isArray(t);return v(t)?this.each(function(e){ce(this).toggleClass(t.call(this,e,Ct(this),n),n)}):"boolean"==typeof n&&s?n?this.addClass(t):this.removeClass(t):(e=kt(t),this.each(function(){if(s)for(o=ce(this),i=0;i<e.length;i++)r=e[i],o.hasClass(r)?o.removeClass(r):o.addClass(r);else void 0!==t&&"boolean"!==a||((r=Ct(this))&&_.set(this,"__className__",r),this.setAttribute&&this.setAttribute("class",r||!1===t?"":_.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,r=0;t=" "+e+" ";while(n=this[r++])if(1===n.nodeType&&-1<(" "+Tt(Ct(n))+" ").indexOf(t))return!0;return!1}});var St=/\r/g;ce.fn.extend({val:function(n){var r,e,i,t=this[0];return arguments.length?(i=v(n),this.each(function(e){var t;1===this.nodeType&&(null==(t=i?n.call(this,e,ce(this).val()):n)?t="":"number"==typeof t?t+="":Array.isArray(t)&&(t=ce.map(t,function(e){return null==e?"":e+""})),(r=ce.valHooks[this.type]||ce.valHooks[this.nodeName.toLowerCase()])&&"set"in r&&void 0!==r.set(this,t,"value")||(this.value=t))})):t?(r=ce.valHooks[t.type]||ce.valHooks[t.nodeName.toLowerCase()])&&"get"in r&&void 0!==(e=r.get(t,"value"))?e:"string"==typeof(e=t.value)?e.replace(St,""):null==e?"":e:void 0}}),ce.extend({valHooks:{option:{get:function(e){var t=ce.find.attr(e,"value");return null!=t?t:Tt(ce.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?o+1:i.length;for(r=o<0?u:a?o:0;r<u;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!fe(n.parentNode,"optgroup"))){if(t=ce(n).val(),a)return t;s.push(t)}return s},set:function(e,t){var n,r,i=e.options,o=ce.makeArray(t),a=i.length;while(a--)((r=i[a]).selected=-1<ce.inArray(ce.valHooks.option.get(r),o))&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),ce.each(["radio","checkbox"],function(){ce.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<ce.inArray(ce(e).val(),t)}},le.checkOn||(ce.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Et=ie.location,jt={guid:Date.now()},At=/\?/;ce.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new ie.DOMParser).parseFromString(e,"text/xml")}catch(e){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||ce.error("Invalid XML: "+(n?ce.map(n.childNodes,function(e){return e.textContent}).join("\n"):e)),t};var Dt=/^(?:focusinfocus|focusoutblur)$/,Nt=function(e){e.stopPropagation()};ce.extend(ce.event,{trigger:function(e,t,n,r){var i,o,a,s,u,l,c,f,p=[n||C],d=ue.call(e,"type")?e.type:e,h=ue.call(e,"namespace")?e.namespace.split("."):[];if(o=f=a=n=n||C,3!==n.nodeType&&8!==n.nodeType&&!Dt.test(d+ce.event.triggered)&&(-1<d.indexOf(".")&&(d=(h=d.split(".")).shift(),h.sort()),u=d.indexOf(":")<0&&"on"+d,(e=e[ce.expando]?e:new ce.Event(d,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=h.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:ce.makeArray(t,[e]),c=ce.event.special[d]||{},r||!c.trigger||!1!==c.trigger.apply(n,t))){if(!r&&!c.noBubble&&!y(n)){for(s=c.delegateType||d,Dt.test(s+d)||(o=o.parentNode);o;o=o.parentNode)p.push(o),a=o;a===(n.ownerDocument||C)&&p.push(a.defaultView||a.parentWindow||ie)}i=0;while((o=p[i++])&&!e.isPropagationStopped())f=o,e.type=1<i?s:c.bindType||d,(l=(_.get(o,"events")||Object.create(null))[e.type]&&_.get(o,"handle"))&&l.apply(o,t),(l=u&&o[u])&&l.apply&&$(o)&&(e.result=l.apply(o,t),!1===e.result&&e.preventDefault());return e.type=d,r||e.isDefaultPrevented()||c._default&&!1!==c._default.apply(p.pop(),t)||!$(n)||u&&v(n[d])&&!y(n)&&((a=n[u])&&(n[u]=null),ce.event.triggered=d,e.isPropagationStopped()&&f.addEventListener(d,Nt),n[d](),e.isPropagationStopped()&&f.removeEventListener(d,Nt),ce.event.triggered=void 0,a&&(n[u]=a)),e.result}},simulate:function(e,t,n){var r=ce.extend(new ce.Event,n,{type:e,isSimulated:!0});ce.event.trigger(r,null,t)}}),ce.fn.extend({trigger:function(e,t){return this.each(function(){ce.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return ce.event.trigger(e,t,n,!0)}});var qt=/\[\]$/,Lt=/\r?\n/g,Ht=/^(?:submit|button|image|reset|file)$/i,Ot=/^(?:input|select|textarea|keygen)/i;function Pt(n,e,r,i){var t;if(Array.isArray(e))ce.each(e,function(e,t){r||qt.test(n)?i(n,t):Pt(n+"["+("object"==typeof t&&null!=t?e:"")+"]",t,r,i)});else if(r||"object"!==x(e))i(n,e);else for(t in e)Pt(n+"["+t+"]",e[t],r,i)}ce.param=function(e,t){var n,r=[],i=function(e,t){var n=v(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!ce.isPlainObject(e))ce.each(e,function(){i(this.name,this.value)});else for(n in e)Pt(n,e[n],t,i);return r.join("&")},ce.fn.extend({serialize:function(){return ce.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=ce.prop(this,"elements");return e?ce.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!ce(this).is(":disabled")&&Ot.test(this.nodeName)&&!Ht.test(e)&&(this.checked||!we.test(e))}).map(function(e,t){var n=ce(this).val();return null==n?null:Array.isArray(n)?ce.map(n,function(e){return{name:t.name,value:e.replace(Lt,"\r\n")}}):{name:t.name,value:n.replace(Lt,"\r\n")}}).get()}});var Mt=/%20/g,Rt=/#.*$/,It=/([?&])_=[^&]*/,Wt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ft=/^(?:GET|HEAD)$/,$t=/^\/\//,Bt={},_t={},zt="*/".concat("*"),Xt=C.createElement("a");function Ut(o){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,r=0,i=e.toLowerCase().match(D)||[];if(v(t))while(n=i[r++])"+"===n[0]?(n=n.slice(1)||"*",(o[n]=o[n]||[]).unshift(t)):(o[n]=o[n]||[]).push(t)}}function Vt(t,i,o,a){var s={},u=t===_t;function l(e){var r;return s[e]=!0,ce.each(t[e]||[],function(e,t){var n=t(i,o,a);return"string"!=typeof n||u||s[n]?u?!(r=n):void 0:(i.dataTypes.unshift(n),l(n),!1)}),r}return l(i.dataTypes[0])||!s["*"]&&l("*")}function Gt(e,t){var n,r,i=ce.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&ce.extend(!0,e,r),e}Xt.href=Et.href,ce.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Et.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Et.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":zt,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":ce.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Gt(Gt(e,ce.ajaxSettings),t):Gt(ce.ajaxSettings,e)},ajaxPrefilter:Ut(Bt),ajaxTransport:Ut(_t),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var c,f,p,n,d,r,h,g,i,o,v=ce.ajaxSetup({},t),y=v.context||v,m=v.context&&(y.nodeType||y.jquery)?ce(y):ce.event,x=ce.Deferred(),b=ce.Callbacks("once memory"),w=v.statusCode||{},a={},s={},u="canceled",T={readyState:0,getResponseHeader:function(e){var t;if(h){if(!n){n={};while(t=Wt.exec(p))n[t[1].toLowerCase()+" "]=(n[t[1].toLowerCase()+" "]||[]).concat(t[2])}t=n[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return h?p:null},setRequestHeader:function(e,t){return null==h&&(e=s[e.toLowerCase()]=s[e.toLowerCase()]||e,a[e]=t),this},overrideMimeType:function(e){return null==h&&(v.mimeType=e),this},statusCode:function(e){var t;if(e)if(h)T.always(e[T.status]);else for(t in e)w[t]=[w[t],e[t]];return this},abort:function(e){var t=e||u;return c&&c.abort(t),l(0,t),this}};if(x.promise(T),v.url=((e||v.url||Et.href)+"").replace($t,Et.protocol+"//"),v.type=t.method||t.type||v.method||v.type,v.dataTypes=(v.dataType||"*").toLowerCase().match(D)||[""],null==v.crossDomain){r=C.createElement("a");try{r.href=v.url,r.href=r.href,v.crossDomain=Xt.protocol+"//"+Xt.host!=r.protocol+"//"+r.host}catch(e){v.crossDomain=!0}}if(v.data&&v.processData&&"string"!=typeof v.data&&(v.data=ce.param(v.data,v.traditional)),Vt(Bt,v,t,T),h)return T;for(i in(g=ce.event&&v.global)&&0==ce.active++&&ce.event.trigger("ajaxStart"),v.type=v.type.toUpperCase(),v.hasContent=!Ft.test(v.type),f=v.url.replace(Rt,""),v.hasContent?v.data&&v.processData&&0===(v.contentType||"").indexOf("application/x-www-form-urlencoded")&&(v.data=v.data.replace(Mt,"+")):(o=v.url.slice(f.length),v.data&&(v.processData||"string"==typeof v.data)&&(f+=(At.test(f)?"&":"?")+v.data,delete v.data),!1===v.cache&&(f=f.replace(It,"$1"),o=(At.test(f)?"&":"?")+"_="+jt.guid+++o),v.url=f+o),v.ifModified&&(ce.lastModified[f]&&T.setRequestHeader("If-Modified-Since",ce.lastModified[f]),ce.etag[f]&&T.setRequestHeader("If-None-Match",ce.etag[f])),(v.data&&v.hasContent&&!1!==v.contentType||t.contentType)&&T.setRequestHeader("Content-Type",v.contentType),T.setRequestHeader("Accept",v.dataTypes[0]&&v.accepts[v.dataTypes[0]]?v.accepts[v.dataTypes[0]]+("*"!==v.dataTypes[0]?", "+zt+"; q=0.01":""):v.accepts["*"]),v.headers)T.setRequestHeader(i,v.headers[i]);if(v.beforeSend&&(!1===v.beforeSend.call(y,T,v)||h))return T.abort();if(u="abort",b.add(v.complete),T.done(v.success),T.fail(v.error),c=Vt(_t,v,t,T)){if(T.readyState=1,g&&m.trigger("ajaxSend",[T,v]),h)return T;v.async&&0<v.timeout&&(d=ie.setTimeout(function(){T.abort("timeout")},v.timeout));try{h=!1,c.send(a,l)}catch(e){if(h)throw e;l(-1,e)}}else l(-1,"No Transport");function l(e,t,n,r){var i,o,a,s,u,l=t;h||(h=!0,d&&ie.clearTimeout(d),c=void 0,p=r||"",T.readyState=0<e?4:0,i=200<=e&&e<300||304===e,n&&(s=function(e,t,n){var r,i,o,a,s=e.contents,u=e.dataTypes;while("*"===u[0])u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}(v,T,n)),!i&&-1<ce.inArray("script",v.dataTypes)&&ce.inArray("json",v.dataTypes)<0&&(v.converters["text script"]=function(){}),s=function(e,t,n,r){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];o=c.shift();while(o)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=l[u+" "+o]||l["* "+o]))for(i in l)if((s=i.split(" "))[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}(v,s,T,i),i?(v.ifModified&&((u=T.getResponseHeader("Last-Modified"))&&(ce.lastModified[f]=u),(u=T.getResponseHeader("etag"))&&(ce.etag[f]=u)),204===e||"HEAD"===v.type?l="nocontent":304===e?l="notmodified":(l=s.state,o=s.data,i=!(a=s.error))):(a=l,!e&&l||(l="error",e<0&&(e=0))),T.status=e,T.statusText=(t||l)+"",i?x.resolveWith(y,[o,l,T]):x.rejectWith(y,[T,l,a]),T.statusCode(w),w=void 0,g&&m.trigger(i?"ajaxSuccess":"ajaxError",[T,v,i?o:a]),b.fireWith(y,[T,l]),g&&(m.trigger("ajaxComplete",[T,v]),--ce.active||ce.event.trigger("ajaxStop")))}return T},getJSON:function(e,t,n){return ce.get(e,t,n,"json")},getScript:function(e,t){return ce.get(e,void 0,t,"script")}}),ce.each(["get","post"],function(e,i){ce[i]=function(e,t,n,r){return v(t)&&(r=r||n,n=t,t=void 0),ce.ajax(ce.extend({url:e,type:i,dataType:r,data:t,success:n},ce.isPlainObject(e)&&e))}}),ce.ajaxPrefilter(function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),ce._evalUrl=function(e,t,n){return ce.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){ce.globalEval(e,t,n)}})},ce.fn.extend({wrapAll:function(e){var t;return this[0]&&(v(e)&&(e=e.call(this[0])),t=ce(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstElementChild)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(n){return v(n)?this.each(function(e){ce(this).wrapInner(n.call(this,e))}):this.each(function(){var e=ce(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=v(t);return this.each(function(e){ce(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(e){return this.parent(e).not("body").each(function(){ce(this).replaceWith(this.childNodes)}),this}}),ce.expr.pseudos.hidden=function(e){return!ce.expr.pseudos.visible(e)},ce.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},ce.ajaxSettings.xhr=function(){try{return new ie.XMLHttpRequest}catch(e){}};var Yt={0:200,1223:204},Qt=ce.ajaxSettings.xhr();le.cors=!!Qt&&"withCredentials"in Qt,le.ajax=Qt=!!Qt,ce.ajaxTransport(function(i){var o,a;if(le.cors||Qt&&!i.crossDomain)return{send:function(e,t){var n,r=i.xhr();if(r.open(i.type,i.url,i.async,i.username,i.password),i.xhrFields)for(n in i.xhrFields)r[n]=i.xhrFields[n];for(n in i.mimeType&&r.overrideMimeType&&r.overrideMimeType(i.mimeType),i.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)r.setRequestHeader(n,e[n]);o=function(e){return function(){o&&(o=a=r.onload=r.onerror=r.onabort=r.ontimeout=r.onreadystatechange=null,"abort"===e?r.abort():"error"===e?"number"!=typeof r.status?t(0,"error"):t(r.status,r.statusText):t(Yt[r.status]||r.status,r.statusText,"text"!==(r.responseType||"text")||"string"!=typeof r.responseText?{binary:r.response}:{text:r.responseText},r.getAllResponseHeaders()))}},r.onload=o(),a=r.onerror=r.ontimeout=o("error"),void 0!==r.onabort?r.onabort=a:r.onreadystatechange=function(){4===r.readyState&&ie.setTimeout(function(){o&&a()})},o=o("abort");try{r.send(i.hasContent&&i.data||null)}catch(e){if(o)throw e}},abort:function(){o&&o()}}}),ce.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),ce.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return ce.globalEval(e),e}}}),ce.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),ce.ajaxTransport("script",function(n){var r,i;if(n.crossDomain||n.scriptAttrs)return{send:function(e,t){r=ce("<script>").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),C.head.appendChild(r[0])},abort:function(){i&&i()}}});var Jt,Kt=[],Zt=/(=)\?(?=&|$)|\?\?/;ce.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Kt.pop()||ce.expando+"_"+jt.guid++;return this[e]=!0,e}}),ce.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Zt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Zt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=v(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Zt,"$1"+r):!1!==e.jsonp&&(e.url+=(At.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||ce.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=ie[r],ie[r]=function(){o=arguments},n.always(function(){void 0===i?ce(ie).removeProp(r):ie[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Kt.push(r)),o&&v(i)&&i(o[0]),o=i=void 0}),"script"}),le.createHTMLDocument=((Jt=C.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Jt.childNodes.length),ce.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(le.createHTMLDocument?((r=(t=C.implementation.createHTMLDocument("")).createElement("base")).href=C.location.href,t.head.appendChild(r)):t=C),o=!n&&[],(i=w.exec(e))?[t.createElement(i[1])]:(i=Ae([e],t,o),o&&o.length&&ce(o).remove(),ce.merge([],i.childNodes)));var r,i,o},ce.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1<s&&(r=Tt(e.slice(s)),e=e.slice(0,s)),v(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),0<a.length&&ce.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(r?ce("<div>").append(ce.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},ce.expr.pseudos.animated=function(t){return ce.grep(ce.timers,function(e){return t===e.elem}).length},ce.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=ce.css(e,"position"),c=ce(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=ce.css(e,"top"),u=ce.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),v(t)&&(t=t.call(e,n,ce.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},ce.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){ce.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===ce.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===ce.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=ce(e).offset()).top+=ce.css(e,"borderTopWidth",!0),i.left+=ce.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-ce.css(r,"marginTop",!0),left:t.left-i.left-ce.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===ce.css(e,"position"))e=e.offsetParent;return e||J})}}),ce.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;ce.fn[t]=function(e){return M(this,function(e,t,n){var r;if(y(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),ce.each(["top","left"],function(e,n){ce.cssHooks[n]=Ye(le.pixelPosition,function(e,t){if(t)return t=Ge(e,n),_e.test(t)?ce(e).position()[n]+"px":t})}),ce.each({Height:"height",Width:"width"},function(a,s){ce.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){ce.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return M(this,function(e,t,n){var r;return y(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?ce.css(e,t,i):ce.style(e,t,n,i)},s,n?e:void 0,n)}})}),ce.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){ce.fn[t]=function(e){return this.on(t,e)}}),ce.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),ce.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(e,n){ce.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}});var en=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;ce.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),v(e))return r=ae.call(arguments,2),(i=function(){return e.apply(t||this,r.concat(ae.call(arguments)))}).guid=e.guid=e.guid||ce.guid++,i},ce.holdReady=function(e){e?ce.readyWait++:ce.ready(!0)},ce.isArray=Array.isArray,ce.parseJSON=JSON.parse,ce.nodeName=fe,ce.isFunction=v,ce.isWindow=y,ce.camelCase=F,ce.type=x,ce.now=Date.now,ce.isNumeric=function(e){var t=ce.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},ce.trim=function(e){return null==e?"":(e+"").replace(en,"$1")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return ce});var tn=ie.jQuery,nn=ie.$;return ce.noConflict=function(e){return ie.$===ce&&(ie.$=nn),e&&ie.jQuery===ce&&(ie.jQuery=tn),ce},"undefined"==typeof e&&(ie.jQuery=ie.$=ce),ce});
</script>
<script>
@@ -846,313 +844,315 @@
<script>
// Script section to load models into a JS Var
var defs = {}
- defs["authorization_result"] = {
- "required" : [ "result" ],
- "type" : "object",
- "properties" : {
- "result" : {
- "type" : "boolean",
- "description" : "If true, the access is granted"
- }
- },
- "description" : "Result of authorization",
- "example" : {
- "result" : true
- }
+ defs["AuthorizationResult"] = {
+ "required" : [ "result" ],
+ "type" : "object",
+ "properties" : {
+ "result" : {
+ "type" : "boolean",
+ "description" : "If true, the access is granted"
+ }
+ },
+ "description" : "Result of authorization",
+ "example" : {
+ "result" : true
+ }
};
- defs["error_information"] = {
- "type" : "object",
- "properties" : {
- "detail" : {
- "type" : "string",
- "description" : " A human-readable explanation specific to this occurrence of the problem.",
- "example" : "Policy type not found"
- },
- "title" : {
- "type" : "string",
- "description" : "A specific error name",
- "example" : "Not Found"
- },
- "status" : {
- "type" : "integer",
- "description" : "The HTTP status code generated by the origin server for this occurrence of the problem. ",
- "format" : "int32",
- "example" : 404
- }
- },
- "description" : "Problem as defined in https://tools.ietf.org/html/rfc7807"
+ defs["ErrorInformation"] = {
+ "type" : "object",
+ "properties" : {
+ "detail" : {
+ "type" : "string",
+ "description" : " A human-readable explanation specific to this occurrence of the problem.",
+ "example" : "Policy type not found"
+ },
+ "title" : {
+ "type" : "string",
+ "description" : "A specific error name",
+ "example" : "Not Found"
+ },
+ "status" : {
+ "type" : "integer",
+ "description" : "The HTTP status code generated by the origin server for this occurrence of the problem. ",
+ "format" : "int32",
+ "example" : 404
+ }
+ },
+ "description" : "Problem as defined in https://tools.ietf.org/html/rfc7807"
};
- defs["input"] = {
- "required" : [ "access_type", "auth_token", "policy_type_id" ],
- "type" : "object",
- "properties" : {
- "access_type" : {
- "type" : "string",
- "description" : "Access type",
- "enum" : [ "READ", "WRITE", "DELETE" ]
- },
- "auth_token" : {
- "type" : "string",
- "description" : "Authorization token"
- },
- "policy_type_id" : {
- "type" : "string",
- "description" : "Policy type identifier"
- }
- },
- "description" : "input"
+ defs["input"] = {
+ "required" : [ "accessType", "authToken", "policyTypeId" ],
+ "type" : "object",
+ "properties" : {
+ "accessType" : {
+ "type" : "string",
+ "description" : "Access type",
+ "enum" : [ "READ", "WRITE", "DELETE" ]
+ },
+ "authToken" : {
+ "type" : "string",
+ "description" : "Authorization token"
+ },
+ "policyTypeId" : {
+ "type" : "string",
+ "description" : "Policy type identifier"
+ }
+ },
+ "description" : "input"
};
- defs["Link"] = {
- "type" : "object",
- "properties" : {
- "templated" : {
- "type" : "boolean"
- },
- "href" : {
- "type" : "string"
- }
- }
+ defs["Link"] = {
+ "type" : "object",
+ "properties" : {
+ "templated" : {
+ "type" : "boolean"
+ },
+ "href" : {
+ "type" : "string"
+ }
+ }
};
- defs["policy_authorization"] = {
- "required" : [ "input" ],
- "type" : "object",
- "properties" : {
- "input" : {
- "$ref" : "#/components/schemas/input"
- }
- },
- "description" : "Authorization request for A1 policy requests"
+ defs["PolicyAuthorization"] = {
+ "required" : [ "input" ],
+ "type" : "object",
+ "properties" : {
+ "input" : {
+ "$ref" : "#/components/schemas/input"
+ }
+ },
+ "description" : "Authorization request for A1 policy requests"
};
- defs["policy_id_list"] = {
- "type" : "object",
- "properties" : {
- "policy_ids" : {
- "type" : "array",
- "description" : "Policy identities",
- "items" : {
- "type" : "string",
- "description" : "Policy identities"
- }
- }
- },
- "description" : "A list of policy identities",
- "example" : {
- "policy_ids" : [ "policy_ids", "policy_ids" ]
- }
+ defs["PolicyInformation"] = {
+ "required" : [ "nearRtRicId", "policyId" ],
+ "type" : "object",
+ "properties" : {
+ "policyId" : {
+ "type" : "string",
+ "description" : "Identity of the policy"
+ },
+ "nearRtRicId" : {
+ "$ref" : "#/components/schemas/NearRtRicId"
+ }
+ },
+ "description" : "Near-RT RIC identifiers where A1 policies exist and for each Near-RT RIC identifier the policy identifiers of those policies that exist in that Near-RT RIC"
};
- defs["policy_info"] = {
- "required" : [ "policy_data", "policy_id", "policytype_id", "ric_id" ],
- "type" : "object",
- "properties" : {
- "ric_id" : {
- "type" : "string",
- "description" : "identity of the target Near-RT RIC"
- },
- "policy_id" : {
- "type" : "string",
- "description" : "identity of the policy"
- },
- "transient" : {
- "type" : "boolean",
- "description" : "if true, the policy is deleted at RIC restart. If false, its value is maintained by this service until explicitly deleted. Default false.",
- "nullable" : false,
- "example" : false,
- "default" : false
- },
- "service_id" : {
- "type" : "string",
- "description" : "the identity of the service owning the policy. This can be used to group the policies (it is possible to get all policies associated to a service). Note that the service does not need to be registered.",
- "default" : ""
- },
- "policy_data" : {
- "type" : "object",
- "description" : "the configuration of the policy"
- },
- "status_notification_uri" : {
- "type" : "string",
- "description" : "Callback URI for policy status updates"
- },
- "policytype_id" : {
- "type" : "string",
- "description" : "identity of the policy type"
- }
- },
- "description" : "Information for one A1-P Policy"
+ defs["PolicyObjectInformation"] = {
+ "required" : [ "nearRtRicId", "policyObject", "policyTypeId" ],
+ "type" : "object",
+ "properties" : {
+ "nearRtRicId" : {
+ "type" : "string",
+ "description" : "identity of the target Near-RT RIC",
+ "example" : "Near-RT-Ric-ID"
+ },
+ "transient" : {
+ "type" : "boolean",
+ "description" : "if true, the policy is deleted at RIC restart. If false, its value is maintained by this service until explicitly deleted. Default false.",
+ "nullable" : false,
+ "default" : false
+ },
+ "policyId" : {
+ "type" : "string",
+ "description" : "identity of the Policy",
+ "example" : "POLICY-ID"
+ },
+ "serviceId" : {
+ "type" : "string",
+ "description" : "the identity of the service owning the policy. This can be used to group the policies (it is possible to get all policies associated to a service). Note that the service does not need to be registered.",
+ "example" : "rApp ID"
+ },
+ "policyObject" : {
+ "$ref" : "#/components/schemas/PolicyObject"
+ },
+ "policyTypeId" : {
+ "type" : "string",
+ "description" : "identity of the policy type",
+ "example" : "ORAN_QOS_1.0.0(typeName_SemVersion)"
+ }
+ },
+ "description" : "Information related to the creation of the policy"
};
- defs["policy_info_list"] = {
- "type" : "object",
- "properties" : {
- "policies" : {
- "type" : "array",
- "description" : "List of policy information",
- "items" : {
- "$ref" : "#/components/schemas/policy_info"
- }
- }
- },
- "description" : "List of policy information"
+ defs["PolicyStatusInfo"] = {
+ "type" : "object",
+ "properties" : {
+ "lastModified" : {
+ "type" : "string",
+ "description" : "timestamp, last modification time"
+ },
+ "status" : {
+ "type" : "object",
+ "description" : "the Policy status"
+ }
+ },
+ "description" : "Status for one A1-P Policy"
};
- defs["policy_status_info"] = {
- "type" : "object",
- "properties" : {
- "last_modified" : {
- "type" : "string",
- "description" : "timestamp, last modification time"
- },
- "status" : {
- "type" : "object",
- "description" : "the Policy status"
- }
- },
- "description" : "Status for one A1-P Policy"
+ defs["PolicyTypeInformation"] = {
+ "required" : [ "nearRtRicId", "policyTypeId" ],
+ "type" : "object",
+ "properties" : {
+ "policyTypeId" : {
+ "type" : "string",
+ "description" : "Identity of the policy type"
+ },
+ "nearRtRicId" : {
+ "$ref" : "#/components/schemas/NearRtRicId"
+ }
+ },
+ "description" : "Available policy types and for each policy type identifier the Near-RT RIC identifiers of those Near-RT RICs that support the related A1 policy type"
};
- defs["policy_type_definition"] = {
- "type" : "object",
- "properties" : {
- "policy_schema" : {
- "type" : "object",
- "description" : "Policy type json schema. The schema is a json object following http://json-schema.org/draft-07/schema"
- }
- },
- "description" : "Contains policy type schema definition"
+ defs["ProblemDetails"] = {
+ "type" : "object",
+ "properties" : {
+ "type" : {
+ "type" : "string",
+ "description" : "a URI reference according to IETF RFC 3986 that identifies the problem type"
+ },
+ "title" : {
+ "type" : "string",
+ "description" : "human-readable summary of the problem type"
+ },
+ "status" : {
+ "type" : "number",
+ "description" : "the HTTP status code"
+ },
+ "detail" : {
+ "type" : "string",
+ "description" : "human-readable explanation "
+ },
+ "instance" : {
+ "type" : "string",
+ "description" : "URI reference that identifies the specific occurrence of the problem"
+ }
+ },
+ "description" : "A problem detail to carry details in an HTTP response according to RFC 7807"
};
- defs["policy_type_id_list"] = {
- "type" : "object",
- "properties" : {
- "policytype_ids" : {
- "type" : "array",
- "description" : "Policy type identities",
- "items" : {
- "type" : "string",
- "description" : "Policy type identities"
- }
- }
- },
- "description" : "Information about policy types"
+ defs["RicInfo"] = {
+ "type" : "object",
+ "properties" : {
+ "ricId" : {
+ "type" : "string",
+ "description" : "identity of the Near-RT RIC"
+ },
+ "managedElementIds" : {
+ "type" : "array",
+ "description" : "O1 identities for managed entities",
+ "items" : {
+ "type" : "string",
+ "description" : "O1 identities for managed entities"
+ }
+ },
+ "state" : {
+ "type" : "string",
+ "description" : "Represents the states for a Near-RT RIC",
+ "enum" : [ "UNAVAILABLE", "AVAILABLE", "SYNCHRONIZING", "CONSISTENCY_CHECK" ]
+ },
+ "policyTypeIds" : {
+ "type" : "array",
+ "description" : "supported policy types",
+ "items" : {
+ "type" : "string",
+ "description" : "supported policy types"
+ }
+ }
+ },
+ "description" : "Information for a Near-RT RIC"
};
- defs["ric_info"] = {
- "type" : "object",
- "properties" : {
- "ric_id" : {
- "type" : "string",
- "description" : "identity of the Near-RT RIC"
- },
- "managed_element_ids" : {
- "type" : "array",
- "description" : "O1 identities for managed entities",
- "items" : {
- "type" : "string",
- "description" : "O1 identities for managed entities"
- }
- },
- "state" : {
- "type" : "string",
- "description" : "Represents the states for a Near-RT RIC",
- "enum" : [ "UNAVAILABLE", "AVAILABLE", "SYNCHRONIZING", "CONSISTENCY_CHECK" ]
- },
- "policytype_ids" : {
- "type" : "array",
- "description" : "supported policy types",
- "items" : {
- "type" : "string",
- "description" : "supported policy types"
- }
- }
- },
- "description" : "Information for a Near-RT RIC"
+ defs["RicInfoList"] = {
+ "type" : "object",
+ "properties" : {
+ "rics" : {
+ "type" : "array",
+ "description" : "List of Near-RT RIC information",
+ "items" : {
+ "$ref" : "#/components/schemas/RicInfo"
+ }
+ }
+ },
+ "description" : "List of Near-RT RIC information"
};
- defs["ric_info_list"] = {
- "type" : "object",
- "properties" : {
- "rics" : {
- "type" : "array",
- "description" : "List of Near-RT RIC information",
- "items" : {
- "$ref" : "#/components/schemas/ric_info"
- }
- }
- },
- "description" : "List of Near-RT RIC information"
+ defs["ServiceCallbackInfo"] = {
+ "required" : [ "eventType", "ricId" ],
+ "type" : "object",
+ "properties" : {
+ "ricId" : {
+ "type" : "string",
+ "description" : "identity of a Near-RT RIC"
+ },
+ "eventType" : {
+ "type" : "string",
+ "description" : "values:\nAVAILABLE: the Near-RT RIC has become available for A1 Policy management",
+ "enum" : [ "AVAILABLE" ]
+ }
+ },
+ "description" : "Information transferred as in Service callbacks (callback_url)"
};
- defs["service_callback_info_v2"] = {
- "required" : [ "event_type", "ric_id" ],
- "type" : "object",
- "properties" : {
- "ric_id" : {
- "type" : "string",
- "description" : "identity of a Near-RT RIC"
- },
- "event_type" : {
- "type" : "string",
- "description" : "values:\nAVAILABLE: the Near-RT RIC has become available for A1 Policy management",
- "enum" : [ "AVAILABLE" ]
- }
- },
- "description" : "Information transferred as in Service callbacks (callback_url)"
+ defs["ServiceRegistrationInfo"] = {
+ "required" : [ "serviceId" ],
+ "type" : "object",
+ "properties" : {
+ "callbackUrl" : {
+ "type" : "string",
+ "description" : "callback for notifying of Near-RT RIC state changes"
+ },
+ "serviceId" : {
+ "type" : "string",
+ "description" : "identity of the service"
+ },
+ "keepAliveIntervalSeconds" : {
+ "type" : "integer",
+ "description" : "keep alive interval for the service. This is used to enable optional heartbeat supervision of the service. If set (> 0) the registered service should regularly invoke a 'keepalive' REST call. When a service fails to invoke this 'keepalive' call within the configured time, the service is considered unavailable. An unavailable service will be automatically deregistered and its policies will be deleted. Value 0 means timeout supervision is disabled.",
+ "format" : "int64"
+ }
+ },
+ "description" : "Information for one service"
};
- defs["service_registration_info"] = {
- "required" : [ "service_id" ],
- "type" : "object",
- "properties" : {
- "callback_url" : {
- "type" : "string",
- "description" : "callback for notifying of Near-RT RIC state changes"
- },
- "service_id" : {
- "type" : "string",
- "description" : "identity of the service"
- },
- "keep_alive_interval_seconds" : {
- "type" : "integer",
- "description" : "keep alive interval for the service. This is used to enable optional heartbeat supervision of the service. If set (> 0) the registered service should regularly invoke a 'keepalive' REST call. When a service fails to invoke this 'keepalive' call within the configured time, the service is considered unavailable. An unavailable service will be automatically deregistered and its policies will be deleted. Value 0 means timeout supervision is disabled.",
- "format" : "int64"
- }
- },
- "description" : "Information for one service"
+ defs["ServiceStatus"] = {
+ "type" : "object",
+ "properties" : {
+ "callbackUrl" : {
+ "type" : "string",
+ "description" : "callback for notifying of RIC synchronization"
+ },
+ "serviceId" : {
+ "type" : "string",
+ "description" : "identity of the service"
+ },
+ "keepAliveIntervalSeconds" : {
+ "type" : "integer",
+ "description" : "policy keep alive timeout",
+ "format" : "int64"
+ },
+ "timeSinceLastActivitySeconds" : {
+ "type" : "integer",
+ "description" : "time since last invocation by the service",
+ "format" : "int64"
+ }
+ }
};
- defs["service_status"] = {
- "type" : "object",
- "properties" : {
- "callback_url" : {
- "type" : "string",
- "description" : "callback for notifying of RIC synchronization"
- },
- "service_id" : {
- "type" : "string",
- "description" : "identity of the service"
- },
- "keep_alive_interval_seconds" : {
- "type" : "integer",
- "description" : "policy keep alive timeout",
- "format" : "int64"
- },
- "time_since_last_activity_seconds" : {
- "type" : "integer",
- "description" : "time since last invocation by the service",
- "format" : "int64"
- }
- }
+ defs["ServiceStatusList"] = {
+ "type" : "object",
+ "properties" : {
+ "serviceList" : {
+ "type" : "array",
+ "description" : "List of service information",
+ "items" : {
+ "$ref" : "#/components/schemas/ServiceStatus"
+ }
+ }
+ }
};
- defs["service_status_list"] = {
- "type" : "object",
- "properties" : {
- "service_list" : {
- "type" : "array",
- "description" : "List of service information",
- "items" : {
- "$ref" : "#/components/schemas/service_status"
- }
- }
- }
+ defs["StatusInfo"] = {
+ "type" : "object",
+ "properties" : {
+ "status" : {
+ "type" : "string",
+ "description" : "status text"
+ }
+ }
};
- defs["status_info"] = {
- "type" : "object",
- "properties" : {
- "status" : {
- "type" : "string",
- "description" : "status text"
- }
- }
+
+ defs["NearRtRicId"] = {
+ "type" : "string",
+ "description" : "Identity of the policy"
};
var errs = {};
@@ -1173,21 +1173,18 @@
<li class="nav-fixed nav-header active" data-group="_"><a href="#api-_">API Summary</a></li>
<li class="nav-header" data-group="A1PolicyManagement"><a href="#api-A1PolicyManagement">API Methods - A1PolicyManagement</a></li>
+ <li data-group="A1PolicyManagement" data-name="createPolicy" class="">
+ <a href="#api-A1PolicyManagement-createPolicy">createPolicy</a>
+ </li>
<li data-group="A1PolicyManagement" data-name="deletePolicy" class="">
<a href="#api-A1PolicyManagement-deletePolicy">deletePolicy</a>
</li>
+ <li data-group="A1PolicyManagement" data-name="getAllPolicies" class="">
+ <a href="#api-A1PolicyManagement-getAllPolicies">getAllPolicies</a>
+ </li>
<li data-group="A1PolicyManagement" data-name="getPolicy" class="">
<a href="#api-A1PolicyManagement-getPolicy">getPolicy</a>
</li>
- <li data-group="A1PolicyManagement" data-name="getPolicyIds" class="">
- <a href="#api-A1PolicyManagement-getPolicyIds">getPolicyIds</a>
- </li>
- <li data-group="A1PolicyManagement" data-name="getPolicyInstances" class="">
- <a href="#api-A1PolicyManagement-getPolicyInstances">getPolicyInstances</a>
- </li>
- <li data-group="A1PolicyManagement" data-name="getPolicyStatus" class="">
- <a href="#api-A1PolicyManagement-getPolicyStatus">getPolicyStatus</a>
- </li>
<li data-group="A1PolicyManagement" data-name="getPolicyTypeDefinition" class="">
<a href="#api-A1PolicyManagement-getPolicyTypeDefinition">getPolicyTypeDefinition</a>
</li>
@@ -1197,50 +1194,6 @@
<li data-group="A1PolicyManagement" data-name="putPolicy" class="">
<a href="#api-A1PolicyManagement-putPolicy">putPolicy</a>
</li>
- <li class="nav-header" data-group="Actuator"><a href="#api-Actuator">API Methods - Actuator</a></li>
- <li data-group="Actuator" data-name="health" class="">
- <a href="#api-Actuator-health">health</a>
- </li>
- <li data-group="Actuator" data-name="healthPath" class="">
- <a href="#api-Actuator-healthPath">healthPath</a>
- </li>
- <li data-group="Actuator" data-name="heapdump" class="">
- <a href="#api-Actuator-heapdump">heapdump</a>
- </li>
- <li data-group="Actuator" data-name="info" class="">
- <a href="#api-Actuator-info">info</a>
- </li>
- <li data-group="Actuator" data-name="links" class="">
- <a href="#api-Actuator-links">links</a>
- </li>
- <li data-group="Actuator" data-name="logfile" class="">
- <a href="#api-Actuator-logfile">logfile</a>
- </li>
- <li data-group="Actuator" data-name="loggers" class="">
- <a href="#api-Actuator-loggers">loggers</a>
- </li>
- <li data-group="Actuator" data-name="loggersName" class="">
- <a href="#api-Actuator-loggersName">loggersName</a>
- </li>
- <li data-group="Actuator" data-name="loggersName2" class="">
- <a href="#api-Actuator-loggersName2">loggersName2</a>
- </li>
- <li data-group="Actuator" data-name="metrics" class="">
- <a href="#api-Actuator-metrics">metrics</a>
- </li>
- <li data-group="Actuator" data-name="metricsRequiredMetricName" class="">
- <a href="#api-Actuator-metricsRequiredMetricName">metricsRequiredMetricName</a>
- </li>
- <li data-group="Actuator" data-name="shutdown" class="">
- <a href="#api-Actuator-shutdown">shutdown</a>
- </li>
- <li data-group="Actuator" data-name="threaddump" class="">
- <a href="#api-Actuator-threaddump">threaddump</a>
- </li>
- <li class="nav-header" data-group="AuthorizationAPI"><a href="#api-AuthorizationAPI">API Methods - AuthorizationAPI</a></li>
- <li data-group="AuthorizationAPI" data-name="performAccessControl" class="">
- <a href="#api-AuthorizationAPI-performAccessControl">performAccessControl</a>
- </li>
<li class="nav-header" data-group="Configuration"><a href="#api-Configuration">API Methods - Configuration</a></li>
<li data-group="Configuration" data-name="getConfiguration" class="">
<a href="#api-Configuration-getConfiguration">getConfiguration</a>
@@ -1252,9 +1205,6 @@
<li data-group="HealthCheck" data-name="getStatus" class="">
<a href="#api-HealthCheck-getStatus">getStatus</a>
</li>
- <li data-group="HealthCheck" data-name="getStatusV1" class="">
- <a href="#api-HealthCheck-getStatusV1">getStatusV1</a>
- </li>
<li class="nav-header" data-group="NearRTRICRepository"><a href="#api-NearRTRICRepository">API Methods - NearRTRICRepository</a></li>
<li data-group="NearRTRICRepository" data-name="getRic" class="">
<a href="#api-NearRTRICRepository-getRic">getRic</a>
@@ -1281,17 +1231,17 @@
<div id="content">
<div id="project">
<div class="pull-left">
- <h1>A1 Policy Management Service</h1>
+ <h1>A1 policy management API</h1>
</div>
<div class="clearfix"></div>
</div>
<div id="header">
<div id="api-_">
<h2 id="welcome-to-apidoc">API and SDK Documentation</h2>
- <div class="app-desc">Version: 1.3.0</div>
+ <div class="app-desc">Version: 1.0.0</div>
<hr>
<div id="app-description" class="app-desc">
- <h2>General</h2><p>The O-RAN Non-RT RIC Policy Management Service provides a REST API for managemecnt of A1 policies. <br/>The main tasks of the service are:</p><ul><li>A1 Policy creation, modification and deletion.</li><li>Monitoring and maintaining consistency of the SMO view of A1 policies and the Near-RT RICs</li><li>Maintaining a view of supported Near-RT RIC policy types</li><li>Supervision of using services (R-APPs). When a service is unavailable, its policies are removed.</li></ul><h2>APIs provided or defined by the service</h2><h3>A1 Policy Management</h3><p>This is an API for management of A1 Policies.</p><ul><li>A1 Policy retrieval, creation, modification and deletion.</li><li>Retrieval of supported A1 Policy types for a Near-RT RIC</li><li>Retrieval of status for existing A1 policies</li></ul><h3>Management of configuration</h3><p>API for updating and retrieval of the component configuration. Note that there other ways to maintain the configuration.</p><h3>Service callbacks</h3><p>These are endpoints that are invoked by this service. The callbacks are registered in this service at service registration.</p><h3>NearRT-RIC Repository</h3><p>This is an API that provides support for looking up a NearRT-RIC. Each A1 policy is targeted for one Near-RT RIC.</p><h3>Health Check</h3><p>API used for supervision of the PMS component.</p><h3>Service Registry and Supervision</h3><p>API used for registering services that uses PMS. Each A1 policy is optionally owned by a service. PMS can supervise each registered service by a heart-beat supervision and will automatically remove policies for unavailable services. Note that a service does not need to be registered in order to create A1 Policies. This is a feature that is optional to use.</p><h3>Authorization API</h3><p>API used for access control of A1 Policy access. If configured, an external authorization provider is requested to grant access to the A1 Policy type.</p><h3>Spring Boot Actuator</h3><p>Provides generic functions used to monitor and manage the Spring web application.</p>
+ <h2>General</h2><p>The O-RAN Non-RT RIC Policy Management Service provides a REST API for managemecnt of A1 policies. <br/>The main tasks of the service are:</p><ul><li>A1 Policy creation, modification and deletion.</li><li>Monitoring and maintaining consistency of the SMO view of A1 policies and the Near-RT RICs</li><li>Maintaining a view of supported Near-RT RIC policy types</li><li>Supervision of using services (R-APPs). When a service is unavailable, its policies are removed.</li></ul><h2>APIs provided or defined by the service</h2><h3>A1 Policy Management</h3><p>This is an API for management of A1 Policies.</p><ul><li>A1 Policy retrieval, creation, modification and deletion.</li><li>Retrieval of supported A1 Policy types for a Near-RT RIC</li><li>Retrieval of status for existing A1 policies</li></ul><h3>Management of configuration</h3><p>API for updating and retrieval of the component configuration. Note that there other ways to maintain the configuration.</p><h3>Service callbacks</h3><p>These are endpoints that are invoked by this service. The callbacks are registered in this service at service registration.</p><h3>NearRT-RIC Repository</h3><p>This is an API that provides support for looking up a NearRT-RIC. Each A1 policy is targeted for one Near-RT RIC.</p><h3>Health Check</h3><p>API used for supervision of the PMS component.</p><h3>Service Registry and Supervision</h3><p>API used for registering services that uses PMS. Each A1 policy is optionally owned by a service. PMS can supervise each registered service by a heart-beat supervision and will automatically remove policies for unavailable services. Note that a service does not need to be registered in order to create A1 Policies. This is a feature that is optional to use.</p><h3>Authorization API</h3><p>API used for access control of A1 Policy access. If configured, an external authorization provider is requested to grant access to the A1 Policy type.</p>
</div>
</div>
@@ -1299,6 +1249,1194 @@
<div id="sections">
<section id="api-A1PolicyManagement">
<h1>A1PolicyManagement</h1>
+ <div id="api-A1PolicyManagement-createPolicy">
+ <article id="api-A1PolicyManagement-createPolicy-0" data-group="User" data-name="createPolicy" data-version="0">
+ <div class="pull-left">
+ <h1>createPolicy</h1>
+ <p></p>
+ </div>
+ <div class="pull-right"></div>
+ <div class="clearfix"></div>
+ <p></p>
+ <p class="marked">To create A1 policies</p>
+ <p></p>
+ <br />
+ <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/policies</span></code></pre>
+ <p>
+ <h3>Usage and SDK Samples</h3>
+ </p>
+ <ul class="nav nav-tabs nav-tabs-examples">
+ <li class="active"><a href="#examples-A1PolicyManagement-createPolicy-0-curl">Curl</a></li>
+ <li class=""><a href="#examples-A1PolicyManagement-createPolicy-0-java">Java</a></li>
+ <li class=""><a href="#examples-A1PolicyManagement-createPolicy-0-dart">Dart</a></li>
+ <li class=""><a href="#examples-A1PolicyManagement-createPolicy-0-android">Android</a></li>
+ <!--<li class=""><a href="#examples-A1PolicyManagement-createPolicy-0-groovy">Groovy</a></li>-->
+ <li class=""><a href="#examples-A1PolicyManagement-createPolicy-0-objc">Obj-C</a></li>
+ <li class=""><a href="#examples-A1PolicyManagement-createPolicy-0-javascript">JavaScript</a></li>
+ <!--<li class=""><a href="#examples-A1PolicyManagement-createPolicy-0-angular">Angular</a></li>-->
+ <li class=""><a href="#examples-A1PolicyManagement-createPolicy-0-csharp">C#</a></li>
+ <li class=""><a href="#examples-A1PolicyManagement-createPolicy-0-php">PHP</a></li>
+ <li class=""><a href="#examples-A1PolicyManagement-createPolicy-0-perl">Perl</a></li>
+ <li class=""><a href="#examples-A1PolicyManagement-createPolicy-0-python">Python</a></li>
+ <li class=""><a href="#examples-A1PolicyManagement-createPolicy-0-rust">Rust</a></li>
+ </ul>
+
+ <div class="tab-content">
+ <div class="tab-pane active" id="examples-A1PolicyManagement-createPolicy-0-curl">
+ <pre class="prettyprint"><code class="language-bsh">curl -X POST \
+ -H "Accept: application/json,application/problem+json" \
+ -H "Content-Type: application/json" \
+ "https://example.com/a1-policy-management/v1/policies" \
+ -d '{
+ "policyId" : "POLICY-ID",
+ "nearRtRicId" : "Near-RT-Ric-ID",
+ "transient" : false,
+ "policyObject" : "{}",
+ "serviceId" : "rApp ID",
+ "policyTypeId" : "ORAN_QOS_1.0.0(typeName_SemVersion)"
+}'
+</code></pre>
+ </div>
+ <div class="tab-pane" id="examples-A1PolicyManagement-createPolicy-0-java">
+ <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
+import org.openapitools.client.auth.*;
+import org.openapitools.client.model.*;
+import org.openapitools.client.api.A1PolicyManagementApi;
+
+import java.io.File;
+import java.util.*;
+
+public class A1PolicyManagementApiExample {
+ public static void main(String[] args) {
+
+ // Create an instance of the API class
+ A1PolicyManagementApi apiInstance = new A1PolicyManagementApi();
+ PolicyObjectInformation policyObjectInformation = ; // PolicyObjectInformation |
+
+ try {
+ PolicyObjectInformation result = apiInstance.createPolicy(policyObjectInformation);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling A1PolicyManagementApi#createPolicy");
+ e.printStackTrace();
+ }
+ }
+}
+</code></pre>
+ </div>
+
+ <div class="tab-pane" id="examples-A1PolicyManagement-createPolicy-0-dart">
+ <pre class="prettyprint"><code class="language-dart">import 'package:openapi/api.dart';
+
+final api_instance = DefaultApi();
+
+final PolicyObjectInformation policyObjectInformation = new PolicyObjectInformation(); // PolicyObjectInformation |
+
+try {
+ final result = await api_instance.createPolicy(policyObjectInformation);
+ print(result);
+} catch (e) {
+ print('Exception when calling DefaultApi->createPolicy: $e\n');
+}
+
+</code></pre>
+ </div>
+
+ <div class="tab-pane" id="examples-A1PolicyManagement-createPolicy-0-android">
+ <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.A1PolicyManagementApi;
+
+public class A1PolicyManagementApiExample {
+ public static void main(String[] args) {
+ A1PolicyManagementApi apiInstance = new A1PolicyManagementApi();
+ PolicyObjectInformation policyObjectInformation = ; // PolicyObjectInformation |
+
+ try {
+ PolicyObjectInformation result = apiInstance.createPolicy(policyObjectInformation);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling A1PolicyManagementApi#createPolicy");
+ e.printStackTrace();
+ }
+ }
+}</code></pre>
+ </div>
+ <!--
+ <div class="tab-pane" id="examples-A1PolicyManagement-createPolicy-0-groovy">
+ <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
+ </div> -->
+ <div class="tab-pane" id="examples-A1PolicyManagement-createPolicy-0-objc">
+ <pre class="prettyprint"><code class="language-cpp">
+
+// Create an instance of the API class
+A1PolicyManagementApi *apiInstance = [[A1PolicyManagementApi alloc] init];
+PolicyObjectInformation *policyObjectInformation = ; //
+
+[apiInstance createPolicyWith:policyObjectInformation
+ completionHandler: ^(PolicyObjectInformation output, NSError* error) {
+ if (output) {
+ NSLog(@"%@", output);
+ }
+ if (error) {
+ NSLog(@"Error: %@", error);
+ }
+}];
+</code></pre>
+ </div>
+
+ <div class="tab-pane" id="examples-A1PolicyManagement-createPolicy-0-javascript">
+ <pre class="prettyprint"><code class="language-js">var A1PolicyManagementApi = require('a1_policy_management_api');
+
+// Create an instance of the API class
+var api = new A1PolicyManagementApi.A1PolicyManagementApi()
+var policyObjectInformation = ; // {PolicyObjectInformation}
+
+var callback = function(error, data, response) {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+};
+api.createPolicy(policyObjectInformation, callback);
+</code></pre>
+ </div>
+
+ <!--<div class="tab-pane" id="examples-A1PolicyManagement-createPolicy-0-angular">
+ <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
+ </div>-->
+ <div class="tab-pane" id="examples-A1PolicyManagement-createPolicy-0-csharp">
+ <pre class="prettyprint"><code class="language-cs">using System;
+using System.Diagnostics;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Client;
+using Org.OpenAPITools.Model;
+
+namespace Example
+{
+ public class createPolicyExample
+ {
+ public void main()
+ {
+
+ // Create an instance of the API class
+ var apiInstance = new A1PolicyManagementApi();
+ var policyObjectInformation = new PolicyObjectInformation(); // PolicyObjectInformation |
+
+ try {
+ PolicyObjectInformation result = apiInstance.createPolicy(policyObjectInformation);
+ Debug.WriteLine(result);
+ } catch (Exception e) {
+ Debug.Print("Exception when calling A1PolicyManagementApi.createPolicy: " + e.Message );
+ }
+ }
+ }
+}
+</code></pre>
+ </div>
+
+ <div class="tab-pane" id="examples-A1PolicyManagement-createPolicy-0-php">
+ <pre class="prettyprint"><code class="language-php"><?php
+require_once(__DIR__ . '/vendor/autoload.php');
+
+// Create an instance of the API class
+$api_instance = new OpenAPITools\Client\Api\A1PolicyManagementApi();
+$policyObjectInformation = ; // PolicyObjectInformation |
+
+try {
+ $result = $api_instance->createPolicy($policyObjectInformation);
+ print_r($result);
+} catch (Exception $e) {
+ echo 'Exception when calling A1PolicyManagementApi->createPolicy: ', $e->getMessage(), PHP_EOL;
+}
+?></code></pre>
+ </div>
+
+ <div class="tab-pane" id="examples-A1PolicyManagement-createPolicy-0-perl">
+ <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
+use WWW::OPenAPIClient::Configuration;
+use WWW::OPenAPIClient::A1PolicyManagementApi;
+
+# Create an instance of the API class
+my $api_instance = WWW::OPenAPIClient::A1PolicyManagementApi->new();
+my $policyObjectInformation = WWW::OPenAPIClient::Object::PolicyObjectInformation->new(); # PolicyObjectInformation |
+
+eval {
+ my $result = $api_instance->createPolicy(policyObjectInformation => $policyObjectInformation);
+ print Dumper($result);
+};
+if ($@) {
+ warn "Exception when calling A1PolicyManagementApi->createPolicy: $@\n";
+}</code></pre>
+ </div>
+
+ <div class="tab-pane" id="examples-A1PolicyManagement-createPolicy-0-python">
+ <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
+import time
+import openapi_client
+from openapi_client.rest import ApiException
+from pprint import pprint
+
+# Create an instance of the API class
+api_instance = openapi_client.A1PolicyManagementApi()
+policyObjectInformation = # PolicyObjectInformation |
+
+try:
+ api_response = api_instance.create_policy(policyObjectInformation)
+ pprint(api_response)
+except ApiException as e:
+ print("Exception when calling A1PolicyManagementApi->createPolicy: %s\n" % e)</code></pre>
+ </div>
+
+ <div class="tab-pane" id="examples-A1PolicyManagement-createPolicy-0-rust">
+ <pre class="prettyprint"><code class="language-rust">extern crate A1PolicyManagementApi;
+
+pub fn main() {
+ let policyObjectInformation = ; // PolicyObjectInformation
+
+ let mut context = A1PolicyManagementApi::Context::default();
+ let result = client.createPolicy(policyObjectInformation, &context).wait();
+
+ println!("{:?}", result);
+}
+</code></pre>
+ </div>
+ </div>
+
+ <h2>Scopes</h2>
+ <table>
+
+ </table>
+
+ <h2>Parameters</h2>
+
+
+
+ <div class="methodsubtabletitle">Body parameters</div>
+ <table id="methodsubtable">
+ <tr>
+ <th width="150px">Name</th>
+ <th>Description</th>
+ </tr>
+ <tr><td style="width:150px;">policyObjectInformation <span style="color:red;">*</span></td>
+<td>
+<p class="marked"></p>
+<script>
+$(document).ready(function() {
+ var schemaWrapper = {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/PolicyObjectInformation"
+ }
+ }
+ },
+ "required" : true
+};
+
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema,2,{isBodyParam: true});
+ var result = $('#d2e199_createPolicy_policyObjectInformation');
+ result.empty();
+ result.append(view.render());
+});
+</script>
+<div id="d2e199_createPolicy_policyObjectInformation"></div>
+</td>
+</tr>
+
+ </table>
+
+
+
+ <h2>Responses</h2>
+ <h3 id="examples-A1PolicyManagement-createPolicy-title-201"></h3>
+ <p id="examples-A1PolicyManagement-createPolicy-description-201" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement201_description = `Success case 201 created`;
+ var responseA1PolicyManagement201_description_break = responseA1PolicyManagement201_description.indexOf('\n');
+ if (responseA1PolicyManagement201_description_break == -1) {
+ $("#examples-A1PolicyManagement-createPolicy-title-201").text("Status: 201 - " + responseA1PolicyManagement201_description);
+ } else {
+ $("#examples-A1PolicyManagement-createPolicy-title-201").text("Status: 201 - " + responseA1PolicyManagement201_description.substring(0, responseA1PolicyManagement201_description_break));
+ $("#examples-A1PolicyManagement-createPolicy-description-201").html(responseA1PolicyManagement201_description.substring(responseA1PolicyManagement201_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-createPolicy-201" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-createPolicy-201-schema">Schema</a>
+ </li>
+
+
+
+ <li class="">
+ <a data-toggle="tab" href="#responses-createPolicy-201-headers">Headers</a>
+ </li>
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-createPolicy-201-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-createPolicy-201-schema">
+ <div id="responses-A1PolicyManagement-createPolicy-schema-201" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Success case 201 created",
+ "headers" : {
+ "Location" : {
+ "description" : "Contains the URI of the newly created resource",
+ "required" : true,
+ "style" : "simple",
+ "explode" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ }
+ },
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/PolicyObjectInformation"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-createPolicy-201-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-createPolicy-schema-201');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-createPolicy-201-schema-data' type='hidden' value=''></input>
+ </div>
+ <div class="tab-pane" id="responses-createPolicy-201-headers">
+ <table>
+ <tr>
+ <th width="150px">Name</th>
+ <th width="100px">Type</th>
+ <th width="100px">Format</th>
+ <th>Description</th>
+ </tr>
+ <tr>
+ <td>Location</td>
+ <td>String</td>
+ <td></td>
+ <td>Contains the URI of the newly created resource</td>
+ </tr>
+ </table>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-createPolicy-title-400"></h3>
+ <p id="examples-A1PolicyManagement-createPolicy-description-400" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement400_description = `Bad Request`;
+ var responseA1PolicyManagement400_description_break = responseA1PolicyManagement400_description.indexOf('\n');
+ if (responseA1PolicyManagement400_description_break == -1) {
+ $("#examples-A1PolicyManagement-createPolicy-title-400").text("Status: 400 - " + responseA1PolicyManagement400_description);
+ } else {
+ $("#examples-A1PolicyManagement-createPolicy-title-400").text("Status: 400 - " + responseA1PolicyManagement400_description.substring(0, responseA1PolicyManagement400_description_break));
+ $("#examples-A1PolicyManagement-createPolicy-description-400").html(responseA1PolicyManagement400_description.substring(responseA1PolicyManagement400_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-createPolicy-400" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-createPolicy-400-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-createPolicy-400-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-createPolicy-400-schema">
+ <div id="responses-A1PolicyManagement-createPolicy-schema-400" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Bad Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-createPolicy-400-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-createPolicy-schema-400');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-createPolicy-400-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-createPolicy-title-401"></h3>
+ <p id="examples-A1PolicyManagement-createPolicy-description-401" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement401_description = `Unauthorized`;
+ var responseA1PolicyManagement401_description_break = responseA1PolicyManagement401_description.indexOf('\n');
+ if (responseA1PolicyManagement401_description_break == -1) {
+ $("#examples-A1PolicyManagement-createPolicy-title-401").text("Status: 401 - " + responseA1PolicyManagement401_description);
+ } else {
+ $("#examples-A1PolicyManagement-createPolicy-title-401").text("Status: 401 - " + responseA1PolicyManagement401_description.substring(0, responseA1PolicyManagement401_description_break));
+ $("#examples-A1PolicyManagement-createPolicy-description-401").html(responseA1PolicyManagement401_description.substring(responseA1PolicyManagement401_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-createPolicy-401" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-createPolicy-401-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-createPolicy-401-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-createPolicy-401-schema">
+ <div id="responses-A1PolicyManagement-createPolicy-schema-401" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Unauthorized",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-createPolicy-401-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-createPolicy-schema-401');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-createPolicy-401-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-createPolicy-title-403"></h3>
+ <p id="examples-A1PolicyManagement-createPolicy-description-403" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement403_description = `Forbidden`;
+ var responseA1PolicyManagement403_description_break = responseA1PolicyManagement403_description.indexOf('\n');
+ if (responseA1PolicyManagement403_description_break == -1) {
+ $("#examples-A1PolicyManagement-createPolicy-title-403").text("Status: 403 - " + responseA1PolicyManagement403_description);
+ } else {
+ $("#examples-A1PolicyManagement-createPolicy-title-403").text("Status: 403 - " + responseA1PolicyManagement403_description.substring(0, responseA1PolicyManagement403_description_break));
+ $("#examples-A1PolicyManagement-createPolicy-description-403").html(responseA1PolicyManagement403_description.substring(responseA1PolicyManagement403_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-createPolicy-403" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-createPolicy-403-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-createPolicy-403-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-createPolicy-403-schema">
+ <div id="responses-A1PolicyManagement-createPolicy-schema-403" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Forbidden",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-createPolicy-403-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-createPolicy-schema-403');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-createPolicy-403-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-createPolicy-title-404"></h3>
+ <p id="examples-A1PolicyManagement-createPolicy-description-404" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement404_description = `Not Found`;
+ var responseA1PolicyManagement404_description_break = responseA1PolicyManagement404_description.indexOf('\n');
+ if (responseA1PolicyManagement404_description_break == -1) {
+ $("#examples-A1PolicyManagement-createPolicy-title-404").text("Status: 404 - " + responseA1PolicyManagement404_description);
+ } else {
+ $("#examples-A1PolicyManagement-createPolicy-title-404").text("Status: 404 - " + responseA1PolicyManagement404_description.substring(0, responseA1PolicyManagement404_description_break));
+ $("#examples-A1PolicyManagement-createPolicy-description-404").html(responseA1PolicyManagement404_description.substring(responseA1PolicyManagement404_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-createPolicy-404" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-createPolicy-404-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-createPolicy-404-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-createPolicy-404-schema">
+ <div id="responses-A1PolicyManagement-createPolicy-schema-404" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-createPolicy-404-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-createPolicy-schema-404');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-createPolicy-404-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-createPolicy-title-406"></h3>
+ <p id="examples-A1PolicyManagement-createPolicy-description-406" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement406_description = `Not Acceptable`;
+ var responseA1PolicyManagement406_description_break = responseA1PolicyManagement406_description.indexOf('\n');
+ if (responseA1PolicyManagement406_description_break == -1) {
+ $("#examples-A1PolicyManagement-createPolicy-title-406").text("Status: 406 - " + responseA1PolicyManagement406_description);
+ } else {
+ $("#examples-A1PolicyManagement-createPolicy-title-406").text("Status: 406 - " + responseA1PolicyManagement406_description.substring(0, responseA1PolicyManagement406_description_break));
+ $("#examples-A1PolicyManagement-createPolicy-description-406").html(responseA1PolicyManagement406_description.substring(responseA1PolicyManagement406_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-createPolicy-406" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-createPolicy-406-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-createPolicy-406-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-createPolicy-406-schema">
+ <div id="responses-A1PolicyManagement-createPolicy-schema-406" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Not Acceptable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-createPolicy-406-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-createPolicy-schema-406');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-createPolicy-406-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-createPolicy-title-423"></h3>
+ <p id="examples-A1PolicyManagement-createPolicy-description-423" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement423_description = `Locked - HTTP Status code which can be used when the state is Locked`;
+ var responseA1PolicyManagement423_description_break = responseA1PolicyManagement423_description.indexOf('\n');
+ if (responseA1PolicyManagement423_description_break == -1) {
+ $("#examples-A1PolicyManagement-createPolicy-title-423").text("Status: 423 - " + responseA1PolicyManagement423_description);
+ } else {
+ $("#examples-A1PolicyManagement-createPolicy-title-423").text("Status: 423 - " + responseA1PolicyManagement423_description.substring(0, responseA1PolicyManagement423_description_break));
+ $("#examples-A1PolicyManagement-createPolicy-description-423").html(responseA1PolicyManagement423_description.substring(responseA1PolicyManagement423_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-createPolicy-423" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-createPolicy-423-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-createPolicy-423-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-createPolicy-423-schema">
+ <div id="responses-A1PolicyManagement-createPolicy-schema-423" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Locked - HTTP Status code which can be used when the state is Locked",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ErrorInformation"
+ },
+ "example" : {
+ "status" : 423,
+ "title" : "Locked",
+ "detail" : "State is Locked in the provided request."
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-createPolicy-423-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-createPolicy-schema-423');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-createPolicy-423-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-createPolicy-title-429"></h3>
+ <p id="examples-A1PolicyManagement-createPolicy-description-429" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement429_description = `Too Many Request`;
+ var responseA1PolicyManagement429_description_break = responseA1PolicyManagement429_description.indexOf('\n');
+ if (responseA1PolicyManagement429_description_break == -1) {
+ $("#examples-A1PolicyManagement-createPolicy-title-429").text("Status: 429 - " + responseA1PolicyManagement429_description);
+ } else {
+ $("#examples-A1PolicyManagement-createPolicy-title-429").text("Status: 429 - " + responseA1PolicyManagement429_description.substring(0, responseA1PolicyManagement429_description_break));
+ $("#examples-A1PolicyManagement-createPolicy-description-429").html(responseA1PolicyManagement429_description.substring(responseA1PolicyManagement429_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-createPolicy-429" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-createPolicy-429-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-createPolicy-429-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-createPolicy-429-schema">
+ <div id="responses-A1PolicyManagement-createPolicy-schema-429" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Too Many Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-createPolicy-429-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-createPolicy-schema-429');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-createPolicy-429-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-createPolicy-title-500"></h3>
+ <p id="examples-A1PolicyManagement-createPolicy-description-500" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement500_description = `Internal Server Error`;
+ var responseA1PolicyManagement500_description_break = responseA1PolicyManagement500_description.indexOf('\n');
+ if (responseA1PolicyManagement500_description_break == -1) {
+ $("#examples-A1PolicyManagement-createPolicy-title-500").text("Status: 500 - " + responseA1PolicyManagement500_description);
+ } else {
+ $("#examples-A1PolicyManagement-createPolicy-title-500").text("Status: 500 - " + responseA1PolicyManagement500_description.substring(0, responseA1PolicyManagement500_description_break));
+ $("#examples-A1PolicyManagement-createPolicy-description-500").html(responseA1PolicyManagement500_description.substring(responseA1PolicyManagement500_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-createPolicy-500" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-createPolicy-500-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-createPolicy-500-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-createPolicy-500-schema">
+ <div id="responses-A1PolicyManagement-createPolicy-schema-500" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Internal Server Error",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-createPolicy-500-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-createPolicy-schema-500');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-createPolicy-500-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-createPolicy-title-502"></h3>
+ <p id="examples-A1PolicyManagement-createPolicy-description-502" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement502_description = `Bad Gateway`;
+ var responseA1PolicyManagement502_description_break = responseA1PolicyManagement502_description.indexOf('\n');
+ if (responseA1PolicyManagement502_description_break == -1) {
+ $("#examples-A1PolicyManagement-createPolicy-title-502").text("Status: 502 - " + responseA1PolicyManagement502_description);
+ } else {
+ $("#examples-A1PolicyManagement-createPolicy-title-502").text("Status: 502 - " + responseA1PolicyManagement502_description.substring(0, responseA1PolicyManagement502_description_break));
+ $("#examples-A1PolicyManagement-createPolicy-description-502").html(responseA1PolicyManagement502_description.substring(responseA1PolicyManagement502_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-createPolicy-502" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-createPolicy-502-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-createPolicy-502-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-createPolicy-502-schema">
+ <div id="responses-A1PolicyManagement-createPolicy-schema-502" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Bad Gateway",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-createPolicy-502-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-createPolicy-schema-502');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-createPolicy-502-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-createPolicy-title-503"></h3>
+ <p id="examples-A1PolicyManagement-createPolicy-description-503" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement503_description = `Service Unavailable`;
+ var responseA1PolicyManagement503_description_break = responseA1PolicyManagement503_description.indexOf('\n');
+ if (responseA1PolicyManagement503_description_break == -1) {
+ $("#examples-A1PolicyManagement-createPolicy-title-503").text("Status: 503 - " + responseA1PolicyManagement503_description);
+ } else {
+ $("#examples-A1PolicyManagement-createPolicy-title-503").text("Status: 503 - " + responseA1PolicyManagement503_description.substring(0, responseA1PolicyManagement503_description_break));
+ $("#examples-A1PolicyManagement-createPolicy-description-503").html(responseA1PolicyManagement503_description.substring(responseA1PolicyManagement503_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-createPolicy-503" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-createPolicy-503-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-createPolicy-503-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-createPolicy-503-schema">
+ <div id="responses-A1PolicyManagement-createPolicy-schema-503" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Service Unavailable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-createPolicy-503-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-createPolicy-schema-503');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-createPolicy-503-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ </article>
+ </div>
+ <hr>
<div id="api-A1PolicyManagement-deletePolicy">
<article id="api-A1PolicyManagement-deletePolicy-0" data-group="User" data-name="deletePolicy" data-version="0">
<div class="pull-left">
@@ -1308,16 +2446,17 @@
<div class="pull-right"></div>
<div class="clearfix"></div>
<p></p>
- <p class="marked">Deleting the policy using the Policy's Policy ID.</p>
+ <p class="marked">Deleting the policy using policyId.</p>
<p></p>
<br />
- <pre class="prettyprint language-html prettyprinted" data-type="delete"><code><span class="pln">/a1-policy/v2/policies/{policy_id}</span></code></pre>
+ <pre class="prettyprint language-html prettyprinted" data-type="delete"><code><span class="pln">/policies/{policyId}</span></code></pre>
<p>
<h3>Usage and SDK Samples</h3>
</p>
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="#examples-A1PolicyManagement-deletePolicy-0-curl">Curl</a></li>
<li class=""><a href="#examples-A1PolicyManagement-deletePolicy-0-java">Java</a></li>
+ <li class=""><a href="#examples-A1PolicyManagement-deletePolicy-0-dart">Dart</a></li>
<li class=""><a href="#examples-A1PolicyManagement-deletePolicy-0-android">Android</a></li>
<!--<li class=""><a href="#examples-A1PolicyManagement-deletePolicy-0-groovy">Groovy</a></li>-->
<li class=""><a href="#examples-A1PolicyManagement-deletePolicy-0-objc">Obj-C</a></li>
@@ -1333,8 +2472,8 @@
<div class="tab-content">
<div class="tab-pane active" id="examples-A1PolicyManagement-deletePolicy-0-curl">
<pre class="prettyprint"><code class="language-bsh">curl -X DELETE \
- -H "Accept: */*,application/problem+json" \
- "http://localhost/a1-policy/v2/policies/{policy_id}"
+ -H "Accept: application/problem+json" \
+ "https://example.com/a1-policy-management/v1/policies/{policyId}"
</code></pre>
</div>
<div class="tab-pane" id="examples-A1PolicyManagement-deletePolicy-0-java">
@@ -1352,10 +2491,10 @@
// Create an instance of the API class
A1PolicyManagementApi apiInstance = new A1PolicyManagementApi();
String policyId = policyId_example; // String |
+ String accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
try {
- Object result = apiInstance.deletePolicy(policyId);
- System.out.println(result);
+ apiInstance.deletePolicy(policyId, accept);
} catch (ApiException e) {
System.err.println("Exception when calling A1PolicyManagementApi#deletePolicy");
e.printStackTrace();
@@ -1365,6 +2504,24 @@
</code></pre>
</div>
+ <div class="tab-pane" id="examples-A1PolicyManagement-deletePolicy-0-dart">
+ <pre class="prettyprint"><code class="language-dart">import 'package:openapi/api.dart';
+
+final api_instance = DefaultApi();
+
+final String policyId = new String(); // String |
+final String accept = new String(); // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
+
+try {
+ final result = await api_instance.deletePolicy(policyId, accept);
+ print(result);
+} catch (e) {
+ print('Exception when calling DefaultApi->deletePolicy: $e\n');
+}
+
+</code></pre>
+ </div>
+
<div class="tab-pane" id="examples-A1PolicyManagement-deletePolicy-0-android">
<pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.A1PolicyManagementApi;
@@ -1372,10 +2529,10 @@
public static void main(String[] args) {
A1PolicyManagementApi apiInstance = new A1PolicyManagementApi();
String policyId = policyId_example; // String |
+ String accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
try {
- Object result = apiInstance.deletePolicy(policyId);
- System.out.println(result);
+ apiInstance.deletePolicy(policyId, accept);
} catch (ApiException e) {
System.err.println("Exception when calling A1PolicyManagementApi#deletePolicy");
e.printStackTrace();
@@ -1393,13 +2550,12 @@
// Create an instance of the API class
A1PolicyManagementApi *apiInstance = [[A1PolicyManagementApi alloc] init];
String *policyId = policyId_example; // (default to null)
+String *accept = application/json; // Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. (optional) (default to null)
// Delete a policy
[apiInstance deletePolicyWith:policyId
- completionHandler: ^(Object output, NSError* error) {
- if (output) {
- NSLog(@"%@", output);
- }
+ accept:accept
+ completionHandler: ^(NSError* error) {
if (error) {
NSLog(@"Error: %@", error);
}
@@ -1408,20 +2564,23 @@
</div>
<div class="tab-pane" id="examples-A1PolicyManagement-deletePolicy-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
+ <pre class="prettyprint"><code class="language-js">var A1PolicyManagementApi = require('a1_policy_management_api');
// Create an instance of the API class
-var api = new A1PolicyManagementService.A1PolicyManagementApi()
+var api = new A1PolicyManagementApi.A1PolicyManagementApi()
var policyId = policyId_example; // {String}
+var opts = {
+ 'accept': application/json // {String} Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
+};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
- console.log('API called successfully. Returned data: ' + data);
+ console.log('API called successfully.');
}
};
-api.deletePolicy(policyId, callback);
+api.deletePolicy(policyId, opts, callback);
</code></pre>
</div>
@@ -1445,11 +2604,11 @@
// Create an instance of the API class
var apiInstance = new A1PolicyManagementApi();
var policyId = policyId_example; // String | (default to null)
+ var accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. (optional) (default to null)
try {
// Delete a policy
- Object result = apiInstance.deletePolicy(policyId);
- Debug.WriteLine(result);
+ apiInstance.deletePolicy(policyId, accept);
} catch (Exception e) {
Debug.Print("Exception when calling A1PolicyManagementApi.deletePolicy: " + e.Message );
}
@@ -1466,10 +2625,10 @@
// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\A1PolicyManagementApi();
$policyId = policyId_example; // String |
+$accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
try {
- $result = $api_instance->deletePolicy($policyId);
- print_r($result);
+ $api_instance->deletePolicy($policyId, $accept);
} catch (Exception $e) {
echo 'Exception when calling A1PolicyManagementApi->deletePolicy: ', $e->getMessage(), PHP_EOL;
}
@@ -1484,10 +2643,10 @@
# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::A1PolicyManagementApi->new();
my $policyId = policyId_example; # String |
+my $accept = application/json; # String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
eval {
- my $result = $api_instance->deletePolicy(policyId => $policyId);
- print Dumper($result);
+ $api_instance->deletePolicy(policyId => $policyId, accept => $accept);
};
if ($@) {
warn "Exception when calling A1PolicyManagementApi->deletePolicy: $@\n";
@@ -1504,11 +2663,11 @@
# Create an instance of the API class
api_instance = openapi_client.A1PolicyManagementApi()
policyId = policyId_example # String | (default to null)
+accept = application/json # String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. (optional) (default to null)
try:
# Delete a policy
- api_response = api_instance.delete_policy(policyId)
- pprint(api_response)
+ api_instance.delete_policy(policyId, accept=accept)
except ApiException as e:
print("Exception when calling A1PolicyManagementApi->deletePolicy: %s\n" % e)</code></pre>
</div>
@@ -1518,9 +2677,10 @@
pub fn main() {
let policyId = policyId_example; // String
+ let accept = application/json; // String
let mut context = A1PolicyManagementApi::Context::default();
- let result = client.deletePolicy(policyId, &context).wait();
+ let result = client.deletePolicy(policyId, accept, &context).wait();
println!("{:?}", result);
}
@@ -1541,7 +2701,7 @@
<th width="150px">Name</th>
<th>Description</th>
</tr>
- <tr><td style="width:150px;">policy_id*</td>
+ <tr><td style="width:150px;">policyId*</td>
<td>
@@ -1563,28 +2723,119 @@
</table>
+ <div class="methodsubtabletitle">Header parameters</div>
+ <table id="methodsubtable">
+ <tr>
+ <th width="150px">Name</th>
+ <th>Description</th>
+ </tr>
+ <tr><td style="width:150px;">Accept</td>
+<td>
+
+
+ <div id="d2e199_deletePolicy_accept">
+ <div class="json-schema-view">
+ <div class="primitive">
+ <span class="type">
+ String
+ </span>
+
+ <div class="inner description marked">
+Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
+ </div>
+ </div>
+ </div>
+ </div>
+</td>
+</tr>
+
+ </table>
<h2>Responses</h2>
- <h3 id="examples-A1PolicyManagement-deletePolicy-title-200"></h3>
- <p id="examples-A1PolicyManagement-deletePolicy-description-200" class="marked"></p>
+ <h3 id="examples-A1PolicyManagement-deletePolicy-title-204"></h3>
+ <p id="examples-A1PolicyManagement-deletePolicy-description-204" class="marked"></p>
<script>
- var responseA1PolicyManagement200_description = `OK - Policy deleted`;
- var responseA1PolicyManagement200_description_break = responseA1PolicyManagement200_description.indexOf('\n');
- if (responseA1PolicyManagement200_description_break == -1) {
- $("#examples-A1PolicyManagement-deletePolicy-title-200").text("Status: 200 - " + responseA1PolicyManagement200_description);
+ var responseA1PolicyManagement204_description = `The created A1 policy was deleted`;
+ var responseA1PolicyManagement204_description_break = responseA1PolicyManagement204_description.indexOf('\n');
+ if (responseA1PolicyManagement204_description_break == -1) {
+ $("#examples-A1PolicyManagement-deletePolicy-title-204").text("Status: 204 - " + responseA1PolicyManagement204_description);
} else {
- $("#examples-A1PolicyManagement-deletePolicy-title-200").text("Status: 200 - " + responseA1PolicyManagement200_description.substring(0, responseA1PolicyManagement200_description_break));
- $("#examples-A1PolicyManagement-deletePolicy-description-200").html(responseA1PolicyManagement200_description.substring(responseA1PolicyManagement200_description_break));
+ $("#examples-A1PolicyManagement-deletePolicy-title-204").text("Status: 204 - " + responseA1PolicyManagement204_description.substring(0, responseA1PolicyManagement204_description_break));
+ $("#examples-A1PolicyManagement-deletePolicy-description-204").html(responseA1PolicyManagement204_description.substring(responseA1PolicyManagement204_description_break));
}
</script>
- <ul id="responses-detail-A1PolicyManagement-deletePolicy-200" class="nav nav-tabs nav-tabs-examples" >
+ <ul id="responses-detail-A1PolicyManagement-deletePolicy-204" class="nav nav-tabs nav-tabs-examples" >
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-deletePolicy-204-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-deletePolicy-204-schema">
+ <div id="responses-A1PolicyManagement-deletePolicy-schema-204" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "The created A1 policy was deleted"
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-deletePolicy-204-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-deletePolicy-schema-204');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-deletePolicy-204-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-deletePolicy-title-400"></h3>
+ <p id="examples-A1PolicyManagement-deletePolicy-description-400" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement400_description = `Bad Request`;
+ var responseA1PolicyManagement400_description_break = responseA1PolicyManagement400_description.indexOf('\n');
+ if (responseA1PolicyManagement400_description_break == -1) {
+ $("#examples-A1PolicyManagement-deletePolicy-title-400").text("Status: 400 - " + responseA1PolicyManagement400_description);
+ } else {
+ $("#examples-A1PolicyManagement-deletePolicy-title-400").text("Status: 400 - " + responseA1PolicyManagement400_description.substring(0, responseA1PolicyManagement400_description_break));
+ $("#examples-A1PolicyManagement-deletePolicy-description-400").html(responseA1PolicyManagement400_description.substring(responseA1PolicyManagement400_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-deletePolicy-400" class="nav nav-tabs nav-tabs-examples" >
<li class="active">
- <a data-toggle="tab" href="#responses-A1PolicyManagement-deletePolicy-200-schema">Schema</a>
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-deletePolicy-400-schema">Schema</a>
</li>
@@ -1593,42 +2844,284 @@
</ul>
- <div class="tab-content" id="responses-A1PolicyManagement-deletePolicy-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-A1PolicyManagement-deletePolicy-200-schema">
- <div id="responses-A1PolicyManagement-deletePolicy-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-content" id="responses-A1PolicyManagement-deletePolicy-400-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-deletePolicy-400-schema">
+ <div id="responses-A1PolicyManagement-deletePolicy-schema-400" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Bad Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-deletePolicy-400-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-deletePolicy-schema-400');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-deletePolicy-400-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-deletePolicy-title-401"></h3>
+ <p id="examples-A1PolicyManagement-deletePolicy-description-401" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement401_description = `Unauthorized`;
+ var responseA1PolicyManagement401_description_break = responseA1PolicyManagement401_description.indexOf('\n');
+ if (responseA1PolicyManagement401_description_break == -1) {
+ $("#examples-A1PolicyManagement-deletePolicy-title-401").text("Status: 401 - " + responseA1PolicyManagement401_description);
+ } else {
+ $("#examples-A1PolicyManagement-deletePolicy-title-401").text("Status: 401 - " + responseA1PolicyManagement401_description.substring(0, responseA1PolicyManagement401_description_break));
+ $("#examples-A1PolicyManagement-deletePolicy-description-401").html(responseA1PolicyManagement401_description.substring(responseA1PolicyManagement401_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-deletePolicy-401" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-deletePolicy-401-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-deletePolicy-401-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-deletePolicy-401-schema">
+ <div id="responses-A1PolicyManagement-deletePolicy-schema-401" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Unauthorized",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
});
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-A1PolicyManagement-deletePolicy-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-A1PolicyManagement-deletePolicy-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-A1PolicyManagement-deletePolicy-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-deletePolicy-401-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-deletePolicy-schema-401');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-A1PolicyManagement-deletePolicy-401-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-deletePolicy-title-403"></h3>
+ <p id="examples-A1PolicyManagement-deletePolicy-description-403" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement403_description = `Forbidden`;
+ var responseA1PolicyManagement403_description_break = responseA1PolicyManagement403_description.indexOf('\n');
+ if (responseA1PolicyManagement403_description_break == -1) {
+ $("#examples-A1PolicyManagement-deletePolicy-title-403").text("Status: 403 - " + responseA1PolicyManagement403_description);
+ } else {
+ $("#examples-A1PolicyManagement-deletePolicy-title-403").text("Status: 403 - " + responseA1PolicyManagement403_description.substring(0, responseA1PolicyManagement403_description_break));
+ $("#examples-A1PolicyManagement-deletePolicy-description-403").html(responseA1PolicyManagement403_description.substring(responseA1PolicyManagement403_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-deletePolicy-403" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-deletePolicy-403-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-deletePolicy-403-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-deletePolicy-403-schema">
+ <div id="responses-A1PolicyManagement-deletePolicy-schema-403" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Forbidden",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-deletePolicy-403-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-deletePolicy-schema-403');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-deletePolicy-403-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-deletePolicy-title-404"></h3>
+ <p id="examples-A1PolicyManagement-deletePolicy-description-404" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement404_description = `Not Found`;
+ var responseA1PolicyManagement404_description_break = responseA1PolicyManagement404_description.indexOf('\n');
+ if (responseA1PolicyManagement404_description_break == -1) {
+ $("#examples-A1PolicyManagement-deletePolicy-title-404").text("Status: 404 - " + responseA1PolicyManagement404_description);
+ } else {
+ $("#examples-A1PolicyManagement-deletePolicy-title-404").text("Status: 404 - " + responseA1PolicyManagement404_description.substring(0, responseA1PolicyManagement404_description_break));
+ $("#examples-A1PolicyManagement-deletePolicy-description-404").html(responseA1PolicyManagement404_description.substring(responseA1PolicyManagement404_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-deletePolicy-404" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-deletePolicy-404-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-deletePolicy-404-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-deletePolicy-404-schema">
+ <div id="responses-A1PolicyManagement-deletePolicy-schema-404" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-deletePolicy-404-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-deletePolicy-schema-404');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-deletePolicy-404-schema-data' type='hidden' value=''></input>
+ </div>
</div>
<h3 id="examples-A1PolicyManagement-deletePolicy-title-423"></h3>
<p id="examples-A1PolicyManagement-deletePolicy-description-423" class="marked"></p>
@@ -1656,41 +3149,1550 @@
<div class="tab-content" id="responses-A1PolicyManagement-deletePolicy-423-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-A1PolicyManagement-deletePolicy-423-schema">
- <div id="responses-A1PolicyManagement-deletePolicy-schema-423" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-A1PolicyManagement-deletePolicy-423-schema">
+ <div id="responses-A1PolicyManagement-deletePolicy-schema-423" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Locked - HTTP Status code which can be used when the state is Locked",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ErrorInformation"
+ },
+ "example" : {
+ "status" : 423,
+ "title" : "Locked",
+ "detail" : "State is Locked in the provided request."
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-deletePolicy-423-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-deletePolicy-schema-423');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-deletePolicy-423-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-deletePolicy-title-429"></h3>
+ <p id="examples-A1PolicyManagement-deletePolicy-description-429" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement429_description = `Too Many Request`;
+ var responseA1PolicyManagement429_description_break = responseA1PolicyManagement429_description.indexOf('\n');
+ if (responseA1PolicyManagement429_description_break == -1) {
+ $("#examples-A1PolicyManagement-deletePolicy-title-429").text("Status: 429 - " + responseA1PolicyManagement429_description);
+ } else {
+ $("#examples-A1PolicyManagement-deletePolicy-title-429").text("Status: 429 - " + responseA1PolicyManagement429_description.substring(0, responseA1PolicyManagement429_description_break));
+ $("#examples-A1PolicyManagement-deletePolicy-description-429").html(responseA1PolicyManagement429_description.substring(responseA1PolicyManagement429_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-deletePolicy-429" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-deletePolicy-429-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-deletePolicy-429-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-deletePolicy-429-schema">
+ <div id="responses-A1PolicyManagement-deletePolicy-schema-429" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Too Many Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
});
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-A1PolicyManagement-deletePolicy-423-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-A1PolicyManagement-deletePolicy-schema-423');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-A1PolicyManagement-deletePolicy-423-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-deletePolicy-429-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-deletePolicy-schema-429');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-A1PolicyManagement-deletePolicy-429-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-deletePolicy-title-500"></h3>
+ <p id="examples-A1PolicyManagement-deletePolicy-description-500" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement500_description = `Internal Server Error`;
+ var responseA1PolicyManagement500_description_break = responseA1PolicyManagement500_description.indexOf('\n');
+ if (responseA1PolicyManagement500_description_break == -1) {
+ $("#examples-A1PolicyManagement-deletePolicy-title-500").text("Status: 500 - " + responseA1PolicyManagement500_description);
+ } else {
+ $("#examples-A1PolicyManagement-deletePolicy-title-500").text("Status: 500 - " + responseA1PolicyManagement500_description.substring(0, responseA1PolicyManagement500_description_break));
+ $("#examples-A1PolicyManagement-deletePolicy-description-500").html(responseA1PolicyManagement500_description.substring(responseA1PolicyManagement500_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-deletePolicy-500" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-deletePolicy-500-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-deletePolicy-500-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-deletePolicy-500-schema">
+ <div id="responses-A1PolicyManagement-deletePolicy-schema-500" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Internal Server Error",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-deletePolicy-500-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-deletePolicy-schema-500');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-deletePolicy-500-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-deletePolicy-title-502"></h3>
+ <p id="examples-A1PolicyManagement-deletePolicy-description-502" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement502_description = `Bad Gateway`;
+ var responseA1PolicyManagement502_description_break = responseA1PolicyManagement502_description.indexOf('\n');
+ if (responseA1PolicyManagement502_description_break == -1) {
+ $("#examples-A1PolicyManagement-deletePolicy-title-502").text("Status: 502 - " + responseA1PolicyManagement502_description);
+ } else {
+ $("#examples-A1PolicyManagement-deletePolicy-title-502").text("Status: 502 - " + responseA1PolicyManagement502_description.substring(0, responseA1PolicyManagement502_description_break));
+ $("#examples-A1PolicyManagement-deletePolicy-description-502").html(responseA1PolicyManagement502_description.substring(responseA1PolicyManagement502_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-deletePolicy-502" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-deletePolicy-502-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-deletePolicy-502-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-deletePolicy-502-schema">
+ <div id="responses-A1PolicyManagement-deletePolicy-schema-502" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Bad Gateway",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-deletePolicy-502-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-deletePolicy-schema-502');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-deletePolicy-502-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-deletePolicy-title-503"></h3>
+ <p id="examples-A1PolicyManagement-deletePolicy-description-503" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement503_description = `Service Unavailable`;
+ var responseA1PolicyManagement503_description_break = responseA1PolicyManagement503_description.indexOf('\n');
+ if (responseA1PolicyManagement503_description_break == -1) {
+ $("#examples-A1PolicyManagement-deletePolicy-title-503").text("Status: 503 - " + responseA1PolicyManagement503_description);
+ } else {
+ $("#examples-A1PolicyManagement-deletePolicy-title-503").text("Status: 503 - " + responseA1PolicyManagement503_description.substring(0, responseA1PolicyManagement503_description_break));
+ $("#examples-A1PolicyManagement-deletePolicy-description-503").html(responseA1PolicyManagement503_description.substring(responseA1PolicyManagement503_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-deletePolicy-503" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-deletePolicy-503-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-deletePolicy-503-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-deletePolicy-503-schema">
+ <div id="responses-A1PolicyManagement-deletePolicy-schema-503" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Service Unavailable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-deletePolicy-503-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-deletePolicy-schema-503');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-deletePolicy-503-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ </article>
+ </div>
+ <hr>
+ <div id="api-A1PolicyManagement-getAllPolicies">
+ <article id="api-A1PolicyManagement-getAllPolicies-0" data-group="User" data-name="getAllPolicies" data-version="0">
+ <div class="pull-left">
+ <h1>getAllPolicies</h1>
+ <p>Query policy identities</p>
+ </div>
+ <div class="pull-right"></div>
+ <div class="clearfix"></div>
+ <p></p>
+ <p class="marked">Returns a list of A1 policies matching given search criteria. <br>If several query parameters are defined, the policies matching all conditions are returned.</p>
+ <p></p>
+ <br />
+ <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/policies</span></code></pre>
+ <p>
+ <h3>Usage and SDK Samples</h3>
+ </p>
+ <ul class="nav nav-tabs nav-tabs-examples">
+ <li class="active"><a href="#examples-A1PolicyManagement-getAllPolicies-0-curl">Curl</a></li>
+ <li class=""><a href="#examples-A1PolicyManagement-getAllPolicies-0-java">Java</a></li>
+ <li class=""><a href="#examples-A1PolicyManagement-getAllPolicies-0-dart">Dart</a></li>
+ <li class=""><a href="#examples-A1PolicyManagement-getAllPolicies-0-android">Android</a></li>
+ <!--<li class=""><a href="#examples-A1PolicyManagement-getAllPolicies-0-groovy">Groovy</a></li>-->
+ <li class=""><a href="#examples-A1PolicyManagement-getAllPolicies-0-objc">Obj-C</a></li>
+ <li class=""><a href="#examples-A1PolicyManagement-getAllPolicies-0-javascript">JavaScript</a></li>
+ <!--<li class=""><a href="#examples-A1PolicyManagement-getAllPolicies-0-angular">Angular</a></li>-->
+ <li class=""><a href="#examples-A1PolicyManagement-getAllPolicies-0-csharp">C#</a></li>
+ <li class=""><a href="#examples-A1PolicyManagement-getAllPolicies-0-php">PHP</a></li>
+ <li class=""><a href="#examples-A1PolicyManagement-getAllPolicies-0-perl">Perl</a></li>
+ <li class=""><a href="#examples-A1PolicyManagement-getAllPolicies-0-python">Python</a></li>
+ <li class=""><a href="#examples-A1PolicyManagement-getAllPolicies-0-rust">Rust</a></li>
+ </ul>
+
+ <div class="tab-content">
+ <div class="tab-pane active" id="examples-A1PolicyManagement-getAllPolicies-0-curl">
+ <pre class="prettyprint"><code class="language-bsh">curl -X GET \
+ -H "Accept: application/json,application/problem+json" \
+ "https://example.com/a1-policy-management/v1/policies?policyTypeId=policyTypeId_example&nearRtRicId=nearRtRicId_example&serviceId=serviceId_example&typeName=typeName_example"
+</code></pre>
+ </div>
+ <div class="tab-pane" id="examples-A1PolicyManagement-getAllPolicies-0-java">
+ <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
+import org.openapitools.client.auth.*;
+import org.openapitools.client.model.*;
+import org.openapitools.client.api.A1PolicyManagementApi;
+
+import java.io.File;
+import java.util.*;
+
+public class A1PolicyManagementApiExample {
+ public static void main(String[] args) {
+
+ // Create an instance of the API class
+ A1PolicyManagementApi apiInstance = new A1PolicyManagementApi();
+ String policyTypeId = policyTypeId_example; // String | Select policies of a given policy type identity.
+ String nearRtRicId = nearRtRicId_example; // String | Select policies of a given Near-RT RIC identity.
+ String serviceId = serviceId_example; // String | Select policies owned by a given service.
+ String typeName = typeName_example; // String | Select policies of types with the given type name (type identity has the format <typename_version>)
+ String accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
+
+ try {
+ array[PolicyInformation] result = apiInstance.getAllPolicies(policyTypeId, nearRtRicId, serviceId, typeName, accept);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling A1PolicyManagementApi#getAllPolicies");
+ e.printStackTrace();
+ }
+ }
+}
+</code></pre>
+ </div>
+
+ <div class="tab-pane" id="examples-A1PolicyManagement-getAllPolicies-0-dart">
+ <pre class="prettyprint"><code class="language-dart">import 'package:openapi/api.dart';
+
+final api_instance = DefaultApi();
+
+final String policyTypeId = new String(); // String | Select policies of a given policy type identity.
+final String nearRtRicId = new String(); // String | Select policies of a given Near-RT RIC identity.
+final String serviceId = new String(); // String | Select policies owned by a given service.
+final String typeName = new String(); // String | Select policies of types with the given type name (type identity has the format <typename_version>)
+final String accept = new String(); // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
+
+try {
+ final result = await api_instance.getAllPolicies(policyTypeId, nearRtRicId, serviceId, typeName, accept);
+ print(result);
+} catch (e) {
+ print('Exception when calling DefaultApi->getAllPolicies: $e\n');
+}
+
+</code></pre>
+ </div>
+
+ <div class="tab-pane" id="examples-A1PolicyManagement-getAllPolicies-0-android">
+ <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.A1PolicyManagementApi;
+
+public class A1PolicyManagementApiExample {
+ public static void main(String[] args) {
+ A1PolicyManagementApi apiInstance = new A1PolicyManagementApi();
+ String policyTypeId = policyTypeId_example; // String | Select policies of a given policy type identity.
+ String nearRtRicId = nearRtRicId_example; // String | Select policies of a given Near-RT RIC identity.
+ String serviceId = serviceId_example; // String | Select policies owned by a given service.
+ String typeName = typeName_example; // String | Select policies of types with the given type name (type identity has the format <typename_version>)
+ String accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
+
+ try {
+ array[PolicyInformation] result = apiInstance.getAllPolicies(policyTypeId, nearRtRicId, serviceId, typeName, accept);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling A1PolicyManagementApi#getAllPolicies");
+ e.printStackTrace();
+ }
+ }
+}</code></pre>
+ </div>
+ <!--
+ <div class="tab-pane" id="examples-A1PolicyManagement-getAllPolicies-0-groovy">
+ <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
+ </div> -->
+ <div class="tab-pane" id="examples-A1PolicyManagement-getAllPolicies-0-objc">
+ <pre class="prettyprint"><code class="language-cpp">
+
+// Create an instance of the API class
+A1PolicyManagementApi *apiInstance = [[A1PolicyManagementApi alloc] init];
+String *policyTypeId = policyTypeId_example; // Select policies of a given policy type identity. (optional) (default to null)
+String *nearRtRicId = nearRtRicId_example; // Select policies of a given Near-RT RIC identity. (optional) (default to null)
+String *serviceId = serviceId_example; // Select policies owned by a given service. (optional) (default to null)
+String *typeName = typeName_example; // Select policies of types with the given type name (type identity has the format <typename_version>) (optional) (default to null)
+String *accept = application/json; // Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. (optional) (default to null)
+
+// Query policy identities
+[apiInstance getAllPoliciesWith:policyTypeId
+ nearRtRicId:nearRtRicId
+ serviceId:serviceId
+ typeName:typeName
+ accept:accept
+ completionHandler: ^(array[PolicyInformation] output, NSError* error) {
+ if (output) {
+ NSLog(@"%@", output);
+ }
+ if (error) {
+ NSLog(@"Error: %@", error);
+ }
+}];
+</code></pre>
+ </div>
+
+ <div class="tab-pane" id="examples-A1PolicyManagement-getAllPolicies-0-javascript">
+ <pre class="prettyprint"><code class="language-js">var A1PolicyManagementApi = require('a1_policy_management_api');
+
+// Create an instance of the API class
+var api = new A1PolicyManagementApi.A1PolicyManagementApi()
+var opts = {
+ 'policyTypeId': policyTypeId_example, // {String} Select policies of a given policy type identity.
+ 'nearRtRicId': nearRtRicId_example, // {String} Select policies of a given Near-RT RIC identity.
+ 'serviceId': serviceId_example, // {String} Select policies owned by a given service.
+ 'typeName': typeName_example, // {String} Select policies of types with the given type name (type identity has the format <typename_version>)
+ 'accept': application/json // {String} Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
+};
+
+var callback = function(error, data, response) {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+};
+api.getAllPolicies(opts, callback);
+</code></pre>
+ </div>
+
+ <!--<div class="tab-pane" id="examples-A1PolicyManagement-getAllPolicies-0-angular">
+ <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
+ </div>-->
+ <div class="tab-pane" id="examples-A1PolicyManagement-getAllPolicies-0-csharp">
+ <pre class="prettyprint"><code class="language-cs">using System;
+using System.Diagnostics;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Client;
+using Org.OpenAPITools.Model;
+
+namespace Example
+{
+ public class getAllPoliciesExample
+ {
+ public void main()
+ {
+
+ // Create an instance of the API class
+ var apiInstance = new A1PolicyManagementApi();
+ var policyTypeId = policyTypeId_example; // String | Select policies of a given policy type identity. (optional) (default to null)
+ var nearRtRicId = nearRtRicId_example; // String | Select policies of a given Near-RT RIC identity. (optional) (default to null)
+ var serviceId = serviceId_example; // String | Select policies owned by a given service. (optional) (default to null)
+ var typeName = typeName_example; // String | Select policies of types with the given type name (type identity has the format <typename_version>) (optional) (default to null)
+ var accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. (optional) (default to null)
+
+ try {
+ // Query policy identities
+ array[PolicyInformation] result = apiInstance.getAllPolicies(policyTypeId, nearRtRicId, serviceId, typeName, accept);
+ Debug.WriteLine(result);
+ } catch (Exception e) {
+ Debug.Print("Exception when calling A1PolicyManagementApi.getAllPolicies: " + e.Message );
+ }
+ }
+ }
+}
+</code></pre>
+ </div>
+
+ <div class="tab-pane" id="examples-A1PolicyManagement-getAllPolicies-0-php">
+ <pre class="prettyprint"><code class="language-php"><?php
+require_once(__DIR__ . '/vendor/autoload.php');
+
+// Create an instance of the API class
+$api_instance = new OpenAPITools\Client\Api\A1PolicyManagementApi();
+$policyTypeId = policyTypeId_example; // String | Select policies of a given policy type identity.
+$nearRtRicId = nearRtRicId_example; // String | Select policies of a given Near-RT RIC identity.
+$serviceId = serviceId_example; // String | Select policies owned by a given service.
+$typeName = typeName_example; // String | Select policies of types with the given type name (type identity has the format <typename_version>)
+$accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
+
+try {
+ $result = $api_instance->getAllPolicies($policyTypeId, $nearRtRicId, $serviceId, $typeName, $accept);
+ print_r($result);
+} catch (Exception $e) {
+ echo 'Exception when calling A1PolicyManagementApi->getAllPolicies: ', $e->getMessage(), PHP_EOL;
+}
+?></code></pre>
+ </div>
+
+ <div class="tab-pane" id="examples-A1PolicyManagement-getAllPolicies-0-perl">
+ <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
+use WWW::OPenAPIClient::Configuration;
+use WWW::OPenAPIClient::A1PolicyManagementApi;
+
+# Create an instance of the API class
+my $api_instance = WWW::OPenAPIClient::A1PolicyManagementApi->new();
+my $policyTypeId = policyTypeId_example; # String | Select policies of a given policy type identity.
+my $nearRtRicId = nearRtRicId_example; # String | Select policies of a given Near-RT RIC identity.
+my $serviceId = serviceId_example; # String | Select policies owned by a given service.
+my $typeName = typeName_example; # String | Select policies of types with the given type name (type identity has the format <typename_version>)
+my $accept = application/json; # String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
+
+eval {
+ my $result = $api_instance->getAllPolicies(policyTypeId => $policyTypeId, nearRtRicId => $nearRtRicId, serviceId => $serviceId, typeName => $typeName, accept => $accept);
+ print Dumper($result);
+};
+if ($@) {
+ warn "Exception when calling A1PolicyManagementApi->getAllPolicies: $@\n";
+}</code></pre>
+ </div>
+
+ <div class="tab-pane" id="examples-A1PolicyManagement-getAllPolicies-0-python">
+ <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
+import time
+import openapi_client
+from openapi_client.rest import ApiException
+from pprint import pprint
+
+# Create an instance of the API class
+api_instance = openapi_client.A1PolicyManagementApi()
+policyTypeId = policyTypeId_example # String | Select policies of a given policy type identity. (optional) (default to null)
+nearRtRicId = nearRtRicId_example # String | Select policies of a given Near-RT RIC identity. (optional) (default to null)
+serviceId = serviceId_example # String | Select policies owned by a given service. (optional) (default to null)
+typeName = typeName_example # String | Select policies of types with the given type name (type identity has the format <typename_version>) (optional) (default to null)
+accept = application/json # String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. (optional) (default to null)
+
+try:
+ # Query policy identities
+ api_response = api_instance.get_all_policies(policyTypeId=policyTypeId, nearRtRicId=nearRtRicId, serviceId=serviceId, typeName=typeName, accept=accept)
+ pprint(api_response)
+except ApiException as e:
+ print("Exception when calling A1PolicyManagementApi->getAllPolicies: %s\n" % e)</code></pre>
+ </div>
+
+ <div class="tab-pane" id="examples-A1PolicyManagement-getAllPolicies-0-rust">
+ <pre class="prettyprint"><code class="language-rust">extern crate A1PolicyManagementApi;
+
+pub fn main() {
+ let policyTypeId = policyTypeId_example; // String
+ let nearRtRicId = nearRtRicId_example; // String
+ let serviceId = serviceId_example; // String
+ let typeName = typeName_example; // String
+ let accept = application/json; // String
+
+ let mut context = A1PolicyManagementApi::Context::default();
+ let result = client.getAllPolicies(policyTypeId, nearRtRicId, serviceId, typeName, accept, &context).wait();
+
+ println!("{:?}", result);
+}
+</code></pre>
+ </div>
+ </div>
+
+ <h2>Scopes</h2>
+ <table>
+
+ </table>
+
+ <h2>Parameters</h2>
+
+
+ <div class="methodsubtabletitle">Header parameters</div>
+ <table id="methodsubtable">
+ <tr>
+ <th width="150px">Name</th>
+ <th>Description</th>
+ </tr>
+ <tr><td style="width:150px;">Accept</td>
+<td>
+
+
+ <div id="d2e199_getAllPolicies_accept">
+ <div class="json-schema-view">
+ <div class="primitive">
+ <span class="type">
+ String
+ </span>
+
+ <div class="inner description marked">
+Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
+ </div>
+ </div>
+ </div>
+ </div>
+</td>
+</tr>
+
+ </table>
+
+
+
+ <div class="methodsubtabletitle">Query parameters</div>
+ <table id="methodsubtable">
+ <tr>
+ <th width="150px">Name</th>
+ <th>Description</th>
+ </tr>
+ <tr><td style="width:150px;">policyTypeId</td>
+<td>
+
+
+ <div id="d2e199_getAllPolicies_policyTypeId">
+ <div class="json-schema-view">
+ <div class="primitive">
+ <span class="type">
+ String
+ </span>
+
+ <div class="inner description marked">
+Select policies of a given policy type identity.
+ </div>
+ </div>
+ </div>
+ </div>
+</td>
+</tr>
+
+ <tr><td style="width:150px;">nearRtRicId</td>
+<td>
+
+
+ <div id="d2e199_getAllPolicies_nearRtRicId">
+ <div class="json-schema-view">
+ <div class="primitive">
+ <span class="type">
+ String
+ </span>
+
+ <div class="inner description marked">
+Select policies of a given Near-RT RIC identity.
+ </div>
+ </div>
+ </div>
+ </div>
+</td>
+</tr>
+
+ <tr><td style="width:150px;">serviceId</td>
+<td>
+
+
+ <div id="d2e199_getAllPolicies_serviceId">
+ <div class="json-schema-view">
+ <div class="primitive">
+ <span class="type">
+ String
+ </span>
+
+ <div class="inner description marked">
+Select policies owned by a given service.
+ </div>
+ </div>
+ </div>
+ </div>
+</td>
+</tr>
+
+ <tr><td style="width:150px;">typeName</td>
+<td>
+
+
+ <div id="d2e199_getAllPolicies_typeName">
+ <div class="json-schema-view">
+ <div class="primitive">
+ <span class="type">
+ String
+ </span>
+
+ <div class="inner description marked">
+Select policies of types with the given type name (type identity has the format <typename_version>)
+ </div>
+ </div>
+ </div>
+ </div>
+</td>
+</tr>
+
+ </table>
+
+ <h2>Responses</h2>
+ <h3 id="examples-A1PolicyManagement-getAllPolicies-title-200"></h3>
+ <p id="examples-A1PolicyManagement-getAllPolicies-description-200" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement200_description = `OK - Policy identities`;
+ var responseA1PolicyManagement200_description_break = responseA1PolicyManagement200_description.indexOf('\n');
+ if (responseA1PolicyManagement200_description_break == -1) {
+ $("#examples-A1PolicyManagement-getAllPolicies-title-200").text("Status: 200 - " + responseA1PolicyManagement200_description);
+ } else {
+ $("#examples-A1PolicyManagement-getAllPolicies-title-200").text("Status: 200 - " + responseA1PolicyManagement200_description.substring(0, responseA1PolicyManagement200_description_break));
+ $("#examples-A1PolicyManagement-getAllPolicies-description-200").html(responseA1PolicyManagement200_description.substring(responseA1PolicyManagement200_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-getAllPolicies-200" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getAllPolicies-200-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-getAllPolicies-200-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getAllPolicies-200-schema">
+ <div id="responses-A1PolicyManagement-getAllPolicies-schema-200" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "OK - Policy identities",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/PolicyInformation"
+ }
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getAllPolicies-200-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getAllPolicies-schema-200');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getAllPolicies-200-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-getAllPolicies-title-400"></h3>
+ <p id="examples-A1PolicyManagement-getAllPolicies-description-400" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement400_description = `Bad Request`;
+ var responseA1PolicyManagement400_description_break = responseA1PolicyManagement400_description.indexOf('\n');
+ if (responseA1PolicyManagement400_description_break == -1) {
+ $("#examples-A1PolicyManagement-getAllPolicies-title-400").text("Status: 400 - " + responseA1PolicyManagement400_description);
+ } else {
+ $("#examples-A1PolicyManagement-getAllPolicies-title-400").text("Status: 400 - " + responseA1PolicyManagement400_description.substring(0, responseA1PolicyManagement400_description_break));
+ $("#examples-A1PolicyManagement-getAllPolicies-description-400").html(responseA1PolicyManagement400_description.substring(responseA1PolicyManagement400_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-getAllPolicies-400" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getAllPolicies-400-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-getAllPolicies-400-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getAllPolicies-400-schema">
+ <div id="responses-A1PolicyManagement-getAllPolicies-schema-400" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Bad Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getAllPolicies-400-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getAllPolicies-schema-400');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getAllPolicies-400-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-getAllPolicies-title-401"></h3>
+ <p id="examples-A1PolicyManagement-getAllPolicies-description-401" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement401_description = `Unauthorized`;
+ var responseA1PolicyManagement401_description_break = responseA1PolicyManagement401_description.indexOf('\n');
+ if (responseA1PolicyManagement401_description_break == -1) {
+ $("#examples-A1PolicyManagement-getAllPolicies-title-401").text("Status: 401 - " + responseA1PolicyManagement401_description);
+ } else {
+ $("#examples-A1PolicyManagement-getAllPolicies-title-401").text("Status: 401 - " + responseA1PolicyManagement401_description.substring(0, responseA1PolicyManagement401_description_break));
+ $("#examples-A1PolicyManagement-getAllPolicies-description-401").html(responseA1PolicyManagement401_description.substring(responseA1PolicyManagement401_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-getAllPolicies-401" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getAllPolicies-401-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-getAllPolicies-401-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getAllPolicies-401-schema">
+ <div id="responses-A1PolicyManagement-getAllPolicies-schema-401" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Unauthorized",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getAllPolicies-401-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getAllPolicies-schema-401');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getAllPolicies-401-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-getAllPolicies-title-403"></h3>
+ <p id="examples-A1PolicyManagement-getAllPolicies-description-403" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement403_description = `Forbidden`;
+ var responseA1PolicyManagement403_description_break = responseA1PolicyManagement403_description.indexOf('\n');
+ if (responseA1PolicyManagement403_description_break == -1) {
+ $("#examples-A1PolicyManagement-getAllPolicies-title-403").text("Status: 403 - " + responseA1PolicyManagement403_description);
+ } else {
+ $("#examples-A1PolicyManagement-getAllPolicies-title-403").text("Status: 403 - " + responseA1PolicyManagement403_description.substring(0, responseA1PolicyManagement403_description_break));
+ $("#examples-A1PolicyManagement-getAllPolicies-description-403").html(responseA1PolicyManagement403_description.substring(responseA1PolicyManagement403_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-getAllPolicies-403" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getAllPolicies-403-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-getAllPolicies-403-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getAllPolicies-403-schema">
+ <div id="responses-A1PolicyManagement-getAllPolicies-schema-403" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Forbidden",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getAllPolicies-403-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getAllPolicies-schema-403');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getAllPolicies-403-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-getAllPolicies-title-404"></h3>
+ <p id="examples-A1PolicyManagement-getAllPolicies-description-404" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement404_description = `Not Found`;
+ var responseA1PolicyManagement404_description_break = responseA1PolicyManagement404_description.indexOf('\n');
+ if (responseA1PolicyManagement404_description_break == -1) {
+ $("#examples-A1PolicyManagement-getAllPolicies-title-404").text("Status: 404 - " + responseA1PolicyManagement404_description);
+ } else {
+ $("#examples-A1PolicyManagement-getAllPolicies-title-404").text("Status: 404 - " + responseA1PolicyManagement404_description.substring(0, responseA1PolicyManagement404_description_break));
+ $("#examples-A1PolicyManagement-getAllPolicies-description-404").html(responseA1PolicyManagement404_description.substring(responseA1PolicyManagement404_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-getAllPolicies-404" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getAllPolicies-404-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-getAllPolicies-404-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getAllPolicies-404-schema">
+ <div id="responses-A1PolicyManagement-getAllPolicies-schema-404" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getAllPolicies-404-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getAllPolicies-schema-404');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getAllPolicies-404-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-getAllPolicies-title-406"></h3>
+ <p id="examples-A1PolicyManagement-getAllPolicies-description-406" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement406_description = `Not Acceptable`;
+ var responseA1PolicyManagement406_description_break = responseA1PolicyManagement406_description.indexOf('\n');
+ if (responseA1PolicyManagement406_description_break == -1) {
+ $("#examples-A1PolicyManagement-getAllPolicies-title-406").text("Status: 406 - " + responseA1PolicyManagement406_description);
+ } else {
+ $("#examples-A1PolicyManagement-getAllPolicies-title-406").text("Status: 406 - " + responseA1PolicyManagement406_description.substring(0, responseA1PolicyManagement406_description_break));
+ $("#examples-A1PolicyManagement-getAllPolicies-description-406").html(responseA1PolicyManagement406_description.substring(responseA1PolicyManagement406_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-getAllPolicies-406" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getAllPolicies-406-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-getAllPolicies-406-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getAllPolicies-406-schema">
+ <div id="responses-A1PolicyManagement-getAllPolicies-schema-406" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Not Acceptable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getAllPolicies-406-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getAllPolicies-schema-406');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getAllPolicies-406-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-getAllPolicies-title-429"></h3>
+ <p id="examples-A1PolicyManagement-getAllPolicies-description-429" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement429_description = `Too Many Request`;
+ var responseA1PolicyManagement429_description_break = responseA1PolicyManagement429_description.indexOf('\n');
+ if (responseA1PolicyManagement429_description_break == -1) {
+ $("#examples-A1PolicyManagement-getAllPolicies-title-429").text("Status: 429 - " + responseA1PolicyManagement429_description);
+ } else {
+ $("#examples-A1PolicyManagement-getAllPolicies-title-429").text("Status: 429 - " + responseA1PolicyManagement429_description.substring(0, responseA1PolicyManagement429_description_break));
+ $("#examples-A1PolicyManagement-getAllPolicies-description-429").html(responseA1PolicyManagement429_description.substring(responseA1PolicyManagement429_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-getAllPolicies-429" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getAllPolicies-429-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-getAllPolicies-429-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getAllPolicies-429-schema">
+ <div id="responses-A1PolicyManagement-getAllPolicies-schema-429" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Too Many Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getAllPolicies-429-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getAllPolicies-schema-429');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getAllPolicies-429-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-getAllPolicies-title-500"></h3>
+ <p id="examples-A1PolicyManagement-getAllPolicies-description-500" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement500_description = `Internal Server Error`;
+ var responseA1PolicyManagement500_description_break = responseA1PolicyManagement500_description.indexOf('\n');
+ if (responseA1PolicyManagement500_description_break == -1) {
+ $("#examples-A1PolicyManagement-getAllPolicies-title-500").text("Status: 500 - " + responseA1PolicyManagement500_description);
+ } else {
+ $("#examples-A1PolicyManagement-getAllPolicies-title-500").text("Status: 500 - " + responseA1PolicyManagement500_description.substring(0, responseA1PolicyManagement500_description_break));
+ $("#examples-A1PolicyManagement-getAllPolicies-description-500").html(responseA1PolicyManagement500_description.substring(responseA1PolicyManagement500_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-getAllPolicies-500" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getAllPolicies-500-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-getAllPolicies-500-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getAllPolicies-500-schema">
+ <div id="responses-A1PolicyManagement-getAllPolicies-schema-500" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Internal Server Error",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getAllPolicies-500-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getAllPolicies-schema-500');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getAllPolicies-500-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-getAllPolicies-title-502"></h3>
+ <p id="examples-A1PolicyManagement-getAllPolicies-description-502" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement502_description = `Bad Gateway`;
+ var responseA1PolicyManagement502_description_break = responseA1PolicyManagement502_description.indexOf('\n');
+ if (responseA1PolicyManagement502_description_break == -1) {
+ $("#examples-A1PolicyManagement-getAllPolicies-title-502").text("Status: 502 - " + responseA1PolicyManagement502_description);
+ } else {
+ $("#examples-A1PolicyManagement-getAllPolicies-title-502").text("Status: 502 - " + responseA1PolicyManagement502_description.substring(0, responseA1PolicyManagement502_description_break));
+ $("#examples-A1PolicyManagement-getAllPolicies-description-502").html(responseA1PolicyManagement502_description.substring(responseA1PolicyManagement502_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-getAllPolicies-502" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getAllPolicies-502-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-getAllPolicies-502-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getAllPolicies-502-schema">
+ <div id="responses-A1PolicyManagement-getAllPolicies-schema-502" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Bad Gateway",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getAllPolicies-502-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getAllPolicies-schema-502');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getAllPolicies-502-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-getAllPolicies-title-503"></h3>
+ <p id="examples-A1PolicyManagement-getAllPolicies-description-503" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement503_description = `Service Unavailable`;
+ var responseA1PolicyManagement503_description_break = responseA1PolicyManagement503_description.indexOf('\n');
+ if (responseA1PolicyManagement503_description_break == -1) {
+ $("#examples-A1PolicyManagement-getAllPolicies-title-503").text("Status: 503 - " + responseA1PolicyManagement503_description);
+ } else {
+ $("#examples-A1PolicyManagement-getAllPolicies-title-503").text("Status: 503 - " + responseA1PolicyManagement503_description.substring(0, responseA1PolicyManagement503_description_break));
+ $("#examples-A1PolicyManagement-getAllPolicies-description-503").html(responseA1PolicyManagement503_description.substring(responseA1PolicyManagement503_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-getAllPolicies-503" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getAllPolicies-503-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-getAllPolicies-503-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getAllPolicies-503-schema">
+ <div id="responses-A1PolicyManagement-getAllPolicies-schema-503" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Service Unavailable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getAllPolicies-503-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getAllPolicies-schema-503');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getAllPolicies-503-schema-data' type='hidden' value=''></input>
+ </div>
</div>
</article>
</div>
@@ -1707,13 +4709,14 @@
<p class="marked">Returns a policy</p>
<p></p>
<br />
- <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/a1-policy/v2/policies/{policy_id}</span></code></pre>
+ <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/policies/{policyId}</span></code></pre>
<p>
<h3>Usage and SDK Samples</h3>
</p>
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="#examples-A1PolicyManagement-getPolicy-0-curl">Curl</a></li>
<li class=""><a href="#examples-A1PolicyManagement-getPolicy-0-java">Java</a></li>
+ <li class=""><a href="#examples-A1PolicyManagement-getPolicy-0-dart">Dart</a></li>
<li class=""><a href="#examples-A1PolicyManagement-getPolicy-0-android">Android</a></li>
<!--<li class=""><a href="#examples-A1PolicyManagement-getPolicy-0-groovy">Groovy</a></li>-->
<li class=""><a href="#examples-A1PolicyManagement-getPolicy-0-objc">Obj-C</a></li>
@@ -1730,7 +4733,7 @@
<div class="tab-pane active" id="examples-A1PolicyManagement-getPolicy-0-curl">
<pre class="prettyprint"><code class="language-bsh">curl -X GET \
-H "Accept: application/json,application/problem+json" \
- "http://localhost/a1-policy/v2/policies/{policy_id}"
+ "https://example.com/a1-policy-management/v1/policies/{policyId}"
</code></pre>
</div>
<div class="tab-pane" id="examples-A1PolicyManagement-getPolicy-0-java">
@@ -1748,9 +4751,10 @@
// Create an instance of the API class
A1PolicyManagementApi apiInstance = new A1PolicyManagementApi();
String policyId = policyId_example; // String |
+ String accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
try {
- policy_info result = apiInstance.getPolicy(policyId);
+ Object result = apiInstance.getPolicy(policyId, accept);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling A1PolicyManagementApi#getPolicy");
@@ -1761,6 +4765,24 @@
</code></pre>
</div>
+ <div class="tab-pane" id="examples-A1PolicyManagement-getPolicy-0-dart">
+ <pre class="prettyprint"><code class="language-dart">import 'package:openapi/api.dart';
+
+final api_instance = DefaultApi();
+
+final String policyId = new String(); // String |
+final String accept = new String(); // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
+
+try {
+ final result = await api_instance.getPolicy(policyId, accept);
+ print(result);
+} catch (e) {
+ print('Exception when calling DefaultApi->getPolicy: $e\n');
+}
+
+</code></pre>
+ </div>
+
<div class="tab-pane" id="examples-A1PolicyManagement-getPolicy-0-android">
<pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.A1PolicyManagementApi;
@@ -1768,9 +4790,10 @@
public static void main(String[] args) {
A1PolicyManagementApi apiInstance = new A1PolicyManagementApi();
String policyId = policyId_example; // String |
+ String accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
try {
- policy_info result = apiInstance.getPolicy(policyId);
+ Object result = apiInstance.getPolicy(policyId, accept);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling A1PolicyManagementApi#getPolicy");
@@ -1789,9 +4812,11 @@
// Create an instance of the API class
A1PolicyManagementApi *apiInstance = [[A1PolicyManagementApi alloc] init];
String *policyId = policyId_example; // (default to null)
+String *accept = application/json; // Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. (optional) (default to null)
[apiInstance getPolicyWith:policyId
- completionHandler: ^(policy_info output, NSError* error) {
+ accept:accept
+ completionHandler: ^(Object output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
@@ -1803,11 +4828,14 @@
</div>
<div class="tab-pane" id="examples-A1PolicyManagement-getPolicy-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
+ <pre class="prettyprint"><code class="language-js">var A1PolicyManagementApi = require('a1_policy_management_api');
// Create an instance of the API class
-var api = new A1PolicyManagementService.A1PolicyManagementApi()
+var api = new A1PolicyManagementApi.A1PolicyManagementApi()
var policyId = policyId_example; // {String}
+var opts = {
+ 'accept': application/json // {String} Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
+};
var callback = function(error, data, response) {
if (error) {
@@ -1816,7 +4844,7 @@
console.log('API called successfully. Returned data: ' + data);
}
};
-api.getPolicy(policyId, callback);
+api.getPolicy(policyId, opts, callback);
</code></pre>
</div>
@@ -1840,9 +4868,10 @@
// Create an instance of the API class
var apiInstance = new A1PolicyManagementApi();
var policyId = policyId_example; // String | (default to null)
+ var accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. (optional) (default to null)
try {
- policy_info result = apiInstance.getPolicy(policyId);
+ Object result = apiInstance.getPolicy(policyId, accept);
Debug.WriteLine(result);
} catch (Exception e) {
Debug.Print("Exception when calling A1PolicyManagementApi.getPolicy: " + e.Message );
@@ -1860,9 +4889,10 @@
// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\A1PolicyManagementApi();
$policyId = policyId_example; // String |
+$accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
try {
- $result = $api_instance->getPolicy($policyId);
+ $result = $api_instance->getPolicy($policyId, $accept);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling A1PolicyManagementApi->getPolicy: ', $e->getMessage(), PHP_EOL;
@@ -1878,9 +4908,10 @@
# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::A1PolicyManagementApi->new();
my $policyId = policyId_example; # String |
+my $accept = application/json; # String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
eval {
- my $result = $api_instance->getPolicy(policyId => $policyId);
+ my $result = $api_instance->getPolicy(policyId => $policyId, accept => $accept);
print Dumper($result);
};
if ($@) {
@@ -1898,9 +4929,10 @@
# Create an instance of the API class
api_instance = openapi_client.A1PolicyManagementApi()
policyId = policyId_example # String | (default to null)
+accept = application/json # String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. (optional) (default to null)
try:
- api_response = api_instance.get_policy(policyId)
+ api_response = api_instance.get_policy(policyId, accept=accept)
pprint(api_response)
except ApiException as e:
print("Exception when calling A1PolicyManagementApi->getPolicy: %s\n" % e)</code></pre>
@@ -1911,9 +4943,10 @@
pub fn main() {
let policyId = policyId_example; // String
+ let accept = application/json; // String
let mut context = A1PolicyManagementApi::Context::default();
- let result = client.getPolicy(policyId, &context).wait();
+ let result = client.getPolicy(policyId, accept, &context).wait();
println!("{:?}", result);
}
@@ -1934,7 +4967,7 @@
<th width="150px">Name</th>
<th>Description</th>
</tr>
- <tr><td style="width:150px;">policy_id*</td>
+ <tr><td style="width:150px;">policyId*</td>
<td>
@@ -1956,6 +4989,33 @@
</table>
+ <div class="methodsubtabletitle">Header parameters</div>
+ <table id="methodsubtable">
+ <tr>
+ <th width="150px">Name</th>
+ <th>Description</th>
+ </tr>
+ <tr><td style="width:150px;">Accept</td>
+<td>
+
+
+ <div id="d2e199_getPolicy_accept">
+ <div class="json-schema-view">
+ <div class="primitive">
+ <span class="type">
+ String
+ </span>
+
+ <div class="inner description marked">
+Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
+ </div>
+ </div>
+ </div>
+ </div>
+</td>
+</tr>
+
+ </table>
@@ -1987,41 +5047,288 @@
<div class="tab-content" id="responses-A1PolicyManagement-getPolicy-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicy-200-schema">
- <div id="responses-A1PolicyManagement-getPolicy-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicy-200-schema">
+ <div id="responses-A1PolicyManagement-getPolicy-schema-200" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "OK - Policy found",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/PolicyObject"
+ },
+ "examples" : {
+ "policyObject" : {
+ "$ref" : "#/components/examples/PolicyObject"
+ }
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicy-200-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicy-schema-200');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getPolicy-200-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-getPolicy-title-400"></h3>
+ <p id="examples-A1PolicyManagement-getPolicy-description-400" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement400_description = `Bad Request`;
+ var responseA1PolicyManagement400_description_break = responseA1PolicyManagement400_description.indexOf('\n');
+ if (responseA1PolicyManagement400_description_break == -1) {
+ $("#examples-A1PolicyManagement-getPolicy-title-400").text("Status: 400 - " + responseA1PolicyManagement400_description);
+ } else {
+ $("#examples-A1PolicyManagement-getPolicy-title-400").text("Status: 400 - " + responseA1PolicyManagement400_description.substring(0, responseA1PolicyManagement400_description_break));
+ $("#examples-A1PolicyManagement-getPolicy-description-400").html(responseA1PolicyManagement400_description.substring(responseA1PolicyManagement400_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-getPolicy-400" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicy-400-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-getPolicy-400-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicy-400-schema">
+ <div id="responses-A1PolicyManagement-getPolicy-schema-400" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Bad Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
});
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-A1PolicyManagement-getPolicy-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-A1PolicyManagement-getPolicy-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-A1PolicyManagement-getPolicy-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicy-400-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicy-schema-400');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-A1PolicyManagement-getPolicy-400-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-getPolicy-title-401"></h3>
+ <p id="examples-A1PolicyManagement-getPolicy-description-401" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement401_description = `Unauthorized`;
+ var responseA1PolicyManagement401_description_break = responseA1PolicyManagement401_description.indexOf('\n');
+ if (responseA1PolicyManagement401_description_break == -1) {
+ $("#examples-A1PolicyManagement-getPolicy-title-401").text("Status: 401 - " + responseA1PolicyManagement401_description);
+ } else {
+ $("#examples-A1PolicyManagement-getPolicy-title-401").text("Status: 401 - " + responseA1PolicyManagement401_description.substring(0, responseA1PolicyManagement401_description_break));
+ $("#examples-A1PolicyManagement-getPolicy-description-401").html(responseA1PolicyManagement401_description.substring(responseA1PolicyManagement401_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-getPolicy-401" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicy-401-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-getPolicy-401-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicy-401-schema">
+ <div id="responses-A1PolicyManagement-getPolicy-schema-401" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Unauthorized",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicy-401-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicy-schema-401');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getPolicy-401-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-getPolicy-title-403"></h3>
+ <p id="examples-A1PolicyManagement-getPolicy-description-403" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement403_description = `Forbidden`;
+ var responseA1PolicyManagement403_description_break = responseA1PolicyManagement403_description.indexOf('\n');
+ if (responseA1PolicyManagement403_description_break == -1) {
+ $("#examples-A1PolicyManagement-getPolicy-title-403").text("Status: 403 - " + responseA1PolicyManagement403_description);
+ } else {
+ $("#examples-A1PolicyManagement-getPolicy-title-403").text("Status: 403 - " + responseA1PolicyManagement403_description.substring(0, responseA1PolicyManagement403_description_break));
+ $("#examples-A1PolicyManagement-getPolicy-description-403").html(responseA1PolicyManagement403_description.substring(responseA1PolicyManagement403_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-getPolicy-403" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicy-403-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-getPolicy-403-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicy-403-schema">
+ <div id="responses-A1PolicyManagement-getPolicy-schema-403" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Forbidden",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicy-403-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicy-schema-403');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getPolicy-403-schema-data' type='hidden' value=''></input>
+ </div>
</div>
<h3 id="examples-A1PolicyManagement-getPolicy-title-404"></h3>
<p id="examples-A1PolicyManagement-getPolicy-description-404" class="marked"></p>
@@ -2038,394 +5345,84 @@
<ul id="responses-detail-A1PolicyManagement-getPolicy-404" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicy-404-schema">Schema</a>
+ </li>
+
+
</ul>
<div class="tab-content" id="responses-A1PolicyManagement-getPolicy-404-wrapper" style='margin-bottom: 10px;'>
- </div>
- </article>
- </div>
- <hr>
- <div id="api-A1PolicyManagement-getPolicyIds">
- <article id="api-A1PolicyManagement-getPolicyIds-0" data-group="User" data-name="getPolicyIds" data-version="0">
- <div class="pull-left">
- <h1>getPolicyIds</h1>
- <p>Query policy identities</p>
- </div>
- <div class="pull-right"></div>
- <div class="clearfix"></div>
- <p></p>
- <p class="marked">Returns a list of A1 policies matching given search criteria. <br>If several query parameters are defined, the policies matching all conditions are returned.</p>
- <p></p>
- <br />
- <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/a1-policy/v2/policies</span></code></pre>
- <p>
- <h3>Usage and SDK Samples</h3>
- </p>
- <ul class="nav nav-tabs nav-tabs-examples">
- <li class="active"><a href="#examples-A1PolicyManagement-getPolicyIds-0-curl">Curl</a></li>
- <li class=""><a href="#examples-A1PolicyManagement-getPolicyIds-0-java">Java</a></li>
- <li class=""><a href="#examples-A1PolicyManagement-getPolicyIds-0-android">Android</a></li>
- <!--<li class=""><a href="#examples-A1PolicyManagement-getPolicyIds-0-groovy">Groovy</a></li>-->
- <li class=""><a href="#examples-A1PolicyManagement-getPolicyIds-0-objc">Obj-C</a></li>
- <li class=""><a href="#examples-A1PolicyManagement-getPolicyIds-0-javascript">JavaScript</a></li>
- <!--<li class=""><a href="#examples-A1PolicyManagement-getPolicyIds-0-angular">Angular</a></li>-->
- <li class=""><a href="#examples-A1PolicyManagement-getPolicyIds-0-csharp">C#</a></li>
- <li class=""><a href="#examples-A1PolicyManagement-getPolicyIds-0-php">PHP</a></li>
- <li class=""><a href="#examples-A1PolicyManagement-getPolicyIds-0-perl">Perl</a></li>
- <li class=""><a href="#examples-A1PolicyManagement-getPolicyIds-0-python">Python</a></li>
- <li class=""><a href="#examples-A1PolicyManagement-getPolicyIds-0-rust">Rust</a></li>
- </ul>
-
- <div class="tab-content">
- <div class="tab-pane active" id="examples-A1PolicyManagement-getPolicyIds-0-curl">
- <pre class="prettyprint"><code class="language-bsh">curl -X GET \
- -H "Accept: application/json,application/problem+json" \
- "http://localhost/a1-policy/v2/policies?policytype_id=policytypeId_example&ric_id=ricId_example&service_id=serviceId_example&type_name=typeName_example"
-</code></pre>
- </div>
- <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyIds-0-java">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
-import org.openapitools.client.auth.*;
-import org.openapitools.client.model.*;
-import org.openapitools.client.api.A1PolicyManagementApi;
-
-import java.io.File;
-import java.util.*;
-
-public class A1PolicyManagementApiExample {
- public static void main(String[] args) {
-
- // Create an instance of the API class
- A1PolicyManagementApi apiInstance = new A1PolicyManagementApi();
- String policytypeId = policytypeId_example; // String | Select policies of a given policy type identity.
- String ricId = ricId_example; // String | Select policies of a given Near-RT RIC identity.
- String serviceId = serviceId_example; // String | Select policies owned by a given service.
- String typeName = typeName_example; // String | Select policies of types with the given type name (type identity has the format <typename_version>)
-
- try {
- policy_id_list result = apiInstance.getPolicyIds(policytypeId, ricId, serviceId, typeName);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling A1PolicyManagementApi#getPolicyIds");
- e.printStackTrace();
- }
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicy-404-schema">
+ <div id="responses-A1PolicyManagement-getPolicy-schema-404" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
}
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyIds-0-android">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.A1PolicyManagementApi;
-
-public class A1PolicyManagementApiExample {
- public static void main(String[] args) {
- A1PolicyManagementApi apiInstance = new A1PolicyManagementApi();
- String policytypeId = policytypeId_example; // String | Select policies of a given policy type identity.
- String ricId = ricId_example; // String | Select policies of a given Near-RT RIC identity.
- String serviceId = serviceId_example; // String | Select policies owned by a given service.
- String typeName = typeName_example; // String | Select policies of types with the given type name (type identity has the format <typename_version>)
-
- try {
- policy_id_list result = apiInstance.getPolicyIds(policytypeId, ricId, serviceId, typeName);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling A1PolicyManagementApi#getPolicyIds");
- e.printStackTrace();
- }
- }
-}</code></pre>
- </div>
- <!--
- <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyIds-0-groovy">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div> -->
- <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyIds-0-objc">
- <pre class="prettyprint"><code class="language-cpp">
-
-// Create an instance of the API class
-A1PolicyManagementApi *apiInstance = [[A1PolicyManagementApi alloc] init];
-String *policytypeId = policytypeId_example; // Select policies of a given policy type identity. (optional) (default to null)
-String *ricId = ricId_example; // Select policies of a given Near-RT RIC identity. (optional) (default to null)
-String *serviceId = serviceId_example; // Select policies owned by a given service. (optional) (default to null)
-String *typeName = typeName_example; // Select policies of types with the given type name (type identity has the format <typename_version>) (optional) (default to null)
-
-// Query policy identities
-[apiInstance getPolicyIdsWith:policytypeId
- ricId:ricId
- serviceId:serviceId
- typeName:typeName
- completionHandler: ^(policy_id_list output, NSError* error) {
- if (output) {
- NSLog(@"%@", output);
- }
- if (error) {
- NSLog(@"Error: %@", error);
- }
-}];
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyIds-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
-
-// Create an instance of the API class
-var api = new A1PolicyManagementService.A1PolicyManagementApi()
-var opts = {
- 'policytypeId': policytypeId_example, // {String} Select policies of a given policy type identity.
- 'ricId': ricId_example, // {String} Select policies of a given Near-RT RIC identity.
- 'serviceId': serviceId_example, // {String} Select policies owned by a given service.
- 'typeName': typeName_example // {String} Select policies of types with the given type name (type identity has the format <typename_version>)
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
}
};
-api.getPolicyIds(opts, callback);
-</code></pre>
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicy-404-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicy-schema-404');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getPolicy-404-schema-data' type='hidden' value=''></input>
+ </div>
</div>
-
- <!--<div class="tab-pane" id="examples-A1PolicyManagement-getPolicyIds-0-angular">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div>-->
- <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyIds-0-csharp">
- <pre class="prettyprint"><code class="language-cs">using System;
-using System.Diagnostics;
-using Org.OpenAPITools.Api;
-using Org.OpenAPITools.Client;
-using Org.OpenAPITools.Model;
-
-namespace Example
-{
- public class getPolicyIdsExample
- {
- public void main()
- {
-
- // Create an instance of the API class
- var apiInstance = new A1PolicyManagementApi();
- var policytypeId = policytypeId_example; // String | Select policies of a given policy type identity. (optional) (default to null)
- var ricId = ricId_example; // String | Select policies of a given Near-RT RIC identity. (optional) (default to null)
- var serviceId = serviceId_example; // String | Select policies owned by a given service. (optional) (default to null)
- var typeName = typeName_example; // String | Select policies of types with the given type name (type identity has the format <typename_version>) (optional) (default to null)
-
- try {
- // Query policy identities
- policy_id_list result = apiInstance.getPolicyIds(policytypeId, ricId, serviceId, typeName);
- Debug.WriteLine(result);
- } catch (Exception e) {
- Debug.Print("Exception when calling A1PolicyManagementApi.getPolicyIds: " + e.Message );
- }
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyIds-0-php">
- <pre class="prettyprint"><code class="language-php"><?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-// Create an instance of the API class
-$api_instance = new OpenAPITools\Client\Api\A1PolicyManagementApi();
-$policytypeId = policytypeId_example; // String | Select policies of a given policy type identity.
-$ricId = ricId_example; // String | Select policies of a given Near-RT RIC identity.
-$serviceId = serviceId_example; // String | Select policies owned by a given service.
-$typeName = typeName_example; // String | Select policies of types with the given type name (type identity has the format <typename_version>)
-
-try {
- $result = $api_instance->getPolicyIds($policytypeId, $ricId, $serviceId, $typeName);
- print_r($result);
-} catch (Exception $e) {
- echo 'Exception when calling A1PolicyManagementApi->getPolicyIds: ', $e->getMessage(), PHP_EOL;
-}
-?></code></pre>
- </div>
-
- <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyIds-0-perl">
- <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
-use WWW::OPenAPIClient::Configuration;
-use WWW::OPenAPIClient::A1PolicyManagementApi;
-
-# Create an instance of the API class
-my $api_instance = WWW::OPenAPIClient::A1PolicyManagementApi->new();
-my $policytypeId = policytypeId_example; # String | Select policies of a given policy type identity.
-my $ricId = ricId_example; # String | Select policies of a given Near-RT RIC identity.
-my $serviceId = serviceId_example; # String | Select policies owned by a given service.
-my $typeName = typeName_example; # String | Select policies of types with the given type name (type identity has the format <typename_version>)
-
-eval {
- my $result = $api_instance->getPolicyIds(policytypeId => $policytypeId, ricId => $ricId, serviceId => $serviceId, typeName => $typeName);
- print Dumper($result);
-};
-if ($@) {
- warn "Exception when calling A1PolicyManagementApi->getPolicyIds: $@\n";
-}</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyIds-0-python">
- <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
-import time
-import openapi_client
-from openapi_client.rest import ApiException
-from pprint import pprint
-
-# Create an instance of the API class
-api_instance = openapi_client.A1PolicyManagementApi()
-policytypeId = policytypeId_example # String | Select policies of a given policy type identity. (optional) (default to null)
-ricId = ricId_example # String | Select policies of a given Near-RT RIC identity. (optional) (default to null)
-serviceId = serviceId_example # String | Select policies owned by a given service. (optional) (default to null)
-typeName = typeName_example # String | Select policies of types with the given type name (type identity has the format <typename_version>) (optional) (default to null)
-
-try:
- # Query policy identities
- api_response = api_instance.get_policy_ids(policytypeId=policytypeId, ricId=ricId, serviceId=serviceId, typeName=typeName)
- pprint(api_response)
-except ApiException as e:
- print("Exception when calling A1PolicyManagementApi->getPolicyIds: %s\n" % e)</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyIds-0-rust">
- <pre class="prettyprint"><code class="language-rust">extern crate A1PolicyManagementApi;
-
-pub fn main() {
- let policytypeId = policytypeId_example; // String
- let ricId = ricId_example; // String
- let serviceId = serviceId_example; // String
- let typeName = typeName_example; // String
-
- let mut context = A1PolicyManagementApi::Context::default();
- let result = client.getPolicyIds(policytypeId, ricId, serviceId, typeName, &context).wait();
-
- println!("{:?}", result);
-}
-</code></pre>
- </div>
- </div>
-
- <h2>Scopes</h2>
- <table>
-
- </table>
-
- <h2>Parameters</h2>
-
-
-
-
-
- <div class="methodsubtabletitle">Query parameters</div>
- <table id="methodsubtable">
- <tr>
- <th width="150px">Name</th>
- <th>Description</th>
- </tr>
- <tr><td style="width:150px;">policytype_id</td>
-<td>
-
-
- <div id="d2e199_getPolicyIds_policytypeId">
- <div class="json-schema-view">
- <div class="primitive">
- <span class="type">
- String
- </span>
-
- <div class="inner description marked">
-Select policies of a given policy type identity.
- </div>
- </div>
- </div>
- </div>
-</td>
-</tr>
-
- <tr><td style="width:150px;">ric_id</td>
-<td>
-
-
- <div id="d2e199_getPolicyIds_ricId">
- <div class="json-schema-view">
- <div class="primitive">
- <span class="type">
- String
- </span>
-
- <div class="inner description marked">
-Select policies of a given Near-RT RIC identity.
- </div>
- </div>
- </div>
- </div>
-</td>
-</tr>
-
- <tr><td style="width:150px;">service_id</td>
-<td>
-
-
- <div id="d2e199_getPolicyIds_serviceId">
- <div class="json-schema-view">
- <div class="primitive">
- <span class="type">
- String
- </span>
-
- <div class="inner description marked">
-Select policies owned by a given service.
- </div>
- </div>
- </div>
- </div>
-</td>
-</tr>
-
- <tr><td style="width:150px;">type_name</td>
-<td>
-
-
- <div id="d2e199_getPolicyIds_typeName">
- <div class="json-schema-view">
- <div class="primitive">
- <span class="type">
- String
- </span>
-
- <div class="inner description marked">
-Select policies of types with the given type name (type identity has the format <typename_version>)
- </div>
- </div>
- </div>
- </div>
-</td>
-</tr>
-
- </table>
-
- <h2>Responses</h2>
- <h3 id="examples-A1PolicyManagement-getPolicyIds-title-200"></h3>
- <p id="examples-A1PolicyManagement-getPolicyIds-description-200" class="marked"></p>
+ <h3 id="examples-A1PolicyManagement-getPolicy-title-406"></h3>
+ <p id="examples-A1PolicyManagement-getPolicy-description-406" class="marked"></p>
<script>
- var responseA1PolicyManagement200_description = `OK - Policy identities`;
- var responseA1PolicyManagement200_description_break = responseA1PolicyManagement200_description.indexOf('\n');
- if (responseA1PolicyManagement200_description_break == -1) {
- $("#examples-A1PolicyManagement-getPolicyIds-title-200").text("Status: 200 - " + responseA1PolicyManagement200_description);
+ var responseA1PolicyManagement406_description = `Not Acceptable`;
+ var responseA1PolicyManagement406_description_break = responseA1PolicyManagement406_description.indexOf('\n');
+ if (responseA1PolicyManagement406_description_break == -1) {
+ $("#examples-A1PolicyManagement-getPolicy-title-406").text("Status: 406 - " + responseA1PolicyManagement406_description);
} else {
- $("#examples-A1PolicyManagement-getPolicyIds-title-200").text("Status: 200 - " + responseA1PolicyManagement200_description.substring(0, responseA1PolicyManagement200_description_break));
- $("#examples-A1PolicyManagement-getPolicyIds-description-200").html(responseA1PolicyManagement200_description.substring(responseA1PolicyManagement200_description_break));
+ $("#examples-A1PolicyManagement-getPolicy-title-406").text("Status: 406 - " + responseA1PolicyManagement406_description.substring(0, responseA1PolicyManagement406_description_break));
+ $("#examples-A1PolicyManagement-getPolicy-description-406").html(responseA1PolicyManagement406_description.substring(responseA1PolicyManagement406_description_break));
}
</script>
- <ul id="responses-detail-A1PolicyManagement-getPolicyIds-200" class="nav nav-tabs nav-tabs-examples" >
+ <ul id="responses-detail-A1PolicyManagement-getPolicy-406" class="nav nav-tabs nav-tabs-examples" >
<li class="active">
- <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicyIds-200-schema">Schema</a>
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicy-406-schema">Schema</a>
</li>
@@ -2434,446 +5431,74 @@
</ul>
- <div class="tab-content" id="responses-A1PolicyManagement-getPolicyIds-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyIds-200-schema">
- <div id="responses-A1PolicyManagement-getPolicyIds-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
- Object.keys(schema.properties).forEach( (item) => {
- if (schema.properties[item].$ref != null) {
- schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
- }
- });
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
- }
-
- var view = new JSONSchemaView(schema, 3);
- $('#responses-A1PolicyManagement-getPolicyIds-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-A1PolicyManagement-getPolicyIds-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-A1PolicyManagement-getPolicyIds-200-schema-data' type='hidden' value=''></input>
- </div>
- </div>
- <h3 id="examples-A1PolicyManagement-getPolicyIds-title-404"></h3>
- <p id="examples-A1PolicyManagement-getPolicyIds-description-404" class="marked"></p>
- <script>
- var responseA1PolicyManagement404_description = `Not Found`;
- var responseA1PolicyManagement404_description_break = responseA1PolicyManagement404_description.indexOf('\n');
- if (responseA1PolicyManagement404_description_break == -1) {
- $("#examples-A1PolicyManagement-getPolicyIds-title-404").text("Status: 404 - " + responseA1PolicyManagement404_description);
- } else {
- $("#examples-A1PolicyManagement-getPolicyIds-title-404").text("Status: 404 - " + responseA1PolicyManagement404_description.substring(0, responseA1PolicyManagement404_description_break));
- $("#examples-A1PolicyManagement-getPolicyIds-description-404").html(responseA1PolicyManagement404_description.substring(responseA1PolicyManagement404_description_break));
- }
- </script>
-
-
- <ul id="responses-detail-A1PolicyManagement-getPolicyIds-404" class="nav nav-tabs nav-tabs-examples" >
-
-
- </ul>
-
-
- <div class="tab-content" id="responses-A1PolicyManagement-getPolicyIds-404-wrapper" style='margin-bottom: 10px;'>
- </div>
- </article>
- </div>
- <hr>
- <div id="api-A1PolicyManagement-getPolicyInstances">
- <article id="api-A1PolicyManagement-getPolicyInstances-0" data-group="User" data-name="getPolicyInstances" data-version="0">
- <div class="pull-left">
- <h1>getPolicyInstances</h1>
- <p>Query for A1 policy instances</p>
- </div>
- <div class="pull-right"></div>
- <div class="clearfix"></div>
- <p></p>
- <p class="marked">Returns a list of A1 policies matching given search criteria. <br>If several query parameters are defined, the policies matching all conditions are returned.</p>
- <p></p>
- <br />
- <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/a1-policy/v2/policy-instances</span></code></pre>
- <p>
- <h3>Usage and SDK Samples</h3>
- </p>
- <ul class="nav nav-tabs nav-tabs-examples">
- <li class="active"><a href="#examples-A1PolicyManagement-getPolicyInstances-0-curl">Curl</a></li>
- <li class=""><a href="#examples-A1PolicyManagement-getPolicyInstances-0-java">Java</a></li>
- <li class=""><a href="#examples-A1PolicyManagement-getPolicyInstances-0-android">Android</a></li>
- <!--<li class=""><a href="#examples-A1PolicyManagement-getPolicyInstances-0-groovy">Groovy</a></li>-->
- <li class=""><a href="#examples-A1PolicyManagement-getPolicyInstances-0-objc">Obj-C</a></li>
- <li class=""><a href="#examples-A1PolicyManagement-getPolicyInstances-0-javascript">JavaScript</a></li>
- <!--<li class=""><a href="#examples-A1PolicyManagement-getPolicyInstances-0-angular">Angular</a></li>-->
- <li class=""><a href="#examples-A1PolicyManagement-getPolicyInstances-0-csharp">C#</a></li>
- <li class=""><a href="#examples-A1PolicyManagement-getPolicyInstances-0-php">PHP</a></li>
- <li class=""><a href="#examples-A1PolicyManagement-getPolicyInstances-0-perl">Perl</a></li>
- <li class=""><a href="#examples-A1PolicyManagement-getPolicyInstances-0-python">Python</a></li>
- <li class=""><a href="#examples-A1PolicyManagement-getPolicyInstances-0-rust">Rust</a></li>
- </ul>
-
- <div class="tab-content">
- <div class="tab-pane active" id="examples-A1PolicyManagement-getPolicyInstances-0-curl">
- <pre class="prettyprint"><code class="language-bsh">curl -X GET \
- -H "Accept: application/json" \
- "http://localhost/a1-policy/v2/policy-instances?policytype_id=policytypeId_example&ric_id=ricId_example&service_id=serviceId_example&type_name=typeName_example"
-</code></pre>
- </div>
- <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyInstances-0-java">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
-import org.openapitools.client.auth.*;
-import org.openapitools.client.model.*;
-import org.openapitools.client.api.A1PolicyManagementApi;
-
-import java.io.File;
-import java.util.*;
-
-public class A1PolicyManagementApiExample {
- public static void main(String[] args) {
-
- // Create an instance of the API class
- A1PolicyManagementApi apiInstance = new A1PolicyManagementApi();
- String policytypeId = policytypeId_example; // String | Select policies with a given type identity.
- String ricId = ricId_example; // String | Select policies for a given Near-RT RIC identity.
- String serviceId = serviceId_example; // String | Select policies owned by a given service.
- String typeName = typeName_example; // String | Select policies of a given type name (type identity has the format <typename_version>)
-
- try {
- policy_info_list result = apiInstance.getPolicyInstances(policytypeId, ricId, serviceId, typeName);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling A1PolicyManagementApi#getPolicyInstances");
- e.printStackTrace();
- }
+ <div class="tab-content" id="responses-A1PolicyManagement-getPolicy-406-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicy-406-schema">
+ <div id="responses-A1PolicyManagement-getPolicy-schema-406" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Not Acceptable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
}
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyInstances-0-android">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.A1PolicyManagementApi;
-
-public class A1PolicyManagementApiExample {
- public static void main(String[] args) {
- A1PolicyManagementApi apiInstance = new A1PolicyManagementApi();
- String policytypeId = policytypeId_example; // String | Select policies with a given type identity.
- String ricId = ricId_example; // String | Select policies for a given Near-RT RIC identity.
- String serviceId = serviceId_example; // String | Select policies owned by a given service.
- String typeName = typeName_example; // String | Select policies of a given type name (type identity has the format <typename_version>)
-
- try {
- policy_info_list result = apiInstance.getPolicyInstances(policytypeId, ricId, serviceId, typeName);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling A1PolicyManagementApi#getPolicyInstances");
- e.printStackTrace();
- }
- }
-}</code></pre>
- </div>
- <!--
- <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyInstances-0-groovy">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div> -->
- <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyInstances-0-objc">
- <pre class="prettyprint"><code class="language-cpp">
-
-// Create an instance of the API class
-A1PolicyManagementApi *apiInstance = [[A1PolicyManagementApi alloc] init];
-String *policytypeId = policytypeId_example; // Select policies with a given type identity. (optional) (default to null)
-String *ricId = ricId_example; // Select policies for a given Near-RT RIC identity. (optional) (default to null)
-String *serviceId = serviceId_example; // Select policies owned by a given service. (optional) (default to null)
-String *typeName = typeName_example; // Select policies of a given type name (type identity has the format <typename_version>) (optional) (default to null)
-
-// Query for A1 policy instances
-[apiInstance getPolicyInstancesWith:policytypeId
- ricId:ricId
- serviceId:serviceId
- typeName:typeName
- completionHandler: ^(policy_info_list output, NSError* error) {
- if (output) {
- NSLog(@"%@", output);
- }
- if (error) {
- NSLog(@"Error: %@", error);
- }
-}];
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyInstances-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
-
-// Create an instance of the API class
-var api = new A1PolicyManagementService.A1PolicyManagementApi()
-var opts = {
- 'policytypeId': policytypeId_example, // {String} Select policies with a given type identity.
- 'ricId': ricId_example, // {String} Select policies for a given Near-RT RIC identity.
- 'serviceId': serviceId_example, // {String} Select policies owned by a given service.
- 'typeName': typeName_example // {String} Select policies of a given type name (type identity has the format <typename_version>)
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
}
};
-api.getPolicyInstances(opts, callback);
-</code></pre>
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicy-406-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicy-schema-406');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getPolicy-406-schema-data' type='hidden' value=''></input>
+ </div>
</div>
-
- <!--<div class="tab-pane" id="examples-A1PolicyManagement-getPolicyInstances-0-angular">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div>-->
- <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyInstances-0-csharp">
- <pre class="prettyprint"><code class="language-cs">using System;
-using System.Diagnostics;
-using Org.OpenAPITools.Api;
-using Org.OpenAPITools.Client;
-using Org.OpenAPITools.Model;
-
-namespace Example
-{
- public class getPolicyInstancesExample
- {
- public void main()
- {
-
- // Create an instance of the API class
- var apiInstance = new A1PolicyManagementApi();
- var policytypeId = policytypeId_example; // String | Select policies with a given type identity. (optional) (default to null)
- var ricId = ricId_example; // String | Select policies for a given Near-RT RIC identity. (optional) (default to null)
- var serviceId = serviceId_example; // String | Select policies owned by a given service. (optional) (default to null)
- var typeName = typeName_example; // String | Select policies of a given type name (type identity has the format <typename_version>) (optional) (default to null)
-
- try {
- // Query for A1 policy instances
- policy_info_list result = apiInstance.getPolicyInstances(policytypeId, ricId, serviceId, typeName);
- Debug.WriteLine(result);
- } catch (Exception e) {
- Debug.Print("Exception when calling A1PolicyManagementApi.getPolicyInstances: " + e.Message );
- }
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyInstances-0-php">
- <pre class="prettyprint"><code class="language-php"><?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-// Create an instance of the API class
-$api_instance = new OpenAPITools\Client\Api\A1PolicyManagementApi();
-$policytypeId = policytypeId_example; // String | Select policies with a given type identity.
-$ricId = ricId_example; // String | Select policies for a given Near-RT RIC identity.
-$serviceId = serviceId_example; // String | Select policies owned by a given service.
-$typeName = typeName_example; // String | Select policies of a given type name (type identity has the format <typename_version>)
-
-try {
- $result = $api_instance->getPolicyInstances($policytypeId, $ricId, $serviceId, $typeName);
- print_r($result);
-} catch (Exception $e) {
- echo 'Exception when calling A1PolicyManagementApi->getPolicyInstances: ', $e->getMessage(), PHP_EOL;
-}
-?></code></pre>
- </div>
-
- <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyInstances-0-perl">
- <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
-use WWW::OPenAPIClient::Configuration;
-use WWW::OPenAPIClient::A1PolicyManagementApi;
-
-# Create an instance of the API class
-my $api_instance = WWW::OPenAPIClient::A1PolicyManagementApi->new();
-my $policytypeId = policytypeId_example; # String | Select policies with a given type identity.
-my $ricId = ricId_example; # String | Select policies for a given Near-RT RIC identity.
-my $serviceId = serviceId_example; # String | Select policies owned by a given service.
-my $typeName = typeName_example; # String | Select policies of a given type name (type identity has the format <typename_version>)
-
-eval {
- my $result = $api_instance->getPolicyInstances(policytypeId => $policytypeId, ricId => $ricId, serviceId => $serviceId, typeName => $typeName);
- print Dumper($result);
-};
-if ($@) {
- warn "Exception when calling A1PolicyManagementApi->getPolicyInstances: $@\n";
-}</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyInstances-0-python">
- <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
-import time
-import openapi_client
-from openapi_client.rest import ApiException
-from pprint import pprint
-
-# Create an instance of the API class
-api_instance = openapi_client.A1PolicyManagementApi()
-policytypeId = policytypeId_example # String | Select policies with a given type identity. (optional) (default to null)
-ricId = ricId_example # String | Select policies for a given Near-RT RIC identity. (optional) (default to null)
-serviceId = serviceId_example # String | Select policies owned by a given service. (optional) (default to null)
-typeName = typeName_example # String | Select policies of a given type name (type identity has the format <typename_version>) (optional) (default to null)
-
-try:
- # Query for A1 policy instances
- api_response = api_instance.get_policy_instances(policytypeId=policytypeId, ricId=ricId, serviceId=serviceId, typeName=typeName)
- pprint(api_response)
-except ApiException as e:
- print("Exception when calling A1PolicyManagementApi->getPolicyInstances: %s\n" % e)</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyInstances-0-rust">
- <pre class="prettyprint"><code class="language-rust">extern crate A1PolicyManagementApi;
-
-pub fn main() {
- let policytypeId = policytypeId_example; // String
- let ricId = ricId_example; // String
- let serviceId = serviceId_example; // String
- let typeName = typeName_example; // String
-
- let mut context = A1PolicyManagementApi::Context::default();
- let result = client.getPolicyInstances(policytypeId, ricId, serviceId, typeName, &context).wait();
-
- println!("{:?}", result);
-}
-</code></pre>
- </div>
- </div>
-
- <h2>Scopes</h2>
- <table>
-
- </table>
-
- <h2>Parameters</h2>
-
-
-
-
-
- <div class="methodsubtabletitle">Query parameters</div>
- <table id="methodsubtable">
- <tr>
- <th width="150px">Name</th>
- <th>Description</th>
- </tr>
- <tr><td style="width:150px;">policytype_id</td>
-<td>
-
-
- <div id="d2e199_getPolicyInstances_policytypeId">
- <div class="json-schema-view">
- <div class="primitive">
- <span class="type">
- String
- </span>
-
- <div class="inner description marked">
-Select policies with a given type identity.
- </div>
- </div>
- </div>
- </div>
-</td>
-</tr>
-
- <tr><td style="width:150px;">ric_id</td>
-<td>
-
-
- <div id="d2e199_getPolicyInstances_ricId">
- <div class="json-schema-view">
- <div class="primitive">
- <span class="type">
- String
- </span>
-
- <div class="inner description marked">
-Select policies for a given Near-RT RIC identity.
- </div>
- </div>
- </div>
- </div>
-</td>
-</tr>
-
- <tr><td style="width:150px;">service_id</td>
-<td>
-
-
- <div id="d2e199_getPolicyInstances_serviceId">
- <div class="json-schema-view">
- <div class="primitive">
- <span class="type">
- String
- </span>
-
- <div class="inner description marked">
-Select policies owned by a given service.
- </div>
- </div>
- </div>
- </div>
-</td>
-</tr>
-
- <tr><td style="width:150px;">type_name</td>
-<td>
-
-
- <div id="d2e199_getPolicyInstances_typeName">
- <div class="json-schema-view">
- <div class="primitive">
- <span class="type">
- String
- </span>
-
- <div class="inner description marked">
-Select policies of a given type name (type identity has the format <typename_version>)
- </div>
- </div>
- </div>
- </div>
-</td>
-</tr>
-
- </table>
-
- <h2>Responses</h2>
- <h3 id="examples-A1PolicyManagement-getPolicyInstances-title-200"></h3>
- <p id="examples-A1PolicyManagement-getPolicyInstances-description-200" class="marked"></p>
+ <h3 id="examples-A1PolicyManagement-getPolicy-title-429"></h3>
+ <p id="examples-A1PolicyManagement-getPolicy-description-429" class="marked"></p>
<script>
- var responseA1PolicyManagement200_description = `OK - Returns A1 Policies which matches the criteria`;
- var responseA1PolicyManagement200_description_break = responseA1PolicyManagement200_description.indexOf('\n');
- if (responseA1PolicyManagement200_description_break == -1) {
- $("#examples-A1PolicyManagement-getPolicyInstances-title-200").text("Status: 200 - " + responseA1PolicyManagement200_description);
+ var responseA1PolicyManagement429_description = `Too Many Request`;
+ var responseA1PolicyManagement429_description_break = responseA1PolicyManagement429_description.indexOf('\n');
+ if (responseA1PolicyManagement429_description_break == -1) {
+ $("#examples-A1PolicyManagement-getPolicy-title-429").text("Status: 429 - " + responseA1PolicyManagement429_description);
} else {
- $("#examples-A1PolicyManagement-getPolicyInstances-title-200").text("Status: 200 - " + responseA1PolicyManagement200_description.substring(0, responseA1PolicyManagement200_description_break));
- $("#examples-A1PolicyManagement-getPolicyInstances-description-200").html(responseA1PolicyManagement200_description.substring(responseA1PolicyManagement200_description_break));
+ $("#examples-A1PolicyManagement-getPolicy-title-429").text("Status: 429 - " + responseA1PolicyManagement429_description.substring(0, responseA1PolicyManagement429_description_break));
+ $("#examples-A1PolicyManagement-getPolicy-description-429").html(responseA1PolicyManagement429_description.substring(responseA1PolicyManagement429_description_break));
}
</script>
- <ul id="responses-detail-A1PolicyManagement-getPolicyInstances-200" class="nav nav-tabs nav-tabs-examples" >
+ <ul id="responses-detail-A1PolicyManagement-getPolicy-429" class="nav nav-tabs nav-tabs-examples" >
<li class="active">
- <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicyInstances-200-schema">Schema</a>
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicy-429-schema">Schema</a>
</li>
@@ -2882,391 +5507,74 @@
</ul>
- <div class="tab-content" id="responses-A1PolicyManagement-getPolicyInstances-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyInstances-200-schema">
- <div id="responses-A1PolicyManagement-getPolicyInstances-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
- Object.keys(schema.properties).forEach( (item) => {
- if (schema.properties[item].$ref != null) {
- schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
- }
- });
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
- }
-
- var view = new JSONSchemaView(schema, 3);
- $('#responses-A1PolicyManagement-getPolicyInstances-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-A1PolicyManagement-getPolicyInstances-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-A1PolicyManagement-getPolicyInstances-200-schema-data' type='hidden' value=''></input>
- </div>
- </div>
- <h3 id="examples-A1PolicyManagement-getPolicyInstances-title-404"></h3>
- <p id="examples-A1PolicyManagement-getPolicyInstances-description-404" class="marked"></p>
- <script>
- var responseA1PolicyManagement404_description = `Not Found - Near-RT RIC, policy type or service not found`;
- var responseA1PolicyManagement404_description_break = responseA1PolicyManagement404_description.indexOf('\n');
- if (responseA1PolicyManagement404_description_break == -1) {
- $("#examples-A1PolicyManagement-getPolicyInstances-title-404").text("Status: 404 - " + responseA1PolicyManagement404_description);
- } else {
- $("#examples-A1PolicyManagement-getPolicyInstances-title-404").text("Status: 404 - " + responseA1PolicyManagement404_description.substring(0, responseA1PolicyManagement404_description_break));
- $("#examples-A1PolicyManagement-getPolicyInstances-description-404").html(responseA1PolicyManagement404_description.substring(responseA1PolicyManagement404_description_break));
- }
- </script>
-
-
- <ul id="responses-detail-A1PolicyManagement-getPolicyInstances-404" class="nav nav-tabs nav-tabs-examples" >
- <li class="active">
- <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicyInstances-404-schema">Schema</a>
- </li>
-
-
-
-
- </ul>
-
-
- <div class="tab-content" id="responses-A1PolicyManagement-getPolicyInstances-404-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyInstances-404-schema">
- <div id="responses-A1PolicyManagement-getPolicyInstances-schema-404" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
- Object.keys(schema.properties).forEach( (item) => {
- if (schema.properties[item].$ref != null) {
- schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
- }
- });
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
- }
-
- var view = new JSONSchemaView(schema, 3);
- $('#responses-A1PolicyManagement-getPolicyInstances-404-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-A1PolicyManagement-getPolicyInstances-schema-404');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-A1PolicyManagement-getPolicyInstances-404-schema-data' type='hidden' value=''></input>
- </div>
- </div>
- </article>
- </div>
- <hr>
- <div id="api-A1PolicyManagement-getPolicyStatus">
- <article id="api-A1PolicyManagement-getPolicyStatus-0" data-group="User" data-name="getPolicyStatus" data-version="0">
- <div class="pull-left">
- <h1>getPolicyStatus</h1>
- <p></p>
- </div>
- <div class="pull-right"></div>
- <div class="clearfix"></div>
- <p></p>
- <p class="marked">Returns a policy status</p>
- <p></p>
- <br />
- <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/a1-policy/v2/policies/{policy_id}/status</span></code></pre>
- <p>
- <h3>Usage and SDK Samples</h3>
- </p>
- <ul class="nav nav-tabs nav-tabs-examples">
- <li class="active"><a href="#examples-A1PolicyManagement-getPolicyStatus-0-curl">Curl</a></li>
- <li class=""><a href="#examples-A1PolicyManagement-getPolicyStatus-0-java">Java</a></li>
- <li class=""><a href="#examples-A1PolicyManagement-getPolicyStatus-0-android">Android</a></li>
- <!--<li class=""><a href="#examples-A1PolicyManagement-getPolicyStatus-0-groovy">Groovy</a></li>-->
- <li class=""><a href="#examples-A1PolicyManagement-getPolicyStatus-0-objc">Obj-C</a></li>
- <li class=""><a href="#examples-A1PolicyManagement-getPolicyStatus-0-javascript">JavaScript</a></li>
- <!--<li class=""><a href="#examples-A1PolicyManagement-getPolicyStatus-0-angular">Angular</a></li>-->
- <li class=""><a href="#examples-A1PolicyManagement-getPolicyStatus-0-csharp">C#</a></li>
- <li class=""><a href="#examples-A1PolicyManagement-getPolicyStatus-0-php">PHP</a></li>
- <li class=""><a href="#examples-A1PolicyManagement-getPolicyStatus-0-perl">Perl</a></li>
- <li class=""><a href="#examples-A1PolicyManagement-getPolicyStatus-0-python">Python</a></li>
- <li class=""><a href="#examples-A1PolicyManagement-getPolicyStatus-0-rust">Rust</a></li>
- </ul>
-
- <div class="tab-content">
- <div class="tab-pane active" id="examples-A1PolicyManagement-getPolicyStatus-0-curl">
- <pre class="prettyprint"><code class="language-bsh">curl -X GET \
- -H "Accept: application/json,application/problem+json" \
- "http://localhost/a1-policy/v2/policies/{policy_id}/status"
-</code></pre>
- </div>
- <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyStatus-0-java">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
-import org.openapitools.client.auth.*;
-import org.openapitools.client.model.*;
-import org.openapitools.client.api.A1PolicyManagementApi;
-
-import java.io.File;
-import java.util.*;
-
-public class A1PolicyManagementApiExample {
- public static void main(String[] args) {
-
- // Create an instance of the API class
- A1PolicyManagementApi apiInstance = new A1PolicyManagementApi();
- String policyId = policyId_example; // String |
-
- try {
- policy_status_info result = apiInstance.getPolicyStatus(policyId);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling A1PolicyManagementApi#getPolicyStatus");
- e.printStackTrace();
- }
+ <div class="tab-content" id="responses-A1PolicyManagement-getPolicy-429-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicy-429-schema">
+ <div id="responses-A1PolicyManagement-getPolicy-schema-429" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Too Many Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
}
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyStatus-0-android">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.A1PolicyManagementApi;
-
-public class A1PolicyManagementApiExample {
- public static void main(String[] args) {
- A1PolicyManagementApi apiInstance = new A1PolicyManagementApi();
- String policyId = policyId_example; // String |
-
- try {
- policy_status_info result = apiInstance.getPolicyStatus(policyId);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling A1PolicyManagementApi#getPolicyStatus");
- e.printStackTrace();
- }
- }
-}</code></pre>
- </div>
- <!--
- <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyStatus-0-groovy">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div> -->
- <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyStatus-0-objc">
- <pre class="prettyprint"><code class="language-cpp">
-
-// Create an instance of the API class
-A1PolicyManagementApi *apiInstance = [[A1PolicyManagementApi alloc] init];
-String *policyId = policyId_example; // (default to null)
-
-[apiInstance getPolicyStatusWith:policyId
- completionHandler: ^(policy_status_info output, NSError* error) {
- if (output) {
- NSLog(@"%@", output);
- }
- if (error) {
- NSLog(@"Error: %@", error);
- }
-}];
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyStatus-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
-
-// Create an instance of the API class
-var api = new A1PolicyManagementService.A1PolicyManagementApi()
-var policyId = policyId_example; // {String}
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
}
};
-api.getPolicyStatus(policyId, callback);
-</code></pre>
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicy-429-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicy-schema-429');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getPolicy-429-schema-data' type='hidden' value=''></input>
+ </div>
</div>
-
- <!--<div class="tab-pane" id="examples-A1PolicyManagement-getPolicyStatus-0-angular">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div>-->
- <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyStatus-0-csharp">
- <pre class="prettyprint"><code class="language-cs">using System;
-using System.Diagnostics;
-using Org.OpenAPITools.Api;
-using Org.OpenAPITools.Client;
-using Org.OpenAPITools.Model;
-
-namespace Example
-{
- public class getPolicyStatusExample
- {
- public void main()
- {
-
- // Create an instance of the API class
- var apiInstance = new A1PolicyManagementApi();
- var policyId = policyId_example; // String | (default to null)
-
- try {
- policy_status_info result = apiInstance.getPolicyStatus(policyId);
- Debug.WriteLine(result);
- } catch (Exception e) {
- Debug.Print("Exception when calling A1PolicyManagementApi.getPolicyStatus: " + e.Message );
- }
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyStatus-0-php">
- <pre class="prettyprint"><code class="language-php"><?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-// Create an instance of the API class
-$api_instance = new OpenAPITools\Client\Api\A1PolicyManagementApi();
-$policyId = policyId_example; // String |
-
-try {
- $result = $api_instance->getPolicyStatus($policyId);
- print_r($result);
-} catch (Exception $e) {
- echo 'Exception when calling A1PolicyManagementApi->getPolicyStatus: ', $e->getMessage(), PHP_EOL;
-}
-?></code></pre>
- </div>
-
- <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyStatus-0-perl">
- <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
-use WWW::OPenAPIClient::Configuration;
-use WWW::OPenAPIClient::A1PolicyManagementApi;
-
-# Create an instance of the API class
-my $api_instance = WWW::OPenAPIClient::A1PolicyManagementApi->new();
-my $policyId = policyId_example; # String |
-
-eval {
- my $result = $api_instance->getPolicyStatus(policyId => $policyId);
- print Dumper($result);
-};
-if ($@) {
- warn "Exception when calling A1PolicyManagementApi->getPolicyStatus: $@\n";
-}</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyStatus-0-python">
- <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
-import time
-import openapi_client
-from openapi_client.rest import ApiException
-from pprint import pprint
-
-# Create an instance of the API class
-api_instance = openapi_client.A1PolicyManagementApi()
-policyId = policyId_example # String | (default to null)
-
-try:
- api_response = api_instance.get_policy_status(policyId)
- pprint(api_response)
-except ApiException as e:
- print("Exception when calling A1PolicyManagementApi->getPolicyStatus: %s\n" % e)</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyStatus-0-rust">
- <pre class="prettyprint"><code class="language-rust">extern crate A1PolicyManagementApi;
-
-pub fn main() {
- let policyId = policyId_example; // String
-
- let mut context = A1PolicyManagementApi::Context::default();
- let result = client.getPolicyStatus(policyId, &context).wait();
-
- println!("{:?}", result);
-}
-</code></pre>
- </div>
- </div>
-
- <h2>Scopes</h2>
- <table>
-
- </table>
-
- <h2>Parameters</h2>
-
- <div class="methodsubtabletitle">Path parameters</div>
- <table id="methodsubtable">
- <tr>
- <th width="150px">Name</th>
- <th>Description</th>
- </tr>
- <tr><td style="width:150px;">policy_id*</td>
-<td>
-
-
- <div id="d2e199_getPolicyStatus_policyId">
- <div class="json-schema-view">
- <div class="primitive">
- <span class="type">
- String
- </span>
-
- </div>
- <div class="inner required">
- Required
- </div>
- </div>
- </div>
-</td>
-</tr>
-
- </table>
-
-
-
-
-
- <h2>Responses</h2>
- <h3 id="examples-A1PolicyManagement-getPolicyStatus-title-200"></h3>
- <p id="examples-A1PolicyManagement-getPolicyStatus-description-200" class="marked"></p>
+ <h3 id="examples-A1PolicyManagement-getPolicy-title-500"></h3>
+ <p id="examples-A1PolicyManagement-getPolicy-description-500" class="marked"></p>
<script>
- var responseA1PolicyManagement200_description = `OK - Policy status`;
- var responseA1PolicyManagement200_description_break = responseA1PolicyManagement200_description.indexOf('\n');
- if (responseA1PolicyManagement200_description_break == -1) {
- $("#examples-A1PolicyManagement-getPolicyStatus-title-200").text("Status: 200 - " + responseA1PolicyManagement200_description);
+ var responseA1PolicyManagement500_description = `Internal Server Error`;
+ var responseA1PolicyManagement500_description_break = responseA1PolicyManagement500_description.indexOf('\n');
+ if (responseA1PolicyManagement500_description_break == -1) {
+ $("#examples-A1PolicyManagement-getPolicy-title-500").text("Status: 500 - " + responseA1PolicyManagement500_description);
} else {
- $("#examples-A1PolicyManagement-getPolicyStatus-title-200").text("Status: 200 - " + responseA1PolicyManagement200_description.substring(0, responseA1PolicyManagement200_description_break));
- $("#examples-A1PolicyManagement-getPolicyStatus-description-200").html(responseA1PolicyManagement200_description.substring(responseA1PolicyManagement200_description_break));
+ $("#examples-A1PolicyManagement-getPolicy-title-500").text("Status: 500 - " + responseA1PolicyManagement500_description.substring(0, responseA1PolicyManagement500_description_break));
+ $("#examples-A1PolicyManagement-getPolicy-description-500").html(responseA1PolicyManagement500_description.substring(responseA1PolicyManagement500_description_break));
}
</script>
- <ul id="responses-detail-A1PolicyManagement-getPolicyStatus-200" class="nav nav-tabs nav-tabs-examples" >
+ <ul id="responses-detail-A1PolicyManagement-getPolicy-500" class="nav nav-tabs nav-tabs-examples" >
<li class="active">
- <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicyStatus-200-schema">Schema</a>
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicy-500-schema">Schema</a>
</li>
@@ -3275,64 +5583,208 @@
</ul>
- <div class="tab-content" id="responses-A1PolicyManagement-getPolicyStatus-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyStatus-200-schema">
- <div id="responses-A1PolicyManagement-getPolicyStatus-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-content" id="responses-A1PolicyManagement-getPolicy-500-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicy-500-schema">
+ <div id="responses-A1PolicyManagement-getPolicy-schema-500" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Internal Server Error",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-A1PolicyManagement-getPolicyStatus-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-A1PolicyManagement-getPolicyStatus-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-A1PolicyManagement-getPolicyStatus-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicy-500-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicy-schema-500');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-A1PolicyManagement-getPolicy-500-schema-data' type='hidden' value=''></input>
+ </div>
</div>
- <h3 id="examples-A1PolicyManagement-getPolicyStatus-title-404"></h3>
- <p id="examples-A1PolicyManagement-getPolicyStatus-description-404" class="marked"></p>
+ <h3 id="examples-A1PolicyManagement-getPolicy-title-502"></h3>
+ <p id="examples-A1PolicyManagement-getPolicy-description-502" class="marked"></p>
<script>
- var responseA1PolicyManagement404_description = `Not Found`;
- var responseA1PolicyManagement404_description_break = responseA1PolicyManagement404_description.indexOf('\n');
- if (responseA1PolicyManagement404_description_break == -1) {
- $("#examples-A1PolicyManagement-getPolicyStatus-title-404").text("Status: 404 - " + responseA1PolicyManagement404_description);
+ var responseA1PolicyManagement502_description = `Bad Gateway`;
+ var responseA1PolicyManagement502_description_break = responseA1PolicyManagement502_description.indexOf('\n');
+ if (responseA1PolicyManagement502_description_break == -1) {
+ $("#examples-A1PolicyManagement-getPolicy-title-502").text("Status: 502 - " + responseA1PolicyManagement502_description);
} else {
- $("#examples-A1PolicyManagement-getPolicyStatus-title-404").text("Status: 404 - " + responseA1PolicyManagement404_description.substring(0, responseA1PolicyManagement404_description_break));
- $("#examples-A1PolicyManagement-getPolicyStatus-description-404").html(responseA1PolicyManagement404_description.substring(responseA1PolicyManagement404_description_break));
+ $("#examples-A1PolicyManagement-getPolicy-title-502").text("Status: 502 - " + responseA1PolicyManagement502_description.substring(0, responseA1PolicyManagement502_description_break));
+ $("#examples-A1PolicyManagement-getPolicy-description-502").html(responseA1PolicyManagement502_description.substring(responseA1PolicyManagement502_description_break));
}
</script>
- <ul id="responses-detail-A1PolicyManagement-getPolicyStatus-404" class="nav nav-tabs nav-tabs-examples" >
+ <ul id="responses-detail-A1PolicyManagement-getPolicy-502" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicy-502-schema">Schema</a>
+ </li>
+
+
</ul>
- <div class="tab-content" id="responses-A1PolicyManagement-getPolicyStatus-404-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-content" id="responses-A1PolicyManagement-getPolicy-502-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicy-502-schema">
+ <div id="responses-A1PolicyManagement-getPolicy-schema-502" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Bad Gateway",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicy-502-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicy-schema-502');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getPolicy-502-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-getPolicy-title-503"></h3>
+ <p id="examples-A1PolicyManagement-getPolicy-description-503" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement503_description = `Service Unavailable`;
+ var responseA1PolicyManagement503_description_break = responseA1PolicyManagement503_description.indexOf('\n');
+ if (responseA1PolicyManagement503_description_break == -1) {
+ $("#examples-A1PolicyManagement-getPolicy-title-503").text("Status: 503 - " + responseA1PolicyManagement503_description);
+ } else {
+ $("#examples-A1PolicyManagement-getPolicy-title-503").text("Status: 503 - " + responseA1PolicyManagement503_description.substring(0, responseA1PolicyManagement503_description_break));
+ $("#examples-A1PolicyManagement-getPolicy-description-503").html(responseA1PolicyManagement503_description.substring(responseA1PolicyManagement503_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-getPolicy-503" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicy-503-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-getPolicy-503-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicy-503-schema">
+ <div id="responses-A1PolicyManagement-getPolicy-schema-503" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Service Unavailable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicy-503-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicy-schema-503');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getPolicy-503-schema-data' type='hidden' value=''></input>
+ </div>
</div>
</article>
</div>
@@ -3349,13 +5801,14 @@
<p class="marked">Returns a policy type definition</p>
<p></p>
<br />
- <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/a1-policy/v2/policy-types/{policytype_id}</span></code></pre>
+ <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/policy-types/{policyTypeId}</span></code></pre>
<p>
<h3>Usage and SDK Samples</h3>
</p>
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="#examples-A1PolicyManagement-getPolicyTypeDefinition-0-curl">Curl</a></li>
<li class=""><a href="#examples-A1PolicyManagement-getPolicyTypeDefinition-0-java">Java</a></li>
+ <li class=""><a href="#examples-A1PolicyManagement-getPolicyTypeDefinition-0-dart">Dart</a></li>
<li class=""><a href="#examples-A1PolicyManagement-getPolicyTypeDefinition-0-android">Android</a></li>
<!--<li class=""><a href="#examples-A1PolicyManagement-getPolicyTypeDefinition-0-groovy">Groovy</a></li>-->
<li class=""><a href="#examples-A1PolicyManagement-getPolicyTypeDefinition-0-objc">Obj-C</a></li>
@@ -3372,7 +5825,7 @@
<div class="tab-pane active" id="examples-A1PolicyManagement-getPolicyTypeDefinition-0-curl">
<pre class="prettyprint"><code class="language-bsh">curl -X GET \
-H "Accept: application/json,application/problem+json" \
- "http://localhost/a1-policy/v2/policy-types/{policytype_id}"
+ "https://example.com/a1-policy-management/v1/policy-types/{policyTypeId}"
</code></pre>
</div>
<div class="tab-pane" id="examples-A1PolicyManagement-getPolicyTypeDefinition-0-java">
@@ -3389,10 +5842,11 @@
// Create an instance of the API class
A1PolicyManagementApi apiInstance = new A1PolicyManagementApi();
- String policytypeId = policytypeId_example; // String |
+ String policyTypeId = policyTypeId_example; // String |
+ String accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
try {
- policy_type_definition result = apiInstance.getPolicyTypeDefinition(policytypeId);
+ Object result = apiInstance.getPolicyTypeDefinition(policyTypeId, accept);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling A1PolicyManagementApi#getPolicyTypeDefinition");
@@ -3403,16 +5857,35 @@
</code></pre>
</div>
+ <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyTypeDefinition-0-dart">
+ <pre class="prettyprint"><code class="language-dart">import 'package:openapi/api.dart';
+
+final api_instance = DefaultApi();
+
+final String policyTypeId = new String(); // String |
+final String accept = new String(); // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
+
+try {
+ final result = await api_instance.getPolicyTypeDefinition(policyTypeId, accept);
+ print(result);
+} catch (e) {
+ print('Exception when calling DefaultApi->getPolicyTypeDefinition: $e\n');
+}
+
+</code></pre>
+ </div>
+
<div class="tab-pane" id="examples-A1PolicyManagement-getPolicyTypeDefinition-0-android">
<pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.A1PolicyManagementApi;
public class A1PolicyManagementApiExample {
public static void main(String[] args) {
A1PolicyManagementApi apiInstance = new A1PolicyManagementApi();
- String policytypeId = policytypeId_example; // String |
+ String policyTypeId = policyTypeId_example; // String |
+ String accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
try {
- policy_type_definition result = apiInstance.getPolicyTypeDefinition(policytypeId);
+ Object result = apiInstance.getPolicyTypeDefinition(policyTypeId, accept);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling A1PolicyManagementApi#getPolicyTypeDefinition");
@@ -3430,10 +5903,12 @@
// Create an instance of the API class
A1PolicyManagementApi *apiInstance = [[A1PolicyManagementApi alloc] init];
-String *policytypeId = policytypeId_example; // (default to null)
+String *policyTypeId = policyTypeId_example; // (default to null)
+String *accept = application/json; // Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. (optional) (default to null)
-[apiInstance getPolicyTypeDefinitionWith:policytypeId
- completionHandler: ^(policy_type_definition output, NSError* error) {
+[apiInstance getPolicyTypeDefinitionWith:policyTypeId
+ accept:accept
+ completionHandler: ^(Object output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
@@ -3445,11 +5920,14 @@
</div>
<div class="tab-pane" id="examples-A1PolicyManagement-getPolicyTypeDefinition-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
+ <pre class="prettyprint"><code class="language-js">var A1PolicyManagementApi = require('a1_policy_management_api');
// Create an instance of the API class
-var api = new A1PolicyManagementService.A1PolicyManagementApi()
-var policytypeId = policytypeId_example; // {String}
+var api = new A1PolicyManagementApi.A1PolicyManagementApi()
+var policyTypeId = policyTypeId_example; // {String}
+var opts = {
+ 'accept': application/json // {String} Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
+};
var callback = function(error, data, response) {
if (error) {
@@ -3458,7 +5936,7 @@
console.log('API called successfully. Returned data: ' + data);
}
};
-api.getPolicyTypeDefinition(policytypeId, callback);
+api.getPolicyTypeDefinition(policyTypeId, opts, callback);
</code></pre>
</div>
@@ -3481,10 +5959,11 @@
// Create an instance of the API class
var apiInstance = new A1PolicyManagementApi();
- var policytypeId = policytypeId_example; // String | (default to null)
+ var policyTypeId = policyTypeId_example; // String | (default to null)
+ var accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. (optional) (default to null)
try {
- policy_type_definition result = apiInstance.getPolicyTypeDefinition(policytypeId);
+ Object result = apiInstance.getPolicyTypeDefinition(policyTypeId, accept);
Debug.WriteLine(result);
} catch (Exception e) {
Debug.Print("Exception when calling A1PolicyManagementApi.getPolicyTypeDefinition: " + e.Message );
@@ -3501,10 +5980,11 @@
// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\A1PolicyManagementApi();
-$policytypeId = policytypeId_example; // String |
+$policyTypeId = policyTypeId_example; // String |
+$accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
try {
- $result = $api_instance->getPolicyTypeDefinition($policytypeId);
+ $result = $api_instance->getPolicyTypeDefinition($policyTypeId, $accept);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling A1PolicyManagementApi->getPolicyTypeDefinition: ', $e->getMessage(), PHP_EOL;
@@ -3519,10 +5999,11 @@
# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::A1PolicyManagementApi->new();
-my $policytypeId = policytypeId_example; # String |
+my $policyTypeId = policyTypeId_example; # String |
+my $accept = application/json; # String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
eval {
- my $result = $api_instance->getPolicyTypeDefinition(policytypeId => $policytypeId);
+ my $result = $api_instance->getPolicyTypeDefinition(policyTypeId => $policyTypeId, accept => $accept);
print Dumper($result);
};
if ($@) {
@@ -3539,10 +6020,11 @@
# Create an instance of the API class
api_instance = openapi_client.A1PolicyManagementApi()
-policytypeId = policytypeId_example # String | (default to null)
+policyTypeId = policyTypeId_example # String | (default to null)
+accept = application/json # String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. (optional) (default to null)
try:
- api_response = api_instance.get_policy_type_definition(policytypeId)
+ api_response = api_instance.get_policy_type_definition(policyTypeId, accept=accept)
pprint(api_response)
except ApiException as e:
print("Exception when calling A1PolicyManagementApi->getPolicyTypeDefinition: %s\n" % e)</code></pre>
@@ -3552,10 +6034,11 @@
<pre class="prettyprint"><code class="language-rust">extern crate A1PolicyManagementApi;
pub fn main() {
- let policytypeId = policytypeId_example; // String
+ let policyTypeId = policyTypeId_example; // String
+ let accept = application/json; // String
let mut context = A1PolicyManagementApi::Context::default();
- let result = client.getPolicyTypeDefinition(policytypeId, &context).wait();
+ let result = client.getPolicyTypeDefinition(policyTypeId, accept, &context).wait();
println!("{:?}", result);
}
@@ -3576,11 +6059,11 @@
<th width="150px">Name</th>
<th>Description</th>
</tr>
- <tr><td style="width:150px;">policytype_id*</td>
+ <tr><td style="width:150px;">policyTypeId*</td>
<td>
- <div id="d2e199_getPolicyTypeDefinition_policytypeId">
+ <div id="d2e199_getPolicyTypeDefinition_policyTypeId">
<div class="json-schema-view">
<div class="primitive">
<span class="type">
@@ -3598,6 +6081,33 @@
</table>
+ <div class="methodsubtabletitle">Header parameters</div>
+ <table id="methodsubtable">
+ <tr>
+ <th width="150px">Name</th>
+ <th>Description</th>
+ </tr>
+ <tr><td style="width:150px;">Accept</td>
+<td>
+
+
+ <div id="d2e199_getPolicyTypeDefinition_accept">
+ <div class="json-schema-view">
+ <div class="primitive">
+ <span class="type">
+ String
+ </span>
+
+ <div class="inner description marked">
+Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
+ </div>
+ </div>
+ </div>
+ </div>
+</td>
+</tr>
+
+ </table>
@@ -3629,41 +6139,288 @@
<div class="tab-content" id="responses-A1PolicyManagement-getPolicyTypeDefinition-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyTypeDefinition-200-schema">
- <div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyTypeDefinition-200-schema">
+ <div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-200" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "OK - schema of the given policy type",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/PolicyObject"
+ },
+ "examples" : {
+ "policyObject" : {
+ "$ref" : "#/components/examples/PolicyObject"
+ }
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicyTypeDefinition-200-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicyTypeDefinition-schema-200');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getPolicyTypeDefinition-200-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-getPolicyTypeDefinition-title-400"></h3>
+ <p id="examples-A1PolicyManagement-getPolicyTypeDefinition-description-400" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement400_description = `Bad Request`;
+ var responseA1PolicyManagement400_description_break = responseA1PolicyManagement400_description.indexOf('\n');
+ if (responseA1PolicyManagement400_description_break == -1) {
+ $("#examples-A1PolicyManagement-getPolicyTypeDefinition-title-400").text("Status: 400 - " + responseA1PolicyManagement400_description);
+ } else {
+ $("#examples-A1PolicyManagement-getPolicyTypeDefinition-title-400").text("Status: 400 - " + responseA1PolicyManagement400_description.substring(0, responseA1PolicyManagement400_description_break));
+ $("#examples-A1PolicyManagement-getPolicyTypeDefinition-description-400").html(responseA1PolicyManagement400_description.substring(responseA1PolicyManagement400_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-getPolicyTypeDefinition-400" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicyTypeDefinition-400-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-getPolicyTypeDefinition-400-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyTypeDefinition-400-schema">
+ <div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-400" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Bad Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
});
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-A1PolicyManagement-getPolicyTypeDefinition-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-A1PolicyManagement-getPolicyTypeDefinition-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-A1PolicyManagement-getPolicyTypeDefinition-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicyTypeDefinition-400-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicyTypeDefinition-schema-400');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-A1PolicyManagement-getPolicyTypeDefinition-400-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-getPolicyTypeDefinition-title-401"></h3>
+ <p id="examples-A1PolicyManagement-getPolicyTypeDefinition-description-401" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement401_description = `Unauthorized`;
+ var responseA1PolicyManagement401_description_break = responseA1PolicyManagement401_description.indexOf('\n');
+ if (responseA1PolicyManagement401_description_break == -1) {
+ $("#examples-A1PolicyManagement-getPolicyTypeDefinition-title-401").text("Status: 401 - " + responseA1PolicyManagement401_description);
+ } else {
+ $("#examples-A1PolicyManagement-getPolicyTypeDefinition-title-401").text("Status: 401 - " + responseA1PolicyManagement401_description.substring(0, responseA1PolicyManagement401_description_break));
+ $("#examples-A1PolicyManagement-getPolicyTypeDefinition-description-401").html(responseA1PolicyManagement401_description.substring(responseA1PolicyManagement401_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-getPolicyTypeDefinition-401" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicyTypeDefinition-401-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-getPolicyTypeDefinition-401-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyTypeDefinition-401-schema">
+ <div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-401" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Unauthorized",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicyTypeDefinition-401-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicyTypeDefinition-schema-401');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getPolicyTypeDefinition-401-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-getPolicyTypeDefinition-title-403"></h3>
+ <p id="examples-A1PolicyManagement-getPolicyTypeDefinition-description-403" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement403_description = `Forbidden`;
+ var responseA1PolicyManagement403_description_break = responseA1PolicyManagement403_description.indexOf('\n');
+ if (responseA1PolicyManagement403_description_break == -1) {
+ $("#examples-A1PolicyManagement-getPolicyTypeDefinition-title-403").text("Status: 403 - " + responseA1PolicyManagement403_description);
+ } else {
+ $("#examples-A1PolicyManagement-getPolicyTypeDefinition-title-403").text("Status: 403 - " + responseA1PolicyManagement403_description.substring(0, responseA1PolicyManagement403_description_break));
+ $("#examples-A1PolicyManagement-getPolicyTypeDefinition-description-403").html(responseA1PolicyManagement403_description.substring(responseA1PolicyManagement403_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-getPolicyTypeDefinition-403" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicyTypeDefinition-403-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-getPolicyTypeDefinition-403-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyTypeDefinition-403-schema">
+ <div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-403" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Forbidden",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicyTypeDefinition-403-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicyTypeDefinition-schema-403');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getPolicyTypeDefinition-403-schema-data' type='hidden' value=''></input>
+ </div>
</div>
<h3 id="examples-A1PolicyManagement-getPolicyTypeDefinition-title-404"></h3>
<p id="examples-A1PolicyManagement-getPolicyTypeDefinition-description-404" class="marked"></p>
@@ -3680,12 +6437,446 @@
<ul id="responses-detail-A1PolicyManagement-getPolicyTypeDefinition-404" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicyTypeDefinition-404-schema">Schema</a>
+ </li>
+
+
</ul>
<div class="tab-content" id="responses-A1PolicyManagement-getPolicyTypeDefinition-404-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyTypeDefinition-404-schema">
+ <div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-404" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicyTypeDefinition-404-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicyTypeDefinition-schema-404');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getPolicyTypeDefinition-404-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-getPolicyTypeDefinition-title-406"></h3>
+ <p id="examples-A1PolicyManagement-getPolicyTypeDefinition-description-406" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement406_description = `Not Acceptable`;
+ var responseA1PolicyManagement406_description_break = responseA1PolicyManagement406_description.indexOf('\n');
+ if (responseA1PolicyManagement406_description_break == -1) {
+ $("#examples-A1PolicyManagement-getPolicyTypeDefinition-title-406").text("Status: 406 - " + responseA1PolicyManagement406_description);
+ } else {
+ $("#examples-A1PolicyManagement-getPolicyTypeDefinition-title-406").text("Status: 406 - " + responseA1PolicyManagement406_description.substring(0, responseA1PolicyManagement406_description_break));
+ $("#examples-A1PolicyManagement-getPolicyTypeDefinition-description-406").html(responseA1PolicyManagement406_description.substring(responseA1PolicyManagement406_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-getPolicyTypeDefinition-406" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicyTypeDefinition-406-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-getPolicyTypeDefinition-406-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyTypeDefinition-406-schema">
+ <div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-406" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Not Acceptable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicyTypeDefinition-406-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicyTypeDefinition-schema-406');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getPolicyTypeDefinition-406-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-getPolicyTypeDefinition-title-429"></h3>
+ <p id="examples-A1PolicyManagement-getPolicyTypeDefinition-description-429" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement429_description = `Too Many Request`;
+ var responseA1PolicyManagement429_description_break = responseA1PolicyManagement429_description.indexOf('\n');
+ if (responseA1PolicyManagement429_description_break == -1) {
+ $("#examples-A1PolicyManagement-getPolicyTypeDefinition-title-429").text("Status: 429 - " + responseA1PolicyManagement429_description);
+ } else {
+ $("#examples-A1PolicyManagement-getPolicyTypeDefinition-title-429").text("Status: 429 - " + responseA1PolicyManagement429_description.substring(0, responseA1PolicyManagement429_description_break));
+ $("#examples-A1PolicyManagement-getPolicyTypeDefinition-description-429").html(responseA1PolicyManagement429_description.substring(responseA1PolicyManagement429_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-getPolicyTypeDefinition-429" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicyTypeDefinition-429-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-getPolicyTypeDefinition-429-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyTypeDefinition-429-schema">
+ <div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-429" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Too Many Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicyTypeDefinition-429-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicyTypeDefinition-schema-429');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getPolicyTypeDefinition-429-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-getPolicyTypeDefinition-title-500"></h3>
+ <p id="examples-A1PolicyManagement-getPolicyTypeDefinition-description-500" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement500_description = `Internal Server Error`;
+ var responseA1PolicyManagement500_description_break = responseA1PolicyManagement500_description.indexOf('\n');
+ if (responseA1PolicyManagement500_description_break == -1) {
+ $("#examples-A1PolicyManagement-getPolicyTypeDefinition-title-500").text("Status: 500 - " + responseA1PolicyManagement500_description);
+ } else {
+ $("#examples-A1PolicyManagement-getPolicyTypeDefinition-title-500").text("Status: 500 - " + responseA1PolicyManagement500_description.substring(0, responseA1PolicyManagement500_description_break));
+ $("#examples-A1PolicyManagement-getPolicyTypeDefinition-description-500").html(responseA1PolicyManagement500_description.substring(responseA1PolicyManagement500_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-getPolicyTypeDefinition-500" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicyTypeDefinition-500-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-getPolicyTypeDefinition-500-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyTypeDefinition-500-schema">
+ <div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-500" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Internal Server Error",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicyTypeDefinition-500-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicyTypeDefinition-schema-500');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getPolicyTypeDefinition-500-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-getPolicyTypeDefinition-title-502"></h3>
+ <p id="examples-A1PolicyManagement-getPolicyTypeDefinition-description-502" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement502_description = `Bad Gateway`;
+ var responseA1PolicyManagement502_description_break = responseA1PolicyManagement502_description.indexOf('\n');
+ if (responseA1PolicyManagement502_description_break == -1) {
+ $("#examples-A1PolicyManagement-getPolicyTypeDefinition-title-502").text("Status: 502 - " + responseA1PolicyManagement502_description);
+ } else {
+ $("#examples-A1PolicyManagement-getPolicyTypeDefinition-title-502").text("Status: 502 - " + responseA1PolicyManagement502_description.substring(0, responseA1PolicyManagement502_description_break));
+ $("#examples-A1PolicyManagement-getPolicyTypeDefinition-description-502").html(responseA1PolicyManagement502_description.substring(responseA1PolicyManagement502_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-getPolicyTypeDefinition-502" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicyTypeDefinition-502-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-getPolicyTypeDefinition-502-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyTypeDefinition-502-schema">
+ <div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-502" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Bad Gateway",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicyTypeDefinition-502-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicyTypeDefinition-schema-502');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getPolicyTypeDefinition-502-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-getPolicyTypeDefinition-title-503"></h3>
+ <p id="examples-A1PolicyManagement-getPolicyTypeDefinition-description-503" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement503_description = `Service Unavailable`;
+ var responseA1PolicyManagement503_description_break = responseA1PolicyManagement503_description.indexOf('\n');
+ if (responseA1PolicyManagement503_description_break == -1) {
+ $("#examples-A1PolicyManagement-getPolicyTypeDefinition-title-503").text("Status: 503 - " + responseA1PolicyManagement503_description);
+ } else {
+ $("#examples-A1PolicyManagement-getPolicyTypeDefinition-title-503").text("Status: 503 - " + responseA1PolicyManagement503_description.substring(0, responseA1PolicyManagement503_description_break));
+ $("#examples-A1PolicyManagement-getPolicyTypeDefinition-description-503").html(responseA1PolicyManagement503_description.substring(responseA1PolicyManagement503_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-getPolicyTypeDefinition-503" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicyTypeDefinition-503-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-getPolicyTypeDefinition-503-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyTypeDefinition-503-schema">
+ <div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-503" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Service Unavailable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicyTypeDefinition-503-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicyTypeDefinition-schema-503');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getPolicyTypeDefinition-503-schema-data' type='hidden' value=''></input>
+ </div>
</div>
</article>
</div>
@@ -3702,13 +6893,14 @@
<p class="marked">Query policy type identities</p>
<p></p>
<br />
- <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/a1-policy/v2/policy-types</span></code></pre>
+ <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/policy-types</span></code></pre>
<p>
<h3>Usage and SDK Samples</h3>
</p>
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="#examples-A1PolicyManagement-getPolicyTypes-0-curl">Curl</a></li>
<li class=""><a href="#examples-A1PolicyManagement-getPolicyTypes-0-java">Java</a></li>
+ <li class=""><a href="#examples-A1PolicyManagement-getPolicyTypes-0-dart">Dart</a></li>
<li class=""><a href="#examples-A1PolicyManagement-getPolicyTypes-0-android">Android</a></li>
<!--<li class=""><a href="#examples-A1PolicyManagement-getPolicyTypes-0-groovy">Groovy</a></li>-->
<li class=""><a href="#examples-A1PolicyManagement-getPolicyTypes-0-objc">Obj-C</a></li>
@@ -3725,7 +6917,7 @@
<div class="tab-pane active" id="examples-A1PolicyManagement-getPolicyTypes-0-curl">
<pre class="prettyprint"><code class="language-bsh">curl -X GET \
-H "Accept: application/json,application/problem+json" \
- "http://localhost/a1-policy/v2/policy-types?ric_id=ricId_example&type_name=typeName_example&compatible_with_version=compatibleWithVersion_example"
+ "https://example.com/a1-policy-management/v1/policy-types?nearRtRicId=nearRtRicId_example&typeName=typeName_example&compatibleWithVersion=compatibleWithVersion_example"
</code></pre>
</div>
<div class="tab-pane" id="examples-A1PolicyManagement-getPolicyTypes-0-java">
@@ -3742,12 +6934,13 @@
// Create an instance of the API class
A1PolicyManagementApi apiInstance = new A1PolicyManagementApi();
- String ricId = ricId_example; // String | Select types for the given Near-RT RIC identity.
+ String nearRtRicId = nearRtRicId_example; // String | Select types for the given Near-RT RIC identity.
String typeName = typeName_example; // String | Select types with the given type name (type identity has the format <typename_version>)
String compatibleWithVersion = compatibleWithVersion_example; // String | Select types that are compatible with the given version. This parameter is only applicable in conjunction with type_name. As an example version 1.9.1 is compatible with 1.0.0 but not the other way around. Matching types will be returned sorted in ascending order.
+ String accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
try {
- policy_type_id_list result = apiInstance.getPolicyTypes(ricId, typeName, compatibleWithVersion);
+ array[PolicyTypeInformation] result = apiInstance.getPolicyTypes(nearRtRicId, typeName, compatibleWithVersion, accept);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling A1PolicyManagementApi#getPolicyTypes");
@@ -3758,18 +6951,39 @@
</code></pre>
</div>
+ <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyTypes-0-dart">
+ <pre class="prettyprint"><code class="language-dart">import 'package:openapi/api.dart';
+
+final api_instance = DefaultApi();
+
+final String nearRtRicId = new String(); // String | Select types for the given Near-RT RIC identity.
+final String typeName = new String(); // String | Select types with the given type name (type identity has the format <typename_version>)
+final String compatibleWithVersion = new String(); // String | Select types that are compatible with the given version. This parameter is only applicable in conjunction with type_name. As an example version 1.9.1 is compatible with 1.0.0 but not the other way around. Matching types will be returned sorted in ascending order.
+final String accept = new String(); // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
+
+try {
+ final result = await api_instance.getPolicyTypes(nearRtRicId, typeName, compatibleWithVersion, accept);
+ print(result);
+} catch (e) {
+ print('Exception when calling DefaultApi->getPolicyTypes: $e\n');
+}
+
+</code></pre>
+ </div>
+
<div class="tab-pane" id="examples-A1PolicyManagement-getPolicyTypes-0-android">
<pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.A1PolicyManagementApi;
public class A1PolicyManagementApiExample {
public static void main(String[] args) {
A1PolicyManagementApi apiInstance = new A1PolicyManagementApi();
- String ricId = ricId_example; // String | Select types for the given Near-RT RIC identity.
+ String nearRtRicId = nearRtRicId_example; // String | Select types for the given Near-RT RIC identity.
String typeName = typeName_example; // String | Select types with the given type name (type identity has the format <typename_version>)
String compatibleWithVersion = compatibleWithVersion_example; // String | Select types that are compatible with the given version. This parameter is only applicable in conjunction with type_name. As an example version 1.9.1 is compatible with 1.0.0 but not the other way around. Matching types will be returned sorted in ascending order.
+ String accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
try {
- policy_type_id_list result = apiInstance.getPolicyTypes(ricId, typeName, compatibleWithVersion);
+ array[PolicyTypeInformation] result = apiInstance.getPolicyTypes(nearRtRicId, typeName, compatibleWithVersion, accept);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling A1PolicyManagementApi#getPolicyTypes");
@@ -3787,14 +7001,16 @@
// Create an instance of the API class
A1PolicyManagementApi *apiInstance = [[A1PolicyManagementApi alloc] init];
-String *ricId = ricId_example; // Select types for the given Near-RT RIC identity. (optional) (default to null)
+String *nearRtRicId = nearRtRicId_example; // Select types for the given Near-RT RIC identity. (optional) (default to null)
String *typeName = typeName_example; // Select types with the given type name (type identity has the format <typename_version>) (optional) (default to null)
String *compatibleWithVersion = compatibleWithVersion_example; // Select types that are compatible with the given version. This parameter is only applicable in conjunction with type_name. As an example version 1.9.1 is compatible with 1.0.0 but not the other way around. Matching types will be returned sorted in ascending order. (optional) (default to null)
+String *accept = application/json; // Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. (optional) (default to null)
-[apiInstance getPolicyTypesWith:ricId
+[apiInstance getPolicyTypesWith:nearRtRicId
typeName:typeName
compatibleWithVersion:compatibleWithVersion
- completionHandler: ^(policy_type_id_list output, NSError* error) {
+ accept:accept
+ completionHandler: ^(array[PolicyTypeInformation] output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
@@ -3806,14 +7022,15 @@
</div>
<div class="tab-pane" id="examples-A1PolicyManagement-getPolicyTypes-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
+ <pre class="prettyprint"><code class="language-js">var A1PolicyManagementApi = require('a1_policy_management_api');
// Create an instance of the API class
-var api = new A1PolicyManagementService.A1PolicyManagementApi()
+var api = new A1PolicyManagementApi.A1PolicyManagementApi()
var opts = {
- 'ricId': ricId_example, // {String} Select types for the given Near-RT RIC identity.
+ 'nearRtRicId': nearRtRicId_example, // {String} Select types for the given Near-RT RIC identity.
'typeName': typeName_example, // {String} Select types with the given type name (type identity has the format <typename_version>)
- 'compatibleWithVersion': compatibleWithVersion_example // {String} Select types that are compatible with the given version. This parameter is only applicable in conjunction with type_name. As an example version 1.9.1 is compatible with 1.0.0 but not the other way around. Matching types will be returned sorted in ascending order.
+ 'compatibleWithVersion': compatibleWithVersion_example, // {String} Select types that are compatible with the given version. This parameter is only applicable in conjunction with type_name. As an example version 1.9.1 is compatible with 1.0.0 but not the other way around. Matching types will be returned sorted in ascending order.
+ 'accept': application/json // {String} Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
};
var callback = function(error, data, response) {
@@ -3846,12 +7063,13 @@
// Create an instance of the API class
var apiInstance = new A1PolicyManagementApi();
- var ricId = ricId_example; // String | Select types for the given Near-RT RIC identity. (optional) (default to null)
+ var nearRtRicId = nearRtRicId_example; // String | Select types for the given Near-RT RIC identity. (optional) (default to null)
var typeName = typeName_example; // String | Select types with the given type name (type identity has the format <typename_version>) (optional) (default to null)
var compatibleWithVersion = compatibleWithVersion_example; // String | Select types that are compatible with the given version. This parameter is only applicable in conjunction with type_name. As an example version 1.9.1 is compatible with 1.0.0 but not the other way around. Matching types will be returned sorted in ascending order. (optional) (default to null)
+ var accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. (optional) (default to null)
try {
- policy_type_id_list result = apiInstance.getPolicyTypes(ricId, typeName, compatibleWithVersion);
+ array[PolicyTypeInformation] result = apiInstance.getPolicyTypes(nearRtRicId, typeName, compatibleWithVersion, accept);
Debug.WriteLine(result);
} catch (Exception e) {
Debug.Print("Exception when calling A1PolicyManagementApi.getPolicyTypes: " + e.Message );
@@ -3868,12 +7086,13 @@
// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\A1PolicyManagementApi();
-$ricId = ricId_example; // String | Select types for the given Near-RT RIC identity.
+$nearRtRicId = nearRtRicId_example; // String | Select types for the given Near-RT RIC identity.
$typeName = typeName_example; // String | Select types with the given type name (type identity has the format <typename_version>)
$compatibleWithVersion = compatibleWithVersion_example; // String | Select types that are compatible with the given version. This parameter is only applicable in conjunction with type_name. As an example version 1.9.1 is compatible with 1.0.0 but not the other way around. Matching types will be returned sorted in ascending order.
+$accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
try {
- $result = $api_instance->getPolicyTypes($ricId, $typeName, $compatibleWithVersion);
+ $result = $api_instance->getPolicyTypes($nearRtRicId, $typeName, $compatibleWithVersion, $accept);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling A1PolicyManagementApi->getPolicyTypes: ', $e->getMessage(), PHP_EOL;
@@ -3888,12 +7107,13 @@
# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::A1PolicyManagementApi->new();
-my $ricId = ricId_example; # String | Select types for the given Near-RT RIC identity.
+my $nearRtRicId = nearRtRicId_example; # String | Select types for the given Near-RT RIC identity.
my $typeName = typeName_example; # String | Select types with the given type name (type identity has the format <typename_version>)
my $compatibleWithVersion = compatibleWithVersion_example; # String | Select types that are compatible with the given version. This parameter is only applicable in conjunction with type_name. As an example version 1.9.1 is compatible with 1.0.0 but not the other way around. Matching types will be returned sorted in ascending order.
+my $accept = application/json; # String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
eval {
- my $result = $api_instance->getPolicyTypes(ricId => $ricId, typeName => $typeName, compatibleWithVersion => $compatibleWithVersion);
+ my $result = $api_instance->getPolicyTypes(nearRtRicId => $nearRtRicId, typeName => $typeName, compatibleWithVersion => $compatibleWithVersion, accept => $accept);
print Dumper($result);
};
if ($@) {
@@ -3910,12 +7130,13 @@
# Create an instance of the API class
api_instance = openapi_client.A1PolicyManagementApi()
-ricId = ricId_example # String | Select types for the given Near-RT RIC identity. (optional) (default to null)
+nearRtRicId = nearRtRicId_example # String | Select types for the given Near-RT RIC identity. (optional) (default to null)
typeName = typeName_example # String | Select types with the given type name (type identity has the format <typename_version>) (optional) (default to null)
compatibleWithVersion = compatibleWithVersion_example # String | Select types that are compatible with the given version. This parameter is only applicable in conjunction with type_name. As an example version 1.9.1 is compatible with 1.0.0 but not the other way around. Matching types will be returned sorted in ascending order. (optional) (default to null)
+accept = application/json # String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. (optional) (default to null)
try:
- api_response = api_instance.get_policy_types(ricId=ricId, typeName=typeName, compatibleWithVersion=compatibleWithVersion)
+ api_response = api_instance.get_policy_types(nearRtRicId=nearRtRicId, typeName=typeName, compatibleWithVersion=compatibleWithVersion, accept=accept)
pprint(api_response)
except ApiException as e:
print("Exception when calling A1PolicyManagementApi->getPolicyTypes: %s\n" % e)</code></pre>
@@ -3925,12 +7146,13 @@
<pre class="prettyprint"><code class="language-rust">extern crate A1PolicyManagementApi;
pub fn main() {
- let ricId = ricId_example; // String
+ let nearRtRicId = nearRtRicId_example; // String
let typeName = typeName_example; // String
let compatibleWithVersion = compatibleWithVersion_example; // String
+ let accept = application/json; // String
let mut context = A1PolicyManagementApi::Context::default();
- let result = client.getPolicyTypes(ricId, typeName, compatibleWithVersion, &context).wait();
+ let result = client.getPolicyTypes(nearRtRicId, typeName, compatibleWithVersion, accept, &context).wait();
println!("{:?}", result);
}
@@ -3946,6 +7168,33 @@
<h2>Parameters</h2>
+ <div class="methodsubtabletitle">Header parameters</div>
+ <table id="methodsubtable">
+ <tr>
+ <th width="150px">Name</th>
+ <th>Description</th>
+ </tr>
+ <tr><td style="width:150px;">Accept</td>
+<td>
+
+
+ <div id="d2e199_getPolicyTypes_accept">
+ <div class="json-schema-view">
+ <div class="primitive">
+ <span class="type">
+ String
+ </span>
+
+ <div class="inner description marked">
+Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
+ </div>
+ </div>
+ </div>
+ </div>
+</td>
+</tr>
+
+ </table>
@@ -3955,11 +7204,11 @@
<th width="150px">Name</th>
<th>Description</th>
</tr>
- <tr><td style="width:150px;">ric_id</td>
+ <tr><td style="width:150px;">nearRtRicId</td>
<td>
- <div id="d2e199_getPolicyTypes_ricId">
+ <div id="d2e199_getPolicyTypes_nearRtRicId">
<div class="json-schema-view">
<div class="primitive">
<span class="type">
@@ -3975,7 +7224,7 @@
</td>
</tr>
- <tr><td style="width:150px;">type_name</td>
+ <tr><td style="width:150px;">typeName</td>
<td>
@@ -3995,7 +7244,7 @@
</td>
</tr>
- <tr><td style="width:150px;">compatible_with_version</td>
+ <tr><td style="width:150px;">compatibleWithVersion</td>
<td>
@@ -4021,7 +7270,7 @@
<h3 id="examples-A1PolicyManagement-getPolicyTypes-title-200"></h3>
<p id="examples-A1PolicyManagement-getPolicyTypes-description-200" class="marked"></p>
<script>
- var responseA1PolicyManagement200_description = `OK - Policy Type IDs Found`;
+ var responseA1PolicyManagement200_description = `OK - Policy Type IDs found Ok`;
var responseA1PolicyManagement200_description_break = responseA1PolicyManagement200_description.indexOf('\n');
if (responseA1PolicyManagement200_description_break == -1) {
$("#examples-A1PolicyManagement-getPolicyTypes-title-200").text("Status: 200 - " + responseA1PolicyManagement200_description);
@@ -4044,41 +7293,286 @@
<div class="tab-content" id="responses-A1PolicyManagement-getPolicyTypes-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyTypes-200-schema">
- <div id="responses-A1PolicyManagement-getPolicyTypes-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyTypes-200-schema">
+ <div id="responses-A1PolicyManagement-getPolicyTypes-schema-200" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "OK - Policy Type IDs found Ok",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/PolicyTypeInformation"
+ }
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicyTypes-200-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicyTypes-schema-200');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getPolicyTypes-200-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-getPolicyTypes-title-400"></h3>
+ <p id="examples-A1PolicyManagement-getPolicyTypes-description-400" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement400_description = `Bad Request`;
+ var responseA1PolicyManagement400_description_break = responseA1PolicyManagement400_description.indexOf('\n');
+ if (responseA1PolicyManagement400_description_break == -1) {
+ $("#examples-A1PolicyManagement-getPolicyTypes-title-400").text("Status: 400 - " + responseA1PolicyManagement400_description);
+ } else {
+ $("#examples-A1PolicyManagement-getPolicyTypes-title-400").text("Status: 400 - " + responseA1PolicyManagement400_description.substring(0, responseA1PolicyManagement400_description_break));
+ $("#examples-A1PolicyManagement-getPolicyTypes-description-400").html(responseA1PolicyManagement400_description.substring(responseA1PolicyManagement400_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-getPolicyTypes-400" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicyTypes-400-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-getPolicyTypes-400-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyTypes-400-schema">
+ <div id="responses-A1PolicyManagement-getPolicyTypes-schema-400" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Bad Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
});
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-A1PolicyManagement-getPolicyTypes-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-A1PolicyManagement-getPolicyTypes-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-A1PolicyManagement-getPolicyTypes-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicyTypes-400-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicyTypes-schema-400');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-A1PolicyManagement-getPolicyTypes-400-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-getPolicyTypes-title-401"></h3>
+ <p id="examples-A1PolicyManagement-getPolicyTypes-description-401" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement401_description = `Unauthorized`;
+ var responseA1PolicyManagement401_description_break = responseA1PolicyManagement401_description.indexOf('\n');
+ if (responseA1PolicyManagement401_description_break == -1) {
+ $("#examples-A1PolicyManagement-getPolicyTypes-title-401").text("Status: 401 - " + responseA1PolicyManagement401_description);
+ } else {
+ $("#examples-A1PolicyManagement-getPolicyTypes-title-401").text("Status: 401 - " + responseA1PolicyManagement401_description.substring(0, responseA1PolicyManagement401_description_break));
+ $("#examples-A1PolicyManagement-getPolicyTypes-description-401").html(responseA1PolicyManagement401_description.substring(responseA1PolicyManagement401_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-getPolicyTypes-401" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicyTypes-401-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-getPolicyTypes-401-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyTypes-401-schema">
+ <div id="responses-A1PolicyManagement-getPolicyTypes-schema-401" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Unauthorized",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicyTypes-401-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicyTypes-schema-401');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getPolicyTypes-401-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-getPolicyTypes-title-403"></h3>
+ <p id="examples-A1PolicyManagement-getPolicyTypes-description-403" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement403_description = `Forbidden`;
+ var responseA1PolicyManagement403_description_break = responseA1PolicyManagement403_description.indexOf('\n');
+ if (responseA1PolicyManagement403_description_break == -1) {
+ $("#examples-A1PolicyManagement-getPolicyTypes-title-403").text("Status: 403 - " + responseA1PolicyManagement403_description);
+ } else {
+ $("#examples-A1PolicyManagement-getPolicyTypes-title-403").text("Status: 403 - " + responseA1PolicyManagement403_description.substring(0, responseA1PolicyManagement403_description_break));
+ $("#examples-A1PolicyManagement-getPolicyTypes-description-403").html(responseA1PolicyManagement403_description.substring(responseA1PolicyManagement403_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-getPolicyTypes-403" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicyTypes-403-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-getPolicyTypes-403-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyTypes-403-schema">
+ <div id="responses-A1PolicyManagement-getPolicyTypes-schema-403" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Forbidden",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicyTypes-403-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicyTypes-schema-403');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getPolicyTypes-403-schema-data' type='hidden' value=''></input>
+ </div>
</div>
<h3 id="examples-A1PolicyManagement-getPolicyTypes-title-404"></h3>
<p id="examples-A1PolicyManagement-getPolicyTypes-description-404" class="marked"></p>
@@ -4095,12 +7589,446 @@
<ul id="responses-detail-A1PolicyManagement-getPolicyTypes-404" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicyTypes-404-schema">Schema</a>
+ </li>
+
+
</ul>
<div class="tab-content" id="responses-A1PolicyManagement-getPolicyTypes-404-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyTypes-404-schema">
+ <div id="responses-A1PolicyManagement-getPolicyTypes-schema-404" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicyTypes-404-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicyTypes-schema-404');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getPolicyTypes-404-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-getPolicyTypes-title-406"></h3>
+ <p id="examples-A1PolicyManagement-getPolicyTypes-description-406" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement406_description = `Not Acceptable`;
+ var responseA1PolicyManagement406_description_break = responseA1PolicyManagement406_description.indexOf('\n');
+ if (responseA1PolicyManagement406_description_break == -1) {
+ $("#examples-A1PolicyManagement-getPolicyTypes-title-406").text("Status: 406 - " + responseA1PolicyManagement406_description);
+ } else {
+ $("#examples-A1PolicyManagement-getPolicyTypes-title-406").text("Status: 406 - " + responseA1PolicyManagement406_description.substring(0, responseA1PolicyManagement406_description_break));
+ $("#examples-A1PolicyManagement-getPolicyTypes-description-406").html(responseA1PolicyManagement406_description.substring(responseA1PolicyManagement406_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-getPolicyTypes-406" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicyTypes-406-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-getPolicyTypes-406-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyTypes-406-schema">
+ <div id="responses-A1PolicyManagement-getPolicyTypes-schema-406" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Not Acceptable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicyTypes-406-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicyTypes-schema-406');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getPolicyTypes-406-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-getPolicyTypes-title-429"></h3>
+ <p id="examples-A1PolicyManagement-getPolicyTypes-description-429" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement429_description = `Too Many Request`;
+ var responseA1PolicyManagement429_description_break = responseA1PolicyManagement429_description.indexOf('\n');
+ if (responseA1PolicyManagement429_description_break == -1) {
+ $("#examples-A1PolicyManagement-getPolicyTypes-title-429").text("Status: 429 - " + responseA1PolicyManagement429_description);
+ } else {
+ $("#examples-A1PolicyManagement-getPolicyTypes-title-429").text("Status: 429 - " + responseA1PolicyManagement429_description.substring(0, responseA1PolicyManagement429_description_break));
+ $("#examples-A1PolicyManagement-getPolicyTypes-description-429").html(responseA1PolicyManagement429_description.substring(responseA1PolicyManagement429_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-getPolicyTypes-429" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicyTypes-429-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-getPolicyTypes-429-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyTypes-429-schema">
+ <div id="responses-A1PolicyManagement-getPolicyTypes-schema-429" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Too Many Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicyTypes-429-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicyTypes-schema-429');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getPolicyTypes-429-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-getPolicyTypes-title-500"></h3>
+ <p id="examples-A1PolicyManagement-getPolicyTypes-description-500" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement500_description = `Internal Server Error`;
+ var responseA1PolicyManagement500_description_break = responseA1PolicyManagement500_description.indexOf('\n');
+ if (responseA1PolicyManagement500_description_break == -1) {
+ $("#examples-A1PolicyManagement-getPolicyTypes-title-500").text("Status: 500 - " + responseA1PolicyManagement500_description);
+ } else {
+ $("#examples-A1PolicyManagement-getPolicyTypes-title-500").text("Status: 500 - " + responseA1PolicyManagement500_description.substring(0, responseA1PolicyManagement500_description_break));
+ $("#examples-A1PolicyManagement-getPolicyTypes-description-500").html(responseA1PolicyManagement500_description.substring(responseA1PolicyManagement500_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-getPolicyTypes-500" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicyTypes-500-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-getPolicyTypes-500-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyTypes-500-schema">
+ <div id="responses-A1PolicyManagement-getPolicyTypes-schema-500" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Internal Server Error",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicyTypes-500-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicyTypes-schema-500');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getPolicyTypes-500-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-getPolicyTypes-title-502"></h3>
+ <p id="examples-A1PolicyManagement-getPolicyTypes-description-502" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement502_description = `Bad Gateway`;
+ var responseA1PolicyManagement502_description_break = responseA1PolicyManagement502_description.indexOf('\n');
+ if (responseA1PolicyManagement502_description_break == -1) {
+ $("#examples-A1PolicyManagement-getPolicyTypes-title-502").text("Status: 502 - " + responseA1PolicyManagement502_description);
+ } else {
+ $("#examples-A1PolicyManagement-getPolicyTypes-title-502").text("Status: 502 - " + responseA1PolicyManagement502_description.substring(0, responseA1PolicyManagement502_description_break));
+ $("#examples-A1PolicyManagement-getPolicyTypes-description-502").html(responseA1PolicyManagement502_description.substring(responseA1PolicyManagement502_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-getPolicyTypes-502" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicyTypes-502-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-getPolicyTypes-502-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyTypes-502-schema">
+ <div id="responses-A1PolicyManagement-getPolicyTypes-schema-502" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Bad Gateway",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicyTypes-502-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicyTypes-schema-502');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getPolicyTypes-502-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-getPolicyTypes-title-503"></h3>
+ <p id="examples-A1PolicyManagement-getPolicyTypes-description-503" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement503_description = `Service Unavailable`;
+ var responseA1PolicyManagement503_description_break = responseA1PolicyManagement503_description.indexOf('\n');
+ if (responseA1PolicyManagement503_description_break == -1) {
+ $("#examples-A1PolicyManagement-getPolicyTypes-title-503").text("Status: 503 - " + responseA1PolicyManagement503_description);
+ } else {
+ $("#examples-A1PolicyManagement-getPolicyTypes-title-503").text("Status: 503 - " + responseA1PolicyManagement503_description.substring(0, responseA1PolicyManagement503_description_break));
+ $("#examples-A1PolicyManagement-getPolicyTypes-description-503").html(responseA1PolicyManagement503_description.substring(responseA1PolicyManagement503_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-getPolicyTypes-503" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicyTypes-503-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-getPolicyTypes-503-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyTypes-503-schema">
+ <div id="responses-A1PolicyManagement-getPolicyTypes-schema-503" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Service Unavailable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-getPolicyTypes-503-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-getPolicyTypes-schema-503');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-getPolicyTypes-503-schema-data' type='hidden' value=''></input>
+ </div>
</div>
</article>
</div>
@@ -4114,16 +8042,17 @@
<div class="pull-right"></div>
<div class="clearfix"></div>
<p></p>
- <p class="marked">Create or update a policy</p>
+ <p class="marked">update a policy</p>
<p></p>
<br />
- <pre class="prettyprint language-html prettyprinted" data-type="put"><code><span class="pln">/a1-policy/v2/policies</span></code></pre>
+ <pre class="prettyprint language-html prettyprinted" data-type="put"><code><span class="pln">/policies/{policyId}</span></code></pre>
<p>
<h3>Usage and SDK Samples</h3>
</p>
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="#examples-A1PolicyManagement-putPolicy-0-curl">Curl</a></li>
<li class=""><a href="#examples-A1PolicyManagement-putPolicy-0-java">Java</a></li>
+ <li class=""><a href="#examples-A1PolicyManagement-putPolicy-0-dart">Dart</a></li>
<li class=""><a href="#examples-A1PolicyManagement-putPolicy-0-android">Android</a></li>
<!--<li class=""><a href="#examples-A1PolicyManagement-putPolicy-0-groovy">Groovy</a></li>-->
<li class=""><a href="#examples-A1PolicyManagement-putPolicy-0-objc">Obj-C</a></li>
@@ -4141,7 +8070,7 @@
<pre class="prettyprint"><code class="language-bsh">curl -X PUT \
-H "Accept: application/json,application/problem+json" \
-H "Content-Type: application/json" \
- "http://localhost/a1-policy/v2/policies" \
+ "https://example.com/a1-policy-management/v1/policies/{policyId}" \
-d ''
</code></pre>
</div>
@@ -4159,10 +8088,11 @@
// Create an instance of the API class
A1PolicyManagementApi apiInstance = new A1PolicyManagementApi();
- PolicyInfo policyInfo = ; // PolicyInfo |
+ String policyId = policyId_example; // String |
+ Object body = Object; // Object |
try {
- Object result = apiInstance.putPolicy(policyInfo);
+ Object result = apiInstance.putPolicy(policyId, body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling A1PolicyManagementApi#putPolicy");
@@ -4173,16 +8103,35 @@
</code></pre>
</div>
+ <div class="tab-pane" id="examples-A1PolicyManagement-putPolicy-0-dart">
+ <pre class="prettyprint"><code class="language-dart">import 'package:openapi/api.dart';
+
+final api_instance = DefaultApi();
+
+final String policyId = new String(); // String |
+final Object body = new Object(); // Object |
+
+try {
+ final result = await api_instance.putPolicy(policyId, body);
+ print(result);
+} catch (e) {
+ print('Exception when calling DefaultApi->putPolicy: $e\n');
+}
+
+</code></pre>
+ </div>
+
<div class="tab-pane" id="examples-A1PolicyManagement-putPolicy-0-android">
<pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.A1PolicyManagementApi;
public class A1PolicyManagementApiExample {
public static void main(String[] args) {
A1PolicyManagementApi apiInstance = new A1PolicyManagementApi();
- PolicyInfo policyInfo = ; // PolicyInfo |
+ String policyId = policyId_example; // String |
+ Object body = Object; // Object |
try {
- Object result = apiInstance.putPolicy(policyInfo);
+ Object result = apiInstance.putPolicy(policyId, body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling A1PolicyManagementApi#putPolicy");
@@ -4200,9 +8149,11 @@
// Create an instance of the API class
A1PolicyManagementApi *apiInstance = [[A1PolicyManagementApi alloc] init];
-PolicyInfo *policyInfo = ; //
+String *policyId = policyId_example; // (default to null)
+Object *body = Object; //
-[apiInstance putPolicyWith:policyInfo
+[apiInstance putPolicyWith:policyId
+ body:body
completionHandler: ^(Object output, NSError* error) {
if (output) {
NSLog(@"%@", output);
@@ -4215,11 +8166,12 @@
</div>
<div class="tab-pane" id="examples-A1PolicyManagement-putPolicy-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
+ <pre class="prettyprint"><code class="language-js">var A1PolicyManagementApi = require('a1_policy_management_api');
// Create an instance of the API class
-var api = new A1PolicyManagementService.A1PolicyManagementApi()
-var policyInfo = ; // {PolicyInfo}
+var api = new A1PolicyManagementApi.A1PolicyManagementApi()
+var policyId = policyId_example; // {String}
+var body = Object; // {Object}
var callback = function(error, data, response) {
if (error) {
@@ -4228,7 +8180,7 @@
console.log('API called successfully. Returned data: ' + data);
}
};
-api.putPolicy(policyInfo, callback);
+api.putPolicy(policyId, body, callback);
</code></pre>
</div>
@@ -4251,10 +8203,11 @@
// Create an instance of the API class
var apiInstance = new A1PolicyManagementApi();
- var policyInfo = new PolicyInfo(); // PolicyInfo |
+ var policyId = policyId_example; // String | (default to null)
+ var body = Object; // Object |
try {
- Object result = apiInstance.putPolicy(policyInfo);
+ Object result = apiInstance.putPolicy(policyId, body);
Debug.WriteLine(result);
} catch (Exception e) {
Debug.Print("Exception when calling A1PolicyManagementApi.putPolicy: " + e.Message );
@@ -4271,10 +8224,11 @@
// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\A1PolicyManagementApi();
-$policyInfo = ; // PolicyInfo |
+$policyId = policyId_example; // String |
+$body = Object; // Object |
try {
- $result = $api_instance->putPolicy($policyInfo);
+ $result = $api_instance->putPolicy($policyId, $body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling A1PolicyManagementApi->putPolicy: ', $e->getMessage(), PHP_EOL;
@@ -4289,10 +8243,11 @@
# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::A1PolicyManagementApi->new();
-my $policyInfo = WWW::OPenAPIClient::Object::PolicyInfo->new(); # PolicyInfo |
+my $policyId = policyId_example; # String |
+my $body = WWW::OPenAPIClient::Object::Object->new(); # Object |
eval {
- my $result = $api_instance->putPolicy(policyInfo => $policyInfo);
+ my $result = $api_instance->putPolicy(policyId => $policyId, body => $body);
print Dumper($result);
};
if ($@) {
@@ -4309,10 +8264,11 @@
# Create an instance of the API class
api_instance = openapi_client.A1PolicyManagementApi()
-policyInfo = # PolicyInfo |
+policyId = policyId_example # String | (default to null)
+body = Object # Object |
try:
- api_response = api_instance.put_policy(policyInfo)
+ api_response = api_instance.put_policy(policyId, body)
pprint(api_response)
except ApiException as e:
print("Exception when calling A1PolicyManagementApi->putPolicy: %s\n" % e)</code></pre>
@@ -4322,10 +8278,11 @@
<pre class="prettyprint"><code class="language-rust">extern crate A1PolicyManagementApi;
pub fn main() {
- let policyInfo = ; // PolicyInfo
+ let policyId = policyId_example; // String
+ let body = Object; // Object
let mut context = A1PolicyManagementApi::Context::default();
- let result = client.putPolicy(policyInfo, &context).wait();
+ let result = client.putPolicy(policyId, body, &context).wait();
println!("{:?}", result);
}
@@ -4340,6 +8297,33 @@
<h2>Parameters</h2>
+ <div class="methodsubtabletitle">Path parameters</div>
+ <table id="methodsubtable">
+ <tr>
+ <th width="150px">Name</th>
+ <th>Description</th>
+ </tr>
+ <tr><td style="width:150px;">policyId*</td>
+<td>
+
+
+ <div id="d2e199_putPolicy_policyId">
+ <div class="json-schema-view">
+ <div class="primitive">
+ <span class="type">
+ String
+ </span>
+
+ </div>
+ <div class="inner required">
+ Required
+ </div>
+ </div>
+ </div>
+</td>
+</tr>
+
+ </table>
<div class="methodsubtabletitle">Body parameters</div>
@@ -4348,20 +8332,25 @@
<th width="150px">Name</th>
<th>Description</th>
</tr>
- <tr><td style="width:150px;">policyInfo <span style="color:red;">*</span></td>
+ <tr><td style="width:150px;">body <span style="color:red;">*</span></td>
<td>
<p class="marked"></p>
<script>
$(document).ready(function() {
- var schemaWrapper = {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/policy_info"
- }
- }
- },
- "required" : true
+ var schemaWrapper = {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/PolicyObject"
+ },
+ "examples" : {
+ "policyObject" : {
+ "$ref" : "#/components/examples/PolicyObject"
+ }
+ }
+ }
+ },
+ "required" : true
};
var schema = findNode('schema',schemaWrapper).schema;
@@ -4370,6 +8359,8 @@
}
if (schema.$ref != null) {
schema = defsParser.$refs.get(schema.$ref);
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
} else {
schemaWrapper.definitions = Object.assign({}, defs);
$RefParser.dereference(schemaWrapper).catch(function(err) {
@@ -4378,12 +8369,12 @@
}
var view = new JSONSchemaView(schema,2,{isBodyParam: true});
- var result = $('#d2e199_putPolicy_policyInfo');
+ var result = $('#d2e199_putPolicy_body');
result.empty();
result.append(view.render());
});
</script>
-<div id="d2e199_putPolicy_policyInfo"></div>
+<div id="d2e199_putPolicy_body"></div>
</td>
</tr>
@@ -4418,59 +8409,73 @@
<div class="tab-content" id="responses-A1PolicyManagement-putPolicy-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-A1PolicyManagement-putPolicy-200-schema">
- <div id="responses-A1PolicyManagement-putPolicy-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-A1PolicyManagement-putPolicy-200-schema">
+ <div id="responses-A1PolicyManagement-putPolicy-schema-200" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "OK - Policy updated",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/PolicyObject"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-A1PolicyManagement-putPolicy-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-A1PolicyManagement-putPolicy-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-A1PolicyManagement-putPolicy-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-putPolicy-200-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-putPolicy-schema-200');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-A1PolicyManagement-putPolicy-200-schema-data' type='hidden' value=''></input>
+ </div>
</div>
- <h3 id="examples-A1PolicyManagement-putPolicy-title-201"></h3>
- <p id="examples-A1PolicyManagement-putPolicy-description-201" class="marked"></p>
+ <h3 id="examples-A1PolicyManagement-putPolicy-title-400"></h3>
+ <p id="examples-A1PolicyManagement-putPolicy-description-400" class="marked"></p>
<script>
- var responseA1PolicyManagement201_description = `Created - Policy created`;
- var responseA1PolicyManagement201_description_break = responseA1PolicyManagement201_description.indexOf('\n');
- if (responseA1PolicyManagement201_description_break == -1) {
- $("#examples-A1PolicyManagement-putPolicy-title-201").text("Status: 201 - " + responseA1PolicyManagement201_description);
+ var responseA1PolicyManagement400_description = `Bad Request`;
+ var responseA1PolicyManagement400_description_break = responseA1PolicyManagement400_description.indexOf('\n');
+ if (responseA1PolicyManagement400_description_break == -1) {
+ $("#examples-A1PolicyManagement-putPolicy-title-400").text("Status: 400 - " + responseA1PolicyManagement400_description);
} else {
- $("#examples-A1PolicyManagement-putPolicy-title-201").text("Status: 201 - " + responseA1PolicyManagement201_description.substring(0, responseA1PolicyManagement201_description_break));
- $("#examples-A1PolicyManagement-putPolicy-description-201").html(responseA1PolicyManagement201_description.substring(responseA1PolicyManagement201_description_break));
+ $("#examples-A1PolicyManagement-putPolicy-title-400").text("Status: 400 - " + responseA1PolicyManagement400_description.substring(0, responseA1PolicyManagement400_description_break));
+ $("#examples-A1PolicyManagement-putPolicy-description-400").html(responseA1PolicyManagement400_description.substring(responseA1PolicyManagement400_description_break));
}
</script>
- <ul id="responses-detail-A1PolicyManagement-putPolicy-201" class="nav nav-tabs nav-tabs-examples" >
+ <ul id="responses-detail-A1PolicyManagement-putPolicy-400" class="nav nav-tabs nav-tabs-examples" >
<li class="active">
- <a data-toggle="tab" href="#responses-A1PolicyManagement-putPolicy-201-schema">Schema</a>
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-putPolicy-400-schema">Schema</a>
</li>
@@ -4479,42 +8484,588 @@
</ul>
- <div class="tab-content" id="responses-A1PolicyManagement-putPolicy-201-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-A1PolicyManagement-putPolicy-201-schema">
- <div id="responses-A1PolicyManagement-putPolicy-schema-201" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-content" id="responses-A1PolicyManagement-putPolicy-400-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-putPolicy-400-schema">
+ <div id="responses-A1PolicyManagement-putPolicy-schema-400" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Bad Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-putPolicy-400-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-putPolicy-schema-400');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-putPolicy-400-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-putPolicy-title-401"></h3>
+ <p id="examples-A1PolicyManagement-putPolicy-description-401" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement401_description = `Unauthorized`;
+ var responseA1PolicyManagement401_description_break = responseA1PolicyManagement401_description.indexOf('\n');
+ if (responseA1PolicyManagement401_description_break == -1) {
+ $("#examples-A1PolicyManagement-putPolicy-title-401").text("Status: 401 - " + responseA1PolicyManagement401_description);
+ } else {
+ $("#examples-A1PolicyManagement-putPolicy-title-401").text("Status: 401 - " + responseA1PolicyManagement401_description.substring(0, responseA1PolicyManagement401_description_break));
+ $("#examples-A1PolicyManagement-putPolicy-description-401").html(responseA1PolicyManagement401_description.substring(responseA1PolicyManagement401_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-putPolicy-401" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-putPolicy-401-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-putPolicy-401-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-putPolicy-401-schema">
+ <div id="responses-A1PolicyManagement-putPolicy-schema-401" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Unauthorized",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
});
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-A1PolicyManagement-putPolicy-201-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-A1PolicyManagement-putPolicy-schema-201');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-A1PolicyManagement-putPolicy-201-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-putPolicy-401-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-putPolicy-schema-401');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-A1PolicyManagement-putPolicy-401-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-putPolicy-title-403"></h3>
+ <p id="examples-A1PolicyManagement-putPolicy-description-403" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement403_description = `Forbidden`;
+ var responseA1PolicyManagement403_description_break = responseA1PolicyManagement403_description.indexOf('\n');
+ if (responseA1PolicyManagement403_description_break == -1) {
+ $("#examples-A1PolicyManagement-putPolicy-title-403").text("Status: 403 - " + responseA1PolicyManagement403_description);
+ } else {
+ $("#examples-A1PolicyManagement-putPolicy-title-403").text("Status: 403 - " + responseA1PolicyManagement403_description.substring(0, responseA1PolicyManagement403_description_break));
+ $("#examples-A1PolicyManagement-putPolicy-description-403").html(responseA1PolicyManagement403_description.substring(responseA1PolicyManagement403_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-putPolicy-403" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-putPolicy-403-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-putPolicy-403-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-putPolicy-403-schema">
+ <div id="responses-A1PolicyManagement-putPolicy-schema-403" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Forbidden",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-putPolicy-403-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-putPolicy-schema-403');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-putPolicy-403-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-putPolicy-title-404"></h3>
+ <p id="examples-A1PolicyManagement-putPolicy-description-404" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement404_description = `Not Found`;
+ var responseA1PolicyManagement404_description_break = responseA1PolicyManagement404_description.indexOf('\n');
+ if (responseA1PolicyManagement404_description_break == -1) {
+ $("#examples-A1PolicyManagement-putPolicy-title-404").text("Status: 404 - " + responseA1PolicyManagement404_description);
+ } else {
+ $("#examples-A1PolicyManagement-putPolicy-title-404").text("Status: 404 - " + responseA1PolicyManagement404_description.substring(0, responseA1PolicyManagement404_description_break));
+ $("#examples-A1PolicyManagement-putPolicy-description-404").html(responseA1PolicyManagement404_description.substring(responseA1PolicyManagement404_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-putPolicy-404" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-putPolicy-404-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-putPolicy-404-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-putPolicy-404-schema">
+ <div id="responses-A1PolicyManagement-putPolicy-schema-404" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-putPolicy-404-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-putPolicy-schema-404');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-putPolicy-404-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-putPolicy-title-406"></h3>
+ <p id="examples-A1PolicyManagement-putPolicy-description-406" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement406_description = `Not Acceptable`;
+ var responseA1PolicyManagement406_description_break = responseA1PolicyManagement406_description.indexOf('\n');
+ if (responseA1PolicyManagement406_description_break == -1) {
+ $("#examples-A1PolicyManagement-putPolicy-title-406").text("Status: 406 - " + responseA1PolicyManagement406_description);
+ } else {
+ $("#examples-A1PolicyManagement-putPolicy-title-406").text("Status: 406 - " + responseA1PolicyManagement406_description.substring(0, responseA1PolicyManagement406_description_break));
+ $("#examples-A1PolicyManagement-putPolicy-description-406").html(responseA1PolicyManagement406_description.substring(responseA1PolicyManagement406_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-putPolicy-406" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-putPolicy-406-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-putPolicy-406-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-putPolicy-406-schema">
+ <div id="responses-A1PolicyManagement-putPolicy-schema-406" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Not Acceptable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-putPolicy-406-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-putPolicy-schema-406');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-putPolicy-406-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-putPolicy-title-411"></h3>
+ <p id="examples-A1PolicyManagement-putPolicy-description-411" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement411_description = `Length Required`;
+ var responseA1PolicyManagement411_description_break = responseA1PolicyManagement411_description.indexOf('\n');
+ if (responseA1PolicyManagement411_description_break == -1) {
+ $("#examples-A1PolicyManagement-putPolicy-title-411").text("Status: 411 - " + responseA1PolicyManagement411_description);
+ } else {
+ $("#examples-A1PolicyManagement-putPolicy-title-411").text("Status: 411 - " + responseA1PolicyManagement411_description.substring(0, responseA1PolicyManagement411_description_break));
+ $("#examples-A1PolicyManagement-putPolicy-description-411").html(responseA1PolicyManagement411_description.substring(responseA1PolicyManagement411_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-putPolicy-411" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-putPolicy-411-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-putPolicy-411-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-putPolicy-411-schema">
+ <div id="responses-A1PolicyManagement-putPolicy-schema-411" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Length Required",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-putPolicy-411-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-putPolicy-schema-411');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-putPolicy-411-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-putPolicy-title-413"></h3>
+ <p id="examples-A1PolicyManagement-putPolicy-description-413" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement413_description = `Payload Too Large`;
+ var responseA1PolicyManagement413_description_break = responseA1PolicyManagement413_description.indexOf('\n');
+ if (responseA1PolicyManagement413_description_break == -1) {
+ $("#examples-A1PolicyManagement-putPolicy-title-413").text("Status: 413 - " + responseA1PolicyManagement413_description);
+ } else {
+ $("#examples-A1PolicyManagement-putPolicy-title-413").text("Status: 413 - " + responseA1PolicyManagement413_description.substring(0, responseA1PolicyManagement413_description_break));
+ $("#examples-A1PolicyManagement-putPolicy-description-413").html(responseA1PolicyManagement413_description.substring(responseA1PolicyManagement413_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-putPolicy-413" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-putPolicy-413-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-putPolicy-413-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-putPolicy-413-schema">
+ <div id="responses-A1PolicyManagement-putPolicy-schema-413" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Payload Too Large",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-putPolicy-413-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-putPolicy-schema-413');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-putPolicy-413-schema-data' type='hidden' value=''></input>
+ </div>
+ </div>
+ <h3 id="examples-A1PolicyManagement-putPolicy-title-415"></h3>
+ <p id="examples-A1PolicyManagement-putPolicy-description-415" class="marked"></p>
+ <script>
+ var responseA1PolicyManagement415_description = `Unsupported Media Type`;
+ var responseA1PolicyManagement415_description_break = responseA1PolicyManagement415_description.indexOf('\n');
+ if (responseA1PolicyManagement415_description_break == -1) {
+ $("#examples-A1PolicyManagement-putPolicy-title-415").text("Status: 415 - " + responseA1PolicyManagement415_description);
+ } else {
+ $("#examples-A1PolicyManagement-putPolicy-title-415").text("Status: 415 - " + responseA1PolicyManagement415_description.substring(0, responseA1PolicyManagement415_description_break));
+ $("#examples-A1PolicyManagement-putPolicy-description-415").html(responseA1PolicyManagement415_description.substring(responseA1PolicyManagement415_description_break));
+ }
+ </script>
+
+
+ <ul id="responses-detail-A1PolicyManagement-putPolicy-415" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-putPolicy-415-schema">Schema</a>
+ </li>
+
+
+
+
+ </ul>
+
+
+ <div class="tab-content" id="responses-A1PolicyManagement-putPolicy-415-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-putPolicy-415-schema">
+ <div id="responses-A1PolicyManagement-putPolicy-schema-415" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Unsupported Media Type",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-putPolicy-415-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-putPolicy-schema-415');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-A1PolicyManagement-putPolicy-415-schema-data' type='hidden' value=''></input>
+ </div>
</div>
<h3 id="examples-A1PolicyManagement-putPolicy-title-423"></h3>
<p id="examples-A1PolicyManagement-putPolicy-description-423" class="marked"></p>
@@ -4542,297 +9093,78 @@
<div class="tab-content" id="responses-A1PolicyManagement-putPolicy-423-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-A1PolicyManagement-putPolicy-423-schema">
- <div id="responses-A1PolicyManagement-putPolicy-schema-423" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-A1PolicyManagement-putPolicy-423-schema">
+ <div id="responses-A1PolicyManagement-putPolicy-schema-423" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Locked - HTTP Status code which can be used when the state is Locked",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ErrorInformation"
+ },
+ "example" : {
+ "status" : 423,
+ "title" : "Locked",
+ "detail" : "State is Locked in the provided request."
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-A1PolicyManagement-putPolicy-423-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-A1PolicyManagement-putPolicy-schema-423');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-A1PolicyManagement-putPolicy-423-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-putPolicy-423-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-putPolicy-schema-423');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-A1PolicyManagement-putPolicy-423-schema-data' type='hidden' value=''></input>
+ </div>
</div>
- </article>
- </div>
- <hr>
- </section>
- <section id="api-Actuator">
- <h1>Actuator</h1>
- <div id="api-Actuator-health">
- <article id="api-Actuator-health-0" data-group="User" data-name="health" data-version="0">
- <div class="pull-left">
- <h1>health</h1>
- <p>Actuator web endpoint 'health'</p>
- </div>
- <div class="pull-right"></div>
- <div class="clearfix"></div>
- <p></p>
- <p class="marked"></p>
- <p></p>
- <br />
- <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/actuator/health</span></code></pre>
- <p>
- <h3>Usage and SDK Samples</h3>
- </p>
- <ul class="nav nav-tabs nav-tabs-examples">
- <li class="active"><a href="#examples-Actuator-health-0-curl">Curl</a></li>
- <li class=""><a href="#examples-Actuator-health-0-java">Java</a></li>
- <li class=""><a href="#examples-Actuator-health-0-android">Android</a></li>
- <!--<li class=""><a href="#examples-Actuator-health-0-groovy">Groovy</a></li>-->
- <li class=""><a href="#examples-Actuator-health-0-objc">Obj-C</a></li>
- <li class=""><a href="#examples-Actuator-health-0-javascript">JavaScript</a></li>
- <!--<li class=""><a href="#examples-Actuator-health-0-angular">Angular</a></li>-->
- <li class=""><a href="#examples-Actuator-health-0-csharp">C#</a></li>
- <li class=""><a href="#examples-Actuator-health-0-php">PHP</a></li>
- <li class=""><a href="#examples-Actuator-health-0-perl">Perl</a></li>
- <li class=""><a href="#examples-Actuator-health-0-python">Python</a></li>
- <li class=""><a href="#examples-Actuator-health-0-rust">Rust</a></li>
- </ul>
-
- <div class="tab-content">
- <div class="tab-pane active" id="examples-Actuator-health-0-curl">
- <pre class="prettyprint"><code class="language-bsh">curl -X GET \
- -H "Accept: application/vnd.spring-boot.actuator.v3+json,application/json,application/vnd.spring-boot.actuator.v2+json" \
- "http://localhost/actuator/health"
-</code></pre>
- </div>
- <div class="tab-pane" id="examples-Actuator-health-0-java">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
-import org.openapitools.client.auth.*;
-import org.openapitools.client.model.*;
-import org.openapitools.client.api.ActuatorApi;
-
-import java.io.File;
-import java.util.*;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
-
- // Create an instance of the API class
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- Object result = apiInstance.health();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#health");
- e.printStackTrace();
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-health-0-android">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ActuatorApi;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- Object result = apiInstance.health();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#health");
- e.printStackTrace();
- }
- }
-}</code></pre>
- </div>
- <!--
- <div class="tab-pane" id="examples-Actuator-health-0-groovy">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div> -->
- <div class="tab-pane" id="examples-Actuator-health-0-objc">
- <pre class="prettyprint"><code class="language-cpp">
-
-// Create an instance of the API class
-ActuatorApi *apiInstance = [[ActuatorApi alloc] init];
-
-// Actuator web endpoint 'health'
-[apiInstance healthWithCompletionHandler:
- ^(Object output, NSError* error) {
- if (output) {
- NSLog(@"%@", output);
- }
- if (error) {
- NSLog(@"Error: %@", error);
- }
-}];
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-health-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
-
-// Create an instance of the API class
-var api = new A1PolicyManagementService.ActuatorApi()
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-api.health(callback);
-</code></pre>
- </div>
-
- <!--<div class="tab-pane" id="examples-Actuator-health-0-angular">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div>-->
- <div class="tab-pane" id="examples-Actuator-health-0-csharp">
- <pre class="prettyprint"><code class="language-cs">using System;
-using System.Diagnostics;
-using Org.OpenAPITools.Api;
-using Org.OpenAPITools.Client;
-using Org.OpenAPITools.Model;
-
-namespace Example
-{
- public class healthExample
- {
- public void main()
- {
-
- // Create an instance of the API class
- var apiInstance = new ActuatorApi();
-
- try {
- // Actuator web endpoint 'health'
- Object result = apiInstance.health();
- Debug.WriteLine(result);
- } catch (Exception e) {
- Debug.Print("Exception when calling ActuatorApi.health: " + e.Message );
- }
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-health-0-php">
- <pre class="prettyprint"><code class="language-php"><?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-// Create an instance of the API class
-$api_instance = new OpenAPITools\Client\Api\ActuatorApi();
-
-try {
- $result = $api_instance->health();
- print_r($result);
-} catch (Exception $e) {
- echo 'Exception when calling ActuatorApi->health: ', $e->getMessage(), PHP_EOL;
-}
-?></code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-health-0-perl">
- <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
-use WWW::OPenAPIClient::Configuration;
-use WWW::OPenAPIClient::ActuatorApi;
-
-# Create an instance of the API class
-my $api_instance = WWW::OPenAPIClient::ActuatorApi->new();
-
-eval {
- my $result = $api_instance->health();
- print Dumper($result);
-};
-if ($@) {
- warn "Exception when calling ActuatorApi->health: $@\n";
-}</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-health-0-python">
- <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
-import time
-import openapi_client
-from openapi_client.rest import ApiException
-from pprint import pprint
-
-# Create an instance of the API class
-api_instance = openapi_client.ActuatorApi()
-
-try:
- # Actuator web endpoint 'health'
- api_response = api_instance.health()
- pprint(api_response)
-except ApiException as e:
- print("Exception when calling ActuatorApi->health: %s\n" % e)</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-health-0-rust">
- <pre class="prettyprint"><code class="language-rust">extern crate ActuatorApi;
-
-pub fn main() {
-
- let mut context = ActuatorApi::Context::default();
- let result = client.health(&context).wait();
-
- println!("{:?}", result);
-}
-</code></pre>
- </div>
- </div>
-
- <h2>Scopes</h2>
- <table>
-
- </table>
-
- <h2>Parameters</h2>
-
-
-
-
-
-
- <h2>Responses</h2>
- <h3 id="examples-Actuator-health-title-200"></h3>
- <p id="examples-Actuator-health-description-200" class="marked"></p>
+ <h3 id="examples-A1PolicyManagement-putPolicy-title-429"></h3>
+ <p id="examples-A1PolicyManagement-putPolicy-description-429" class="marked"></p>
<script>
- var responseActuator200_description = `OK`;
- var responseActuator200_description_break = responseActuator200_description.indexOf('\n');
- if (responseActuator200_description_break == -1) {
- $("#examples-Actuator-health-title-200").text("Status: 200 - " + responseActuator200_description);
+ var responseA1PolicyManagement429_description = `Too Many Request`;
+ var responseA1PolicyManagement429_description_break = responseA1PolicyManagement429_description.indexOf('\n');
+ if (responseA1PolicyManagement429_description_break == -1) {
+ $("#examples-A1PolicyManagement-putPolicy-title-429").text("Status: 429 - " + responseA1PolicyManagement429_description);
} else {
- $("#examples-Actuator-health-title-200").text("Status: 200 - " + responseActuator200_description.substring(0, responseActuator200_description_break));
- $("#examples-Actuator-health-description-200").html(responseActuator200_description.substring(responseActuator200_description_break));
+ $("#examples-A1PolicyManagement-putPolicy-title-429").text("Status: 429 - " + responseA1PolicyManagement429_description.substring(0, responseA1PolicyManagement429_description_break));
+ $("#examples-A1PolicyManagement-putPolicy-description-429").html(responseA1PolicyManagement429_description.substring(responseA1PolicyManagement429_description_break));
}
</script>
- <ul id="responses-detail-Actuator-health-200" class="nav nav-tabs nav-tabs-examples" >
+ <ul id="responses-detail-A1PolicyManagement-putPolicy-429" class="nav nav-tabs nav-tabs-examples" >
<li class="active">
- <a data-toggle="tab" href="#responses-Actuator-health-200-schema">Schema</a>
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-putPolicy-429-schema">Schema</a>
</li>
@@ -4841,295 +9173,74 @@
</ul>
- <div class="tab-content" id="responses-Actuator-health-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-Actuator-health-200-schema">
- <div id="responses-Actuator-health-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-content" id="responses-A1PolicyManagement-putPolicy-429-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-putPolicy-429-schema">
+ <div id="responses-A1PolicyManagement-putPolicy-schema-429" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Too Many Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-Actuator-health-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-Actuator-health-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-Actuator-health-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-putPolicy-429-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-putPolicy-schema-429');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-A1PolicyManagement-putPolicy-429-schema-data' type='hidden' value=''></input>
+ </div>
</div>
- </article>
- </div>
- <hr>
- <div id="api-Actuator-healthPath">
- <article id="api-Actuator-healthPath-0" data-group="User" data-name="healthPath" data-version="0">
- <div class="pull-left">
- <h1>healthPath</h1>
- <p>Actuator web endpoint 'health-path'</p>
- </div>
- <div class="pull-right"></div>
- <div class="clearfix"></div>
- <p></p>
- <p class="marked"></p>
- <p></p>
- <br />
- <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/actuator/health/**</span></code></pre>
- <p>
- <h3>Usage and SDK Samples</h3>
- </p>
- <ul class="nav nav-tabs nav-tabs-examples">
- <li class="active"><a href="#examples-Actuator-healthPath-0-curl">Curl</a></li>
- <li class=""><a href="#examples-Actuator-healthPath-0-java">Java</a></li>
- <li class=""><a href="#examples-Actuator-healthPath-0-android">Android</a></li>
- <!--<li class=""><a href="#examples-Actuator-healthPath-0-groovy">Groovy</a></li>-->
- <li class=""><a href="#examples-Actuator-healthPath-0-objc">Obj-C</a></li>
- <li class=""><a href="#examples-Actuator-healthPath-0-javascript">JavaScript</a></li>
- <!--<li class=""><a href="#examples-Actuator-healthPath-0-angular">Angular</a></li>-->
- <li class=""><a href="#examples-Actuator-healthPath-0-csharp">C#</a></li>
- <li class=""><a href="#examples-Actuator-healthPath-0-php">PHP</a></li>
- <li class=""><a href="#examples-Actuator-healthPath-0-perl">Perl</a></li>
- <li class=""><a href="#examples-Actuator-healthPath-0-python">Python</a></li>
- <li class=""><a href="#examples-Actuator-healthPath-0-rust">Rust</a></li>
- </ul>
-
- <div class="tab-content">
- <div class="tab-pane active" id="examples-Actuator-healthPath-0-curl">
- <pre class="prettyprint"><code class="language-bsh">curl -X GET \
- -H "Accept: application/vnd.spring-boot.actuator.v3+json,application/json,application/vnd.spring-boot.actuator.v2+json" \
- "http://localhost/actuator/health/**"
-</code></pre>
- </div>
- <div class="tab-pane" id="examples-Actuator-healthPath-0-java">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
-import org.openapitools.client.auth.*;
-import org.openapitools.client.model.*;
-import org.openapitools.client.api.ActuatorApi;
-
-import java.io.File;
-import java.util.*;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
-
- // Create an instance of the API class
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- Object result = apiInstance.healthPath();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#healthPath");
- e.printStackTrace();
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-healthPath-0-android">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ActuatorApi;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- Object result = apiInstance.healthPath();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#healthPath");
- e.printStackTrace();
- }
- }
-}</code></pre>
- </div>
- <!--
- <div class="tab-pane" id="examples-Actuator-healthPath-0-groovy">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div> -->
- <div class="tab-pane" id="examples-Actuator-healthPath-0-objc">
- <pre class="prettyprint"><code class="language-cpp">
-
-// Create an instance of the API class
-ActuatorApi *apiInstance = [[ActuatorApi alloc] init];
-
-// Actuator web endpoint 'health-path'
-[apiInstance healthPathWithCompletionHandler:
- ^(Object output, NSError* error) {
- if (output) {
- NSLog(@"%@", output);
- }
- if (error) {
- NSLog(@"Error: %@", error);
- }
-}];
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-healthPath-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
-
-// Create an instance of the API class
-var api = new A1PolicyManagementService.ActuatorApi()
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-api.healthPath(callback);
-</code></pre>
- </div>
-
- <!--<div class="tab-pane" id="examples-Actuator-healthPath-0-angular">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div>-->
- <div class="tab-pane" id="examples-Actuator-healthPath-0-csharp">
- <pre class="prettyprint"><code class="language-cs">using System;
-using System.Diagnostics;
-using Org.OpenAPITools.Api;
-using Org.OpenAPITools.Client;
-using Org.OpenAPITools.Model;
-
-namespace Example
-{
- public class healthPathExample
- {
- public void main()
- {
-
- // Create an instance of the API class
- var apiInstance = new ActuatorApi();
-
- try {
- // Actuator web endpoint 'health-path'
- Object result = apiInstance.healthPath();
- Debug.WriteLine(result);
- } catch (Exception e) {
- Debug.Print("Exception when calling ActuatorApi.healthPath: " + e.Message );
- }
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-healthPath-0-php">
- <pre class="prettyprint"><code class="language-php"><?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-// Create an instance of the API class
-$api_instance = new OpenAPITools\Client\Api\ActuatorApi();
-
-try {
- $result = $api_instance->healthPath();
- print_r($result);
-} catch (Exception $e) {
- echo 'Exception when calling ActuatorApi->healthPath: ', $e->getMessage(), PHP_EOL;
-}
-?></code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-healthPath-0-perl">
- <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
-use WWW::OPenAPIClient::Configuration;
-use WWW::OPenAPIClient::ActuatorApi;
-
-# Create an instance of the API class
-my $api_instance = WWW::OPenAPIClient::ActuatorApi->new();
-
-eval {
- my $result = $api_instance->healthPath();
- print Dumper($result);
-};
-if ($@) {
- warn "Exception when calling ActuatorApi->healthPath: $@\n";
-}</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-healthPath-0-python">
- <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
-import time
-import openapi_client
-from openapi_client.rest import ApiException
-from pprint import pprint
-
-# Create an instance of the API class
-api_instance = openapi_client.ActuatorApi()
-
-try:
- # Actuator web endpoint 'health-path'
- api_response = api_instance.health_path()
- pprint(api_response)
-except ApiException as e:
- print("Exception when calling ActuatorApi->healthPath: %s\n" % e)</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-healthPath-0-rust">
- <pre class="prettyprint"><code class="language-rust">extern crate ActuatorApi;
-
-pub fn main() {
-
- let mut context = ActuatorApi::Context::default();
- let result = client.healthPath(&context).wait();
-
- println!("{:?}", result);
-}
-</code></pre>
- </div>
- </div>
-
- <h2>Scopes</h2>
- <table>
-
- </table>
-
- <h2>Parameters</h2>
-
-
-
-
-
-
- <h2>Responses</h2>
- <h3 id="examples-Actuator-healthPath-title-200"></h3>
- <p id="examples-Actuator-healthPath-description-200" class="marked"></p>
+ <h3 id="examples-A1PolicyManagement-putPolicy-title-500"></h3>
+ <p id="examples-A1PolicyManagement-putPolicy-description-500" class="marked"></p>
<script>
- var responseActuator200_description = `OK`;
- var responseActuator200_description_break = responseActuator200_description.indexOf('\n');
- if (responseActuator200_description_break == -1) {
- $("#examples-Actuator-healthPath-title-200").text("Status: 200 - " + responseActuator200_description);
+ var responseA1PolicyManagement500_description = `Internal Server Error`;
+ var responseA1PolicyManagement500_description_break = responseA1PolicyManagement500_description.indexOf('\n');
+ if (responseA1PolicyManagement500_description_break == -1) {
+ $("#examples-A1PolicyManagement-putPolicy-title-500").text("Status: 500 - " + responseA1PolicyManagement500_description);
} else {
- $("#examples-Actuator-healthPath-title-200").text("Status: 200 - " + responseActuator200_description.substring(0, responseActuator200_description_break));
- $("#examples-Actuator-healthPath-description-200").html(responseActuator200_description.substring(responseActuator200_description_break));
+ $("#examples-A1PolicyManagement-putPolicy-title-500").text("Status: 500 - " + responseA1PolicyManagement500_description.substring(0, responseA1PolicyManagement500_description_break));
+ $("#examples-A1PolicyManagement-putPolicy-description-500").html(responseA1PolicyManagement500_description.substring(responseA1PolicyManagement500_description_break));
}
</script>
- <ul id="responses-detail-Actuator-healthPath-200" class="nav nav-tabs nav-tabs-examples" >
+ <ul id="responses-detail-A1PolicyManagement-putPolicy-500" class="nav nav-tabs nav-tabs-examples" >
<li class="active">
- <a data-toggle="tab" href="#responses-Actuator-healthPath-200-schema">Schema</a>
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-putPolicy-500-schema">Schema</a>
</li>
@@ -5138,295 +9249,74 @@
</ul>
- <div class="tab-content" id="responses-Actuator-healthPath-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-Actuator-healthPath-200-schema">
- <div id="responses-Actuator-healthPath-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-content" id="responses-A1PolicyManagement-putPolicy-500-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-putPolicy-500-schema">
+ <div id="responses-A1PolicyManagement-putPolicy-schema-500" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Internal Server Error",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-Actuator-healthPath-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-Actuator-healthPath-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-Actuator-healthPath-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-putPolicy-500-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-putPolicy-schema-500');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-A1PolicyManagement-putPolicy-500-schema-data' type='hidden' value=''></input>
+ </div>
</div>
- </article>
- </div>
- <hr>
- <div id="api-Actuator-heapdump">
- <article id="api-Actuator-heapdump-0" data-group="User" data-name="heapdump" data-version="0">
- <div class="pull-left">
- <h1>heapdump</h1>
- <p>Actuator web endpoint 'heapdump'</p>
- </div>
- <div class="pull-right"></div>
- <div class="clearfix"></div>
- <p></p>
- <p class="marked"></p>
- <p></p>
- <br />
- <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/actuator/heapdump</span></code></pre>
- <p>
- <h3>Usage and SDK Samples</h3>
- </p>
- <ul class="nav nav-tabs nav-tabs-examples">
- <li class="active"><a href="#examples-Actuator-heapdump-0-curl">Curl</a></li>
- <li class=""><a href="#examples-Actuator-heapdump-0-java">Java</a></li>
- <li class=""><a href="#examples-Actuator-heapdump-0-android">Android</a></li>
- <!--<li class=""><a href="#examples-Actuator-heapdump-0-groovy">Groovy</a></li>-->
- <li class=""><a href="#examples-Actuator-heapdump-0-objc">Obj-C</a></li>
- <li class=""><a href="#examples-Actuator-heapdump-0-javascript">JavaScript</a></li>
- <!--<li class=""><a href="#examples-Actuator-heapdump-0-angular">Angular</a></li>-->
- <li class=""><a href="#examples-Actuator-heapdump-0-csharp">C#</a></li>
- <li class=""><a href="#examples-Actuator-heapdump-0-php">PHP</a></li>
- <li class=""><a href="#examples-Actuator-heapdump-0-perl">Perl</a></li>
- <li class=""><a href="#examples-Actuator-heapdump-0-python">Python</a></li>
- <li class=""><a href="#examples-Actuator-heapdump-0-rust">Rust</a></li>
- </ul>
-
- <div class="tab-content">
- <div class="tab-pane active" id="examples-Actuator-heapdump-0-curl">
- <pre class="prettyprint"><code class="language-bsh">curl -X GET \
- -H "Accept: application/octet-stream" \
- "http://localhost/actuator/heapdump"
-</code></pre>
- </div>
- <div class="tab-pane" id="examples-Actuator-heapdump-0-java">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
-import org.openapitools.client.auth.*;
-import org.openapitools.client.model.*;
-import org.openapitools.client.api.ActuatorApi;
-
-import java.io.File;
-import java.util.*;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
-
- // Create an instance of the API class
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- Object result = apiInstance.heapdump();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#heapdump");
- e.printStackTrace();
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-heapdump-0-android">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ActuatorApi;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- Object result = apiInstance.heapdump();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#heapdump");
- e.printStackTrace();
- }
- }
-}</code></pre>
- </div>
- <!--
- <div class="tab-pane" id="examples-Actuator-heapdump-0-groovy">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div> -->
- <div class="tab-pane" id="examples-Actuator-heapdump-0-objc">
- <pre class="prettyprint"><code class="language-cpp">
-
-// Create an instance of the API class
-ActuatorApi *apiInstance = [[ActuatorApi alloc] init];
-
-// Actuator web endpoint 'heapdump'
-[apiInstance heapdumpWithCompletionHandler:
- ^(Object output, NSError* error) {
- if (output) {
- NSLog(@"%@", output);
- }
- if (error) {
- NSLog(@"Error: %@", error);
- }
-}];
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-heapdump-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
-
-// Create an instance of the API class
-var api = new A1PolicyManagementService.ActuatorApi()
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-api.heapdump(callback);
-</code></pre>
- </div>
-
- <!--<div class="tab-pane" id="examples-Actuator-heapdump-0-angular">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div>-->
- <div class="tab-pane" id="examples-Actuator-heapdump-0-csharp">
- <pre class="prettyprint"><code class="language-cs">using System;
-using System.Diagnostics;
-using Org.OpenAPITools.Api;
-using Org.OpenAPITools.Client;
-using Org.OpenAPITools.Model;
-
-namespace Example
-{
- public class heapdumpExample
- {
- public void main()
- {
-
- // Create an instance of the API class
- var apiInstance = new ActuatorApi();
-
- try {
- // Actuator web endpoint 'heapdump'
- Object result = apiInstance.heapdump();
- Debug.WriteLine(result);
- } catch (Exception e) {
- Debug.Print("Exception when calling ActuatorApi.heapdump: " + e.Message );
- }
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-heapdump-0-php">
- <pre class="prettyprint"><code class="language-php"><?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-// Create an instance of the API class
-$api_instance = new OpenAPITools\Client\Api\ActuatorApi();
-
-try {
- $result = $api_instance->heapdump();
- print_r($result);
-} catch (Exception $e) {
- echo 'Exception when calling ActuatorApi->heapdump: ', $e->getMessage(), PHP_EOL;
-}
-?></code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-heapdump-0-perl">
- <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
-use WWW::OPenAPIClient::Configuration;
-use WWW::OPenAPIClient::ActuatorApi;
-
-# Create an instance of the API class
-my $api_instance = WWW::OPenAPIClient::ActuatorApi->new();
-
-eval {
- my $result = $api_instance->heapdump();
- print Dumper($result);
-};
-if ($@) {
- warn "Exception when calling ActuatorApi->heapdump: $@\n";
-}</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-heapdump-0-python">
- <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
-import time
-import openapi_client
-from openapi_client.rest import ApiException
-from pprint import pprint
-
-# Create an instance of the API class
-api_instance = openapi_client.ActuatorApi()
-
-try:
- # Actuator web endpoint 'heapdump'
- api_response = api_instance.heapdump()
- pprint(api_response)
-except ApiException as e:
- print("Exception when calling ActuatorApi->heapdump: %s\n" % e)</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-heapdump-0-rust">
- <pre class="prettyprint"><code class="language-rust">extern crate ActuatorApi;
-
-pub fn main() {
-
- let mut context = ActuatorApi::Context::default();
- let result = client.heapdump(&context).wait();
-
- println!("{:?}", result);
-}
-</code></pre>
- </div>
- </div>
-
- <h2>Scopes</h2>
- <table>
-
- </table>
-
- <h2>Parameters</h2>
-
-
-
-
-
-
- <h2>Responses</h2>
- <h3 id="examples-Actuator-heapdump-title-200"></h3>
- <p id="examples-Actuator-heapdump-description-200" class="marked"></p>
+ <h3 id="examples-A1PolicyManagement-putPolicy-title-502"></h3>
+ <p id="examples-A1PolicyManagement-putPolicy-description-502" class="marked"></p>
<script>
- var responseActuator200_description = `OK`;
- var responseActuator200_description_break = responseActuator200_description.indexOf('\n');
- if (responseActuator200_description_break == -1) {
- $("#examples-Actuator-heapdump-title-200").text("Status: 200 - " + responseActuator200_description);
+ var responseA1PolicyManagement502_description = `Bad Gateway`;
+ var responseA1PolicyManagement502_description_break = responseA1PolicyManagement502_description.indexOf('\n');
+ if (responseA1PolicyManagement502_description_break == -1) {
+ $("#examples-A1PolicyManagement-putPolicy-title-502").text("Status: 502 - " + responseA1PolicyManagement502_description);
} else {
- $("#examples-Actuator-heapdump-title-200").text("Status: 200 - " + responseActuator200_description.substring(0, responseActuator200_description_break));
- $("#examples-Actuator-heapdump-description-200").html(responseActuator200_description.substring(responseActuator200_description_break));
+ $("#examples-A1PolicyManagement-putPolicy-title-502").text("Status: 502 - " + responseA1PolicyManagement502_description.substring(0, responseA1PolicyManagement502_description_break));
+ $("#examples-A1PolicyManagement-putPolicy-description-502").html(responseA1PolicyManagement502_description.substring(responseA1PolicyManagement502_description_break));
}
</script>
- <ul id="responses-detail-Actuator-heapdump-200" class="nav nav-tabs nav-tabs-examples" >
+ <ul id="responses-detail-A1PolicyManagement-putPolicy-502" class="nav nav-tabs nav-tabs-examples" >
<li class="active">
- <a data-toggle="tab" href="#responses-Actuator-heapdump-200-schema">Schema</a>
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-putPolicy-502-schema">Schema</a>
</li>
@@ -5435,295 +9325,74 @@
</ul>
- <div class="tab-content" id="responses-Actuator-heapdump-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-Actuator-heapdump-200-schema">
- <div id="responses-Actuator-heapdump-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-content" id="responses-A1PolicyManagement-putPolicy-502-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-putPolicy-502-schema">
+ <div id="responses-A1PolicyManagement-putPolicy-schema-502" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Bad Gateway",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-Actuator-heapdump-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-Actuator-heapdump-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-Actuator-heapdump-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-putPolicy-502-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-putPolicy-schema-502');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-A1PolicyManagement-putPolicy-502-schema-data' type='hidden' value=''></input>
+ </div>
</div>
- </article>
- </div>
- <hr>
- <div id="api-Actuator-info">
- <article id="api-Actuator-info-0" data-group="User" data-name="info" data-version="0">
- <div class="pull-left">
- <h1>info</h1>
- <p>Actuator web endpoint 'info'</p>
- </div>
- <div class="pull-right"></div>
- <div class="clearfix"></div>
- <p></p>
- <p class="marked"></p>
- <p></p>
- <br />
- <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/actuator/info</span></code></pre>
- <p>
- <h3>Usage and SDK Samples</h3>
- </p>
- <ul class="nav nav-tabs nav-tabs-examples">
- <li class="active"><a href="#examples-Actuator-info-0-curl">Curl</a></li>
- <li class=""><a href="#examples-Actuator-info-0-java">Java</a></li>
- <li class=""><a href="#examples-Actuator-info-0-android">Android</a></li>
- <!--<li class=""><a href="#examples-Actuator-info-0-groovy">Groovy</a></li>-->
- <li class=""><a href="#examples-Actuator-info-0-objc">Obj-C</a></li>
- <li class=""><a href="#examples-Actuator-info-0-javascript">JavaScript</a></li>
- <!--<li class=""><a href="#examples-Actuator-info-0-angular">Angular</a></li>-->
- <li class=""><a href="#examples-Actuator-info-0-csharp">C#</a></li>
- <li class=""><a href="#examples-Actuator-info-0-php">PHP</a></li>
- <li class=""><a href="#examples-Actuator-info-0-perl">Perl</a></li>
- <li class=""><a href="#examples-Actuator-info-0-python">Python</a></li>
- <li class=""><a href="#examples-Actuator-info-0-rust">Rust</a></li>
- </ul>
-
- <div class="tab-content">
- <div class="tab-pane active" id="examples-Actuator-info-0-curl">
- <pre class="prettyprint"><code class="language-bsh">curl -X GET \
- -H "Accept: application/vnd.spring-boot.actuator.v3+json,application/json,application/vnd.spring-boot.actuator.v2+json" \
- "http://localhost/actuator/info"
-</code></pre>
- </div>
- <div class="tab-pane" id="examples-Actuator-info-0-java">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
-import org.openapitools.client.auth.*;
-import org.openapitools.client.model.*;
-import org.openapitools.client.api.ActuatorApi;
-
-import java.io.File;
-import java.util.*;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
-
- // Create an instance of the API class
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- Object result = apiInstance.info();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#info");
- e.printStackTrace();
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-info-0-android">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ActuatorApi;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- Object result = apiInstance.info();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#info");
- e.printStackTrace();
- }
- }
-}</code></pre>
- </div>
- <!--
- <div class="tab-pane" id="examples-Actuator-info-0-groovy">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div> -->
- <div class="tab-pane" id="examples-Actuator-info-0-objc">
- <pre class="prettyprint"><code class="language-cpp">
-
-// Create an instance of the API class
-ActuatorApi *apiInstance = [[ActuatorApi alloc] init];
-
-// Actuator web endpoint 'info'
-[apiInstance infoWithCompletionHandler:
- ^(Object output, NSError* error) {
- if (output) {
- NSLog(@"%@", output);
- }
- if (error) {
- NSLog(@"Error: %@", error);
- }
-}];
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-info-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
-
-// Create an instance of the API class
-var api = new A1PolicyManagementService.ActuatorApi()
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-api.info(callback);
-</code></pre>
- </div>
-
- <!--<div class="tab-pane" id="examples-Actuator-info-0-angular">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div>-->
- <div class="tab-pane" id="examples-Actuator-info-0-csharp">
- <pre class="prettyprint"><code class="language-cs">using System;
-using System.Diagnostics;
-using Org.OpenAPITools.Api;
-using Org.OpenAPITools.Client;
-using Org.OpenAPITools.Model;
-
-namespace Example
-{
- public class infoExample
- {
- public void main()
- {
-
- // Create an instance of the API class
- var apiInstance = new ActuatorApi();
-
- try {
- // Actuator web endpoint 'info'
- Object result = apiInstance.info();
- Debug.WriteLine(result);
- } catch (Exception e) {
- Debug.Print("Exception when calling ActuatorApi.info: " + e.Message );
- }
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-info-0-php">
- <pre class="prettyprint"><code class="language-php"><?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-// Create an instance of the API class
-$api_instance = new OpenAPITools\Client\Api\ActuatorApi();
-
-try {
- $result = $api_instance->info();
- print_r($result);
-} catch (Exception $e) {
- echo 'Exception when calling ActuatorApi->info: ', $e->getMessage(), PHP_EOL;
-}
-?></code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-info-0-perl">
- <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
-use WWW::OPenAPIClient::Configuration;
-use WWW::OPenAPIClient::ActuatorApi;
-
-# Create an instance of the API class
-my $api_instance = WWW::OPenAPIClient::ActuatorApi->new();
-
-eval {
- my $result = $api_instance->info();
- print Dumper($result);
-};
-if ($@) {
- warn "Exception when calling ActuatorApi->info: $@\n";
-}</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-info-0-python">
- <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
-import time
-import openapi_client
-from openapi_client.rest import ApiException
-from pprint import pprint
-
-# Create an instance of the API class
-api_instance = openapi_client.ActuatorApi()
-
-try:
- # Actuator web endpoint 'info'
- api_response = api_instance.info()
- pprint(api_response)
-except ApiException as e:
- print("Exception when calling ActuatorApi->info: %s\n" % e)</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-info-0-rust">
- <pre class="prettyprint"><code class="language-rust">extern crate ActuatorApi;
-
-pub fn main() {
-
- let mut context = ActuatorApi::Context::default();
- let result = client.info(&context).wait();
-
- println!("{:?}", result);
-}
-</code></pre>
- </div>
- </div>
-
- <h2>Scopes</h2>
- <table>
-
- </table>
-
- <h2>Parameters</h2>
-
-
-
-
-
-
- <h2>Responses</h2>
- <h3 id="examples-Actuator-info-title-200"></h3>
- <p id="examples-Actuator-info-description-200" class="marked"></p>
+ <h3 id="examples-A1PolicyManagement-putPolicy-title-503"></h3>
+ <p id="examples-A1PolicyManagement-putPolicy-description-503" class="marked"></p>
<script>
- var responseActuator200_description = `OK`;
- var responseActuator200_description_break = responseActuator200_description.indexOf('\n');
- if (responseActuator200_description_break == -1) {
- $("#examples-Actuator-info-title-200").text("Status: 200 - " + responseActuator200_description);
+ var responseA1PolicyManagement503_description = `Service Unavailable`;
+ var responseA1PolicyManagement503_description_break = responseA1PolicyManagement503_description.indexOf('\n');
+ if (responseA1PolicyManagement503_description_break == -1) {
+ $("#examples-A1PolicyManagement-putPolicy-title-503").text("Status: 503 - " + responseA1PolicyManagement503_description);
} else {
- $("#examples-Actuator-info-title-200").text("Status: 200 - " + responseActuator200_description.substring(0, responseActuator200_description_break));
- $("#examples-Actuator-info-description-200").html(responseActuator200_description.substring(responseActuator200_description_break));
+ $("#examples-A1PolicyManagement-putPolicy-title-503").text("Status: 503 - " + responseA1PolicyManagement503_description.substring(0, responseA1PolicyManagement503_description_break));
+ $("#examples-A1PolicyManagement-putPolicy-description-503").html(responseA1PolicyManagement503_description.substring(responseA1PolicyManagement503_description_break));
}
</script>
- <ul id="responses-detail-Actuator-info-200" class="nav nav-tabs nav-tabs-examples" >
+ <ul id="responses-detail-A1PolicyManagement-putPolicy-503" class="nav nav-tabs nav-tabs-examples" >
<li class="active">
- <a data-toggle="tab" href="#responses-Actuator-info-200-schema">Schema</a>
+ <a data-toggle="tab" href="#responses-A1PolicyManagement-putPolicy-503-schema">Schema</a>
</li>
@@ -5732,3306 +9401,56 @@
</ul>
- <div class="tab-content" id="responses-Actuator-info-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-Actuator-info-200-schema">
- <div id="responses-Actuator-info-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-content" id="responses-A1PolicyManagement-putPolicy-503-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-A1PolicyManagement-putPolicy-503-schema">
+ <div id="responses-A1PolicyManagement-putPolicy-schema-503" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Service Unavailable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-Actuator-info-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-Actuator-info-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-Actuator-info-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-A1PolicyManagement-putPolicy-503-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-A1PolicyManagement-putPolicy-schema-503');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
- </div>
- </article>
- </div>
- <hr>
- <div id="api-Actuator-links">
- <article id="api-Actuator-links-0" data-group="User" data-name="links" data-version="0">
- <div class="pull-left">
- <h1>links</h1>
- <p>Actuator root web endpoint</p>
- </div>
- <div class="pull-right"></div>
- <div class="clearfix"></div>
- <p></p>
- <p class="marked"></p>
- <p></p>
- <br />
- <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/actuator</span></code></pre>
- <p>
- <h3>Usage and SDK Samples</h3>
- </p>
- <ul class="nav nav-tabs nav-tabs-examples">
- <li class="active"><a href="#examples-Actuator-links-0-curl">Curl</a></li>
- <li class=""><a href="#examples-Actuator-links-0-java">Java</a></li>
- <li class=""><a href="#examples-Actuator-links-0-android">Android</a></li>
- <!--<li class=""><a href="#examples-Actuator-links-0-groovy">Groovy</a></li>-->
- <li class=""><a href="#examples-Actuator-links-0-objc">Obj-C</a></li>
- <li class=""><a href="#examples-Actuator-links-0-javascript">JavaScript</a></li>
- <!--<li class=""><a href="#examples-Actuator-links-0-angular">Angular</a></li>-->
- <li class=""><a href="#examples-Actuator-links-0-csharp">C#</a></li>
- <li class=""><a href="#examples-Actuator-links-0-php">PHP</a></li>
- <li class=""><a href="#examples-Actuator-links-0-perl">Perl</a></li>
- <li class=""><a href="#examples-Actuator-links-0-python">Python</a></li>
- <li class=""><a href="#examples-Actuator-links-0-rust">Rust</a></li>
- </ul>
-
- <div class="tab-content">
- <div class="tab-pane active" id="examples-Actuator-links-0-curl">
- <pre class="prettyprint"><code class="language-bsh">curl -X GET \
- -H "Accept: application/vnd.spring-boot.actuator.v3+json,application/json,application/vnd.spring-boot.actuator.v2+json" \
- "http://localhost/actuator"
-</code></pre>
- </div>
- <div class="tab-pane" id="examples-Actuator-links-0-java">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
-import org.openapitools.client.auth.*;
-import org.openapitools.client.model.*;
-import org.openapitools.client.api.ActuatorApi;
-
-import java.io.File;
-import java.util.*;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
-
- // Create an instance of the API class
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- map['String', map['String', Link]] result = apiInstance.links();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#links");
- e.printStackTrace();
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-links-0-android">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ActuatorApi;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- map['String', map['String', Link]] result = apiInstance.links();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#links");
- e.printStackTrace();
- }
- }
-}</code></pre>
- </div>
- <!--
- <div class="tab-pane" id="examples-Actuator-links-0-groovy">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div> -->
- <div class="tab-pane" id="examples-Actuator-links-0-objc">
- <pre class="prettyprint"><code class="language-cpp">
-
-// Create an instance of the API class
-ActuatorApi *apiInstance = [[ActuatorApi alloc] init];
-
-// Actuator root web endpoint
-[apiInstance linksWithCompletionHandler:
- ^(map['String', map['String', Link]] output, NSError* error) {
- if (output) {
- NSLog(@"%@", output);
- }
- if (error) {
- NSLog(@"Error: %@", error);
- }
-}];
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-links-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
-
-// Create an instance of the API class
-var api = new A1PolicyManagementService.ActuatorApi()
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-api.links(callback);
-</code></pre>
- </div>
-
- <!--<div class="tab-pane" id="examples-Actuator-links-0-angular">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div>-->
- <div class="tab-pane" id="examples-Actuator-links-0-csharp">
- <pre class="prettyprint"><code class="language-cs">using System;
-using System.Diagnostics;
-using Org.OpenAPITools.Api;
-using Org.OpenAPITools.Client;
-using Org.OpenAPITools.Model;
-
-namespace Example
-{
- public class linksExample
- {
- public void main()
- {
-
- // Create an instance of the API class
- var apiInstance = new ActuatorApi();
-
- try {
- // Actuator root web endpoint
- map['String', map['String', Link]] result = apiInstance.links();
- Debug.WriteLine(result);
- } catch (Exception e) {
- Debug.Print("Exception when calling ActuatorApi.links: " + e.Message );
- }
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-links-0-php">
- <pre class="prettyprint"><code class="language-php"><?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-// Create an instance of the API class
-$api_instance = new OpenAPITools\Client\Api\ActuatorApi();
-
-try {
- $result = $api_instance->links();
- print_r($result);
-} catch (Exception $e) {
- echo 'Exception when calling ActuatorApi->links: ', $e->getMessage(), PHP_EOL;
-}
-?></code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-links-0-perl">
- <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
-use WWW::OPenAPIClient::Configuration;
-use WWW::OPenAPIClient::ActuatorApi;
-
-# Create an instance of the API class
-my $api_instance = WWW::OPenAPIClient::ActuatorApi->new();
-
-eval {
- my $result = $api_instance->links();
- print Dumper($result);
-};
-if ($@) {
- warn "Exception when calling ActuatorApi->links: $@\n";
-}</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-links-0-python">
- <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
-import time
-import openapi_client
-from openapi_client.rest import ApiException
-from pprint import pprint
-
-# Create an instance of the API class
-api_instance = openapi_client.ActuatorApi()
-
-try:
- # Actuator root web endpoint
- api_response = api_instance.links()
- pprint(api_response)
-except ApiException as e:
- print("Exception when calling ActuatorApi->links: %s\n" % e)</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-links-0-rust">
- <pre class="prettyprint"><code class="language-rust">extern crate ActuatorApi;
-
-pub fn main() {
-
- let mut context = ActuatorApi::Context::default();
- let result = client.links(&context).wait();
-
- println!("{:?}", result);
-}
-</code></pre>
- </div>
- </div>
-
- <h2>Scopes</h2>
- <table>
-
- </table>
-
- <h2>Parameters</h2>
-
-
-
-
-
-
- <h2>Responses</h2>
- <h3 id="examples-Actuator-links-title-200"></h3>
- <p id="examples-Actuator-links-description-200" class="marked"></p>
- <script>
- var responseActuator200_description = `OK`;
- var responseActuator200_description_break = responseActuator200_description.indexOf('\n');
- if (responseActuator200_description_break == -1) {
- $("#examples-Actuator-links-title-200").text("Status: 200 - " + responseActuator200_description);
- } else {
- $("#examples-Actuator-links-title-200").text("Status: 200 - " + responseActuator200_description.substring(0, responseActuator200_description_break));
- $("#examples-Actuator-links-description-200").html(responseActuator200_description.substring(responseActuator200_description_break));
- }
- </script>
-
-
- <ul id="responses-detail-Actuator-links-200" class="nav nav-tabs nav-tabs-examples" >
- <li class="active">
- <a data-toggle="tab" href="#responses-Actuator-links-200-schema">Schema</a>
- </li>
-
-
-
-
- </ul>
-
-
- <div class="tab-content" id="responses-Actuator-links-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-Actuator-links-200-schema">
- <div id="responses-Actuator-links-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
- Object.keys(schema.properties).forEach( (item) => {
- if (schema.properties[item].$ref != null) {
- schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
- }
- });
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
- }
-
- var view = new JSONSchemaView(schema, 3);
- $('#responses-Actuator-links-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-Actuator-links-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-Actuator-links-200-schema-data' type='hidden' value=''></input>
- </div>
- </div>
- </article>
- </div>
- <hr>
- <div id="api-Actuator-logfile">
- <article id="api-Actuator-logfile-0" data-group="User" data-name="logfile" data-version="0">
- <div class="pull-left">
- <h1>logfile</h1>
- <p>Actuator web endpoint 'logfile'</p>
- </div>
- <div class="pull-right"></div>
- <div class="clearfix"></div>
- <p></p>
- <p class="marked"></p>
- <p></p>
- <br />
- <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/actuator/logfile</span></code></pre>
- <p>
- <h3>Usage and SDK Samples</h3>
- </p>
- <ul class="nav nav-tabs nav-tabs-examples">
- <li class="active"><a href="#examples-Actuator-logfile-0-curl">Curl</a></li>
- <li class=""><a href="#examples-Actuator-logfile-0-java">Java</a></li>
- <li class=""><a href="#examples-Actuator-logfile-0-android">Android</a></li>
- <!--<li class=""><a href="#examples-Actuator-logfile-0-groovy">Groovy</a></li>-->
- <li class=""><a href="#examples-Actuator-logfile-0-objc">Obj-C</a></li>
- <li class=""><a href="#examples-Actuator-logfile-0-javascript">JavaScript</a></li>
- <!--<li class=""><a href="#examples-Actuator-logfile-0-angular">Angular</a></li>-->
- <li class=""><a href="#examples-Actuator-logfile-0-csharp">C#</a></li>
- <li class=""><a href="#examples-Actuator-logfile-0-php">PHP</a></li>
- <li class=""><a href="#examples-Actuator-logfile-0-perl">Perl</a></li>
- <li class=""><a href="#examples-Actuator-logfile-0-python">Python</a></li>
- <li class=""><a href="#examples-Actuator-logfile-0-rust">Rust</a></li>
- </ul>
-
- <div class="tab-content">
- <div class="tab-pane active" id="examples-Actuator-logfile-0-curl">
- <pre class="prettyprint"><code class="language-bsh">curl -X GET \
- -H "Accept: text/plain;charset=UTF-8" \
- "http://localhost/actuator/logfile"
-</code></pre>
- </div>
- <div class="tab-pane" id="examples-Actuator-logfile-0-java">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
-import org.openapitools.client.auth.*;
-import org.openapitools.client.model.*;
-import org.openapitools.client.api.ActuatorApi;
-
-import java.io.File;
-import java.util.*;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
-
- // Create an instance of the API class
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- Object result = apiInstance.logfile();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#logfile");
- e.printStackTrace();
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-logfile-0-android">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ActuatorApi;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- Object result = apiInstance.logfile();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#logfile");
- e.printStackTrace();
- }
- }
-}</code></pre>
- </div>
- <!--
- <div class="tab-pane" id="examples-Actuator-logfile-0-groovy">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div> -->
- <div class="tab-pane" id="examples-Actuator-logfile-0-objc">
- <pre class="prettyprint"><code class="language-cpp">
-
-// Create an instance of the API class
-ActuatorApi *apiInstance = [[ActuatorApi alloc] init];
-
-// Actuator web endpoint 'logfile'
-[apiInstance logfileWithCompletionHandler:
- ^(Object output, NSError* error) {
- if (output) {
- NSLog(@"%@", output);
- }
- if (error) {
- NSLog(@"Error: %@", error);
- }
-}];
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-logfile-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
-
-// Create an instance of the API class
-var api = new A1PolicyManagementService.ActuatorApi()
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-api.logfile(callback);
-</code></pre>
- </div>
-
- <!--<div class="tab-pane" id="examples-Actuator-logfile-0-angular">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div>-->
- <div class="tab-pane" id="examples-Actuator-logfile-0-csharp">
- <pre class="prettyprint"><code class="language-cs">using System;
-using System.Diagnostics;
-using Org.OpenAPITools.Api;
-using Org.OpenAPITools.Client;
-using Org.OpenAPITools.Model;
-
-namespace Example
-{
- public class logfileExample
- {
- public void main()
- {
-
- // Create an instance of the API class
- var apiInstance = new ActuatorApi();
-
- try {
- // Actuator web endpoint 'logfile'
- Object result = apiInstance.logfile();
- Debug.WriteLine(result);
- } catch (Exception e) {
- Debug.Print("Exception when calling ActuatorApi.logfile: " + e.Message );
- }
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-logfile-0-php">
- <pre class="prettyprint"><code class="language-php"><?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-// Create an instance of the API class
-$api_instance = new OpenAPITools\Client\Api\ActuatorApi();
-
-try {
- $result = $api_instance->logfile();
- print_r($result);
-} catch (Exception $e) {
- echo 'Exception when calling ActuatorApi->logfile: ', $e->getMessage(), PHP_EOL;
-}
-?></code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-logfile-0-perl">
- <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
-use WWW::OPenAPIClient::Configuration;
-use WWW::OPenAPIClient::ActuatorApi;
-
-# Create an instance of the API class
-my $api_instance = WWW::OPenAPIClient::ActuatorApi->new();
-
-eval {
- my $result = $api_instance->logfile();
- print Dumper($result);
-};
-if ($@) {
- warn "Exception when calling ActuatorApi->logfile: $@\n";
-}</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-logfile-0-python">
- <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
-import time
-import openapi_client
-from openapi_client.rest import ApiException
-from pprint import pprint
-
-# Create an instance of the API class
-api_instance = openapi_client.ActuatorApi()
-
-try:
- # Actuator web endpoint 'logfile'
- api_response = api_instance.logfile()
- pprint(api_response)
-except ApiException as e:
- print("Exception when calling ActuatorApi->logfile: %s\n" % e)</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-logfile-0-rust">
- <pre class="prettyprint"><code class="language-rust">extern crate ActuatorApi;
-
-pub fn main() {
-
- let mut context = ActuatorApi::Context::default();
- let result = client.logfile(&context).wait();
-
- println!("{:?}", result);
-}
-</code></pre>
- </div>
- </div>
-
- <h2>Scopes</h2>
- <table>
-
- </table>
-
- <h2>Parameters</h2>
-
-
-
-
-
-
- <h2>Responses</h2>
- <h3 id="examples-Actuator-logfile-title-200"></h3>
- <p id="examples-Actuator-logfile-description-200" class="marked"></p>
- <script>
- var responseActuator200_description = `OK`;
- var responseActuator200_description_break = responseActuator200_description.indexOf('\n');
- if (responseActuator200_description_break == -1) {
- $("#examples-Actuator-logfile-title-200").text("Status: 200 - " + responseActuator200_description);
- } else {
- $("#examples-Actuator-logfile-title-200").text("Status: 200 - " + responseActuator200_description.substring(0, responseActuator200_description_break));
- $("#examples-Actuator-logfile-description-200").html(responseActuator200_description.substring(responseActuator200_description_break));
- }
- </script>
-
-
- <ul id="responses-detail-Actuator-logfile-200" class="nav nav-tabs nav-tabs-examples" >
- <li class="active">
- <a data-toggle="tab" href="#responses-Actuator-logfile-200-schema">Schema</a>
- </li>
-
-
-
-
- </ul>
-
-
- <div class="tab-content" id="responses-Actuator-logfile-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-Actuator-logfile-200-schema">
- <div id="responses-Actuator-logfile-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
- Object.keys(schema.properties).forEach( (item) => {
- if (schema.properties[item].$ref != null) {
- schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
- }
- });
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
- }
-
- var view = new JSONSchemaView(schema, 3);
- $('#responses-Actuator-logfile-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-Actuator-logfile-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-Actuator-logfile-200-schema-data' type='hidden' value=''></input>
- </div>
- </div>
- </article>
- </div>
- <hr>
- <div id="api-Actuator-loggers">
- <article id="api-Actuator-loggers-0" data-group="User" data-name="loggers" data-version="0">
- <div class="pull-left">
- <h1>loggers</h1>
- <p>Actuator web endpoint 'loggers'</p>
- </div>
- <div class="pull-right"></div>
- <div class="clearfix"></div>
- <p></p>
- <p class="marked"></p>
- <p></p>
- <br />
- <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/actuator/loggers</span></code></pre>
- <p>
- <h3>Usage and SDK Samples</h3>
- </p>
- <ul class="nav nav-tabs nav-tabs-examples">
- <li class="active"><a href="#examples-Actuator-loggers-0-curl">Curl</a></li>
- <li class=""><a href="#examples-Actuator-loggers-0-java">Java</a></li>
- <li class=""><a href="#examples-Actuator-loggers-0-android">Android</a></li>
- <!--<li class=""><a href="#examples-Actuator-loggers-0-groovy">Groovy</a></li>-->
- <li class=""><a href="#examples-Actuator-loggers-0-objc">Obj-C</a></li>
- <li class=""><a href="#examples-Actuator-loggers-0-javascript">JavaScript</a></li>
- <!--<li class=""><a href="#examples-Actuator-loggers-0-angular">Angular</a></li>-->
- <li class=""><a href="#examples-Actuator-loggers-0-csharp">C#</a></li>
- <li class=""><a href="#examples-Actuator-loggers-0-php">PHP</a></li>
- <li class=""><a href="#examples-Actuator-loggers-0-perl">Perl</a></li>
- <li class=""><a href="#examples-Actuator-loggers-0-python">Python</a></li>
- <li class=""><a href="#examples-Actuator-loggers-0-rust">Rust</a></li>
- </ul>
-
- <div class="tab-content">
- <div class="tab-pane active" id="examples-Actuator-loggers-0-curl">
- <pre class="prettyprint"><code class="language-bsh">curl -X GET \
- -H "Accept: application/vnd.spring-boot.actuator.v3+json,application/json,application/vnd.spring-boot.actuator.v2+json" \
- "http://localhost/actuator/loggers"
-</code></pre>
- </div>
- <div class="tab-pane" id="examples-Actuator-loggers-0-java">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
-import org.openapitools.client.auth.*;
-import org.openapitools.client.model.*;
-import org.openapitools.client.api.ActuatorApi;
-
-import java.io.File;
-import java.util.*;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
-
- // Create an instance of the API class
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- Object result = apiInstance.loggers();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#loggers");
- e.printStackTrace();
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-loggers-0-android">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ActuatorApi;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- Object result = apiInstance.loggers();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#loggers");
- e.printStackTrace();
- }
- }
-}</code></pre>
- </div>
- <!--
- <div class="tab-pane" id="examples-Actuator-loggers-0-groovy">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div> -->
- <div class="tab-pane" id="examples-Actuator-loggers-0-objc">
- <pre class="prettyprint"><code class="language-cpp">
-
-// Create an instance of the API class
-ActuatorApi *apiInstance = [[ActuatorApi alloc] init];
-
-// Actuator web endpoint 'loggers'
-[apiInstance loggersWithCompletionHandler:
- ^(Object output, NSError* error) {
- if (output) {
- NSLog(@"%@", output);
- }
- if (error) {
- NSLog(@"Error: %@", error);
- }
-}];
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-loggers-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
-
-// Create an instance of the API class
-var api = new A1PolicyManagementService.ActuatorApi()
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-api.loggers(callback);
-</code></pre>
- </div>
-
- <!--<div class="tab-pane" id="examples-Actuator-loggers-0-angular">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div>-->
- <div class="tab-pane" id="examples-Actuator-loggers-0-csharp">
- <pre class="prettyprint"><code class="language-cs">using System;
-using System.Diagnostics;
-using Org.OpenAPITools.Api;
-using Org.OpenAPITools.Client;
-using Org.OpenAPITools.Model;
-
-namespace Example
-{
- public class loggersExample
- {
- public void main()
- {
-
- // Create an instance of the API class
- var apiInstance = new ActuatorApi();
-
- try {
- // Actuator web endpoint 'loggers'
- Object result = apiInstance.loggers();
- Debug.WriteLine(result);
- } catch (Exception e) {
- Debug.Print("Exception when calling ActuatorApi.loggers: " + e.Message );
- }
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-loggers-0-php">
- <pre class="prettyprint"><code class="language-php"><?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-// Create an instance of the API class
-$api_instance = new OpenAPITools\Client\Api\ActuatorApi();
-
-try {
- $result = $api_instance->loggers();
- print_r($result);
-} catch (Exception $e) {
- echo 'Exception when calling ActuatorApi->loggers: ', $e->getMessage(), PHP_EOL;
-}
-?></code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-loggers-0-perl">
- <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
-use WWW::OPenAPIClient::Configuration;
-use WWW::OPenAPIClient::ActuatorApi;
-
-# Create an instance of the API class
-my $api_instance = WWW::OPenAPIClient::ActuatorApi->new();
-
-eval {
- my $result = $api_instance->loggers();
- print Dumper($result);
-};
-if ($@) {
- warn "Exception when calling ActuatorApi->loggers: $@\n";
-}</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-loggers-0-python">
- <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
-import time
-import openapi_client
-from openapi_client.rest import ApiException
-from pprint import pprint
-
-# Create an instance of the API class
-api_instance = openapi_client.ActuatorApi()
-
-try:
- # Actuator web endpoint 'loggers'
- api_response = api_instance.loggers()
- pprint(api_response)
-except ApiException as e:
- print("Exception when calling ActuatorApi->loggers: %s\n" % e)</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-loggers-0-rust">
- <pre class="prettyprint"><code class="language-rust">extern crate ActuatorApi;
-
-pub fn main() {
-
- let mut context = ActuatorApi::Context::default();
- let result = client.loggers(&context).wait();
-
- println!("{:?}", result);
-}
-</code></pre>
- </div>
- </div>
-
- <h2>Scopes</h2>
- <table>
-
- </table>
-
- <h2>Parameters</h2>
-
-
-
-
-
-
- <h2>Responses</h2>
- <h3 id="examples-Actuator-loggers-title-200"></h3>
- <p id="examples-Actuator-loggers-description-200" class="marked"></p>
- <script>
- var responseActuator200_description = `OK`;
- var responseActuator200_description_break = responseActuator200_description.indexOf('\n');
- if (responseActuator200_description_break == -1) {
- $("#examples-Actuator-loggers-title-200").text("Status: 200 - " + responseActuator200_description);
- } else {
- $("#examples-Actuator-loggers-title-200").text("Status: 200 - " + responseActuator200_description.substring(0, responseActuator200_description_break));
- $("#examples-Actuator-loggers-description-200").html(responseActuator200_description.substring(responseActuator200_description_break));
- }
- </script>
-
-
- <ul id="responses-detail-Actuator-loggers-200" class="nav nav-tabs nav-tabs-examples" >
- <li class="active">
- <a data-toggle="tab" href="#responses-Actuator-loggers-200-schema">Schema</a>
- </li>
-
-
-
-
- </ul>
-
-
- <div class="tab-content" id="responses-Actuator-loggers-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-Actuator-loggers-200-schema">
- <div id="responses-Actuator-loggers-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
- Object.keys(schema.properties).forEach( (item) => {
- if (schema.properties[item].$ref != null) {
- schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
- }
- });
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
- }
-
- var view = new JSONSchemaView(schema, 3);
- $('#responses-Actuator-loggers-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-Actuator-loggers-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-Actuator-loggers-200-schema-data' type='hidden' value=''></input>
- </div>
- </div>
- </article>
- </div>
- <hr>
- <div id="api-Actuator-loggersName">
- <article id="api-Actuator-loggersName-0" data-group="User" data-name="loggersName" data-version="0">
- <div class="pull-left">
- <h1>loggersName</h1>
- <p>Actuator web endpoint 'loggers-name'</p>
- </div>
- <div class="pull-right"></div>
- <div class="clearfix"></div>
- <p></p>
- <p class="marked"></p>
- <p></p>
- <br />
- <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/actuator/loggers/{name}</span></code></pre>
- <p>
- <h3>Usage and SDK Samples</h3>
- </p>
- <ul class="nav nav-tabs nav-tabs-examples">
- <li class="active"><a href="#examples-Actuator-loggersName-0-curl">Curl</a></li>
- <li class=""><a href="#examples-Actuator-loggersName-0-java">Java</a></li>
- <li class=""><a href="#examples-Actuator-loggersName-0-android">Android</a></li>
- <!--<li class=""><a href="#examples-Actuator-loggersName-0-groovy">Groovy</a></li>-->
- <li class=""><a href="#examples-Actuator-loggersName-0-objc">Obj-C</a></li>
- <li class=""><a href="#examples-Actuator-loggersName-0-javascript">JavaScript</a></li>
- <!--<li class=""><a href="#examples-Actuator-loggersName-0-angular">Angular</a></li>-->
- <li class=""><a href="#examples-Actuator-loggersName-0-csharp">C#</a></li>
- <li class=""><a href="#examples-Actuator-loggersName-0-php">PHP</a></li>
- <li class=""><a href="#examples-Actuator-loggersName-0-perl">Perl</a></li>
- <li class=""><a href="#examples-Actuator-loggersName-0-python">Python</a></li>
- <li class=""><a href="#examples-Actuator-loggersName-0-rust">Rust</a></li>
- </ul>
-
- <div class="tab-content">
- <div class="tab-pane active" id="examples-Actuator-loggersName-0-curl">
- <pre class="prettyprint"><code class="language-bsh">curl -X GET \
- -H "Accept: application/vnd.spring-boot.actuator.v3+json,application/json,application/vnd.spring-boot.actuator.v2+json" \
- "http://localhost/actuator/loggers/{name}"
-</code></pre>
- </div>
- <div class="tab-pane" id="examples-Actuator-loggersName-0-java">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
-import org.openapitools.client.auth.*;
-import org.openapitools.client.model.*;
-import org.openapitools.client.api.ActuatorApi;
-
-import java.io.File;
-import java.util.*;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
-
- // Create an instance of the API class
- ActuatorApi apiInstance = new ActuatorApi();
- String name = name_example; // String |
-
- try {
- Object result = apiInstance.loggersName(name);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#loggersName");
- e.printStackTrace();
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-loggersName-0-android">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ActuatorApi;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
- ActuatorApi apiInstance = new ActuatorApi();
- String name = name_example; // String |
-
- try {
- Object result = apiInstance.loggersName(name);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#loggersName");
- e.printStackTrace();
- }
- }
-}</code></pre>
- </div>
- <!--
- <div class="tab-pane" id="examples-Actuator-loggersName-0-groovy">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div> -->
- <div class="tab-pane" id="examples-Actuator-loggersName-0-objc">
- <pre class="prettyprint"><code class="language-cpp">
-
-// Create an instance of the API class
-ActuatorApi *apiInstance = [[ActuatorApi alloc] init];
-String *name = name_example; // (default to null)
-
-// Actuator web endpoint 'loggers-name'
-[apiInstance loggersNameWith:name
- completionHandler: ^(Object output, NSError* error) {
- if (output) {
- NSLog(@"%@", output);
- }
- if (error) {
- NSLog(@"Error: %@", error);
- }
-}];
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-loggersName-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
-
-// Create an instance of the API class
-var api = new A1PolicyManagementService.ActuatorApi()
-var name = name_example; // {String}
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-api.loggersName(name, callback);
-</code></pre>
- </div>
-
- <!--<div class="tab-pane" id="examples-Actuator-loggersName-0-angular">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div>-->
- <div class="tab-pane" id="examples-Actuator-loggersName-0-csharp">
- <pre class="prettyprint"><code class="language-cs">using System;
-using System.Diagnostics;
-using Org.OpenAPITools.Api;
-using Org.OpenAPITools.Client;
-using Org.OpenAPITools.Model;
-
-namespace Example
-{
- public class loggersNameExample
- {
- public void main()
- {
-
- // Create an instance of the API class
- var apiInstance = new ActuatorApi();
- var name = name_example; // String | (default to null)
-
- try {
- // Actuator web endpoint 'loggers-name'
- Object result = apiInstance.loggersName(name);
- Debug.WriteLine(result);
- } catch (Exception e) {
- Debug.Print("Exception when calling ActuatorApi.loggersName: " + e.Message );
- }
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-loggersName-0-php">
- <pre class="prettyprint"><code class="language-php"><?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-// Create an instance of the API class
-$api_instance = new OpenAPITools\Client\Api\ActuatorApi();
-$name = name_example; // String |
-
-try {
- $result = $api_instance->loggersName($name);
- print_r($result);
-} catch (Exception $e) {
- echo 'Exception when calling ActuatorApi->loggersName: ', $e->getMessage(), PHP_EOL;
-}
-?></code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-loggersName-0-perl">
- <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
-use WWW::OPenAPIClient::Configuration;
-use WWW::OPenAPIClient::ActuatorApi;
-
-# Create an instance of the API class
-my $api_instance = WWW::OPenAPIClient::ActuatorApi->new();
-my $name = name_example; # String |
-
-eval {
- my $result = $api_instance->loggersName(name => $name);
- print Dumper($result);
-};
-if ($@) {
- warn "Exception when calling ActuatorApi->loggersName: $@\n";
-}</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-loggersName-0-python">
- <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
-import time
-import openapi_client
-from openapi_client.rest import ApiException
-from pprint import pprint
-
-# Create an instance of the API class
-api_instance = openapi_client.ActuatorApi()
-name = name_example # String | (default to null)
-
-try:
- # Actuator web endpoint 'loggers-name'
- api_response = api_instance.loggers_name(name)
- pprint(api_response)
-except ApiException as e:
- print("Exception when calling ActuatorApi->loggersName: %s\n" % e)</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-loggersName-0-rust">
- <pre class="prettyprint"><code class="language-rust">extern crate ActuatorApi;
-
-pub fn main() {
- let name = name_example; // String
-
- let mut context = ActuatorApi::Context::default();
- let result = client.loggersName(name, &context).wait();
-
- println!("{:?}", result);
-}
-</code></pre>
- </div>
- </div>
-
- <h2>Scopes</h2>
- <table>
-
- </table>
-
- <h2>Parameters</h2>
-
- <div class="methodsubtabletitle">Path parameters</div>
- <table id="methodsubtable">
- <tr>
- <th width="150px">Name</th>
- <th>Description</th>
- </tr>
- <tr><td style="width:150px;">name*</td>
-<td>
-
-
- <div id="d2e199_loggersName_name">
- <div class="json-schema-view">
- <div class="primitive">
- <span class="type">
- String
- </span>
-
- </div>
- <div class="inner required">
- Required
- </div>
- </div>
- </div>
-</td>
-</tr>
-
- </table>
-
-
-
-
-
- <h2>Responses</h2>
- <h3 id="examples-Actuator-loggersName-title-200"></h3>
- <p id="examples-Actuator-loggersName-description-200" class="marked"></p>
- <script>
- var responseActuator200_description = `OK`;
- var responseActuator200_description_break = responseActuator200_description.indexOf('\n');
- if (responseActuator200_description_break == -1) {
- $("#examples-Actuator-loggersName-title-200").text("Status: 200 - " + responseActuator200_description);
- } else {
- $("#examples-Actuator-loggersName-title-200").text("Status: 200 - " + responseActuator200_description.substring(0, responseActuator200_description_break));
- $("#examples-Actuator-loggersName-description-200").html(responseActuator200_description.substring(responseActuator200_description_break));
- }
- </script>
-
-
- <ul id="responses-detail-Actuator-loggersName-200" class="nav nav-tabs nav-tabs-examples" >
- <li class="active">
- <a data-toggle="tab" href="#responses-Actuator-loggersName-200-schema">Schema</a>
- </li>
-
-
-
-
- </ul>
-
-
- <div class="tab-content" id="responses-Actuator-loggersName-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-Actuator-loggersName-200-schema">
- <div id="responses-Actuator-loggersName-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
- Object.keys(schema.properties).forEach( (item) => {
- if (schema.properties[item].$ref != null) {
- schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
- }
- });
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
- }
-
- var view = new JSONSchemaView(schema, 3);
- $('#responses-Actuator-loggersName-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-Actuator-loggersName-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-Actuator-loggersName-200-schema-data' type='hidden' value=''></input>
- </div>
- </div>
- </article>
- </div>
- <hr>
- <div id="api-Actuator-loggersName2">
- <article id="api-Actuator-loggersName2-0" data-group="User" data-name="loggersName2" data-version="0">
- <div class="pull-left">
- <h1>loggersName2</h1>
- <p>Actuator web endpoint 'loggers-name'</p>
- </div>
- <div class="pull-right"></div>
- <div class="clearfix"></div>
- <p></p>
- <p class="marked"></p>
- <p></p>
- <br />
- <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/actuator/loggers/{name}</span></code></pre>
- <p>
- <h3>Usage and SDK Samples</h3>
- </p>
- <ul class="nav nav-tabs nav-tabs-examples">
- <li class="active"><a href="#examples-Actuator-loggersName2-0-curl">Curl</a></li>
- <li class=""><a href="#examples-Actuator-loggersName2-0-java">Java</a></li>
- <li class=""><a href="#examples-Actuator-loggersName2-0-android">Android</a></li>
- <!--<li class=""><a href="#examples-Actuator-loggersName2-0-groovy">Groovy</a></li>-->
- <li class=""><a href="#examples-Actuator-loggersName2-0-objc">Obj-C</a></li>
- <li class=""><a href="#examples-Actuator-loggersName2-0-javascript">JavaScript</a></li>
- <!--<li class=""><a href="#examples-Actuator-loggersName2-0-angular">Angular</a></li>-->
- <li class=""><a href="#examples-Actuator-loggersName2-0-csharp">C#</a></li>
- <li class=""><a href="#examples-Actuator-loggersName2-0-php">PHP</a></li>
- <li class=""><a href="#examples-Actuator-loggersName2-0-perl">Perl</a></li>
- <li class=""><a href="#examples-Actuator-loggersName2-0-python">Python</a></li>
- <li class=""><a href="#examples-Actuator-loggersName2-0-rust">Rust</a></li>
- </ul>
-
- <div class="tab-content">
- <div class="tab-pane active" id="examples-Actuator-loggersName2-0-curl">
- <pre class="prettyprint"><code class="language-bsh">curl -X POST \
- -H "Accept: */*" \
- -H "Content-Type: application/json" \
- "http://localhost/actuator/loggers/{name}" \
- -d ''
-</code></pre>
- </div>
- <div class="tab-pane" id="examples-Actuator-loggersName2-0-java">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
-import org.openapitools.client.auth.*;
-import org.openapitools.client.model.*;
-import org.openapitools.client.api.ActuatorApi;
-
-import java.io.File;
-import java.util.*;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
-
- // Create an instance of the API class
- ActuatorApi apiInstance = new ActuatorApi();
- String name = name_example; // String |
- String body = body_example; // String |
-
- try {
- Object result = apiInstance.loggersName2(name, body);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#loggersName2");
- e.printStackTrace();
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-loggersName2-0-android">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ActuatorApi;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
- ActuatorApi apiInstance = new ActuatorApi();
- String name = name_example; // String |
- String body = body_example; // String |
-
- try {
- Object result = apiInstance.loggersName2(name, body);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#loggersName2");
- e.printStackTrace();
- }
- }
-}</code></pre>
- </div>
- <!--
- <div class="tab-pane" id="examples-Actuator-loggersName2-0-groovy">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div> -->
- <div class="tab-pane" id="examples-Actuator-loggersName2-0-objc">
- <pre class="prettyprint"><code class="language-cpp">
-
-// Create an instance of the API class
-ActuatorApi *apiInstance = [[ActuatorApi alloc] init];
-String *name = name_example; // (default to null)
-String *body = body_example; // (optional)
-
-// Actuator web endpoint 'loggers-name'
-[apiInstance loggersName2With:name
- body:body
- completionHandler: ^(Object output, NSError* error) {
- if (output) {
- NSLog(@"%@", output);
- }
- if (error) {
- NSLog(@"Error: %@", error);
- }
-}];
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-loggersName2-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
-
-// Create an instance of the API class
-var api = new A1PolicyManagementService.ActuatorApi()
-var name = name_example; // {String}
-var opts = {
- 'body': body_example // {String}
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-api.loggersName2(name, opts, callback);
-</code></pre>
- </div>
-
- <!--<div class="tab-pane" id="examples-Actuator-loggersName2-0-angular">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div>-->
- <div class="tab-pane" id="examples-Actuator-loggersName2-0-csharp">
- <pre class="prettyprint"><code class="language-cs">using System;
-using System.Diagnostics;
-using Org.OpenAPITools.Api;
-using Org.OpenAPITools.Client;
-using Org.OpenAPITools.Model;
-
-namespace Example
-{
- public class loggersName2Example
- {
- public void main()
- {
-
- // Create an instance of the API class
- var apiInstance = new ActuatorApi();
- var name = name_example; // String | (default to null)
- var body = body_example; // String | (optional)
-
- try {
- // Actuator web endpoint 'loggers-name'
- Object result = apiInstance.loggersName2(name, body);
- Debug.WriteLine(result);
- } catch (Exception e) {
- Debug.Print("Exception when calling ActuatorApi.loggersName2: " + e.Message );
- }
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-loggersName2-0-php">
- <pre class="prettyprint"><code class="language-php"><?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-// Create an instance of the API class
-$api_instance = new OpenAPITools\Client\Api\ActuatorApi();
-$name = name_example; // String |
-$body = body_example; // String |
-
-try {
- $result = $api_instance->loggersName2($name, $body);
- print_r($result);
-} catch (Exception $e) {
- echo 'Exception when calling ActuatorApi->loggersName2: ', $e->getMessage(), PHP_EOL;
-}
-?></code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-loggersName2-0-perl">
- <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
-use WWW::OPenAPIClient::Configuration;
-use WWW::OPenAPIClient::ActuatorApi;
-
-# Create an instance of the API class
-my $api_instance = WWW::OPenAPIClient::ActuatorApi->new();
-my $name = name_example; # String |
-my $body = WWW::OPenAPIClient::Object::String->new(); # String |
-
-eval {
- my $result = $api_instance->loggersName2(name => $name, body => $body);
- print Dumper($result);
-};
-if ($@) {
- warn "Exception when calling ActuatorApi->loggersName2: $@\n";
-}</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-loggersName2-0-python">
- <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
-import time
-import openapi_client
-from openapi_client.rest import ApiException
-from pprint import pprint
-
-# Create an instance of the API class
-api_instance = openapi_client.ActuatorApi()
-name = name_example # String | (default to null)
-body = body_example # String | (optional)
-
-try:
- # Actuator web endpoint 'loggers-name'
- api_response = api_instance.loggers_name2(name, body=body)
- pprint(api_response)
-except ApiException as e:
- print("Exception when calling ActuatorApi->loggersName2: %s\n" % e)</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-loggersName2-0-rust">
- <pre class="prettyprint"><code class="language-rust">extern crate ActuatorApi;
-
-pub fn main() {
- let name = name_example; // String
- let body = body_example; // String
-
- let mut context = ActuatorApi::Context::default();
- let result = client.loggersName2(name, body, &context).wait();
-
- println!("{:?}", result);
-}
-</code></pre>
- </div>
- </div>
-
- <h2>Scopes</h2>
- <table>
-
- </table>
-
- <h2>Parameters</h2>
-
- <div class="methodsubtabletitle">Path parameters</div>
- <table id="methodsubtable">
- <tr>
- <th width="150px">Name</th>
- <th>Description</th>
- </tr>
- <tr><td style="width:150px;">name*</td>
-<td>
-
-
- <div id="d2e199_loggersName2_name">
- <div class="json-schema-view">
- <div class="primitive">
- <span class="type">
- String
- </span>
-
- </div>
- <div class="inner required">
- Required
- </div>
- </div>
- </div>
-</td>
-</tr>
-
- </table>
-
-
- <div class="methodsubtabletitle">Body parameters</div>
- <table id="methodsubtable">
- <tr>
- <th width="150px">Name</th>
- <th>Description</th>
- </tr>
- <tr><td style="width:150px;">body </td>
-<td>
-<p class="marked"></p>
-<script>
-$(document).ready(function() {
- var schemaWrapper = {
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "string",
- "enum" : [ "TRACE", "DEBUG", "INFO", "WARN", "ERROR", "FATAL", "OFF" ]
- }
- }
- }
-};
-
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
- }
-
- var view = new JSONSchemaView(schema,2,{isBodyParam: true});
- var result = $('#d2e199_loggersName2_body');
- result.empty();
- result.append(view.render());
-});
-</script>
-<div id="d2e199_loggersName2_body"></div>
-</td>
-</tr>
-
- </table>
-
-
-
- <h2>Responses</h2>
- <h3 id="examples-Actuator-loggersName2-title-200"></h3>
- <p id="examples-Actuator-loggersName2-description-200" class="marked"></p>
- <script>
- var responseActuator200_description = `OK`;
- var responseActuator200_description_break = responseActuator200_description.indexOf('\n');
- if (responseActuator200_description_break == -1) {
- $("#examples-Actuator-loggersName2-title-200").text("Status: 200 - " + responseActuator200_description);
- } else {
- $("#examples-Actuator-loggersName2-title-200").text("Status: 200 - " + responseActuator200_description.substring(0, responseActuator200_description_break));
- $("#examples-Actuator-loggersName2-description-200").html(responseActuator200_description.substring(responseActuator200_description_break));
- }
- </script>
-
-
- <ul id="responses-detail-Actuator-loggersName2-200" class="nav nav-tabs nav-tabs-examples" >
- <li class="active">
- <a data-toggle="tab" href="#responses-Actuator-loggersName2-200-schema">Schema</a>
- </li>
-
-
-
-
- </ul>
-
-
- <div class="tab-content" id="responses-Actuator-loggersName2-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-Actuator-loggersName2-200-schema">
- <div id="responses-Actuator-loggersName2-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
- Object.keys(schema.properties).forEach( (item) => {
- if (schema.properties[item].$ref != null) {
- schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
- }
- });
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
- }
-
- var view = new JSONSchemaView(schema, 3);
- $('#responses-Actuator-loggersName2-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-Actuator-loggersName2-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-Actuator-loggersName2-200-schema-data' type='hidden' value=''></input>
- </div>
- </div>
- </article>
- </div>
- <hr>
- <div id="api-Actuator-metrics">
- <article id="api-Actuator-metrics-0" data-group="User" data-name="metrics" data-version="0">
- <div class="pull-left">
- <h1>metrics</h1>
- <p>Actuator web endpoint 'metrics'</p>
- </div>
- <div class="pull-right"></div>
- <div class="clearfix"></div>
- <p></p>
- <p class="marked"></p>
- <p></p>
- <br />
- <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/actuator/metrics</span></code></pre>
- <p>
- <h3>Usage and SDK Samples</h3>
- </p>
- <ul class="nav nav-tabs nav-tabs-examples">
- <li class="active"><a href="#examples-Actuator-metrics-0-curl">Curl</a></li>
- <li class=""><a href="#examples-Actuator-metrics-0-java">Java</a></li>
- <li class=""><a href="#examples-Actuator-metrics-0-android">Android</a></li>
- <!--<li class=""><a href="#examples-Actuator-metrics-0-groovy">Groovy</a></li>-->
- <li class=""><a href="#examples-Actuator-metrics-0-objc">Obj-C</a></li>
- <li class=""><a href="#examples-Actuator-metrics-0-javascript">JavaScript</a></li>
- <!--<li class=""><a href="#examples-Actuator-metrics-0-angular">Angular</a></li>-->
- <li class=""><a href="#examples-Actuator-metrics-0-csharp">C#</a></li>
- <li class=""><a href="#examples-Actuator-metrics-0-php">PHP</a></li>
- <li class=""><a href="#examples-Actuator-metrics-0-perl">Perl</a></li>
- <li class=""><a href="#examples-Actuator-metrics-0-python">Python</a></li>
- <li class=""><a href="#examples-Actuator-metrics-0-rust">Rust</a></li>
- </ul>
-
- <div class="tab-content">
- <div class="tab-pane active" id="examples-Actuator-metrics-0-curl">
- <pre class="prettyprint"><code class="language-bsh">curl -X GET \
- -H "Accept: application/vnd.spring-boot.actuator.v3+json,application/json,application/vnd.spring-boot.actuator.v2+json" \
- "http://localhost/actuator/metrics"
-</code></pre>
- </div>
- <div class="tab-pane" id="examples-Actuator-metrics-0-java">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
-import org.openapitools.client.auth.*;
-import org.openapitools.client.model.*;
-import org.openapitools.client.api.ActuatorApi;
-
-import java.io.File;
-import java.util.*;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
-
- // Create an instance of the API class
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- Object result = apiInstance.metrics();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#metrics");
- e.printStackTrace();
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-metrics-0-android">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ActuatorApi;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- Object result = apiInstance.metrics();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#metrics");
- e.printStackTrace();
- }
- }
-}</code></pre>
- </div>
- <!--
- <div class="tab-pane" id="examples-Actuator-metrics-0-groovy">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div> -->
- <div class="tab-pane" id="examples-Actuator-metrics-0-objc">
- <pre class="prettyprint"><code class="language-cpp">
-
-// Create an instance of the API class
-ActuatorApi *apiInstance = [[ActuatorApi alloc] init];
-
-// Actuator web endpoint 'metrics'
-[apiInstance metricsWithCompletionHandler:
- ^(Object output, NSError* error) {
- if (output) {
- NSLog(@"%@", output);
- }
- if (error) {
- NSLog(@"Error: %@", error);
- }
-}];
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-metrics-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
-
-// Create an instance of the API class
-var api = new A1PolicyManagementService.ActuatorApi()
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-api.metrics(callback);
-</code></pre>
- </div>
-
- <!--<div class="tab-pane" id="examples-Actuator-metrics-0-angular">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div>-->
- <div class="tab-pane" id="examples-Actuator-metrics-0-csharp">
- <pre class="prettyprint"><code class="language-cs">using System;
-using System.Diagnostics;
-using Org.OpenAPITools.Api;
-using Org.OpenAPITools.Client;
-using Org.OpenAPITools.Model;
-
-namespace Example
-{
- public class metricsExample
- {
- public void main()
- {
-
- // Create an instance of the API class
- var apiInstance = new ActuatorApi();
-
- try {
- // Actuator web endpoint 'metrics'
- Object result = apiInstance.metrics();
- Debug.WriteLine(result);
- } catch (Exception e) {
- Debug.Print("Exception when calling ActuatorApi.metrics: " + e.Message );
- }
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-metrics-0-php">
- <pre class="prettyprint"><code class="language-php"><?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-// Create an instance of the API class
-$api_instance = new OpenAPITools\Client\Api\ActuatorApi();
-
-try {
- $result = $api_instance->metrics();
- print_r($result);
-} catch (Exception $e) {
- echo 'Exception when calling ActuatorApi->metrics: ', $e->getMessage(), PHP_EOL;
-}
-?></code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-metrics-0-perl">
- <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
-use WWW::OPenAPIClient::Configuration;
-use WWW::OPenAPIClient::ActuatorApi;
-
-# Create an instance of the API class
-my $api_instance = WWW::OPenAPIClient::ActuatorApi->new();
-
-eval {
- my $result = $api_instance->metrics();
- print Dumper($result);
-};
-if ($@) {
- warn "Exception when calling ActuatorApi->metrics: $@\n";
-}</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-metrics-0-python">
- <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
-import time
-import openapi_client
-from openapi_client.rest import ApiException
-from pprint import pprint
-
-# Create an instance of the API class
-api_instance = openapi_client.ActuatorApi()
-
-try:
- # Actuator web endpoint 'metrics'
- api_response = api_instance.metrics()
- pprint(api_response)
-except ApiException as e:
- print("Exception when calling ActuatorApi->metrics: %s\n" % e)</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-metrics-0-rust">
- <pre class="prettyprint"><code class="language-rust">extern crate ActuatorApi;
-
-pub fn main() {
-
- let mut context = ActuatorApi::Context::default();
- let result = client.metrics(&context).wait();
-
- println!("{:?}", result);
-}
-</code></pre>
- </div>
- </div>
-
- <h2>Scopes</h2>
- <table>
-
- </table>
-
- <h2>Parameters</h2>
-
-
-
-
-
-
- <h2>Responses</h2>
- <h3 id="examples-Actuator-metrics-title-200"></h3>
- <p id="examples-Actuator-metrics-description-200" class="marked"></p>
- <script>
- var responseActuator200_description = `OK`;
- var responseActuator200_description_break = responseActuator200_description.indexOf('\n');
- if (responseActuator200_description_break == -1) {
- $("#examples-Actuator-metrics-title-200").text("Status: 200 - " + responseActuator200_description);
- } else {
- $("#examples-Actuator-metrics-title-200").text("Status: 200 - " + responseActuator200_description.substring(0, responseActuator200_description_break));
- $("#examples-Actuator-metrics-description-200").html(responseActuator200_description.substring(responseActuator200_description_break));
- }
- </script>
-
-
- <ul id="responses-detail-Actuator-metrics-200" class="nav nav-tabs nav-tabs-examples" >
- <li class="active">
- <a data-toggle="tab" href="#responses-Actuator-metrics-200-schema">Schema</a>
- </li>
-
-
-
-
- </ul>
-
-
- <div class="tab-content" id="responses-Actuator-metrics-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-Actuator-metrics-200-schema">
- <div id="responses-Actuator-metrics-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
- Object.keys(schema.properties).forEach( (item) => {
- if (schema.properties[item].$ref != null) {
- schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
- }
- });
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
- }
-
- var view = new JSONSchemaView(schema, 3);
- $('#responses-Actuator-metrics-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-Actuator-metrics-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-Actuator-metrics-200-schema-data' type='hidden' value=''></input>
- </div>
- </div>
- </article>
- </div>
- <hr>
- <div id="api-Actuator-metricsRequiredMetricName">
- <article id="api-Actuator-metricsRequiredMetricName-0" data-group="User" data-name="metricsRequiredMetricName" data-version="0">
- <div class="pull-left">
- <h1>metricsRequiredMetricName</h1>
- <p>Actuator web endpoint 'metrics-requiredMetricName'</p>
- </div>
- <div class="pull-right"></div>
- <div class="clearfix"></div>
- <p></p>
- <p class="marked"></p>
- <p></p>
- <br />
- <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/actuator/metrics/{requiredMetricName}</span></code></pre>
- <p>
- <h3>Usage and SDK Samples</h3>
- </p>
- <ul class="nav nav-tabs nav-tabs-examples">
- <li class="active"><a href="#examples-Actuator-metricsRequiredMetricName-0-curl">Curl</a></li>
- <li class=""><a href="#examples-Actuator-metricsRequiredMetricName-0-java">Java</a></li>
- <li class=""><a href="#examples-Actuator-metricsRequiredMetricName-0-android">Android</a></li>
- <!--<li class=""><a href="#examples-Actuator-metricsRequiredMetricName-0-groovy">Groovy</a></li>-->
- <li class=""><a href="#examples-Actuator-metricsRequiredMetricName-0-objc">Obj-C</a></li>
- <li class=""><a href="#examples-Actuator-metricsRequiredMetricName-0-javascript">JavaScript</a></li>
- <!--<li class=""><a href="#examples-Actuator-metricsRequiredMetricName-0-angular">Angular</a></li>-->
- <li class=""><a href="#examples-Actuator-metricsRequiredMetricName-0-csharp">C#</a></li>
- <li class=""><a href="#examples-Actuator-metricsRequiredMetricName-0-php">PHP</a></li>
- <li class=""><a href="#examples-Actuator-metricsRequiredMetricName-0-perl">Perl</a></li>
- <li class=""><a href="#examples-Actuator-metricsRequiredMetricName-0-python">Python</a></li>
- <li class=""><a href="#examples-Actuator-metricsRequiredMetricName-0-rust">Rust</a></li>
- </ul>
-
- <div class="tab-content">
- <div class="tab-pane active" id="examples-Actuator-metricsRequiredMetricName-0-curl">
- <pre class="prettyprint"><code class="language-bsh">curl -X GET \
- -H "Accept: application/vnd.spring-boot.actuator.v3+json,application/json,application/vnd.spring-boot.actuator.v2+json" \
- "http://localhost/actuator/metrics/{requiredMetricName}"
-</code></pre>
- </div>
- <div class="tab-pane" id="examples-Actuator-metricsRequiredMetricName-0-java">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
-import org.openapitools.client.auth.*;
-import org.openapitools.client.model.*;
-import org.openapitools.client.api.ActuatorApi;
-
-import java.io.File;
-import java.util.*;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
-
- // Create an instance of the API class
- ActuatorApi apiInstance = new ActuatorApi();
- String requiredMetricName = requiredMetricName_example; // String |
-
- try {
- Object result = apiInstance.metricsRequiredMetricName(requiredMetricName);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#metricsRequiredMetricName");
- e.printStackTrace();
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-metricsRequiredMetricName-0-android">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ActuatorApi;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
- ActuatorApi apiInstance = new ActuatorApi();
- String requiredMetricName = requiredMetricName_example; // String |
-
- try {
- Object result = apiInstance.metricsRequiredMetricName(requiredMetricName);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#metricsRequiredMetricName");
- e.printStackTrace();
- }
- }
-}</code></pre>
- </div>
- <!--
- <div class="tab-pane" id="examples-Actuator-metricsRequiredMetricName-0-groovy">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div> -->
- <div class="tab-pane" id="examples-Actuator-metricsRequiredMetricName-0-objc">
- <pre class="prettyprint"><code class="language-cpp">
-
-// Create an instance of the API class
-ActuatorApi *apiInstance = [[ActuatorApi alloc] init];
-String *requiredMetricName = requiredMetricName_example; // (default to null)
-
-// Actuator web endpoint 'metrics-requiredMetricName'
-[apiInstance metricsRequiredMetricNameWith:requiredMetricName
- completionHandler: ^(Object output, NSError* error) {
- if (output) {
- NSLog(@"%@", output);
- }
- if (error) {
- NSLog(@"Error: %@", error);
- }
-}];
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-metricsRequiredMetricName-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
-
-// Create an instance of the API class
-var api = new A1PolicyManagementService.ActuatorApi()
-var requiredMetricName = requiredMetricName_example; // {String}
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-api.metricsRequiredMetricName(requiredMetricName, callback);
-</code></pre>
- </div>
-
- <!--<div class="tab-pane" id="examples-Actuator-metricsRequiredMetricName-0-angular">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div>-->
- <div class="tab-pane" id="examples-Actuator-metricsRequiredMetricName-0-csharp">
- <pre class="prettyprint"><code class="language-cs">using System;
-using System.Diagnostics;
-using Org.OpenAPITools.Api;
-using Org.OpenAPITools.Client;
-using Org.OpenAPITools.Model;
-
-namespace Example
-{
- public class metricsRequiredMetricNameExample
- {
- public void main()
- {
-
- // Create an instance of the API class
- var apiInstance = new ActuatorApi();
- var requiredMetricName = requiredMetricName_example; // String | (default to null)
-
- try {
- // Actuator web endpoint 'metrics-requiredMetricName'
- Object result = apiInstance.metricsRequiredMetricName(requiredMetricName);
- Debug.WriteLine(result);
- } catch (Exception e) {
- Debug.Print("Exception when calling ActuatorApi.metricsRequiredMetricName: " + e.Message );
- }
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-metricsRequiredMetricName-0-php">
- <pre class="prettyprint"><code class="language-php"><?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-// Create an instance of the API class
-$api_instance = new OpenAPITools\Client\Api\ActuatorApi();
-$requiredMetricName = requiredMetricName_example; // String |
-
-try {
- $result = $api_instance->metricsRequiredMetricName($requiredMetricName);
- print_r($result);
-} catch (Exception $e) {
- echo 'Exception when calling ActuatorApi->metricsRequiredMetricName: ', $e->getMessage(), PHP_EOL;
-}
-?></code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-metricsRequiredMetricName-0-perl">
- <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
-use WWW::OPenAPIClient::Configuration;
-use WWW::OPenAPIClient::ActuatorApi;
-
-# Create an instance of the API class
-my $api_instance = WWW::OPenAPIClient::ActuatorApi->new();
-my $requiredMetricName = requiredMetricName_example; # String |
-
-eval {
- my $result = $api_instance->metricsRequiredMetricName(requiredMetricName => $requiredMetricName);
- print Dumper($result);
-};
-if ($@) {
- warn "Exception when calling ActuatorApi->metricsRequiredMetricName: $@\n";
-}</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-metricsRequiredMetricName-0-python">
- <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
-import time
-import openapi_client
-from openapi_client.rest import ApiException
-from pprint import pprint
-
-# Create an instance of the API class
-api_instance = openapi_client.ActuatorApi()
-requiredMetricName = requiredMetricName_example # String | (default to null)
-
-try:
- # Actuator web endpoint 'metrics-requiredMetricName'
- api_response = api_instance.metrics_required_metric_name(requiredMetricName)
- pprint(api_response)
-except ApiException as e:
- print("Exception when calling ActuatorApi->metricsRequiredMetricName: %s\n" % e)</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-metricsRequiredMetricName-0-rust">
- <pre class="prettyprint"><code class="language-rust">extern crate ActuatorApi;
-
-pub fn main() {
- let requiredMetricName = requiredMetricName_example; // String
-
- let mut context = ActuatorApi::Context::default();
- let result = client.metricsRequiredMetricName(requiredMetricName, &context).wait();
-
- println!("{:?}", result);
-}
-</code></pre>
- </div>
- </div>
-
- <h2>Scopes</h2>
- <table>
-
- </table>
-
- <h2>Parameters</h2>
-
- <div class="methodsubtabletitle">Path parameters</div>
- <table id="methodsubtable">
- <tr>
- <th width="150px">Name</th>
- <th>Description</th>
- </tr>
- <tr><td style="width:150px;">requiredMetricName*</td>
-<td>
-
-
- <div id="d2e199_metricsRequiredMetricName_requiredMetricName">
- <div class="json-schema-view">
- <div class="primitive">
- <span class="type">
- String
- </span>
-
- </div>
- <div class="inner required">
- Required
- </div>
- </div>
- </div>
-</td>
-</tr>
-
- </table>
-
-
-
-
-
- <h2>Responses</h2>
- <h3 id="examples-Actuator-metricsRequiredMetricName-title-200"></h3>
- <p id="examples-Actuator-metricsRequiredMetricName-description-200" class="marked"></p>
- <script>
- var responseActuator200_description = `OK`;
- var responseActuator200_description_break = responseActuator200_description.indexOf('\n');
- if (responseActuator200_description_break == -1) {
- $("#examples-Actuator-metricsRequiredMetricName-title-200").text("Status: 200 - " + responseActuator200_description);
- } else {
- $("#examples-Actuator-metricsRequiredMetricName-title-200").text("Status: 200 - " + responseActuator200_description.substring(0, responseActuator200_description_break));
- $("#examples-Actuator-metricsRequiredMetricName-description-200").html(responseActuator200_description.substring(responseActuator200_description_break));
- }
- </script>
-
-
- <ul id="responses-detail-Actuator-metricsRequiredMetricName-200" class="nav nav-tabs nav-tabs-examples" >
- <li class="active">
- <a data-toggle="tab" href="#responses-Actuator-metricsRequiredMetricName-200-schema">Schema</a>
- </li>
-
-
-
-
- </ul>
-
-
- <div class="tab-content" id="responses-Actuator-metricsRequiredMetricName-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-Actuator-metricsRequiredMetricName-200-schema">
- <div id="responses-Actuator-metricsRequiredMetricName-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
- Object.keys(schema.properties).forEach( (item) => {
- if (schema.properties[item].$ref != null) {
- schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
- }
- });
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
- }
-
- var view = new JSONSchemaView(schema, 3);
- $('#responses-Actuator-metricsRequiredMetricName-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-Actuator-metricsRequiredMetricName-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-Actuator-metricsRequiredMetricName-200-schema-data' type='hidden' value=''></input>
- </div>
- </div>
- </article>
- </div>
- <hr>
- <div id="api-Actuator-shutdown">
- <article id="api-Actuator-shutdown-0" data-group="User" data-name="shutdown" data-version="0">
- <div class="pull-left">
- <h1>shutdown</h1>
- <p>Actuator web endpoint 'shutdown'</p>
- </div>
- <div class="pull-right"></div>
- <div class="clearfix"></div>
- <p></p>
- <p class="marked"></p>
- <p></p>
- <br />
- <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/actuator/shutdown</span></code></pre>
- <p>
- <h3>Usage and SDK Samples</h3>
- </p>
- <ul class="nav nav-tabs nav-tabs-examples">
- <li class="active"><a href="#examples-Actuator-shutdown-0-curl">Curl</a></li>
- <li class=""><a href="#examples-Actuator-shutdown-0-java">Java</a></li>
- <li class=""><a href="#examples-Actuator-shutdown-0-android">Android</a></li>
- <!--<li class=""><a href="#examples-Actuator-shutdown-0-groovy">Groovy</a></li>-->
- <li class=""><a href="#examples-Actuator-shutdown-0-objc">Obj-C</a></li>
- <li class=""><a href="#examples-Actuator-shutdown-0-javascript">JavaScript</a></li>
- <!--<li class=""><a href="#examples-Actuator-shutdown-0-angular">Angular</a></li>-->
- <li class=""><a href="#examples-Actuator-shutdown-0-csharp">C#</a></li>
- <li class=""><a href="#examples-Actuator-shutdown-0-php">PHP</a></li>
- <li class=""><a href="#examples-Actuator-shutdown-0-perl">Perl</a></li>
- <li class=""><a href="#examples-Actuator-shutdown-0-python">Python</a></li>
- <li class=""><a href="#examples-Actuator-shutdown-0-rust">Rust</a></li>
- </ul>
-
- <div class="tab-content">
- <div class="tab-pane active" id="examples-Actuator-shutdown-0-curl">
- <pre class="prettyprint"><code class="language-bsh">curl -X POST \
- -H "Accept: application/vnd.spring-boot.actuator.v3+json,application/json,application/vnd.spring-boot.actuator.v2+json" \
- "http://localhost/actuator/shutdown"
-</code></pre>
- </div>
- <div class="tab-pane" id="examples-Actuator-shutdown-0-java">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
-import org.openapitools.client.auth.*;
-import org.openapitools.client.model.*;
-import org.openapitools.client.api.ActuatorApi;
-
-import java.io.File;
-import java.util.*;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
-
- // Create an instance of the API class
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- Object result = apiInstance.shutdown();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#shutdown");
- e.printStackTrace();
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-shutdown-0-android">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ActuatorApi;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- Object result = apiInstance.shutdown();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#shutdown");
- e.printStackTrace();
- }
- }
-}</code></pre>
- </div>
- <!--
- <div class="tab-pane" id="examples-Actuator-shutdown-0-groovy">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div> -->
- <div class="tab-pane" id="examples-Actuator-shutdown-0-objc">
- <pre class="prettyprint"><code class="language-cpp">
-
-// Create an instance of the API class
-ActuatorApi *apiInstance = [[ActuatorApi alloc] init];
-
-// Actuator web endpoint 'shutdown'
-[apiInstance shutdownWithCompletionHandler:
- ^(Object output, NSError* error) {
- if (output) {
- NSLog(@"%@", output);
- }
- if (error) {
- NSLog(@"Error: %@", error);
- }
-}];
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-shutdown-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
-
-// Create an instance of the API class
-var api = new A1PolicyManagementService.ActuatorApi()
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-api.shutdown(callback);
-</code></pre>
- </div>
-
- <!--<div class="tab-pane" id="examples-Actuator-shutdown-0-angular">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div>-->
- <div class="tab-pane" id="examples-Actuator-shutdown-0-csharp">
- <pre class="prettyprint"><code class="language-cs">using System;
-using System.Diagnostics;
-using Org.OpenAPITools.Api;
-using Org.OpenAPITools.Client;
-using Org.OpenAPITools.Model;
-
-namespace Example
-{
- public class shutdownExample
- {
- public void main()
- {
-
- // Create an instance of the API class
- var apiInstance = new ActuatorApi();
-
- try {
- // Actuator web endpoint 'shutdown'
- Object result = apiInstance.shutdown();
- Debug.WriteLine(result);
- } catch (Exception e) {
- Debug.Print("Exception when calling ActuatorApi.shutdown: " + e.Message );
- }
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-shutdown-0-php">
- <pre class="prettyprint"><code class="language-php"><?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-// Create an instance of the API class
-$api_instance = new OpenAPITools\Client\Api\ActuatorApi();
-
-try {
- $result = $api_instance->shutdown();
- print_r($result);
-} catch (Exception $e) {
- echo 'Exception when calling ActuatorApi->shutdown: ', $e->getMessage(), PHP_EOL;
-}
-?></code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-shutdown-0-perl">
- <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
-use WWW::OPenAPIClient::Configuration;
-use WWW::OPenAPIClient::ActuatorApi;
-
-# Create an instance of the API class
-my $api_instance = WWW::OPenAPIClient::ActuatorApi->new();
-
-eval {
- my $result = $api_instance->shutdown();
- print Dumper($result);
-};
-if ($@) {
- warn "Exception when calling ActuatorApi->shutdown: $@\n";
-}</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-shutdown-0-python">
- <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
-import time
-import openapi_client
-from openapi_client.rest import ApiException
-from pprint import pprint
-
-# Create an instance of the API class
-api_instance = openapi_client.ActuatorApi()
-
-try:
- # Actuator web endpoint 'shutdown'
- api_response = api_instance.shutdown()
- pprint(api_response)
-except ApiException as e:
- print("Exception when calling ActuatorApi->shutdown: %s\n" % e)</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-shutdown-0-rust">
- <pre class="prettyprint"><code class="language-rust">extern crate ActuatorApi;
-
-pub fn main() {
-
- let mut context = ActuatorApi::Context::default();
- let result = client.shutdown(&context).wait();
-
- println!("{:?}", result);
-}
-</code></pre>
- </div>
- </div>
-
- <h2>Scopes</h2>
- <table>
-
- </table>
-
- <h2>Parameters</h2>
-
-
-
-
-
-
- <h2>Responses</h2>
- <h3 id="examples-Actuator-shutdown-title-200"></h3>
- <p id="examples-Actuator-shutdown-description-200" class="marked"></p>
- <script>
- var responseActuator200_description = `OK`;
- var responseActuator200_description_break = responseActuator200_description.indexOf('\n');
- if (responseActuator200_description_break == -1) {
- $("#examples-Actuator-shutdown-title-200").text("Status: 200 - " + responseActuator200_description);
- } else {
- $("#examples-Actuator-shutdown-title-200").text("Status: 200 - " + responseActuator200_description.substring(0, responseActuator200_description_break));
- $("#examples-Actuator-shutdown-description-200").html(responseActuator200_description.substring(responseActuator200_description_break));
- }
- </script>
-
-
- <ul id="responses-detail-Actuator-shutdown-200" class="nav nav-tabs nav-tabs-examples" >
- <li class="active">
- <a data-toggle="tab" href="#responses-Actuator-shutdown-200-schema">Schema</a>
- </li>
-
-
-
-
- </ul>
-
-
- <div class="tab-content" id="responses-Actuator-shutdown-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-Actuator-shutdown-200-schema">
- <div id="responses-Actuator-shutdown-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
- Object.keys(schema.properties).forEach( (item) => {
- if (schema.properties[item].$ref != null) {
- schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
- }
- });
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
- }
-
- var view = new JSONSchemaView(schema, 3);
- $('#responses-Actuator-shutdown-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-Actuator-shutdown-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-Actuator-shutdown-200-schema-data' type='hidden' value=''></input>
- </div>
- </div>
- </article>
- </div>
- <hr>
- <div id="api-Actuator-threaddump">
- <article id="api-Actuator-threaddump-0" data-group="User" data-name="threaddump" data-version="0">
- <div class="pull-left">
- <h1>threaddump</h1>
- <p>Actuator web endpoint 'threaddump'</p>
- </div>
- <div class="pull-right"></div>
- <div class="clearfix"></div>
- <p></p>
- <p class="marked"></p>
- <p></p>
- <br />
- <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/actuator/threaddump</span></code></pre>
- <p>
- <h3>Usage and SDK Samples</h3>
- </p>
- <ul class="nav nav-tabs nav-tabs-examples">
- <li class="active"><a href="#examples-Actuator-threaddump-0-curl">Curl</a></li>
- <li class=""><a href="#examples-Actuator-threaddump-0-java">Java</a></li>
- <li class=""><a href="#examples-Actuator-threaddump-0-android">Android</a></li>
- <!--<li class=""><a href="#examples-Actuator-threaddump-0-groovy">Groovy</a></li>-->
- <li class=""><a href="#examples-Actuator-threaddump-0-objc">Obj-C</a></li>
- <li class=""><a href="#examples-Actuator-threaddump-0-javascript">JavaScript</a></li>
- <!--<li class=""><a href="#examples-Actuator-threaddump-0-angular">Angular</a></li>-->
- <li class=""><a href="#examples-Actuator-threaddump-0-csharp">C#</a></li>
- <li class=""><a href="#examples-Actuator-threaddump-0-php">PHP</a></li>
- <li class=""><a href="#examples-Actuator-threaddump-0-perl">Perl</a></li>
- <li class=""><a href="#examples-Actuator-threaddump-0-python">Python</a></li>
- <li class=""><a href="#examples-Actuator-threaddump-0-rust">Rust</a></li>
- </ul>
-
- <div class="tab-content">
- <div class="tab-pane active" id="examples-Actuator-threaddump-0-curl">
- <pre class="prettyprint"><code class="language-bsh">curl -X GET \
- -H "Accept: text/plain;charset=UTF-8,application/vnd.spring-boot.actuator.v3+json,application/json,application/vnd.spring-boot.actuator.v2+json" \
- "http://localhost/actuator/threaddump"
-</code></pre>
- </div>
- <div class="tab-pane" id="examples-Actuator-threaddump-0-java">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
-import org.openapitools.client.auth.*;
-import org.openapitools.client.model.*;
-import org.openapitools.client.api.ActuatorApi;
-
-import java.io.File;
-import java.util.*;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
-
- // Create an instance of the API class
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- Object result = apiInstance.threaddump();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#threaddump");
- e.printStackTrace();
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-threaddump-0-android">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ActuatorApi;
-
-public class ActuatorApiExample {
- public static void main(String[] args) {
- ActuatorApi apiInstance = new ActuatorApi();
-
- try {
- Object result = apiInstance.threaddump();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling ActuatorApi#threaddump");
- e.printStackTrace();
- }
- }
-}</code></pre>
- </div>
- <!--
- <div class="tab-pane" id="examples-Actuator-threaddump-0-groovy">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div> -->
- <div class="tab-pane" id="examples-Actuator-threaddump-0-objc">
- <pre class="prettyprint"><code class="language-cpp">
-
-// Create an instance of the API class
-ActuatorApi *apiInstance = [[ActuatorApi alloc] init];
-
-// Actuator web endpoint 'threaddump'
-[apiInstance threaddumpWithCompletionHandler:
- ^(Object output, NSError* error) {
- if (output) {
- NSLog(@"%@", output);
- }
- if (error) {
- NSLog(@"Error: %@", error);
- }
-}];
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-threaddump-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
-
-// Create an instance of the API class
-var api = new A1PolicyManagementService.ActuatorApi()
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-api.threaddump(callback);
-</code></pre>
- </div>
-
- <!--<div class="tab-pane" id="examples-Actuator-threaddump-0-angular">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div>-->
- <div class="tab-pane" id="examples-Actuator-threaddump-0-csharp">
- <pre class="prettyprint"><code class="language-cs">using System;
-using System.Diagnostics;
-using Org.OpenAPITools.Api;
-using Org.OpenAPITools.Client;
-using Org.OpenAPITools.Model;
-
-namespace Example
-{
- public class threaddumpExample
- {
- public void main()
- {
-
- // Create an instance of the API class
- var apiInstance = new ActuatorApi();
-
- try {
- // Actuator web endpoint 'threaddump'
- Object result = apiInstance.threaddump();
- Debug.WriteLine(result);
- } catch (Exception e) {
- Debug.Print("Exception when calling ActuatorApi.threaddump: " + e.Message );
- }
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-threaddump-0-php">
- <pre class="prettyprint"><code class="language-php"><?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-// Create an instance of the API class
-$api_instance = new OpenAPITools\Client\Api\ActuatorApi();
-
-try {
- $result = $api_instance->threaddump();
- print_r($result);
-} catch (Exception $e) {
- echo 'Exception when calling ActuatorApi->threaddump: ', $e->getMessage(), PHP_EOL;
-}
-?></code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-threaddump-0-perl">
- <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
-use WWW::OPenAPIClient::Configuration;
-use WWW::OPenAPIClient::ActuatorApi;
-
-# Create an instance of the API class
-my $api_instance = WWW::OPenAPIClient::ActuatorApi->new();
-
-eval {
- my $result = $api_instance->threaddump();
- print Dumper($result);
-};
-if ($@) {
- warn "Exception when calling ActuatorApi->threaddump: $@\n";
-}</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-threaddump-0-python">
- <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
-import time
-import openapi_client
-from openapi_client.rest import ApiException
-from pprint import pprint
-
-# Create an instance of the API class
-api_instance = openapi_client.ActuatorApi()
-
-try:
- # Actuator web endpoint 'threaddump'
- api_response = api_instance.threaddump()
- pprint(api_response)
-except ApiException as e:
- print("Exception when calling ActuatorApi->threaddump: %s\n" % e)</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-Actuator-threaddump-0-rust">
- <pre class="prettyprint"><code class="language-rust">extern crate ActuatorApi;
-
-pub fn main() {
-
- let mut context = ActuatorApi::Context::default();
- let result = client.threaddump(&context).wait();
-
- println!("{:?}", result);
-}
-</code></pre>
- </div>
- </div>
-
- <h2>Scopes</h2>
- <table>
-
- </table>
-
- <h2>Parameters</h2>
-
-
-
-
-
-
- <h2>Responses</h2>
- <h3 id="examples-Actuator-threaddump-title-200"></h3>
- <p id="examples-Actuator-threaddump-description-200" class="marked"></p>
- <script>
- var responseActuator200_description = `OK`;
- var responseActuator200_description_break = responseActuator200_description.indexOf('\n');
- if (responseActuator200_description_break == -1) {
- $("#examples-Actuator-threaddump-title-200").text("Status: 200 - " + responseActuator200_description);
- } else {
- $("#examples-Actuator-threaddump-title-200").text("Status: 200 - " + responseActuator200_description.substring(0, responseActuator200_description_break));
- $("#examples-Actuator-threaddump-description-200").html(responseActuator200_description.substring(responseActuator200_description_break));
- }
- </script>
-
-
- <ul id="responses-detail-Actuator-threaddump-200" class="nav nav-tabs nav-tabs-examples" >
- <li class="active">
- <a data-toggle="tab" href="#responses-Actuator-threaddump-200-schema">Schema</a>
- </li>
-
-
-
-
- </ul>
-
-
- <div class="tab-content" id="responses-Actuator-threaddump-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-Actuator-threaddump-200-schema">
- <div id="responses-Actuator-threaddump-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
- Object.keys(schema.properties).forEach( (item) => {
- if (schema.properties[item].$ref != null) {
- schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
- }
- });
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
- }
-
- var view = new JSONSchemaView(schema, 3);
- $('#responses-Actuator-threaddump-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-Actuator-threaddump-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-Actuator-threaddump-200-schema-data' type='hidden' value=''></input>
- </div>
- </div>
- </article>
- </div>
- <hr>
- </section>
- <section id="api-AuthorizationAPI">
- <h1>AuthorizationAPI</h1>
- <div id="api-AuthorizationAPI-performAccessControl">
- <article id="api-AuthorizationAPI-performAccessControl-0" data-group="User" data-name="performAccessControl" data-version="0">
- <div class="pull-left">
- <h1>performAccessControl</h1>
- <p>Request for access authorization.</p>
- </div>
- <div class="pull-right"></div>
- <div class="clearfix"></div>
- <p></p>
- <p class="marked">The authorization function decides if access is granted.</p>
- <p></p>
- <br />
- <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/example-authz-check</span></code></pre>
- <p>
- <h3>Usage and SDK Samples</h3>
- </p>
- <ul class="nav nav-tabs nav-tabs-examples">
- <li class="active"><a href="#examples-AuthorizationAPI-performAccessControl-0-curl">Curl</a></li>
- <li class=""><a href="#examples-AuthorizationAPI-performAccessControl-0-java">Java</a></li>
- <li class=""><a href="#examples-AuthorizationAPI-performAccessControl-0-android">Android</a></li>
- <!--<li class=""><a href="#examples-AuthorizationAPI-performAccessControl-0-groovy">Groovy</a></li>-->
- <li class=""><a href="#examples-AuthorizationAPI-performAccessControl-0-objc">Obj-C</a></li>
- <li class=""><a href="#examples-AuthorizationAPI-performAccessControl-0-javascript">JavaScript</a></li>
- <!--<li class=""><a href="#examples-AuthorizationAPI-performAccessControl-0-angular">Angular</a></li>-->
- <li class=""><a href="#examples-AuthorizationAPI-performAccessControl-0-csharp">C#</a></li>
- <li class=""><a href="#examples-AuthorizationAPI-performAccessControl-0-php">PHP</a></li>
- <li class=""><a href="#examples-AuthorizationAPI-performAccessControl-0-perl">Perl</a></li>
- <li class=""><a href="#examples-AuthorizationAPI-performAccessControl-0-python">Python</a></li>
- <li class=""><a href="#examples-AuthorizationAPI-performAccessControl-0-rust">Rust</a></li>
- </ul>
-
- <div class="tab-content">
- <div class="tab-pane active" id="examples-AuthorizationAPI-performAccessControl-0-curl">
- <pre class="prettyprint"><code class="language-bsh">curl -X POST \
- -H "Accept: application/json,application/problem+json" \
- -H "Content-Type: application/json" \
- "http://localhost/example-authz-check" \
- -d ''
-</code></pre>
- </div>
- <div class="tab-pane" id="examples-AuthorizationAPI-performAccessControl-0-java">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
-import org.openapitools.client.auth.*;
-import org.openapitools.client.model.*;
-import org.openapitools.client.api.AuthorizationAPIApi;
-
-import java.io.File;
-import java.util.*;
-
-public class AuthorizationAPIApiExample {
- public static void main(String[] args) {
-
- // Create an instance of the API class
- AuthorizationAPIApi apiInstance = new AuthorizationAPIApi();
- PolicyAuthorization policyAuthorization = ; // PolicyAuthorization |
-
- try {
- authorization_result result = apiInstance.performAccessControl(policyAuthorization);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling AuthorizationAPIApi#performAccessControl");
- e.printStackTrace();
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-AuthorizationAPI-performAccessControl-0-android">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.AuthorizationAPIApi;
-
-public class AuthorizationAPIApiExample {
- public static void main(String[] args) {
- AuthorizationAPIApi apiInstance = new AuthorizationAPIApi();
- PolicyAuthorization policyAuthorization = ; // PolicyAuthorization |
-
- try {
- authorization_result result = apiInstance.performAccessControl(policyAuthorization);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling AuthorizationAPIApi#performAccessControl");
- e.printStackTrace();
- }
- }
-}</code></pre>
- </div>
- <!--
- <div class="tab-pane" id="examples-AuthorizationAPI-performAccessControl-0-groovy">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div> -->
- <div class="tab-pane" id="examples-AuthorizationAPI-performAccessControl-0-objc">
- <pre class="prettyprint"><code class="language-cpp">
-
-// Create an instance of the API class
-AuthorizationAPIApi *apiInstance = [[AuthorizationAPIApi alloc] init];
-PolicyAuthorization *policyAuthorization = ; //
-
-// Request for access authorization.
-[apiInstance performAccessControlWith:policyAuthorization
- completionHandler: ^(authorization_result output, NSError* error) {
- if (output) {
- NSLog(@"%@", output);
- }
- if (error) {
- NSLog(@"Error: %@", error);
- }
-}];
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-AuthorizationAPI-performAccessControl-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
-
-// Create an instance of the API class
-var api = new A1PolicyManagementService.AuthorizationAPIApi()
-var policyAuthorization = ; // {PolicyAuthorization}
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-api.performAccessControl(policyAuthorization, callback);
-</code></pre>
- </div>
-
- <!--<div class="tab-pane" id="examples-AuthorizationAPI-performAccessControl-0-angular">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div>-->
- <div class="tab-pane" id="examples-AuthorizationAPI-performAccessControl-0-csharp">
- <pre class="prettyprint"><code class="language-cs">using System;
-using System.Diagnostics;
-using Org.OpenAPITools.Api;
-using Org.OpenAPITools.Client;
-using Org.OpenAPITools.Model;
-
-namespace Example
-{
- public class performAccessControlExample
- {
- public void main()
- {
-
- // Create an instance of the API class
- var apiInstance = new AuthorizationAPIApi();
- var policyAuthorization = new PolicyAuthorization(); // PolicyAuthorization |
-
- try {
- // Request for access authorization.
- authorization_result result = apiInstance.performAccessControl(policyAuthorization);
- Debug.WriteLine(result);
- } catch (Exception e) {
- Debug.Print("Exception when calling AuthorizationAPIApi.performAccessControl: " + e.Message );
- }
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-AuthorizationAPI-performAccessControl-0-php">
- <pre class="prettyprint"><code class="language-php"><?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-// Create an instance of the API class
-$api_instance = new OpenAPITools\Client\Api\AuthorizationAPIApi();
-$policyAuthorization = ; // PolicyAuthorization |
-
-try {
- $result = $api_instance->performAccessControl($policyAuthorization);
- print_r($result);
-} catch (Exception $e) {
- echo 'Exception when calling AuthorizationAPIApi->performAccessControl: ', $e->getMessage(), PHP_EOL;
-}
-?></code></pre>
- </div>
-
- <div class="tab-pane" id="examples-AuthorizationAPI-performAccessControl-0-perl">
- <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
-use WWW::OPenAPIClient::Configuration;
-use WWW::OPenAPIClient::AuthorizationAPIApi;
-
-# Create an instance of the API class
-my $api_instance = WWW::OPenAPIClient::AuthorizationAPIApi->new();
-my $policyAuthorization = WWW::OPenAPIClient::Object::PolicyAuthorization->new(); # PolicyAuthorization |
-
-eval {
- my $result = $api_instance->performAccessControl(policyAuthorization => $policyAuthorization);
- print Dumper($result);
-};
-if ($@) {
- warn "Exception when calling AuthorizationAPIApi->performAccessControl: $@\n";
-}</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-AuthorizationAPI-performAccessControl-0-python">
- <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
-import time
-import openapi_client
-from openapi_client.rest import ApiException
-from pprint import pprint
-
-# Create an instance of the API class
-api_instance = openapi_client.AuthorizationAPIApi()
-policyAuthorization = # PolicyAuthorization |
-
-try:
- # Request for access authorization.
- api_response = api_instance.perform_access_control(policyAuthorization)
- pprint(api_response)
-except ApiException as e:
- print("Exception when calling AuthorizationAPIApi->performAccessControl: %s\n" % e)</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-AuthorizationAPI-performAccessControl-0-rust">
- <pre class="prettyprint"><code class="language-rust">extern crate AuthorizationAPIApi;
-
-pub fn main() {
- let policyAuthorization = ; // PolicyAuthorization
-
- let mut context = AuthorizationAPIApi::Context::default();
- let result = client.performAccessControl(policyAuthorization, &context).wait();
-
- println!("{:?}", result);
-}
-</code></pre>
- </div>
- </div>
-
- <h2>Scopes</h2>
- <table>
-
- </table>
-
- <h2>Parameters</h2>
-
-
-
- <div class="methodsubtabletitle">Body parameters</div>
- <table id="methodsubtable">
- <tr>
- <th width="150px">Name</th>
- <th>Description</th>
- </tr>
- <tr><td style="width:150px;">policyAuthorization <span style="color:red;">*</span></td>
-<td>
-<p class="marked"></p>
-<script>
-$(document).ready(function() {
- var schemaWrapper = {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/policy_authorization"
- }
- }
- },
- "required" : true
-};
-
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
- }
-
- var view = new JSONSchemaView(schema,2,{isBodyParam: true});
- var result = $('#d2e199_performAccessControl_policyAuthorization');
- result.empty();
- result.append(view.render());
-});
-</script>
-<div id="d2e199_performAccessControl_policyAuthorization"></div>
-</td>
-</tr>
-
- </table>
-
-
-
- <h2>Responses</h2>
- <h3 id="examples-AuthorizationAPI-performAccessControl-title-200"></h3>
- <p id="examples-AuthorizationAPI-performAccessControl-description-200" class="marked"></p>
- <script>
- var responseAuthorizationAPI200_description = `OK`;
- var responseAuthorizationAPI200_description_break = responseAuthorizationAPI200_description.indexOf('\n');
- if (responseAuthorizationAPI200_description_break == -1) {
- $("#examples-AuthorizationAPI-performAccessControl-title-200").text("Status: 200 - " + responseAuthorizationAPI200_description);
- } else {
- $("#examples-AuthorizationAPI-performAccessControl-title-200").text("Status: 200 - " + responseAuthorizationAPI200_description.substring(0, responseAuthorizationAPI200_description_break));
- $("#examples-AuthorizationAPI-performAccessControl-description-200").html(responseAuthorizationAPI200_description.substring(responseAuthorizationAPI200_description_break));
- }
- </script>
-
-
- <ul id="responses-detail-AuthorizationAPI-performAccessControl-200" class="nav nav-tabs nav-tabs-examples" >
- <li class="active">
- <a data-toggle="tab" href="#responses-AuthorizationAPI-performAccessControl-200-schema">Schema</a>
- </li>
-
-
-
-
- </ul>
-
-
- <div class="tab-content" id="responses-AuthorizationAPI-performAccessControl-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-AuthorizationAPI-performAccessControl-200-schema">
- <div id="responses-AuthorizationAPI-performAccessControl-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
- Object.keys(schema.properties).forEach( (item) => {
- if (schema.properties[item].$ref != null) {
- schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
- }
- });
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
- }
-
- var view = new JSONSchemaView(schema, 3);
- $('#responses-AuthorizationAPI-performAccessControl-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-AuthorizationAPI-performAccessControl-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-AuthorizationAPI-performAccessControl-200-schema-data' type='hidden' value=''></input>
- </div>
- </div>
- <h3 id="examples-AuthorizationAPI-performAccessControl-title-403"></h3>
- <p id="examples-AuthorizationAPI-performAccessControl-description-403" class="marked"></p>
- <script>
- var responseAuthorizationAPI403_description = `Forbidden`;
- var responseAuthorizationAPI403_description_break = responseAuthorizationAPI403_description.indexOf('\n');
- if (responseAuthorizationAPI403_description_break == -1) {
- $("#examples-AuthorizationAPI-performAccessControl-title-403").text("Status: 403 - " + responseAuthorizationAPI403_description);
- } else {
- $("#examples-AuthorizationAPI-performAccessControl-title-403").text("Status: 403 - " + responseAuthorizationAPI403_description.substring(0, responseAuthorizationAPI403_description_break));
- $("#examples-AuthorizationAPI-performAccessControl-description-403").html(responseAuthorizationAPI403_description.substring(responseAuthorizationAPI403_description_break));
- }
- </script>
-
-
- <ul id="responses-detail-AuthorizationAPI-performAccessControl-403" class="nav nav-tabs nav-tabs-examples" >
- <li class="active">
- <a data-toggle="tab" href="#responses-AuthorizationAPI-performAccessControl-403-schema">Schema</a>
- </li>
-
-
-
-
- </ul>
-
-
- <div class="tab-content" id="responses-AuthorizationAPI-performAccessControl-403-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-AuthorizationAPI-performAccessControl-403-schema">
- <div id="responses-AuthorizationAPI-performAccessControl-schema-403" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
- Object.keys(schema.properties).forEach( (item) => {
- if (schema.properties[item].$ref != null) {
- schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
- }
- });
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
- }
-
- var view = new JSONSchemaView(schema, 3);
- $('#responses-AuthorizationAPI-performAccessControl-403-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-AuthorizationAPI-performAccessControl-schema-403');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-AuthorizationAPI-performAccessControl-403-schema-data' type='hidden' value=''></input>
- </div>
+ <input id='responses-A1PolicyManagement-putPolicy-503-schema-data' type='hidden' value=''></input>
+ </div>
</div>
</article>
</div>
@@ -9048,16 +9467,17 @@
<div class="pull-right"></div>
<div class="clearfix"></div>
<p></p>
- <p class="marked">Returns the contents of the application configuration file</p>
+ <p class="marked">Returns the contents of the application configuration</p>
<p></p>
<br />
- <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/a1-policy/v2/configuration</span></code></pre>
+ <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/configuration</span></code></pre>
<p>
<h3>Usage and SDK Samples</h3>
</p>
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="#examples-Configuration-getConfiguration-0-curl">Curl</a></li>
<li class=""><a href="#examples-Configuration-getConfiguration-0-java">Java</a></li>
+ <li class=""><a href="#examples-Configuration-getConfiguration-0-dart">Dart</a></li>
<li class=""><a href="#examples-Configuration-getConfiguration-0-android">Android</a></li>
<!--<li class=""><a href="#examples-Configuration-getConfiguration-0-groovy">Groovy</a></li>-->
<li class=""><a href="#examples-Configuration-getConfiguration-0-objc">Obj-C</a></li>
@@ -9074,7 +9494,7 @@
<div class="tab-pane active" id="examples-Configuration-getConfiguration-0-curl">
<pre class="prettyprint"><code class="language-bsh">curl -X GET \
-H "Accept: application/json,application/problem+json" \
- "http://localhost/a1-policy/v2/configuration"
+ "https://example.com/a1-policy-management/v1/configuration"
</code></pre>
</div>
<div class="tab-pane" id="examples-Configuration-getConfiguration-0-java">
@@ -9104,6 +9524,22 @@
</code></pre>
</div>
+ <div class="tab-pane" id="examples-Configuration-getConfiguration-0-dart">
+ <pre class="prettyprint"><code class="language-dart">import 'package:openapi/api.dart';
+
+final api_instance = DefaultApi();
+
+
+try {
+ final result = await api_instance.getConfiguration();
+ print(result);
+} catch (e) {
+ print('Exception when calling DefaultApi->getConfiguration: $e\n');
+}
+
+</code></pre>
+ </div>
+
<div class="tab-pane" id="examples-Configuration-getConfiguration-0-android">
<pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ConfigurationApi;
@@ -9144,10 +9580,10 @@
</div>
<div class="tab-pane" id="examples-Configuration-getConfiguration-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
+ <pre class="prettyprint"><code class="language-js">var A1PolicyManagementApi = require('a1_policy_management_api');
// Create an instance of the API class
-var api = new A1PolicyManagementService.ConfigurationApi()
+var api = new A1PolicyManagementApi.ConfigurationApi()
var callback = function(error, data, response) {
if (error) {
console.error(error);
@@ -9271,7 +9707,7 @@
<h3 id="examples-Configuration-getConfiguration-title-200"></h3>
<p id="examples-Configuration-getConfiguration-description-200" class="marked"></p>
<script>
- var responseConfiguration200_description = `OK - Configuration`;
+ var responseConfiguration200_description = `OK - Application configuration received`;
var responseConfiguration200_description_break = responseConfiguration200_description.indexOf('\n');
if (responseConfiguration200_description_break == -1) {
$("#examples-Configuration-getConfiguration-title-200").text("Status: 200 - " + responseConfiguration200_description);
@@ -9294,41 +9730,55 @@
<div class="tab-content" id="responses-Configuration-getConfiguration-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-Configuration-getConfiguration-200-schema">
- <div id="responses-Configuration-getConfiguration-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-Configuration-getConfiguration-200-schema">
+ <div id="responses-Configuration-getConfiguration-schema-200" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "OK - Application configuration received",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "type" : "string"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-Configuration-getConfiguration-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-Configuration-getConfiguration-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-Configuration-getConfiguration-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-Configuration-getConfiguration-200-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-Configuration-getConfiguration-schema-200');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-Configuration-getConfiguration-200-schema-data' type='hidden' value=''></input>
+ </div>
</div>
<h3 id="examples-Configuration-getConfiguration-title-404"></h3>
<p id="examples-Configuration-getConfiguration-description-404" class="marked"></p>
@@ -9345,12 +9795,66 @@
<ul id="responses-detail-Configuration-getConfiguration-404" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-Configuration-getConfiguration-404-schema">Schema</a>
+ </li>
+
+
</ul>
<div class="tab-content" id="responses-Configuration-getConfiguration-404-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-Configuration-getConfiguration-404-schema">
+ <div id="responses-Configuration-getConfiguration-schema-404" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-Configuration-getConfiguration-404-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-Configuration-getConfiguration-schema-404');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-Configuration-getConfiguration-404-schema-data' type='hidden' value=''></input>
+ </div>
</div>
</article>
</div>
@@ -9364,16 +9868,17 @@
<div class="pull-right"></div>
<div class="clearfix"></div>
<p></p>
- <p class="marked">Replace the current configuration with the given configuration</p>
+ <p class="marked">Replace the current configuration file with the given configuration</p>
<p></p>
<br />
- <pre class="prettyprint language-html prettyprinted" data-type="put"><code><span class="pln">/a1-policy/v2/configuration</span></code></pre>
+ <pre class="prettyprint language-html prettyprinted" data-type="put"><code><span class="pln">/configuration</span></code></pre>
<p>
<h3>Usage and SDK Samples</h3>
</p>
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="#examples-Configuration-putConfiguration-0-curl">Curl</a></li>
<li class=""><a href="#examples-Configuration-putConfiguration-0-java">Java</a></li>
+ <li class=""><a href="#examples-Configuration-putConfiguration-0-dart">Dart</a></li>
<li class=""><a href="#examples-Configuration-putConfiguration-0-android">Android</a></li>
<!--<li class=""><a href="#examples-Configuration-putConfiguration-0-groovy">Groovy</a></li>-->
<li class=""><a href="#examples-Configuration-putConfiguration-0-objc">Obj-C</a></li>
@@ -9391,7 +9896,7 @@
<pre class="prettyprint"><code class="language-bsh">curl -X PUT \
-H "Accept: */*,application/problem+json" \
-H "Content-Type: application/json" \
- "http://localhost/a1-policy/v2/configuration" \
+ "https://example.com/a1-policy-management/v1/configuration" \
-d ''
</code></pre>
</div>
@@ -9423,6 +9928,23 @@
</code></pre>
</div>
+ <div class="tab-pane" id="examples-Configuration-putConfiguration-0-dart">
+ <pre class="prettyprint"><code class="language-dart">import 'package:openapi/api.dart';
+
+final api_instance = DefaultApi();
+
+final Object body = new Object(); // Object |
+
+try {
+ final result = await api_instance.putConfiguration(body);
+ print(result);
+} catch (e) {
+ print('Exception when calling DefaultApi->putConfiguration: $e\n');
+}
+
+</code></pre>
+ </div>
+
<div class="tab-pane" id="examples-Configuration-putConfiguration-0-android">
<pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ConfigurationApi;
@@ -9465,10 +9987,10 @@
</div>
<div class="tab-pane" id="examples-Configuration-putConfiguration-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
+ <pre class="prettyprint"><code class="language-js">var A1PolicyManagementApi = require('a1_policy_management_api');
// Create an instance of the API class
-var api = new A1PolicyManagementService.ConfigurationApi()
+var api = new A1PolicyManagementApi.ConfigurationApi()
var body = Object; // {Object}
var callback = function(error, data, response) {
@@ -9603,15 +10125,15 @@
<p class="marked"></p>
<script>
$(document).ready(function() {
- var schemaWrapper = {
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object"
- }
- }
- },
- "required" : true
+ var schemaWrapper = {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ },
+ "required" : true
};
var schema = findNode('schema',schemaWrapper).schema;
@@ -9620,6 +10142,8 @@
}
if (schema.$ref != null) {
schema = defsParser.$refs.get(schema.$ref);
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
} else {
schemaWrapper.definitions = Object.assign({}, defs);
$RefParser.dereference(schemaWrapper).catch(function(err) {
@@ -9668,41 +10192,55 @@
<div class="tab-content" id="responses-Configuration-putConfiguration-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-Configuration-putConfiguration-200-schema">
- <div id="responses-Configuration-putConfiguration-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-Configuration-putConfiguration-200-schema">
+ <div id="responses-Configuration-putConfiguration-schema-200" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "OK - Configuration updated",
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/void"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-Configuration-putConfiguration-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-Configuration-putConfiguration-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-Configuration-putConfiguration-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-Configuration-putConfiguration-200-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-Configuration-putConfiguration-schema-200');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-Configuration-putConfiguration-200-schema-data' type='hidden' value=''></input>
+ </div>
</div>
<h3 id="examples-Configuration-putConfiguration-title-400"></h3>
<p id="examples-Configuration-putConfiguration-description-400" class="marked"></p>
@@ -9730,41 +10268,55 @@
<div class="tab-content" id="responses-Configuration-putConfiguration-400-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-Configuration-putConfiguration-400-schema">
- <div id="responses-Configuration-putConfiguration-schema-400" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-Configuration-putConfiguration-400-schema">
+ <div id="responses-Configuration-putConfiguration-schema-400" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Bad Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-Configuration-putConfiguration-400-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-Configuration-putConfiguration-schema-400');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-Configuration-putConfiguration-400-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-Configuration-putConfiguration-400-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-Configuration-putConfiguration-schema-400');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-Configuration-putConfiguration-400-schema-data' type='hidden' value=''></input>
+ </div>
</div>
</article>
</div>
@@ -9784,13 +10336,14 @@
<p class="marked">Returns status and statistics of this service</p>
<p></p>
<br />
- <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/a1-policy/v2/status</span></code></pre>
+ <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/status</span></code></pre>
<p>
<h3>Usage and SDK Samples</h3>
</p>
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="#examples-HealthCheck-getStatus-0-curl">Curl</a></li>
<li class=""><a href="#examples-HealthCheck-getStatus-0-java">Java</a></li>
+ <li class=""><a href="#examples-HealthCheck-getStatus-0-dart">Dart</a></li>
<li class=""><a href="#examples-HealthCheck-getStatus-0-android">Android</a></li>
<!--<li class=""><a href="#examples-HealthCheck-getStatus-0-groovy">Groovy</a></li>-->
<li class=""><a href="#examples-HealthCheck-getStatus-0-objc">Obj-C</a></li>
@@ -9807,7 +10360,7 @@
<div class="tab-pane active" id="examples-HealthCheck-getStatus-0-curl">
<pre class="prettyprint"><code class="language-bsh">curl -X GET \
-H "Accept: application/json" \
- "http://localhost/a1-policy/v2/status"
+ "https://example.com/a1-policy-management/v1/status"
</code></pre>
</div>
<div class="tab-pane" id="examples-HealthCheck-getStatus-0-java">
@@ -9826,7 +10379,7 @@
HealthCheckApi apiInstance = new HealthCheckApi();
try {
- status_info result = apiInstance.getStatus();
+ StatusInfo result = apiInstance.getStatus();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling HealthCheckApi#getStatus");
@@ -9837,6 +10390,22 @@
</code></pre>
</div>
+ <div class="tab-pane" id="examples-HealthCheck-getStatus-0-dart">
+ <pre class="prettyprint"><code class="language-dart">import 'package:openapi/api.dart';
+
+final api_instance = DefaultApi();
+
+
+try {
+ final result = await api_instance.getStatus();
+ print(result);
+} catch (e) {
+ print('Exception when calling DefaultApi->getStatus: $e\n');
+}
+
+</code></pre>
+ </div>
+
<div class="tab-pane" id="examples-HealthCheck-getStatus-0-android">
<pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.HealthCheckApi;
@@ -9845,7 +10414,7 @@
HealthCheckApi apiInstance = new HealthCheckApi();
try {
- status_info result = apiInstance.getStatus();
+ StatusInfo result = apiInstance.getStatus();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling HealthCheckApi#getStatus");
@@ -9865,7 +10434,7 @@
HealthCheckApi *apiInstance = [[HealthCheckApi alloc] init];
[apiInstance getStatusWithCompletionHandler:
- ^(status_info output, NSError* error) {
+ ^(StatusInfo output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
@@ -9877,10 +10446,10 @@
</div>
<div class="tab-pane" id="examples-HealthCheck-getStatus-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
+ <pre class="prettyprint"><code class="language-js">var A1PolicyManagementApi = require('a1_policy_management_api');
// Create an instance of the API class
-var api = new A1PolicyManagementService.HealthCheckApi()
+var api = new A1PolicyManagementApi.HealthCheckApi()
var callback = function(error, data, response) {
if (error) {
console.error(error);
@@ -9913,7 +10482,7 @@
var apiInstance = new HealthCheckApi();
try {
- status_info result = apiInstance.getStatus();
+ StatusInfo result = apiInstance.getStatus();
Debug.WriteLine(result);
} catch (Exception e) {
Debug.Print("Exception when calling HealthCheckApi.getStatus: " + e.Message );
@@ -10027,335 +10596,60 @@
<div class="tab-content" id="responses-HealthCheck-getStatus-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-HealthCheck-getStatus-200-schema">
- <div id="responses-HealthCheck-getStatus-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
- Object.keys(schema.properties).forEach( (item) => {
- if (schema.properties[item].$ref != null) {
- schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
- }
- });
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
- }
-
- var view = new JSONSchemaView(schema, 3);
- $('#responses-HealthCheck-getStatus-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-HealthCheck-getStatus-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-HealthCheck-getStatus-200-schema-data' type='hidden' value=''></input>
- </div>
- </div>
- </article>
- </div>
- <hr>
- <div id="api-HealthCheck-getStatusV1">
- <article id="api-HealthCheck-getStatusV1-0" data-group="User" data-name="getStatusV1" data-version="0">
- <div class="pull-left">
- <h1>getStatusV1</h1>
- <p></p>
- </div>
- <div class="pull-right"></div>
- <div class="clearfix"></div>
- <p></p>
- <p class="marked">Returns status and statistics of this service</p>
- <p></p>
- <br />
- <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/status</span></code></pre>
- <p>
- <h3>Usage and SDK Samples</h3>
- </p>
- <ul class="nav nav-tabs nav-tabs-examples">
- <li class="active"><a href="#examples-HealthCheck-getStatusV1-0-curl">Curl</a></li>
- <li class=""><a href="#examples-HealthCheck-getStatusV1-0-java">Java</a></li>
- <li class=""><a href="#examples-HealthCheck-getStatusV1-0-android">Android</a></li>
- <!--<li class=""><a href="#examples-HealthCheck-getStatusV1-0-groovy">Groovy</a></li>-->
- <li class=""><a href="#examples-HealthCheck-getStatusV1-0-objc">Obj-C</a></li>
- <li class=""><a href="#examples-HealthCheck-getStatusV1-0-javascript">JavaScript</a></li>
- <!--<li class=""><a href="#examples-HealthCheck-getStatusV1-0-angular">Angular</a></li>-->
- <li class=""><a href="#examples-HealthCheck-getStatusV1-0-csharp">C#</a></li>
- <li class=""><a href="#examples-HealthCheck-getStatusV1-0-php">PHP</a></li>
- <li class=""><a href="#examples-HealthCheck-getStatusV1-0-perl">Perl</a></li>
- <li class=""><a href="#examples-HealthCheck-getStatusV1-0-python">Python</a></li>
- <li class=""><a href="#examples-HealthCheck-getStatusV1-0-rust">Rust</a></li>
- </ul>
-
- <div class="tab-content">
- <div class="tab-pane active" id="examples-HealthCheck-getStatusV1-0-curl">
- <pre class="prettyprint"><code class="language-bsh">curl -X GET \
- -H "Accept: */*" \
- "http://localhost/status"
-</code></pre>
- </div>
- <div class="tab-pane" id="examples-HealthCheck-getStatusV1-0-java">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
-import org.openapitools.client.auth.*;
-import org.openapitools.client.model.*;
-import org.openapitools.client.api.HealthCheckApi;
-
-import java.io.File;
-import java.util.*;
-
-public class HealthCheckApiExample {
- public static void main(String[] args) {
-
- // Create an instance of the API class
- HealthCheckApi apiInstance = new HealthCheckApi();
-
- try {
- 'String' result = apiInstance.getStatusV1();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling HealthCheckApi#getStatusV1");
- e.printStackTrace();
+ <div class="tab-pane active" id="responses-HealthCheck-getStatus-200-schema">
+ <div id="responses-HealthCheck-getStatus-schema-200" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "OK- Service is living Ok",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/StatusInfo"
+ },
+ "examples" : {
+ "status_info" : {
+ "$ref" : "#/components/examples/StatusInfo"
}
+ }
}
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-HealthCheck-getStatusV1-0-android">
- <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.HealthCheckApi;
-
-public class HealthCheckApiExample {
- public static void main(String[] args) {
- HealthCheckApi apiInstance = new HealthCheckApi();
-
- try {
- 'String' result = apiInstance.getStatusV1();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling HealthCheckApi#getStatusV1");
- e.printStackTrace();
- }
- }
-}</code></pre>
- </div>
- <!--
- <div class="tab-pane" id="examples-HealthCheck-getStatusV1-0-groovy">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div> -->
- <div class="tab-pane" id="examples-HealthCheck-getStatusV1-0-objc">
- <pre class="prettyprint"><code class="language-cpp">
-
-// Create an instance of the API class
-HealthCheckApi *apiInstance = [[HealthCheckApi alloc] init];
-
-[apiInstance getStatusV1WithCompletionHandler:
- ^('String' output, NSError* error) {
- if (output) {
- NSLog(@"%@", output);
- }
- if (error) {
- NSLog(@"Error: %@", error);
- }
-}];
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-HealthCheck-getStatusV1-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
-
-// Create an instance of the API class
-var api = new A1PolicyManagementService.HealthCheckApi()
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
}
};
-api.getStatusV1(callback);
-</code></pre>
- </div>
-
- <!--<div class="tab-pane" id="examples-HealthCheck-getStatusV1-0-angular">
- <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
- </div>-->
- <div class="tab-pane" id="examples-HealthCheck-getStatusV1-0-csharp">
- <pre class="prettyprint"><code class="language-cs">using System;
-using System.Diagnostics;
-using Org.OpenAPITools.Api;
-using Org.OpenAPITools.Client;
-using Org.OpenAPITools.Model;
-
-namespace Example
-{
- public class getStatusV1Example
- {
- public void main()
- {
-
- // Create an instance of the API class
- var apiInstance = new HealthCheckApi();
-
- try {
- 'String' result = apiInstance.getStatusV1();
- Debug.WriteLine(result);
- } catch (Exception e) {
- Debug.Print("Exception when calling HealthCheckApi.getStatusV1: " + e.Message );
- }
- }
- }
-}
-</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-HealthCheck-getStatusV1-0-php">
- <pre class="prettyprint"><code class="language-php"><?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-// Create an instance of the API class
-$api_instance = new OpenAPITools\Client\Api\HealthCheckApi();
-
-try {
- $result = $api_instance->getStatusV1();
- print_r($result);
-} catch (Exception $e) {
- echo 'Exception when calling HealthCheckApi->getStatusV1: ', $e->getMessage(), PHP_EOL;
-}
-?></code></pre>
- </div>
-
- <div class="tab-pane" id="examples-HealthCheck-getStatusV1-0-perl">
- <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
-use WWW::OPenAPIClient::Configuration;
-use WWW::OPenAPIClient::HealthCheckApi;
-
-# Create an instance of the API class
-my $api_instance = WWW::OPenAPIClient::HealthCheckApi->new();
-
-eval {
- my $result = $api_instance->getStatusV1();
- print Dumper($result);
-};
-if ($@) {
- warn "Exception when calling HealthCheckApi->getStatusV1: $@\n";
-}</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-HealthCheck-getStatusV1-0-python">
- <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
-import time
-import openapi_client
-from openapi_client.rest import ApiException
-from pprint import pprint
-
-# Create an instance of the API class
-api_instance = openapi_client.HealthCheckApi()
-
-try:
- api_response = api_instance.get_status_v1()
- pprint(api_response)
-except ApiException as e:
- print("Exception when calling HealthCheckApi->getStatusV1: %s\n" % e)</code></pre>
- </div>
-
- <div class="tab-pane" id="examples-HealthCheck-getStatusV1-0-rust">
- <pre class="prettyprint"><code class="language-rust">extern crate HealthCheckApi;
-
-pub fn main() {
-
- let mut context = HealthCheckApi::Context::default();
- let result = client.getStatusV1(&context).wait();
-
- println!("{:?}", result);
-}
-</code></pre>
- </div>
- </div>
-
- <h2>Scopes</h2>
- <table>
-
- </table>
-
- <h2>Parameters</h2>
-
-
-
-
-
-
- <h2>Responses</h2>
- <h3 id="examples-HealthCheck-getStatusV1-title-200"></h3>
- <p id="examples-HealthCheck-getStatusV1-description-200" class="marked"></p>
- <script>
- var responseHealthCheck200_description = `OK - Service is living`;
- var responseHealthCheck200_description_break = responseHealthCheck200_description.indexOf('\n');
- if (responseHealthCheck200_description_break == -1) {
- $("#examples-HealthCheck-getStatusV1-title-200").text("Status: 200 - " + responseHealthCheck200_description);
- } else {
- $("#examples-HealthCheck-getStatusV1-title-200").text("Status: 200 - " + responseHealthCheck200_description.substring(0, responseHealthCheck200_description_break));
- $("#examples-HealthCheck-getStatusV1-description-200").html(responseHealthCheck200_description.substring(responseHealthCheck200_description_break));
- }
- </script>
-
-
- <ul id="responses-detail-HealthCheck-getStatusV1-200" class="nav nav-tabs nav-tabs-examples" >
- <li class="active">
- <a data-toggle="tab" href="#responses-HealthCheck-getStatusV1-200-schema">Schema</a>
- </li>
-
-
-
-
- </ul>
-
-
- <div class="tab-content" id="responses-HealthCheck-getStatusV1-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-HealthCheck-getStatusV1-200-schema">
- <div id="responses-HealthCheck-getStatusV1-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-HealthCheck-getStatusV1-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-HealthCheck-getStatusV1-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-HealthCheck-getStatusV1-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-HealthCheck-getStatus-200-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-HealthCheck-getStatus-schema-200');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-HealthCheck-getStatus-200-schema-data' type='hidden' value=''></input>
+ </div>
</div>
</article>
</div>
@@ -10367,7 +10661,7 @@
<article id="api-NearRTRICRepository-getRic-0" data-group="User" data-name="getRic" data-version="0">
<div class="pull-left">
<h1>getRic</h1>
- <p>Returns info of Near-RT RIC queried by the ric-id and managed-element-id</p>
+ <p>Returns info for one Near-RT RIC</p>
</div>
<div class="pull-right"></div>
<div class="clearfix"></div>
@@ -10375,13 +10669,14 @@
<p class="marked">Either a Near-RT RIC identity or a Managed Element identity can be specified.<br>The intention with Managed Element identity is the ID used in O1 for accessing the traffical element (such as the ID of CU).</p>
<p></p>
<br />
- <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/a1-policy/v2/rics/ric</span></code></pre>
+ <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/rics/ric</span></code></pre>
<p>
<h3>Usage and SDK Samples</h3>
</p>
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="#examples-NearRTRICRepository-getRic-0-curl">Curl</a></li>
<li class=""><a href="#examples-NearRTRICRepository-getRic-0-java">Java</a></li>
+ <li class=""><a href="#examples-NearRTRICRepository-getRic-0-dart">Dart</a></li>
<li class=""><a href="#examples-NearRTRICRepository-getRic-0-android">Android</a></li>
<!--<li class=""><a href="#examples-NearRTRICRepository-getRic-0-groovy">Groovy</a></li>-->
<li class=""><a href="#examples-NearRTRICRepository-getRic-0-objc">Obj-C</a></li>
@@ -10398,7 +10693,7 @@
<div class="tab-pane active" id="examples-NearRTRICRepository-getRic-0-curl">
<pre class="prettyprint"><code class="language-bsh">curl -X GET \
-H "Accept: application/json,application/problem+json" \
- "http://localhost/a1-policy/v2/rics/ric?managed_element_id=managedElementId_example&ric_id=ricId_example"
+ "https://example.com/a1-policy-management/v1/rics/ric?managedElementId=managedElementId_example&ricId=ricId_example"
</code></pre>
</div>
<div class="tab-pane" id="examples-NearRTRICRepository-getRic-0-java">
@@ -10417,9 +10712,10 @@
NearRTRICRepositoryApi apiInstance = new NearRTRICRepositoryApi();
String managedElementId = managedElementId_example; // String | The identity of a Managed Element. If given, the Near-RT RIC managing the ME is returned.
String ricId = ricId_example; // String | The identity of a Near-RT RIC to get information for.
+ String accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
try {
- ric_info result = apiInstance.getRic(managedElementId, ricId);
+ RicInfo result = apiInstance.getRic(managedElementId, ricId, accept);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling NearRTRICRepositoryApi#getRic");
@@ -10430,6 +10726,25 @@
</code></pre>
</div>
+ <div class="tab-pane" id="examples-NearRTRICRepository-getRic-0-dart">
+ <pre class="prettyprint"><code class="language-dart">import 'package:openapi/api.dart';
+
+final api_instance = DefaultApi();
+
+final String managedElementId = new String(); // String | The identity of a Managed Element. If given, the Near-RT RIC managing the ME is returned.
+final String ricId = new String(); // String | The identity of a Near-RT RIC to get information for.
+final String accept = new String(); // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
+
+try {
+ final result = await api_instance.getRic(managedElementId, ricId, accept);
+ print(result);
+} catch (e) {
+ print('Exception when calling DefaultApi->getRic: $e\n');
+}
+
+</code></pre>
+ </div>
+
<div class="tab-pane" id="examples-NearRTRICRepository-getRic-0-android">
<pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.NearRTRICRepositoryApi;
@@ -10438,9 +10753,10 @@
NearRTRICRepositoryApi apiInstance = new NearRTRICRepositoryApi();
String managedElementId = managedElementId_example; // String | The identity of a Managed Element. If given, the Near-RT RIC managing the ME is returned.
String ricId = ricId_example; // String | The identity of a Near-RT RIC to get information for.
+ String accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
try {
- ric_info result = apiInstance.getRic(managedElementId, ricId);
+ RicInfo result = apiInstance.getRic(managedElementId, ricId, accept);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling NearRTRICRepositoryApi#getRic");
@@ -10460,11 +10776,13 @@
NearRTRICRepositoryApi *apiInstance = [[NearRTRICRepositoryApi alloc] init];
String *managedElementId = managedElementId_example; // The identity of a Managed Element. If given, the Near-RT RIC managing the ME is returned. (optional) (default to null)
String *ricId = ricId_example; // The identity of a Near-RT RIC to get information for. (optional) (default to null)
+String *accept = application/json; // Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. (optional) (default to null)
-// Returns info of Near-RT RIC queried by the ric-id and managed-element-id
+// Returns info for one Near-RT RIC
[apiInstance getRicWith:managedElementId
ricId:ricId
- completionHandler: ^(ric_info output, NSError* error) {
+ accept:accept
+ completionHandler: ^(RicInfo output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
@@ -10476,13 +10794,14 @@
</div>
<div class="tab-pane" id="examples-NearRTRICRepository-getRic-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
+ <pre class="prettyprint"><code class="language-js">var A1PolicyManagementApi = require('a1_policy_management_api');
// Create an instance of the API class
-var api = new A1PolicyManagementService.NearRTRICRepositoryApi()
+var api = new A1PolicyManagementApi.NearRTRICRepositoryApi()
var opts = {
'managedElementId': managedElementId_example, // {String} The identity of a Managed Element. If given, the Near-RT RIC managing the ME is returned.
- 'ricId': ricId_example // {String} The identity of a Near-RT RIC to get information for.
+ 'ricId': ricId_example, // {String} The identity of a Near-RT RIC to get information for.
+ 'accept': application/json // {String} Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
};
var callback = function(error, data, response) {
@@ -10517,10 +10836,11 @@
var apiInstance = new NearRTRICRepositoryApi();
var managedElementId = managedElementId_example; // String | The identity of a Managed Element. If given, the Near-RT RIC managing the ME is returned. (optional) (default to null)
var ricId = ricId_example; // String | The identity of a Near-RT RIC to get information for. (optional) (default to null)
+ var accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. (optional) (default to null)
try {
- // Returns info of Near-RT RIC queried by the ric-id and managed-element-id
- ric_info result = apiInstance.getRic(managedElementId, ricId);
+ // Returns info for one Near-RT RIC
+ RicInfo result = apiInstance.getRic(managedElementId, ricId, accept);
Debug.WriteLine(result);
} catch (Exception e) {
Debug.Print("Exception when calling NearRTRICRepositoryApi.getRic: " + e.Message );
@@ -10539,9 +10859,10 @@
$api_instance = new OpenAPITools\Client\Api\NearRTRICRepositoryApi();
$managedElementId = managedElementId_example; // String | The identity of a Managed Element. If given, the Near-RT RIC managing the ME is returned.
$ricId = ricId_example; // String | The identity of a Near-RT RIC to get information for.
+$accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
try {
- $result = $api_instance->getRic($managedElementId, $ricId);
+ $result = $api_instance->getRic($managedElementId, $ricId, $accept);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling NearRTRICRepositoryApi->getRic: ', $e->getMessage(), PHP_EOL;
@@ -10558,9 +10879,10 @@
my $api_instance = WWW::OPenAPIClient::NearRTRICRepositoryApi->new();
my $managedElementId = managedElementId_example; # String | The identity of a Managed Element. If given, the Near-RT RIC managing the ME is returned.
my $ricId = ricId_example; # String | The identity of a Near-RT RIC to get information for.
+my $accept = application/json; # String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
eval {
- my $result = $api_instance->getRic(managedElementId => $managedElementId, ricId => $ricId);
+ my $result = $api_instance->getRic(managedElementId => $managedElementId, ricId => $ricId, accept => $accept);
print Dumper($result);
};
if ($@) {
@@ -10579,10 +10901,11 @@
api_instance = openapi_client.NearRTRICRepositoryApi()
managedElementId = managedElementId_example # String | The identity of a Managed Element. If given, the Near-RT RIC managing the ME is returned. (optional) (default to null)
ricId = ricId_example # String | The identity of a Near-RT RIC to get information for. (optional) (default to null)
+accept = application/json # String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. (optional) (default to null)
try:
- # Returns info of Near-RT RIC queried by the ric-id and managed-element-id
- api_response = api_instance.get_ric(managedElementId=managedElementId, ricId=ricId)
+ # Returns info for one Near-RT RIC
+ api_response = api_instance.get_ric(managedElementId=managedElementId, ricId=ricId, accept=accept)
pprint(api_response)
except ApiException as e:
print("Exception when calling NearRTRICRepositoryApi->getRic: %s\n" % e)</code></pre>
@@ -10594,9 +10917,10 @@
pub fn main() {
let managedElementId = managedElementId_example; // String
let ricId = ricId_example; // String
+ let accept = application/json; // String
let mut context = NearRTRICRepositoryApi::Context::default();
- let result = client.getRic(managedElementId, ricId, &context).wait();
+ let result = client.getRic(managedElementId, ricId, accept, &context).wait();
println!("{:?}", result);
}
@@ -10612,6 +10936,33 @@
<h2>Parameters</h2>
+ <div class="methodsubtabletitle">Header parameters</div>
+ <table id="methodsubtable">
+ <tr>
+ <th width="150px">Name</th>
+ <th>Description</th>
+ </tr>
+ <tr><td style="width:150px;">Accept</td>
+<td>
+
+
+ <div id="d2e199_getRic_accept">
+ <div class="json-schema-view">
+ <div class="primitive">
+ <span class="type">
+ String
+ </span>
+
+ <div class="inner description marked">
+Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
+ </div>
+ </div>
+ </div>
+ </div>
+</td>
+</tr>
+
+ </table>
@@ -10621,7 +10972,7 @@
<th width="150px">Name</th>
<th>Description</th>
</tr>
- <tr><td style="width:150px;">managed_element_id</td>
+ <tr><td style="width:150px;">managedElementId</td>
<td>
@@ -10641,7 +10992,7 @@
</td>
</tr>
- <tr><td style="width:150px;">ric_id</td>
+ <tr><td style="width:150px;">ricId</td>
<td>
@@ -10667,7 +11018,7 @@
<h3 id="examples-NearRTRICRepository-getRic-title-200"></h3>
<p id="examples-NearRTRICRepository-getRic-description-200" class="marked"></p>
<script>
- var responseNearRTRICRepository200_description = `OK - Near-RT RIC is found`;
+ var responseNearRTRICRepository200_description = `OK - Near-RT RIC is found OK`;
var responseNearRTRICRepository200_description_break = responseNearRTRICRepository200_description.indexOf('\n');
if (responseNearRTRICRepository200_description_break == -1) {
$("#examples-NearRTRICRepository-getRic-title-200").text("Status: 200 - " + responseNearRTRICRepository200_description);
@@ -10690,41 +11041,60 @@
<div class="tab-content" id="responses-NearRTRICRepository-getRic-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-NearRTRICRepository-getRic-200-schema">
- <div id="responses-NearRTRICRepository-getRic-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-NearRTRICRepository-getRic-200-schema">
+ <div id="responses-NearRTRICRepository-getRic-schema-200" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "OK - Near-RT RIC is found OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/RicInfo"
+ },
+ "examples" : {
+ "ric_info" : {
+ "$ref" : "#/components/examples/RicInfo"
+ }
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-NearRTRICRepository-getRic-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-NearRTRICRepository-getRic-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-NearRTRICRepository-getRic-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-NearRTRICRepository-getRic-200-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-NearRTRICRepository-getRic-schema-200');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-NearRTRICRepository-getRic-200-schema-data' type='hidden' value=''></input>
+ </div>
</div>
<h3 id="examples-NearRTRICRepository-getRic-title-404"></h3>
<p id="examples-NearRTRICRepository-getRic-description-404" class="marked"></p>
@@ -10741,12 +11111,66 @@
<ul id="responses-detail-NearRTRICRepository-getRic-404" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-NearRTRICRepository-getRic-404-schema">Schema</a>
+ </li>
+
+
</ul>
<div class="tab-content" id="responses-NearRTRICRepository-getRic-404-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-NearRTRICRepository-getRic-404-schema">
+ <div id="responses-NearRTRICRepository-getRic-schema-404" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-NearRTRICRepository-getRic-404-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-NearRTRICRepository-getRic-schema-404');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-NearRTRICRepository-getRic-404-schema-data' type='hidden' value=''></input>
+ </div>
</div>
</article>
</div>
@@ -10763,13 +11187,14 @@
<p class="marked">The call returns all Near-RT RICs that supports a given policy type identity</p>
<p></p>
<br />
- <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/a1-policy/v2/rics</span></code></pre>
+ <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/rics</span></code></pre>
<p>
<h3>Usage and SDK Samples</h3>
</p>
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="#examples-NearRTRICRepository-getRics-0-curl">Curl</a></li>
<li class=""><a href="#examples-NearRTRICRepository-getRics-0-java">Java</a></li>
+ <li class=""><a href="#examples-NearRTRICRepository-getRics-0-dart">Dart</a></li>
<li class=""><a href="#examples-NearRTRICRepository-getRics-0-android">Android</a></li>
<!--<li class=""><a href="#examples-NearRTRICRepository-getRics-0-groovy">Groovy</a></li>-->
<li class=""><a href="#examples-NearRTRICRepository-getRics-0-objc">Obj-C</a></li>
@@ -10786,7 +11211,7 @@
<div class="tab-pane active" id="examples-NearRTRICRepository-getRics-0-curl">
<pre class="prettyprint"><code class="language-bsh">curl -X GET \
-H "Accept: application/json,application/problem+json" \
- "http://localhost/a1-policy/v2/rics?policytype_id=policytypeId_example"
+ "https://example.com/a1-policy-management/v1/rics?policyTypeId=policyTypeId_example"
</code></pre>
</div>
<div class="tab-pane" id="examples-NearRTRICRepository-getRics-0-java">
@@ -10803,10 +11228,11 @@
// Create an instance of the API class
NearRTRICRepositoryApi apiInstance = new NearRTRICRepositoryApi();
- String policytypeId = policytypeId_example; // String | The identity of a policy type. If given, all Near-RT RICs supporting the policy type are returned
+ String policyTypeId = policyTypeId_example; // String | The identity of a policy type. If given, all Near-RT RICs supporting the policy type are returned
+ String accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
try {
- ric_info_list result = apiInstance.getRics(policytypeId);
+ RicInfoList result = apiInstance.getRics(policyTypeId, accept);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling NearRTRICRepositoryApi#getRics");
@@ -10817,16 +11243,35 @@
</code></pre>
</div>
+ <div class="tab-pane" id="examples-NearRTRICRepository-getRics-0-dart">
+ <pre class="prettyprint"><code class="language-dart">import 'package:openapi/api.dart';
+
+final api_instance = DefaultApi();
+
+final String policyTypeId = new String(); // String | The identity of a policy type. If given, all Near-RT RICs supporting the policy type are returned
+final String accept = new String(); // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
+
+try {
+ final result = await api_instance.getRics(policyTypeId, accept);
+ print(result);
+} catch (e) {
+ print('Exception when calling DefaultApi->getRics: $e\n');
+}
+
+</code></pre>
+ </div>
+
<div class="tab-pane" id="examples-NearRTRICRepository-getRics-0-android">
<pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.NearRTRICRepositoryApi;
public class NearRTRICRepositoryApiExample {
public static void main(String[] args) {
NearRTRICRepositoryApi apiInstance = new NearRTRICRepositoryApi();
- String policytypeId = policytypeId_example; // String | The identity of a policy type. If given, all Near-RT RICs supporting the policy type are returned
+ String policyTypeId = policyTypeId_example; // String | The identity of a policy type. If given, all Near-RT RICs supporting the policy type are returned
+ String accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
try {
- ric_info_list result = apiInstance.getRics(policytypeId);
+ RicInfoList result = apiInstance.getRics(policyTypeId, accept);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling NearRTRICRepositoryApi#getRics");
@@ -10844,11 +11289,13 @@
// Create an instance of the API class
NearRTRICRepositoryApi *apiInstance = [[NearRTRICRepositoryApi alloc] init];
-String *policytypeId = policytypeId_example; // The identity of a policy type. If given, all Near-RT RICs supporting the policy type are returned (optional) (default to null)
+String *policyTypeId = policyTypeId_example; // The identity of a policy type. If given, all Near-RT RICs supporting the policy type are returned (optional) (default to null)
+String *accept = application/json; // Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. (optional) (default to null)
// Query Near-RT RIC information
-[apiInstance getRicsWith:policytypeId
- completionHandler: ^(ric_info_list output, NSError* error) {
+[apiInstance getRicsWith:policyTypeId
+ accept:accept
+ completionHandler: ^(RicInfoList output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
@@ -10860,12 +11307,13 @@
</div>
<div class="tab-pane" id="examples-NearRTRICRepository-getRics-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
+ <pre class="prettyprint"><code class="language-js">var A1PolicyManagementApi = require('a1_policy_management_api');
// Create an instance of the API class
-var api = new A1PolicyManagementService.NearRTRICRepositoryApi()
+var api = new A1PolicyManagementApi.NearRTRICRepositoryApi()
var opts = {
- 'policytypeId': policytypeId_example // {String} The identity of a policy type. If given, all Near-RT RICs supporting the policy type are returned
+ 'policyTypeId': policyTypeId_example, // {String} The identity of a policy type. If given, all Near-RT RICs supporting the policy type are returned
+ 'accept': application/json // {String} Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
};
var callback = function(error, data, response) {
@@ -10898,11 +11346,12 @@
// Create an instance of the API class
var apiInstance = new NearRTRICRepositoryApi();
- var policytypeId = policytypeId_example; // String | The identity of a policy type. If given, all Near-RT RICs supporting the policy type are returned (optional) (default to null)
+ var policyTypeId = policyTypeId_example; // String | The identity of a policy type. If given, all Near-RT RICs supporting the policy type are returned (optional) (default to null)
+ var accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. (optional) (default to null)
try {
// Query Near-RT RIC information
- ric_info_list result = apiInstance.getRics(policytypeId);
+ RicInfoList result = apiInstance.getRics(policyTypeId, accept);
Debug.WriteLine(result);
} catch (Exception e) {
Debug.Print("Exception when calling NearRTRICRepositoryApi.getRics: " + e.Message );
@@ -10919,10 +11368,11 @@
// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\NearRTRICRepositoryApi();
-$policytypeId = policytypeId_example; // String | The identity of a policy type. If given, all Near-RT RICs supporting the policy type are returned
+$policyTypeId = policyTypeId_example; // String | The identity of a policy type. If given, all Near-RT RICs supporting the policy type are returned
+$accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
try {
- $result = $api_instance->getRics($policytypeId);
+ $result = $api_instance->getRics($policyTypeId, $accept);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling NearRTRICRepositoryApi->getRics: ', $e->getMessage(), PHP_EOL;
@@ -10937,10 +11387,11 @@
# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::NearRTRICRepositoryApi->new();
-my $policytypeId = policytypeId_example; # String | The identity of a policy type. If given, all Near-RT RICs supporting the policy type are returned
+my $policyTypeId = policyTypeId_example; # String | The identity of a policy type. If given, all Near-RT RICs supporting the policy type are returned
+my $accept = application/json; # String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
eval {
- my $result = $api_instance->getRics(policytypeId => $policytypeId);
+ my $result = $api_instance->getRics(policyTypeId => $policyTypeId, accept => $accept);
print Dumper($result);
};
if ($@) {
@@ -10957,11 +11408,12 @@
# Create an instance of the API class
api_instance = openapi_client.NearRTRICRepositoryApi()
-policytypeId = policytypeId_example # String | The identity of a policy type. If given, all Near-RT RICs supporting the policy type are returned (optional) (default to null)
+policyTypeId = policyTypeId_example # String | The identity of a policy type. If given, all Near-RT RICs supporting the policy type are returned (optional) (default to null)
+accept = application/json # String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. (optional) (default to null)
try:
# Query Near-RT RIC information
- api_response = api_instance.get_rics(policytypeId=policytypeId)
+ api_response = api_instance.get_rics(policyTypeId=policyTypeId, accept=accept)
pprint(api_response)
except ApiException as e:
print("Exception when calling NearRTRICRepositoryApi->getRics: %s\n" % e)</code></pre>
@@ -10971,10 +11423,11 @@
<pre class="prettyprint"><code class="language-rust">extern crate NearRTRICRepositoryApi;
pub fn main() {
- let policytypeId = policytypeId_example; // String
+ let policyTypeId = policyTypeId_example; // String
+ let accept = application/json; // String
let mut context = NearRTRICRepositoryApi::Context::default();
- let result = client.getRics(policytypeId, &context).wait();
+ let result = client.getRics(policyTypeId, accept, &context).wait();
println!("{:?}", result);
}
@@ -10990,6 +11443,33 @@
<h2>Parameters</h2>
+ <div class="methodsubtabletitle">Header parameters</div>
+ <table id="methodsubtable">
+ <tr>
+ <th width="150px">Name</th>
+ <th>Description</th>
+ </tr>
+ <tr><td style="width:150px;">Accept</td>
+<td>
+
+
+ <div id="d2e199_getRics_accept">
+ <div class="json-schema-view">
+ <div class="primitive">
+ <span class="type">
+ String
+ </span>
+
+ <div class="inner description marked">
+Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
+ </div>
+ </div>
+ </div>
+ </div>
+</td>
+</tr>
+
+ </table>
@@ -10999,11 +11479,11 @@
<th width="150px">Name</th>
<th>Description</th>
</tr>
- <tr><td style="width:150px;">policytype_id</td>
+ <tr><td style="width:150px;">policyTypeId</td>
<td>
- <div id="d2e199_getRics_policytypeId">
+ <div id="d2e199_getRics_policyTypeId">
<div class="json-schema-view">
<div class="primitive">
<span class="type">
@@ -11048,41 +11528,60 @@
<div class="tab-content" id="responses-NearRTRICRepository-getRics-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-NearRTRICRepository-getRics-200-schema">
- <div id="responses-NearRTRICRepository-getRics-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-NearRTRICRepository-getRics-200-schema">
+ <div id="responses-NearRTRICRepository-getRics-schema-200" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/RicInfoList"
+ },
+ "examples" : {
+ "ric_info_list" : {
+ "$ref" : "#/components/examples/RicInfoList"
+ }
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-NearRTRICRepository-getRics-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-NearRTRICRepository-getRics-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-NearRTRICRepository-getRics-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-NearRTRICRepository-getRics-200-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-NearRTRICRepository-getRics-schema-200');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-NearRTRICRepository-getRics-200-schema-data' type='hidden' value=''></input>
+ </div>
</div>
<h3 id="examples-NearRTRICRepository-getRics-title-404"></h3>
<p id="examples-NearRTRICRepository-getRics-description-404" class="marked"></p>
@@ -11099,12 +11598,66 @@
<ul id="responses-detail-NearRTRICRepository-getRics-404" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-NearRTRICRepository-getRics-404-schema">Schema</a>
+ </li>
+
+
</ul>
<div class="tab-content" id="responses-NearRTRICRepository-getRics-404-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-NearRTRICRepository-getRics-404-schema">
+ <div id="responses-NearRTRICRepository-getRics-schema-404" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-NearRTRICRepository-getRics-404-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-NearRTRICRepository-getRics-schema-404');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-NearRTRICRepository-getRics-404-schema-data' type='hidden' value=''></input>
+ </div>
</div>
</article>
</div>
@@ -11124,13 +11677,14 @@
<p class="marked">Unregister a service</p>
<p></p>
<br />
- <pre class="prettyprint language-html prettyprinted" data-type="delete"><code><span class="pln">/a1-policy/v2/services/{service_id}</span></code></pre>
+ <pre class="prettyprint language-html prettyprinted" data-type="delete"><code><span class="pln">/services/{serviceId}</span></code></pre>
<p>
<h3>Usage and SDK Samples</h3>
</p>
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="#examples-ServiceRegistryAndSupervision-deleteService-0-curl">Curl</a></li>
<li class=""><a href="#examples-ServiceRegistryAndSupervision-deleteService-0-java">Java</a></li>
+ <li class=""><a href="#examples-ServiceRegistryAndSupervision-deleteService-0-dart">Dart</a></li>
<li class=""><a href="#examples-ServiceRegistryAndSupervision-deleteService-0-android">Android</a></li>
<!--<li class=""><a href="#examples-ServiceRegistryAndSupervision-deleteService-0-groovy">Groovy</a></li>-->
<li class=""><a href="#examples-ServiceRegistryAndSupervision-deleteService-0-objc">Obj-C</a></li>
@@ -11147,7 +11701,7 @@
<div class="tab-pane active" id="examples-ServiceRegistryAndSupervision-deleteService-0-curl">
<pre class="prettyprint"><code class="language-bsh">curl -X DELETE \
-H "Accept: */*,application/problem+json" \
- "http://localhost/a1-policy/v2/services/{service_id}"
+ "https://example.com/a1-policy-management/v1/services/{serviceId}"
</code></pre>
</div>
<div class="tab-pane" id="examples-ServiceRegistryAndSupervision-deleteService-0-java">
@@ -11165,9 +11719,10 @@
// Create an instance of the API class
ServiceRegistryAndSupervisionApi apiInstance = new ServiceRegistryAndSupervisionApi();
String serviceId = serviceId_example; // String |
+ String accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
try {
- Object result = apiInstance.deleteService(serviceId);
+ Object result = apiInstance.deleteService(serviceId, accept);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ServiceRegistryAndSupervisionApi#deleteService");
@@ -11178,6 +11733,24 @@
</code></pre>
</div>
+ <div class="tab-pane" id="examples-ServiceRegistryAndSupervision-deleteService-0-dart">
+ <pre class="prettyprint"><code class="language-dart">import 'package:openapi/api.dart';
+
+final api_instance = DefaultApi();
+
+final String serviceId = new String(); // String |
+final String accept = new String(); // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
+
+try {
+ final result = await api_instance.deleteService(serviceId, accept);
+ print(result);
+} catch (e) {
+ print('Exception when calling DefaultApi->deleteService: $e\n');
+}
+
+</code></pre>
+ </div>
+
<div class="tab-pane" id="examples-ServiceRegistryAndSupervision-deleteService-0-android">
<pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ServiceRegistryAndSupervisionApi;
@@ -11185,9 +11758,10 @@
public static void main(String[] args) {
ServiceRegistryAndSupervisionApi apiInstance = new ServiceRegistryAndSupervisionApi();
String serviceId = serviceId_example; // String |
+ String accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
try {
- Object result = apiInstance.deleteService(serviceId);
+ Object result = apiInstance.deleteService(serviceId, accept);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ServiceRegistryAndSupervisionApi#deleteService");
@@ -11206,8 +11780,10 @@
// Create an instance of the API class
ServiceRegistryAndSupervisionApi *apiInstance = [[ServiceRegistryAndSupervisionApi alloc] init];
String *serviceId = serviceId_example; // (default to null)
+String *accept = application/json; // Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. (optional) (default to null)
[apiInstance deleteServiceWith:serviceId
+ accept:accept
completionHandler: ^(Object output, NSError* error) {
if (output) {
NSLog(@"%@", output);
@@ -11220,11 +11796,14 @@
</div>
<div class="tab-pane" id="examples-ServiceRegistryAndSupervision-deleteService-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
+ <pre class="prettyprint"><code class="language-js">var A1PolicyManagementApi = require('a1_policy_management_api');
// Create an instance of the API class
-var api = new A1PolicyManagementService.ServiceRegistryAndSupervisionApi()
+var api = new A1PolicyManagementApi.ServiceRegistryAndSupervisionApi()
var serviceId = serviceId_example; // {String}
+var opts = {
+ 'accept': application/json // {String} Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
+};
var callback = function(error, data, response) {
if (error) {
@@ -11233,7 +11812,7 @@
console.log('API called successfully. Returned data: ' + data);
}
};
-api.deleteService(serviceId, callback);
+api.deleteService(serviceId, opts, callback);
</code></pre>
</div>
@@ -11257,9 +11836,10 @@
// Create an instance of the API class
var apiInstance = new ServiceRegistryAndSupervisionApi();
var serviceId = serviceId_example; // String | (default to null)
+ var accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. (optional) (default to null)
try {
- Object result = apiInstance.deleteService(serviceId);
+ Object result = apiInstance.deleteService(serviceId, accept);
Debug.WriteLine(result);
} catch (Exception e) {
Debug.Print("Exception when calling ServiceRegistryAndSupervisionApi.deleteService: " + e.Message );
@@ -11277,9 +11857,10 @@
// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\ServiceRegistryAndSupervisionApi();
$serviceId = serviceId_example; // String |
+$accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
try {
- $result = $api_instance->deleteService($serviceId);
+ $result = $api_instance->deleteService($serviceId, $accept);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ServiceRegistryAndSupervisionApi->deleteService: ', $e->getMessage(), PHP_EOL;
@@ -11295,9 +11876,10 @@
# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::ServiceRegistryAndSupervisionApi->new();
my $serviceId = serviceId_example; # String |
+my $accept = application/json; # String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
eval {
- my $result = $api_instance->deleteService(serviceId => $serviceId);
+ my $result = $api_instance->deleteService(serviceId => $serviceId, accept => $accept);
print Dumper($result);
};
if ($@) {
@@ -11315,9 +11897,10 @@
# Create an instance of the API class
api_instance = openapi_client.ServiceRegistryAndSupervisionApi()
serviceId = serviceId_example # String | (default to null)
+accept = application/json # String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. (optional) (default to null)
try:
- api_response = api_instance.delete_service(serviceId)
+ api_response = api_instance.delete_service(serviceId, accept=accept)
pprint(api_response)
except ApiException as e:
print("Exception when calling ServiceRegistryAndSupervisionApi->deleteService: %s\n" % e)</code></pre>
@@ -11328,9 +11911,10 @@
pub fn main() {
let serviceId = serviceId_example; // String
+ let accept = application/json; // String
let mut context = ServiceRegistryAndSupervisionApi::Context::default();
- let result = client.deleteService(serviceId, &context).wait();
+ let result = client.deleteService(serviceId, accept, &context).wait();
println!("{:?}", result);
}
@@ -11351,7 +11935,7 @@
<th width="150px">Name</th>
<th>Description</th>
</tr>
- <tr><td style="width:150px;">service_id*</td>
+ <tr><td style="width:150px;">serviceId*</td>
<td>
@@ -11373,6 +11957,33 @@
</table>
+ <div class="methodsubtabletitle">Header parameters</div>
+ <table id="methodsubtable">
+ <tr>
+ <th width="150px">Name</th>
+ <th>Description</th>
+ </tr>
+ <tr><td style="width:150px;">Accept</td>
+<td>
+
+
+ <div id="d2e199_deleteService_accept">
+ <div class="json-schema-view">
+ <div class="primitive">
+ <span class="type">
+ String
+ </span>
+
+ <div class="inner description marked">
+Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
+ </div>
+ </div>
+ </div>
+ </div>
+</td>
+</tr>
+
+ </table>
@@ -11404,41 +12015,55 @@
<div class="tab-content" id="responses-ServiceRegistryAndSupervision-deleteService-204-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-ServiceRegistryAndSupervision-deleteService-204-schema">
- <div id="responses-ServiceRegistryAndSupervision-deleteService-schema-204" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-ServiceRegistryAndSupervision-deleteService-204-schema">
+ <div id="responses-ServiceRegistryAndSupervision-deleteService-schema-204" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "No Content - Service unregistered",
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-ServiceRegistryAndSupervision-deleteService-204-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-ServiceRegistryAndSupervision-deleteService-schema-204');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-ServiceRegistryAndSupervision-deleteService-204-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-ServiceRegistryAndSupervision-deleteService-204-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-ServiceRegistryAndSupervision-deleteService-schema-204');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-ServiceRegistryAndSupervision-deleteService-204-schema-data' type='hidden' value=''></input>
+ </div>
</div>
<h3 id="examples-ServiceRegistryAndSupervision-deleteService-title-404"></h3>
<p id="examples-ServiceRegistryAndSupervision-deleteService-description-404" class="marked"></p>
@@ -11455,12 +12080,66 @@
<ul id="responses-detail-ServiceRegistryAndSupervision-deleteService-404" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-ServiceRegistryAndSupervision-deleteService-404-schema">Schema</a>
+ </li>
+
+
</ul>
<div class="tab-content" id="responses-ServiceRegistryAndSupervision-deleteService-404-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-ServiceRegistryAndSupervision-deleteService-404-schema">
+ <div id="responses-ServiceRegistryAndSupervision-deleteService-schema-404" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-ServiceRegistryAndSupervision-deleteService-404-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-ServiceRegistryAndSupervision-deleteService-schema-404');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-ServiceRegistryAndSupervision-deleteService-404-schema-data' type='hidden' value=''></input>
+ </div>
</div>
</article>
</div>
@@ -11477,13 +12156,14 @@
<p class="marked">Either information about a registered service with given identity or all registered services are returned.</p>
<p></p>
<br />
- <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/a1-policy/v2/services</span></code></pre>
+ <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/services</span></code></pre>
<p>
<h3>Usage and SDK Samples</h3>
</p>
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="#examples-ServiceRegistryAndSupervision-getServices-0-curl">Curl</a></li>
<li class=""><a href="#examples-ServiceRegistryAndSupervision-getServices-0-java">Java</a></li>
+ <li class=""><a href="#examples-ServiceRegistryAndSupervision-getServices-0-dart">Dart</a></li>
<li class=""><a href="#examples-ServiceRegistryAndSupervision-getServices-0-android">Android</a></li>
<!--<li class=""><a href="#examples-ServiceRegistryAndSupervision-getServices-0-groovy">Groovy</a></li>-->
<li class=""><a href="#examples-ServiceRegistryAndSupervision-getServices-0-objc">Obj-C</a></li>
@@ -11500,7 +12180,7 @@
<div class="tab-pane active" id="examples-ServiceRegistryAndSupervision-getServices-0-curl">
<pre class="prettyprint"><code class="language-bsh">curl -X GET \
-H "Accept: application/json,application/problem+json" \
- "http://localhost/a1-policy/v2/services?service_id=serviceId_example"
+ "https://example.com/a1-policy-management/v1/services?serviceId=serviceId_example"
</code></pre>
</div>
<div class="tab-pane" id="examples-ServiceRegistryAndSupervision-getServices-0-java">
@@ -11518,9 +12198,10 @@
// Create an instance of the API class
ServiceRegistryAndSupervisionApi apiInstance = new ServiceRegistryAndSupervisionApi();
String serviceId = serviceId_example; // String | The identity of the service
+ String accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
try {
- service_status_list result = apiInstance.getServices(serviceId);
+ ServiceStatusList result = apiInstance.getServices(serviceId, accept);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ServiceRegistryAndSupervisionApi#getServices");
@@ -11531,6 +12212,24 @@
</code></pre>
</div>
+ <div class="tab-pane" id="examples-ServiceRegistryAndSupervision-getServices-0-dart">
+ <pre class="prettyprint"><code class="language-dart">import 'package:openapi/api.dart';
+
+final api_instance = DefaultApi();
+
+final String serviceId = new String(); // String | The identity of the service
+final String accept = new String(); // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
+
+try {
+ final result = await api_instance.getServices(serviceId, accept);
+ print(result);
+} catch (e) {
+ print('Exception when calling DefaultApi->getServices: $e\n');
+}
+
+</code></pre>
+ </div>
+
<div class="tab-pane" id="examples-ServiceRegistryAndSupervision-getServices-0-android">
<pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ServiceRegistryAndSupervisionApi;
@@ -11538,9 +12237,10 @@
public static void main(String[] args) {
ServiceRegistryAndSupervisionApi apiInstance = new ServiceRegistryAndSupervisionApi();
String serviceId = serviceId_example; // String | The identity of the service
+ String accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
try {
- service_status_list result = apiInstance.getServices(serviceId);
+ ServiceStatusList result = apiInstance.getServices(serviceId, accept);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ServiceRegistryAndSupervisionApi#getServices");
@@ -11559,10 +12259,12 @@
// Create an instance of the API class
ServiceRegistryAndSupervisionApi *apiInstance = [[ServiceRegistryAndSupervisionApi alloc] init];
String *serviceId = serviceId_example; // The identity of the service (optional) (default to null)
+String *accept = application/json; // Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. (optional) (default to null)
// Returns service information
[apiInstance getServicesWith:serviceId
- completionHandler: ^(service_status_list output, NSError* error) {
+ accept:accept
+ completionHandler: ^(ServiceStatusList output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
@@ -11574,12 +12276,13 @@
</div>
<div class="tab-pane" id="examples-ServiceRegistryAndSupervision-getServices-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
+ <pre class="prettyprint"><code class="language-js">var A1PolicyManagementApi = require('a1_policy_management_api');
// Create an instance of the API class
-var api = new A1PolicyManagementService.ServiceRegistryAndSupervisionApi()
+var api = new A1PolicyManagementApi.ServiceRegistryAndSupervisionApi()
var opts = {
- 'serviceId': serviceId_example // {String} The identity of the service
+ 'serviceId': serviceId_example, // {String} The identity of the service
+ 'accept': application/json // {String} Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
};
var callback = function(error, data, response) {
@@ -11613,10 +12316,11 @@
// Create an instance of the API class
var apiInstance = new ServiceRegistryAndSupervisionApi();
var serviceId = serviceId_example; // String | The identity of the service (optional) (default to null)
+ var accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. (optional) (default to null)
try {
// Returns service information
- service_status_list result = apiInstance.getServices(serviceId);
+ ServiceStatusList result = apiInstance.getServices(serviceId, accept);
Debug.WriteLine(result);
} catch (Exception e) {
Debug.Print("Exception when calling ServiceRegistryAndSupervisionApi.getServices: " + e.Message );
@@ -11634,9 +12338,10 @@
// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\ServiceRegistryAndSupervisionApi();
$serviceId = serviceId_example; // String | The identity of the service
+$accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
try {
- $result = $api_instance->getServices($serviceId);
+ $result = $api_instance->getServices($serviceId, $accept);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ServiceRegistryAndSupervisionApi->getServices: ', $e->getMessage(), PHP_EOL;
@@ -11652,9 +12357,10 @@
# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::ServiceRegistryAndSupervisionApi->new();
my $serviceId = serviceId_example; # String | The identity of the service
+my $accept = application/json; # String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
eval {
- my $result = $api_instance->getServices(serviceId => $serviceId);
+ my $result = $api_instance->getServices(serviceId => $serviceId, accept => $accept);
print Dumper($result);
};
if ($@) {
@@ -11672,10 +12378,11 @@
# Create an instance of the API class
api_instance = openapi_client.ServiceRegistryAndSupervisionApi()
serviceId = serviceId_example # String | The identity of the service (optional) (default to null)
+accept = application/json # String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. (optional) (default to null)
try:
# Returns service information
- api_response = api_instance.get_services(serviceId=serviceId)
+ api_response = api_instance.get_services(serviceId=serviceId, accept=accept)
pprint(api_response)
except ApiException as e:
print("Exception when calling ServiceRegistryAndSupervisionApi->getServices: %s\n" % e)</code></pre>
@@ -11686,9 +12393,10 @@
pub fn main() {
let serviceId = serviceId_example; // String
+ let accept = application/json; // String
let mut context = ServiceRegistryAndSupervisionApi::Context::default();
- let result = client.getServices(serviceId, &context).wait();
+ let result = client.getServices(serviceId, accept, &context).wait();
println!("{:?}", result);
}
@@ -11704,6 +12412,33 @@
<h2>Parameters</h2>
+ <div class="methodsubtabletitle">Header parameters</div>
+ <table id="methodsubtable">
+ <tr>
+ <th width="150px">Name</th>
+ <th>Description</th>
+ </tr>
+ <tr><td style="width:150px;">Accept</td>
+<td>
+
+
+ <div id="d2e199_getServices_accept">
+ <div class="json-schema-view">
+ <div class="primitive">
+ <span class="type">
+ String
+ </span>
+
+ <div class="inner description marked">
+Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
+ </div>
+ </div>
+ </div>
+ </div>
+</td>
+</tr>
+
+ </table>
@@ -11713,7 +12448,7 @@
<th width="150px">Name</th>
<th>Description</th>
</tr>
- <tr><td style="width:150px;">service_id</td>
+ <tr><td style="width:150px;">serviceId</td>
<td>
@@ -11762,41 +12497,60 @@
<div class="tab-content" id="responses-ServiceRegistryAndSupervision-getServices-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-ServiceRegistryAndSupervision-getServices-200-schema">
- <div id="responses-ServiceRegistryAndSupervision-getServices-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-ServiceRegistryAndSupervision-getServices-200-schema">
+ <div id="responses-ServiceRegistryAndSupervision-getServices-schema-200" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ServiceStatusList"
+ },
+ "examples" : {
+ "service_status_list" : {
+ "$ref" : "#/components/examples/ServiceStatusList"
+ }
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-ServiceRegistryAndSupervision-getServices-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-ServiceRegistryAndSupervision-getServices-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-ServiceRegistryAndSupervision-getServices-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-ServiceRegistryAndSupervision-getServices-200-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-ServiceRegistryAndSupervision-getServices-schema-200');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-ServiceRegistryAndSupervision-getServices-200-schema-data' type='hidden' value=''></input>
+ </div>
</div>
<h3 id="examples-ServiceRegistryAndSupervision-getServices-title-404"></h3>
<p id="examples-ServiceRegistryAndSupervision-getServices-description-404" class="marked"></p>
@@ -11813,12 +12567,66 @@
<ul id="responses-detail-ServiceRegistryAndSupervision-getServices-404" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-ServiceRegistryAndSupervision-getServices-404-schema">Schema</a>
+ </li>
+
+
</ul>
<div class="tab-content" id="responses-ServiceRegistryAndSupervision-getServices-404-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-ServiceRegistryAndSupervision-getServices-404-schema">
+ <div id="responses-ServiceRegistryAndSupervision-getServices-schema-404" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-ServiceRegistryAndSupervision-getServices-404-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-ServiceRegistryAndSupervision-getServices-schema-404');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-ServiceRegistryAndSupervision-getServices-404-schema-data' type='hidden' value=''></input>
+ </div>
</div>
</article>
</div>
@@ -11835,13 +12643,14 @@
<p class="marked">A registered service should invoke this operation regularly to indicate that it is still alive. If a registered service fails to invoke this operation before the end of a timeout period the service will be deregistered and all its A1 policies wil be removed. (This timeout can be set or disabled when each service is initially registered)</p>
<p></p>
<br />
- <pre class="prettyprint language-html prettyprinted" data-type="put"><code><span class="pln">/a1-policy/v2/services/{service_id}/keepalive</span></code></pre>
+ <pre class="prettyprint language-html prettyprinted" data-type="put"><code><span class="pln">/services/{serviceId}/keepalive</span></code></pre>
<p>
<h3>Usage and SDK Samples</h3>
</p>
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="#examples-ServiceRegistryAndSupervision-keepAliveService-0-curl">Curl</a></li>
<li class=""><a href="#examples-ServiceRegistryAndSupervision-keepAliveService-0-java">Java</a></li>
+ <li class=""><a href="#examples-ServiceRegistryAndSupervision-keepAliveService-0-dart">Dart</a></li>
<li class=""><a href="#examples-ServiceRegistryAndSupervision-keepAliveService-0-android">Android</a></li>
<!--<li class=""><a href="#examples-ServiceRegistryAndSupervision-keepAliveService-0-groovy">Groovy</a></li>-->
<li class=""><a href="#examples-ServiceRegistryAndSupervision-keepAliveService-0-objc">Obj-C</a></li>
@@ -11858,7 +12667,9 @@
<div class="tab-pane active" id="examples-ServiceRegistryAndSupervision-keepAliveService-0-curl">
<pre class="prettyprint"><code class="language-bsh">curl -X PUT \
-H "Accept: */*,application/problem+json" \
- "http://localhost/a1-policy/v2/services/{service_id}/keepalive"
+ -H "Content-Type: application/json" \
+ "https://example.com/a1-policy-management/v1/services/{serviceId}/keepalive" \
+ -d ''
</code></pre>
</div>
<div class="tab-pane" id="examples-ServiceRegistryAndSupervision-keepAliveService-0-java">
@@ -11876,9 +12687,11 @@
// Create an instance of the API class
ServiceRegistryAndSupervisionApi apiInstance = new ServiceRegistryAndSupervisionApi();
String serviceId = serviceId_example; // String |
+ String accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
+ String body = body_example; // String |
try {
- Object result = apiInstance.keepAliveService(serviceId);
+ Object result = apiInstance.keepAliveService(serviceId, accept, body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ServiceRegistryAndSupervisionApi#keepAliveService");
@@ -11889,6 +12702,25 @@
</code></pre>
</div>
+ <div class="tab-pane" id="examples-ServiceRegistryAndSupervision-keepAliveService-0-dart">
+ <pre class="prettyprint"><code class="language-dart">import 'package:openapi/api.dart';
+
+final api_instance = DefaultApi();
+
+final String serviceId = new String(); // String |
+final String accept = new String(); // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
+final String body = new String(); // String |
+
+try {
+ final result = await api_instance.keepAliveService(serviceId, accept, body);
+ print(result);
+} catch (e) {
+ print('Exception when calling DefaultApi->keepAliveService: $e\n');
+}
+
+</code></pre>
+ </div>
+
<div class="tab-pane" id="examples-ServiceRegistryAndSupervision-keepAliveService-0-android">
<pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ServiceRegistryAndSupervisionApi;
@@ -11896,9 +12728,11 @@
public static void main(String[] args) {
ServiceRegistryAndSupervisionApi apiInstance = new ServiceRegistryAndSupervisionApi();
String serviceId = serviceId_example; // String |
+ String accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
+ String body = body_example; // String |
try {
- Object result = apiInstance.keepAliveService(serviceId);
+ Object result = apiInstance.keepAliveService(serviceId, accept, body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ServiceRegistryAndSupervisionApi#keepAliveService");
@@ -11917,9 +12751,13 @@
// Create an instance of the API class
ServiceRegistryAndSupervisionApi *apiInstance = [[ServiceRegistryAndSupervisionApi alloc] init];
String *serviceId = serviceId_example; // (default to null)
+String *accept = application/json; // Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. (optional) (default to null)
+String *body = body_example; // (optional)
// Heartbeat indicates that the service is running
[apiInstance keepAliveServiceWith:serviceId
+ accept:accept
+ body:body
completionHandler: ^(Object output, NSError* error) {
if (output) {
NSLog(@"%@", output);
@@ -11932,11 +12770,15 @@
</div>
<div class="tab-pane" id="examples-ServiceRegistryAndSupervision-keepAliveService-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
+ <pre class="prettyprint"><code class="language-js">var A1PolicyManagementApi = require('a1_policy_management_api');
// Create an instance of the API class
-var api = new A1PolicyManagementService.ServiceRegistryAndSupervisionApi()
+var api = new A1PolicyManagementApi.ServiceRegistryAndSupervisionApi()
var serviceId = serviceId_example; // {String}
+var opts = {
+ 'accept': application/json, // {String} Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
+ 'body': body_example // {String}
+};
var callback = function(error, data, response) {
if (error) {
@@ -11945,7 +12787,7 @@
console.log('API called successfully. Returned data: ' + data);
}
};
-api.keepAliveService(serviceId, callback);
+api.keepAliveService(serviceId, opts, callback);
</code></pre>
</div>
@@ -11969,10 +12811,12 @@
// Create an instance of the API class
var apiInstance = new ServiceRegistryAndSupervisionApi();
var serviceId = serviceId_example; // String | (default to null)
+ var accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. (optional) (default to null)
+ var body = body_example; // String | (optional)
try {
// Heartbeat indicates that the service is running
- Object result = apiInstance.keepAliveService(serviceId);
+ Object result = apiInstance.keepAliveService(serviceId, accept, body);
Debug.WriteLine(result);
} catch (Exception e) {
Debug.Print("Exception when calling ServiceRegistryAndSupervisionApi.keepAliveService: " + e.Message );
@@ -11990,9 +12834,11 @@
// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\ServiceRegistryAndSupervisionApi();
$serviceId = serviceId_example; // String |
+$accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
+$body = body_example; // String |
try {
- $result = $api_instance->keepAliveService($serviceId);
+ $result = $api_instance->keepAliveService($serviceId, $accept, $body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ServiceRegistryAndSupervisionApi->keepAliveService: ', $e->getMessage(), PHP_EOL;
@@ -12008,9 +12854,11 @@
# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::ServiceRegistryAndSupervisionApi->new();
my $serviceId = serviceId_example; # String |
+my $accept = application/json; # String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
+my $body = WWW::OPenAPIClient::Object::String->new(); # String |
eval {
- my $result = $api_instance->keepAliveService(serviceId => $serviceId);
+ my $result = $api_instance->keepAliveService(serviceId => $serviceId, accept => $accept, body => $body);
print Dumper($result);
};
if ($@) {
@@ -12028,10 +12876,12 @@
# Create an instance of the API class
api_instance = openapi_client.ServiceRegistryAndSupervisionApi()
serviceId = serviceId_example # String | (default to null)
+accept = application/json # String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. (optional) (default to null)
+body = body_example # String | (optional)
try:
# Heartbeat indicates that the service is running
- api_response = api_instance.keep_alive_service(serviceId)
+ api_response = api_instance.keep_alive_service(serviceId, accept=accept, body=body)
pprint(api_response)
except ApiException as e:
print("Exception when calling ServiceRegistryAndSupervisionApi->keepAliveService: %s\n" % e)</code></pre>
@@ -12042,9 +12892,11 @@
pub fn main() {
let serviceId = serviceId_example; // String
+ let accept = application/json; // String
+ let body = body_example; // String
let mut context = ServiceRegistryAndSupervisionApi::Context::default();
- let result = client.keepAliveService(serviceId, &context).wait();
+ let result = client.keepAliveService(serviceId, accept, body, &context).wait();
println!("{:?}", result);
}
@@ -12065,7 +12917,7 @@
<th width="150px">Name</th>
<th>Description</th>
</tr>
- <tr><td style="width:150px;">service_id*</td>
+ <tr><td style="width:150px;">serviceId*</td>
<td>
@@ -12087,8 +12939,83 @@
</table>
+ <div class="methodsubtabletitle">Header parameters</div>
+ <table id="methodsubtable">
+ <tr>
+ <th width="150px">Name</th>
+ <th>Description</th>
+ </tr>
+ <tr><td style="width:150px;">Accept</td>
+<td>
+ <div id="d2e199_keepAliveService_accept">
+ <div class="json-schema-view">
+ <div class="primitive">
+ <span class="type">
+ String
+ </span>
+
+ <div class="inner description marked">
+Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.
+ </div>
+ </div>
+ </div>
+ </div>
+</td>
+</tr>
+
+ </table>
+
+ <div class="methodsubtabletitle">Body parameters</div>
+ <table id="methodsubtable">
+ <tr>
+ <th width="150px">Name</th>
+ <th>Description</th>
+ </tr>
+ <tr><td style="width:150px;">body </td>
+<td>
+<p class="marked"></p>
+<script>
+$(document).ready(function() {
+ var schemaWrapper = {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "type" : "string"
+ }
+ }
+ },
+ "required" : false
+};
+
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema,2,{isBodyParam: true});
+ var result = $('#d2e199_keepAliveService_body');
+ result.empty();
+ result.append(view.render());
+});
+</script>
+<div id="d2e199_keepAliveService_body"></div>
+</td>
+</tr>
+
+ </table>
+
<h2>Responses</h2>
@@ -12118,41 +13045,55 @@
<div class="tab-content" id="responses-ServiceRegistryAndSupervision-keepAliveService-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-ServiceRegistryAndSupervision-keepAliveService-200-schema">
- <div id="responses-ServiceRegistryAndSupervision-keepAliveService-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-ServiceRegistryAndSupervision-keepAliveService-200-schema">
+ <div id="responses-ServiceRegistryAndSupervision-keepAliveService-schema-200" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "OK - Service supervision timer refreshed, OK",
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-ServiceRegistryAndSupervision-keepAliveService-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-ServiceRegistryAndSupervision-keepAliveService-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-ServiceRegistryAndSupervision-keepAliveService-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-ServiceRegistryAndSupervision-keepAliveService-200-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-ServiceRegistryAndSupervision-keepAliveService-schema-200');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-ServiceRegistryAndSupervision-keepAliveService-200-schema-data' type='hidden' value=''></input>
+ </div>
</div>
<h3 id="examples-ServiceRegistryAndSupervision-keepAliveService-title-404"></h3>
<p id="examples-ServiceRegistryAndSupervision-keepAliveService-description-404" class="marked"></p>
@@ -12169,12 +13110,66 @@
<ul id="responses-detail-ServiceRegistryAndSupervision-keepAliveService-404" class="nav nav-tabs nav-tabs-examples" >
+ <li class="active">
+ <a data-toggle="tab" href="#responses-ServiceRegistryAndSupervision-keepAliveService-404-schema">Schema</a>
+ </li>
+
+
</ul>
<div class="tab-content" id="responses-ServiceRegistryAndSupervision-keepAliveService-404-wrapper" style='margin-bottom: 10px;'>
+ <div class="tab-pane active" id="responses-ServiceRegistryAndSupervision-keepAliveService-404-schema">
+ <div id="responses-ServiceRegistryAndSupervision-keepAliveService-schema-404" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
+ });
+ }
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
+
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-ServiceRegistryAndSupervision-keepAliveService-404-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-ServiceRegistryAndSupervision-keepAliveService-schema-404');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
+ </div>
+ <input id='responses-ServiceRegistryAndSupervision-keepAliveService-404-schema-data' type='hidden' value=''></input>
+ </div>
</div>
</article>
</div>
@@ -12191,13 +13186,14 @@
<p class="marked">Registering a service is needed to:<ul><li>Get callbacks about available NearRT RICs.</li><li>Activate supervision of the service. If a service is inactive, its policies will automatically be deleted.</li></ul>Policies can be created even if the service is not registerred. This is a feature which it is optional to use.</p>
<p></p>
<br />
- <pre class="prettyprint language-html prettyprinted" data-type="put"><code><span class="pln">/a1-policy/v2/services</span></code></pre>
+ <pre class="prettyprint language-html prettyprinted" data-type="put"><code><span class="pln">/services</span></code></pre>
<p>
<h3>Usage and SDK Samples</h3>
</p>
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="#examples-ServiceRegistryAndSupervision-putService-0-curl">Curl</a></li>
<li class=""><a href="#examples-ServiceRegistryAndSupervision-putService-0-java">Java</a></li>
+ <li class=""><a href="#examples-ServiceRegistryAndSupervision-putService-0-dart">Dart</a></li>
<li class=""><a href="#examples-ServiceRegistryAndSupervision-putService-0-android">Android</a></li>
<!--<li class=""><a href="#examples-ServiceRegistryAndSupervision-putService-0-groovy">Groovy</a></li>-->
<li class=""><a href="#examples-ServiceRegistryAndSupervision-putService-0-objc">Obj-C</a></li>
@@ -12215,8 +13211,12 @@
<pre class="prettyprint"><code class="language-bsh">curl -X PUT \
-H "Accept: */*,application/problem+json" \
-H "Content-Type: application/json" \
- "http://localhost/a1-policy/v2/services" \
- -d ''
+ "https://example.com/a1-policy-management/v1/services" \
+ -d '{
+ "keepAliveIntervalSeconds" : 0,
+ "callbackUrl" : "callbackUrl",
+ "serviceId" : "serviceId"
+}'
</code></pre>
</div>
<div class="tab-pane" id="examples-ServiceRegistryAndSupervision-putService-0-java">
@@ -12247,6 +13247,23 @@
</code></pre>
</div>
+ <div class="tab-pane" id="examples-ServiceRegistryAndSupervision-putService-0-dart">
+ <pre class="prettyprint"><code class="language-dart">import 'package:openapi/api.dart';
+
+final api_instance = DefaultApi();
+
+final ServiceRegistrationInfo serviceRegistrationInfo = new ServiceRegistrationInfo(); // ServiceRegistrationInfo |
+
+try {
+ final result = await api_instance.putService(serviceRegistrationInfo);
+ print(result);
+} catch (e) {
+ print('Exception when calling DefaultApi->putService: $e\n');
+}
+
+</code></pre>
+ </div>
+
<div class="tab-pane" id="examples-ServiceRegistryAndSupervision-putService-0-android">
<pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ServiceRegistryAndSupervisionApi;
@@ -12290,10 +13307,10 @@
</div>
<div class="tab-pane" id="examples-ServiceRegistryAndSupervision-putService-0-javascript">
- <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
+ <pre class="prettyprint"><code class="language-js">var A1PolicyManagementApi = require('a1_policy_management_api');
// Create an instance of the API class
-var api = new A1PolicyManagementService.ServiceRegistryAndSupervisionApi()
+var api = new A1PolicyManagementApi.ServiceRegistryAndSupervisionApi()
var serviceRegistrationInfo = ; // {ServiceRegistrationInfo}
var callback = function(error, data, response) {
@@ -12430,15 +13447,15 @@
<p class="marked"></p>
<script>
$(document).ready(function() {
- var schemaWrapper = {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/service_registration_info"
- }
- }
- },
- "required" : true
+ var schemaWrapper = {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ServiceRegistrationInfo"
+ }
+ }
+ },
+ "required" : true
};
var schema = findNode('schema',schemaWrapper).schema;
@@ -12447,6 +13464,8 @@
}
if (schema.$ref != null) {
schema = defsParser.$refs.get(schema.$ref);
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
} else {
schemaWrapper.definitions = Object.assign({}, defs);
$RefParser.dereference(schemaWrapper).catch(function(err) {
@@ -12495,41 +13514,55 @@
<div class="tab-content" id="responses-ServiceRegistryAndSupervision-putService-200-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-ServiceRegistryAndSupervision-putService-200-schema">
- <div id="responses-ServiceRegistryAndSupervision-putService-schema-200" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-ServiceRegistryAndSupervision-putService-200-schema">
+ <div id="responses-ServiceRegistryAndSupervision-putService-schema-200" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "OK - Service updated",
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-ServiceRegistryAndSupervision-putService-200-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-ServiceRegistryAndSupervision-putService-schema-200');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-ServiceRegistryAndSupervision-putService-200-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-ServiceRegistryAndSupervision-putService-200-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-ServiceRegistryAndSupervision-putService-schema-200');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-ServiceRegistryAndSupervision-putService-200-schema-data' type='hidden' value=''></input>
+ </div>
</div>
<h3 id="examples-ServiceRegistryAndSupervision-putService-title-201"></h3>
<p id="examples-ServiceRegistryAndSupervision-putService-description-201" class="marked"></p>
@@ -12557,41 +13590,55 @@
<div class="tab-content" id="responses-ServiceRegistryAndSupervision-putService-201-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-ServiceRegistryAndSupervision-putService-201-schema">
- <div id="responses-ServiceRegistryAndSupervision-putService-schema-201" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-ServiceRegistryAndSupervision-putService-201-schema">
+ <div id="responses-ServiceRegistryAndSupervision-putService-schema-201" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Created - Service created",
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-ServiceRegistryAndSupervision-putService-201-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-ServiceRegistryAndSupervision-putService-schema-201');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-ServiceRegistryAndSupervision-putService-201-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-ServiceRegistryAndSupervision-putService-201-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-ServiceRegistryAndSupervision-putService-schema-201');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-ServiceRegistryAndSupervision-putService-201-schema-data' type='hidden' value=''></input>
+ </div>
</div>
<h3 id="examples-ServiceRegistryAndSupervision-putService-title-400"></h3>
<p id="examples-ServiceRegistryAndSupervision-putService-description-400" class="marked"></p>
@@ -12619,41 +13666,55 @@
<div class="tab-content" id="responses-ServiceRegistryAndSupervision-putService-400-wrapper" style='margin-bottom: 10px;'>
- <div class="tab-pane active" id="responses-ServiceRegistryAndSupervision-putService-400-schema">
- <div id="responses-ServiceRegistryAndSupervision-putService-schema-400" class="exampleStyle">
- <script>
- $(document).ready(function() {
- var schemaWrapper = ;
- var schema = findNode('schema',schemaWrapper).schema;
- if (!schema) {
- schema = schemaWrapper.schema;
- }
- if (schema.$ref != null) {
- schema = defsParser.$refs.get(schema.$ref);
+ <div class="tab-pane active" id="responses-ServiceRegistryAndSupervision-putService-400-schema">
+ <div id="responses-ServiceRegistryAndSupervision-putService-schema-400" class="exampleStyle">
+ <script>
+ $(document).ready(function() {
+ var schemaWrapper = {
+ "description" : "Bad Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+};
+ var schema = findNode('schema',schemaWrapper).schema;
+ if (!schema) {
+ schema = schemaWrapper.schema;
+ }
+ if (schema == null) {
+ return;
+ }
+ if (schema.$ref != null) {
+ schema = defsParser.$refs.get(schema.$ref);
+ if (schema.properties != null) {
Object.keys(schema.properties).forEach( (item) => {
if (schema.properties[item].$ref != null) {
schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
}
});
- } else if (schema.items != null && schema.items.$ref != null) {
- schema.items = defsParser.$refs.get(schema.items.$ref);
- } else {
- schemaWrapper.definitions = Object.assign({}, defs);
- $RefParser.dereference(schemaWrapper).catch(function(err) {
- console.log(err);
- });
}
+ } else if (schema.items != null && schema.items.$ref != null) {
+ schema.items = defsParser.$refs.get(schema.items.$ref);
+ } else {
+ schemaWrapper.definitions = Object.assign({}, defs);
+ $RefParser.dereference(schemaWrapper).catch(function(err) {
+ console.log(err);
+ });
+ }
- var view = new JSONSchemaView(schema, 3);
- $('#responses-ServiceRegistryAndSupervision-putService-400-schema-data').val(JSON.stringify(schema));
- var result = $('#responses-ServiceRegistryAndSupervision-putService-schema-400');
- result.empty();
- result.append(view.render());
- });
- </script>
- </div>
- <input id='responses-ServiceRegistryAndSupervision-putService-400-schema-data' type='hidden' value=''></input>
+ var view = new JSONSchemaView(schema, 3);
+ $('#responses-ServiceRegistryAndSupervision-putService-400-schema-data').val(JSON.stringify(schema));
+ var result = $('#responses-ServiceRegistryAndSupervision-putService-schema-400');
+ result.empty();
+ result.append(view.render());
+ });
+ </script>
</div>
+ <input id='responses-ServiceRegistryAndSupervision-putService-400-schema-data' type='hidden' value=''></input>
+ </div>
</div>
</article>
</div>
@@ -12666,7 +13727,7 @@
<div class="app-desc">Information URL: <a href="https://www.onap.org/">https://www.onap.org/</a></div>
<div class="app-desc">Contact Info: <a href="discuss-list@onap.com">discuss-list@onap.com</a></div>
</p>
- <div class="license-info">Copyright (C) 2020-2023 Nordix Foundation. Licensed under the Apache License.</div>
+ <div class="license-info">Copyright (C) 2024 OpenInfra Foundation Europe. Licensed under the Apache License.</div>
<div class="license-url">http://www.apache.org/licenses/LICENSE-2.0</div>
</div>
</div>
@@ -13772,7 +14833,7 @@
// Determine if a schema is an array
this.isArray = !this.isAny && this.schema && this.schema.type === 'array';
- this.isObject = this.schema && (this.schema.type === 'object' || this.schema.properties || this.schema.anyOf || this.schema.oneof || this.schema.allOf);
+ this.isObject = this.schema && (this.schema.type === 'object' || this.schema.properties || this.schema.anyOf || this.schema.oneOf || this.schema.allOf);
// Determine if a schema is a primitive
this.isPrimitive = !this.isAny && !this.isArray && !this.isObject;
diff --git a/docs/offeredapis/swagger/pms-api-v3.json b/docs/offeredapis/swagger/pms-api-v3.json
new file mode 100644
index 0000000..c844073
--- /dev/null
+++ b/docs/offeredapis/swagger/pms-api-v3.json
@@ -0,0 +1,2134 @@
+{
+ "openapi" : "3.0.3",
+ "info" : {
+ "contact" : {
+ "email" : "discuss-list@onap.com",
+ "url" : "https://www.onap.org/"
+ },
+ "description" : "<h2>General</h2><p>The O-RAN Non-RT RIC Policy Management Service provides a REST API for managemecnt of A1 policies. <br/>The main tasks of the service are:</p><ul><li>A1 Policy creation, modification and deletion.</li><li>Monitoring and maintaining consistency of the SMO view of A1 policies and the Near-RT RICs</li><li>Maintaining a view of supported Near-RT RIC policy types</li><li>Supervision of using services (R-APPs). When a service is unavailable, its policies are removed.</li></ul><h2>APIs provided or defined by the service</h2><h3>A1 Policy Management</h3><p>This is an API for management of A1 Policies.</p><ul><li>A1 Policy retrieval, creation, modification and deletion.</li><li>Retrieval of supported A1 Policy types for a Near-RT RIC</li><li>Retrieval of status for existing A1 policies</li></ul><h3>Management of configuration</h3><p>API for updating and retrieval of the component configuration. Note that there other ways to maintain the configuration.</p><h3>Service callbacks</h3><p>These are endpoints that are invoked by this service. The callbacks are registered in this service at service registration.</p><h3>NearRT-RIC Repository</h3><p>This is an API that provides support for looking up a NearRT-RIC. Each A1 policy is targeted for one Near-RT RIC.</p><h3>Health Check</h3><p>API used for supervision of the PMS component.</p><h3>Service Registry and Supervision</h3><p>API used for registering services that uses PMS. Each A1 policy is optionally owned by a service. PMS can supervise each registered service by a heart-beat supervision and will automatically remove policies for unavailable services. Note that a service does not need to be registered in order to create A1 Policies. This is a feature that is optional to use.</p><h3>Authorization API</h3><p>API used for access control of A1 Policy access. If configured, an external authorization provider is requested to grant access to the A1 Policy type.</p>",
+ "license" : {
+ "name" : "Copyright (C) 2024 OpenInfra Foundation Europe. Licensed under the Apache License.",
+ "url" : "http://www.apache.org/licenses/LICENSE-2.0"
+ },
+ "title" : "A1 policy management API",
+ "version" : "1.0.0",
+ "x-api-id" : "a31c510b-20e6-4a08-af16-368c44d7fba8",
+ "x-audience" : "external-public"
+ },
+ "servers" : [ {
+ "url" : "{apiRoot}/a1-policy-management/v1",
+ "variables" : {
+ "apiRoot" : {
+ "default" : "https://example.com",
+ "description" : "This is the Host:Port or Address where the A1-Policy Management Service can be accessed"
+ }
+ }
+ } ],
+ "tags" : [ {
+ "description" : "API used to create polices, Policy Instances and get them as individual using an ID or get all policies/Instances.",
+ "name" : "A1 Policy Management"
+ }, {
+ "description" : "API used to get the NearRT-RIC for the managed element.",
+ "name" : "NearRT-RIC Repository"
+ }, {
+ "description" : "API used to keep the service Alive with in the timeout period",
+ "name" : "Service Registry and Supervision"
+ }, {
+ "description" : "API used to get the health status and statistics of this service",
+ "name" : "Health Check"
+ }, {
+ "name" : "Service callbacks"
+ }, {
+ "description" : "API used to create or fetch the application configuration.",
+ "name" : "Configuration"
+ } ],
+ "paths" : {
+ "/status" : {
+ "get" : {
+ "description" : "Returns status and statistics of this service",
+ "operationId" : "getStatus",
+ "responses" : {
+ "200" : {
+ "content" : {
+ "application/json" : {
+ "examples" : {
+ "status_info" : {
+ "$ref" : "#/components/examples/StatusInfo"
+ }
+ },
+ "schema" : {
+ "$ref" : "#/components/schemas/StatusInfo"
+ }
+ }
+ },
+ "description" : "OK- Service is living Ok"
+ }
+ },
+ "tags" : [ "Health Check" ]
+ }
+ },
+ "/rics/ric" : {
+ "get" : {
+ "description" : "Either a Near-RT RIC identity or a Managed Element identity can be specified.<br>The intention with Managed Element identity is the ID used in O1 for accessing the traffical element (such as the ID of CU).",
+ "operationId" : "getRic",
+ "parameters" : [ {
+ "description" : "The identity of a Managed Element. If given, the Near-RT RIC managing the ME is returned.",
+ "explode" : true,
+ "in" : "query",
+ "name" : "managedElementId",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "form"
+ }, {
+ "description" : "The identity of a Near-RT RIC to get information for.",
+ "explode" : true,
+ "in" : "query",
+ "name" : "ricId",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "form"
+ }, {
+ "description" : "Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.",
+ "explode" : false,
+ "in" : "header",
+ "name" : "Accept",
+ "required" : false,
+ "schema" : {
+ "example" : "application/json",
+ "type" : "string"
+ },
+ "style" : "simple"
+ } ],
+ "responses" : {
+ "200" : {
+ "content" : {
+ "application/json" : {
+ "examples" : {
+ "ric_info" : {
+ "$ref" : "#/components/examples/RicInfo"
+ }
+ },
+ "schema" : {
+ "$ref" : "#/components/schemas/RicInfo"
+ }
+ }
+ },
+ "description" : "OK - Near-RT RIC is found OK"
+ },
+ "404" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Not Found"
+ }
+ },
+ "summary" : "Returns info for one Near-RT RIC",
+ "tags" : [ "NearRT-RIC Repository" ]
+ }
+ },
+ "/rics" : {
+ "get" : {
+ "description" : "The call returns all Near-RT RICs that supports a given policy type identity",
+ "operationId" : "getRics",
+ "parameters" : [ {
+ "description" : "The identity of a policy type. If given, all Near-RT RICs supporting the policy type are returned",
+ "explode" : true,
+ "in" : "query",
+ "name" : "policyTypeId",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "form"
+ }, {
+ "description" : "Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.",
+ "explode" : false,
+ "in" : "header",
+ "name" : "Accept",
+ "required" : false,
+ "schema" : {
+ "example" : "application/json",
+ "type" : "string"
+ },
+ "style" : "simple"
+ } ],
+ "responses" : {
+ "200" : {
+ "content" : {
+ "application/json" : {
+ "examples" : {
+ "ric_info_list" : {
+ "$ref" : "#/components/examples/RicInfoList"
+ }
+ },
+ "schema" : {
+ "$ref" : "#/components/schemas/RicInfoList"
+ }
+ }
+ },
+ "description" : "OK"
+ },
+ "404" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Not Found"
+ }
+ },
+ "summary" : "Query Near-RT RIC information",
+ "tags" : [ "NearRT-RIC Repository" ]
+ }
+ },
+ "/policy-types" : {
+ "get" : {
+ "description" : "Query policy type identities",
+ "operationId" : "getPolicyTypes",
+ "parameters" : [ {
+ "description" : "Select types for the given Near-RT RIC identity.",
+ "explode" : true,
+ "in" : "query",
+ "name" : "nearRtRicId",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "form"
+ }, {
+ "description" : "Select types with the given type name (type identity has the format <typename_version>)",
+ "explode" : true,
+ "in" : "query",
+ "name" : "typeName",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "form"
+ }, {
+ "description" : "Select types that are compatible with the given version. This parameter is only applicable in conjunction with type_name. As an example version 1.9.1 is compatible with 1.0.0 but not the other way around. Matching types will be returned sorted in ascending order.",
+ "explode" : true,
+ "in" : "query",
+ "name" : "compatibleWithVersion",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "form"
+ }, {
+ "description" : "Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.",
+ "explode" : false,
+ "in" : "header",
+ "name" : "Accept",
+ "required" : false,
+ "schema" : {
+ "example" : "application/json",
+ "type" : "string"
+ },
+ "style" : "simple"
+ } ],
+ "responses" : {
+ "200" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "items" : {
+ "$ref" : "#/components/schemas/PolicyTypeInformation"
+ },
+ "type" : "array"
+ }
+ }
+ },
+ "description" : "OK - Policy Type IDs found Ok"
+ },
+ "400" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Bad Request"
+ },
+ "401" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Unauthorized"
+ },
+ "403" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Forbidden"
+ },
+ "404" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Not Found"
+ },
+ "406" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Not Acceptable"
+ },
+ "429" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Too Many Request"
+ },
+ "500" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Internal Server Error"
+ },
+ "502" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Bad Gateway"
+ },
+ "503" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Service Unavailable"
+ }
+ },
+ "tags" : [ "A1 Policy Management" ]
+ }
+ },
+ "/policy-types/{policyTypeId}" : {
+ "get" : {
+ "description" : "Returns a policy type definition",
+ "operationId" : "getPolicyTypeDefinition",
+ "parameters" : [ {
+ "explode" : false,
+ "in" : "path",
+ "name" : "policyTypeId",
+ "required" : true,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "simple"
+ }, {
+ "description" : "Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.",
+ "explode" : false,
+ "in" : "header",
+ "name" : "Accept",
+ "required" : false,
+ "schema" : {
+ "example" : "application/json",
+ "type" : "string"
+ },
+ "style" : "simple"
+ } ],
+ "responses" : {
+ "200" : {
+ "content" : {
+ "application/json" : {
+ "examples" : {
+ "policyObject" : {
+ "$ref" : "#/components/examples/PolicyObject"
+ }
+ },
+ "schema" : {
+ "$ref" : "#/components/schemas/PolicyObject"
+ }
+ }
+ },
+ "description" : "OK - schema of the given policy type"
+ },
+ "400" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Bad Request"
+ },
+ "401" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Unauthorized"
+ },
+ "403" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Forbidden"
+ },
+ "404" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Not Found"
+ },
+ "406" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Not Acceptable"
+ },
+ "429" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Too Many Request"
+ },
+ "500" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Internal Server Error"
+ },
+ "502" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Bad Gateway"
+ },
+ "503" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Service Unavailable"
+ }
+ },
+ "tags" : [ "A1 Policy Management" ]
+ }
+ },
+ "/policies/{policyId}" : {
+ "delete" : {
+ "description" : "Deleting the policy using policyId.",
+ "operationId" : "deletePolicy",
+ "parameters" : [ {
+ "explode" : false,
+ "in" : "path",
+ "name" : "policyId",
+ "required" : true,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "simple"
+ }, {
+ "description" : "Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.",
+ "explode" : false,
+ "in" : "header",
+ "name" : "Accept",
+ "required" : false,
+ "schema" : {
+ "example" : "application/json",
+ "type" : "string"
+ },
+ "style" : "simple"
+ } ],
+ "responses" : {
+ "204" : {
+ "description" : "The created A1 policy was deleted"
+ },
+ "400" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Bad Request"
+ },
+ "401" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Unauthorized"
+ },
+ "403" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Forbidden"
+ },
+ "404" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Not Found"
+ },
+ "423" : {
+ "content" : {
+ "application/problem+json" : {
+ "example" : {
+ "status" : 423,
+ "title" : "Locked",
+ "detail" : "State is Locked in the provided request."
+ },
+ "schema" : {
+ "$ref" : "#/components/schemas/ErrorInformation"
+ }
+ }
+ },
+ "description" : "Locked - HTTP Status code which can be used when the state is Locked"
+ },
+ "429" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Too Many Request"
+ },
+ "500" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Internal Server Error"
+ },
+ "502" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Bad Gateway"
+ },
+ "503" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Service Unavailable"
+ }
+ },
+ "summary" : "Delete a policy",
+ "tags" : [ "A1 Policy Management" ]
+ },
+ "get" : {
+ "description" : "Returns a policy",
+ "operationId" : "getPolicy",
+ "parameters" : [ {
+ "explode" : false,
+ "in" : "path",
+ "name" : "policyId",
+ "required" : true,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "simple"
+ }, {
+ "description" : "Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.",
+ "explode" : false,
+ "in" : "header",
+ "name" : "Accept",
+ "required" : false,
+ "schema" : {
+ "example" : "application/json",
+ "type" : "string"
+ },
+ "style" : "simple"
+ } ],
+ "responses" : {
+ "200" : {
+ "content" : {
+ "application/json" : {
+ "examples" : {
+ "policyObject" : {
+ "$ref" : "#/components/examples/PolicyObject"
+ }
+ },
+ "schema" : {
+ "$ref" : "#/components/schemas/PolicyObject"
+ }
+ }
+ },
+ "description" : "OK - Policy found"
+ },
+ "400" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Bad Request"
+ },
+ "401" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Unauthorized"
+ },
+ "403" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Forbidden"
+ },
+ "404" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Not Found"
+ },
+ "406" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Not Acceptable"
+ },
+ "429" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Too Many Request"
+ },
+ "500" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Internal Server Error"
+ },
+ "502" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Bad Gateway"
+ },
+ "503" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Service Unavailable"
+ }
+ },
+ "tags" : [ "A1 Policy Management" ]
+ },
+ "put" : {
+ "description" : "update a policy",
+ "operationId" : "putPolicy",
+ "parameters" : [ {
+ "explode" : false,
+ "in" : "path",
+ "name" : "policyId",
+ "required" : true,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "simple"
+ } ],
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "examples" : {
+ "policyObject" : {
+ "$ref" : "#/components/examples/PolicyObject"
+ }
+ },
+ "schema" : {
+ "$ref" : "#/components/schemas/PolicyObject"
+ }
+ }
+ },
+ "required" : true
+ },
+ "responses" : {
+ "200" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/PolicyObject"
+ }
+ }
+ },
+ "description" : "OK - Policy updated"
+ },
+ "400" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Bad Request"
+ },
+ "401" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Unauthorized"
+ },
+ "403" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Forbidden"
+ },
+ "404" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Not Found"
+ },
+ "406" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Not Acceptable"
+ },
+ "411" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Length Required"
+ },
+ "413" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Payload Too Large"
+ },
+ "415" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Unsupported Media Type"
+ },
+ "423" : {
+ "content" : {
+ "application/problem+json" : {
+ "example" : {
+ "status" : 423,
+ "title" : "Locked",
+ "detail" : "State is Locked in the provided request."
+ },
+ "schema" : {
+ "$ref" : "#/components/schemas/ErrorInformation"
+ }
+ }
+ },
+ "description" : "Locked - HTTP Status code which can be used when the state is Locked"
+ },
+ "429" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Too Many Request"
+ },
+ "500" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Internal Server Error"
+ },
+ "502" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Bad Gateway"
+ },
+ "503" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Service Unavailable"
+ }
+ },
+ "tags" : [ "A1 Policy Management" ]
+ }
+ },
+ "/policies" : {
+ "get" : {
+ "description" : "Returns a list of A1 policies matching given search criteria. <br>If several query parameters are defined, the policies matching all conditions are returned.",
+ "operationId" : "getAllPolicies",
+ "parameters" : [ {
+ "description" : "Select policies of a given policy type identity.",
+ "explode" : true,
+ "in" : "query",
+ "name" : "policyTypeId",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "form"
+ }, {
+ "description" : "Select policies of a given Near-RT RIC identity.",
+ "explode" : true,
+ "in" : "query",
+ "name" : "nearRtRicId",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "form"
+ }, {
+ "description" : "Select policies owned by a given service.",
+ "explode" : true,
+ "in" : "query",
+ "name" : "serviceId",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "form"
+ }, {
+ "description" : "Select policies of types with the given type name (type identity has the format <typename_version>)",
+ "explode" : true,
+ "in" : "query",
+ "name" : "typeName",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "form"
+ }, {
+ "description" : "Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.",
+ "explode" : false,
+ "in" : "header",
+ "name" : "Accept",
+ "required" : false,
+ "schema" : {
+ "example" : "application/json",
+ "type" : "string"
+ },
+ "style" : "simple"
+ } ],
+ "responses" : {
+ "200" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "items" : {
+ "$ref" : "#/components/schemas/PolicyInformation"
+ },
+ "type" : "array"
+ }
+ }
+ },
+ "description" : "OK - Policy identities"
+ },
+ "400" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Bad Request"
+ },
+ "401" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Unauthorized"
+ },
+ "403" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Forbidden"
+ },
+ "404" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Not Found"
+ },
+ "406" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Not Acceptable"
+ },
+ "429" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Too Many Request"
+ },
+ "500" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Internal Server Error"
+ },
+ "502" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Bad Gateway"
+ },
+ "503" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Service Unavailable"
+ }
+ },
+ "summary" : "Query policy identities",
+ "tags" : [ "A1 Policy Management" ]
+ },
+ "post" : {
+ "description" : "To create A1 policies",
+ "operationId" : "createPolicy",
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/PolicyObjectInformation"
+ }
+ }
+ },
+ "required" : true
+ },
+ "responses" : {
+ "201" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/PolicyObjectInformation"
+ }
+ }
+ },
+ "description" : "Success case 201 created",
+ "headers" : {
+ "Location" : {
+ "description" : "Contains the URI of the newly created resource",
+ "explode" : false,
+ "required" : true,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "simple"
+ }
+ }
+ },
+ "400" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Bad Request"
+ },
+ "401" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Unauthorized"
+ },
+ "403" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Forbidden"
+ },
+ "404" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Not Found"
+ },
+ "406" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Not Acceptable"
+ },
+ "423" : {
+ "content" : {
+ "application/problem+json" : {
+ "example" : {
+ "status" : 423,
+ "title" : "Locked",
+ "detail" : "State is Locked in the provided request."
+ },
+ "schema" : {
+ "$ref" : "#/components/schemas/ErrorInformation"
+ }
+ }
+ },
+ "description" : "Locked - HTTP Status code which can be used when the state is Locked"
+ },
+ "429" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Too Many Request"
+ },
+ "500" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Internal Server Error"
+ },
+ "502" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Bad Gateway"
+ },
+ "503" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Service Unavailable"
+ }
+ },
+ "tags" : [ "A1 Policy Management" ]
+ }
+ },
+ "/configuration" : {
+ "get" : {
+ "description" : "Returns the contents of the application configuration",
+ "operationId" : "getConfiguration",
+ "responses" : {
+ "200" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "type" : "string"
+ }
+ }
+ },
+ "description" : "OK - Application configuration received"
+ },
+ "404" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Not Found"
+ }
+ },
+ "tags" : [ "Configuration" ]
+ },
+ "put" : {
+ "description" : "Replace the current configuration file with the given configuration",
+ "operationId" : "putConfiguration",
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ },
+ "required" : true
+ },
+ "responses" : {
+ "200" : {
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/void"
+ }
+ }
+ },
+ "description" : "OK - Configuration updated"
+ },
+ "400" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Bad Request"
+ }
+ },
+ "tags" : [ "Configuration" ]
+ }
+ },
+ "/services/{serviceId}/keepalive" : {
+ "put" : {
+ "description" : "A registered service should invoke this operation regularly to indicate that it is still alive. If a registered service fails to invoke this operation before the end of a timeout period the service will be deregistered and all its A1 policies wil be removed. (This timeout can be set or disabled when each service is initially registered)",
+ "operationId" : "keepAliveService",
+ "parameters" : [ {
+ "explode" : false,
+ "in" : "path",
+ "name" : "serviceId",
+ "required" : true,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "simple"
+ }, {
+ "description" : "Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.",
+ "explode" : false,
+ "in" : "header",
+ "name" : "Accept",
+ "required" : false,
+ "schema" : {
+ "example" : "application/json",
+ "type" : "string"
+ },
+ "style" : "simple"
+ } ],
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "type" : "string"
+ }
+ }
+ },
+ "required" : false
+ },
+ "responses" : {
+ "200" : {
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ },
+ "description" : "OK - Service supervision timer refreshed, OK"
+ },
+ "404" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Not Found"
+ }
+ },
+ "summary" : "Heartbeat indicates that the service is running",
+ "tags" : [ "Service Registry and Supervision" ]
+ }
+ },
+ "/services" : {
+ "get" : {
+ "description" : "Either information about a registered service with given identity or all registered services are returned.",
+ "operationId" : "getServices",
+ "parameters" : [ {
+ "description" : "The identity of the service",
+ "explode" : true,
+ "in" : "query",
+ "name" : "serviceId",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "form"
+ }, {
+ "description" : "Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.",
+ "explode" : false,
+ "in" : "header",
+ "name" : "Accept",
+ "required" : false,
+ "schema" : {
+ "example" : "application/json",
+ "type" : "string"
+ },
+ "style" : "simple"
+ } ],
+ "responses" : {
+ "200" : {
+ "content" : {
+ "application/json" : {
+ "examples" : {
+ "service_status_list" : {
+ "$ref" : "#/components/examples/ServiceStatusList"
+ }
+ },
+ "schema" : {
+ "$ref" : "#/components/schemas/ServiceStatusList"
+ }
+ }
+ },
+ "description" : "OK"
+ },
+ "404" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Not Found"
+ }
+ },
+ "summary" : "Returns service information",
+ "tags" : [ "Service Registry and Supervision" ]
+ },
+ "put" : {
+ "callbacks" : {
+ "RICStatus" : {
+ "{$request.body#/callback_url}" : {
+ "post" : {
+ "description" : "The URL to this call is registered at Service registration.",
+ "operationId" : "serviceCallback",
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ServiceCallbackInfo"
+ }
+ }
+ },
+ "required" : true
+ },
+ "responses" : {
+ "200" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/void"
+ }
+ }
+ },
+ "description" : "OK"
+ },
+ "404" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Not Found"
+ }
+ },
+ "summary" : "Callback for Near-RT RIC status",
+ "tags" : [ "Service callbacks" ]
+ }
+ }
+ }
+ },
+ "description" : "Registering a service is needed to:<ul><li>Get callbacks about available NearRT RICs.</li><li>Activate supervision of the service. If a service is inactive, its policies will automatically be deleted.</li></ul>Policies can be created even if the service is not registerred. This is a feature which it is optional to use.",
+ "operationId" : "putService",
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ServiceRegistrationInfo"
+ }
+ }
+ },
+ "required" : true
+ },
+ "responses" : {
+ "200" : {
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ },
+ "description" : "OK - Service updated"
+ },
+ "201" : {
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ },
+ "description" : "Created - Service created"
+ },
+ "400" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Bad Request"
+ }
+ },
+ "summary" : "Register a service",
+ "tags" : [ "Service Registry and Supervision" ]
+ }
+ },
+ "/services/{serviceId}" : {
+ "delete" : {
+ "description" : "Unregister a service",
+ "operationId" : "deleteService",
+ "parameters" : [ {
+ "explode" : false,
+ "in" : "path",
+ "name" : "serviceId",
+ "required" : true,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "simple"
+ }, {
+ "description" : "Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed.",
+ "explode" : false,
+ "in" : "header",
+ "name" : "Accept",
+ "required" : false,
+ "schema" : {
+ "example" : "application/json",
+ "type" : "string"
+ },
+ "style" : "simple"
+ } ],
+ "responses" : {
+ "204" : {
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ },
+ "description" : "No Content - Service unregistered"
+ },
+ "404" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Not Found"
+ }
+ },
+ "tags" : [ "Service Registry and Supervision" ]
+ }
+ }
+ },
+ "components" : {
+ "examples" : {
+ "ServiceStatusList" : {
+ "description" : "List of service information",
+ "value" : {
+ "serviceList" : [ {
+ "callbackUrl" : "callbackUrl",
+ "serviceId" : "serviceId",
+ "keepAliveIntervalSeconds" : 0,
+ "timeSinceLastActivitySeconds" : 6
+ }, {
+ "callbackUrl" : "callbackUrl",
+ "serviceId" : "serviceId",
+ "keepAliveIntervalSeconds" : 0,
+ "timeSinceLastActivitySeconds" : 6
+ } ]
+ }
+ },
+ "PolicyStatusInfo" : {
+ "description" : "Status for one A1-P Policy",
+ "value" : {
+ "lastModified" : "last_modified",
+ "status" : {
+ "value" : {
+ "status" : "status"
+ }
+ }
+ }
+ },
+ "StatusInfo" : {
+ "value" : {
+ "status" : "status"
+ }
+ },
+ "RicInfo" : {
+ "value" : {
+ "ricId" : "ricId",
+ "managedElementIds" : [ "managedElementId", "managedElementId" ],
+ "state" : "UNAVAILABLE",
+ "policyTypeIds" : [ "policyTypeId", "policyTypeId" ]
+ }
+ },
+ "RicInfoList" : {
+ "value" : {
+ "rics" : [ {
+ "ricId" : "ricId",
+ "managedElementIds" : [ "managedElementId", "managedElementId" ],
+ "state" : "UNAVAILABLE",
+ "policyTypeIds" : [ "policyTypeId", "policyTypeId" ]
+ }, {
+ "ricId" : "ricId",
+ "managedElementIds" : [ "managedElementId", "managedElementId" ],
+ "state" : "UNAVAILABLE",
+ "policyTypeIds" : [ "policyTypeId", "policyTypeId" ]
+ } ]
+ }
+ },
+ "PolicyObject" : {
+ "value" : {
+ "scope" : {
+ "ueId" : {
+ "guRanUeId" : {
+ "globalGnbId" : {
+ "plmnId" : {
+ "mcc" : "123",
+ "mnc" : "45"
+ },
+ "gnbId" : {
+ "gnbIdLength" : 24,
+ "gnbIdValue" : 12345678
+ }
+ },
+ "RanUeId" : "a31c510b20e64a74"
+ }
+ },
+ "groupId" : {
+ "spId" : 123
+ },
+ "qosId" : {
+ "5qI" : 1
+ },
+ "cellId" : {
+ "plmnId" : {
+ "mcc" : "123",
+ "mnc" : "45"
+ },
+ "cId" : {
+ "ncI" : 123
+ }
+ }
+ },
+ "qosObjectives" : {
+ "gfbr" : 100,
+ "mfbr" : 200,
+ "priorityLevel" : 3,
+ "pdb" : 50
+ }
+ }
+ }
+ },
+ "responses" : {
+ "400" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Bad Request"
+ },
+ "401" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Unauthorized"
+ },
+ "403" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Forbidden"
+ },
+ "404" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Not Found"
+ },
+ "405" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Method Not Allowed"
+ },
+ "406" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Not Acceptable"
+ },
+ "409" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Conflict"
+ },
+ "411" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Length Required"
+ },
+ "413" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Payload Too Large"
+ },
+ "415" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Unsupported Media Type"
+ },
+ "429" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Too Many Request"
+ },
+ "500" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Internal Server Error"
+ },
+ "502" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Bad Gateway"
+ },
+ "503" : {
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ },
+ "description" : "Service Unavailable"
+ },
+ "Locked" : {
+ "content" : {
+ "application/problem+json" : {
+ "example" : {
+ "status" : 423,
+ "title" : "Locked",
+ "detail" : "State is Locked in the provided request."
+ },
+ "schema" : {
+ "$ref" : "#/components/schemas/ErrorInformation"
+ }
+ }
+ },
+ "description" : "Locked - HTTP Status code which can be used when the state is Locked"
+ }
+ },
+ "schemas" : {
+ "PolicyTypeInformation" : {
+ "description" : "Available policy types and for each policy type identifier the Near-RT RIC identifiers of those Near-RT RICs that support the related A1 policy type",
+ "properties" : {
+ "policyTypeId" : {
+ "description" : "Identity of the policy type",
+ "type" : "string"
+ },
+ "nearRtRicId" : {
+ "$ref" : "#/components/schemas/NearRtRicId"
+ }
+ },
+ "required" : [ "nearRtRicId", "policyTypeId" ],
+ "type" : "object"
+ },
+ "PolicyObjectInformation" : {
+ "description" : "Information related to the creation of the policy",
+ "properties" : {
+ "nearRtRicId" : {
+ "description" : "identity of the target Near-RT RIC",
+ "example" : "Near-RT-Ric-ID",
+ "type" : "string"
+ },
+ "transient" : {
+ "default" : false,
+ "description" : "if true, the policy is deleted at RIC restart. If false, its value is maintained by this service until explicitly deleted. Default false.",
+ "nullable" : false,
+ "type" : "boolean"
+ },
+ "policyId" : {
+ "description" : "identity of the Policy",
+ "example" : "POLICY-ID",
+ "type" : "string"
+ },
+ "serviceId" : {
+ "description" : "the identity of the service owning the policy. This can be used to group the policies (it is possible to get all policies associated to a service). Note that the service does not need to be registered.",
+ "example" : "rApp ID",
+ "type" : "string"
+ },
+ "policyObject" : {
+ "$ref" : "#/components/schemas/PolicyObject"
+ },
+ "policyTypeId" : {
+ "description" : "identity of the policy type",
+ "example" : "ORAN_QOS_1.0.0(typeName_SemVersion)",
+ "type" : "string"
+ }
+ },
+ "required" : [ "nearRtRicId", "policyObject", "policyTypeId" ],
+ "type" : "object"
+ },
+ "ErrorInformation" : {
+ "description" : "Problem as defined in https://tools.ietf.org/html/rfc7807",
+ "properties" : {
+ "detail" : {
+ "description" : " A human-readable explanation specific to this occurrence of the problem.",
+ "example" : "Policy type not found",
+ "type" : "string"
+ },
+ "title" : {
+ "description" : "A specific error name",
+ "example" : "Not Found",
+ "type" : "string"
+ },
+ "status" : {
+ "description" : "The HTTP status code generated by the origin server for this occurrence of the problem. ",
+ "example" : 404,
+ "format" : "int32",
+ "type" : "integer"
+ }
+ },
+ "type" : "object"
+ },
+ "PolicyObject" : {
+ "description" : "Policy Object is a JSON representation of an A1 policy",
+ "type" : "object"
+ },
+ "void" : {
+ "description" : "Void/empty",
+ "type" : "object"
+ },
+ "StatusInfo" : {
+ "properties" : {
+ "status" : {
+ "description" : "status text",
+ "type" : "string"
+ }
+ },
+ "type" : "object"
+ },
+ "AuthorizationResult" : {
+ "description" : "Result of authorization",
+ "example" : {
+ "result" : true
+ },
+ "properties" : {
+ "result" : {
+ "description" : "If true, the access is granted",
+ "type" : "boolean"
+ }
+ },
+ "required" : [ "result" ],
+ "type" : "object"
+ },
+ "RicInfo" : {
+ "description" : "Information for a Near-RT RIC",
+ "properties" : {
+ "ricId" : {
+ "description" : "identity of the Near-RT RIC",
+ "type" : "string"
+ },
+ "managedElementIds" : {
+ "description" : "O1 identities for managed entities",
+ "items" : {
+ "description" : "O1 identities for managed entities",
+ "type" : "string"
+ },
+ "type" : "array"
+ },
+ "state" : {
+ "description" : "Represents the states for a Near-RT RIC",
+ "enum" : [ "UNAVAILABLE", "AVAILABLE", "SYNCHRONIZING", "CONSISTENCY_CHECK" ],
+ "type" : "string"
+ },
+ "policyTypeIds" : {
+ "description" : "supported policy types",
+ "items" : {
+ "description" : "supported policy types",
+ "type" : "string"
+ },
+ "type" : "array"
+ }
+ },
+ "type" : "object"
+ },
+ "ServiceRegistrationInfo" : {
+ "description" : "Information for one service",
+ "properties" : {
+ "callbackUrl" : {
+ "description" : "callback for notifying of Near-RT RIC state changes",
+ "type" : "string"
+ },
+ "serviceId" : {
+ "description" : "identity of the service",
+ "type" : "string"
+ },
+ "keepAliveIntervalSeconds" : {
+ "description" : "keep alive interval for the service. This is used to enable optional heartbeat supervision of the service. If set (> 0) the registered service should regularly invoke a 'keepalive' REST call. When a service fails to invoke this 'keepalive' call within the configured time, the service is considered unavailable. An unavailable service will be automatically deregistered and its policies will be deleted. Value 0 means timeout supervision is disabled.",
+ "format" : "int64",
+ "type" : "integer"
+ }
+ },
+ "required" : [ "serviceId" ],
+ "type" : "object"
+ },
+ "PolicyStatusInfo" : {
+ "description" : "Status for one A1-P Policy",
+ "properties" : {
+ "lastModified" : {
+ "description" : "timestamp, last modification time",
+ "type" : "string"
+ },
+ "status" : {
+ "description" : "the Policy status",
+ "type" : "object"
+ }
+ },
+ "type" : "object"
+ },
+ "ServiceStatus" : {
+ "properties" : {
+ "callbackUrl" : {
+ "description" : "callback for notifying of RIC synchronization",
+ "type" : "string"
+ },
+ "serviceId" : {
+ "description" : "identity of the service",
+ "type" : "string"
+ },
+ "keepAliveIntervalSeconds" : {
+ "description" : "policy keep alive timeout",
+ "format" : "int64",
+ "type" : "integer"
+ },
+ "timeSinceLastActivitySeconds" : {
+ "description" : "time since last invocation by the service",
+ "format" : "int64",
+ "type" : "integer"
+ }
+ },
+ "type" : "object"
+ },
+ "RicInfoList" : {
+ "description" : "List of Near-RT RIC information",
+ "properties" : {
+ "rics" : {
+ "description" : "List of Near-RT RIC information",
+ "items" : {
+ "$ref" : "#/components/schemas/RicInfo"
+ },
+ "type" : "array"
+ }
+ },
+ "type" : "object"
+ },
+ "input" : {
+ "description" : "input",
+ "properties" : {
+ "accessType" : {
+ "description" : "Access type",
+ "enum" : [ "READ", "WRITE", "DELETE" ],
+ "type" : "string"
+ },
+ "authToken" : {
+ "description" : "Authorization token",
+ "type" : "string"
+ },
+ "policyTypeId" : {
+ "description" : "Policy type identifier",
+ "type" : "string"
+ }
+ },
+ "required" : [ "accessType", "authToken", "policyTypeId" ],
+ "type" : "object"
+ },
+ "PolicyAuthorization" : {
+ "description" : "Authorization request for A1 policy requests",
+ "properties" : {
+ "input" : {
+ "$ref" : "#/components/schemas/input"
+ }
+ },
+ "required" : [ "input" ],
+ "type" : "object"
+ },
+ "NearRtRicId" : {
+ "description" : "Identity of the policy",
+ "type" : "string"
+ },
+ "PolicyInformation" : {
+ "description" : "Near-RT RIC identifiers where A1 policies exist and for each Near-RT RIC identifier the policy identifiers of those policies that exist in that Near-RT RIC",
+ "properties" : {
+ "policyId" : {
+ "description" : "Identity of the policy",
+ "type" : "string"
+ },
+ "nearRtRicId" : {
+ "$ref" : "#/components/schemas/NearRtRicId"
+ }
+ },
+ "required" : [ "nearRtRicId", "policyId" ],
+ "type" : "object"
+ },
+ "ServiceStatusList" : {
+ "properties" : {
+ "serviceList" : {
+ "description" : "List of service information",
+ "items" : {
+ "$ref" : "#/components/schemas/ServiceStatus"
+ },
+ "type" : "array"
+ }
+ },
+ "type" : "object"
+ },
+ "ServiceCallbackInfo" : {
+ "description" : "Information transferred as in Service callbacks (callback_url)",
+ "properties" : {
+ "ricId" : {
+ "description" : "identity of a Near-RT RIC",
+ "type" : "string"
+ },
+ "eventType" : {
+ "description" : "values:\nAVAILABLE: the Near-RT RIC has become available for A1 Policy management",
+ "enum" : [ "AVAILABLE" ],
+ "type" : "string"
+ }
+ },
+ "required" : [ "eventType", "ricId" ],
+ "type" : "object"
+ },
+ "Link" : {
+ "properties" : {
+ "templated" : {
+ "type" : "boolean"
+ },
+ "href" : {
+ "type" : "string"
+ }
+ },
+ "type" : "object"
+ },
+ "ProblemDetails" : {
+ "description" : "A problem detail to carry details in an HTTP response according to RFC 7807",
+ "properties" : {
+ "type" : {
+ "description" : "a URI reference according to IETF RFC 3986 that identifies the problem type",
+ "type" : "string"
+ },
+ "title" : {
+ "description" : "human-readable summary of the problem type",
+ "type" : "string"
+ },
+ "status" : {
+ "description" : "the HTTP status code",
+ "type" : "number"
+ },
+ "detail" : {
+ "description" : "human-readable explanation ",
+ "type" : "string"
+ },
+ "instance" : {
+ "description" : "URI reference that identifies the specific occurrence of the problem",
+ "type" : "string"
+ }
+ },
+ "type" : "object"
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/a1-policy-management/api/pms-api-v3.yaml b/docs/offeredapis/swagger/pms-api-v3.yaml
similarity index 99%
copy from a1-policy-management/api/pms-api-v3.yaml
copy to docs/offeredapis/swagger/pms-api-v3.yaml
index d2d613a..46f881e 100644
--- a/a1-policy-management/api/pms-api-v3.yaml
+++ b/docs/offeredapis/swagger/pms-api-v3.yaml
@@ -56,8 +56,8 @@
- url: '{apiRoot}/a1-policy-management/v1'
variables:
apiRoot:
- description: 'apiRoot is the Host:port/Domain name of the service where the A1Pms running'
- default: 'https://a1-pms.com'
+ default: 'https://example.com'
+ description: 'This is the Host:Port or Address where the A1-Policy Management Service can be accessed'
tags:
- name: A1 Policy Management
description: "API used to create polices, Policy Instances and get \ them as individual using an ID or get all policies/Instances."
diff --git a/docs/offeredapis/swagger/pms-api.json b/docs/offeredapis/swagger/pms-api.json
index 5dd8b49..deb5743 100644
--- a/docs/offeredapis/swagger/pms-api.json
+++ b/docs/offeredapis/swagger/pms-api.json
@@ -1,1866 +1,1864 @@
-{
- "openapi" : "3.0.3",
- "info" : {
- "title" : "A1 Policy Management Service",
- "description" : "<h2>General</h2><p>The O-RAN Non-RT RIC Policy Management Service provides a REST API for managemecnt of A1 policies. <br/>The main tasks of the service are:</p><ul><li>A1 Policy creation, modification and deletion.</li><li>Monitoring and maintaining consistency of the SMO view of A1 policies and the Near-RT RICs</li><li>Maintaining a view of supported Near-RT RIC policy types</li><li>Supervision of using services (R-APPs). When a service is unavailable, its policies are removed.</li></ul><h2>APIs provided or defined by the service</h2><h3>A1 Policy Management</h3><p>This is an API for management of A1 Policies.</p><ul><li>A1 Policy retrieval, creation, modification and deletion.</li><li>Retrieval of supported A1 Policy types for a Near-RT RIC</li><li>Retrieval of status for existing A1 policies</li></ul><h3>Management of configuration</h3><p>API for updating and retrieval of the component configuration. Note that there other ways to maintain the configuration.</p><h3>Service callbacks</h3><p>These are endpoints that are invoked by this service. The callbacks are registered in this service at service registration.</p><h3>NearRT-RIC Repository</h3><p>This is an API that provides support for looking up a NearRT-RIC. Each A1 policy is targeted for one Near-RT RIC.</p><h3>Health Check</h3><p>API used for supervision of the PMS component.</p><h3>Service Registry and Supervision</h3><p>API used for registering services that uses PMS. Each A1 policy is optionally owned by a service. PMS can supervise each registered service by a heart-beat supervision and will automatically remove policies for unavailable services. Note that a service does not need to be registered in order to create A1 Policies. This is a feature that is optional to use.</p><h3>Authorization API</h3><p>API used for access control of A1 Policy access. If configured, an external authorization provider is requested to grant access to the A1 Policy type.</p><h3>Spring Boot Actuator</h3><p>Provides generic functions used to monitor and manage the Spring web application.</p>",
- "contact" : {
- "url" : "https://www.onap.org/",
- "email" : "discuss-list@onap.com"
- },
- "license" : {
- "name" : "Copyright (C) 2020-2023 Nordix Foundation. Licensed under the Apache License.",
- "url" : "http://www.apache.org/licenses/LICENSE-2.0"
- },
- "version" : "1.3.0",
- "x-api-id" : "a31c510b-20e6-4a08-af16-368c44d7fba8",
- "x-audience" : "external-public"
- },
- "servers" : [ {
- "url" : "/"
- } ],
- "tags" : [ {
- "name" : "A1 Policy Management",
- "description" : "API used to create polices, Policy Instances and get them as individual using an ID or get all policies/Instances."
- }, {
- "name" : "NearRT-RIC Repository",
- "description" : "API used to get the NearRT-RIC for the managed element."
- }, {
- "name" : "Service Registry and Supervision",
- "description" : "API used to keep the service Alive with in the timeout period"
- }, {
- "name" : "Health Check",
- "description" : "API used to get the health status and statistics of this service"
- }, {
- "name" : "Service callbacks"
- }, {
- "name" : "Authorization API",
- "description" : "API used for authorization of information A1 policy access (this is provided by an authorization producer such as OPA). <br> Note that this API is called by PMS, it is not provided."
- }, {
- "name" : "Configuration",
- "description" : "API used to create or fetch the application configuration."
- }, {
- "name" : "Actuator",
- "description" : "Monitor and interact",
- "externalDocs" : {
- "description" : "Spring Boot Actuator Web API Documentation",
- "url" : "https://docs.spring.io/spring-boot/docs/current/actuator-api/html/"
- }
- } ],
- "paths" : {
- "/a1-policy/v2/policy-instances" : {
- "get" : {
- "tags" : [ "A1 Policy Management" ],
- "summary" : "Query for A1 policy instances",
- "description" : "Returns a list of A1 policies matching given search criteria. <br>If several query parameters are defined, the policies matching all conditions are returned.",
- "operationId" : "getPolicyInstances",
- "parameters" : [ {
- "name" : "policytype_id",
- "in" : "query",
- "description" : "Select policies with a given type identity.",
- "required" : false,
- "style" : "form",
- "explode" : true,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "ric_id",
- "in" : "query",
- "description" : "Select policies for a given Near-RT RIC identity.",
- "required" : false,
- "style" : "form",
- "explode" : true,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "service_id",
- "in" : "query",
- "description" : "Select policies owned by a given service.",
- "required" : false,
- "style" : "form",
- "explode" : true,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "type_name",
- "in" : "query",
- "description" : "Select policies of a given type name (type identity has the format <typename_version>)",
- "required" : false,
- "style" : "form",
- "explode" : true,
- "schema" : {
- "type" : "string"
- }
- } ],
- "responses" : {
- "200" : {
- "description" : "OK - Returns A1 Policies which matches the criteria",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/policy_info_list"
- },
- "examples" : {
- "policy_info_list" : {
- "$ref" : "#/components/examples/policy_info_list"
- }
- }
- }
- }
- },
- "404" : {
- "description" : "Not Found - Near-RT RIC, policy type or service not found",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/error_information"
- }
- }
- }
- }
- }
- }
- },
- "/example-authz-check" : {
- "post" : {
- "tags" : [ "Authorization API" ],
- "summary" : "Request for access authorization.",
- "description" : "The authorization function decides if access is granted.",
- "operationId" : "performAccessControl",
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/policy_authorization"
- }
- }
- },
- "required" : true
- },
- "responses" : {
- "200" : {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/authorization_result"
- }
- }
- }
- },
- "403" : {
- "description" : "Forbidden",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/error_information"
- },
- "example" : {
- "status" : 403,
- "title" : "Forbidden",
- "detail" : "Your role does not allow to perform this action. Contact System Administrator to change your access rights."
- }
- }
- }
- }
- }
- }
- },
- "/actuator/threaddump" : {
- "get" : {
- "tags" : [ "Actuator" ],
- "summary" : "Actuator web endpoint 'threaddump'",
- "operationId" : "threaddump",
- "responses" : {
- "200" : {
- "description" : "OK",
- "content" : {
- "text/plain;charset=UTF-8" : {
- "schema" : {
- "type" : "object"
- }
- },
- "application/vnd.spring-boot.actuator.v3+json" : {
- "schema" : {
- "type" : "object"
- }
- },
- "application/json" : {
- "schema" : {
- "type" : "object"
- }
- },
- "application/vnd.spring-boot.actuator.v2+json" : {
- "schema" : {
- "type" : "object"
- }
- }
- }
- }
- },
- "x-internal" : true
- }
- },
- "/a1-policy/v2/status" : {
- "get" : {
- "tags" : [ "Health Check" ],
- "description" : "Returns status and statistics of this service",
- "operationId" : "getStatus",
- "responses" : {
- "200" : {
- "description" : "OK- Service is living Ok",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/status_info"
- },
- "examples" : {
- "status_info" : {
- "$ref" : "#/components/examples/status_info"
- }
- }
- }
- }
- }
- }
- }
- },
- "/actuator/loggers" : {
- "get" : {
- "tags" : [ "Actuator" ],
- "summary" : "Actuator web endpoint 'loggers'",
- "operationId" : "loggers",
- "responses" : {
- "200" : {
- "description" : "OK",
- "content" : {
- "application/vnd.spring-boot.actuator.v3+json" : {
- "schema" : {
- "type" : "object"
- }
- },
- "application/json" : {
- "schema" : {
- "type" : "object"
- }
- },
- "application/vnd.spring-boot.actuator.v2+json" : {
- "schema" : {
- "type" : "object"
- }
- }
- }
- }
- },
- "x-internal" : true
- }
- },
- "/actuator/health/**" : {
- "get" : {
- "tags" : [ "Actuator" ],
- "summary" : "Actuator web endpoint 'health-path'",
- "operationId" : "health-path",
- "responses" : {
- "200" : {
- "description" : "OK",
- "content" : {
- "application/vnd.spring-boot.actuator.v3+json" : {
- "schema" : {
- "type" : "object"
- }
- },
- "application/json" : {
- "schema" : {
- "type" : "object"
- }
- },
- "application/vnd.spring-boot.actuator.v2+json" : {
- "schema" : {
- "type" : "object"
- }
- }
- }
- }
- },
- "x-internal" : true
- }
- },
- "/a1-policy/v2/rics/ric" : {
- "get" : {
- "tags" : [ "NearRT-RIC Repository" ],
- "summary" : "Returns info of Near-RT RIC queried by the ric-id and managed-element-id",
- "description" : "Either a Near-RT RIC identity or a Managed Element identity can be specified.<br>The intention with Managed Element identity is the ID used in O1 for accessing the traffical element (such as the ID of CU).",
- "operationId" : "getRic",
- "parameters" : [ {
- "name" : "managed_element_id",
- "in" : "query",
- "description" : "The identity of a Managed Element. If given, the Near-RT RIC managing the ME is returned.",
- "required" : false,
- "style" : "form",
- "explode" : true,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "ric_id",
- "in" : "query",
- "description" : "The identity of a Near-RT RIC to get information for.",
- "required" : false,
- "style" : "form",
- "explode" : true,
- "schema" : {
- "type" : "string"
- }
- } ],
- "responses" : {
- "200" : {
- "description" : "OK - Near-RT RIC is found",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ric_info"
- },
- "examples" : {
- "ric_info" : {
- "$ref" : "#/components/examples/ric_info"
- }
- }
- }
- }
- },
- "404" : {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "example" : [ ]
- }
- }
- }
- }
- }
- },
- "/actuator/shutdown" : {
- "post" : {
- "tags" : [ "Actuator" ],
- "summary" : "Actuator web endpoint 'shutdown'",
- "operationId" : "shutdown",
- "responses" : {
- "200" : {
- "description" : "OK",
- "content" : {
- "application/vnd.spring-boot.actuator.v3+json" : {
- "schema" : {
- "type" : "object"
- }
- },
- "application/json" : {
- "schema" : {
- "type" : "object"
- }
- },
- "application/vnd.spring-boot.actuator.v2+json" : {
- "schema" : {
- "type" : "object"
- }
- }
- }
- }
- },
- "x-internal" : true
- }
- },
- "/a1-policy/v2/policy-types" : {
- "get" : {
- "tags" : [ "A1 Policy Management" ],
- "description" : "Query policy type identities",
- "operationId" : "getPolicyTypes",
- "parameters" : [ {
- "name" : "ric_id",
- "in" : "query",
- "description" : "Select types for the given Near-RT RIC identity.",
- "required" : false,
- "style" : "form",
- "explode" : true,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "type_name",
- "in" : "query",
- "description" : "Select types with the given type name (type identity has the format <typename_version>)",
- "required" : false,
- "style" : "form",
- "explode" : true,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "compatible_with_version",
- "in" : "query",
- "description" : "Select types that are compatible with the given version. This parameter is only applicable in conjunction with type_name. As an example version 1.9.1 is compatible with 1.0.0 but not the other way around. Matching types will be returned sorted in ascending order.",
- "required" : false,
- "style" : "form",
- "explode" : true,
- "schema" : {
- "type" : "string"
- }
- } ],
- "responses" : {
- "200" : {
- "description" : "OK - Policy Type IDs Found",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/policy_type_id_list"
- },
- "examples" : {
- "policy_type_id_list" : {
- "$ref" : "#/components/examples/policy_type_id_list"
- }
- }
- }
- }
- },
- "404" : {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "example" : [ ]
- }
- }
- }
- }
- }
- },
- "/a1-policy/v2/policies/{policy_id}" : {
- "get" : {
- "tags" : [ "A1 Policy Management" ],
- "description" : "Returns a policy",
- "operationId" : "getPolicy",
- "parameters" : [ {
- "name" : "policy_id",
- "in" : "path",
- "required" : true,
- "style" : "simple",
- "explode" : false,
- "schema" : {
- "type" : "string"
- }
- } ],
- "responses" : {
- "200" : {
- "description" : "OK - Policy found",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/policy_info"
- },
- "examples" : {
- "policy_info" : {
- "$ref" : "#/components/examples/policy_info"
- }
- }
- }
- }
- },
- "404" : {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "example" : [ ]
- }
- }
- }
- }
- },
- "delete" : {
- "tags" : [ "A1 Policy Management" ],
- "summary" : "Delete a policy",
- "description" : "Deleting the policy using the Policy's Policy ID.",
- "operationId" : "deletePolicy",
- "parameters" : [ {
- "name" : "policy_id",
- "in" : "path",
- "required" : true,
- "style" : "simple",
- "explode" : false,
- "schema" : {
- "type" : "string"
- }
- } ],
- "responses" : {
- "200" : {
- "description" : "OK - Policy deleted",
- "content" : {
- "*/*" : {
- "schema" : {
- "$ref" : "#/components/schemas/void"
- }
- }
- }
- },
- "423" : {
- "description" : "Locked - HTTP Status code which can be used when the state is Locked",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/error_information"
- },
- "example" : {
- "status" : 423,
- "title" : "Locked",
- "detail" : "Requested resource is in a locked state."
- }
- }
- }
- }
- }
- }
- },
- "/actuator/metrics/{requiredMetricName}" : {
- "get" : {
- "tags" : [ "Actuator" ],
- "summary" : "Actuator web endpoint 'metrics-requiredMetricName'",
- "operationId" : "metrics-requiredMetricName",
- "parameters" : [ {
- "name" : "requiredMetricName",
- "in" : "path",
- "required" : true,
- "style" : "simple",
- "explode" : false,
- "schema" : {
- "type" : "string"
- }
- } ],
- "responses" : {
- "200" : {
- "description" : "OK",
- "content" : {
- "application/vnd.spring-boot.actuator.v3+json" : {
- "schema" : {
- "type" : "object"
- }
- },
- "application/json" : {
- "schema" : {
- "type" : "object"
- }
- },
- "application/vnd.spring-boot.actuator.v2+json" : {
- "schema" : {
- "type" : "object"
- }
- }
- }
- }
- },
- "x-internal" : true
- }
- },
- "/a1-policy/v2/configuration" : {
- "get" : {
- "tags" : [ "Configuration" ],
- "description" : "Returns the contents of the application configuration file",
- "operationId" : "getConfiguration",
- "responses" : {
- "200" : {
- "description" : "OK - Configuration",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "string"
- }
- }
- }
- },
- "404" : {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "example" : [ ]
- }
- }
- }
- },
- "x-internal" : true
- },
- "put" : {
- "tags" : [ "Configuration" ],
- "description" : "Replace the current configuration with the given configuration",
- "operationId" : "putConfiguration",
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object"
- }
- }
- },
- "required" : true
- },
- "responses" : {
- "200" : {
- "description" : "OK - Configuration updated",
- "content" : {
- "*/*" : {
- "schema" : {
- "$ref" : "#/components/schemas/void"
- }
- }
- }
- },
- "400" : {
- "description" : "Bad Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/error_information"
- },
- "example" : {
- "status" : 400,
- "title" : "Bad Request",
- "detail" : "The provided request is not valid."
- }
- }
- }
- }
- },
- "x-internal" : true
- }
- },
- "/actuator" : {
- "get" : {
- "tags" : [ "Actuator" ],
- "summary" : "Actuator root web endpoint",
- "operationId" : "links",
- "responses" : {
- "200" : {
- "description" : "OK",
- "content" : {
- "application/vnd.spring-boot.actuator.v3+json" : {
- "schema" : {
- "type" : "object",
- "additionalProperties" : {
- "type" : "object",
- "additionalProperties" : {
- "$ref" : "#/components/schemas/Link"
- }
- }
- }
- },
- "application/json" : {
- "schema" : {
- "type" : "object",
- "additionalProperties" : {
- "type" : "object",
- "additionalProperties" : {
- "$ref" : "#/components/schemas/Link"
- }
- }
- }
- },
- "application/vnd.spring-boot.actuator.v2+json" : {
- "schema" : {
- "type" : "object",
- "additionalProperties" : {
- "type" : "object",
- "additionalProperties" : {
- "$ref" : "#/components/schemas/Link"
- }
- }
- }
- }
- }
- }
- },
- "x-internal" : true
- }
- },
- "/actuator/loggers/{name}" : {
- "get" : {
- "tags" : [ "Actuator" ],
- "summary" : "Actuator web endpoint 'loggers-name'",
- "operationId" : "loggers-name",
- "parameters" : [ {
- "name" : "name",
- "in" : "path",
- "required" : true,
- "style" : "simple",
- "explode" : false,
- "schema" : {
- "type" : "string"
- }
- } ],
- "responses" : {
- "200" : {
- "description" : "OK",
- "content" : {
- "application/vnd.spring-boot.actuator.v3+json" : {
- "schema" : {
- "type" : "object"
- }
- },
- "application/json" : {
- "schema" : {
- "type" : "object"
- }
- },
- "application/vnd.spring-boot.actuator.v2+json" : {
- "schema" : {
- "type" : "object"
- }
- }
- }
- }
- },
- "x-internal" : true
- },
- "post" : {
- "tags" : [ "Actuator" ],
- "summary" : "Actuator web endpoint 'loggers-name'",
- "operationId" : "loggers-name_2",
- "parameters" : [ {
- "name" : "name",
- "in" : "path",
- "required" : true,
- "style" : "simple",
- "explode" : false,
- "schema" : {
- "type" : "string"
- }
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "string",
- "enum" : [ "TRACE", "DEBUG", "INFO", "WARN", "ERROR", "FATAL", "OFF" ]
- }
- }
- }
- },
- "responses" : {
- "200" : {
- "description" : "OK",
- "content" : {
- "*/*" : {
- "schema" : {
- "type" : "object"
- }
- }
- }
- }
- },
- "x-internal" : true
- }
- },
- "/a1-policy/v2/services/{service_id}/keepalive" : {
- "put" : {
- "tags" : [ "Service Registry and Supervision" ],
- "summary" : "Heartbeat indicates that the service is running",
- "description" : "A registered service should invoke this operation regularly to indicate that it is still alive. If a registered service fails to invoke this operation before the end of a timeout period the service will be deregistered and all its A1 policies wil be removed. (This timeout can be set or disabled when each service is initially registered)",
- "operationId" : "keepAliveService",
- "parameters" : [ {
- "name" : "service_id",
- "in" : "path",
- "required" : true,
- "style" : "simple",
- "explode" : false,
- "schema" : {
- "type" : "string"
- }
- } ],
- "responses" : {
- "200" : {
- "description" : "OK - Service supervision timer refreshed, OK",
- "content" : {
- "*/*" : {
- "schema" : {
- "type" : "object"
- }
- }
- }
- },
- "404" : {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "example" : [ ]
- }
- }
- }
- }
- }
- },
- "/actuator/metrics" : {
- "get" : {
- "tags" : [ "Actuator" ],
- "summary" : "Actuator web endpoint 'metrics'",
- "operationId" : "metrics",
- "responses" : {
- "200" : {
- "description" : "OK",
- "content" : {
- "application/vnd.spring-boot.actuator.v3+json" : {
- "schema" : {
- "type" : "object"
- }
- },
- "application/json" : {
- "schema" : {
- "type" : "object"
- }
- },
- "application/vnd.spring-boot.actuator.v2+json" : {
- "schema" : {
- "type" : "object"
- }
- }
- }
- }
- },
- "x-internal" : true
- }
- },
- "/a1-policy/v2/rics" : {
- "get" : {
- "tags" : [ "NearRT-RIC Repository" ],
- "summary" : "Query Near-RT RIC information",
- "description" : "The call returns all Near-RT RICs that supports a given policy type identity",
- "operationId" : "getRics",
- "parameters" : [ {
- "name" : "policytype_id",
- "in" : "query",
- "description" : "The identity of a policy type. If given, all Near-RT RICs supporting the policy type are returned",
- "required" : false,
- "style" : "form",
- "explode" : true,
- "schema" : {
- "type" : "string"
- }
- } ],
- "responses" : {
- "200" : {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ric_info_list"
- },
- "examples" : {
- "ric_info_list" : {
- "$ref" : "#/components/examples/ric_info_list"
- }
- }
- }
- }
- },
- "404" : {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "example" : [ ]
- }
- }
- }
- }
- }
- },
- "/a1-policy/v2/services" : {
- "get" : {
- "tags" : [ "Service Registry and Supervision" ],
- "summary" : "Returns service information",
- "description" : "Either information about a registered service with given identity or all registered services are returned.",
- "operationId" : "getServices",
- "parameters" : [ {
- "name" : "service_id",
- "in" : "query",
- "description" : "The identity of the service",
- "required" : false,
- "style" : "form",
- "explode" : true,
- "schema" : {
- "type" : "string"
- }
- } ],
- "responses" : {
- "200" : {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/service_status_list"
- },
- "examples" : {
- "service_status_list" : {
- "$ref" : "#/components/examples/service_status_list"
- }
- }
- }
- }
- },
- "404" : {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "example" : [ ]
- }
- }
- }
- }
- },
- "put" : {
- "tags" : [ "Service Registry and Supervision" ],
- "summary" : "Register a service",
- "description" : "Registering a service is needed to:<ul><li>Get callbacks about available NearRT RICs.</li><li>Activate supervision of the service. If a service is inactive, its policies will automatically be deleted.</li></ul>Policies can be created even if the service is not registerred. This is a feature which it is optional to use.",
- "operationId" : "putService",
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/service_registration_info"
- }
- }
- },
- "required" : true
- },
- "responses" : {
- "200" : {
- "description" : "OK - Service updated",
- "content" : {
- "*/*" : {
- "schema" : {
- "type" : "object"
- }
- }
- }
- },
- "201" : {
- "description" : "Created - Service created",
- "content" : {
- "*/*" : {
- "schema" : {
- "type" : "object"
- }
- }
- }
- },
- "400" : {
- "description" : "Bad Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/error_information"
- },
- "example" : {
- "status" : 400,
- "title" : "Bad Request",
- "detail" : "The provided request is not valid."
- }
- }
- }
- }
- },
- "callbacks" : {
- "RICStatus" : {
- "{$request.body#/callback_url}" : {
- "post" : {
- "tags" : [ "Service callbacks" ],
- "summary" : "Callback for Near-RT RIC status",
- "description" : "The URL to this call is registered at Service registration.",
- "operationId" : "serviceCallback",
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/service_callback_info_v2"
- }
- }
- },
- "required" : true
- },
- "responses" : {
- "200" : {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/void"
- }
- }
- }
- },
- "404" : {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "example" : [ ]
- }
- }
- }
- }
- }
- }
- }
- }
- }
- },
- "/actuator/info" : {
- "get" : {
- "tags" : [ "Actuator" ],
- "summary" : "Actuator web endpoint 'info'",
- "operationId" : "info",
- "responses" : {
- "200" : {
- "description" : "OK",
- "content" : {
- "application/vnd.spring-boot.actuator.v3+json" : {
- "schema" : {
- "type" : "object"
- }
- },
- "application/json" : {
- "schema" : {
- "type" : "object"
- }
- },
- "application/vnd.spring-boot.actuator.v2+json" : {
- "schema" : {
- "type" : "object"
- }
- }
- }
- }
- },
- "x-internal" : true
- }
- },
- "/status" : {
- "get" : {
- "tags" : [ "Health Check" ],
- "description" : "Returns status and statistics of this service",
- "operationId" : "getStatusV1",
- "responses" : {
- "200" : {
- "description" : "OK - Service is living",
- "content" : {
- "*/*" : {
- "schema" : {
- "type" : "string"
- }
- }
- }
- }
- }
- }
- },
- "/a1-policy/v2/policy-types/{policytype_id}" : {
- "get" : {
- "tags" : [ "A1 Policy Management" ],
- "description" : "Returns a policy type definition",
- "operationId" : "getPolicyTypeDefinition",
- "parameters" : [ {
- "name" : "policytype_id",
- "in" : "path",
- "required" : true,
- "style" : "simple",
- "explode" : false,
- "schema" : {
- "type" : "string"
- }
- } ],
- "responses" : {
- "200" : {
- "description" : "OK - schema of the given policy type",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/policy_type_definition"
- },
- "examples" : {
- "policy_type_definition" : {
- "$ref" : "#/components/examples/policy_type_definition"
- }
- }
- }
- }
- },
- "404" : {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "example" : [ ]
- }
- }
- }
- }
- }
- },
- "/actuator/logfile" : {
- "get" : {
- "tags" : [ "Actuator" ],
- "summary" : "Actuator web endpoint 'logfile'",
- "operationId" : "logfile",
- "responses" : {
- "200" : {
- "description" : "OK",
- "content" : {
- "text/plain;charset=UTF-8" : {
- "schema" : {
- "type" : "object"
- }
- }
- }
- }
- },
- "x-internal" : true
- }
- },
- "/actuator/health" : {
- "get" : {
- "tags" : [ "Actuator" ],
- "summary" : "Actuator web endpoint 'health'",
- "operationId" : "health",
- "responses" : {
- "200" : {
- "description" : "OK",
- "content" : {
- "application/vnd.spring-boot.actuator.v3+json" : {
- "schema" : {
- "type" : "object"
- }
- },
- "application/json" : {
- "schema" : {
- "type" : "object"
- }
- },
- "application/vnd.spring-boot.actuator.v2+json" : {
- "schema" : {
- "type" : "object"
- }
- }
- }
- }
- },
- "x-internal" : true
- }
- },
- "/a1-policy/v2/policies" : {
- "get" : {
- "tags" : [ "A1 Policy Management" ],
- "summary" : "Query policy identities",
- "description" : "Returns a list of A1 policies matching given search criteria. <br>If several query parameters are defined, the policies matching all conditions are returned.",
- "operationId" : "getPolicyIds",
- "parameters" : [ {
- "name" : "policytype_id",
- "in" : "query",
- "description" : "Select policies of a given policy type identity.",
- "required" : false,
- "style" : "form",
- "explode" : true,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "ric_id",
- "in" : "query",
- "description" : "Select policies of a given Near-RT RIC identity.",
- "required" : false,
- "style" : "form",
- "explode" : true,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "service_id",
- "in" : "query",
- "description" : "Select policies owned by a given service.",
- "required" : false,
- "style" : "form",
- "explode" : true,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "type_name",
- "in" : "query",
- "description" : "Select policies of types with the given type name (type identity has the format <typename_version>)",
- "required" : false,
- "style" : "form",
- "explode" : true,
- "schema" : {
- "type" : "string"
- }
- } ],
- "responses" : {
- "200" : {
- "description" : "OK - Policy identities",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/policy_id_list"
- },
- "examples" : {
- "policy_id_list" : {
- "$ref" : "#/components/examples/policy_id_list"
- }
- }
- }
- }
- },
- "404" : {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "example" : [ ]
- }
- }
- }
- }
- },
- "put" : {
- "tags" : [ "A1 Policy Management" ],
- "description" : "Create or update a policy",
- "operationId" : "putPolicy",
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/policy_info"
- }
- }
- },
- "required" : true
- },
- "responses" : {
- "200" : {
- "description" : "OK - Policy updated",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/void"
- }
- }
- }
- },
- "201" : {
- "description" : "Created - Policy created",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/void"
- }
- }
- }
- },
- "423" : {
- "description" : "Locked - HTTP Status code which can be used when the state is Locked",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/error_information"
- },
- "example" : {
- "status" : 423,
- "title" : "Locked",
- "detail" : "Requested resource is in a locked state."
- }
- }
- }
- }
- }
- }
- },
- "/a1-policy/v2/services/{service_id}" : {
- "delete" : {
- "tags" : [ "Service Registry and Supervision" ],
- "description" : "Unregister a service",
- "operationId" : "deleteService",
- "parameters" : [ {
- "name" : "service_id",
- "in" : "path",
- "required" : true,
- "style" : "simple",
- "explode" : false,
- "schema" : {
- "type" : "string"
- }
- } ],
- "responses" : {
- "204" : {
- "description" : "No Content - Service unregistered",
- "content" : {
- "*/*" : {
- "schema" : {
- "type" : "object"
- }
- }
- }
- },
- "404" : {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "example" : [ ]
- }
- }
- }
- }
- }
- },
- "/actuator/heapdump" : {
- "get" : {
- "tags" : [ "Actuator" ],
- "summary" : "Actuator web endpoint 'heapdump'",
- "operationId" : "heapdump",
- "responses" : {
- "200" : {
- "description" : "OK",
- "content" : {
- "application/octet-stream" : {
- "schema" : {
- "type" : "object"
- }
- }
- }
- }
- },
- "x-internal" : true
- }
- },
- "/a1-policy/v2/policies/{policy_id}/status" : {
- "get" : {
- "tags" : [ "A1 Policy Management" ],
- "description" : "Returns a policy status",
- "operationId" : "getPolicyStatus",
- "parameters" : [ {
- "name" : "policy_id",
- "in" : "path",
- "required" : true,
- "style" : "simple",
- "explode" : false,
- "schema" : {
- "type" : "string"
- }
- } ],
- "responses" : {
- "200" : {
- "description" : "OK - Policy status",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/policy_status_info"
- },
- "examples" : {
- "policy_status_info" : {
- "$ref" : "#/components/examples/policy_status_info"
- }
- }
- }
- }
- },
- "404" : {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "example" : [ ]
- }
- }
- }
- }
- }
- }
- },
- "components" : {
- "schemas" : {
- "policy_type_definition" : {
- "type" : "object",
- "properties" : {
- "policy_schema" : {
- "type" : "object",
- "description" : "Policy type json schema. The schema is a json object following http://json-schema.org/draft-07/schema"
- }
- },
- "description" : "Contains policy type schema definition"
- },
- "error_information" : {
- "type" : "object",
- "properties" : {
- "detail" : {
- "type" : "string",
- "description" : " A human-readable explanation specific to this occurrence of the problem.",
- "example" : "Policy type not found"
- },
- "title" : {
- "type" : "string",
- "description" : "A specific error name",
- "example" : "Not Found"
- },
- "status" : {
- "type" : "integer",
- "description" : "The HTTP status code generated by the origin server for this occurrence of the problem. ",
- "format" : "int32",
- "example" : 404
- }
- },
- "description" : "Problem as defined in https://tools.ietf.org/html/rfc7807"
- },
- "void" : {
- "type" : "object",
- "description" : "Void/empty"
- },
- "status_info" : {
- "type" : "object",
- "properties" : {
- "status" : {
- "type" : "string",
- "description" : "status text"
- }
- }
- },
- "authorization_result" : {
- "required" : [ "result" ],
- "type" : "object",
- "properties" : {
- "result" : {
- "type" : "boolean",
- "description" : "If true, the access is granted"
- }
- },
- "description" : "Result of authorization",
- "example" : {
- "result" : true
- }
- },
- "ric_info" : {
- "type" : "object",
- "properties" : {
- "ric_id" : {
- "type" : "string",
- "description" : "identity of the Near-RT RIC"
- },
- "managed_element_ids" : {
- "type" : "array",
- "description" : "O1 identities for managed entities",
- "items" : {
- "type" : "string",
- "description" : "O1 identities for managed entities"
- }
- },
- "state" : {
- "type" : "string",
- "description" : "Represents the states for a Near-RT RIC",
- "enum" : [ "UNAVAILABLE", "AVAILABLE", "SYNCHRONIZING", "CONSISTENCY_CHECK" ]
- },
- "policytype_ids" : {
- "type" : "array",
- "description" : "supported policy types",
- "items" : {
- "type" : "string",
- "description" : "supported policy types"
- }
- }
- },
- "description" : "Information for a Near-RT RIC"
- },
- "service_registration_info" : {
- "required" : [ "service_id" ],
- "type" : "object",
- "properties" : {
- "callback_url" : {
- "type" : "string",
- "description" : "callback for notifying of Near-RT RIC state changes"
- },
- "service_id" : {
- "type" : "string",
- "description" : "identity of the service"
- },
- "keep_alive_interval_seconds" : {
- "type" : "integer",
- "description" : "keep alive interval for the service. This is used to enable optional heartbeat supervision of the service. If set (> 0) the registered service should regularly invoke a 'keepalive' REST call. When a service fails to invoke this 'keepalive' call within the configured time, the service is considered unavailable. An unavailable service will be automatically deregistered and its policies will be deleted. Value 0 means timeout supervision is disabled.",
- "format" : "int64"
- }
- },
- "description" : "Information for one service"
- },
- "policy_info_list" : {
- "type" : "object",
- "properties" : {
- "policies" : {
- "type" : "array",
- "description" : "List of policy information",
- "items" : {
- "$ref" : "#/components/schemas/policy_info"
- }
- }
- },
- "description" : "List of policy information"
- },
- "policy_status_info" : {
- "type" : "object",
- "properties" : {
- "last_modified" : {
- "type" : "string",
- "description" : "timestamp, last modification time"
- },
- "status" : {
- "type" : "object",
- "description" : "the Policy status"
- }
- },
- "description" : "Status for one A1-P Policy"
- },
- "service_status" : {
- "type" : "object",
- "properties" : {
- "callback_url" : {
- "type" : "string",
- "description" : "callback for notifying of RIC synchronization"
- },
- "service_id" : {
- "type" : "string",
- "description" : "identity of the service"
- },
- "keep_alive_interval_seconds" : {
- "type" : "integer",
- "description" : "policy keep alive timeout",
- "format" : "int64"
- },
- "time_since_last_activity_seconds" : {
- "type" : "integer",
- "description" : "time since last invocation by the service",
- "format" : "int64"
- }
- }
- },
- "ric_info_list" : {
- "type" : "object",
- "properties" : {
- "rics" : {
- "type" : "array",
- "description" : "List of Near-RT RIC information",
- "items" : {
- "$ref" : "#/components/schemas/ric_info"
- }
- }
- },
- "description" : "List of Near-RT RIC information"
- },
- "input" : {
- "required" : [ "access_type", "auth_token", "policy_type_id" ],
- "type" : "object",
- "properties" : {
- "access_type" : {
- "type" : "string",
- "description" : "Access type",
- "enum" : [ "READ", "WRITE", "DELETE" ]
- },
- "auth_token" : {
- "type" : "string",
- "description" : "Authorization token"
- },
- "policy_type_id" : {
- "type" : "string",
- "description" : "Policy type identifier"
- }
- },
- "description" : "input"
- },
- "policy_authorization" : {
- "required" : [ "input" ],
- "type" : "object",
- "properties" : {
- "input" : {
- "$ref" : "#/components/schemas/input"
- }
- },
- "description" : "Authorization request for A1 policy requests"
- },
- "policy_type_id_list" : {
- "type" : "object",
- "properties" : {
- "policytype_ids" : {
- "type" : "array",
- "description" : "Policy type identities",
- "items" : {
- "type" : "string",
- "description" : "Policy type identities"
- }
- }
- },
- "description" : "Information about policy types"
- },
- "policy_info" : {
- "required" : [ "policy_data", "policy_id", "policytype_id", "ric_id" ],
- "type" : "object",
- "properties" : {
- "ric_id" : {
- "type" : "string",
- "description" : "identity of the target Near-RT RIC"
- },
- "policy_id" : {
- "type" : "string",
- "description" : "identity of the policy"
- },
- "transient" : {
- "type" : "boolean",
- "description" : "if true, the policy is deleted at RIC restart. If false, its value is maintained by this service until explicitly deleted. Default false.",
- "nullable" : false,
- "example" : false,
- "default" : false
- },
- "service_id" : {
- "type" : "string",
- "description" : "the identity of the service owning the policy. This can be used to group the policies (it is possible to get all policies associated to a service). Note that the service does not need to be registered.",
- "default" : ""
- },
- "policy_data" : {
- "type" : "object",
- "description" : "the configuration of the policy"
- },
- "status_notification_uri" : {
- "type" : "string",
- "description" : "Callback URI for policy status updates"
- },
- "policytype_id" : {
- "type" : "string",
- "description" : "identity of the policy type"
- }
- },
- "description" : "Information for one A1-P Policy"
- },
- "policy_id_list" : {
- "type" : "object",
- "properties" : {
- "policy_ids" : {
- "type" : "array",
- "description" : "Policy identities",
- "items" : {
- "type" : "string",
- "description" : "Policy identities"
- }
- }
- },
- "description" : "A list of policy identities",
- "example" : {
- "policy_ids" : [ "policy_ids", "policy_ids" ]
- }
- },
- "service_status_list" : {
- "type" : "object",
- "properties" : {
- "service_list" : {
- "type" : "array",
- "description" : "List of service information",
- "items" : {
- "$ref" : "#/components/schemas/service_status"
- }
- }
- }
- },
- "service_callback_info_v2" : {
- "required" : [ "event_type", "ric_id" ],
- "type" : "object",
- "properties" : {
- "ric_id" : {
- "type" : "string",
- "description" : "identity of a Near-RT RIC"
- },
- "event_type" : {
- "type" : "string",
- "description" : "values:\nAVAILABLE: the Near-RT RIC has become available for A1 Policy management",
- "enum" : [ "AVAILABLE" ]
- }
- },
- "description" : "Information transferred as in Service callbacks (callback_url)"
- },
- "Link" : {
- "type" : "object",
- "properties" : {
- "templated" : {
- "type" : "boolean"
- },
- "href" : {
- "type" : "string"
- }
- }
- }
- },
- "responses" : {
- "Locked" : {
- "description" : "Locked - HTTP Status code which can be used when the state is Locked",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/error_information"
- },
- "example" : {
- "status" : 423,
- "title" : "Locked",
- "detail" : "Requested resource is in a locked state."
- }
- }
- }
- },
- "BadRequest" : {
- "description" : "Bad Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/error_information"
- },
- "example" : {
- "status" : 400,
- "title" : "Bad Request",
- "detail" : "The provided request is not valid."
- }
- }
- }
- },
- "Forbidden" : {
- "description" : "Forbidden",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/error_information"
- },
- "example" : {
- "status" : 403,
- "title" : "Forbidden",
- "detail" : "Your role does not allow to perform this action. Contact System Administrator to change your access rights."
- }
- }
- }
- },
- "NotFound" : {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "example" : [ ]
- }
- }
- }
- },
- "examples" : {
- "service_status" : {
- "description" : "List of service information",
- "value" : {
- "callback_url" : "callback_url",
- "service_id" : "service_id",
- "keep_alive_interval_seconds" : 0,
- "time_since_last_activity_seconds" : 6
- }
- },
- "service_status_list" : {
- "description" : "List of service information",
- "value" : {
- "service_list" : [ {
- "callback_url" : "callback_url",
- "service_id" : "service_id",
- "keep_alive_interval_seconds" : 0,
- "time_since_last_activity_seconds" : 6
- }, {
- "callback_url" : "callback_url",
- "service_id" : "service_id",
- "keep_alive_interval_seconds" : 0,
- "time_since_last_activity_seconds" : 6
- } ]
- }
- },
- "policy_type_definition" : {
- "description" : "Schema of the given Policy type",
- "value" : {
- "policy_schema" : "{}"
- }
- },
- "policy_type_id_list" : {
- "description" : "Array of policy type id's",
- "value" : {
- "policy_type_id_list" : [ "policytype_id", "policytype_id" ]
- }
- },
- "policy_info" : {
- "description" : "Policy information of one A1-P policy",
- "value" : {
- "ric_id" : "ric_id",
- "policy_id" : "policy_id",
- "transient" : false,
- "service_id" : "service_id",
- "policy_data" : "{}",
- "status_notification_uri" : "status_notification_uri",
- "policytype_id" : "policytype_id"
- }
- },
- "policy_info_list" : {
- "description" : "List of policy information",
- "value" : {
- "policies" : [ {
- "ric_id" : "ric_id",
- "policy_id" : "policy_id",
- "transient" : false,
- "service_id" : "service_id",
- "policy_data" : "{}",
- "status_notification_uri" : "status_notification_uri",
- "policytype_id" : "policytype_id"
- }, {
- "ric_id" : "ric_id",
- "policy_id" : "policy_id",
- "transient" : false,
- "service_id" : "service_id",
- "policy_data" : "{}",
- "status_notification_uri" : "status_notification_uri",
- "policytype_id" : "policytype_id"
- } ]
- }
- },
- "policy_id_list" : {
- "description" : "A list of policy identities",
- "value" : {
- "policy_ids" : [ "some_policy_id", "some_policy_id" ]
- }
- },
- "policy_status_info" : {
- "description" : "Status for one A1-P Policy",
- "value" : {
- "last_modified" : "last_modified",
- "status" : {
- "value" : {
- "status" : "status"
- }
- }
- }
- },
- "status_info" : {
- "value" : {
- "status" : "status"
- }
- },
- "ric_info" : {
- "value" : {
- "ric_id" : "ric_id",
- "managed_element_ids" : [ "some_managed_element_id", "some_managed_element_id" ],
- "state" : "UNAVAILABLE",
- "policytype_ids" : [ "some_policytype_id", "some_policytype_id" ]
- }
- },
- "ric_info_list" : {
- "value" : {
- "rics" : [ {
- "ric_id" : "ric_id",
- "managed_element_ids" : [ "some_managed_element_id", "some_managed_element_id" ],
- "state" : "UNAVAILABLE",
- "policytype_ids" : [ "policytype_id", "policytype_id" ]
- }, {
- "ric_id" : "ric_id",
- "managed_element_ids" : [ "managed_element_ids", "managed_element_ids" ],
- "state" : "UNAVAILABLE",
- "policytype_ids" : [ "policytype_ids", "policytype_ids" ]
- } ]
- }
- }
- }
- }
+{
+ "openapi" : "3.0.3",
+ "info" : {
+ "contact" : {
+ "email" : "discuss-list@onap.com",
+ "url" : "https://www.onap.org/"
+ },
+ "description" : "<h2>General</h2><p>The O-RAN Non-RT RIC Policy Management Service provides a REST API for managemecnt of A1 policies. <br/>The main tasks of the service are:</p><ul><li>A1 Policy creation, modification and deletion.</li><li>Monitoring and maintaining consistency of the SMO view of A1 policies and the Near-RT RICs</li><li>Maintaining a view of supported Near-RT RIC policy types</li><li>Supervision of using services (R-APPs). When a service is unavailable, its policies are removed.</li></ul><h2>APIs provided or defined by the service</h2><h3>A1 Policy Management</h3><p>This is an API for management of A1 Policies.</p><ul><li>A1 Policy retrieval, creation, modification and deletion.</li><li>Retrieval of supported A1 Policy types for a Near-RT RIC</li><li>Retrieval of status for existing A1 policies</li></ul><h3>Management of configuration</h3><p>API for updating and retrieval of the component configuration. Note that there other ways to maintain the configuration.</p><h3>Service callbacks</h3><p>These are endpoints that are invoked by this service. The callbacks are registered in this service at service registration.</p><h3>NearRT-RIC Repository</h3><p>This is an API that provides support for looking up a NearRT-RIC. Each A1 policy is targeted for one Near-RT RIC.</p><h3>Health Check</h3><p>API used for supervision of the PMS component.</p><h3>Service Registry and Supervision</h3><p>API used for registering services that uses PMS. Each A1 policy is optionally owned by a service. PMS can supervise each registered service by a heart-beat supervision and will automatically remove policies for unavailable services. Note that a service does not need to be registered in order to create A1 Policies. This is a feature that is optional to use.</p><h3>Authorization API</h3><p>API used for access control of A1 Policy access. If configured, an external authorization provider is requested to grant access to the A1 Policy type.</p><h3>Spring Boot Actuator</h3><p>Provides generic functions used to monitor and manage the Spring web application.</p>",
+ "license" : {
+ "name" : "Copyright (C) 2020-2023 Nordix Foundation. Licensed under the Apache License.",
+ "url" : "http://www.apache.org/licenses/LICENSE-2.0"
+ },
+ "title" : "A1 Policy Management Service",
+ "version" : "1.3.0",
+ "x-api-id" : "a31c510b-20e6-4a08-af16-368c44d7fba8",
+ "x-audience" : "external-public"
+ },
+ "servers" : [ {
+ "url" : "/"
+ } ],
+ "tags" : [ {
+ "description" : "API used to create polices, Policy Instances and get them as individual using an ID or get all policies/Instances.",
+ "name" : "A1 Policy Management"
+ }, {
+ "description" : "API used to get the NearRT-RIC for the managed element.",
+ "name" : "NearRT-RIC Repository"
+ }, {
+ "description" : "API used to keep the service Alive with in the timeout period",
+ "name" : "Service Registry and Supervision"
+ }, {
+ "description" : "API used to get the health status and statistics of this service",
+ "name" : "Health Check"
+ }, {
+ "name" : "Service callbacks"
+ }, {
+ "description" : "API used for authorization of information A1 policy access (this is provided by an authorization producer such as OPA). <br> Note that this API is called by PMS, it is not provided.",
+ "name" : "Authorization API"
+ }, {
+ "description" : "API used to create or fetch the application configuration.",
+ "name" : "Configuration"
+ }, {
+ "description" : "Monitor and interact",
+ "externalDocs" : {
+ "description" : "Spring Boot Actuator Web API Documentation",
+ "url" : "https://docs.spring.io/spring-boot/docs/current/actuator-api/html/"
+ },
+ "name" : "Actuator"
+ } ],
+ "paths" : {
+ "/a1-policy/v2/policy-instances" : {
+ "get" : {
+ "description" : "Returns a list of A1 policies matching given search criteria. <br>If several query parameters are defined, the policies matching all conditions are returned.",
+ "operationId" : "getPolicyInstances",
+ "parameters" : [ {
+ "description" : "Select policies with a given type identity.",
+ "explode" : true,
+ "in" : "query",
+ "name" : "policytype_id",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "form"
+ }, {
+ "description" : "Select policies for a given Near-RT RIC identity.",
+ "explode" : true,
+ "in" : "query",
+ "name" : "ric_id",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "form"
+ }, {
+ "description" : "Select policies owned by a given service.",
+ "explode" : true,
+ "in" : "query",
+ "name" : "service_id",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "form"
+ }, {
+ "description" : "Select policies of a given type name (type identity has the format <typename_version>)",
+ "explode" : true,
+ "in" : "query",
+ "name" : "type_name",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "form"
+ } ],
+ "responses" : {
+ "200" : {
+ "content" : {
+ "application/json" : {
+ "examples" : {
+ "policy_info_list" : {
+ "$ref" : "#/components/examples/policy_info_list"
+ }
+ },
+ "schema" : {
+ "$ref" : "#/components/schemas/policy_info_list"
+ }
+ }
+ },
+ "description" : "OK - Returns A1 Policies which matches the criteria"
+ },
+ "404" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/error_information"
+ }
+ }
+ },
+ "description" : "Not Found - Near-RT RIC, policy type or service not found"
+ }
+ },
+ "summary" : "Query for A1 policy instances",
+ "tags" : [ "A1 Policy Management" ]
+ }
+ },
+ "/example-authz-check" : {
+ "post" : {
+ "description" : "The authorization function decides if access is granted.",
+ "operationId" : "performAccessControl",
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/policy_authorization"
+ }
+ }
+ },
+ "required" : true
+ },
+ "responses" : {
+ "200" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/authorization_result"
+ }
+ }
+ },
+ "description" : "OK"
+ },
+ "403" : {
+ "content" : {
+ "application/problem+json" : {
+ "example" : {
+ "status" : 403,
+ "title" : "Forbidden",
+ "detail" : "Your role does not allow to perform this action. Contact System Administrator to change your access rights."
+ },
+ "schema" : {
+ "$ref" : "#/components/schemas/error_information"
+ }
+ }
+ },
+ "description" : "Forbidden"
+ }
+ },
+ "summary" : "Request for access authorization.",
+ "tags" : [ "Authorization API" ]
+ }
+ },
+ "/actuator/threaddump" : {
+ "get" : {
+ "operationId" : "threaddump",
+ "responses" : {
+ "200" : {
+ "content" : {
+ "text/plain;charset=UTF-8" : {
+ "schema" : {
+ "type" : "object"
+ }
+ },
+ "application/vnd.spring-boot.actuator.v3+json" : {
+ "schema" : {
+ "type" : "object"
+ }
+ },
+ "application/json" : {
+ "schema" : {
+ "type" : "object"
+ }
+ },
+ "application/vnd.spring-boot.actuator.v2+json" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ },
+ "description" : "OK"
+ }
+ },
+ "summary" : "Actuator web endpoint 'threaddump'",
+ "tags" : [ "Actuator" ],
+ "x-internal" : true
+ }
+ },
+ "/a1-policy/v2/status" : {
+ "get" : {
+ "description" : "Returns status and statistics of this service",
+ "operationId" : "getStatus",
+ "responses" : {
+ "200" : {
+ "content" : {
+ "application/json" : {
+ "examples" : {
+ "status_info" : {
+ "$ref" : "#/components/examples/status_info"
+ }
+ },
+ "schema" : {
+ "$ref" : "#/components/schemas/status_info"
+ }
+ }
+ },
+ "description" : "OK- Service is living Ok"
+ }
+ },
+ "tags" : [ "Health Check" ]
+ }
+ },
+ "/actuator/loggers" : {
+ "get" : {
+ "operationId" : "loggers",
+ "responses" : {
+ "200" : {
+ "content" : {
+ "application/vnd.spring-boot.actuator.v3+json" : {
+ "schema" : {
+ "type" : "object"
+ }
+ },
+ "application/json" : {
+ "schema" : {
+ "type" : "object"
+ }
+ },
+ "application/vnd.spring-boot.actuator.v2+json" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ },
+ "description" : "OK"
+ }
+ },
+ "summary" : "Actuator web endpoint 'loggers'",
+ "tags" : [ "Actuator" ],
+ "x-internal" : true
+ }
+ },
+ "/actuator/health/**" : {
+ "get" : {
+ "operationId" : "health-path",
+ "responses" : {
+ "200" : {
+ "content" : {
+ "application/vnd.spring-boot.actuator.v3+json" : {
+ "schema" : {
+ "type" : "object"
+ }
+ },
+ "application/json" : {
+ "schema" : {
+ "type" : "object"
+ }
+ },
+ "application/vnd.spring-boot.actuator.v2+json" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ },
+ "description" : "OK"
+ }
+ },
+ "summary" : "Actuator web endpoint 'health-path'",
+ "tags" : [ "Actuator" ],
+ "x-internal" : true
+ }
+ },
+ "/a1-policy/v2/rics/ric" : {
+ "get" : {
+ "description" : "Either a Near-RT RIC identity or a Managed Element identity can be specified.<br>The intention with Managed Element identity is the ID used in O1 for accessing the traffical element (such as the ID of CU).",
+ "operationId" : "getRic",
+ "parameters" : [ {
+ "description" : "The identity of a Managed Element. If given, the Near-RT RIC managing the ME is returned.",
+ "explode" : true,
+ "in" : "query",
+ "name" : "managed_element_id",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "form"
+ }, {
+ "description" : "The identity of a Near-RT RIC to get information for.",
+ "explode" : true,
+ "in" : "query",
+ "name" : "ric_id",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "form"
+ } ],
+ "responses" : {
+ "200" : {
+ "content" : {
+ "application/json" : {
+ "examples" : {
+ "ric_info" : {
+ "$ref" : "#/components/examples/ric_info"
+ }
+ },
+ "schema" : {
+ "$ref" : "#/components/schemas/ric_info"
+ }
+ }
+ },
+ "description" : "OK - Near-RT RIC is found"
+ },
+ "404" : {
+ "content" : {
+ "application/problem+json" : {
+ "example" : [ ]
+ }
+ },
+ "description" : "Not Found"
+ }
+ },
+ "summary" : "Returns info of Near-RT RIC queried by the ric-id and managed-element-id",
+ "tags" : [ "NearRT-RIC Repository" ]
+ }
+ },
+ "/actuator/shutdown" : {
+ "post" : {
+ "operationId" : "shutdown",
+ "responses" : {
+ "200" : {
+ "content" : {
+ "application/vnd.spring-boot.actuator.v3+json" : {
+ "schema" : {
+ "type" : "object"
+ }
+ },
+ "application/json" : {
+ "schema" : {
+ "type" : "object"
+ }
+ },
+ "application/vnd.spring-boot.actuator.v2+json" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ },
+ "description" : "OK"
+ }
+ },
+ "summary" : "Actuator web endpoint 'shutdown'",
+ "tags" : [ "Actuator" ],
+ "x-internal" : true
+ }
+ },
+ "/a1-policy/v2/policy-types" : {
+ "get" : {
+ "description" : "Query policy type identities",
+ "operationId" : "getPolicyTypes",
+ "parameters" : [ {
+ "description" : "Select types for the given Near-RT RIC identity.",
+ "explode" : true,
+ "in" : "query",
+ "name" : "ric_id",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "form"
+ }, {
+ "description" : "Select types with the given type name (type identity has the format <typename_version>)",
+ "explode" : true,
+ "in" : "query",
+ "name" : "type_name",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "form"
+ }, {
+ "description" : "Select types that are compatible with the given version. This parameter is only applicable in conjunction with type_name. As an example version 1.9.1 is compatible with 1.0.0 but not the other way around. Matching types will be returned sorted in ascending order.",
+ "explode" : true,
+ "in" : "query",
+ "name" : "compatible_with_version",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "form"
+ } ],
+ "responses" : {
+ "200" : {
+ "content" : {
+ "application/json" : {
+ "examples" : {
+ "policy_type_id_list" : {
+ "$ref" : "#/components/examples/policy_type_id_list"
+ }
+ },
+ "schema" : {
+ "$ref" : "#/components/schemas/policy_type_id_list"
+ }
+ }
+ },
+ "description" : "OK - Policy Type IDs Found"
+ },
+ "404" : {
+ "content" : {
+ "application/problem+json" : {
+ "example" : [ ]
+ }
+ },
+ "description" : "Not Found"
+ }
+ },
+ "tags" : [ "A1 Policy Management" ]
+ }
+ },
+ "/a1-policy/v2/policies/{policy_id}" : {
+ "delete" : {
+ "description" : "Deleting the policy using the Policy's Policy ID.",
+ "operationId" : "deletePolicy",
+ "parameters" : [ {
+ "explode" : false,
+ "in" : "path",
+ "name" : "policy_id",
+ "required" : true,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "simple"
+ } ],
+ "responses" : {
+ "200" : {
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/void"
+ }
+ }
+ },
+ "description" : "OK - Policy deleted"
+ },
+ "423" : {
+ "content" : {
+ "application/problem+json" : {
+ "example" : {
+ "status" : 423,
+ "title" : "Locked",
+ "detail" : "Requested resource is in a locked state."
+ },
+ "schema" : {
+ "$ref" : "#/components/schemas/error_information"
+ }
+ }
+ },
+ "description" : "Locked - HTTP Status code which can be used when the state is Locked"
+ }
+ },
+ "summary" : "Delete a policy",
+ "tags" : [ "A1 Policy Management" ]
+ },
+ "get" : {
+ "description" : "Returns a policy",
+ "operationId" : "getPolicy",
+ "parameters" : [ {
+ "explode" : false,
+ "in" : "path",
+ "name" : "policy_id",
+ "required" : true,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "simple"
+ } ],
+ "responses" : {
+ "200" : {
+ "content" : {
+ "application/json" : {
+ "examples" : {
+ "policy_info" : {
+ "$ref" : "#/components/examples/policy_info"
+ }
+ },
+ "schema" : {
+ "$ref" : "#/components/schemas/policy_info"
+ }
+ }
+ },
+ "description" : "OK - Policy found"
+ },
+ "404" : {
+ "content" : {
+ "application/problem+json" : {
+ "example" : [ ]
+ }
+ },
+ "description" : "Not Found"
+ }
+ },
+ "tags" : [ "A1 Policy Management" ]
+ }
+ },
+ "/actuator/metrics/{requiredMetricName}" : {
+ "get" : {
+ "operationId" : "metrics-requiredMetricName",
+ "parameters" : [ {
+ "explode" : false,
+ "in" : "path",
+ "name" : "requiredMetricName",
+ "required" : true,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "simple"
+ } ],
+ "responses" : {
+ "200" : {
+ "content" : {
+ "application/vnd.spring-boot.actuator.v3+json" : {
+ "schema" : {
+ "type" : "object"
+ }
+ },
+ "application/json" : {
+ "schema" : {
+ "type" : "object"
+ }
+ },
+ "application/vnd.spring-boot.actuator.v2+json" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ },
+ "description" : "OK"
+ }
+ },
+ "summary" : "Actuator web endpoint 'metrics-requiredMetricName'",
+ "tags" : [ "Actuator" ],
+ "x-internal" : true
+ }
+ },
+ "/a1-policy/v2/configuration" : {
+ "get" : {
+ "description" : "Returns the contents of the application configuration file",
+ "operationId" : "getConfiguration",
+ "responses" : {
+ "200" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "type" : "string"
+ }
+ }
+ },
+ "description" : "OK - Configuration"
+ },
+ "404" : {
+ "content" : {
+ "application/problem+json" : {
+ "example" : [ ]
+ }
+ },
+ "description" : "Not Found"
+ }
+ },
+ "tags" : [ "Configuration" ]
+ },
+ "put" : {
+ "description" : "Replace the current configuration with the given configuration",
+ "operationId" : "putConfiguration",
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ },
+ "required" : true
+ },
+ "responses" : {
+ "200" : {
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/void"
+ }
+ }
+ },
+ "description" : "OK - Configuration updated"
+ },
+ "400" : {
+ "content" : {
+ "application/problem+json" : {
+ "example" : {
+ "status" : 400,
+ "title" : "Bad Request",
+ "detail" : "The provided request is not valid."
+ },
+ "schema" : {
+ "$ref" : "#/components/schemas/error_information"
+ }
+ }
+ },
+ "description" : "Bad Request"
+ }
+ },
+ "tags" : [ "Configuration" ]
+ }
+ },
+ "/actuator" : {
+ "get" : {
+ "operationId" : "links",
+ "responses" : {
+ "200" : {
+ "content" : {
+ "application/vnd.spring-boot.actuator.v3+json" : {
+ "schema" : {
+ "additionalProperties" : {
+ "additionalProperties" : {
+ "$ref" : "#/components/schemas/Link"
+ },
+ "type" : "object"
+ },
+ "type" : "object"
+ }
+ },
+ "application/json" : {
+ "schema" : {
+ "additionalProperties" : {
+ "additionalProperties" : {
+ "$ref" : "#/components/schemas/Link"
+ },
+ "type" : "object"
+ },
+ "type" : "object"
+ }
+ },
+ "application/vnd.spring-boot.actuator.v2+json" : {
+ "schema" : {
+ "additionalProperties" : {
+ "additionalProperties" : {
+ "$ref" : "#/components/schemas/Link"
+ },
+ "type" : "object"
+ },
+ "type" : "object"
+ }
+ }
+ },
+ "description" : "OK"
+ }
+ },
+ "summary" : "Actuator root web endpoint",
+ "tags" : [ "Actuator" ],
+ "x-internal" : true
+ }
+ },
+ "/actuator/loggers/{name}" : {
+ "get" : {
+ "operationId" : "loggers-name",
+ "parameters" : [ {
+ "explode" : false,
+ "in" : "path",
+ "name" : "name",
+ "required" : true,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "simple"
+ } ],
+ "responses" : {
+ "200" : {
+ "content" : {
+ "application/vnd.spring-boot.actuator.v3+json" : {
+ "schema" : {
+ "type" : "object"
+ }
+ },
+ "application/json" : {
+ "schema" : {
+ "type" : "object"
+ }
+ },
+ "application/vnd.spring-boot.actuator.v2+json" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ },
+ "description" : "OK"
+ }
+ },
+ "summary" : "Actuator web endpoint 'loggers-name'",
+ "tags" : [ "Actuator" ],
+ "x-internal" : true
+ },
+ "post" : {
+ "operationId" : "loggers-name_2",
+ "parameters" : [ {
+ "explode" : false,
+ "in" : "path",
+ "name" : "name",
+ "required" : true,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "simple"
+ } ],
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "enum" : [ "TRACE", "DEBUG", "INFO", "WARN", "ERROR", "FATAL", "OFF" ],
+ "type" : "string"
+ }
+ }
+ }
+ },
+ "responses" : {
+ "200" : {
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ },
+ "description" : "OK"
+ }
+ },
+ "summary" : "Actuator web endpoint 'loggers-name'",
+ "tags" : [ "Actuator" ],
+ "x-internal" : true
+ }
+ },
+ "/a1-policy/v2/services/{service_id}/keepalive" : {
+ "put" : {
+ "description" : "A registered service should invoke this operation regularly to indicate that it is still alive. If a registered service fails to invoke this operation before the end of a timeout period the service will be deregistered and all its A1 policies wil be removed. (This timeout can be set or disabled when each service is initially registered)",
+ "operationId" : "keepAliveService",
+ "parameters" : [ {
+ "explode" : false,
+ "in" : "path",
+ "name" : "service_id",
+ "required" : true,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "simple"
+ } ],
+ "responses" : {
+ "200" : {
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ },
+ "description" : "OK - Service supervision timer refreshed, OK"
+ },
+ "404" : {
+ "content" : {
+ "application/problem+json" : {
+ "example" : [ ]
+ }
+ },
+ "description" : "Not Found"
+ }
+ },
+ "summary" : "Heartbeat indicates that the service is running",
+ "tags" : [ "Service Registry and Supervision" ]
+ }
+ },
+ "/actuator/metrics" : {
+ "get" : {
+ "operationId" : "metrics",
+ "responses" : {
+ "200" : {
+ "content" : {
+ "application/vnd.spring-boot.actuator.v3+json" : {
+ "schema" : {
+ "type" : "object"
+ }
+ },
+ "application/json" : {
+ "schema" : {
+ "type" : "object"
+ }
+ },
+ "application/vnd.spring-boot.actuator.v2+json" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ },
+ "description" : "OK"
+ }
+ },
+ "summary" : "Actuator web endpoint 'metrics'",
+ "tags" : [ "Actuator" ],
+ "x-internal" : true
+ }
+ },
+ "/a1-policy/v2/rics" : {
+ "get" : {
+ "description" : "The call returns all Near-RT RICs that supports a given policy type identity",
+ "operationId" : "getRics",
+ "parameters" : [ {
+ "description" : "The identity of a policy type. If given, all Near-RT RICs supporting the policy type are returned",
+ "explode" : true,
+ "in" : "query",
+ "name" : "policytype_id",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "form"
+ } ],
+ "responses" : {
+ "200" : {
+ "content" : {
+ "application/json" : {
+ "examples" : {
+ "ric_info_list" : {
+ "$ref" : "#/components/examples/ric_info_list"
+ }
+ },
+ "schema" : {
+ "$ref" : "#/components/schemas/ric_info_list"
+ }
+ }
+ },
+ "description" : "OK"
+ },
+ "404" : {
+ "content" : {
+ "application/problem+json" : {
+ "example" : [ ]
+ }
+ },
+ "description" : "Not Found"
+ }
+ },
+ "summary" : "Query Near-RT RIC information",
+ "tags" : [ "NearRT-RIC Repository" ]
+ }
+ },
+ "/a1-policy/v2/services" : {
+ "get" : {
+ "description" : "Either information about a registered service with given identity or all registered services are returned.",
+ "operationId" : "getServices",
+ "parameters" : [ {
+ "description" : "The identity of the service",
+ "explode" : true,
+ "in" : "query",
+ "name" : "service_id",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "form"
+ } ],
+ "responses" : {
+ "200" : {
+ "content" : {
+ "application/json" : {
+ "examples" : {
+ "service_status_list" : {
+ "$ref" : "#/components/examples/service_status_list"
+ }
+ },
+ "schema" : {
+ "$ref" : "#/components/schemas/service_status_list"
+ }
+ }
+ },
+ "description" : "OK"
+ },
+ "404" : {
+ "content" : {
+ "application/problem+json" : {
+ "example" : [ ]
+ }
+ },
+ "description" : "Not Found"
+ }
+ },
+ "summary" : "Returns service information",
+ "tags" : [ "Service Registry and Supervision" ]
+ },
+ "put" : {
+ "callbacks" : {
+ "RICStatus" : {
+ "{$request.body#/callback_url}" : {
+ "post" : {
+ "description" : "The URL to this call is registered at Service registration.",
+ "operationId" : "serviceCallback",
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/service_callback_info_v2"
+ }
+ }
+ },
+ "required" : true
+ },
+ "responses" : {
+ "200" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/void"
+ }
+ }
+ },
+ "description" : "OK"
+ },
+ "404" : {
+ "content" : {
+ "application/problem+json" : {
+ "example" : [ ]
+ }
+ },
+ "description" : "Not Found"
+ }
+ },
+ "summary" : "Callback for Near-RT RIC status",
+ "tags" : [ "Service callbacks" ]
+ }
+ }
+ }
+ },
+ "description" : "Registering a service is needed to:<ul><li>Get callbacks about available NearRT RICs.</li><li>Activate supervision of the service. If a service is inactive, its policies will automatically be deleted.</li></ul>Policies can be created even if the service is not registerred. This is a feature which it is optional to use.",
+ "operationId" : "putService",
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/service_registration_info"
+ }
+ }
+ },
+ "required" : true
+ },
+ "responses" : {
+ "200" : {
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ },
+ "description" : "OK - Service updated"
+ },
+ "201" : {
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ },
+ "description" : "Created - Service created"
+ },
+ "400" : {
+ "content" : {
+ "application/problem+json" : {
+ "example" : {
+ "status" : 400,
+ "title" : "Bad Request",
+ "detail" : "The provided request is not valid."
+ },
+ "schema" : {
+ "$ref" : "#/components/schemas/error_information"
+ }
+ }
+ },
+ "description" : "Bad Request"
+ }
+ },
+ "summary" : "Register a service",
+ "tags" : [ "Service Registry and Supervision" ]
+ }
+ },
+ "/actuator/info" : {
+ "get" : {
+ "operationId" : "info",
+ "responses" : {
+ "200" : {
+ "content" : {
+ "application/vnd.spring-boot.actuator.v3+json" : {
+ "schema" : {
+ "type" : "object"
+ }
+ },
+ "application/json" : {
+ "schema" : {
+ "type" : "object"
+ }
+ },
+ "application/vnd.spring-boot.actuator.v2+json" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ },
+ "description" : "OK"
+ }
+ },
+ "summary" : "Actuator web endpoint 'info'",
+ "tags" : [ "Actuator" ],
+ "x-internal" : true
+ }
+ },
+ "/status" : {
+ "get" : {
+ "description" : "Returns status and statistics of this service",
+ "operationId" : "getStatusV1",
+ "responses" : {
+ "200" : {
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "type" : "string"
+ }
+ }
+ },
+ "description" : "OK - Service is living"
+ }
+ },
+ "tags" : [ "Health Check" ]
+ }
+ },
+ "/a1-policy/v2/policy-types/{policytype_id}" : {
+ "get" : {
+ "description" : "Returns a policy type definition",
+ "operationId" : "getPolicyTypeDefinition",
+ "parameters" : [ {
+ "explode" : false,
+ "in" : "path",
+ "name" : "policytype_id",
+ "required" : true,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "simple"
+ } ],
+ "responses" : {
+ "200" : {
+ "content" : {
+ "application/json" : {
+ "examples" : {
+ "policy_type_definition" : {
+ "$ref" : "#/components/examples/policy_type_definition"
+ }
+ },
+ "schema" : {
+ "$ref" : "#/components/schemas/policy_type_definition"
+ }
+ }
+ },
+ "description" : "OK - schema of the given policy type"
+ },
+ "404" : {
+ "content" : {
+ "application/problem+json" : {
+ "example" : [ ]
+ }
+ },
+ "description" : "Not Found"
+ }
+ },
+ "tags" : [ "A1 Policy Management" ]
+ }
+ },
+ "/actuator/logfile" : {
+ "get" : {
+ "operationId" : "logfile",
+ "responses" : {
+ "200" : {
+ "content" : {
+ "text/plain;charset=UTF-8" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ },
+ "description" : "OK"
+ }
+ },
+ "summary" : "Actuator web endpoint 'logfile'",
+ "tags" : [ "Actuator" ],
+ "x-internal" : true
+ }
+ },
+ "/actuator/health" : {
+ "get" : {
+ "operationId" : "health",
+ "responses" : {
+ "200" : {
+ "content" : {
+ "application/vnd.spring-boot.actuator.v3+json" : {
+ "schema" : {
+ "type" : "object"
+ }
+ },
+ "application/json" : {
+ "schema" : {
+ "type" : "object"
+ }
+ },
+ "application/vnd.spring-boot.actuator.v2+json" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ },
+ "description" : "OK"
+ }
+ },
+ "summary" : "Actuator web endpoint 'health'",
+ "tags" : [ "Actuator" ],
+ "x-internal" : true
+ }
+ },
+ "/a1-policy/v2/policies" : {
+ "get" : {
+ "description" : "Returns a list of A1 policies matching given search criteria. <br>If several query parameters are defined, the policies matching all conditions are returned.",
+ "operationId" : "getPolicyIds",
+ "parameters" : [ {
+ "description" : "Select policies of a given policy type identity.",
+ "explode" : true,
+ "in" : "query",
+ "name" : "policytype_id",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "form"
+ }, {
+ "description" : "Select policies of a given Near-RT RIC identity.",
+ "explode" : true,
+ "in" : "query",
+ "name" : "ric_id",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "form"
+ }, {
+ "description" : "Select policies owned by a given service.",
+ "explode" : true,
+ "in" : "query",
+ "name" : "service_id",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "form"
+ }, {
+ "description" : "Select policies of types with the given type name (type identity has the format <typename_version>)",
+ "explode" : true,
+ "in" : "query",
+ "name" : "type_name",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "form"
+ } ],
+ "responses" : {
+ "200" : {
+ "content" : {
+ "application/json" : {
+ "examples" : {
+ "policy_id_list" : {
+ "$ref" : "#/components/examples/policy_id_list"
+ }
+ },
+ "schema" : {
+ "$ref" : "#/components/schemas/policy_id_list"
+ }
+ }
+ },
+ "description" : "OK - Policy identities"
+ },
+ "404" : {
+ "content" : {
+ "application/problem+json" : {
+ "example" : [ ]
+ }
+ },
+ "description" : "Not Found"
+ }
+ },
+ "summary" : "Query policy identities",
+ "tags" : [ "A1 Policy Management" ]
+ },
+ "put" : {
+ "description" : "Create or update a policy",
+ "operationId" : "putPolicy",
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/policy_info"
+ }
+ }
+ },
+ "required" : true
+ },
+ "responses" : {
+ "200" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/void"
+ }
+ }
+ },
+ "description" : "OK - Policy updated"
+ },
+ "201" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/void"
+ }
+ }
+ },
+ "description" : "Created - Policy created"
+ },
+ "423" : {
+ "content" : {
+ "application/problem+json" : {
+ "example" : {
+ "status" : 423,
+ "title" : "Locked",
+ "detail" : "Requested resource is in a locked state."
+ },
+ "schema" : {
+ "$ref" : "#/components/schemas/error_information"
+ }
+ }
+ },
+ "description" : "Locked - HTTP Status code which can be used when the state is Locked"
+ }
+ },
+ "tags" : [ "A1 Policy Management" ]
+ }
+ },
+ "/a1-policy/v2/services/{service_id}" : {
+ "delete" : {
+ "description" : "Unregister a service",
+ "operationId" : "deleteService",
+ "parameters" : [ {
+ "explode" : false,
+ "in" : "path",
+ "name" : "service_id",
+ "required" : true,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "simple"
+ } ],
+ "responses" : {
+ "204" : {
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ },
+ "description" : "No Content - Service unregistered"
+ },
+ "404" : {
+ "content" : {
+ "application/problem+json" : {
+ "example" : [ ]
+ }
+ },
+ "description" : "Not Found"
+ }
+ },
+ "tags" : [ "Service Registry and Supervision" ]
+ }
+ },
+ "/actuator/heapdump" : {
+ "get" : {
+ "operationId" : "heapdump",
+ "responses" : {
+ "200" : {
+ "content" : {
+ "application/octet-stream" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ },
+ "description" : "OK"
+ }
+ },
+ "summary" : "Actuator web endpoint 'heapdump'",
+ "tags" : [ "Actuator" ],
+ "x-internal" : true
+ }
+ },
+ "/a1-policy/v2/policies/{policy_id}/status" : {
+ "get" : {
+ "description" : "Returns a policy status",
+ "operationId" : "getPolicyStatus",
+ "parameters" : [ {
+ "explode" : false,
+ "in" : "path",
+ "name" : "policy_id",
+ "required" : true,
+ "schema" : {
+ "type" : "string"
+ },
+ "style" : "simple"
+ } ],
+ "responses" : {
+ "200" : {
+ "content" : {
+ "application/json" : {
+ "examples" : {
+ "policy_status_info" : {
+ "$ref" : "#/components/examples/policy_status_info"
+ }
+ },
+ "schema" : {
+ "$ref" : "#/components/schemas/policy_status_info"
+ }
+ }
+ },
+ "description" : "OK - Policy status"
+ },
+ "404" : {
+ "content" : {
+ "application/problem+json" : {
+ "example" : [ ]
+ }
+ },
+ "description" : "Not Found"
+ }
+ },
+ "tags" : [ "A1 Policy Management" ]
+ }
+ }
+ },
+ "components" : {
+ "examples" : {
+ "service_status" : {
+ "description" : "List of service information",
+ "value" : {
+ "callback_url" : "callback_url",
+ "service_id" : "service_id",
+ "keep_alive_interval_seconds" : 0,
+ "time_since_last_activity_seconds" : 6
+ }
+ },
+ "service_status_list" : {
+ "description" : "List of service information",
+ "value" : {
+ "service_list" : [ {
+ "callback_url" : "callback_url",
+ "service_id" : "service_id",
+ "keep_alive_interval_seconds" : 0,
+ "time_since_last_activity_seconds" : 6
+ }, {
+ "callback_url" : "callback_url",
+ "service_id" : "service_id",
+ "keep_alive_interval_seconds" : 0,
+ "time_since_last_activity_seconds" : 6
+ } ]
+ }
+ },
+ "policy_type_definition" : {
+ "description" : "Schema of the given Policy type",
+ "value" : {
+ "policy_schema" : "{}"
+ }
+ },
+ "policy_type_id_list" : {
+ "description" : "Array of policy type id's",
+ "value" : {
+ "policy_type_id_list" : [ "policytype_id", "policytype_id" ]
+ }
+ },
+ "policy_info" : {
+ "description" : "Policy information of one A1-P policy",
+ "value" : {
+ "ric_id" : "ric_id",
+ "policy_id" : "policy_id",
+ "transient" : false,
+ "service_id" : "service_id",
+ "policy_data" : "{}",
+ "status_notification_uri" : "status_notification_uri",
+ "policytype_id" : "policytype_id"
+ }
+ },
+ "policy_info_list" : {
+ "description" : "List of policy information",
+ "value" : {
+ "policies" : [ {
+ "ric_id" : "ric_id",
+ "policy_id" : "policy_id",
+ "transient" : false,
+ "service_id" : "service_id",
+ "policy_data" : "{}",
+ "status_notification_uri" : "status_notification_uri",
+ "policytype_id" : "policytype_id"
+ }, {
+ "ric_id" : "ric_id",
+ "policy_id" : "policy_id",
+ "transient" : false,
+ "service_id" : "service_id",
+ "policy_data" : "{}",
+ "status_notification_uri" : "status_notification_uri",
+ "policytype_id" : "policytype_id"
+ } ]
+ }
+ },
+ "policy_id_list" : {
+ "description" : "A list of policy identities",
+ "value" : {
+ "policy_ids" : [ "some_policy_id", "some_policy_id" ]
+ }
+ },
+ "policy_status_info" : {
+ "description" : "Status for one A1-P Policy",
+ "value" : {
+ "last_modified" : "last_modified",
+ "status" : {
+ "value" : {
+ "status" : "status"
+ }
+ }
+ }
+ },
+ "status_info" : {
+ "value" : {
+ "status" : "status"
+ }
+ },
+ "ric_info" : {
+ "value" : {
+ "ric_id" : "ric_id",
+ "managed_element_ids" : [ "some_managed_element_id", "some_managed_element_id" ],
+ "state" : "UNAVAILABLE",
+ "policytype_ids" : [ "some_policytype_id", "some_policytype_id" ]
+ }
+ },
+ "ric_info_list" : {
+ "value" : {
+ "rics" : [ {
+ "ric_id" : "ric_id",
+ "managed_element_ids" : [ "some_managed_element_id", "some_managed_element_id" ],
+ "state" : "UNAVAILABLE",
+ "policytype_ids" : [ "policytype_id", "policytype_id" ]
+ }, {
+ "ric_id" : "ric_id",
+ "managed_element_ids" : [ "managed_element_ids", "managed_element_ids" ],
+ "state" : "UNAVAILABLE",
+ "policytype_ids" : [ "policytype_ids", "policytype_ids" ]
+ } ]
+ }
+ }
+ },
+ "responses" : {
+ "Locked" : {
+ "content" : {
+ "application/problem+json" : {
+ "example" : {
+ "status" : 423,
+ "title" : "Locked",
+ "detail" : "Requested resource is in a locked state."
+ },
+ "schema" : {
+ "$ref" : "#/components/schemas/error_information"
+ }
+ }
+ },
+ "description" : "Locked - HTTP Status code which can be used when the state is Locked"
+ },
+ "BadRequest" : {
+ "content" : {
+ "application/problem+json" : {
+ "example" : {
+ "status" : 400,
+ "title" : "Bad Request",
+ "detail" : "The provided request is not valid."
+ },
+ "schema" : {
+ "$ref" : "#/components/schemas/error_information"
+ }
+ }
+ },
+ "description" : "Bad Request"
+ },
+ "Forbidden" : {
+ "content" : {
+ "application/problem+json" : {
+ "example" : {
+ "status" : 403,
+ "title" : "Forbidden",
+ "detail" : "Your role does not allow to perform this action. Contact System Administrator to change your access rights."
+ },
+ "schema" : {
+ "$ref" : "#/components/schemas/error_information"
+ }
+ }
+ },
+ "description" : "Forbidden"
+ },
+ "NotFound" : {
+ "content" : {
+ "application/problem+json" : {
+ "example" : [ ]
+ }
+ },
+ "description" : "Not Found"
+ }
+ },
+ "schemas" : {
+ "policy_type_definition" : {
+ "description" : "Contains policy type schema definition",
+ "properties" : {
+ "policy_schema" : {
+ "description" : "Policy type json schema. The schema is a json object following http://json-schema.org/draft-07/schema",
+ "type" : "object"
+ }
+ },
+ "type" : "object"
+ },
+ "error_information" : {
+ "description" : "Problem as defined in https://tools.ietf.org/html/rfc7807",
+ "properties" : {
+ "detail" : {
+ "description" : " A human-readable explanation specific to this occurrence of the problem.",
+ "example" : "Policy type not found",
+ "type" : "string"
+ },
+ "title" : {
+ "description" : "A specific error name",
+ "example" : "Not Found",
+ "type" : "string"
+ },
+ "status" : {
+ "description" : "The HTTP status code generated by the origin server for this occurrence of the problem. ",
+ "example" : 404,
+ "format" : "int32",
+ "type" : "integer"
+ }
+ },
+ "type" : "object"
+ },
+ "void" : {
+ "description" : "Void/empty",
+ "type" : "object"
+ },
+ "status_info" : {
+ "properties" : {
+ "status" : {
+ "description" : "status text",
+ "type" : "string"
+ }
+ },
+ "type" : "object"
+ },
+ "authorization_result" : {
+ "description" : "Result of authorization",
+ "example" : {
+ "result" : true
+ },
+ "properties" : {
+ "result" : {
+ "description" : "If true, the access is granted",
+ "type" : "boolean"
+ }
+ },
+ "required" : [ "result" ],
+ "type" : "object"
+ },
+ "ric_info" : {
+ "description" : "Information for a Near-RT RIC",
+ "properties" : {
+ "ric_id" : {
+ "description" : "identity of the Near-RT RIC",
+ "type" : "string"
+ },
+ "managed_element_ids" : {
+ "description" : "O1 identities for managed entities",
+ "items" : {
+ "description" : "O1 identities for managed entities",
+ "type" : "string"
+ },
+ "type" : "array"
+ },
+ "state" : {
+ "description" : "Represents the states for a Near-RT RIC",
+ "enum" : [ "UNAVAILABLE", "AVAILABLE", "SYNCHRONIZING", "CONSISTENCY_CHECK" ],
+ "type" : "string"
+ },
+ "policytype_ids" : {
+ "description" : "supported policy types",
+ "items" : {
+ "description" : "supported policy types",
+ "type" : "string"
+ },
+ "type" : "array"
+ }
+ },
+ "type" : "object"
+ },
+ "service_registration_info" : {
+ "description" : "Information for one service",
+ "properties" : {
+ "callback_url" : {
+ "description" : "callback for notifying of Near-RT RIC state changes",
+ "type" : "string"
+ },
+ "service_id" : {
+ "description" : "identity of the service",
+ "type" : "string"
+ },
+ "keep_alive_interval_seconds" : {
+ "description" : "keep alive interval for the service. This is used to enable optional heartbeat supervision of the service. If set (> 0) the registered service should regularly invoke a 'keepalive' REST call. When a service fails to invoke this 'keepalive' call within the configured time, the service is considered unavailable. An unavailable service will be automatically deregistered and its policies will be deleted. Value 0 means timeout supervision is disabled.",
+ "format" : "int64",
+ "type" : "integer"
+ }
+ },
+ "required" : [ "service_id" ],
+ "type" : "object"
+ },
+ "policy_info_list" : {
+ "description" : "List of policy information",
+ "properties" : {
+ "policies" : {
+ "description" : "List of policy information",
+ "items" : {
+ "$ref" : "#/components/schemas/policy_info"
+ },
+ "type" : "array"
+ }
+ },
+ "type" : "object"
+ },
+ "policy_status_info" : {
+ "description" : "Status for one A1-P Policy",
+ "properties" : {
+ "last_modified" : {
+ "description" : "timestamp, last modification time",
+ "type" : "string"
+ },
+ "status" : {
+ "description" : "the Policy status",
+ "type" : "object"
+ }
+ },
+ "type" : "object"
+ },
+ "service_status" : {
+ "properties" : {
+ "callback_url" : {
+ "description" : "callback for notifying of RIC synchronization",
+ "type" : "string"
+ },
+ "service_id" : {
+ "description" : "identity of the service",
+ "type" : "string"
+ },
+ "keep_alive_interval_seconds" : {
+ "description" : "policy keep alive timeout",
+ "format" : "int64",
+ "type" : "integer"
+ },
+ "time_since_last_activity_seconds" : {
+ "description" : "time since last invocation by the service",
+ "format" : "int64",
+ "type" : "integer"
+ }
+ },
+ "type" : "object"
+ },
+ "ric_info_list" : {
+ "description" : "List of Near-RT RIC information",
+ "properties" : {
+ "rics" : {
+ "description" : "List of Near-RT RIC information",
+ "items" : {
+ "$ref" : "#/components/schemas/ric_info"
+ },
+ "type" : "array"
+ }
+ },
+ "type" : "object"
+ },
+ "input" : {
+ "description" : "input",
+ "properties" : {
+ "access_type" : {
+ "description" : "Access type",
+ "enum" : [ "READ", "WRITE", "DELETE" ],
+ "type" : "string"
+ },
+ "auth_token" : {
+ "description" : "Authorization token",
+ "type" : "string"
+ },
+ "policy_type_id" : {
+ "description" : "Policy type identifier",
+ "type" : "string"
+ }
+ },
+ "required" : [ "access_type", "auth_token", "policy_type_id" ],
+ "type" : "object"
+ },
+ "policy_authorization" : {
+ "description" : "Authorization request for A1 policy requests",
+ "properties" : {
+ "input" : {
+ "$ref" : "#/components/schemas/input"
+ }
+ },
+ "required" : [ "input" ],
+ "type" : "object"
+ },
+ "policy_type_id_list" : {
+ "description" : "Information about policy types",
+ "properties" : {
+ "policytype_ids" : {
+ "description" : "Policy type identities",
+ "items" : {
+ "description" : "Policy type identities",
+ "type" : "string"
+ },
+ "type" : "array"
+ }
+ },
+ "type" : "object"
+ },
+ "policy_info" : {
+ "description" : "Information for one A1-P Policy",
+ "properties" : {
+ "ric_id" : {
+ "description" : "identity of the target Near-RT RIC",
+ "type" : "string"
+ },
+ "policy_id" : {
+ "description" : "identity of the policy",
+ "type" : "string"
+ },
+ "transient" : {
+ "default" : false,
+ "description" : "if true, the policy is deleted at RIC restart. If false, its value is maintained by this service until explicitly deleted. Default false.",
+ "example" : false,
+ "nullable" : false,
+ "type" : "boolean"
+ },
+ "service_id" : {
+ "default" : "",
+ "description" : "the identity of the service owning the policy. This can be used to group the policies (it is possible to get all policies associated to a service). Note that the service does not need to be registered.",
+ "type" : "string"
+ },
+ "policy_data" : {
+ "description" : "the configuration of the policy",
+ "type" : "object"
+ },
+ "status_notification_uri" : {
+ "description" : "Callback URI for policy status updates",
+ "type" : "string"
+ },
+ "policytype_id" : {
+ "description" : "identity of the policy type",
+ "type" : "string"
+ }
+ },
+ "required" : [ "policy_data", "policy_id", "policytype_id", "ric_id" ],
+ "type" : "object"
+ },
+ "policy_id_list" : {
+ "description" : "A list of policy identities",
+ "example" : {
+ "policy_ids" : [ "policy_ids", "policy_ids" ]
+ },
+ "properties" : {
+ "policy_ids" : {
+ "description" : "Policy identities",
+ "items" : {
+ "description" : "Policy identities",
+ "type" : "string"
+ },
+ "type" : "array"
+ }
+ },
+ "type" : "object"
+ },
+ "service_status_list" : {
+ "properties" : {
+ "service_list" : {
+ "description" : "List of service information",
+ "items" : {
+ "$ref" : "#/components/schemas/service_status"
+ },
+ "type" : "array"
+ }
+ },
+ "type" : "object"
+ },
+ "service_callback_info_v2" : {
+ "description" : "Information transferred as in Service callbacks (callback_url)",
+ "properties" : {
+ "ric_id" : {
+ "description" : "identity of a Near-RT RIC",
+ "type" : "string"
+ },
+ "event_type" : {
+ "description" : "values:\nAVAILABLE: the Near-RT RIC has become available for A1 Policy management",
+ "enum" : [ "AVAILABLE" ],
+ "type" : "string"
+ }
+ },
+ "required" : [ "event_type", "ric_id" ],
+ "type" : "object"
+ },
+ "Link" : {
+ "properties" : {
+ "templated" : {
+ "type" : "boolean"
+ },
+ "href" : {
+ "type" : "string"
+ }
+ },
+ "type" : "object"
+ }
+ }
+ }
}
\ No newline at end of file
diff --git a/docs/offeredapis/swagger/pms-api.yaml b/docs/offeredapis/swagger/pms-api.yaml
index 1c25e05..c0b50d4 100644
--- a/docs/offeredapis/swagger/pms-api.yaml
+++ b/docs/offeredapis/swagger/pms-api.yaml
@@ -431,7 +431,6 @@
- Actuator
/a1-policy/v2/configuration:
get:
- x-internal: true
operationId: getConfiguration
responses:
"200":
@@ -447,7 +446,6 @@
tags:
- Configuration
put:
- x-internal: true
operationId: putConfiguration
requestBody:
content: