Skip to content

Commit 7231fe7

Browse files
committed
Regenerate v2 API using latest Swagger specification
1 parent e87a0ea commit 7231fe7

Some content is hidden

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

56 files changed

+720
-823
lines changed

config_v2.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"packageName": "v2",
3-
"packageVersion": "1.30.0"
3+
"packageVersion": "1.32.0"
44
}

v2/README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
This API client was generated by the [swagger-codegen](https://github.com/swagger-api/swagger-codegen) project. By using the [swagger-spec](https://github.com/swagger-api/swagger-spec) from a remote server, you can easily generate an API client.
77

88
- API version: 2.0
9-
- Package version: 1.31.0
9+
- Package version: 1.32.0
1010
- Build package: io.swagger.codegen.languages.GoClientCodegen
1111

1212
## Installation
@@ -142,10 +142,10 @@ Class | Method | HTTP request | Description
142142
*PoliciesApi* | [**PoliciesPost**](docs/PoliciesApi.md#policiespost) | **Post** /policies | Create a new Policy
143143
*PoliciesApi* | [**PoliciesPut**](docs/PoliciesApi.md#policiesput) | **Put** /policies/{id} | Update an existing Policy
144144
*PoliciesApi* | [**PolicyresultsGet**](docs/PoliciesApi.md#policyresultsget) | **Get** /policyresults/{id} | Get a specific Policy Result.
145-
*PoliciesApi* | [**PolicyresultsList**](docs/PoliciesApi.md#policyresultslist) | **Get** /policyresults | Lists all the policy results for an organization.
146-
*PoliciesApi* | [**PolicyresultsList_0**](docs/PoliciesApi.md#policyresultslist_0) | **Get** /policies/{policy_id}/policyresults | Lists all the policy results of a policy.
147-
*PoliciesApi* | [**PolicystatusesList**](docs/PoliciesApi.md#policystatuseslist) | **Get** /policies/{policy_id}/policystatuses | Lists the latest policy results of a policy.
148-
*PoliciesApi* | [**PolicystatusesList_0**](docs/PoliciesApi.md#policystatuseslist_0) | **Get** /systems/{system_id}/policystatuses | List the policy statuses for a system
145+
*PoliciesApi* | [**PolicyresultsList**](docs/PoliciesApi.md#policyresultslist) | **Get** /policies/{policy_id}/policyresults | Lists all the policy results of a policy.
146+
*PoliciesApi* | [**PolicyresultsList_0**](docs/PoliciesApi.md#policyresultslist_0) | **Get** /policyresults | Lists all the policy results for an organization.
147+
*PoliciesApi* | [**PolicystatusesList**](docs/PoliciesApi.md#policystatuseslist) | **Get** /systems/{system_id}/policystatuses | List the policy statuses for a system
148+
*PoliciesApi* | [**PolicystatusesList_0**](docs/PoliciesApi.md#policystatuseslist_0) | **Get** /policies/{policy_id}/policystatuses | Lists the latest policy results of a policy.
149149
*PoliciesApi* | [**PolicytemplatesGet**](docs/PoliciesApi.md#policytemplatesget) | **Get** /policytemplates/{id} | Get a specific Policy Template
150150
*PoliciesApi* | [**PolicytemplatesList**](docs/PoliciesApi.md#policytemplateslist) | **Get** /policytemplates | Lists all of the Policy Templates
151151
*PolicytemplatesApi* | [**PolicytemplatesGet**](docs/PolicytemplatesApi.md#policytemplatesget) | **Get** /policytemplates/{id} | Get a specific Policy Template
@@ -223,7 +223,7 @@ Class | Method | HTTP request | Description
223223
*UserGroupsApi* | [**GraphUserGroupTraverseSystem**](docs/UserGroupsApi.md#graphusergrouptraversesystem) | **Get** /usergroups/{group_id}/systems | List the Systems bound to a User Group
224224
*UserGroupsApi* | [**GraphUserGroupTraverseSystemGroup**](docs/UserGroupsApi.md#graphusergrouptraversesystemgroup) | **Get** /usergroups/{group_id}/systemgroups | List the System Groups bound to User Groups
225225
*UserGroupsApi* | [**GroupsUserDelete**](docs/UserGroupsApi.md#groupsuserdelete) | **Delete** /usergroups/{id} | Delete a User Group
226-
*UserGroupsApi* | [**GroupsUserGet**](docs/UserGroupsApi.md#groupsuserget) | **Get** /usergroups/{id} | View an indvidual User Group details
226+
*UserGroupsApi* | [**GroupsUserGet**](docs/UserGroupsApi.md#groupsuserget) | **Get** /usergroups/{id} | View an individual User Group details
227227
*UserGroupsApi* | [**GroupsUserList**](docs/UserGroupsApi.md#groupsuserlist) | **Get** /usergroups | List all User Groups
228228
*UserGroupsApi* | [**GroupsUserPatch**](docs/UserGroupsApi.md#groupsuserpatch) | **Patch** /usergroups/{id} | Partial update a User Group
229229
*UserGroupsApi* | [**GroupsUserPost**](docs/UserGroupsApi.md#groupsuserpost) | **Post** /usergroups | Create a new User Group

v2/active_directory_api.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ func (a *ActiveDirectoryApiService) ActivedirectoriesPost(ctx context.Context, c
405405
}
406406

407407
/* ActiveDirectoryApiService List the associations of an Active Directory instance
408-
This endpoint returns the direct associations of this Active Directory instance. A direct association can be a non-homogenous relationship between 2 different objects. For example Active Directory and Users. #### Sample Request ``` curl -X GET 'https://console.jumpcloud.com/api/v2/activedirectories/{ActiveDirectory_ID}/associations?targets=user \\ -H 'accept: application/json' \\ -H 'content-type: application/json' \\ -H 'x-api-key: {API_KEY}' ```
408+
This endpoint returns the direct associations of this Active Directory instance. A direct association can be a non-homogeneous relationship between 2 different objects, for example Active Directory and Users. #### Sample Request ``` curl -X GET 'https://console.jumpcloud.com/api/v2/activedirectories/{ActiveDirectory_ID}/associations?targets=user \\ -H 'accept: application/json' \\ -H 'content-type: application/json' \\ -H 'x-api-key: {API_KEY}' ```
409409
* @param ctx context.Context for authentication, logging, tracing, etc.
410410
@param activedirectoryId
411411
@param targets
@@ -510,7 +510,7 @@ func (a *ActiveDirectoryApiService) GraphActiveDirectoryAssociationsList(ctx con
510510
}
511511

512512
/* ActiveDirectoryApiService Manage the associations of an Active Directory instance
513-
This endpoint allows you to manage the _direct_ associations of an Active Directory instance. A direct association can be a non-homogenous relationship between 2 different objects. For example Active Directory and Users. #### Sample Request ``` curl -X POST https://console.jumpcloud.com/api/v2/activedirectories/{AD_Instance_ID}/associations \\ -H 'accept: application/json' \\ -H 'content-type: application/json' \\ -H 'x-api-key: {API_KEY}' \\ -d '{ \"op\": \"add\", \"type\": \"user\", \"id\": \"{User_ID}\" } ' ```
513+
This endpoint allows you to manage the _direct_ associations of an Active Directory instance. A direct association can be a non-homogeneous relationship between 2 different objects, for example Active Directory and Users. #### Sample Request ``` curl -X POST https://console.jumpcloud.com/api/v2/activedirectories/{AD_Instance_ID}/associations \\ -H 'accept: application/json' \\ -H 'content-type: application/json' \\ -H 'x-api-key: {API_KEY}' \\ -d '{ \"op\": \"add\", \"type\": \"user\", \"id\": \"{User_ID}\" } ' ```
514514
* @param ctx context.Context for authentication, logging, tracing, etc.
515515
@param activedirectoryId
516516
@param contentType

0 commit comments

Comments
 (0)