Skip to content

Commit 329ea34

Browse files
committed
Merge pull request #17 from TheJumpCloud/Python-SDK-V2-Updates-9.12.18
Python SDK V2 Updates 2018-10-11
2 parents 5876670 + ca715ce commit 329ea34

229 files changed

Lines changed: 7050 additions & 1258 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

config_v2.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"packageName": "jcapiv2",
3-
"packageVersion": "1.0.5"
3+
"packageVersion": "1.1.0"
44
}

jcapiv2/README.md

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# jcapiv2
2-
V1 & V2 versions of JumpCloud's API. The next version of JumpCloud's API. This set of endpoints allows JumpCloud customers to manage objects, groupings and mappings. The most recent version of JumpCloud's API. This set of endpoints allows JumpCloud customers to manage objects, groupings and mappings.
2+
JumpCloud's V2 API. This set of endpoints allows JumpCloud customers to manage objects, groupings and mappings and interact with the JumpCloud Graph.
33

44
This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
55

66
- API version: 2.0
7-
- Package version: 1.0.3
7+
- Package version: 1.1.0
88
- Build package: io.swagger.codegen.languages.PythonClientCodegen
99

1010
## Requirements.
@@ -60,10 +60,11 @@ api_instance = jcapiv2.ActiveDirectoryApi()
6060
id = 'id_example' # str | ObjectID of this Active Directory instance.
6161
content_type = 'application/json' # str | (default to application/json)
6262
accept = 'application/json' # str | (default to application/json)
63+
x_org_id = '' # str | (optional) (default to )
6364

6465
try:
6566
# Delete an Active Directory
66-
api_instance.activedirectories_delete(id, content_type, accept)
67+
api_instance.activedirectories_delete(id, content_type, accept, x_org_id=x_org_id)
6768
except ApiException as e:
6869
print("Exception when calling ActiveDirectoryApi->activedirectories_delete: %s\n" % e)
6970

