/usr/lib/python3/dist-packages/pywsman.py is in python-openwsman 2.6.5-0ubuntu3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 | # This file was automatically generated by SWIG (http://www.swig.org).
# Version 3.0.12
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
from sys import version_info as _swig_python_version_info
if _swig_python_version_info >= (2, 7, 0):
def swig_import_helper():
import importlib
pkg = __name__.rpartition('.')[0]
mname = '.'.join((pkg, '_pywsman')).lstrip('.')
try:
return importlib.import_module(mname)
except ImportError:
return importlib.import_module('_pywsman')
_pywsman = swig_import_helper()
del swig_import_helper
elif _swig_python_version_info >= (2, 6, 0):
def swig_import_helper():
from os.path import dirname
import imp
fp = None
try:
fp, pathname, description = imp.find_module('_pywsman', [dirname(__file__)])
except ImportError:
import _pywsman
return _pywsman
try:
_mod = imp.load_module('_pywsman', fp, pathname, description)
finally:
if fp is not None:
fp.close()
return _mod
_pywsman = swig_import_helper()
del swig_import_helper
else:
import _pywsman
del _swig_python_version_info
try:
_swig_property = property
except NameError:
pass # Python < 2.2 doesn't have 'property'.
try:
import builtins as __builtin__
except ImportError:
import __builtin__
def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
if (name == "thisown"):
return self.this.own(value)
if (name == "this"):
if type(value).__name__ == 'SwigPyObject':
self.__dict__[name] = value
return
method = class_type.__swig_setmethods__.get(name, None)
if method:
return method(self, value)
if (not static):
if _newclass:
object.__setattr__(self, name, value)
else:
self.__dict__[name] = value
else:
raise AttributeError("You cannot add attributes to %s" % self)
def _swig_setattr(self, class_type, name, value):
return _swig_setattr_nondynamic(self, class_type, name, value, 0)
def _swig_getattr(self, class_type, name):
if (name == "thisown"):
return self.this.own()
method = class_type.__swig_getmethods__.get(name, None)
if method:
return method(self)
raise AttributeError("'%s' object has no attribute '%s'" % (class_type.__name__, name))
def _swig_repr(self):
try:
strthis = "proxy of " + self.this.__repr__()
except __builtin__.Exception:
strthis = ""
return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
try:
_object = object
_newclass = 1
except __builtin__.Exception:
class _object:
pass
_newclass = 0
def fopen(arg1, arg2):
"""fopen(char * arg1, char * arg2) -> FILE *"""
return _pywsman.fopen(arg1, arg2)
def fclose(f):
"""fclose(FILE * f)"""
return _pywsman.fclose(f)
OPENWSMAN_MAJOR = _pywsman.OPENWSMAN_MAJOR
OPENWSMAN_MINOR = _pywsman.OPENWSMAN_MINOR
OPENWSMAN_PATCH = _pywsman.OPENWSMAN_PATCH
OPENWSMAN_VERSION = _pywsman.OPENWSMAN_VERSION
class XmlNs(_object):
"""Proxy of C __WsXmlNs struct."""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, XmlNs, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, XmlNs, name)
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined")
__repr__ = _swig_repr
XmlNs_swigregister = _pywsman.XmlNs_swigregister
XmlNs_swigregister(XmlNs)
class XmlDoc(_object):
"""Proxy of C _WsXmlDoc struct."""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, XmlDoc, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, XmlDoc, name)
__repr__ = _swig_repr
def __init__(self, name, ns=None):
"""__init__(_WsXmlDoc self, char const * name, char const * ns=None) -> XmlDoc"""
this = _pywsman.new_XmlDoc(name, ns)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _pywsman.delete_XmlDoc
__del__ = lambda self: None
def __str__(self):
"""__str__(XmlDoc self) -> char *"""
return _pywsman.XmlDoc___str__(self)
def encode(self, *args):
"""encode(XmlDoc self, char const * encoding) -> char *"""
return _pywsman.XmlDoc_encode(self, *args)
def dump_file(self, fp):
"""dump_file(XmlDoc self, FILE * fp)"""
return _pywsman.XmlDoc_dump_file(self, fp)
def root(self):
"""root(XmlDoc self) -> XmlNode"""
return _pywsman.XmlDoc_root(self)
def envelope(self):
"""envelope(XmlDoc self) -> XmlNode"""
return _pywsman.XmlDoc_envelope(self)
def header(self):
"""header(XmlDoc self) -> XmlNode"""
return _pywsman.XmlDoc_header(self)
def body(self):
"""body(XmlDoc self) -> XmlNode"""
return _pywsman.XmlDoc_body(self)
def element(self, name):
"""element(XmlDoc self, char const * name) -> XmlNode"""
return _pywsman.XmlDoc_element(self, name)
def context(self):
"""context(XmlDoc self) -> char const *"""
return _pywsman.XmlDoc_context(self)
def generate_fault(self, s):
"""generate_fault(XmlDoc self, Status s) -> XmlDoc"""
return _pywsman.XmlDoc_generate_fault(self, s)
def is_fault(self):
"""is_fault(XmlDoc self) -> int"""
return _pywsman.XmlDoc_is_fault(self)
def fault(self):
"""fault(XmlDoc self) -> Fault"""
return _pywsman.XmlDoc_fault(self)
def create_response_envelope(self, action=None):
"""create_response_envelope(XmlDoc self, char const * action=None) -> XmlDoc"""
return _pywsman.XmlDoc_create_response_envelope(self, action)
def is_end_of_sequence(self):
"""is_end_of_sequence(XmlDoc self) -> int"""
return _pywsman.XmlDoc_is_end_of_sequence(self)
XmlDoc_swigregister = _pywsman.XmlDoc_swigregister
XmlDoc_swigregister(XmlDoc)
class XmlNode(_object):
"""Proxy of C __WsXmlNode struct."""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, XmlNode, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, XmlNode, name)
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined")
__repr__ = _swig_repr
__swig_destroy__ = _pywsman.delete_XmlNode
__del__ = lambda self: None
def string(self):
"""string(XmlNode self) -> char *"""
return _pywsman.XmlNode_string(self)
def dump_file(self, fp):
"""dump_file(XmlNode self, FILE * fp)"""
return _pywsman.XmlNode_dump_file(self, fp)
def equal(self, n):
"""equal(XmlNode self, XmlNode n) -> int"""
return _pywsman.XmlNode_equal(self, n)
def __str__(self):
"""__str__(XmlNode self) -> char *"""
return _pywsman.XmlNode___str__(self)
def set_text(self, text):
"""set_text(XmlNode self, char const * text)"""
return _pywsman.XmlNode_set_text(self, text)
def doc(self):
"""doc(XmlNode self) -> XmlDoc"""
return _pywsman.XmlNode_doc(self)
def parent(self):
"""parent(XmlNode self) -> XmlNode"""
return _pywsman.XmlNode_parent(self)
def child(self):
"""child(XmlNode self) -> XmlNode"""
return _pywsman.XmlNode_child(self)
def name(self):
"""name(XmlNode self) -> char *"""
return _pywsman.XmlNode_name(self)
def set_name(self, name):
"""set_name(XmlNode self, char const * name)"""
return _pywsman.XmlNode_set_name(self, name)
def ns(self):
"""ns(XmlNode self) -> char *"""
return _pywsman.XmlNode_ns(self)
def set_ns(self, ns):
"""set_ns(XmlNode self, char const * ns)"""
return _pywsman.XmlNode_set_ns(self, ns)
def prefix(self):
"""prefix(XmlNode self) -> char const *"""
return _pywsman.XmlNode_prefix(self)
def set_lang(self, lang):
"""set_lang(XmlNode self, char const * lang)"""
return _pywsman.XmlNode_set_lang(self, lang)
def find(self, ns, name, recursive=1):
"""find(XmlNode self, char const * ns, char const * name, int recursive=1) -> XmlNode"""
return _pywsman.XmlNode_find(self, ns, name, recursive)
def next(self, all=0):
"""next(XmlNode self, int all=0) -> XmlNode"""
return _pywsman.XmlNode_next(self, all)
def size(self, name=None, ns=None):
"""size(XmlNode self, char const * name=None, char const * ns=None) -> int"""
return _pywsman.XmlNode_size(self, name, ns)
def add_before(self, ns, name, text=None):
"""add_before(XmlNode self, char const * ns, char const * name, char const * text=None) -> XmlNode"""
return _pywsman.XmlNode_add_before(self, ns, name, text)
def add(self, *args):
"""
add(XmlNode self, char const * ns, char const * name, char const * text=None) -> XmlNode
add(XmlNode self, XmlNode node) -> XmlNode
"""
return _pywsman.XmlNode_add(self, *args)
def __iter__(self):
r = range(0,self.size())
while r:
yield self.get(r.pop(0))
def get(self, *args):
"""
get(XmlNode self, int i, char const * name=None, char const * ns=None) -> XmlNode
get(XmlNode self, char const * name, char const * ns=None) -> XmlNode
"""
return _pywsman.XmlNode_get(self, *args)
def attr(self, index=0):
"""attr(XmlNode self, int index=0) -> XmlAttr"""
return _pywsman.XmlNode_attr(self, index)
def attr_count(self):
"""attr_count(XmlNode self) -> int"""
return _pywsman.XmlNode_attr_count(self)
def attr_find(self, ns, name):
"""attr_find(XmlNode self, char const * ns, char const * name) -> XmlAttr"""
return _pywsman.XmlNode_attr_find(self, ns, name)
def attr_add(self, ns, name, value):
"""attr_add(XmlNode self, char const * ns, char const * name, char const * value) -> XmlAttr"""
return _pywsman.XmlNode_attr_add(self, ns, name, value)
def epr(self, ns, epr_node_name, embedded):
"""epr(XmlNode self, char const * ns, char const * epr_node_name, int embedded) -> EndPointReference"""
return _pywsman.XmlNode_epr(self, ns, epr_node_name, embedded)
XmlNode_swigregister = _pywsman.XmlNode_swigregister
XmlNode_swigregister(XmlNode)
class XmlAttr(_object):
"""Proxy of C __WsXmlAttr struct."""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, XmlAttr, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, XmlAttr, name)
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined")
__repr__ = _swig_repr
def name(self):
"""name(XmlAttr self) -> char *"""
return _pywsman.XmlAttr_name(self)
def ns(self):
"""ns(XmlAttr self) -> char *"""
return _pywsman.XmlAttr_ns(self)
def value(self):
"""value(XmlAttr self) -> char *"""
return _pywsman.XmlAttr_value(self)
def remove(self):
"""remove(XmlAttr self)"""
return _pywsman.XmlAttr_remove(self)
XmlAttr_swigregister = _pywsman.XmlAttr_swigregister
XmlAttr_swigregister(XmlAttr)
XML_NS_SOAP_1_1 = _pywsman.XML_NS_SOAP_1_1
XML_NS_SOAP_1_2 = _pywsman.XML_NS_SOAP_1_2
XML_NS_XML_NAMESPACES = _pywsman.XML_NS_XML_NAMESPACES
XML_NS_ADDRESSING = _pywsman.XML_NS_ADDRESSING
XML_NS_DISCOVERY = _pywsman.XML_NS_DISCOVERY
XML_NS_EVENTING = _pywsman.XML_NS_EVENTING
XML_NS_ENUMERATION = _pywsman.XML_NS_ENUMERATION
XML_NS_TRANSFER = _pywsman.XML_NS_TRANSFER
XML_NS_XML_SCHEMA = _pywsman.XML_NS_XML_SCHEMA
XML_NS_SCHEMA_INSTANCE = _pywsman.XML_NS_SCHEMA_INSTANCE
XML_NS_POLICY = _pywsman.XML_NS_POLICY
XML_NS_TRUST = _pywsman.XML_NS_TRUST
XML_NS_SE = _pywsman.XML_NS_SE
XML_NS_SCHEMA_INSTANCE_PREFIX = _pywsman.XML_NS_SCHEMA_INSTANCE_PREFIX
XML_NS_SCHEMA_INSTANCE_NIL = _pywsman.XML_NS_SCHEMA_INSTANCE_NIL
XML_NS_OPENWSMAN = _pywsman.XML_NS_OPENWSMAN
XML_NS_CIM_SCHEMA = _pywsman.XML_NS_CIM_SCHEMA
XML_NS_CIM_CLASS = _pywsman.XML_NS_CIM_CLASS
XML_NS_CIM_BINDING = _pywsman.XML_NS_CIM_BINDING
XML_NS_CIM_INTRINSIC = _pywsman.XML_NS_CIM_INTRINSIC
XML_NS_WS_MAN = _pywsman.XML_NS_WS_MAN
XML_NS_WSMAN_FAULT_DETAIL = _pywsman.XML_NS_WSMAN_FAULT_DETAIL
XML_NS_WS_MAN_CAT = _pywsman.XML_NS_WS_MAN_CAT
XML_NS_WSMAN_ID = _pywsman.XML_NS_WSMAN_ID
SOAP1_2_CONTENT_TYPE = _pywsman.SOAP1_2_CONTENT_TYPE
SOAP_CONTENT_TYPE = _pywsman.SOAP_CONTENT_TYPE
CIMXML_CONTENT_TYPE = _pywsman.CIMXML_CONTENT_TYPE
SOAP_SKIP_DEF_FILTERS = _pywsman.SOAP_SKIP_DEF_FILTERS
SOAP_ACTION_PREFIX = _pywsman.SOAP_ACTION_PREFIX
SOAP_ONE_WAY_OP = _pywsman.SOAP_ONE_WAY_OP
SOAP_NO_RESP_OP = _pywsman.SOAP_NO_RESP_OP
SOAP_DONT_KEEP_INDOC = _pywsman.SOAP_DONT_KEEP_INDOC
SOAP_CLIENT_RESPONSE = _pywsman.SOAP_CLIENT_RESPONSE
SOAP_CUSTOM_DISPATCHER = _pywsman.SOAP_CUSTOM_DISPATCHER
SOAP_IDENTIFY_DISPATCH = _pywsman.SOAP_IDENTIFY_DISPATCH
WSMID_IDENTIFY = _pywsman.WSMID_IDENTIFY
WSMID_IDENTIFY_RESPONSE = _pywsman.WSMID_IDENTIFY_RESPONSE
WSMID_PROTOCOL_VERSION = _pywsman.WSMID_PROTOCOL_VERSION
WSMID_PRODUCT_VENDOR = _pywsman.WSMID_PRODUCT_VENDOR
WSMID_PRODUCT_VERSION = _pywsman.WSMID_PRODUCT_VERSION
XML_SCHEMA_NIL = _pywsman.XML_SCHEMA_NIL
WSA_TO_ANONYMOUS = _pywsman.WSA_TO_ANONYMOUS
WSA_MESSAGE_ID = _pywsman.WSA_MESSAGE_ID
WSA_ADDRESS = _pywsman.WSA_ADDRESS
WSA_EPR = _pywsman.WSA_EPR
WSA_ACTION = _pywsman.WSA_ACTION
WSA_RELATES_TO = _pywsman.WSA_RELATES_TO
WSA_TO = _pywsman.WSA_TO
WSA_REPLY_TO = _pywsman.WSA_REPLY_TO
WSA_FROM = _pywsman.WSA_FROM
WSA_FAULT_TO = _pywsman.WSA_FAULT_TO
WSA_REFERENCE_PROPERTIES = _pywsman.WSA_REFERENCE_PROPERTIES
WSA_REFERENCE_PARAMETERS = _pywsman.WSA_REFERENCE_PARAMETERS
WSA_ACTION_FAULT = _pywsman.WSA_ACTION_FAULT
SOAP_ENVELOPE = _pywsman.SOAP_ENVELOPE
SOAP_HEADER = _pywsman.SOAP_HEADER
SOAP_BODY = _pywsman.SOAP_BODY
SOAP_FAULT = _pywsman.SOAP_FAULT
SOAP_CODE = _pywsman.SOAP_CODE
SOAP_VALUE = _pywsman.SOAP_VALUE
SOAP_SUBCODE = _pywsman.SOAP_SUBCODE
SOAP_REASON = _pywsman.SOAP_REASON
SOAP_TEXT = _pywsman.SOAP_TEXT
SOAP_LANG = _pywsman.SOAP_LANG
SOAP_DETAIL = _pywsman.SOAP_DETAIL
SOAP_FAULT_DETAIL = _pywsman.SOAP_FAULT_DETAIL
SOAP_MUST_UNDERSTAND = _pywsman.SOAP_MUST_UNDERSTAND
SOAP_VERSION_MISMATCH = _pywsman.SOAP_VERSION_MISMATCH
SOAP_UPGRADE = _pywsman.SOAP_UPGRADE
SOAP_SUPPORTED_ENVELOPE = _pywsman.SOAP_SUPPORTED_ENVELOPE
TRANSFER_ACTION_GET = _pywsman.TRANSFER_ACTION_GET
TRANSFER_ACTION_GETRESPONSE = _pywsman.TRANSFER_ACTION_GETRESPONSE
TRANSFER_GET = _pywsman.TRANSFER_GET
TRANSFER_GET_RESP = _pywsman.TRANSFER_GET_RESP
TRANSFER_ACTION_PUT = _pywsman.TRANSFER_ACTION_PUT
TRANSFER_ACTION_PUTRESPONSE = _pywsman.TRANSFER_ACTION_PUTRESPONSE
TRANSFER_PUT = _pywsman.TRANSFER_PUT
TRANSFER_PUT_RESP = _pywsman.TRANSFER_PUT_RESP
TRANSFER_ACTION_CREATE = _pywsman.TRANSFER_ACTION_CREATE
TRANSFER_CREATE = _pywsman.TRANSFER_CREATE
TRANSFER_ACTION_DELETE = _pywsman.TRANSFER_ACTION_DELETE
TRANSFER_DELETE = _pywsman.TRANSFER_DELETE
TRANSFER_ACTION_DELETERESPONSE = _pywsman.TRANSFER_ACTION_DELETERESPONSE
TRANSFER_DELETE_RESP = _pywsman.TRANSFER_DELETE_RESP
WSXF_ACTION_FAULT = _pywsman.WSXF_ACTION_FAULT
ENUM_ACTION_ENUMERATE = _pywsman.ENUM_ACTION_ENUMERATE
ENUM_ACTION_ENUMERATERESPONSE = _pywsman.ENUM_ACTION_ENUMERATERESPONSE
WSENUM_ENUMERATE = _pywsman.WSENUM_ENUMERATE
WSENUM_ENUMERATE_RESP = _pywsman.WSENUM_ENUMERATE_RESP
ENUM_ACTION_RELEASE = _pywsman.ENUM_ACTION_RELEASE
WSENUM_RELEASE = _pywsman.WSENUM_RELEASE
WSENUM_RELEASE_RESP = _pywsman.WSENUM_RELEASE_RESP
ENUM_ACTION_PULL = _pywsman.ENUM_ACTION_PULL
WSENUM_PULL = _pywsman.WSENUM_PULL
WSENUM_PULL_RESP = _pywsman.WSENUM_PULL_RESP
ENUM_ACTION_RENEW = _pywsman.ENUM_ACTION_RENEW
ENUM_ACTION_GETSTATUS = _pywsman.ENUM_ACTION_GETSTATUS
ENUM_ACTION_ENUMEND = _pywsman.ENUM_ACTION_ENUMEND
EVT_ACTION_SUBSCRIBE = _pywsman.EVT_ACTION_SUBSCRIBE
WSEVENT_SUBSCRIBE = _pywsman.WSEVENT_SUBSCRIBE
WSEVENT_SUBSCRIBE_RESP = _pywsman.WSEVENT_SUBSCRIBE_RESP
EVT_ACTION_PULL = _pywsman.EVT_ACTION_PULL
EVT_ACTION_GETSTATUS = _pywsman.EVT_ACTION_GETSTATUS
EVT_ACTION_UNSUBSCRIBE = _pywsman.EVT_ACTION_UNSUBSCRIBE
WSEVENT_UNSUBSCRIBE = _pywsman.WSEVENT_UNSUBSCRIBE
WSEVENT_UNSUBSCRIBE_RESP = _pywsman.WSEVENT_UNSUBSCRIBE_RESP
EVT_ACTION_SUBEND = _pywsman.EVT_ACTION_SUBEND
EVT_ACTION_RENEW = _pywsman.EVT_ACTION_RENEW
WSEVENT_RENEW = _pywsman.WSEVENT_RENEW
WSEVENT_RENEW_RESP = _pywsman.WSEVENT_RENEW_RESP
WSMAN_ACTION_EVENTS = _pywsman.WSMAN_ACTION_EVENTS
WSMAN_ACTION_HEARTBEAT = _pywsman.WSMAN_ACTION_HEARTBEAT
WSMAN_ACTION_DROPPEDEVENTS = _pywsman.WSMAN_ACTION_DROPPEDEVENTS
WSMAN_ACTION_ACK = _pywsman.WSMAN_ACTION_ACK
WSMAN_ACTION_EVENT = _pywsman.WSMAN_ACTION_EVENT
WSENUM_ACTION_FAULT = _pywsman.WSENUM_ACTION_FAULT
WSENUM_RENEW = _pywsman.WSENUM_RENEW
WSENUM_RENEW_RESP = _pywsman.WSENUM_RENEW_RESP
WSENUM_GET_STATUS = _pywsman.WSENUM_GET_STATUS
WSENUM_GET_STATUS_RESP = _pywsman.WSENUM_GET_STATUS_RESP
WSMAN_ACTION_FAULT = _pywsman.WSMAN_ACTION_FAULT
WSENUM_END_TO = _pywsman.WSENUM_END_TO
WSENUM_EXPIRES = _pywsman.WSENUM_EXPIRES
WSENUM_FILTER = _pywsman.WSENUM_FILTER
WSENUM_DIALECT = _pywsman.WSENUM_DIALECT
WSENUM_ENUMERATION_CONTEXT = _pywsman.WSENUM_ENUMERATION_CONTEXT
WSENUM_MAX_TIME = _pywsman.WSENUM_MAX_TIME
WSENUM_MAX_ELEMENTS = _pywsman.WSENUM_MAX_ELEMENTS
WSENUM_MAX_CHARACTERS = _pywsman.WSENUM_MAX_CHARACTERS
WSENUM_ITEMS = _pywsman.WSENUM_ITEMS
WSENUM_END_OF_SEQUENCE = _pywsman.WSENUM_END_OF_SEQUENCE
WSENUM_ENUMERATION_END = _pywsman.WSENUM_ENUMERATION_END
WSENUM_REASON = _pywsman.WSENUM_REASON
WSENUM_CODE = _pywsman.WSENUM_CODE
WSENUM_SOURCE_SHUTTING_DOWN = _pywsman.WSENUM_SOURCE_SHUTTING_DOWN
WSENUM_SOURCE_CANCELING = _pywsman.WSENUM_SOURCE_CANCELING
WSEVENT_DELIVERY = _pywsman.WSEVENT_DELIVERY
WSEVENT_NOTIFY_TO = _pywsman.WSEVENT_NOTIFY_TO
WSEVENT_ENDTO = _pywsman.WSEVENT_ENDTO
WSEVENT_EXPIRES = _pywsman.WSEVENT_EXPIRES
WSEVENT_DELIVERY_MODE = _pywsman.WSEVENT_DELIVERY_MODE
WSEVENT_SUBSCRIPTION_MANAGER = _pywsman.WSEVENT_SUBSCRIPTION_MANAGER
WSEVENT_IDENTIFIER = _pywsman.WSEVENT_IDENTIFIER
WSEVENT_FILTER = _pywsman.WSEVENT_FILTER
WSEVENT_DIALECT = _pywsman.WSEVENT_DIALECT
WSEVENT_ACTION_FAULT = _pywsman.WSEVENT_ACTION_FAULT
WSEVENT_DELIVERY_MODE_PUSH = _pywsman.WSEVENT_DELIVERY_MODE_PUSH
WSEVENT_DELIVERY_MODE_PUSHWITHACK = _pywsman.WSEVENT_DELIVERY_MODE_PUSHWITHACK
WSEVENT_DELIVERY_MODE_EVENTS = _pywsman.WSEVENT_DELIVERY_MODE_EVENTS
WSEVENT_DELIVERY_MODE_PULL = _pywsman.WSEVENT_DELIVERY_MODE_PULL
WSMB_ASSOCIATED_INSTANCES = _pywsman.WSMB_ASSOCIATED_INSTANCES
WSMB_ASSOCIATION_INSTANCES = _pywsman.WSMB_ASSOCIATION_INSTANCES
WSMB_OBJECT = _pywsman.WSMB_OBJECT
WSMB_ASSOCIATION_CLASS_NAME = _pywsman.WSMB_ASSOCIATION_CLASS_NAME
WSMB_RESULT_CLASS_NAME = _pywsman.WSMB_RESULT_CLASS_NAME
WSMB_ROLE = _pywsman.WSMB_ROLE
WSMB_RESULT_ROLE = _pywsman.WSMB_RESULT_ROLE
WSMB_INCLUDE_RESULT_PROPERTY = _pywsman.WSMB_INCLUDE_RESULT_PROPERTY
CIM_RESOURCE_NS_PREFIX = _pywsman.CIM_RESOURCE_NS_PREFIX
WSM_SYSTEM = _pywsman.WSM_SYSTEM
WSM_LOCALE = _pywsman.WSM_LOCALE
WSM_RESOURCE_URI = _pywsman.WSM_RESOURCE_URI
WSM_SELECTOR_SET = _pywsman.WSM_SELECTOR_SET
WSM_SELECTOR = _pywsman.WSM_SELECTOR
WSM_NAME = _pywsman.WSM_NAME
WSM_REQUEST_TOTAL = _pywsman.WSM_REQUEST_TOTAL
WSM_TOTAL_ESTIMATE = _pywsman.WSM_TOTAL_ESTIMATE
WSM_OPTIMIZE_ENUM = _pywsman.WSM_OPTIMIZE_ENUM
WSM_MAX_ELEMENTS = _pywsman.WSM_MAX_ELEMENTS
WSM_ENUM_EPR = _pywsman.WSM_ENUM_EPR
WSM_ENUM_OBJ_AND_EPR = _pywsman.WSM_ENUM_OBJ_AND_EPR
WSM_ENUM_MODE = _pywsman.WSM_ENUM_MODE
WSM_ITEM = _pywsman.WSM_ITEM
WSM_FRAGMENT_TRANSFER = _pywsman.WSM_FRAGMENT_TRANSFER
WSM_XML_FRAGMENT = _pywsman.WSM_XML_FRAGMENT
WSM_OPTION_SET = _pywsman.WSM_OPTION_SET
WSM_OPTION = _pywsman.WSM_OPTION
WSM_TOTAL = _pywsman.WSM_TOTAL
WSM_HEARTBEATS = _pywsman.WSM_HEARTBEATS
WSM_EVENTS = _pywsman.WSM_EVENTS
WSM_ACTION = _pywsman.WSM_ACTION
WSM_EVENT = _pywsman.WSM_EVENT
WSM_ACKREQUESTED = _pywsman.WSM_ACKREQUESTED
WSM_MAX_ENVELOPE_SIZE = _pywsman.WSM_MAX_ENVELOPE_SIZE
WSM_OPERATION_TIMEOUT = _pywsman.WSM_OPERATION_TIMEOUT
WSM_FAULT_SUBCODE = _pywsman.WSM_FAULT_SUBCODE
WSM_FILTER = _pywsman.WSM_FILTER
WSM_DIALECT = _pywsman.WSM_DIALECT
WSM_CONTENTCODING = _pywsman.WSM_CONTENTCODING
WSM_CONNECTIONRETRY = _pywsman.WSM_CONNECTIONRETRY
WSM_SENDBOOKMARKS = _pywsman.WSM_SENDBOOKMARKS
WSM_BOOKMARK = _pywsman.WSM_BOOKMARK
WSM_DROPPEDEVENTS = _pywsman.WSM_DROPPEDEVENTS
WSM_AUTH = _pywsman.WSM_AUTH
WSM_PROFILE = _pywsman.WSM_PROFILE
WSM_CERTIFICATETHUMBPRINT = _pywsman.WSM_CERTIFICATETHUMBPRINT
WSM_DEFAULTBOOKMARK = _pywsman.WSM_DEFAULTBOOKMARK
WXF_RESOURCE_CREATED = _pywsman.WXF_RESOURCE_CREATED
WSMB_POLYMORPHISM_MODE = _pywsman.WSMB_POLYMORPHISM_MODE
WSMB_INCLUDE_SUBCLASS_PROP = _pywsman.WSMB_INCLUDE_SUBCLASS_PROP
WSMB_EXCLUDE_SUBCLASS_PROP = _pywsman.WSMB_EXCLUDE_SUBCLASS_PROP
WSMB_NONE = _pywsman.WSMB_NONE
WSMB_DERIVED_REPRESENTATION = _pywsman.WSMB_DERIVED_REPRESENTATION
WSMB_ACTION_FAULT = _pywsman.WSMB_ACTION_FAULT
WSMB_SHOW_EXTENSION = _pywsman.WSMB_SHOW_EXTENSION
WSMB_EXCLUDE_NIL_PROPS = _pywsman.WSMB_EXCLUDE_NIL_PROPS
WSMANCAT_RESOURCE = _pywsman.WSMANCAT_RESOURCE
WSMANCAT_RESOURCE_URI = _pywsman.WSMANCAT_RESOURCE_URI
WSMANCAT_VERSION = _pywsman.WSMANCAT_VERSION
WSMANCAT_NOTES = _pywsman.WSMANCAT_NOTES
WSMANCAT_VENDOR = _pywsman.WSMANCAT_VENDOR
WSMANCAT_DISPLAY_NAME = _pywsman.WSMANCAT_DISPLAY_NAME
WSMANCAT_KEYWORDS = _pywsman.WSMANCAT_KEYWORDS
WSMANCAT_ACCESS = _pywsman.WSMANCAT_ACCESS
WSMANCAT_RELATIONSHIPS = _pywsman.WSMANCAT_RELATIONSHIPS
WSMANCAT_COMPLIANCE = _pywsman.WSMANCAT_COMPLIANCE
WSMANCAT_OPERATION = _pywsman.WSMANCAT_OPERATION
WSMANCAT_SELECTOR_SET = _pywsman.WSMANCAT_SELECTOR_SET
WSMANCAT_SELECTOR = _pywsman.WSMANCAT_SELECTOR
WSMANCAT_OPTION_SET = _pywsman.WSMANCAT_OPTION_SET
WSMANCAT_ACTION = _pywsman.WSMANCAT_ACTION
WSMANCAT_SELECTOR_SET_REF = _pywsman.WSMANCAT_SELECTOR_SET_REF
WSMANCAT_LOCATION = _pywsman.WSMANCAT_LOCATION
WSMANCAT_NAME = _pywsman.WSMANCAT_NAME
WSMANCAT_TYPE = _pywsman.WSMANCAT_TYPE
WSM_SELECTOR_FILTER_DIALECT = _pywsman.WSM_SELECTOR_FILTER_DIALECT
WSM_WQL_FILTER_DIALECT = _pywsman.WSM_WQL_FILTER_DIALECT
WSM_XPATH_FILTER_DIALECT = _pywsman.WSM_XPATH_FILTER_DIALECT
WSM_CQL_FILTER_DIALECT = _pywsman.WSM_CQL_FILTER_DIALECT
WSM_ASSOCIATION_FILTER_DIALECT = _pywsman.WSM_ASSOCIATION_FILTER_DIALECT
WSM_XPATH_EVENTROOT_FILTER = _pywsman.WSM_XPATH_EVENTROOT_FILTER
WSFW_RESPONSE_STR = _pywsman.WSFW_RESPONSE_STR
WSFW_INDOC = _pywsman.WSFW_INDOC
WSFW_ENUM_PREFIX = _pywsman.WSFW_ENUM_PREFIX
CIM_NAMESPACE_SELECTOR = _pywsman.CIM_NAMESPACE_SELECTOR
CIM_ALL_AVAILABLE_CLASSES = _pywsman.CIM_ALL_AVAILABLE_CLASSES
XML_NS_CIM_ALL_CLASS = _pywsman.XML_NS_CIM_ALL_CLASS
CIM_ACTION_ENUMERATE_CLASS_NAMES = _pywsman.CIM_ACTION_ENUMERATE_CLASS_NAMES
CIM_ACTION_ENUMERATE_INSTANCE_NAMES = _pywsman.CIM_ACTION_ENUMERATE_INSTANCE_NAMES
CIM_ACTION_ENUMERATE_CLASSES = _pywsman.CIM_ACTION_ENUMERATE_CLASSES
CIM_ACTION_GET_CLASS = _pywsman.CIM_ACTION_GET_CLASS
CIM_ACTION_DELETE_CLASS = _pywsman.CIM_ACTION_DELETE_CLASS
WST_ISSUEDTOKENS = _pywsman.WST_ISSUEDTOKENS
WST_REQUESTSECURITYTOKENRESPONSE = _pywsman.WST_REQUESTSECURITYTOKENRESPONSE
WST_TOKENTYPE = _pywsman.WST_TOKENTYPE
WST_REQUESTEDSECURITYTOKEN = _pywsman.WST_REQUESTEDSECURITYTOKEN
WSSE_USERNAMETOKEN = _pywsman.WSSE_USERNAMETOKEN
WSSE_USERNAME = _pywsman.WSSE_USERNAME
WSSE_PASSWORD = _pywsman.WSSE_PASSWORD
WSP_APPLIESTO = _pywsman.WSP_APPLIESTO
WST_USERNAMETOKEN = _pywsman.WST_USERNAMETOKEN
WST_CERTIFICATETHUMBPRINT = _pywsman.WST_CERTIFICATETHUMBPRINT
WSMAN_SECURITY_PROFILE_HTTP_BASIC = _pywsman.WSMAN_SECURITY_PROFILE_HTTP_BASIC
WSMAN_SECURITY_PROFILE_HTTP_DIGEST = _pywsman.WSMAN_SECURITY_PROFILE_HTTP_DIGEST
WSMAN_SECURITY_PROFILE_HTTPS_BASIC = _pywsman.WSMAN_SECURITY_PROFILE_HTTPS_BASIC
WSMAN_SECURITY_PROFILE_HTTPS_DIGEST = _pywsman.WSMAN_SECURITY_PROFILE_HTTPS_DIGEST
WSMAN_SECURITY_PROFILE_HTTPS_MUTUAL = _pywsman.WSMAN_SECURITY_PROFILE_HTTPS_MUTUAL
WSMAN_SECURITY_PROFILE_HTTPS_MUTUAL_BASIC = _pywsman.WSMAN_SECURITY_PROFILE_HTTPS_MUTUAL_BASIC
WSMAN_SECURITY_PROFILE_HTTPS_MUTUAL_DIGEST = _pywsman.WSMAN_SECURITY_PROFILE_HTTPS_MUTUAL_DIGEST
WSMAN_SECURITY_PROFILE_HTTPS_SPNEGO_KERBEROS = _pywsman.WSMAN_SECURITY_PROFILE_HTTPS_SPNEGO_KERBEROS
WSMAN_SECURITY_PROFILE_HTTPS_MUTUAL_SPNEGO_KERBEROS = _pywsman.WSMAN_SECURITY_PROFILE_HTTPS_MUTUAL_SPNEGO_KERBEROS
WSMAN_SECURITY_PROFILE_HTTP_SPNEGO_KERBEROS = _pywsman.WSMAN_SECURITY_PROFILE_HTTP_SPNEGO_KERBEROS
FLAG_NONE = _pywsman.FLAG_NONE
FLAG_ENUMERATION_COUNT_ESTIMATION = _pywsman.FLAG_ENUMERATION_COUNT_ESTIMATION
FLAG_ENUMERATION_OPTIMIZATION = _pywsman.FLAG_ENUMERATION_OPTIMIZATION
FLAG_ENUMERATION_ENUM_EPR = _pywsman.FLAG_ENUMERATION_ENUM_EPR
FLAG_ENUMERATION_ENUM_OBJ_AND_EPR = _pywsman.FLAG_ENUMERATION_ENUM_OBJ_AND_EPR
FLAG_DUMP_REQUEST = _pywsman.FLAG_DUMP_REQUEST
FLAG_INCLUDESUBCLASSPROPERTIES = _pywsman.FLAG_INCLUDESUBCLASSPROPERTIES
FLAG_EXCLUDESUBCLASSPROPERTIES = _pywsman.FLAG_EXCLUDESUBCLASSPROPERTIES
FLAG_POLYMORPHISM_NONE = _pywsman.FLAG_POLYMORPHISM_NONE
FLAG_MUND_MAX_ESIZE = _pywsman.FLAG_MUND_MAX_ESIZE
FLAG_MUND_LOCALE = _pywsman.FLAG_MUND_LOCALE
FLAG_MUND_OPTIONSET = _pywsman.FLAG_MUND_OPTIONSET
FLAG_MUND_FRAGMENT = _pywsman.FLAG_MUND_FRAGMENT
FLAG_CIM_EXTENSIONS = _pywsman.FLAG_CIM_EXTENSIONS
FLAG_CIM_REFERENCES = _pywsman.FLAG_CIM_REFERENCES
FLAG_CIM_ASSOCIATORS = _pywsman.FLAG_CIM_ASSOCIATORS
FLAG_EVENT_SENDBOOKMARK = _pywsman.FLAG_EVENT_SENDBOOKMARK
FLAG_CIM_SCHEMA_OPT = _pywsman.FLAG_CIM_SCHEMA_OPT
WSMAN_DELIVERY_PUSH = _pywsman.WSMAN_DELIVERY_PUSH
WSMAN_DELIVERY_PUSHWITHACK = _pywsman.WSMAN_DELIVERY_PUSHWITHACK
WSMAN_DELIVERY_EVENTS = _pywsman.WSMAN_DELIVERY_EVENTS
WSMAN_DELIVERY_PULL = _pywsman.WSMAN_DELIVERY_PULL
WS_NO_AUTH = _pywsman.WS_NO_AUTH
WS_BASIC_AUTH = _pywsman.WS_BASIC_AUTH
WS_DIGEST_AUTH = _pywsman.WS_DIGEST_AUTH
WS_PASS_AUTH = _pywsman.WS_PASS_AUTH
WS_NTLM_AUTH = _pywsman.WS_NTLM_AUTH
WS_GSSNEGOTIATE_AUTH = _pywsman.WS_GSSNEGOTIATE_AUTH
WS_MAX_AUTH = _pywsman.WS_MAX_AUTH
WSMAN_DELIVERY_SEC_AUTO = _pywsman.WSMAN_DELIVERY_SEC_AUTO
WSMAN_DELIVERY_SEC_HTTP_BASIC = _pywsman.WSMAN_DELIVERY_SEC_HTTP_BASIC
WSMAN_DELIVERY_SEC_HTTP_DIGEST = _pywsman.WSMAN_DELIVERY_SEC_HTTP_DIGEST
WSMAN_DELIVERY_SEC_HTTPS_BASIC = _pywsman.WSMAN_DELIVERY_SEC_HTTPS_BASIC
WSMAN_DELIVERY_SEC_HTTPS_DIGEST = _pywsman.WSMAN_DELIVERY_SEC_HTTPS_DIGEST
WSMAN_DELIVERY_SEC_HTTPS_MUTUAL = _pywsman.WSMAN_DELIVERY_SEC_HTTPS_MUTUAL
WSMAN_DELIVERY_SEC_HTTPS_MUTUAL_BASIC = _pywsman.WSMAN_DELIVERY_SEC_HTTPS_MUTUAL_BASIC
WSMAN_DELIVERY_SEC_HTTPS_MUTUAL_DIGEST = _pywsman.WSMAN_DELIVERY_SEC_HTTPS_MUTUAL_DIGEST
WSMAN_DELIVERY_SEC_HTTPS_SPNEGO_KERBEROS = _pywsman.WSMAN_DELIVERY_SEC_HTTPS_SPNEGO_KERBEROS
WSMAN_DELIVERY_SEC_HTTPS_MUTUAL_SPNEGO_KERBEROS = _pywsman.WSMAN_DELIVERY_SEC_HTTPS_MUTUAL_SPNEGO_KERBEROS
WSMAN_DELIVERY_SEC_HTTP_SPNEGO_KERBEROS = _pywsman.WSMAN_DELIVERY_SEC_HTTP_SPNEGO_KERBEROS
class EndPointReference(_object):
"""Proxy of C epr_t struct."""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, EndPointReference, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, EndPointReference, name)
__repr__ = _swig_repr
def __init__(self, *args):
"""
__init__(epr_t self, char const * uri, char const * address) -> EndPointReference
__init__(epr_t self, char const * uri) -> EndPointReference
"""
this = _pywsman.new_EndPointReference(*args)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _pywsman.delete_EndPointReference
__del__ = lambda self: None
def add_selector(self, name, text):
"""add_selector(EndPointReference self, char const * name, char const * text)"""
return _pywsman.EndPointReference_add_selector(self, name, text)
def serialize(self, node, ns, epr_node_name, embedded):
"""serialize(EndPointReference self, XmlNode node, char const * ns, char const * epr_node_name, int embedded) -> int"""
return _pywsman.EndPointReference_serialize(self, node, ns, epr_node_name, embedded)
def cmp(self, epr2):
"""cmp(EndPointReference self, EndPointReference epr2) -> int"""
return _pywsman.EndPointReference_cmp(self, epr2)
def to_xml(self, ns=None, epr_node_name=None):
"""to_xml(EndPointReference self, char const * ns=None, char const * epr_node_name=None) -> char *"""
return _pywsman.EndPointReference_to_xml(self, ns, epr_node_name)
def string(self):
"""string(EndPointReference self) -> char *"""
return _pywsman.EndPointReference_string(self)
def selector_count(self):
"""selector_count(EndPointReference self) -> int"""
return _pywsman.EndPointReference_selector_count(self)
def resource_uri(self):
"""resource_uri(EndPointReference self) -> char *"""
return _pywsman.EndPointReference_resource_uri(self)
def selector(self, name):
"""selector(EndPointReference self, char const * name) -> char *"""
return _pywsman.EndPointReference_selector(self, name)
def selector_names(self):
"""selector_names(EndPointReference self) -> PyObject *"""
return _pywsman.EndPointReference_selector_names(self)
def classname(self):
"""classname(EndPointReference self) -> char *"""
return _pywsman.EndPointReference_classname(self)
def namespace(self):
"""namespace(EndPointReference self) -> char *"""
return _pywsman.EndPointReference_namespace(self)
def prefix(self):
"""prefix(EndPointReference self) -> char *"""
return _pywsman.EndPointReference_prefix(self)
EndPointReference_swigregister = _pywsman.EndPointReference_swigregister
EndPointReference_swigregister(EndPointReference)
class Filter(_object):
"""Proxy of C filter_t struct."""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, Filter, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Filter, name)
__repr__ = _swig_repr
__swig_setmethods__["resultClass"] = _pywsman.Filter_resultClass_set
__swig_getmethods__["resultClass"] = _pywsman.Filter_resultClass_get
if _newclass:
resultClass = _swig_property(_pywsman.Filter_resultClass_get, _pywsman.Filter_resultClass_set)
__swig_setmethods__["assocClass"] = _pywsman.Filter_assocClass_set
__swig_getmethods__["assocClass"] = _pywsman.Filter_assocClass_get
if _newclass:
assocClass = _swig_property(_pywsman.Filter_assocClass_get, _pywsman.Filter_assocClass_set)
def __init__(self):
"""__init__(filter_t self) -> Filter"""
this = _pywsman.new_Filter()
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _pywsman.delete_Filter
__del__ = lambda self: None
def associators(self, epr, assocClass, resultClass, role, resultRole, resultProp, propNum):
"""associators(Filter self, EndPointReference epr, char const * assocClass, char const * resultClass, char const * role, char const * resultRole, char ** resultProp, int const propNum) -> int"""
return _pywsman.Filter_associators(self, epr, assocClass, resultClass, role, resultRole, resultProp, propNum)
def references(self, epr, assocClass, resultClass, role, resultRole, resultProp, propNum):
"""references(Filter self, EndPointReference epr, char const * assocClass, char const * resultClass, char const * role, char const * resultRole, char ** resultProp, int const propNum) -> int"""
return _pywsman.Filter_references(self, epr, assocClass, resultClass, role, resultRole, resultProp, propNum)
def simple(self, dialect, query):
"""simple(Filter self, char const * dialect, char const * query) -> int"""
return _pywsman.Filter_simple(self, dialect, query)
def xpath(self, query):
"""xpath(Filter self, char const * query) -> int"""
return _pywsman.Filter_xpath(self, query)
def cql(self, query):
"""cql(Filter self, char const * query) -> int"""
return _pywsman.Filter_cql(self, query)
def wql(self, query):
"""wql(Filter self, char const * query) -> int"""
return _pywsman.Filter_wql(self, query)
Filter_swigregister = _pywsman.Filter_swigregister
Filter_swigregister(Filter)
FAULT_SENDER_CODE = _pywsman.FAULT_SENDER_CODE
FAULT_MUSTUNDERSTAND_CODE = _pywsman.FAULT_MUSTUNDERSTAND_CODE
FAULT_RECEIVER_CODE = _pywsman.FAULT_RECEIVER_CODE
FAULT_SENDER_CODE_NS = _pywsman.FAULT_SENDER_CODE_NS
FAULT_RECEIVER_CODE_NS = _pywsman.FAULT_RECEIVER_CODE_NS
FAULT_MUSTUNDERSTAND_CODE_NS = _pywsman.FAULT_MUSTUNDERSTAND_CODE_NS
WSMAN_RC_OK = _pywsman.WSMAN_RC_OK
WSMAN_ACCESS_DENIED = _pywsman.WSMAN_ACCESS_DENIED
WSA_ACTION_NOT_SUPPORTED = _pywsman.WSA_ACTION_NOT_SUPPORTED
WSMAN_ALREADY_EXISTS = _pywsman.WSMAN_ALREADY_EXISTS
WSEN_CANNOT_PROCESS_FILTER = _pywsman.WSEN_CANNOT_PROCESS_FILTER
WSMAN_CANNOT_PROCESS_FILTER = _pywsman.WSMAN_CANNOT_PROCESS_FILTER
WSMAN_CONCURRENCY = _pywsman.WSMAN_CONCURRENCY
WSE_DELIVERY_MODE_REQUESTED_UNAVAILABLE = _pywsman.WSE_DELIVERY_MODE_REQUESTED_UNAVAILABLE
WSMAN_DELIVERY_REFUSED = _pywsman.WSMAN_DELIVERY_REFUSED
WSA_DESTINATION_UNREACHABLE = _pywsman.WSA_DESTINATION_UNREACHABLE
WSMAN_ENCODING_LIMIT = _pywsman.WSMAN_ENCODING_LIMIT
WSA_ENDPOINT_UNAVAILABLE = _pywsman.WSA_ENDPOINT_UNAVAILABLE
WSMAN_EVENT_DELIVER_TO_UNUSABLE = _pywsman.WSMAN_EVENT_DELIVER_TO_UNUSABLE
WSE_EVENT_SOURCE_UNABLE_TO_PROCESS = _pywsman.WSE_EVENT_SOURCE_UNABLE_TO_PROCESS
WSEN_FILTER_DIALECT_REQUESTED_UNAVAILABLE = _pywsman.WSEN_FILTER_DIALECT_REQUESTED_UNAVAILABLE
WSE_FILTERING_NOT_SUPPORTED = _pywsman.WSE_FILTERING_NOT_SUPPORTED
WSEN_FILTERING_NOT_SUPPORTED = _pywsman.WSEN_FILTERING_NOT_SUPPORTED
WSE_FILTERING_REQUESTED_UNAVAILABLE = _pywsman.WSE_FILTERING_REQUESTED_UNAVAILABLE
WSMAN_FRAGMENT_DIALECT_NOT_SUPPORTED = _pywsman.WSMAN_FRAGMENT_DIALECT_NOT_SUPPORTED
WSMAN_INTERNAL_ERROR = _pywsman.WSMAN_INTERNAL_ERROR
WSMAN_INVALID_BOOKMARK = _pywsman.WSMAN_INVALID_BOOKMARK
WSEN_INVALID_ENUMERATION_CONTEXT = _pywsman.WSEN_INVALID_ENUMERATION_CONTEXT
WSE_INVALID_EXPIRATION_TIME = _pywsman.WSE_INVALID_EXPIRATION_TIME
WSEN_INVALID_EXPIRATION_TIME = _pywsman.WSEN_INVALID_EXPIRATION_TIME
WSE_INVALID_MESSAGE = _pywsman.WSE_INVALID_MESSAGE
WSA_INVALID_MESSAGE_INFORMATION_HEADER = _pywsman.WSA_INVALID_MESSAGE_INFORMATION_HEADER
WSMAN_INVALID_OPTIONS = _pywsman.WSMAN_INVALID_OPTIONS
WSMAN_INVALID_PARAMETER = _pywsman.WSMAN_INVALID_PARAMETER
WXF_INVALID_REPRESENTATION = _pywsman.WXF_INVALID_REPRESENTATION
WSMAN_INVALID_SELECTORS = _pywsman.WSMAN_INVALID_SELECTORS
WSA_MESSAGE_INFORMATION_HEADER_REQUIRED = _pywsman.WSA_MESSAGE_INFORMATION_HEADER_REQUIRED
WSMAN_NO_ACK = _pywsman.WSMAN_NO_ACK
WSMAN_QUOTA_LIMIT = _pywsman.WSMAN_QUOTA_LIMIT
WSMAN_SCHEMA_VALIDATION_ERROR = _pywsman.WSMAN_SCHEMA_VALIDATION_ERROR
WSEN_TIMED_OUT = _pywsman.WSEN_TIMED_OUT
WSMAN_TIMED_OUT = _pywsman.WSMAN_TIMED_OUT
WSE_UNABLE_TO_RENEW = _pywsman.WSE_UNABLE_TO_RENEW
WSE_UNSUPPORTED_EXPIRATION_TYPE = _pywsman.WSE_UNSUPPORTED_EXPIRATION_TYPE
WSEN_UNSUPPORTED_EXPIRATION_TYPE = _pywsman.WSEN_UNSUPPORTED_EXPIRATION_TYPE
WSMAN_UNSUPPORTED_FEATURE = _pywsman.WSMAN_UNSUPPORTED_FEATURE
SOAP_FAULT_VERSION_MISMATCH = _pywsman.SOAP_FAULT_VERSION_MISMATCH
SOAP_FAULT_MUSTUNDERSTAND = _pywsman.SOAP_FAULT_MUSTUNDERSTAND
WSMB_POLYMORPHISM_MODE_NOT_SUPPORTED = _pywsman.WSMB_POLYMORPHISM_MODE_NOT_SUPPORTED
WSMAN_UNKNOWN = _pywsman.WSMAN_UNKNOWN
WSMAN_DETAIL_OK = _pywsman.WSMAN_DETAIL_OK
WSMAN_DETAIL_ACK = _pywsman.WSMAN_DETAIL_ACK
WSMAN_DETAIL_ACTION_MISMATCH = _pywsman.WSMAN_DETAIL_ACTION_MISMATCH
WSMAN_DETAIL_ALREADY_EXISTS = _pywsman.WSMAN_DETAIL_ALREADY_EXISTS
WSMAN_DETAIL_AMBIGUOUS_SELECTORS = _pywsman.WSMAN_DETAIL_AMBIGUOUS_SELECTORS
WSMAN_DETAIL_ASYNCHRONOUS_REQUEST = _pywsman.WSMAN_DETAIL_ASYNCHRONOUS_REQUEST
WSMAN_DETAIL_ADDRESSING_MODE = _pywsman.WSMAN_DETAIL_ADDRESSING_MODE
WSMAN_DETAIL_AUTHERIZATION_MODE = _pywsman.WSMAN_DETAIL_AUTHERIZATION_MODE
WSMAN_DETAIL_BOOKMARKS = _pywsman.WSMAN_DETAIL_BOOKMARKS
WSMAN_DETAIL_CHARECHTER_SET = _pywsman.WSMAN_DETAIL_CHARECHTER_SET
WSMAN_DETAIL_DELIVERY_RETRIES = _pywsman.WSMAN_DETAIL_DELIVERY_RETRIES
WSMAN_DETAIL_DUPLICATE_SELECTORS = _pywsman.WSMAN_DETAIL_DUPLICATE_SELECTORS
WSMAN_DETAIL_ENCODING_TYPE = _pywsman.WSMAN_DETAIL_ENCODING_TYPE
WSMAN_DETAIL_ENUMERATION_MODE = _pywsman.WSMAN_DETAIL_ENUMERATION_MODE
WSMAN_DETAIL_EXPIRATION_TIME = _pywsman.WSMAN_DETAIL_EXPIRATION_TIME
WSMAN_DETAIL_EXPIRED = _pywsman.WSMAN_DETAIL_EXPIRED
WSMAN_DETAIL_FILTERING_REQUIRED = _pywsman.WSMAN_DETAIL_FILTERING_REQUIRED
WSMAN_DETAIL_FORMAT_MISMATCH = _pywsman.WSMAN_DETAIL_FORMAT_MISMATCH
WSMAN_DETAIL_FORMAT_SECURITY_TOKEN = _pywsman.WSMAN_DETAIL_FORMAT_SECURITY_TOKEN
WSMAN_DETAIL_FRAGMENT_LEVEL_ACCESS = _pywsman.WSMAN_DETAIL_FRAGMENT_LEVEL_ACCESS
WSMAN_DETAIL_HEARTBEATS = _pywsman.WSMAN_DETAIL_HEARTBEATS
WSMAN_DETAIL_INSECURE_ADDRESS = _pywsman.WSMAN_DETAIL_INSECURE_ADDRESS
WSMAN_DETAIL_INSUFFICIENT_SELECTORS = _pywsman.WSMAN_DETAIL_INSUFFICIENT_SELECTORS
WSMAN_DETAIL_INVALID = _pywsman.WSMAN_DETAIL_INVALID
WSMAN_DETAIL_INVALID_ADDRESS = _pywsman.WSMAN_DETAIL_INVALID_ADDRESS
WSMAN_DETAIL_INVALID_FORMAT = _pywsman.WSMAN_DETAIL_INVALID_FORMAT
WSMAN_DETAIL_INVALID_FRAGMENT = _pywsman.WSMAN_DETAIL_INVALID_FRAGMENT
WSMAN_DETAIL_INVALID_NAME = _pywsman.WSMAN_DETAIL_INVALID_NAME
WSMAN_DETAIL_INVALID_NAMESPACE = _pywsman.WSMAN_DETAIL_INVALID_NAMESPACE
WSMAN_DETAIL_INVALID_RESOURCEURI = _pywsman.WSMAN_DETAIL_INVALID_RESOURCEURI
WSMAN_DETAIL_INVALID_SELECTOR_ASSIGNMENT = _pywsman.WSMAN_DETAIL_INVALID_SELECTOR_ASSIGNMENT
WSMAN_DETAIL_INVALID_SYSTEM = _pywsman.WSMAN_DETAIL_INVALID_SYSTEM
WSMAN_DETAIL_INVALID_TIMEOUT = _pywsman.WSMAN_DETAIL_INVALID_TIMEOUT
WSMAN_DETAIL_INVALID_VALUE = _pywsman.WSMAN_DETAIL_INVALID_VALUE
WSMAN_DETAIL_INVALID_VALUES = _pywsman.WSMAN_DETAIL_INVALID_VALUES
WSMAN_DETAIL_LOCALE = _pywsman.WSMAN_DETAIL_LOCALE
WSMAN_DETAIL_MAX_ELEMENTS = _pywsman.WSMAN_DETAIL_MAX_ELEMENTS
WSMAN_DETAIL_MAX_ENVELOPE_POLICY = _pywsman.WSMAN_DETAIL_MAX_ENVELOPE_POLICY
WSMAN_DETAIL_MAX_ENVELOPE_SIZE = _pywsman.WSMAN_DETAIL_MAX_ENVELOPE_SIZE
WSMAN_DETAIL_MAX_TIME = _pywsman.WSMAN_DETAIL_MAX_TIME
WSMAN_DETAIL_MINIMUM_ENVELOPE_LIMIT = _pywsman.WSMAN_DETAIL_MINIMUM_ENVELOPE_LIMIT
WSMAN_DETAIL_MISSING_VALUES = _pywsman.WSMAN_DETAIL_MISSING_VALUES
WSMAN_DETAIL_NOT_SUPPORTED = _pywsman.WSMAN_DETAIL_NOT_SUPPORTED
WSMAN_DETAIL_OPERATION_TIMEOUT = _pywsman.WSMAN_DETAIL_OPERATION_TIMEOUT
WSMAN_DETAIL_OPTION_LIMIT = _pywsman.WSMAN_DETAIL_OPTION_LIMIT
WSMAN_DETAIL_OPTION_SET = _pywsman.WSMAN_DETAIL_OPTION_SET
WSMAN_DETAIL_READ_ONLY = _pywsman.WSMAN_DETAIL_READ_ONLY
WSMAN_DETAIL_RESOURCE_OFFLINE = _pywsman.WSMAN_DETAIL_RESOURCE_OFFLINE
WSMAN_DETAIL_RENAME = _pywsman.WSMAN_DETAIL_RENAME
WSMAN_DETAIL_SELECTOR_LIMIT = _pywsman.WSMAN_DETAIL_SELECTOR_LIMIT
WSMAN_DETAIL_SERVICE_ENVELOPE_LIMIT = _pywsman.WSMAN_DETAIL_SERVICE_ENVELOPE_LIMIT
WSMAN_DETAIL_TARGET_ALREADY_EXISTS = _pywsman.WSMAN_DETAIL_TARGET_ALREADY_EXISTS
WSMAN_DETAIL_TYPE_MISMATCH = _pywsman.WSMAN_DETAIL_TYPE_MISMATCH
WSMAN_DETAIL_UNEXPECTED_SELECTORS = _pywsman.WSMAN_DETAIL_UNEXPECTED_SELECTORS
WSMAN_DETAIL_UNREPORTABLE_SUCCESS = _pywsman.WSMAN_DETAIL_UNREPORTABLE_SUCCESS
WSMAN_DETAIL_UNUSABLE_ADDRESS = _pywsman.WSMAN_DETAIL_UNUSABLE_ADDRESS
WSMAN_DETAIL_URI_LIMIT_EXCEEDED = _pywsman.WSMAN_DETAIL_URI_LIMIT_EXCEEDED
WSMAN_DETAIL_WHITESPACE = _pywsman.WSMAN_DETAIL_WHITESPACE
WSA_DETAIL_DUPLICATE_MESSAGE_ID = _pywsman.WSA_DETAIL_DUPLICATE_MESSAGE_ID
SOAP_DETAIL_HEADER_NOT_UNDERSTOOD = _pywsman.SOAP_DETAIL_HEADER_NOT_UNDERSTOOD
WST_DETAIL_UNSUPPORTED_TOKENTYPE = _pywsman.WST_DETAIL_UNSUPPORTED_TOKENTYPE
WSP_DETAIL_INVALID_EPR = _pywsman.WSP_DETAIL_INVALID_EPR
OWSMAN_DETAIL_ENDPOINT_ERROR = _pywsman.OWSMAN_DETAIL_ENDPOINT_ERROR
OWSMAN_NO_DETAILS = _pywsman.OWSMAN_NO_DETAILS
OWSMAN_SYSTEM_ERROR = _pywsman.OWSMAN_SYSTEM_ERROR
WSMAN_STATUS_NONE = _pywsman.WSMAN_STATUS_NONE
WSMAN_STATUS_CANCELLED = _pywsman.WSMAN_STATUS_CANCELLED
WSMAN_STATUS_CANT_RESOLVE = _pywsman.WSMAN_STATUS_CANT_RESOLVE
WSMAN_STATUS_CANT_RESOLVE_PROXY = _pywsman.WSMAN_STATUS_CANT_RESOLVE_PROXY
WSMAN_STATUS_CANT_CONNECT = _pywsman.WSMAN_STATUS_CANT_CONNECT
WSMAN_STATUS_CANT_CONNECT_PROXY = _pywsman.WSMAN_STATUS_CANT_CONNECT_PROXY
WSMAN_STATUS_SSL_FAILED = _pywsman.WSMAN_STATUS_SSL_FAILED
WSMAN_STATUS_IO_ERROR = _pywsman.WSMAN_STATUS_IO_ERROR
WSMAN_STATUS_MALFORMED = _pywsman.WSMAN_STATUS_MALFORMED
WSMAN_STATUS_TRY_AGAIN = _pywsman.WSMAN_STATUS_TRY_AGAIN
WSMAN_STATUS_CONTINUE = _pywsman.WSMAN_STATUS_CONTINUE
WSMAN_STATUS_SWITCHING_PROTOCOLS = _pywsman.WSMAN_STATUS_SWITCHING_PROTOCOLS
WSMAN_STATUS_PROCESSING = _pywsman.WSMAN_STATUS_PROCESSING
WSMAN_STATUS_OK = _pywsman.WSMAN_STATUS_OK
WSMAN_STATUS_CREATED = _pywsman.WSMAN_STATUS_CREATED
WSMAN_STATUS_ACCEPTED = _pywsman.WSMAN_STATUS_ACCEPTED
WSMAN_STATUS_NON_AUTHORITATIVE = _pywsman.WSMAN_STATUS_NON_AUTHORITATIVE
WSMAN_STATUS_NO_CONTENT = _pywsman.WSMAN_STATUS_NO_CONTENT
WSMAN_STATUS_RESET_CONTENT = _pywsman.WSMAN_STATUS_RESET_CONTENT
WSMAN_STATUS_PARTIAL_CONTENT = _pywsman.WSMAN_STATUS_PARTIAL_CONTENT
WSMAN_STATUS_MULTI_STATUS = _pywsman.WSMAN_STATUS_MULTI_STATUS
WSMAN_STATUS_MULTIPLE_CHOICES = _pywsman.WSMAN_STATUS_MULTIPLE_CHOICES
WSMAN_STATUS_MOVED_PERMANENTLY = _pywsman.WSMAN_STATUS_MOVED_PERMANENTLY
WSMAN_STATUS_FOUND = _pywsman.WSMAN_STATUS_FOUND
WSMAN_STATUS_MOVED_TEMPORARILY = _pywsman.WSMAN_STATUS_MOVED_TEMPORARILY
WSMAN_STATUS_SEE_OTHER = _pywsman.WSMAN_STATUS_SEE_OTHER
WSMAN_STATUS_NOT_MODIFIED = _pywsman.WSMAN_STATUS_NOT_MODIFIED
WSMAN_STATUS_USE_PROXY = _pywsman.WSMAN_STATUS_USE_PROXY
WSMAN_STATUS_NOT_APPEARING_IN_THIS_PROTOCOL = _pywsman.WSMAN_STATUS_NOT_APPEARING_IN_THIS_PROTOCOL
WSMAN_STATUS_TEMPORARY_REDIRECT = _pywsman.WSMAN_STATUS_TEMPORARY_REDIRECT
WSMAN_STATUS_BAD_REQUEST = _pywsman.WSMAN_STATUS_BAD_REQUEST
WSMAN_STATUS_UNAUTHORIZED = _pywsman.WSMAN_STATUS_UNAUTHORIZED
WSMAN_STATUS_PAYMENT_REQUIRED = _pywsman.WSMAN_STATUS_PAYMENT_REQUIRED
WSMAN_STATUS_FORBIDDEN = _pywsman.WSMAN_STATUS_FORBIDDEN
WSMAN_STATUS_NOT_FOUND = _pywsman.WSMAN_STATUS_NOT_FOUND
WSMAN_STATUS_METHOD_NOT_ALLOWED = _pywsman.WSMAN_STATUS_METHOD_NOT_ALLOWED
WSMAN_STATUS_NOT_ACCEPTABLE = _pywsman.WSMAN_STATUS_NOT_ACCEPTABLE
WSMAN_STATUS_PROXY_AUTHENTICATION_REQUIRED = _pywsman.WSMAN_STATUS_PROXY_AUTHENTICATION_REQUIRED
WSMAN_STATUS_PROXY_UNAUTHORIZED = _pywsman.WSMAN_STATUS_PROXY_UNAUTHORIZED
WSMAN_STATUS_REQUEST_TIMEOUT = _pywsman.WSMAN_STATUS_REQUEST_TIMEOUT
WSMAN_STATUS_CONFLICT = _pywsman.WSMAN_STATUS_CONFLICT
WSMAN_STATUS_GONE = _pywsman.WSMAN_STATUS_GONE
WSMAN_STATUS_LENGTH_REQUIRED = _pywsman.WSMAN_STATUS_LENGTH_REQUIRED
WSMAN_STATUS_PRECONDITION_FAILED = _pywsman.WSMAN_STATUS_PRECONDITION_FAILED
WSMAN_STATUS_REQUEST_ENTITY_TOO_LARGE = _pywsman.WSMAN_STATUS_REQUEST_ENTITY_TOO_LARGE
WSMAN_STATUS_REQUEST_URI_TOO_LONG = _pywsman.WSMAN_STATUS_REQUEST_URI_TOO_LONG
WSMAN_STATUS_UNSUPPORTED_MEDIA_TYPE = _pywsman.WSMAN_STATUS_UNSUPPORTED_MEDIA_TYPE
WSMAN_STATUS_REQUESTED_RANGE_NOT_SATISFIABLE = _pywsman.WSMAN_STATUS_REQUESTED_RANGE_NOT_SATISFIABLE
WSMAN_STATUS_INVALID_RANGE = _pywsman.WSMAN_STATUS_INVALID_RANGE
WSMAN_STATUS_EXPECTATION_FAILED = _pywsman.WSMAN_STATUS_EXPECTATION_FAILED
WSMAN_STATUS_UNPROCESSABLE_ENTITY = _pywsman.WSMAN_STATUS_UNPROCESSABLE_ENTITY
WSMAN_STATUS_LOCKED = _pywsman.WSMAN_STATUS_LOCKED
WSMAN_STATUS_FAILED_DEPENDENCY = _pywsman.WSMAN_STATUS_FAILED_DEPENDENCY
WSMAN_STATUS_INTERNAL_SERVER_ERROR = _pywsman.WSMAN_STATUS_INTERNAL_SERVER_ERROR
WSMAN_STATUS_NOT_IMPLEMENTED = _pywsman.WSMAN_STATUS_NOT_IMPLEMENTED
WSMAN_STATUS_BAD_GATEWAY = _pywsman.WSMAN_STATUS_BAD_GATEWAY
WSMAN_STATUS_SERVICE_UNAVAILABLE = _pywsman.WSMAN_STATUS_SERVICE_UNAVAILABLE
WSMAN_STATUS_GATEWAY_TIMEOUT = _pywsman.WSMAN_STATUS_GATEWAY_TIMEOUT
WSMAN_STATUS_HTTP_VERSION_NOT_SUPPORTED = _pywsman.WSMAN_STATUS_HTTP_VERSION_NOT_SUPPORTED
WSMAN_STATUS_INSUFFICIENT_STORAGE = _pywsman.WSMAN_STATUS_INSUFFICIENT_STORAGE
WSMAN_STATUS_NOT_EXTENDED = _pywsman.WSMAN_STATUS_NOT_EXTENDED
class EnumerateInfo(_object):
"""Proxy of C __WsEnumerateInfo struct."""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, EnumerateInfo, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, EnumerateInfo, name)
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined")
__repr__ = _swig_repr
__swig_destroy__ = _pywsman.delete_EnumerateInfo
__del__ = lambda self: None
def max_items(self):
"""max_items(EnumerateInfo self) -> int"""
return _pywsman.EnumerateInfo_max_items(self)
def set_max_items(self, mi):
"""set_max_items(EnumerateInfo self, int mi)"""
return _pywsman.EnumerateInfo_set_max_items(self, mi)
def flags(self):
"""flags(EnumerateInfo self) -> int"""
return _pywsman.EnumerateInfo_flags(self)
def epr_to(self):
"""epr_to(EnumerateInfo self) -> char const *"""
return _pywsman.EnumerateInfo_epr_to(self)
def epr_uri(self):
"""epr_uri(EnumerateInfo self) -> char const *"""
return _pywsman.EnumerateInfo_epr_uri(self)
def encoding(self):
"""encoding(EnumerateInfo self) -> char const *"""
return _pywsman.EnumerateInfo_encoding(self)
def filter(self):
"""filter(EnumerateInfo self) -> Filter"""
return _pywsman.EnumerateInfo_filter(self)
def index(self):
"""index(EnumerateInfo self) -> int"""
return _pywsman.EnumerateInfo_index(self)
def set_index(self, i):
"""set_index(EnumerateInfo self, int i)"""
return _pywsman.EnumerateInfo_set_index(self, i)
def total_items(self):
"""total_items(EnumerateInfo self) -> int"""
return _pywsman.EnumerateInfo_total_items(self)
def set_total_items(self, i):
"""set_total_items(EnumerateInfo self, int i)"""
return _pywsman.EnumerateInfo_set_total_items(self, i)
def pull_result(self):
"""pull_result(EnumerateInfo self) -> XmlDoc"""
return _pywsman.EnumerateInfo_pull_result(self)
def set_pull_result(self, result):
"""set_pull_result(EnumerateInfo self, XmlDoc result)"""
return _pywsman.EnumerateInfo_set_pull_result(self, result)
EnumerateInfo_swigregister = _pywsman.EnumerateInfo_swigregister
EnumerateInfo_swigregister(EnumerateInfo)
class SoapOp(_object):
"""Proxy of C __SoapOp struct."""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, SoapOp, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, SoapOp, name)
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined")
__repr__ = _swig_repr
def indoc(self):
"""indoc(SoapOp self) -> XmlDoc"""
return _pywsman.SoapOp_indoc(self)
def set_indoc(self, doc):
"""set_indoc(SoapOp self, XmlDoc doc)"""
return _pywsman.SoapOp_set_indoc(self, doc)
def outdoc(self):
"""outdoc(SoapOp self) -> XmlDoc"""
return _pywsman.SoapOp_outdoc(self)
def set_outdoc(self, doc):
"""set_outdoc(SoapOp self, XmlDoc doc)"""
return _pywsman.SoapOp_set_outdoc(self, doc)
def soap(self):
"""soap(SoapOp self) -> Soap"""
return _pywsman.SoapOp_soap(self)
def msg(self):
"""msg(SoapOp self) -> WsmanMessage *"""
return _pywsman.SoapOp_msg(self)
def maxsize(self):
"""maxsize(SoapOp self) -> unsigned long"""
return _pywsman.SoapOp_maxsize(self)
SoapOp_swigregister = _pywsman.SoapOp_swigregister
SoapOp_swigregister(SoapOp)
class Soap(_object):
"""Proxy of C __Soap struct."""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, Soap, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Soap, name)
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined")
__repr__ = _swig_repr
__swig_destroy__ = _pywsman.delete_Soap
__del__ = lambda self: None
def create_context(self):
"""create_context(Soap self) -> Context"""
return _pywsman.Soap_create_context(self)
def context(self):
"""context(Soap self) -> Context"""
return _pywsman.Soap_context(self)
def create_ep_context(self, doc):
"""create_ep_context(Soap self, XmlDoc doc) -> Context"""
return _pywsman.Soap_create_ep_context(self, doc)
Soap_swigregister = _pywsman.Soap_swigregister
Soap_swigregister(Soap)
class Context(_object):
"""Proxy of C _WS_CONTEXT struct."""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, Context, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Context, name)
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined")
__repr__ = _swig_repr
__swig_destroy__ = _pywsman.delete_Context
__del__ = lambda self: None
def indoc(self):
"""indoc(Context self) -> XmlDoc"""
return _pywsman.Context_indoc(self)
def runtime(self):
"""runtime(Context self) -> Soap"""
return _pywsman.Context_runtime(self)
def set_enumIdleTimeout(self, timeout):
"""set_enumIdleTimeout(Context self, unsigned long timeout)"""
return _pywsman.Context_set_enumIdleTimeout(self, timeout)
def classname(self):
"""classname(Context self) -> char const *"""
return _pywsman.Context_classname(self)
def method(self):
"""method(Context self) -> char const *"""
return _pywsman.Context_method(self)
def method_args(self, resource_uri):
"""method_args(Context self, char const * resource_uri) -> hash_t *"""
return _pywsman.Context_method_args(self, resource_uri)
def max_elements(self, doc=None):
"""max_elements(Context self, XmlDoc doc=None) -> int"""
return _pywsman.Context_max_elements(self, doc)
def max_envelope_size(self, doc=None):
"""max_envelope_size(Context self, XmlDoc doc=None) -> unsigned long"""
return _pywsman.Context_max_envelope_size(self, doc)
def fragment_string(self, doc=None):
"""fragment_string(Context self, XmlDoc doc=None) -> char const *"""
return _pywsman.Context_fragment_string(self, doc)
def selector(self, doc, name, index):
"""selector(Context self, XmlDoc doc, char const * name, int index) -> char const *"""
return _pywsman.Context_selector(self, doc, name, index)
def selectors_from_epr(self, epr_node):
"""selectors_from_epr(Context self, XmlNode epr_node) -> hash_t *"""
return _pywsman.Context_selectors_from_epr(self, epr_node)
def selectors(self, doc=None):
"""selectors(Context self, XmlDoc doc=None) -> hash_t *"""
return _pywsman.Context_selectors(self, doc)
def selectors_from_filter(self, doc=None):
"""selectors_from_filter(Context self, XmlDoc doc=None) -> hash_t *"""
return _pywsman.Context_selectors_from_filter(self, doc)
def action(self, doc=None):
"""action(Context self, XmlDoc doc=None) -> char const *"""
return _pywsman.Context_action(self, doc)
def resource_uri(self, doc=None):
"""resource_uri(Context self, XmlDoc doc=None) -> char const *"""
return _pywsman.Context_resource_uri(self, doc)
def option_set(self, doc, op):
"""option_set(Context self, XmlDoc doc, char const * op) -> char const *"""
return _pywsman.Context_option_set(self, doc, op)
def parse_enum_request(self, enumInfo):
"""parse_enum_request(Context self, WsEnumerateInfo * enumInfo) -> int"""
return _pywsman.Context_parse_enum_request(self, enumInfo)
Context_swigregister = _pywsman.Context_swigregister
Context_swigregister(Context)
class Status(_object):
"""Proxy of C _WsmanStatus struct."""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, Status, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Status, name)
__repr__ = _swig_repr
def __init__(self, code=0, detail=0, msg=None):
"""__init__(_WsmanStatus self, int code=0, int detail=0, char const * msg=None) -> Status"""
this = _pywsman.new_Status(code, detail, msg)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _pywsman.delete_Status
__del__ = lambda self: None
def to_s(self):
"""to_s(Status self) -> char const *"""
return _pywsman.Status_to_s(self)
def set_code(self, code):
"""set_code(Status self, int code)"""
return _pywsman.Status_set_code(self, code)
def code(self):
"""code(Status self) -> int"""
return _pywsman.Status_code(self)
def set_detail(self, detail):
"""set_detail(Status self, int detail)"""
return _pywsman.Status_set_detail(self, detail)
def detail(self):
"""detail(Status self) -> int"""
return _pywsman.Status_detail(self)
def set_msg(self, msg):
"""set_msg(Status self, char const * msg)"""
return _pywsman.Status_set_msg(self, msg)
def msg(self):
"""msg(Status self) -> char const *"""
return _pywsman.Status_msg(self)
def generate_fault(self, doc):
"""generate_fault(Status self, XmlDoc doc) -> XmlDoc"""
return _pywsman.Status_generate_fault(self, doc)
Status_swigregister = _pywsman.Status_swigregister
Status_swigregister(Status)
class Fault(_object):
"""Proxy of C _WsManFault struct."""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, Fault, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Fault, name)
__repr__ = _swig_repr
def __init__(self, doc):
"""__init__(_WsManFault self, XmlDoc doc) -> Fault"""
this = _pywsman.new_Fault(doc)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _pywsman.delete_Fault
__del__ = lambda self: None
def code(self):
"""code(Fault self) -> char const *"""
return _pywsman.Fault_code(self)
def subcode(self):
"""subcode(Fault self) -> char const *"""
return _pywsman.Fault_subcode(self)
def reason(self):
"""reason(Fault self) -> char const *"""
return _pywsman.Fault_reason(self)
def detail(self):
"""detail(Fault self) -> char const *"""
return _pywsman.Fault_detail(self)
Fault_swigregister = _pywsman.Fault_swigregister
Fault_swigregister(Fault)
class Transport(_object):
"""Proxy of C _WsManTransport struct."""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, Transport, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Transport, name)
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined")
__repr__ = _swig_repr
def is_auth_method(self, method):
"""is_auth_method(Transport self, int method) -> int"""
return _pywsman.Transport_is_auth_method(self, method)
def close(self):
"""close(Transport self)"""
return _pywsman.Transport_close(self)
def set_agent(self, agent):
"""set_agent(Transport self, char const * agent)"""
return _pywsman.Transport_set_agent(self, agent)
def agent(self):
"""agent(Transport self) -> char *"""
return _pywsman.Transport_agent(self)
def get_username(self):
"""get_username(Transport self) -> char *"""
return _pywsman.Transport_get_username(self)
def set_username(self, user_name):
"""set_username(Transport self, char * user_name)"""
return _pywsman.Transport_set_username(self, user_name)
def get_password(self):
"""get_password(Transport self) -> char *"""
return _pywsman.Transport_get_password(self)
def set_password(self, password):
"""set_password(Transport self, char * password)"""
return _pywsman.Transport_set_password(self, password)
def get_proxy_username(self):
"""get_proxy_username(Transport self) -> char *"""
return _pywsman.Transport_get_proxy_username(self)
def set_proxy_username(self, proxy_username):
"""set_proxy_username(Transport self, char * proxy_username)"""
return _pywsman.Transport_set_proxy_username(self, proxy_username)
def get_proxy_password(self):
"""get_proxy_password(Transport self) -> char *"""
return _pywsman.Transport_get_proxy_password(self)
def set_proxy_password(self, proxy_password):
"""set_proxy_password(Transport self, char * proxy_password)"""
return _pywsman.Transport_set_proxy_password(self, proxy_password)
def set_auth_method(self, am):
"""set_auth_method(Transport self, char const * am)"""
return _pywsman.Transport_set_auth_method(self, am)
def auth_method(self):
"""auth_method(Transport self) -> char *"""
return _pywsman.Transport_auth_method(self)
def auth_name(auth):
"""auth_name(int auth) -> char const *"""
return _pywsman.Transport_auth_name(auth)
auth_name = staticmethod(auth_name)
def auth_value(self):
"""auth_value(Transport self) -> int"""
return _pywsman.Transport_auth_value(self)
def error_string(err):
"""error_string(int err) -> char *"""
return _pywsman.Transport_error_string(err)
error_string = staticmethod(error_string)
def set_timeout(self, timeout):
"""set_timeout(Transport self, unsigned long timeout)"""
return _pywsman.Transport_set_timeout(self, timeout)
def timeout(self):
"""timeout(Transport self) -> unsigned long"""
return _pywsman.Transport_timeout(self)
def set_verify_peer(self, value):
"""set_verify_peer(Transport self, unsigned int value)"""
return _pywsman.Transport_set_verify_peer(self, value)
def verify_peer(self):
"""verify_peer(Transport self) -> unsigned int"""
return _pywsman.Transport_verify_peer(self)
def set_verify_host(self, value):
"""set_verify_host(Transport self, unsigned int value)"""
return _pywsman.Transport_set_verify_host(self, value)
def verify_host(self):
"""verify_host(Transport self) -> unsigned int"""
return _pywsman.Transport_verify_host(self)
def set_proxy(self, proxy):
"""set_proxy(Transport self, char const * proxy)"""
return _pywsman.Transport_set_proxy(self, proxy)
def proxy(self):
"""proxy(Transport self) -> char *"""
return _pywsman.Transport_proxy(self)
def set_proxyauth(self, pauth):
"""set_proxyauth(Transport self, char const * pauth)"""
return _pywsman.Transport_set_proxyauth(self, pauth)
def proxyauth(self):
"""proxyauth(Transport self) -> char *"""
return _pywsman.Transport_proxyauth(self)
def set_cainfo(self, cainfo):
"""set_cainfo(Transport self, char const * cainfo)"""
return _pywsman.Transport_set_cainfo(self, cainfo)
def cainfo(self):
"""cainfo(Transport self) -> char *"""
return _pywsman.Transport_cainfo(self)
def set_certhumbprint(self, arg):
"""set_certhumbprint(Transport self, char const * arg)"""
return _pywsman.Transport_set_certhumbprint(self, arg)
def certhumbprint(self):
"""certhumbprint(Transport self) -> char *"""
return _pywsman.Transport_certhumbprint(self)
def set_capath(self, capath):
"""set_capath(Transport self, char const * capath)"""
return _pywsman.Transport_set_capath(self, capath)
def capath(self):
"""capath(Transport self) -> char *"""
return _pywsman.Transport_capath(self)
def set_caoid(self, oid):
"""set_caoid(Transport self, char const * oid)"""
return _pywsman.Transport_set_caoid(self, oid)
def caoid(self):
"""caoid(Transport self) -> char *"""
return _pywsman.Transport_caoid(self)
def set_cert(self, cert):
"""set_cert(Transport self, char const * cert)"""
return _pywsman.Transport_set_cert(self, cert)
def cert(self):
"""cert(Transport self) -> char *"""
return _pywsman.Transport_cert(self)
def set_key(self, key):
"""set_key(Transport self, char const * key)"""
return _pywsman.Transport_set_key(self, key)
def key(self):
"""key(Transport self) -> char *"""
return _pywsman.Transport_key(self)
Transport_swigregister = _pywsman.Transport_swigregister
Transport_swigregister(Transport)
NO_AUTH = _pywsman.NO_AUTH
BASIC_AUTH = _pywsman.BASIC_AUTH
DIGEST_AUTH = _pywsman.DIGEST_AUTH
PASS_AUTH = _pywsman.PASS_AUTH
NTLM_AUTH = _pywsman.NTLM_AUTH
GSSNEGOTIATE_AUTH = _pywsman.GSSNEGOTIATE_AUTH
NO_AUTH_STR = _pywsman.NO_AUTH_STR
BASIC_AUTH_STR = _pywsman.BASIC_AUTH_STR
DIGEST_AUTH_STR = _pywsman.DIGEST_AUTH_STR
PASS_AUTH_STR = _pywsman.PASS_AUTH_STR
NTLM_AUTH_STR = _pywsman.NTLM_AUTH_STR
GSSNEGOTIATE_AUTH_STR = _pywsman.GSSNEGOTIATE_AUTH_STR
def Transport_auth_name(auth):
"""Transport_auth_name(int auth) -> char const *"""
return _pywsman.Transport_auth_name(auth)
def Transport_error_string(err):
"""Transport_error_string(int err) -> char *"""
return _pywsman.Transport_error_string(err)
TRUE = _pywsman.TRUE
FALSE = _pywsman.FALSE
DEFAULT_USER_AGENT = _pywsman.DEFAULT_USER_AGENT
def wsman_send_request(cl, request):
"""wsman_send_request(Client cl, XmlDoc request) -> int"""
return _pywsman.wsman_send_request(cl, request)
def wsmc_transport_set_auth_request_func(cl, f):
"""wsmc_transport_set_auth_request_func(Client cl, wsman_auth_request_func_t f)"""
return _pywsman.wsmc_transport_set_auth_request_func(cl, f)
def wsman_is_auth_method(cl, method):
"""wsman_is_auth_method(Client cl, int method) -> int"""
return _pywsman.wsman_is_auth_method(cl, method)
def wsmc_transport_init(cl, arg):
"""wsmc_transport_init(Client cl, void * arg) -> int"""
return _pywsman.wsmc_transport_init(cl, arg)
def wsman_transport_close_transport(cl):
"""wsman_transport_close_transport(Client cl)"""
return _pywsman.wsman_transport_close_transport(cl)
def wsmc_transport_fini(cl):
"""wsmc_transport_fini(Client cl)"""
return _pywsman.wsmc_transport_fini(cl)
def wsman_transport_set_agent(cl, agent):
"""wsman_transport_set_agent(Client cl, char const * agent)"""
return _pywsman.wsman_transport_set_agent(cl, agent)
def wsman_transport_get_agent(cl):
"""wsman_transport_get_agent(Client cl) -> char *"""
return _pywsman.wsman_transport_get_agent(cl)
def wsman_transport_set_userName(cl, user_name):
"""wsman_transport_set_userName(Client cl, char const * user_name)"""
return _pywsman.wsman_transport_set_userName(cl, user_name)
def wsman_transport_get_userName(cl):
"""wsman_transport_get_userName(Client cl) -> char *"""
return _pywsman.wsman_transport_get_userName(cl)
def wsman_transport_set_password(cl, password):
"""wsman_transport_set_password(Client cl, char const * password)"""
return _pywsman.wsman_transport_set_password(cl, password)
def wsman_transport_get_password(cl):
"""wsman_transport_get_password(Client cl) -> char *"""
return _pywsman.wsman_transport_get_password(cl)
def wsman_transport_set_proxy_username(cl, proxy_username):
"""wsman_transport_set_proxy_username(Client cl, char const * proxy_username)"""
return _pywsman.wsman_transport_set_proxy_username(cl, proxy_username)
def wsman_transport_get_proxy_username(cl):
"""wsman_transport_get_proxy_username(Client cl) -> char *"""
return _pywsman.wsman_transport_get_proxy_username(cl)
def wsman_transport_set_proxy_password(cl, proxy_password):
"""wsman_transport_set_proxy_password(Client cl, char const * proxy_password)"""
return _pywsman.wsman_transport_set_proxy_password(cl, proxy_password)
def wsman_transport_get_proxy_password(cl):
"""wsman_transport_get_proxy_password(Client cl) -> char *"""
return _pywsman.wsman_transport_get_proxy_password(cl)
def wsman_transport_set_auth_method(cl, am):
"""wsman_transport_set_auth_method(Client cl, char const * am)"""
return _pywsman.wsman_transport_set_auth_method(cl, am)
def wsman_transport_get_auth_method(cl):
"""wsman_transport_get_auth_method(Client cl) -> char *"""
return _pywsman.wsman_transport_get_auth_method(cl)
def wsmc_transport_get_auth_name(auth):
"""wsmc_transport_get_auth_name(wsman_auth_type_t auth) -> char const *"""
return _pywsman.wsmc_transport_get_auth_name(auth)
def wsmc_transport_get_auth_value(cl):
"""wsmc_transport_get_auth_value(Client cl) -> wsman_auth_type_t"""
return _pywsman.wsmc_transport_get_auth_value(cl)
def wsman_transport_get_last_error_string(err):
"""wsman_transport_get_last_error_string(WS_LASTERR_Code err) -> char *"""
return _pywsman.wsman_transport_get_last_error_string(err)
def wsman_transport_set_timeout(cl, timeout):
"""wsman_transport_set_timeout(Client cl, unsigned long timeout)"""
return _pywsman.wsman_transport_set_timeout(cl, timeout)
def wsman_transport_get_timeout(cl):
"""wsman_transport_get_timeout(Client cl) -> unsigned long"""
return _pywsman.wsman_transport_get_timeout(cl)
def wsman_transport_set_verify_peer(cl, value):
"""wsman_transport_set_verify_peer(Client cl, unsigned int value)"""
return _pywsman.wsman_transport_set_verify_peer(cl, value)
def wsman_transport_get_verify_peer(cl):
"""wsman_transport_get_verify_peer(Client cl) -> unsigned int"""
return _pywsman.wsman_transport_get_verify_peer(cl)
def wsman_transport_set_verify_host(cl, value):
"""wsman_transport_set_verify_host(Client cl, unsigned int value)"""
return _pywsman.wsman_transport_set_verify_host(cl, value)
def wsman_transport_get_verify_host(cl):
"""wsman_transport_get_verify_host(Client cl) -> unsigned int"""
return _pywsman.wsman_transport_get_verify_host(cl)
def wsman_transport_set_crlcheck(cl, value):
"""wsman_transport_set_crlcheck(Client cl, unsigned int value)"""
return _pywsman.wsman_transport_set_crlcheck(cl, value)
def wsman_transport_get_crlcheck(cl):
"""wsman_transport_get_crlcheck(Client cl) -> unsigned int"""
return _pywsman.wsman_transport_get_crlcheck(cl)
def wsman_transport_set_crlfile(cl, arg):
"""wsman_transport_set_crlfile(Client cl, char const * arg)"""
return _pywsman.wsman_transport_set_crlfile(cl, arg)
def wsman_transport_get_crlfile(cl):
"""wsman_transport_get_crlfile(Client cl) -> char *"""
return _pywsman.wsman_transport_get_crlfile(cl)
def wsman_transport_set_proxy(cl, proxy):
"""wsman_transport_set_proxy(Client cl, char const * proxy)"""
return _pywsman.wsman_transport_set_proxy(cl, proxy)
def wsman_transport_get_proxy(cl):
"""wsman_transport_get_proxy(Client cl) -> char *"""
return _pywsman.wsman_transport_get_proxy(cl)
def wsman_transport_set_proxyauth(cl, pauth):
"""wsman_transport_set_proxyauth(Client cl, char const * pauth)"""
return _pywsman.wsman_transport_set_proxyauth(cl, pauth)
def wsman_transport_get_proxyauth(cl):
"""wsman_transport_get_proxyauth(Client cl) -> char *"""
return _pywsman.wsman_transport_get_proxyauth(cl)
def wsman_transport_set_cainfo(cl, cainfo):
"""wsman_transport_set_cainfo(Client cl, char const * cainfo)"""
return _pywsman.wsman_transport_set_cainfo(cl, cainfo)
def wsman_transport_get_cainfo(cl):
"""wsman_transport_get_cainfo(Client cl) -> char *"""
return _pywsman.wsman_transport_get_cainfo(cl)
def wsman_transport_set_certhumbprint(cl, arg):
"""wsman_transport_set_certhumbprint(Client cl, char const * arg)"""
return _pywsman.wsman_transport_set_certhumbprint(cl, arg)
def wsman_transport_get_certhumbprint(cl):
"""wsman_transport_get_certhumbprint(Client cl) -> char *"""
return _pywsman.wsman_transport_get_certhumbprint(cl)
def wsman_transport_set_capath(cl, capath):
"""wsman_transport_set_capath(Client cl, char const * capath)"""
return _pywsman.wsman_transport_set_capath(cl, capath)
def wsman_transport_get_capath(cl):
"""wsman_transport_get_capath(Client cl) -> char *"""
return _pywsman.wsman_transport_get_capath(cl)
def wsman_transport_set_caoid(cl, oid):
"""wsman_transport_set_caoid(Client cl, char const * oid)"""
return _pywsman.wsman_transport_set_caoid(cl, oid)
def wsman_transport_get_caoid(cl):
"""wsman_transport_get_caoid(Client cl) -> char *"""
return _pywsman.wsman_transport_get_caoid(cl)
def wsman_transport_set_cert(cl, cert):
"""wsman_transport_set_cert(Client cl, char const * cert)"""
return _pywsman.wsman_transport_set_cert(cl, cert)
def wsman_transport_get_cert(cl):
"""wsman_transport_get_cert(Client cl) -> char *"""
return _pywsman.wsman_transport_get_cert(cl)
def wsman_transport_set_key(cl, key):
"""wsman_transport_set_key(Client cl, char const * key)"""
return _pywsman.wsman_transport_set_key(cl, key)
def wsman_transport_get_key(cl):
"""wsman_transport_get_key(Client cl) -> char *"""
return _pywsman.wsman_transport_get_key(cl)
class ClientOptions(_object):
"""Proxy of C client_opt_t struct."""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, ClientOptions, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, ClientOptions, name)
__repr__ = _swig_repr
def __init__(self):
"""__init__(client_opt_t self) -> ClientOptions"""
this = _pywsman.new_ClientOptions()
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _pywsman.delete_ClientOptions
__del__ = lambda self: None
def set_dump_request(self):
"""set_dump_request(ClientOptions self)"""
return _pywsman.ClientOptions_set_dump_request(self)
def clear_dump_request(self):
"""clear_dump_request(ClientOptions self)"""
return _pywsman.ClientOptions_clear_dump_request(self)
def set_flags(self, flags):
"""set_flags(ClientOptions self, int flags)"""
return _pywsman.ClientOptions_set_flags(self, flags)
def get_flags(self):
"""get_flags(ClientOptions self) -> unsigned int"""
return _pywsman.ClientOptions_get_flags(self)
def clear_flags(self, flags):
"""clear_flags(ClientOptions self, int flags)"""
return _pywsman.ClientOptions_clear_flags(self, flags)
def reset_flags(self):
"""reset_flags(ClientOptions self)"""
return _pywsman.ClientOptions_reset_flags(self)
def set_max_envelope_size(self, size):
"""set_max_envelope_size(ClientOptions self, unsigned long size)"""
return _pywsman.ClientOptions_set_max_envelope_size(self, size)
def get_max_envelope_size(self):
"""get_max_envelope_size(ClientOptions self) -> unsigned long"""
return _pywsman.ClientOptions_get_max_envelope_size(self)
def set_max_elements(self, elements):
"""set_max_elements(ClientOptions self, int elements)"""
return _pywsman.ClientOptions_set_max_elements(self, elements)
def get_max_elements(self):
"""get_max_elements(ClientOptions self) -> int"""
return _pywsman.ClientOptions_get_max_elements(self)
def set_timeout(self, timeout):
"""set_timeout(ClientOptions self, unsigned long timeout)"""
return _pywsman.ClientOptions_set_timeout(self, timeout)
def get_timeout(self):
"""get_timeout(ClientOptions self) -> unsigned long"""
return _pywsman.ClientOptions_get_timeout(self)
def set_fragment(self, fragment):
"""set_fragment(ClientOptions self, char * fragment)"""
return _pywsman.ClientOptions_set_fragment(self, fragment)
def get_fragment(self):
"""get_fragment(ClientOptions self) -> char const *"""
return _pywsman.ClientOptions_get_fragment(self)
def set_cim_namespace(self, cim_namespace):
"""set_cim_namespace(ClientOptions self, char * cim_namespace)"""
return _pywsman.ClientOptions_set_cim_namespace(self, cim_namespace)
def get_cim_namespace(self):
"""get_cim_namespace(ClientOptions self) -> char const *"""
return _pywsman.ClientOptions_get_cim_namespace(self)
def set_reference(self, reference):
"""set_reference(ClientOptions self, char const * reference)"""
return _pywsman.ClientOptions_set_reference(self, reference)
def get_reference(self):
"""get_reference(ClientOptions self) -> char const *"""
return _pywsman.ClientOptions_get_reference(self)
def add_option(self, key, value):
"""add_option(ClientOptions self, char const * key, char const * value)"""
return _pywsman.ClientOptions_add_option(self, key, value)
def add_selector(self, key, value):
"""add_selector(ClientOptions self, char const * key, char const * value)"""
return _pywsman.ClientOptions_add_selector(self, key, value)
def add_property_array_item(self, key, value):
"""add_property_array_item(ClientOptions self, char const * key, char const * value)"""
return _pywsman.ClientOptions_add_property_array_item(self, key, value)
def add_property(self, *args):
"""
add_property(ClientOptions self, char const * key, char const * value)
add_property(ClientOptions self, char const * key, EndPointReference epr)
"""
return _pywsman.ClientOptions_add_property(self, *args)
def set_delivery_uri(self, delivery_uri):
"""set_delivery_uri(ClientOptions self, char const * delivery_uri)"""
return _pywsman.ClientOptions_set_delivery_uri(self, delivery_uri)
def delivery_uri(self):
"""delivery_uri(ClientOptions self) -> char const *"""
return _pywsman.ClientOptions_delivery_uri(self)
def set_sub_expiry(self, event_subscription_expire):
"""set_sub_expiry(ClientOptions self, unsigned int event_subscription_expire)"""
return _pywsman.ClientOptions_set_sub_expiry(self, event_subscription_expire)
def sub_expiry(self):
"""sub_expiry(ClientOptions self) -> int"""
return _pywsman.ClientOptions_sub_expiry(self)
def set_heartbeat_interval(self, heartbeat_interval):
"""set_heartbeat_interval(ClientOptions self, unsigned int heartbeat_interval)"""
return _pywsman.ClientOptions_set_heartbeat_interval(self, heartbeat_interval)
def heartbeat_interval(self):
"""heartbeat_interval(ClientOptions self) -> int"""
return _pywsman.ClientOptions_heartbeat_interval(self)
def set_delivery_mode(self, delivery_mode):
"""set_delivery_mode(ClientOptions self, unsigned int delivery_mode)"""
return _pywsman.ClientOptions_set_delivery_mode(self, delivery_mode)
def delivery_mode(self):
"""delivery_mode(ClientOptions self) -> int"""
return _pywsman.ClientOptions_delivery_mode(self)
def set_delivery_security_mode(self, delivery_sec_mode):
"""set_delivery_security_mode(ClientOptions self, unsigned int delivery_sec_mode)"""
return _pywsman.ClientOptions_set_delivery_security_mode(self, delivery_sec_mode)
def delivery_sec_mode(self):
"""delivery_sec_mode(ClientOptions self) -> int"""
return _pywsman.ClientOptions_delivery_sec_mode(self)
def set_locale(self, locale):
"""set_locale(ClientOptions self, char const * locale)"""
return _pywsman.ClientOptions_set_locale(self, locale)
def locale(self):
"""locale(ClientOptions self) -> char const *"""
return _pywsman.ClientOptions_locale(self)
ClientOptions_swigregister = _pywsman.ClientOptions_swigregister
ClientOptions_swigregister(ClientOptions)
class Client(_object):
"""Proxy of C _WsManClient struct."""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, Client, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Client, name)
__repr__ = _swig_repr
def __init__(self, *args):
"""
__init__(_WsManClient self, char const * uri) -> Client
__init__(_WsManClient self, char const * hostname, int const port, char const * path, char const * scheme, char const * username, char const * password) -> Client
"""
this = _pywsman.new_Client(*args)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _pywsman.delete_Client
__del__ = lambda self: None
def set_dumpfile(self, f):
"""set_dumpfile(Client self, FILE * f)"""
return _pywsman.Client_set_dumpfile(self, f)
def response_code(self):
"""response_code(Client self) -> long"""
return _pywsman.Client_response_code(self)
def scheme(self):
"""scheme(Client self) -> char *"""
return _pywsman.Client_scheme(self)
def host(self):
"""host(Client self) -> char *"""
return _pywsman.Client_host(self)
def port(self):
"""port(Client self) -> int"""
return _pywsman.Client_port(self)
def path(self):
"""path(Client self) -> char *"""
return _pywsman.Client_path(self)
def user(self):
"""user(Client self) -> char *"""
return _pywsman.Client_user(self)
def password(self):
"""password(Client self) -> char *"""
return _pywsman.Client_password(self)
def transport(self):
"""transport(Client self) -> Transport"""
return _pywsman.Client_transport(self)
def send_request(self, request):
"""send_request(Client self, XmlDoc request) -> int"""
return _pywsman.Client_send_request(self, request)
def build_envelope_from_response(self):
"""build_envelope_from_response(Client self) -> XmlDoc"""
return _pywsman.Client_build_envelope_from_response(self)
def encoding(self):
"""encoding(Client self) -> char *"""
return _pywsman.Client_encoding(self)
def set_encoding(self, encoding):
"""set_encoding(Client self, char const * encoding)"""
return _pywsman.Client_set_encoding(self, encoding)
def identify(self, options):
"""identify(Client self, ClientOptions options) -> XmlDoc"""
return _pywsman.Client_identify(self, options)
def get_from_epr(self, options, epr):
"""get_from_epr(Client self, ClientOptions options, EndPointReference epr) -> XmlDoc"""
return _pywsman.Client_get_from_epr(self, options, epr)
def delete_from_epr(self, options, epr):
"""delete_from_epr(Client self, ClientOptions options, EndPointReference epr) -> XmlDoc"""
return _pywsman.Client_delete_from_epr(self, options, epr)
def enumerate(self, options, filter, resource_uri):
"""enumerate(Client self, ClientOptions options, Filter filter, char * resource_uri) -> XmlDoc"""
return _pywsman.Client_enumerate(self, options, filter, resource_uri)
def pull(self, options, filter, resource_uri, context):
"""pull(Client self, ClientOptions options, Filter filter, char const * resource_uri, char const * context) -> XmlDoc"""
return _pywsman.Client_pull(self, options, filter, resource_uri, context)
def create(self, *args):
"""create(Client self, ClientOptions options, char const * resource_uri, char const * data, size_t size, char const * encoding) -> XmlDoc"""
return _pywsman.Client_create(self, *args)
def put(self, *args):
"""put(Client self, ClientOptions options, char const * resource_uri, char const * data, size_t size, char const * encoding) -> XmlDoc"""
return _pywsman.Client_put(self, *args)
def release(self, options, resource_uri, context):
"""release(Client self, ClientOptions options, char const * resource_uri, char const * context) -> XmlDoc"""
return _pywsman.Client_release(self, options, resource_uri, context)
def get(self, options, resource_uri):
"""get(Client self, ClientOptions options, char const * resource_uri) -> XmlDoc"""
return _pywsman.Client_get(self, options, resource_uri)
def delete(self, options, resource_uri):
"""delete(Client self, ClientOptions options, char const * resource_uri) -> XmlDoc"""
return _pywsman.Client_delete(self, options, resource_uri)
def invoke(self, options, resource_uri, method, data=None):
"""invoke(Client self, ClientOptions options, char const * resource_uri, char const * method, XmlDoc data=None) -> XmlDoc"""
return _pywsman.Client_invoke(self, options, resource_uri, method, data)
def subscribe(self, options, filter, resource_uri):
"""subscribe(Client self, ClientOptions options, Filter filter, char const * resource_uri) -> XmlDoc"""
return _pywsman.Client_subscribe(self, options, filter, resource_uri)
def unsubscribe(self, options, filter, resource_uri, identifier):
"""unsubscribe(Client self, ClientOptions options, Filter filter, char const * resource_uri, char const * identifier) -> XmlDoc"""
return _pywsman.Client_unsubscribe(self, options, filter, resource_uri, identifier)
def renew(self, options, resource_uri, identifier):
"""renew(Client self, ClientOptions options, char * resource_uri, char * identifier) -> XmlDoc"""
return _pywsman.Client_renew(self, options, resource_uri, identifier)
def fault_string(self):
"""fault_string(Client self) -> char *"""
return _pywsman.Client_fault_string(self)
def last_error(self):
"""last_error(Client self) -> int"""
return _pywsman.Client_last_error(self)
Client_swigregister = _pywsman.Client_swigregister
Client_swigregister(Client)
def set_debug(dbg):
"""set_debug(int dbg)"""
return _pywsman.set_debug(dbg)
def get_debug():
"""get_debug() -> int"""
return _pywsman.get_debug()
def create_soap_envelope():
"""create_soap_envelope() -> XmlDoc"""
return _pywsman.create_soap_envelope()
def create_doc_from_file(*args):
"""create_doc_from_file(char const * filename, char const * encoding) -> XmlDoc"""
return _pywsman.create_doc_from_file(*args)
def create_doc_from_string(*args):
"""create_doc_from_string(char const * buf, char const * encoding) -> XmlDoc"""
return _pywsman.create_doc_from_string(*args)
def uri_prefix(classname):
"""uri_prefix(char const * classname) -> char const *"""
return _pywsman.uri_prefix(classname)
# This file is compatible with both classic and new-style classes.
|