Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
shehzad-kore committed May 16, 2023
1 parent 5215c95 commit de9b7b3
Show file tree
Hide file tree
Showing 3 changed files with 79 additions and 79 deletions.
10 changes: 5 additions & 5 deletions OmniCore.sln
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.25420.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OmniCore", "src\OmniCore\OmniCore.csproj", "{83F2333F-BB13-471F-A629-61AF47019436}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OmniCore", "src\OmniCore\OmniCore.csproj", "{5F962A0C-B122-4B64-9B75-A4B0F39822E9}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OmniCore.Test", "src\OmniCore.Test\OmniCore.Test.csproj", "{19F1DEBC-DE5E-4517-8062-F000CD499087}"
EndProject
Expand All @@ -12,10 +12,10 @@ Global
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{83F2333F-BB13-471F-A629-61AF47019436}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{83F2333F-BB13-471F-A629-61AF47019436}.Debug|Any CPU.Build.0 = Debug|Any CPU
{83F2333F-BB13-471F-A629-61AF47019436}.Release|Any CPU.ActiveCfg = Release|Any CPU
{83F2333F-BB13-471F-A629-61AF47019436}.Release|Any CPU.Build.0 = Release|Any CPU
{5F962A0C-B122-4B64-9B75-A4B0F39822E9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{5F962A0C-B122-4B64-9B75-A4B0F39822E9}.Debug|Any CPU.Build.0 = Debug|Any CPU
{5F962A0C-B122-4B64-9B75-A4B0F39822E9}.Release|Any CPU.ActiveCfg = Release|Any CPU
{5F962A0C-B122-4B64-9B75-A4B0F39822E9}.Release|Any CPU.Build.0 = Release|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.Build.0 = Debug|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.ActiveCfg = Release|Any CPU
Expand Down
20 changes: 10 additions & 10 deletions docs/DeviceApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,7 @@ catch (ApiException e)

<a name="getdevice"></a>
# **GetDevice**
> Device GetDevice (string registryId, string subscriptionId, string deviceId)
> Device GetDevice (string subscriptionId, string registryId, string deviceId)


Expand Down Expand Up @@ -674,13 +674,13 @@ namespace Example
config.AccessToken = "YOUR_BEARER_TOKEN";

var apiInstance = new DeviceApi(config);
var registryId = "registryId_example"; // string | Registry ID
var subscriptionId = "subscriptionId_example"; // string | Subscription ID
var registryId = "registryId_example"; // string | Registry ID
var deviceId = "deviceId_example"; // string | Device ID
try
{
Device result = apiInstance.GetDevice(registryId, subscriptionId, deviceId);
Device result = apiInstance.GetDevice(subscriptionId, registryId, deviceId);
Debug.WriteLine(result);
}
catch (ApiException e)
Expand All @@ -700,7 +700,7 @@ This returns an ApiResponse object which contains the response data, status code
```csharp
try
{
ApiResponse<Device> response = apiInstance.GetDeviceWithHttpInfo(registryId, subscriptionId, deviceId);
ApiResponse<Device> response = apiInstance.GetDeviceWithHttpInfo(subscriptionId, registryId, deviceId);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
Expand All @@ -717,8 +717,8 @@ catch (ApiException e)

| Name | Type | Description | Notes |
|------|------|-------------|-------|
| **registryId** | **string** | Registry ID | |
| **subscriptionId** | **string** | Subscription ID | |
| **registryId** | **string** | Registry ID | |
| **deviceId** | **string** | Device ID | |

### Return type
Expand Down Expand Up @@ -747,7 +747,7 @@ catch (ApiException e)

<a name="getdevices"></a>
# **GetDevices**
> ListDevicesResponse GetDevices (string registryId, string subscriptionId, int? pageNumber = null, int? pageSize = null, string fieldMask = null, List<string> deviceIds = null, List<string> deviceNumIds = null, string gatewayListOptionsAssociationsDeviceId = null, string gatewayListOptionsAssociationsGatewayId = null, string gatewayListOptionsGatewayType = null)
> ListDevicesResponse GetDevices (string subscriptionId, string registryId, int? pageNumber = null, int? pageSize = null, string fieldMask = null, List<string> deviceIds = null, List<string> deviceNumIds = null, string gatewayListOptionsAssociationsDeviceId = null, string gatewayListOptionsAssociationsGatewayId = null, string gatewayListOptionsGatewayType = null)


Expand Down Expand Up @@ -777,8 +777,8 @@ namespace Example
config.AccessToken = "YOUR_BEARER_TOKEN";

var apiInstance = new DeviceApi(config);
var registryId = "registryId_example"; // string | Registry ID
var subscriptionId = "subscriptionId_example"; // string | Subscription ID
var registryId = "registryId_example"; // string | Registry ID
var pageNumber = 56; // int? | Page Number (optional)
var pageSize = 56; // int? | The maximum number of devices to return in the response. If this value is zero, the service will select a default size. (optional)
var fieldMask = "fieldMask_example"; // string | The fields of the Device resource to be returned to the response. The fields id and numId are always returned, along with any other fields specified. A comma-separated list of fully qualified names of fields. Example: (optional)
Expand All @@ -790,7 +790,7 @@ namespace Example
try
{
ListDevicesResponse result = apiInstance.GetDevices(registryId, subscriptionId, pageNumber, pageSize, fieldMask, deviceIds, deviceNumIds, gatewayListOptionsAssociationsDeviceId, gatewayListOptionsAssociationsGatewayId, gatewayListOptionsGatewayType);
ListDevicesResponse result = apiInstance.GetDevices(subscriptionId, registryId, pageNumber, pageSize, fieldMask, deviceIds, deviceNumIds, gatewayListOptionsAssociationsDeviceId, gatewayListOptionsAssociationsGatewayId, gatewayListOptionsGatewayType);
Debug.WriteLine(result);
}
catch (ApiException e)
Expand All @@ -810,7 +810,7 @@ This returns an ApiResponse object which contains the response data, status code
```csharp
try
{
ApiResponse<ListDevicesResponse> response = apiInstance.GetDevicesWithHttpInfo(registryId, subscriptionId, pageNumber, pageSize, fieldMask, deviceIds, deviceNumIds, gatewayListOptionsAssociationsDeviceId, gatewayListOptionsAssociationsGatewayId, gatewayListOptionsGatewayType);
ApiResponse<ListDevicesResponse> response = apiInstance.GetDevicesWithHttpInfo(subscriptionId, registryId, pageNumber, pageSize, fieldMask, deviceIds, deviceNumIds, gatewayListOptionsAssociationsDeviceId, gatewayListOptionsAssociationsGatewayId, gatewayListOptionsGatewayType);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
Expand All @@ -827,8 +827,8 @@ catch (ApiException e)

| Name | Type | Description | Notes |
|------|------|-------------|-------|
| **registryId** | **string** | Registry ID | |
| **subscriptionId** | **string** | Subscription ID | |
| **registryId** | **string** | Registry ID | |
| **pageNumber** | **int?** | Page Number | [optional] |
| **pageSize** | **int?** | The maximum number of devices to return in the response. If this value is zero, the service will select a default size. | [optional] |
| **fieldMask** | **string** | The fields of the Device resource to be returned to the response. The fields id and numId are always returned, along with any other fields specified. A comma-separated list of fully qualified names of fields. Example: | [optional] |
Expand Down
Loading

0 comments on commit de9b7b3

Please sign in to comment.