@@ -95,6 +96,7 @@ Class | Method | HTTP request | Description
9596
*CommandsApi* | [**graph_command_traverse_system**](docs/CommandsApi.md#graph_command_traverse_system) | **GET** /commands/{command_id}/systems | List the Systems bound to a Command
9697
*CommandsApi* | [**graph_command_traverse_system_group**](docs/CommandsApi.md#graph_command_traverse_system_group) | **GET** /commands/{command_id}/systemgroups | List the System Groups bound to a Command
9798
*DirectoriesApi* | [**directories_list**](docs/DirectoriesApi.md#directories_list) | **GET** /directories | List All Directories
99+
*FdeApi* | [**systems_get_fde_key**](docs/FdeApi.md#systems_get_fde_key) | **GET** /systems/{system_id}/fdekey | Get System FDE Key
98100
*GSuiteApi* | [**graph_g_suite_associations_list**](docs/GSuiteApi.md#graph_g_suite_associations_list) | **GET** /gsuites/{gsuite_id}/associations | List the associations of a G Suite instance
99101
*GSuiteApi* | [**graph_g_suite_associations_post**](docs/GSuiteApi.md#graph_g_suite_associations_post) | **POST** /gsuites/{gsuite_id}/associations | Manage the associations of a G Suite instance
100102
*GSuiteApi* | [**graph_g_suite_traverse_user**](docs/GSuiteApi.md#graph_g_suite_traverse_user) | **GET** /gsuites/{gsuite_id}/users | List the Users bound to a G Suite instance
@@ -195,10 +197,10 @@ Class | Method | HTTP request | Description
195197
*PoliciesApi* | [**policies_post**](docs/PoliciesApi.md#policies_post) | **POST** /policies | Create a new Policy
196198
*PoliciesApi* | [**policies_put**](docs/PoliciesApi.md#policies_put) | **PUT** /policies/{id} | Update an existing Policy
197199
*PoliciesApi* | [**policyresults_get**](docs/PoliciesApi.md#policyresults_get) | **GET** /policyresults/{id} | Get a specific Policy Result.
198-
*PoliciesApi* | [**policyresults_list**](docs/PoliciesApi.md#policyresults_list) | **GET** /policyresults | Lists all the policy results for an organization.
199-
*PoliciesApi* | [**policyresults_list_0**](docs/PoliciesApi.md#policyresults_list_0) | **GET** /policies/{policy_id}/policyresults | Lists all the policy results of a policy.
200-
*PoliciesApi* | [**policystatuses_list**](docs/PoliciesApi.md#policystatuses_list) | **GET** /policies/{policy_id}/policystatuses | Lists the latest policy results of a policy.
201-
*PoliciesApi* | [**policystatuses_list_0**](docs/PoliciesApi.md#policystatuses_list_0) | **GET** /systems/{system_id}/policystatuses | List the policy statuses for a system
200+
*PoliciesApi* | [**policyresults_list**](docs/PoliciesApi.md#policyresults_list) | **GET** /policies/{policy_id}/policyresults | Lists all the policy results of a policy.
201+
*PoliciesApi* | [**policyresults_list_0**](docs/PoliciesApi.md#policyresults_list_0) | **GET** /policyresults | Lists all the policy results for an organization.
202+
*PoliciesApi* | [**policystatuses_list**](docs/PoliciesApi.md#policystatuses_list) | **GET** /systems/{system_id}/policystatuses | List the policy statuses for a system
203+
*PoliciesApi* | [**policystatuses_list_0**](docs/PoliciesApi.md#policystatuses_list_0) | **GET** /policies/{policy_id}/policystatuses | Lists the latest policy results of a policy.
202204
*PoliciesApi* | [**policytemplates_get**](docs/PoliciesApi.md#policytemplates_get) | **GET** /policytemplates/{id} | Get a specific Policy Template
203205
*PoliciesApi* | [**policytemplates_list**](docs/PoliciesApi.md#policytemplates_list) | **GET** /policytemplates | Lists all of the Policy Templates
204206
*PolicytemplatesApi* | [**policytemplates_get**](docs/PolicytemplatesApi.md#policytemplates_get) | **GET** /policytemplates/{id} | Get a specific Policy Template
@@ -244,6 +246,7 @@ Class | Method | HTTP request | Description
244246
*SystemsApi* | [**graph_system_traverse_policy**](docs/SystemsApi.md#graph_system_traverse_policy) | **GET** /systems/{system_id}/policies | List the Policies bound to a System
245247
*SystemsApi* | [**graph_system_traverse_user**](docs/SystemsApi.md#graph_system_traverse_user) | **GET** /systems/{system_id}/users | List the Users bound to a System
246248
*SystemsApi* | [**graph_system_traverse_user_group**](docs/SystemsApi.md#graph_system_traverse_user_group) | **GET** /systems/{system_id}/usergroups | List the User Groups bound to a System
249+
*SystemsApi* | [**systems_get_fde_key**](docs/SystemsApi.md#systems_get_fde_key) | **GET** /systems/{system_id}/fdekey | Get System FDE Key
247250
*UserGroupAssociationsApi* | [**graph_user_group_associations_list**](docs/UserGroupAssociationsApi.md#graph_user_group_associations_list) | **GET** /usergroups/{group_id}/associations | List the associations of a User Group.
248251
*UserGroupAssociationsApi* | [**graph_user_group_associations_post**](docs/UserGroupAssociationsApi.md#graph_user_group_associations_post) | **POST** /usergroups/{group_id}/associations | Manage the associations of a User Group
249252
*UserGroupAssociationsApi* | [**graph_user_group_traverse_active_directory**](docs/UserGroupAssociationsApi.md#graph_user_group_traverse_active_directory) | **GET** /usergroups/{group_id}/activedirectories | List the Active Directories bound to a User Group
@@ -275,7 +278,7 @@ Class | Method | HTTP request | Description
275278
*UserGroupsApi* | [**graph_user_group_traverse_system**](docs/UserGroupsApi.md#graph_user_group_traverse_system) | **GET** /usergroups/{group_id}/systems | List the Systems bound to a User Group
276279
*UserGroupsApi* | [**graph_user_group_traverse_system_group**](docs/UserGroupsApi.md#graph_user_group_traverse_system_group) | **GET** /usergroups/{group_id}/systemgroups | List the System Groups bound to User Groups
277280
*UserGroupsApi* | [**groups_user_delete**](docs/UserGroupsApi.md#groups_user_delete) | **DELETE** /usergroups/{id} | Delete a User Group
278-
*UserGroupsApi* | [**groups_user_get**](docs/UserGroupsApi.md#groups_user_get) | **GET** /usergroups/{id} | View an indvidual User Group details
281+
*UserGroupsApi* | [**groups_user_get**](docs/UserGroupsApi.md#groups_user_get) | **GET** /usergroups/{id} | View an individual User Group details
279282
*UserGroupsApi* | [**groups_user_list**](docs/UserGroupsApi.md#groups_user_list) | **GET** /usergroups | List all User Groups
280283
*UserGroupsApi* | [**groups_user_patch**](docs/UserGroupsApi.md#groups_user_patch) | **PATCH** /usergroups/{id} | Partial update a User Group
281284
*UserGroupsApi* | [**groups_user_post**](docs/UserGroupsApi.md#groups_user_post) | **POST** /usergroups | Create a new User Group
@@ -291,6 +294,7 @@ Class | Method | HTTP request | Description
291294
*UsersApi* | [**graph_user_traverse_radius_server**](docs/UsersApi.md#graph_user_traverse_radius_server) | **GET** /users/{user_id}/radiusservers | List the RADIUS Servers bound to a User
292295
*UsersApi* | [**graph_user_traverse_system**](docs/UsersApi.md#graph_user_traverse_system) | **GET** /users/{user_id}/systems | List the Systems bound to a User
293296
*UsersApi* | [**graph_user_traverse_system_group**](docs/UsersApi.md#graph_user_traverse_system_group) | **GET** /users/{user_id}/systemgroups | List the System Groups bound to a User
297+
*UsersApi* | [**user_send_emails**](docs/UsersApi.md#user_send_emails) | **POST** /users/{user_id}/emails | Send User Emails
294298
*WorkdayImportApi* | [**workdays_authorize**](docs/WorkdayImportApi.md#workdays_authorize) | **POST** /workdays/{workday_id}/auth | Authorize Workday
295299
*WorkdayImportApi* | [**workdays_deauthorize**](docs/WorkdayImportApi.md#workdays_deauthorize) | **DELETE** /workdays/{workday_id}/auth | Deauthorize Workday
296300
*WorkdayImportApi* | [**workdays_delete**](docs/WorkdayImportApi.md#workdays_delete) | **DELETE** /workdays/{id} | Delete Workday
@@ -314,15 +318,16 @@ Class | Method | HTTP request | Description
314318
- [AuthinputOauth](docs/AuthinputOauth.md)
315319
- [BulkUserCreate](docs/BulkUserCreate.md)
316320
- [Directory](docs/Directory.md)
321+
- [Emailrequest](docs/Emailrequest.md)
317322
- [Error](docs/Error.md)
323+
- [Errorresponse](docs/Errorresponse.md)
318324
- [GraphConnection](docs/GraphConnection.md)
319325
- [GraphManagementReq](docs/GraphManagementReq.md)
320326
- [GraphObject](docs/GraphObject.md)
321327
- [GraphObjectWithPaths](docs/GraphObjectWithPaths.md)
322328
- [GraphType](docs/GraphType.md)
323329
- [Group](docs/Group.md)
324330
- [GroupType](docs/GroupType.md)
325-
- [InlineResponse204](docs/InlineResponse204.md)
326331
- [JobDetails](docs/JobDetails.md)
327332
- [JobId](docs/JobId.md)
328333
- [JobWorkresult](docs/JobWorkresult.md)
@@ -340,13 +345,20 @@ Class | Method | HTTP request | Description
340345
- [PolicyValue](docs/PolicyValue.md)
341346
- [PolicyWithDetails](docs/PolicyWithDetails.md)
342347
- [SambaDomainInput](docs/SambaDomainInput.md)
348+
- [Sshkeylist](docs/Sshkeylist.md)
343349
- [SystemGraphManagementReq](docs/SystemGraphManagementReq.md)
344350
- [SystemGraphManagementReqAttributes](docs/SystemGraphManagementReqAttributes.md)
345351
- [SystemGraphManagementReqAttributesSudo](docs/SystemGraphManagementReqAttributesSudo.md)
346352
- [SystemGroup](docs/SystemGroup.md)
347353
- [SystemGroupData](docs/SystemGroupData.md)
348354
- [SystemGroupGraphManagementReq](docs/SystemGroupGraphManagementReq.md)
349355
- [SystemGroupMembersReq](docs/SystemGroupMembersReq.md)
356+
- [Systemfdekey](docs/Systemfdekey.md)
357+
- [Systemuser](docs/Systemuser.md)
358+
- [SystemuserAttributes](docs/SystemuserAttributes.md)
359+
- [Systemuserputpost](docs/Systemuserputpost.md)
360+
- [SystemuserputpostAddresses](docs/SystemuserputpostAddresses.md)
361+
- [SystemuserputpostPhoneNumbers](docs/SystemuserputpostPhoneNumbers.md)
350362
- [UserGraphManagementReq](docs/UserGraphManagementReq.md)
351363
- [UserGroup](docs/UserGroup.md)
352364
- [UserGroupGraphManagementReq](docs/UserGroupGraphManagementReq.md)

0 commit comments

Comments
 (0)