Skip to content

Commit

Permalink
Merge pull request #26 from TheJumpCloud/OG-531_regenerate-for-duo
Browse files Browse the repository at this point in the history
Regenerate SDKs
  • Loading branch information
lshupejc authored Nov 25, 2019
2 parents 7597459 + ed2e1be commit 2a32391
Show file tree
Hide file tree
Showing 327 changed files with 15,445 additions and 3,245 deletions.
2 changes: 1 addition & 1 deletion config_v1.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"packageName": "jcapiv1",
"packageVersion": "3.3.0",
"packageVersion": "4.0.0",
"groupId": "com.jumpcloud",
"name": "jcapi-java-client",
"artifactId": "jcapi-java-client",
Expand Down
2 changes: 1 addition & 1 deletion config_v2.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"packageName": "jcapiv2",
"packageVersion": "3.3.0",
"packageVersion": "4.0.0",
"groupId": "com.jumpcloud",
"name": "jcapi-java-client",
"artifactId": "jcapi-java-client",
Expand Down
17 changes: 17 additions & 0 deletions jcapiv1/.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>jcapiv1</name>
<comment>Project jcapiv1 created by Buildship.</comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.buildship.core.gradleprojectbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
</natures>
</projectDescription>
38 changes: 24 additions & 14 deletions jcapiv1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,32 +61,37 @@ Please follow the [installation](#installation) instruction and execute the foll
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ApplicationsApi;
import io.swagger.client.api.ApplicationTemplatesApi;

import java.io.File;
import java.util.*;

public class ApplicationsApiExample {
public class ApplicationTemplatesApiExample {

public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();

// Configure API key authorization: x-api-key
ApiKeyAuth x_api_key = (ApiKeyAuth) defaultClient.getAuthentication("x-api-key");
x_api_key.setApiKey("YOUR API KEY");
ApiKeyAuth x-api-key = (ApiKeyAuth) defaultClient.getAuthentication("x-api-key");
x-api-key.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//x_api_key.setApiKeyPrefix("Token");
//x-api-key.setApiKeyPrefix("Token");

ApplicationsApi apiInstance = new ApplicationsApi();
ApplicationTemplatesApi apiInstance = new ApplicationTemplatesApi();
String id = "id_example"; // String |
String contentType = "contentType_example"; // String |
String accept = "accept_example"; // String |
String xOrgId = "xOrgId_example"; // String |
String contentType = "application/json"; // String |
String accept = "application/json"; // String |
String fields = "fields_example"; // String | The comma separated fields included in the returned records. If omitted the default list of fields will be returned.
Integer limit = 56; // Integer | The number of records to return at once.
Integer skip = 56; // Integer | The offset into the records to return.
String sort = "The comma separated fields used to sort the collection. Default sort is ascending, prefix with - to sort descending."; // String |
String filter = "filter_example"; // String | A filter to apply to the query.
String xOrgId = ""; // String |
try {
Application result = apiInstance.applicationsDelete(id, contentType, accept, xOrgId);
Applicationtemplate result = apiInstance.applicationTemplatesGet(id, contentType, accept, fields, limit, skip, sort, filter, xOrgId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ApplicationsApi#applicationsDelete");
System.err.println("Exception when calling ApplicationTemplatesApi#applicationTemplatesGet");
e.printStackTrace();
}
}
Expand All @@ -100,6 +105,8 @@ All URIs are relative to *https://console.jumpcloud.com/api*

Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*ApplicationTemplatesApi* | [**applicationTemplatesGet**](docs/ApplicationTemplatesApi.md#applicationTemplatesGet) | **GET** /application-templates/{id} | Get an Application Template
*ApplicationTemplatesApi* | [**applicationTemplatesList**](docs/ApplicationTemplatesApi.md#applicationTemplatesList) | **GET** /application-templates | List Application Templates
*ApplicationsApi* | [**applicationsDelete**](docs/ApplicationsApi.md#applicationsDelete) | **DELETE** /applications/{id} | Delete an Application
*ApplicationsApi* | [**applicationsGet**](docs/ApplicationsApi.md#applicationsGet) | **GET** /applications/{id} | Get an Application
*ApplicationsApi* | [**applicationsList**](docs/ApplicationsApi.md#applicationsList) | **GET** /applications | Applications
Expand All @@ -112,13 +119,13 @@ Class | Method | HTTP request | Description
*CommandsApi* | [**commandFileGet**](docs/CommandsApi.md#commandFileGet) | **GET** /files/command/{id} | Get a Command File
*CommandsApi* | [**commandsDelete**](docs/CommandsApi.md#commandsDelete) | **DELETE** /commands/{id} | Delete a Command
*CommandsApi* | [**commandsGet**](docs/CommandsApi.md#commandsGet) | **GET** /commands/{id} | List an individual Command
*CommandsApi* | [**commandsList**](docs/CommandsApi.md#commandsList) | **GET** /commands/ | List All Commands
*CommandsApi* | [**commandsPost**](docs/CommandsApi.md#commandsPost) | **POST** /commands/ | Create A Command
*CommandsApi* | [**commandsList**](docs/CommandsApi.md#commandsList) | **GET** /commands | List All Commands
*CommandsApi* | [**commandsPost**](docs/CommandsApi.md#commandsPost) | **POST** /commands | Create A Command
*CommandsApi* | [**commandsPut**](docs/CommandsApi.md#commandsPut) | **PUT** /commands/{id} | Update a Command
*OrganizationsApi* | [**organizationList**](docs/OrganizationsApi.md#organizationList) | **GET** /organizations | Get Organization Details
*RadiusServersApi* | [**radiusServersList**](docs/RadiusServersApi.md#radiusServersList) | **GET** /radiusservers | List Radius Servers
*RadiusServersApi* | [**radiusServersPost**](docs/RadiusServersApi.md#radiusServersPost) | **POST** /radiusservers | Create a Radius Server
*RadiusServersApi* | [**radiusServersPut**](docs/RadiusServersApi.md#radiusServersPut) | **PUT** /radiusservers:id | Update Radius Servers
*RadiusServersApi* | [**radiusServersPut**](docs/RadiusServersApi.md#radiusServersPut) | **PUT** /radiusservers/{id} | Update Radius Servers
*SearchApi* | [**searchOrganizationsPost**](docs/SearchApi.md#searchOrganizationsPost) | **POST** /search/organizations | Search Organizations
*SearchApi* | [**searchSystemsPost**](docs/SearchApi.md#searchSystemsPost) | **POST** /search/systems | Search Systems
*SearchApi* | [**searchSystemusersPost**](docs/SearchApi.md#searchSystemusersPost) | **POST** /search/systemusers | Search System Users
Expand Down Expand Up @@ -158,6 +165,9 @@ Class | Method | HTTP request | Description
- [ApplicationConfigConstantAttributesValue](docs/ApplicationConfigConstantAttributesValue.md)
- [ApplicationConfigDatabaseAttributes](docs/ApplicationConfigDatabaseAttributes.md)
- [Applicationslist](docs/Applicationslist.md)
- [Applicationtemplate](docs/Applicationtemplate.md)
- [ApplicationtemplateJit](docs/ApplicationtemplateJit.md)
- [Applicationtemplateslist](docs/Applicationtemplateslist.md)
- [Body](docs/Body.md)
- [Body1](docs/Body1.md)
- [Command](docs/Command.md)
Expand Down
2 changes: 1 addition & 1 deletion jcapiv1/docs/Application.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **String** | | [optional]
**active** | **Boolean** | | [optional]
**beta** | **Boolean** | | [optional]
**config** | [**ApplicationConfig**](ApplicationConfig.md) | | [optional]
**displayLabel** | **String** | | [optional]
**displayName** | **String** | | [optional]
Expand Down
1 change: 1 addition & 0 deletions jcapiv1/docs/ApplicationConfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Name | Type | Description | Notes
**databaseAttributes** | [**ApplicationConfigDatabaseAttributes**](ApplicationConfigDatabaseAttributes.md) | | [optional]
**idpCertificate** | [**ApplicationConfigAcsUrl**](ApplicationConfigAcsUrl.md) | | [optional]
**idpEntityId** | [**ApplicationConfigAcsUrl**](ApplicationConfigAcsUrl.md) | | [optional]
**idpPrivateKey** | [**ApplicationConfigAcsUrl**](ApplicationConfigAcsUrl.md) | | [optional]
**spEntityId** | [**ApplicationConfigAcsUrl**](ApplicationConfigAcsUrl.md) | | [optional]


Expand Down
150 changes: 150 additions & 0 deletions jcapiv1/docs/ApplicationTemplatesApi.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,150 @@
# ApplicationTemplatesApi

All URIs are relative to *https://console.jumpcloud.com/api*

Method | HTTP request | Description
------------- | ------------- | -------------
[**applicationTemplatesGet**](ApplicationTemplatesApi.md#applicationTemplatesGet) | **GET** /application-templates/{id} | Get an Application Template
[**applicationTemplatesList**](ApplicationTemplatesApi.md#applicationTemplatesList) | **GET** /application-templates | List Application Templates


<a name="applicationTemplatesGet"></a>
# **applicationTemplatesGet**
> Applicationtemplate applicationTemplatesGet(id, contentType, accept, fields, limit, skip, sort, filter, xOrgId)
Get an Application Template

The endpoint returns a specific SSO / SAML Application Template. #### Sample Request &#x60;&#x60;&#x60; curl -X GET https://console.jumpcloud.com/api/application-templates/{id} \\ -H &#39;Accept: application/json&#39; \\ -H &#39;Content-Type: application/json&#39; \\ -H &#39;x-api-key: {API_KEY}&#39; &#x60;&#x60;&#x60;

### Example
```java
// Import classes:
//import io.swagger.client.ApiClient;
//import io.swagger.client.ApiException;
//import io.swagger.client.Configuration;
//import io.swagger.client.auth.*;
//import io.swagger.client.api.ApplicationTemplatesApi;

ApiClient defaultClient = Configuration.getDefaultApiClient();

// Configure API key authorization: x-api-key
ApiKeyAuth x-api-key = (ApiKeyAuth) defaultClient.getAuthentication("x-api-key");
x-api-key.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//x-api-key.setApiKeyPrefix("Token");

ApplicationTemplatesApi apiInstance = new ApplicationTemplatesApi();
String id = "id_example"; // String |
String contentType = "application/json"; // String |
String accept = "application/json"; // String |
String fields = "fields_example"; // String | The comma separated fields included in the returned records. If omitted the default list of fields will be returned.
Integer limit = 56; // Integer | The number of records to return at once.
Integer skip = 56; // Integer | The offset into the records to return.
String sort = "The comma separated fields used to sort the collection. Default sort is ascending, prefix with - to sort descending."; // String |
String filter = "filter_example"; // String | A filter to apply to the query.
String xOrgId = ""; // String |
try {
Applicationtemplate result = apiInstance.applicationTemplatesGet(id, contentType, accept, fields, limit, skip, sort, filter, xOrgId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ApplicationTemplatesApi#applicationTemplatesGet");
e.printStackTrace();
}
```

### Parameters

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**id** | **String**| |
**contentType** | **String**| | [default to application/json]
**accept** | **String**| | [default to application/json]
**fields** | **String**| The comma separated fields included in the returned records. If omitted the default list of fields will be returned. | [optional]
**limit** | **Integer**| The number of records to return at once. | [optional]
**skip** | **Integer**| The offset into the records to return. | [optional]
**sort** | **String**| | [optional] [default to The comma separated fields used to sort the collection. Default sort is ascending, prefix with - to sort descending.]
**filter** | **String**| A filter to apply to the query. | [optional]
**xOrgId** | **String**| | [optional] [default to ]

### Return type

[**Applicationtemplate**](Applicationtemplate.md)

### Authorization

[x-api-key](../README.md#x-api-key)

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json

<a name="applicationTemplatesList"></a>
# **applicationTemplatesList**
> Applicationtemplateslist applicationTemplatesList(contentType, accept, fields, limit, skip, sort, filter, xOrgId)
List Application Templates

The endpoint returns all the SSO / SAML Application Templates. #### Sample Request &#x60;&#x60;&#x60; curl -X GET https://console.jumpcloud.com/api/application-templates \\ -H &#39;Accept: application/json&#39; \\ -H &#39;Content-Type: application/json&#39; \\ -H &#39;x-api-key: {API_KEY}&#39; &#x60;&#x60;&#x60;

### Example
```java
// Import classes:
//import io.swagger.client.ApiClient;
//import io.swagger.client.ApiException;
//import io.swagger.client.Configuration;
//import io.swagger.client.auth.*;
//import io.swagger.client.api.ApplicationTemplatesApi;

ApiClient defaultClient = Configuration.getDefaultApiClient();

// Configure API key authorization: x-api-key
ApiKeyAuth x-api-key = (ApiKeyAuth) defaultClient.getAuthentication("x-api-key");
x-api-key.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//x-api-key.setApiKeyPrefix("Token");

ApplicationTemplatesApi apiInstance = new ApplicationTemplatesApi();
String contentType = "application/json"; // String |
String accept = "application/json"; // String |
String fields = "fields_example"; // String | The comma separated fields included in the returned records. If omitted the default list of fields will be returned.
Integer limit = 56; // Integer | The number of records to return at once.
Integer skip = 56; // Integer | The offset into the records to return.
String sort = "The comma separated fields used to sort the collection. Default sort is ascending, prefix with - to sort descending."; // String |
String filter = "filter_example"; // String | A filter to apply to the query.
String xOrgId = ""; // String |
try {
Applicationtemplateslist result = apiInstance.applicationTemplatesList(contentType, accept, fields, limit, skip, sort, filter, xOrgId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ApplicationTemplatesApi#applicationTemplatesList");
e.printStackTrace();
}
```

### Parameters

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**contentType** | **String**| | [default to application/json]
**accept** | **String**| | [default to application/json]
**fields** | **String**| The comma separated fields included in the returned records. If omitted the default list of fields will be returned. | [optional]
**limit** | **Integer**| The number of records to return at once. | [optional]
**skip** | **Integer**| The offset into the records to return. | [optional]
**sort** | **String**| | [optional] [default to The comma separated fields used to sort the collection. Default sort is ascending, prefix with - to sort descending.]
**filter** | **String**| A filter to apply to the query. | [optional]
**xOrgId** | **String**| | [optional] [default to ]

### Return type

[**Applicationtemplateslist**](Applicationtemplateslist.md)

### Authorization

[x-api-key](../README.md#x-api-key)

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json

32 changes: 16 additions & 16 deletions jcapiv1/docs/ApplicationsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ The endpoint deletes an SSO / SAML Application.
ApiClient defaultClient = Configuration.getDefaultApiClient();

// Configure API key authorization: x-api-key
ApiKeyAuth x_api_key = (ApiKeyAuth) defaultClient.getAuthentication("x-api-key");
x_api_key.setApiKey("YOUR API KEY");
ApiKeyAuth x-api-key = (ApiKeyAuth) defaultClient.getAuthentication("x-api-key");
x-api-key.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//x_api_key.setApiKeyPrefix("Token");
//x-api-key.setApiKeyPrefix("Token");

ApplicationsApi apiInstance = new ApplicationsApi();
String id = "id_example"; // String |
Expand Down Expand Up @@ -92,10 +92,10 @@ The endpoint retrieves an SSO / SAML Application.
ApiClient defaultClient = Configuration.getDefaultApiClient();

// Configure API key authorization: x-api-key
ApiKeyAuth x_api_key = (ApiKeyAuth) defaultClient.getAuthentication("x-api-key");
x_api_key.setApiKey("YOUR API KEY");
ApiKeyAuth x-api-key = (ApiKeyAuth) defaultClient.getAuthentication("x-api-key");
x-api-key.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//x_api_key.setApiKeyPrefix("Token");
//x-api-key.setApiKeyPrefix("Token");

ApplicationsApi apiInstance = new ApplicationsApi();
String id = "id_example"; // String |
Expand Down Expand Up @@ -139,7 +139,7 @@ Name | Type | Description | Notes
Applications

The endpoint returns all your SSO / SAML Applications. #### Sample Request &#x60;&#x60;&#x60; curl -X GET https://console.jumpcloud.com/api/applications \\ -H &#39;Accept: application/json&#39; \\ -H &#39;Content-Type: application/json&#39; \\ -H &#39;x-api-key: {API_KEY}&#39; &#x60;&#x60;&#x60;
The endpoint returns all your SSO / SAML Applications. #### Sample Request &#x60;&#x60;&#x60; curl -X GET https://console.jumpcloud.com/api/applications \\ -H &#39;Accept: application/json&#39; \\ -H &#39;Content-Type: application/json&#39; \\ -H &#39;x-api-key: {API_KEY}&#39; &#x60;&#x60;&#x60;

### Example
```java
Expand All @@ -153,10 +153,10 @@ The endpoint returns all your SSO / SAML Applications. #### Sample Request &#x6
ApiClient defaultClient = Configuration.getDefaultApiClient();

// Configure API key authorization: x-api-key
ApiKeyAuth x_api_key = (ApiKeyAuth) defaultClient.getAuthentication("x-api-key");
x_api_key.setApiKey("YOUR API KEY");
ApiKeyAuth x-api-key = (ApiKeyAuth) defaultClient.getAuthentication("x-api-key");
x-api-key.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//x_api_key.setApiKeyPrefix("Token");
//x-api-key.setApiKeyPrefix("Token");

ApplicationsApi apiInstance = new ApplicationsApi();
String contentType = "application/json"; // String |
Expand Down Expand Up @@ -222,10 +222,10 @@ The endpoint adds a new SSO / SAML Applications.
ApiClient defaultClient = Configuration.getDefaultApiClient();

// Configure API key authorization: x-api-key
ApiKeyAuth x_api_key = (ApiKeyAuth) defaultClient.getAuthentication("x-api-key");
x_api_key.setApiKey("YOUR API KEY");
ApiKeyAuth x-api-key = (ApiKeyAuth) defaultClient.getAuthentication("x-api-key");
x-api-key.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//x_api_key.setApiKeyPrefix("Token");
//x-api-key.setApiKeyPrefix("Token");

ApplicationsApi apiInstance = new ApplicationsApi();
Application body = new Application(); // Application |
Expand Down Expand Up @@ -283,10 +283,10 @@ The endpoint updates a SSO / SAML Application.
ApiClient defaultClient = Configuration.getDefaultApiClient();

// Configure API key authorization: x-api-key
ApiKeyAuth x_api_key = (ApiKeyAuth) defaultClient.getAuthentication("x-api-key");
x_api_key.setApiKey("YOUR API KEY");
ApiKeyAuth x-api-key = (ApiKeyAuth) defaultClient.getAuthentication("x-api-key");
x-api-key.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//x_api_key.setApiKeyPrefix("Token");
//x-api-key.setApiKeyPrefix("Token");

ApplicationsApi apiInstance = new ApplicationsApi();
String id = "id_example"; // String |
Expand Down
Loading

0 comments on commit 2a32391

Please sign in to comment.