-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated with build 802aa032-5441-4f30-bd0a-e17e37706ecf from OmniCore…
…-SDK-Generator commit c1a13ace8b90c99a2d2d0d530163fa007e07b5f4
- Loading branch information
1 parent
4c9bc62
commit 4dbab46
Showing
40 changed files
with
4,461 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# OmniCore.Model.ListSinks | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**Sinks** | [**List<ListSinksSinksInner>**](ListSinksSinksInner.md) | | [optional] | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# OmniCore.Model.ListSinksSinksInner | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**Id** | **string** | | [optional] [readonly] | ||
**Subscription** | **string** | | [optional] [readonly] | ||
**Sink** | **string** | | [optional] | ||
**Config** | [**ListSinksSinksInnerConfig**](ListSinksSinksInnerConfig.md) | | [optional] | ||
**Status** | **bool** | | [optional] [readonly] | ||
**Createdon** | **string** | | [optional] [readonly] | ||
**Updatedon** | **string** | | [optional] [readonly] | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# OmniCore.Model.ListSinksSinksInnerConfig | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**ConnectionParameter** | **string** | | [optional] | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# OmniCore.Model.Metrics | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**Details** | [**MetricsDetails**](MetricsDetails.md) | | [optional] | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,107 @@ | ||
# OmniCore.Api.MetricsApi | ||
|
||
All URIs are relative to *https://api.korewireless.com/omnicore* | ||
|
||
| Method | HTTP request | Description | | ||
|--------|--------------|-------------| | ||
| [**GetMetrics**](MetricsApi.md#getmetrics) | **GET** /subscriptions/{subscriptionId}/metrics | | | ||
|
||
<a name="getmetrics"></a> | ||
# **GetMetrics** | ||
> Metrics GetMetrics (string subscriptionId) | ||
|
||
|
||
get metrics | ||
|
||
### Example | ||
```csharp | ||
using System.Collections.Generic; | ||
using System.Diagnostics; | ||
using OmniCore.Api; | ||
using OmniCore.Client; | ||
using OmniCore.Model; | ||
|
||
namespace Example | ||
{ | ||
public class GetMetricsExample | ||
{ | ||
public static void Main() | ||
{ | ||
Configuration config = new Configuration(); | ||
config.BasePath = "https://api.korewireless.com/omnicore"; | ||
// Configure API key authorization: apiKey | ||
config.AddApiKey("x-api-key", "YOUR_API_KEY"); | ||
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed | ||
// config.AddApiKeyPrefix("x-api-key", "Bearer"); | ||
// Configure Bearer token for authorization: bearerAuth | ||
config.AccessToken = "YOUR_BEARER_TOKEN"; | ||
|
||
var apiInstance = new MetricsApi(config); | ||
var subscriptionId = "subscriptionId_example"; // string | Subscription ID | ||
try | ||
{ | ||
Metrics result = apiInstance.GetMetrics(subscriptionId); | ||
Debug.WriteLine(result); | ||
} | ||
catch (ApiException e) | ||
{ | ||
Debug.Print("Exception when calling MetricsApi.GetMetrics: " + e.Message); | ||
Debug.Print("Status Code: " + e.ErrorCode); | ||
Debug.Print(e.StackTrace); | ||
} | ||
} | ||
} | ||
} | ||
``` | ||
|
||
#### Using the GetMetricsWithHttpInfo variant | ||
This returns an ApiResponse object which contains the response data, status code and headers. | ||
|
||
```csharp | ||
try | ||
{ | ||
ApiResponse<Metrics> response = apiInstance.GetMetricsWithHttpInfo(subscriptionId); | ||
Debug.Write("Status Code: " + response.StatusCode); | ||
Debug.Write("Response Headers: " + response.Headers); | ||
Debug.Write("Response Body: " + response.Data); | ||
} | ||
catch (ApiException e) | ||
{ | ||
Debug.Print("Exception when calling MetricsApi.GetMetricsWithHttpInfo: " + e.Message); | ||
Debug.Print("Status Code: " + e.ErrorCode); | ||
Debug.Print(e.StackTrace); | ||
} | ||
``` | ||
|
||
### Parameters | ||
|
||
| Name | Type | Description | Notes | | ||
|------|------|-------------|-------| | ||
| **subscriptionId** | **string** | Subscription ID | | | ||
|
||
### Return type | ||
|
||
[**Metrics**](Metrics.md) | ||
|
||
### Authorization | ||
|
||
[apiKey](../README.md#apiKey), [bearerAuth](../README.md#bearerAuth) | ||
|
||
### HTTP request headers | ||
|
||
- **Content-Type**: Not defined | ||
- **Accept**: application/json | ||
|
||
|
||
### HTTP response details | ||
| Status code | Description | Response headers | | ||
|-------------|-------------|------------------| | ||
| **200** | OK | * Access-Control-Allow-Origin - <br> * Access-Control-Allow-Methods - <br> * Access-Control-Allow-Credentials - <br> * Access-Control-Allow-Headers - <br> | | ||
| **400** | Bad Request | * Access-Control-Allow-Origin - <br> * Access-Control-Allow-Methods - <br> * Access-Control-Allow-Credentials - <br> * Access-Control-Allow-Headers - <br> | | ||
| **404** | Not Found | * Access-Control-Allow-Origin - <br> * Access-Control-Allow-Methods - <br> * Access-Control-Allow-Credentials - <br> * Access-Control-Allow-Headers - <br> | | ||
| **500** | Internal Server Error | * Access-Control-Allow-Origin - <br> * Access-Control-Allow-Methods - <br> * Access-Control-Allow-Credentials - <br> * Access-Control-Allow-Headers - <br> | | ||
|
||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# OmniCore.Model.MetricsDetails | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**NoOfMessagesFor30Minutes** | **List<Object>** | | [optional] | ||
**NoOfMessagesFor48Hours** | **List<Object>** | | [optional] | ||
**BillableBytesReceived** | **int** | | [optional] | ||
**BillableBytesSent** | **int** | | [optional] | ||
**BillableMessageSize** | **int** | | [optional] | ||
**BytesReceived** | **int** | | [optional] | ||
**BytesSent** | **int** | | [optional] | ||
**MessageSize** | **int** | | [optional] | ||
**NoOfAckMessages** | **int** | | [optional] | ||
**NoOfCommandMessages** | **int** | | [optional] | ||
**NoOfConfigMessages** | **int** | | [optional] | ||
**NoOfDeviceConnectionsFailed** | **int** | | [optional] | ||
**NoOfDevices** | **int** | | [optional] | ||
**NoOfDisConnections** | **int** | | [optional] | ||
**NoOfEventMessages** | **int** | | [optional] | ||
**NoOfGatewayConnectionsFailed** | **int** | | [optional] | ||
**NoOfGateways** | **int** | | [optional] | ||
**NoOfLoopBackMessages** | **int** | | [optional] | ||
**NoOfMessages** | **int** | | [optional] | ||
**NoOfPublishErrors** | **int** | | [optional] | ||
**NoOfRegistries** | **int** | | [optional] | ||
**NoOfStateMessages** | **int** | | [optional] | ||
**NoOfSubscribe** | **int** | | [optional] | ||
**NoOfSuccessfulConnections** | **int** | | [optional] | ||
**NoOfUnSubscribe** | **int** | | [optional] | ||
**SubscriptionId** | **string** | | [optional] | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# OmniCore.Model.Sink | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**Id** | **string** | | [optional] [readonly] | ||
**Subscription** | **string** | | [optional] [readonly] | ||
**_Sink** | **string** | | [optional] | ||
**Config** | [**ListSinksSinksInnerConfig**](ListSinksSinksInnerConfig.md) | | [optional] | ||
**Status** | **bool** | | [optional] [readonly] | ||
**Createdon** | **string** | | [optional] [readonly] | ||
**Updatedon** | **string** | | [optional] [readonly] | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
Oops, something went wrong.