|
12 | 12 | class AgentGroup(Model): |
13 | 13 | """ |
14 | 14 | :param created_by: |
15 | | - :type created_by: IdentityRef |
| 15 | + :type created_by: :class:`IdentityRef <azure.devops.v5_1.microsoft._visual_studio._test_service._web_api_model.models.IdentityRef>` |
16 | 16 | :param creation_time: |
17 | 17 | :type creation_time: datetime |
18 | 18 | :param group_id: |
@@ -458,6 +458,92 @@ def __init__(self, last_error_date=None, message_text=None, occurrences=None, re |
458 | 458 | self.test_case_name = test_case_name |
459 | 459 |
|
460 | 460 |
|
| 461 | +class GraphSubjectBase(Model): |
| 462 | + """ |
| 463 | + :param _links: |
| 464 | + :type _links: :class:`ReferenceLinks <azure.devops.v5_1.microsoft._visual_studio._test_service._web_api_model.models.ReferenceLinks>` |
| 465 | + :param descriptor: |
| 466 | + :type descriptor: str |
| 467 | + :param display_name: |
| 468 | + :type display_name: str |
| 469 | + :param url: |
| 470 | + :type url: str |
| 471 | + """ |
| 472 | + |
| 473 | + _attribute_map = { |
| 474 | + '_links': {'key': '_links', 'type': 'ReferenceLinks'}, |
| 475 | + 'descriptor': {'key': 'descriptor', 'type': 'str'}, |
| 476 | + 'display_name': {'key': 'displayName', 'type': 'str'}, |
| 477 | + 'url': {'key': 'url', 'type': 'str'} |
| 478 | + } |
| 479 | + |
| 480 | + def __init__(self, _links=None, descriptor=None, display_name=None, url=None): |
| 481 | + super(GraphSubjectBase, self).__init__() |
| 482 | + self._links = _links |
| 483 | + self.descriptor = descriptor |
| 484 | + self.display_name = display_name |
| 485 | + self.url = url |
| 486 | + |
| 487 | + |
| 488 | +class IdentityRef(GraphSubjectBase): |
| 489 | + """ |
| 490 | + :param _links: |
| 491 | + :type _links: :class:`ReferenceLinks <azure.devops.v5_1.microsoft._visual_studio._test_service._web_api_model.models.ReferenceLinks>` |
| 492 | + :param descriptor: |
| 493 | + :type descriptor: str |
| 494 | + :param display_name: |
| 495 | + :type display_name: str |
| 496 | + :param url: |
| 497 | + :type url: str |
| 498 | + :param directory_alias: |
| 499 | + :type directory_alias: str |
| 500 | + :param id: |
| 501 | + :type id: str |
| 502 | + :param image_url: |
| 503 | + :type image_url: str |
| 504 | + :param inactive: |
| 505 | + :type inactive: bool |
| 506 | + :param is_aad_identity: |
| 507 | + :type is_aad_identity: bool |
| 508 | + :param is_container: |
| 509 | + :type is_container: bool |
| 510 | + :param is_deleted_in_origin: |
| 511 | + :type is_deleted_in_origin: bool |
| 512 | + :param profile_url: |
| 513 | + :type profile_url: str |
| 514 | + :param unique_name: |
| 515 | + :type unique_name: str |
| 516 | + """ |
| 517 | + |
| 518 | + _attribute_map = { |
| 519 | + '_links': {'key': '_links', 'type': 'ReferenceLinks'}, |
| 520 | + 'descriptor': {'key': 'descriptor', 'type': 'str'}, |
| 521 | + 'display_name': {'key': 'displayName', 'type': 'str'}, |
| 522 | + 'url': {'key': 'url', 'type': 'str'}, |
| 523 | + 'directory_alias': {'key': 'directoryAlias', 'type': 'str'}, |
| 524 | + 'id': {'key': 'id', 'type': 'str'}, |
| 525 | + 'image_url': {'key': 'imageUrl', 'type': 'str'}, |
| 526 | + 'inactive': {'key': 'inactive', 'type': 'bool'}, |
| 527 | + 'is_aad_identity': {'key': 'isAadIdentity', 'type': 'bool'}, |
| 528 | + 'is_container': {'key': 'isContainer', 'type': 'bool'}, |
| 529 | + 'is_deleted_in_origin': {'key': 'isDeletedInOrigin', 'type': 'bool'}, |
| 530 | + 'profile_url': {'key': 'profileUrl', 'type': 'str'}, |
| 531 | + 'unique_name': {'key': 'uniqueName', 'type': 'str'} |
| 532 | + } |
| 533 | + |
| 534 | + def __init__(self, _links=None, descriptor=None, display_name=None, url=None, directory_alias=None, id=None, image_url=None, inactive=None, is_aad_identity=None, is_container=None, is_deleted_in_origin=None, profile_url=None, unique_name=None): |
| 535 | + super(IdentityRef, self).__init__(_links=_links, descriptor=descriptor, display_name=display_name, url=url) |
| 536 | + self.directory_alias = directory_alias |
| 537 | + self.id = id |
| 538 | + self.image_url = image_url |
| 539 | + self.inactive = inactive |
| 540 | + self.is_aad_identity = is_aad_identity |
| 541 | + self.is_container = is_container |
| 542 | + self.is_deleted_in_origin = is_deleted_in_origin |
| 543 | + self.profile_url = profile_url |
| 544 | + self.unique_name = unique_name |
| 545 | + |
| 546 | + |
461 | 547 | class LoadGenerationGeoLocation(Model): |
462 | 548 | """ |
463 | 549 | :param location: |
@@ -671,6 +757,21 @@ def __init__(self, average_page_time=None, page_url=None, percentage_pages_meeti |
671 | 757 | self.total_pages = total_pages |
672 | 758 |
|
673 | 759 |
|
| 760 | +class ReferenceLinks(Model): |
| 761 | + """ |
| 762 | + :param links: |
| 763 | + :type links: dict |
| 764 | + """ |
| 765 | + |
| 766 | + _attribute_map = { |
| 767 | + 'links': {'key': 'links', 'type': '{object}'} |
| 768 | + } |
| 769 | + |
| 770 | + def __init__(self, links=None): |
| 771 | + super(ReferenceLinks, self).__init__() |
| 772 | + self.links = links |
| 773 | + |
| 774 | + |
674 | 775 | class RequestSummary(Model): |
675 | 776 | """ |
676 | 777 | :param average_response_time: |
@@ -850,13 +951,13 @@ class TestDefinitionBasic(Model): |
850 | 951 | :param access_data: |
851 | 952 | :type access_data: :class:`DropAccessData <azure.devops.v5_1.microsoft._visual_studio._test_service._web_api_model.models.DropAccessData>` |
852 | 953 | :param created_by: |
853 | | - :type created_by: IdentityRef |
| 954 | + :type created_by: :class:`IdentityRef <azure.devops.v5_1.microsoft._visual_studio._test_service._web_api_model.models.IdentityRef>` |
854 | 955 | :param created_date: |
855 | 956 | :type created_date: datetime |
856 | 957 | :param id: |
857 | 958 | :type id: str |
858 | 959 | :param last_modified_by: |
859 | | - :type last_modified_by: IdentityRef |
| 960 | + :type last_modified_by: :class:`IdentityRef <azure.devops.v5_1.microsoft._visual_studio._test_service._web_api_model.models.IdentityRef>` |
860 | 961 | :param last_modified_date: |
861 | 962 | :type last_modified_date: datetime |
862 | 963 | :param load_test_type: |
@@ -1050,11 +1151,11 @@ def __init__(self, action=None, cause=None, details=None, logged_date=None, sour |
1050 | 1151 | class TestRunBasic(Model): |
1051 | 1152 | """ |
1052 | 1153 | :param created_by: |
1053 | | - :type created_by: IdentityRef |
| 1154 | + :type created_by: :class:`IdentityRef <azure.devops.v5_1.microsoft._visual_studio._test_service._web_api_model.models.IdentityRef>` |
1054 | 1155 | :param created_date: |
1055 | 1156 | :type created_date: datetime |
1056 | 1157 | :param deleted_by: |
1057 | | - :type deleted_by: IdentityRef |
| 1158 | + :type deleted_by: :class:`IdentityRef <azure.devops.v5_1.microsoft._visual_studio._test_service._web_api_model.models.IdentityRef>` |
1058 | 1159 | :param deleted_date: |
1059 | 1160 | :type deleted_date: datetime |
1060 | 1161 | :param finished_date: |
@@ -1485,13 +1586,13 @@ class TestDefinition(TestDefinitionBasic): |
1485 | 1586 | :param access_data: |
1486 | 1587 | :type access_data: :class:`DropAccessData <azure.devops.v5_1.microsoft._visual_studio._test_service._web_api_model.models.DropAccessData>` |
1487 | 1588 | :param created_by: |
1488 | | - :type created_by: IdentityRef |
| 1589 | + :type created_by: :class:`IdentityRef <azure.devops.v5_1.microsoft._visual_studio._test_service._web_api_model.models.IdentityRef>` |
1489 | 1590 | :param created_date: |
1490 | 1591 | :type created_date: datetime |
1491 | 1592 | :param id: |
1492 | 1593 | :type id: str |
1493 | 1594 | :param last_modified_by: |
1494 | | - :type last_modified_by: IdentityRef |
| 1595 | + :type last_modified_by: :class:`IdentityRef <azure.devops.v5_1.microsoft._visual_studio._test_service._web_api_model.models.IdentityRef>` |
1495 | 1596 | :param last_modified_date: |
1496 | 1597 | :type last_modified_date: datetime |
1497 | 1598 | :param load_test_type: |
@@ -1542,11 +1643,11 @@ def __init__(self, access_data=None, created_by=None, created_date=None, id=None |
1542 | 1643 | class TestRun(TestRunBasic): |
1543 | 1644 | """ |
1544 | 1645 | :param created_by: |
1545 | | - :type created_by: IdentityRef |
| 1646 | + :type created_by: :class:`IdentityRef <azure.devops.v5_1.microsoft._visual_studio._test_service._web_api_model.models.IdentityRef>` |
1546 | 1647 | :param created_date: |
1547 | 1648 | :type created_date: datetime |
1548 | 1649 | :param deleted_by: |
1549 | | - :type deleted_by: IdentityRef |
| 1650 | + :type deleted_by: :class:`IdentityRef <azure.devops.v5_1.microsoft._visual_studio._test_service._web_api_model.models.IdentityRef>` |
1550 | 1651 | :param deleted_date: |
1551 | 1652 | :type deleted_date: datetime |
1552 | 1653 | :param finished_date: |
@@ -1594,11 +1695,11 @@ class TestRun(TestRunBasic): |
1594 | 1695 | :param run_source_url: |
1595 | 1696 | :type run_source_url: str |
1596 | 1697 | :param started_by: |
1597 | | - :type started_by: IdentityRef |
| 1698 | + :type started_by: :class:`IdentityRef <azure.devops.v5_1.microsoft._visual_studio._test_service._web_api_model.models.IdentityRef>` |
1598 | 1699 | :param started_date: |
1599 | 1700 | :type started_date: datetime |
1600 | 1701 | :param stopped_by: |
1601 | | - :type stopped_by: IdentityRef |
| 1702 | + :type stopped_by: :class:`IdentityRef <azure.devops.v5_1.microsoft._visual_studio._test_service._web_api_model.models.IdentityRef>` |
1602 | 1703 | :param sub_state: |
1603 | 1704 | :type sub_state: object |
1604 | 1705 | :param supersede_run_settings: |
@@ -1691,13 +1792,16 @@ def __init__(self, created_by=None, created_date=None, deleted_by=None, deleted_ |
1691 | 1792 | 'Diagnostics', |
1692 | 1793 | 'DropAccessData', |
1693 | 1794 | 'ErrorDetails', |
| 1795 | + 'GraphSubjectBase', |
| 1796 | + 'IdentityRef', |
1694 | 1797 | 'LoadGenerationGeoLocation', |
1695 | 1798 | 'LoadTest', |
1696 | 1799 | 'LoadTestDefinition', |
1697 | 1800 | 'LoadTestErrors', |
1698 | 1801 | 'LoadTestRunSettings', |
1699 | 1802 | 'OverridableRunSettings', |
1700 | 1803 | 'PageSummary', |
| 1804 | + 'ReferenceLinks', |
1701 | 1805 | 'RequestSummary', |
1702 | 1806 | 'ScenarioSummary', |
1703 | 1807 | 'StaticAgentRunSetting', |
|
0 commit comments