Update to python SDK docs: 13995602131

This commit is contained in:
developer-relations-sp
2025-03-21 15:48:51 +00:00
parent 5109bc43f7
commit 7c85cb6669
213 changed files with 20334 additions and 23488 deletions

View File

@@ -71,7 +71,6 @@ Code | Description | Data Type | Response headers |
```python
from sailpoint.beta.api.workflows_api import WorkflowsApi
from sailpoint.beta.api_client import ApiClient
from pprint import pprint
from sailpoint.configuration import Configuration
configuration = Configuration()
@@ -129,7 +128,6 @@ from sailpoint.beta.api.workflows_api import WorkflowsApi
from sailpoint.beta.api_client import ApiClient
from sailpoint.beta.models.create_workflow_request import CreateWorkflowRequest
from sailpoint.beta.models.workflow import Workflow
from pprint import pprint
from sailpoint.configuration import Configuration
configuration = Configuration()
@@ -144,7 +142,7 @@ with ApiClient(configuration) as api_client:
# Below is a request that includes all optional parameters
# results = WorkflowsApi(api_client).create_workflow(new_create_workflow_request)
print("The response of WorkflowsApi->create_workflow:\n")
pprint(results)
print(results.model_dump_json(by_alias=True, indent=4))
except Exception as e:
print("Exception when calling WorkflowsApi->create_workflow: %s\n" % e)
```
@@ -187,7 +185,6 @@ Code | Description | Data Type | Response headers |
```python
from sailpoint.beta.api.workflows_api import WorkflowsApi
from sailpoint.beta.api_client import ApiClient
from pprint import pprint
from sailpoint.configuration import Configuration
configuration = Configuration()
@@ -244,7 +241,6 @@ Code | Description | Data Type | Response headers |
from sailpoint.beta.api.workflows_api import WorkflowsApi
from sailpoint.beta.api_client import ApiClient
from sailpoint.beta.models.workflow import Workflow
from pprint import pprint
from sailpoint.configuration import Configuration
configuration = Configuration()
@@ -259,7 +255,7 @@ with ApiClient(configuration) as api_client:
# Below is a request that includes all optional parameters
# results = WorkflowsApi(api_client).get_workflow(id)
print("The response of WorkflowsApi->get_workflow:\n")
pprint(results)
print(results.model_dump_json(by_alias=True, indent=4))
except Exception as e:
print("Exception when calling WorkflowsApi->get_workflow: %s\n" % e)
```
@@ -303,7 +299,6 @@ Code | Description | Data Type | Response headers |
```python
from sailpoint.beta.api.workflows_api import WorkflowsApi
from sailpoint.beta.api_client import ApiClient
from pprint import pprint
from sailpoint.configuration import Configuration
configuration = Configuration()
@@ -318,7 +313,7 @@ with ApiClient(configuration) as api_client:
# Below is a request that includes all optional parameters
# results = WorkflowsApi(api_client).get_workflow_execution(id)
print("The response of WorkflowsApi->get_workflow_execution:\n")
pprint(results)
print(results.model_dump_json(by_alias=True, indent=4))
except Exception as e:
print("Exception when calling WorkflowsApi->get_workflow_execution: %s\n" % e)
```
@@ -363,7 +358,6 @@ Code | Description | Data Type | Response headers |
from sailpoint.beta.api.workflows_api import WorkflowsApi
from sailpoint.beta.api_client import ApiClient
from sailpoint.beta.models.workflow_execution_event import WorkflowExecutionEvent
from pprint import pprint
from sailpoint.configuration import Configuration
configuration = Configuration()
@@ -378,7 +372,7 @@ with ApiClient(configuration) as api_client:
# Below is a request that includes all optional parameters
# results = WorkflowsApi(api_client).get_workflow_execution_history(id)
print("The response of WorkflowsApi->get_workflow_execution_history:\n")
pprint(results)
print(results.model_dump_json(by_alias=True, indent=4))
except Exception as e:
print("Exception when calling WorkflowsApi->get_workflow_execution_history: %s\n" % e)
```
@@ -437,7 +431,6 @@ Code | Description | Data Type | Response headers |
from sailpoint.beta.api.workflows_api import WorkflowsApi
from sailpoint.beta.api_client import ApiClient
from sailpoint.beta.models.workflow_execution import WorkflowExecution
from pprint import pprint
from sailpoint.configuration import Configuration
configuration = Configuration()
@@ -456,7 +449,7 @@ with ApiClient(configuration) as api_client:
# Below is a request that includes all optional parameters
# results = WorkflowsApi(api_client).get_workflow_executions(id, limit, offset, count, filters)
print("The response of WorkflowsApi->get_workflow_executions:\n")
pprint(results)
print(results.model_dump_json(by_alias=True, indent=4))
except Exception as e:
print("Exception when calling WorkflowsApi->get_workflow_executions: %s\n" % e)
```
@@ -501,7 +494,6 @@ Code | Description | Data Type | Response headers |
from sailpoint.beta.api.workflows_api import WorkflowsApi
from sailpoint.beta.api_client import ApiClient
from sailpoint.beta.models.list_complete_workflow_library200_response_inner import ListCompleteWorkflowLibrary200ResponseInner
from pprint import pprint
from sailpoint.configuration import Configuration
configuration = Configuration()
@@ -517,7 +509,7 @@ with ApiClient(configuration) as api_client:
# Below is a request that includes all optional parameters
# results = WorkflowsApi(api_client).list_complete_workflow_library(limit, offset)
print("The response of WorkflowsApi->list_complete_workflow_library:\n")
pprint(results)
print(results.model_dump_json(by_alias=True, indent=4))
except Exception as e:
print("Exception when calling WorkflowsApi->list_complete_workflow_library: %s\n" % e)
```
@@ -563,7 +555,6 @@ Code | Description | Data Type | Response headers |
from sailpoint.beta.api.workflows_api import WorkflowsApi
from sailpoint.beta.api_client import ApiClient
from sailpoint.beta.models.workflow_library_action import WorkflowLibraryAction
from pprint import pprint
from sailpoint.configuration import Configuration
configuration = Configuration()
@@ -580,7 +571,7 @@ with ApiClient(configuration) as api_client:
# Below is a request that includes all optional parameters
# results = WorkflowsApi(api_client).list_workflow_library_actions(limit, offset, filters)
print("The response of WorkflowsApi->list_workflow_library_actions:\n")
pprint(results)
print(results.model_dump_json(by_alias=True, indent=4))
except Exception as e:
print("Exception when calling WorkflowsApi->list_workflow_library_actions: %s\n" % e)
```
@@ -621,7 +612,6 @@ Code | Description | Data Type | Response headers |
from sailpoint.beta.api.workflows_api import WorkflowsApi
from sailpoint.beta.api_client import ApiClient
from sailpoint.beta.models.workflow_library_operator import WorkflowLibraryOperator
from pprint import pprint
from sailpoint.configuration import Configuration
configuration = Configuration()
@@ -635,7 +625,7 @@ with ApiClient(configuration) as api_client:
# Below is a request that includes all optional parameters
# results = WorkflowsApi(api_client).list_workflow_library_operators()
print("The response of WorkflowsApi->list_workflow_library_operators:\n")
pprint(results)
print(results.model_dump_json(by_alias=True, indent=4))
except Exception as e:
print("Exception when calling WorkflowsApi->list_workflow_library_operators: %s\n" % e)
```
@@ -681,7 +671,6 @@ Code | Description | Data Type | Response headers |
from sailpoint.beta.api.workflows_api import WorkflowsApi
from sailpoint.beta.api_client import ApiClient
from sailpoint.beta.models.workflow_library_trigger import WorkflowLibraryTrigger
from pprint import pprint
from sailpoint.configuration import Configuration
configuration = Configuration()
@@ -698,7 +687,7 @@ with ApiClient(configuration) as api_client:
# Below is a request that includes all optional parameters
# results = WorkflowsApi(api_client).list_workflow_library_triggers(limit, offset, filters)
print("The response of WorkflowsApi->list_workflow_library_triggers:\n")
pprint(results)
print(results.model_dump_json(by_alias=True, indent=4))
except Exception as e:
print("Exception when calling WorkflowsApi->list_workflow_library_triggers: %s\n" % e)
```
@@ -739,7 +728,6 @@ Code | Description | Data Type | Response headers |
from sailpoint.beta.api.workflows_api import WorkflowsApi
from sailpoint.beta.api_client import ApiClient
from sailpoint.beta.models.workflow import Workflow
from pprint import pprint
from sailpoint.configuration import Configuration
configuration = Configuration()
@@ -753,7 +741,7 @@ with ApiClient(configuration) as api_client:
# Below is a request that includes all optional parameters
# results = WorkflowsApi(api_client).list_workflows()
print("The response of WorkflowsApi->list_workflows:\n")
pprint(results)
print(results.model_dump_json(by_alias=True, indent=4))
except Exception as e:
print("Exception when calling WorkflowsApi->list_workflows: %s\n" % e)
```
@@ -799,7 +787,6 @@ from sailpoint.beta.api.workflows_api import WorkflowsApi
from sailpoint.beta.api_client import ApiClient
from sailpoint.beta.models.json_patch_operation import JsonPatchOperation
from sailpoint.beta.models.workflow import Workflow
from pprint import pprint
from sailpoint.configuration import Configuration
configuration = Configuration()
@@ -815,7 +802,7 @@ with ApiClient(configuration) as api_client:
# Below is a request that includes all optional parameters
# results = WorkflowsApi(api_client).patch_workflow(id, new_json_patch_operation)
print("The response of WorkflowsApi->patch_workflow:\n")
pprint(results)
print(results.model_dump_json(by_alias=True, indent=4))
except Exception as e:
print("Exception when calling WorkflowsApi->patch_workflow: %s\n" % e)
```
@@ -861,7 +848,6 @@ from sailpoint.beta.api.workflows_api import WorkflowsApi
from sailpoint.beta.api_client import ApiClient
from sailpoint.beta.models.post_external_execute_workflow200_response import PostExternalExecuteWorkflow200Response
from sailpoint.beta.models.post_external_execute_workflow_request import PostExternalExecuteWorkflowRequest
from pprint import pprint
from sailpoint.configuration import Configuration
configuration = Configuration()
@@ -877,7 +863,7 @@ with ApiClient(configuration) as api_client:
# Below is a request that includes all optional parameters
# results = WorkflowsApi(api_client).post_external_execute_workflow(id, new_post_external_execute_workflow_request)
print("The response of WorkflowsApi->post_external_execute_workflow:\n")
pprint(results)
print(results.model_dump_json(by_alias=True, indent=4))
except Exception as e:
print("Exception when calling WorkflowsApi->post_external_execute_workflow: %s\n" % e)
```
@@ -921,7 +907,6 @@ Code | Description | Data Type | Response headers |
from sailpoint.beta.api.workflows_api import WorkflowsApi
from sailpoint.beta.api_client import ApiClient
from sailpoint.beta.models.workflow_o_auth_client import WorkflowOAuthClient
from pprint import pprint
from sailpoint.configuration import Configuration
configuration = Configuration()
@@ -936,7 +921,7 @@ with ApiClient(configuration) as api_client:
# Below is a request that includes all optional parameters
# results = WorkflowsApi(api_client).post_workflow_external_trigger(id)
print("The response of WorkflowsApi->post_workflow_external_trigger:\n")
pprint(results)
print(results.model_dump_json(by_alias=True, indent=4))
except Exception as e:
print("Exception when calling WorkflowsApi->post_workflow_external_trigger: %s\n" % e)
```
@@ -982,7 +967,6 @@ from sailpoint.beta.api.workflows_api import WorkflowsApi
from sailpoint.beta.api_client import ApiClient
from sailpoint.beta.models.test_external_execute_workflow200_response import TestExternalExecuteWorkflow200Response
from sailpoint.beta.models.test_external_execute_workflow_request import TestExternalExecuteWorkflowRequest
from pprint import pprint
from sailpoint.configuration import Configuration
configuration = Configuration()
@@ -998,7 +982,7 @@ with ApiClient(configuration) as api_client:
# Below is a request that includes all optional parameters
# results = WorkflowsApi(api_client).test_external_execute_workflow(id, new_test_external_execute_workflow_request)
print("The response of WorkflowsApi->test_external_execute_workflow:\n")
pprint(results)
print(results.model_dump_json(by_alias=True, indent=4))
except Exception as e:
print("Exception when calling WorkflowsApi->test_external_execute_workflow: %s\n" % e)
```
@@ -1046,7 +1030,6 @@ from sailpoint.beta.api.workflows_api import WorkflowsApi
from sailpoint.beta.api_client import ApiClient
from sailpoint.beta.models.test_workflow200_response import TestWorkflow200Response
from sailpoint.beta.models.test_workflow_request import TestWorkflowRequest
from pprint import pprint
from sailpoint.configuration import Configuration
configuration = Configuration()
@@ -1062,7 +1045,7 @@ with ApiClient(configuration) as api_client:
# Below is a request that includes all optional parameters
# results = WorkflowsApi(api_client).test_workflow(id, new_test_workflow_request)
print("The response of WorkflowsApi->test_workflow:\n")
pprint(results)
print(results.model_dump_json(by_alias=True, indent=4))
except Exception as e:
print("Exception when calling WorkflowsApi->test_workflow: %s\n" % e)
```
@@ -1108,7 +1091,6 @@ from sailpoint.beta.api.workflows_api import WorkflowsApi
from sailpoint.beta.api_client import ApiClient
from sailpoint.beta.models.workflow import Workflow
from sailpoint.beta.models.workflow_body import WorkflowBody
from pprint import pprint
from sailpoint.configuration import Configuration
configuration = Configuration()
@@ -1163,7 +1145,7 @@ with ApiClient(configuration) as api_client:
# Below is a request that includes all optional parameters
# results = WorkflowsApi(api_client).update_workflow(id, new_workflow_body)
print("The response of WorkflowsApi->update_workflow:\n")
pprint(results)
print(results.model_dump_json(by_alias=True, indent=4))
except Exception as e:
print("Exception when calling WorkflowsApi->update_workflow: %s\n" % e)
```