DeviceSet
+
+
devicesetDevicePut
@@ -1285,78 +1286,82 @@ margin-bottom: 20px;Usage and SDK Samples
-
-
curl -X PUT "http://localhost:10010/sdrangel/deviceset/{deviceSetIndex}/device"
+
+
- curl -X PUT "http://localhost:8091/sdrangel/deviceset/{deviceSetIndex}/device"
-
import io.swagger.client.*;
-import io.swagger.client.auth.*;
-import io.swagger.client.model.*;
-import io.swagger.client.api.DefaultApi;
+
+ import SWGSDRangel.*;
+import SWGSDRangel.auth.*;
+import SWGSDRangel.model.*;
+import SWGSDRangel.api.DeviceSetApi;
import java.io.File;
import java.util.*;
-public class DefaultApiExample {
+public class DeviceSetApiExample {
public static void main(String[] args) {
- DefaultApi apiInstance = new DefaultApi();
+ DeviceSetApi apiInstance = new DeviceSetApi();
Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
+ DeviceListItem body = ; // DeviceListItem | Device item to look for. Give values for only the fields you want to search for among displayedName, hwType, serial, sequence and deviceSetIndex. For integers except tx set to -1 to ignore the field. It will match the first device found.
try {
- DeviceSet result = apiInstance.devicesetDevicePut(deviceSetIndex);
+ DeviceListItem result = apiInstance.devicesetDevicePut(deviceSetIndex, body);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#devicesetDevicePut");
+ System.err.println("Exception when calling DeviceSetApi#devicesetDevicePut");
e.printStackTrace();
}
}
}
-
- import io.swagger.client.api.DefaultApi;
+
+ import SWGSDRangel.api.DeviceSetApi;
-public class DefaultApiExample {
+public class DeviceSetApiExample {
public static void main(String[] args) {
- DefaultApi apiInstance = new DefaultApi();
+ DeviceSetApi apiInstance = new DeviceSetApi();
Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
+ DeviceListItem body = ; // DeviceListItem | Device item to look for. Give values for only the fields you want to search for among displayedName, hwType, serial, sequence and deviceSetIndex. For integers except tx set to -1 to ignore the field. It will match the first device found.
try {
- DeviceSet result = apiInstance.devicesetDevicePut(deviceSetIndex);
+ DeviceListItem result = apiInstance.devicesetDevicePut(deviceSetIndex, body);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#devicesetDevicePut");
+ System.err.println("Exception when calling DeviceSetApi#devicesetDevicePut");
e.printStackTrace();
}
}
}
-
+
Integer *deviceSetIndex = 56; // Index of device set in the device set list
+DeviceListItem *body = ; // Device item to look for. Give values for only the fields you want to search for among displayedName, hwType, serial, sequence and deviceSetIndex. For integers except tx set to -1 to ignore the field. It will match the first device found.
-DefaultApi *apiInstance = [[DefaultApi alloc] init];
+DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];
[apiInstance devicesetDevicePutWith:deviceSetIndex
- completionHandler: ^(DeviceSet output, NSError* error) {
+ body:body
+ completionHandler: ^(DeviceListItem output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
@@ -1367,13 +1372,15 @@ DefaultApi *apiInstance = [[DefaultApi alloc] init];
-
+
var SdRangel = require('sd_rangel');
-var api = new SdRangel.DefaultApi()
+var api = new SdRangel.DeviceSetApi()
var deviceSetIndex = 56; // {Integer} Index of device set in the device set list
+var body = ; // {DeviceListItem} Device item to look for. Give values for only the fields you want to search for among displayedName, hwType, serial, sequence and deviceSetIndex. For integers except tx set to -1 to ignore the field. It will match the first device found.
+
var callback = function(error, data, response) {
if (error) {
@@ -1382,19 +1389,19 @@ var callback = function(error, data, response) {
console.log('API called successfully. Returned data: ' + data);
}
};
-api.devicesetDevicePut(deviceSetIndex, callback);
+api.devicesetDevicePut(deviceSetIndex, body, callback);
-
-
+
using System;
using System.Diagnostics;
-using IO.Swagger.Api;
-using IO.Swagger.Client;
-using IO.Swagger.Model;
+using SWGSDRangel.Api;
+using SWGSDRangel.Client;
+using SWGSDRangel.Model;
namespace Example
{
@@ -1403,17 +1410,18 @@ namespace Example
public void main()
{
- var apiInstance = new DefaultApi();
+ var apiInstance = new DeviceSetApi();
var deviceSetIndex = 56; // Integer | Index of device set in the device set list
+ var body = new DeviceListItem(); // DeviceListItem | Device item to look for. Give values for only the fields you want to search for among displayedName, hwType, serial, sequence and deviceSetIndex. For integers except tx set to -1 to ignore the field. It will match the first device found.
try
{
- DeviceSet result = apiInstance.devicesetDevicePut(deviceSetIndex);
+ DeviceListItem result = apiInstance.devicesetDevicePut(deviceSetIndex, body);
Debug.WriteLine(result);
}
catch (Exception e)
{
- Debug.Print("Exception when calling DefaultApi.devicesetDevicePut: " + e.Message );
+ Debug.Print("Exception when calling DeviceSetApi.devicesetDevicePut: " + e.Message );
}
}
}
@@ -1421,55 +1429,58 @@ namespace Example
-
+
<?php
require_once(__DIR__ . '/vendor/autoload.php');
-$api_instance = new Swagger\Client\Api\DefaultApi();
+$api_instance = new Swagger\Client\Api\DeviceSetApi();
$deviceSetIndex = 56; // Integer | Index of device set in the device set list
+$body = ; // DeviceListItem | Device item to look for. Give values for only the fields you want to search for among displayedName, hwType, serial, sequence and deviceSetIndex. For integers except tx set to -1 to ignore the field. It will match the first device found.
try {
- $result = $api_instance->devicesetDevicePut($deviceSetIndex);
+ $result = $api_instance->devicesetDevicePut($deviceSetIndex, $body);
print_r($result);
} catch (Exception $e) {
- echo 'Exception when calling DefaultApi->devicesetDevicePut: ', $e->getMessage(), PHP_EOL;
+ echo 'Exception when calling DeviceSetApi->devicesetDevicePut: ', $e->getMessage(), PHP_EOL;
}
?>
-
+
use Data::Dumper;
-use WWW::SwaggerClient::Configuration;
-use WWW::SwaggerClient::DefaultApi;
+use SWGSDRangel::Configuration;
+use SWGSDRangel::DeviceSetApi;
-my $api_instance = WWW::SwaggerClient::DefaultApi->new();
+my $api_instance = SWGSDRangel::DeviceSetApi->new();
my $deviceSetIndex = 56; # Integer | Index of device set in the device set list
+my $body = SWGSDRangel::Object::DeviceListItem->new(); # DeviceListItem | Device item to look for. Give values for only the fields you want to search for among displayedName, hwType, serial, sequence and deviceSetIndex. For integers except tx set to -1 to ignore the field. It will match the first device found.
eval {
- my $result = $api_instance->devicesetDevicePut(deviceSetIndex => $deviceSetIndex);
+ my $result = $api_instance->devicesetDevicePut(deviceSetIndex => $deviceSetIndex, body => $body);
print Dumper($result);
};
if ($@) {
- warn "Exception when calling DefaultApi->devicesetDevicePut: $@\n";
+ warn "Exception when calling DeviceSetApi->devicesetDevicePut: $@\n";
}
-
+
from __future__ import print_statement
import time
-import swagger_client
-from swagger_client.rest import ApiException
+import swagger_sdrangel
+from swagger_sdrangel.rest import ApiException
from pprint import pprint
# create an instance of the API class
-api_instance = swagger_client.DefaultApi()
+api_instance = swagger_sdrangel.DeviceSetApi()
deviceSetIndex = 56 # Integer | Index of device set in the device set list
+body = # DeviceListItem | Device item to look for. Give values for only the fields you want to search for among displayedName, hwType, serial, sequence and deviceSetIndex. For integers except tx set to -1 to ignore the field. It will match the first device found.
try:
- api_response = api_instance.deviceset_device_put(deviceSetIndex)
+ api_response = api_instance.deviceset_device_put(deviceSetIndex, body)
pprint(api_response)
except ApiException as e:
- print("Exception when calling DefaultApi->devicesetDevicePut: %s\n" % e)
+ print("Exception when calling DeviceSetApi->devicesetDevicePut: %s\n" % e)
@@ -1507,11 +1518,53 @@ except ApiException as e:
+ Body parameters
+
+
+ Name
+ Description
+
+ body *
+
+
+
+
+
+
+
+
+
Responses
- Status: 200 - On success return details on the device set
+ Status: 200 - On success return details on the selected device
+
+
+
+
Status: 404 - Invalid device set index or device not found
-
-
+
+
devicesetGet
@@ -1668,75 +1764,75 @@ except ApiException as e:
Usage and SDK Samples
-
- curl -X GET "http://localhost:10010/sdrangel/deviceset/{deviceSetIndex}"
+
+ curl -X GET "http://localhost:8091/sdrangel/deviceset/{deviceSetIndex}"
-
- import io.swagger.client.*;
-import io.swagger.client.auth.*;
-import io.swagger.client.model.*;
-import io.swagger.client.api.DefaultApi;
+
+ import SWGSDRangel.*;
+import SWGSDRangel.auth.*;
+import SWGSDRangel.model.*;
+import SWGSDRangel.api.DeviceSetApi;
import java.io.File;
import java.util.*;
-public class DefaultApiExample {
+public class DeviceSetApiExample {
public static void main(String[] args) {
- DefaultApi apiInstance = new DefaultApi();
+ DeviceSetApi apiInstance = new DeviceSetApi();
Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
try {
DeviceSet result = apiInstance.devicesetGet(deviceSetIndex);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#devicesetGet");
+ System.err.println("Exception when calling DeviceSetApi#devicesetGet");
e.printStackTrace();
}
}
}
-
- import io.swagger.client.api.DefaultApi;
+
+ import SWGSDRangel.api.DeviceSetApi;
-public class DefaultApiExample {
+public class DeviceSetApiExample {
public static void main(String[] args) {
- DefaultApi apiInstance = new DefaultApi();
+ DeviceSetApi apiInstance = new DeviceSetApi();
Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
try {
DeviceSet result = apiInstance.devicesetGet(deviceSetIndex);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#devicesetGet");
+ System.err.println("Exception when calling DeviceSetApi#devicesetGet");
e.printStackTrace();
}
}
}
-
+
Integer *deviceSetIndex = 56; // Index of device set in the device set list
-DefaultApi *apiInstance = [[DefaultApi alloc] init];
+DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];
[apiInstance devicesetGetWith:deviceSetIndex
completionHandler: ^(DeviceSet output, NSError* error) {
@@ -1750,10 +1846,10 @@ DefaultApi *apiInstance = [[DefaultApi alloc] init];
-
+
var SdRangel = require('sd_rangel');
-var api = new SdRangel.DefaultApi()
+var api = new SdRangel.DeviceSetApi()
var deviceSetIndex = 56; // {Integer} Index of device set in the device set list
@@ -1769,15 +1865,15 @@ api.devicesetGet(deviceSetIndex, callback);
-
-
+
using System;
using System.Diagnostics;
-using IO.Swagger.Api;
-using IO.Swagger.Client;
-using IO.Swagger.Model;
+using SWGSDRangel.Api;
+using SWGSDRangel.Client;
+using SWGSDRangel.Model;
namespace Example
{
@@ -1786,7 +1882,7 @@ namespace Example
public void main()
{
- var apiInstance = new DefaultApi();
+ var apiInstance = new DeviceSetApi();
var deviceSetIndex = 56; // Integer | Index of device set in the device set list
try
@@ -1796,7 +1892,7 @@ namespace Example
}
catch (Exception e)
{
- Debug.Print("Exception when calling DefaultApi.devicesetGet: " + e.Message );
+ Debug.Print("Exception when calling DeviceSetApi.devicesetGet: " + e.Message );
}
}
}
@@ -1804,28 +1900,28 @@ namespace Example
-
+
<?php
require_once(__DIR__ . '/vendor/autoload.php');
-$api_instance = new Swagger\Client\Api\DefaultApi();
+$api_instance = new Swagger\Client\Api\DeviceSetApi();
$deviceSetIndex = 56; // Integer | Index of device set in the device set list
try {
$result = $api_instance->devicesetGet($deviceSetIndex);
print_r($result);
} catch (Exception $e) {
- echo 'Exception when calling DefaultApi->devicesetGet: ', $e->getMessage(), PHP_EOL;
+ echo 'Exception when calling DeviceSetApi->devicesetGet: ', $e->getMessage(), PHP_EOL;
}
?>
-
+
use Data::Dumper;
-use WWW::SwaggerClient::Configuration;
-use WWW::SwaggerClient::DefaultApi;
+use SWGSDRangel::Configuration;
+use SWGSDRangel::DeviceSetApi;
-my $api_instance = WWW::SwaggerClient::DefaultApi->new();
+my $api_instance = SWGSDRangel::DeviceSetApi->new();
my $deviceSetIndex = 56; # Integer | Index of device set in the device set list
eval {
@@ -1833,26 +1929,26 @@ eval {
print Dumper($result);
};
if ($@) {
- warn "Exception when calling DefaultApi->devicesetGet: $@\n";
+ warn "Exception when calling DeviceSetApi->devicesetGet: $@\n";
}
-
+
from __future__ import print_statement
import time
-import swagger_client
-from swagger_client.rest import ApiException
+import swagger_sdrangel
+from swagger_sdrangel.rest import ApiException
from pprint import pprint
# create an instance of the API class
-api_instance = swagger_client.DefaultApi()
+api_instance = swagger_sdrangel.DeviceSetApi()
deviceSetIndex = 56 # Integer | Index of device set in the device set list
try:
api_response = api_instance.deviceset_get(deviceSetIndex)
pprint(api_response)
except ApiException as e:
- print("Exception when calling DefaultApi->devicesetGet: %s\n" % e)
+ print("Exception when calling DeviceSetApi->devicesetGet: %s\n" % e)
@@ -2034,8 +2130,11 @@ except ApiException as e:
-
-
+
+
+ Instance
+
+
instanceAudioGet
@@ -2051,72 +2150,72 @@ except ApiException as e:
Usage and SDK Samples
-
- curl -X GET "http://localhost:10010/sdrangel/audio"
+
+ curl -X GET "http://localhost:8091/sdrangel/audio"
-
- import io.swagger.client.*;
-import io.swagger.client.auth.*;
-import io.swagger.client.model.*;
-import io.swagger.client.api.DefaultApi;
+
+ import SWGSDRangel.*;
+import SWGSDRangel.auth.*;
+import SWGSDRangel.model.*;
+import SWGSDRangel.api.InstanceApi;
import java.io.File;
import java.util.*;
-public class DefaultApiExample {
+public class InstanceApiExample {
public static void main(String[] args) {
- DefaultApi apiInstance = new DefaultApi();
+ InstanceApi apiInstance = new InstanceApi();
try {
AudioDevices result = apiInstance.instanceAudioGet();
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#instanceAudioGet");
+ System.err.println("Exception when calling InstanceApi#instanceAudioGet");
e.printStackTrace();
}
}
}
-
- import io.swagger.client.api.DefaultApi;
+
+ import SWGSDRangel.api.InstanceApi;
-public class DefaultApiExample {
+public class InstanceApiExample {
public static void main(String[] args) {
- DefaultApi apiInstance = new DefaultApi();
+ InstanceApi apiInstance = new InstanceApi();
try {
AudioDevices result = apiInstance.instanceAudioGet();
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#instanceAudioGet");
+ System.err.println("Exception when calling InstanceApi#instanceAudioGet");
e.printStackTrace();
}
}
}
-
+
-DefaultApi *apiInstance = [[DefaultApi alloc] init];
+InstanceApi *apiInstance = [[InstanceApi alloc] init];
[apiInstance instanceAudioGetWithCompletionHandler:
^(AudioDevices output, NSError* error) {
@@ -2130,10 +2229,10 @@ DefaultApi *apiInstance = [[DefaultApi alloc] init];
-
+
var SdRangel = require('sd_rangel');
-var api = new SdRangel.DefaultApi()
+var api = new SdRangel.InstanceApi()
var callback = function(error, data, response) {
if (error) {
@@ -2146,15 +2245,15 @@ api.instanceAudioGet(callback);
-
-
+
using System;
using System.Diagnostics;
-using IO.Swagger.Api;
-using IO.Swagger.Client;
-using IO.Swagger.Model;
+using SWGSDRangel.Api;
+using SWGSDRangel.Client;
+using SWGSDRangel.Model;
namespace Example
{
@@ -2163,7 +2262,7 @@ namespace Example
public void main()
{
- var apiInstance = new DefaultApi();
+ var apiInstance = new InstanceApi();
try
{
@@ -2172,7 +2271,7 @@ namespace Example
}
catch (Exception e)
{
- Debug.Print("Exception when calling DefaultApi.instanceAudioGet: " + e.Message );
+ Debug.Print("Exception when calling InstanceApi.instanceAudioGet: " + e.Message );
}
}
}
@@ -2180,52 +2279,52 @@ namespace Example
-
+
<?php
require_once(__DIR__ . '/vendor/autoload.php');
-$api_instance = new Swagger\Client\Api\DefaultApi();
+$api_instance = new Swagger\Client\Api\InstanceApi();
try {
$result = $api_instance->instanceAudioGet();
print_r($result);
} catch (Exception $e) {
- echo 'Exception when calling DefaultApi->instanceAudioGet: ', $e->getMessage(), PHP_EOL;
+ echo 'Exception when calling InstanceApi->instanceAudioGet: ', $e->getMessage(), PHP_EOL;
}
?>
-
+
use Data::Dumper;
-use WWW::SwaggerClient::Configuration;
-use WWW::SwaggerClient::DefaultApi;
+use SWGSDRangel::Configuration;
+use SWGSDRangel::InstanceApi;
-my $api_instance = WWW::SwaggerClient::DefaultApi->new();
+my $api_instance = SWGSDRangel::InstanceApi->new();
eval {
my $result = $api_instance->instanceAudioGet();
print Dumper($result);
};
if ($@) {
- warn "Exception when calling DefaultApi->instanceAudioGet: $@\n";
+ warn "Exception when calling InstanceApi->instanceAudioGet: $@\n";
}
-
+
from __future__ import print_statement
import time
-import swagger_client
-from swagger_client.rest import ApiException
+import swagger_sdrangel
+from swagger_sdrangel.rest import ApiException
from pprint import pprint
# create an instance of the API class
-api_instance = swagger_client.DefaultApi()
+api_instance = swagger_sdrangel.InstanceApi()
try:
api_response = api_instance.instance_audio_get()
pprint(api_response)
except ApiException as e:
- print("Exception when calling DefaultApi->instanceAudioGet: %s\n" % e)
+ print("Exception when calling InstanceApi->instanceAudioGet: %s\n" % e)
@@ -2334,8 +2433,8 @@ except ApiException as e:
-
-
+
+
instanceAudioPatch
@@ -2351,75 +2450,75 @@ except ApiException as e:
Usage and SDK Samples
-
- curl -X PATCH "http://localhost:10010/sdrangel/audio"
+
+ curl -X PATCH "http://localhost:8091/sdrangel/audio"
-
- import io.swagger.client.*;
-import io.swagger.client.auth.*;
-import io.swagger.client.model.*;
-import io.swagger.client.api.DefaultApi;
+
+ import SWGSDRangel.*;
+import SWGSDRangel.auth.*;
+import SWGSDRangel.model.*;
+import SWGSDRangel.api.InstanceApi;
import java.io.File;
import java.util.*;
-public class DefaultApiExample {
+public class InstanceApiExample {
public static void main(String[] args) {
- DefaultApi apiInstance = new DefaultApi();
+ InstanceApi apiInstance = new InstanceApi();
AudioDevicesSelect body = ; // AudioDevicesSelect | Select audio devices to use for this instance
try {
AudioDevicesSelect result = apiInstance.instanceAudioPatch(body);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#instanceAudioPatch");
+ System.err.println("Exception when calling InstanceApi#instanceAudioPatch");
e.printStackTrace();
}
}
}
-
- import io.swagger.client.api.DefaultApi;
+
+ import SWGSDRangel.api.InstanceApi;
-public class DefaultApiExample {
+public class InstanceApiExample {
public static void main(String[] args) {
- DefaultApi apiInstance = new DefaultApi();
+ InstanceApi apiInstance = new InstanceApi();
AudioDevicesSelect body = ; // AudioDevicesSelect | Select audio devices to use for this instance
try {
AudioDevicesSelect result = apiInstance.instanceAudioPatch(body);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#instanceAudioPatch");
+ System.err.println("Exception when calling InstanceApi#instanceAudioPatch");
e.printStackTrace();
}
}
}
-
+
AudioDevicesSelect *body = ; // Select audio devices to use for this instance
-DefaultApi *apiInstance = [[DefaultApi alloc] init];
+InstanceApi *apiInstance = [[InstanceApi alloc] init];
[apiInstance instanceAudioPatchWith:body
completionHandler: ^(AudioDevicesSelect output, NSError* error) {
@@ -2433,10 +2532,10 @@ DefaultApi *apiInstance = [[DefaultApi alloc] init];
-
+
var SdRangel = require('sd_rangel');
-var api = new SdRangel.DefaultApi()
+var api = new SdRangel.InstanceApi()
var body = ; // {AudioDevicesSelect} Select audio devices to use for this instance
@@ -2452,15 +2551,15 @@ api.instanceAudioPatch(body, callback);
-
-
+
using System;
using System.Diagnostics;
-using IO.Swagger.Api;
-using IO.Swagger.Client;
-using IO.Swagger.Model;
+using SWGSDRangel.Api;
+using SWGSDRangel.Client;
+using SWGSDRangel.Model;
namespace Example
{
@@ -2469,7 +2568,7 @@ namespace Example
public void main()
{
- var apiInstance = new DefaultApi();
+ var apiInstance = new InstanceApi();
var body = new AudioDevicesSelect(); // AudioDevicesSelect | Select audio devices to use for this instance
try
@@ -2479,7 +2578,7 @@ namespace Example
}
catch (Exception e)
{
- Debug.Print("Exception when calling DefaultApi.instanceAudioPatch: " + e.Message );
+ Debug.Print("Exception when calling InstanceApi.instanceAudioPatch: " + e.Message );
}
}
}
@@ -2487,55 +2586,55 @@ namespace Example
-
+
<?php
require_once(__DIR__ . '/vendor/autoload.php');
-$api_instance = new Swagger\Client\Api\DefaultApi();
+$api_instance = new Swagger\Client\Api\InstanceApi();
$body = ; // AudioDevicesSelect | Select audio devices to use for this instance
try {
$result = $api_instance->instanceAudioPatch($body);
print_r($result);
} catch (Exception $e) {
- echo 'Exception when calling DefaultApi->instanceAudioPatch: ', $e->getMessage(), PHP_EOL;
+ echo 'Exception when calling InstanceApi->instanceAudioPatch: ', $e->getMessage(), PHP_EOL;
}
?>
-
+
use Data::Dumper;
-use WWW::SwaggerClient::Configuration;
-use WWW::SwaggerClient::DefaultApi;
+use SWGSDRangel::Configuration;
+use SWGSDRangel::InstanceApi;
-my $api_instance = WWW::SwaggerClient::DefaultApi->new();
-my $body = WWW::SwaggerClient::Object::AudioDevicesSelect->new(); # AudioDevicesSelect | Select audio devices to use for this instance
+my $api_instance = SWGSDRangel::InstanceApi->new();
+my $body = SWGSDRangel::Object::AudioDevicesSelect->new(); # AudioDevicesSelect | Select audio devices to use for this instance
eval {
my $result = $api_instance->instanceAudioPatch(body => $body);
print Dumper($result);
};
if ($@) {
- warn "Exception when calling DefaultApi->instanceAudioPatch: $@\n";
+ warn "Exception when calling InstanceApi->instanceAudioPatch: $@\n";
}
-
+
from __future__ import print_statement
import time
-import swagger_client
-from swagger_client.rest import ApiException
+import swagger_sdrangel
+from swagger_sdrangel.rest import ApiException
from pprint import pprint
# create an instance of the API class
-api_instance = swagger_client.DefaultApi()
+api_instance = swagger_sdrangel.InstanceApi()
body = # AudioDevicesSelect | Select audio devices to use for this instance
try:
api_response = api_instance.instance_audio_patch(body)
pprint(api_response)
except ApiException as e:
- print("Exception when calling DefaultApi->instanceAudioPatch: %s\n" % e)
+ print("Exception when calling InstanceApi->instanceAudioPatch: %s\n" % e)
@@ -2686,8 +2785,8 @@ $(document).ready(function() {
-
-
+
+
instanceChannels
@@ -2703,75 +2802,75 @@ $(document).ready(function() {
Usage and SDK Samples
-
- curl -X GET "http://localhost:10010/sdrangel/channels?tx="
+
+ curl -X GET "http://localhost:8091/sdrangel/channels?tx="
-
- import io.swagger.client.*;
-import io.swagger.client.auth.*;
-import io.swagger.client.model.*;
-import io.swagger.client.api.DefaultApi;
+
+ import SWGSDRangel.*;
+import SWGSDRangel.auth.*;
+import SWGSDRangel.model.*;
+import SWGSDRangel.api.InstanceApi;
import java.io.File;
import java.util.*;
-public class DefaultApiExample {
+public class InstanceApiExample {
public static void main(String[] args) {
- DefaultApi apiInstance = new DefaultApi();
+ InstanceApi apiInstance = new InstanceApi();
Integer tx = 56; // Integer | Set to non zero (true) for Tx channels (default Rx)
try {
InstanceChannelsResponse result = apiInstance.instanceChannels(tx);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#instanceChannels");
+ System.err.println("Exception when calling InstanceApi#instanceChannels");
e.printStackTrace();
}
}
}
-
- import io.swagger.client.api.DefaultApi;
+
+ import SWGSDRangel.api.InstanceApi;
-public class DefaultApiExample {
+public class InstanceApiExample {
public static void main(String[] args) {
- DefaultApi apiInstance = new DefaultApi();
+ InstanceApi apiInstance = new InstanceApi();
Integer tx = 56; // Integer | Set to non zero (true) for Tx channels (default Rx)
try {
InstanceChannelsResponse result = apiInstance.instanceChannels(tx);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#instanceChannels");
+ System.err.println("Exception when calling InstanceApi#instanceChannels");
e.printStackTrace();
}
}
}
-
+
Integer *tx = 56; // Set to non zero (true) for Tx channels (default Rx) (optional)
-DefaultApi *apiInstance = [[DefaultApi alloc] init];
+InstanceApi *apiInstance = [[InstanceApi alloc] init];
[apiInstance instanceChannelsWith:tx
completionHandler: ^(InstanceChannelsResponse output, NSError* error) {
@@ -2785,10 +2884,10 @@ DefaultApi *apiInstance = [[DefaultApi alloc] init];
-
+
var SdRangel = require('sd_rangel');
-var api = new SdRangel.DefaultApi()
+var api = new SdRangel.InstanceApi()
var opts = {
'tx': 56 // {Integer} Set to non zero (true) for Tx channels (default Rx)
@@ -2805,15 +2904,15 @@ api.instanceChannels(opts, callback);
-
-
+
using System;
using System.Diagnostics;
-using IO.Swagger.Api;
-using IO.Swagger.Client;
-using IO.Swagger.Model;
+using SWGSDRangel.Api;
+using SWGSDRangel.Client;
+using SWGSDRangel.Model;
namespace Example
{
@@ -2822,7 +2921,7 @@ namespace Example
public void main()
{
- var apiInstance = new DefaultApi();
+ var apiInstance = new InstanceApi();
var tx = 56; // Integer | Set to non zero (true) for Tx channels (default Rx) (optional)
try
@@ -2832,7 +2931,7 @@ namespace Example
}
catch (Exception e)
{
- Debug.Print("Exception when calling DefaultApi.instanceChannels: " + e.Message );
+ Debug.Print("Exception when calling InstanceApi.instanceChannels: " + e.Message );
}
}
}
@@ -2840,28 +2939,28 @@ namespace Example
-
+
<?php
require_once(__DIR__ . '/vendor/autoload.php');
-$api_instance = new Swagger\Client\Api\DefaultApi();
+$api_instance = new Swagger\Client\Api\InstanceApi();
$tx = 56; // Integer | Set to non zero (true) for Tx channels (default Rx)
try {
$result = $api_instance->instanceChannels($tx);
print_r($result);
} catch (Exception $e) {
- echo 'Exception when calling DefaultApi->instanceChannels: ', $e->getMessage(), PHP_EOL;
+ echo 'Exception when calling InstanceApi->instanceChannels: ', $e->getMessage(), PHP_EOL;
}
?>
-
+
use Data::Dumper;
-use WWW::SwaggerClient::Configuration;
-use WWW::SwaggerClient::DefaultApi;
+use SWGSDRangel::Configuration;
+use SWGSDRangel::InstanceApi;
-my $api_instance = WWW::SwaggerClient::DefaultApi->new();
+my $api_instance = SWGSDRangel::InstanceApi->new();
my $tx = 56; # Integer | Set to non zero (true) for Tx channels (default Rx)
eval {
@@ -2869,26 +2968,26 @@ eval {
print Dumper($result);
};
if ($@) {
- warn "Exception when calling DefaultApi->instanceChannels: $@\n";
+ warn "Exception when calling InstanceApi->instanceChannels: $@\n";
}
-
+
from __future__ import print_statement
import time
-import swagger_client
-from swagger_client.rest import ApiException
+import swagger_sdrangel
+from swagger_sdrangel.rest import ApiException
from pprint import pprint
# create an instance of the API class
-api_instance = swagger_client.DefaultApi()
+api_instance = swagger_sdrangel.InstanceApi()
tx = 56 # Integer | Set to non zero (true) for Tx channels (default Rx) (optional)
try:
api_response = api_instance.instance_channels(tx=tx)
pprint(api_response)
except ApiException as e:
- print("Exception when calling DefaultApi->instanceChannels: %s\n" % e)
+ print("Exception when calling InstanceApi->instanceChannels: %s\n" % e)
@@ -3024,8 +3123,8 @@ except ApiException as e:
-
-
+
+
instanceDVSerialPatch
@@ -3041,75 +3140,75 @@ except ApiException as e:
Usage and SDK Samples
-
- curl -X PATCH "http://localhost:10010/sdrangel/dvserial?dvserial="
+
+ curl -X PATCH "http://localhost:8091/sdrangel/dvserial?dvserial="
-
- import io.swagger.client.*;
-import io.swagger.client.auth.*;
-import io.swagger.client.model.*;
-import io.swagger.client.api.DefaultApi;
+
+ import SWGSDRangel.*;
+import SWGSDRangel.auth.*;
+import SWGSDRangel.model.*;
+import SWGSDRangel.api.InstanceApi;
import java.io.File;
import java.util.*;
-public class DefaultApiExample {
+public class InstanceApiExample {
public static void main(String[] args) {
- DefaultApi apiInstance = new DefaultApi();
+ InstanceApi apiInstance = new InstanceApi();
Integer dvserial = 56; // Integer | Set to non zero (true) to set DV serial processing
try {
DVSeralDevices result = apiInstance.instanceDVSerialPatch(dvserial);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#instanceDVSerialPatch");
+ System.err.println("Exception when calling InstanceApi#instanceDVSerialPatch");
e.printStackTrace();
}
}
}
-
- import io.swagger.client.api.DefaultApi;
+
+ import SWGSDRangel.api.InstanceApi;
-public class DefaultApiExample {
+public class InstanceApiExample {
public static void main(String[] args) {
- DefaultApi apiInstance = new DefaultApi();
+ InstanceApi apiInstance = new InstanceApi();
Integer dvserial = 56; // Integer | Set to non zero (true) to set DV serial processing
try {
DVSeralDevices result = apiInstance.instanceDVSerialPatch(dvserial);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#instanceDVSerialPatch");
+ System.err.println("Exception when calling InstanceApi#instanceDVSerialPatch");
e.printStackTrace();
}
}
}
-
+
Integer *dvserial = 56; // Set to non zero (true) to set DV serial processing (optional)
-DefaultApi *apiInstance = [[DefaultApi alloc] init];
+InstanceApi *apiInstance = [[InstanceApi alloc] init];
[apiInstance instanceDVSerialPatchWith:dvserial
completionHandler: ^(DVSeralDevices output, NSError* error) {
@@ -3123,10 +3222,10 @@ DefaultApi *apiInstance = [[DefaultApi alloc] init];
-
+
var SdRangel = require('sd_rangel');
-var api = new SdRangel.DefaultApi()
+var api = new SdRangel.InstanceApi()
var opts = {
'dvserial': 56 // {Integer} Set to non zero (true) to set DV serial processing
@@ -3143,15 +3242,15 @@ api.instanceDVSerialPatch(opts, callback);
-
-
+
using System;
using System.Diagnostics;
-using IO.Swagger.Api;
-using IO.Swagger.Client;
-using IO.Swagger.Model;
+using SWGSDRangel.Api;
+using SWGSDRangel.Client;
+using SWGSDRangel.Model;
namespace Example
{
@@ -3160,7 +3259,7 @@ namespace Example
public void main()
{
- var apiInstance = new DefaultApi();
+ var apiInstance = new InstanceApi();
var dvserial = 56; // Integer | Set to non zero (true) to set DV serial processing (optional)
try
@@ -3170,7 +3269,7 @@ namespace Example
}
catch (Exception e)
{
- Debug.Print("Exception when calling DefaultApi.instanceDVSerialPatch: " + e.Message );
+ Debug.Print("Exception when calling InstanceApi.instanceDVSerialPatch: " + e.Message );
}
}
}
@@ -3178,28 +3277,28 @@ namespace Example
-
+
<?php
require_once(__DIR__ . '/vendor/autoload.php');
-$api_instance = new Swagger\Client\Api\DefaultApi();
+$api_instance = new Swagger\Client\Api\InstanceApi();
$dvserial = 56; // Integer | Set to non zero (true) to set DV serial processing
try {
$result = $api_instance->instanceDVSerialPatch($dvserial);
print_r($result);
} catch (Exception $e) {
- echo 'Exception when calling DefaultApi->instanceDVSerialPatch: ', $e->getMessage(), PHP_EOL;
+ echo 'Exception when calling InstanceApi->instanceDVSerialPatch: ', $e->getMessage(), PHP_EOL;
}
?>
-
+
use Data::Dumper;
-use WWW::SwaggerClient::Configuration;
-use WWW::SwaggerClient::DefaultApi;
+use SWGSDRangel::Configuration;
+use SWGSDRangel::InstanceApi;
-my $api_instance = WWW::SwaggerClient::DefaultApi->new();
+my $api_instance = SWGSDRangel::InstanceApi->new();
my $dvserial = 56; # Integer | Set to non zero (true) to set DV serial processing
eval {
@@ -3207,26 +3306,26 @@ eval {
print Dumper($result);
};
if ($@) {
- warn "Exception when calling DefaultApi->instanceDVSerialPatch: $@\n";
+ warn "Exception when calling InstanceApi->instanceDVSerialPatch: $@\n";
}
-
+
from __future__ import print_statement
import time
-import swagger_client
-from swagger_client.rest import ApiException
+import swagger_sdrangel
+from swagger_sdrangel.rest import ApiException
from pprint import pprint
# create an instance of the API class
-api_instance = swagger_client.DefaultApi()
+api_instance = swagger_sdrangel.InstanceApi()
dvserial = 56 # Integer | Set to non zero (true) to set DV serial processing (optional)
try:
api_response = api_instance.instance_dv_serial_patch(dvserial=dvserial)
pprint(api_response)
except ApiException as e:
- print("Exception when calling DefaultApi->instanceDVSerialPatch: %s\n" % e)
+ print("Exception when calling InstanceApi->instanceDVSerialPatch: %s\n" % e)
@@ -3362,8 +3461,8 @@ except ApiException as e:
-
-
+
+
instanceDeviceSetsDelete
@@ -3379,72 +3478,72 @@ except ApiException as e:
Usage and SDK Samples
-
- curl -X DELETE "http://localhost:10010/sdrangel/devicesets"
+
+ curl -X DELETE "http://localhost:8091/sdrangel/devicesets"
-
- import io.swagger.client.*;
-import io.swagger.client.auth.*;
-import io.swagger.client.model.*;
-import io.swagger.client.api.DefaultApi;
+
+ import SWGSDRangel.*;
+import SWGSDRangel.auth.*;
+import SWGSDRangel.model.*;
+import SWGSDRangel.api.InstanceApi;
import java.io.File;
import java.util.*;
-public class DefaultApiExample {
+public class InstanceApiExample {
public static void main(String[] args) {
- DefaultApi apiInstance = new DefaultApi();
+ InstanceApi apiInstance = new InstanceApi();
try {
DeviceSetList result = apiInstance.instanceDeviceSetsDelete();
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#instanceDeviceSetsDelete");
+ System.err.println("Exception when calling InstanceApi#instanceDeviceSetsDelete");
e.printStackTrace();
}
}
}
-
- import io.swagger.client.api.DefaultApi;
+
+ import SWGSDRangel.api.InstanceApi;
-public class DefaultApiExample {
+public class InstanceApiExample {
public static void main(String[] args) {
- DefaultApi apiInstance = new DefaultApi();
+ InstanceApi apiInstance = new InstanceApi();
try {
DeviceSetList result = apiInstance.instanceDeviceSetsDelete();
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#instanceDeviceSetsDelete");
+ System.err.println("Exception when calling InstanceApi#instanceDeviceSetsDelete");
e.printStackTrace();
}
}
}
-
+
-DefaultApi *apiInstance = [[DefaultApi alloc] init];
+InstanceApi *apiInstance = [[InstanceApi alloc] init];
[apiInstance instanceDeviceSetsDeleteWithCompletionHandler:
^(DeviceSetList output, NSError* error) {
@@ -3458,10 +3557,10 @@ DefaultApi *apiInstance = [[DefaultApi alloc] init];
-
+
var SdRangel = require('sd_rangel');
-var api = new SdRangel.DefaultApi()
+var api = new SdRangel.InstanceApi()
var callback = function(error, data, response) {
if (error) {
@@ -3474,15 +3573,15 @@ api.instanceDeviceSetsDelete(callback);
-
-
+
using System;
using System.Diagnostics;
-using IO.Swagger.Api;
-using IO.Swagger.Client;
-using IO.Swagger.Model;
+using SWGSDRangel.Api;
+using SWGSDRangel.Client;
+using SWGSDRangel.Model;
namespace Example
{
@@ -3491,7 +3590,7 @@ namespace Example
public void main()
{
- var apiInstance = new DefaultApi();
+ var apiInstance = new InstanceApi();
try
{
@@ -3500,7 +3599,7 @@ namespace Example
}
catch (Exception e)
{
- Debug.Print("Exception when calling DefaultApi.instanceDeviceSetsDelete: " + e.Message );
+ Debug.Print("Exception when calling InstanceApi.instanceDeviceSetsDelete: " + e.Message );
}
}
}
@@ -3508,52 +3607,52 @@ namespace Example
-
+
<?php
require_once(__DIR__ . '/vendor/autoload.php');
-$api_instance = new Swagger\Client\Api\DefaultApi();
+$api_instance = new Swagger\Client\Api\InstanceApi();
try {
$result = $api_instance->instanceDeviceSetsDelete();
print_r($result);
} catch (Exception $e) {
- echo 'Exception when calling DefaultApi->instanceDeviceSetsDelete: ', $e->getMessage(), PHP_EOL;
+ echo 'Exception when calling InstanceApi->instanceDeviceSetsDelete: ', $e->getMessage(), PHP_EOL;
}
?>
-
+
use Data::Dumper;
-use WWW::SwaggerClient::Configuration;
-use WWW::SwaggerClient::DefaultApi;
+use SWGSDRangel::Configuration;
+use SWGSDRangel::InstanceApi;
-my $api_instance = WWW::SwaggerClient::DefaultApi->new();
+my $api_instance = SWGSDRangel::InstanceApi->new();
eval {
my $result = $api_instance->instanceDeviceSetsDelete();
print Dumper($result);
};
if ($@) {
- warn "Exception when calling DefaultApi->instanceDeviceSetsDelete: $@\n";
+ warn "Exception when calling InstanceApi->instanceDeviceSetsDelete: $@\n";
}
-
+
from __future__ import print_statement
import time
-import swagger_client
-from swagger_client.rest import ApiException
+import swagger_sdrangel
+from swagger_sdrangel.rest import ApiException
from pprint import pprint
# create an instance of the API class
-api_instance = swagger_client.DefaultApi()
+api_instance = swagger_sdrangel.InstanceApi()
try:
api_response = api_instance.instance_device_sets_delete()
pprint(api_response)
except ApiException as e:
- print("Exception when calling DefaultApi->instanceDeviceSetsDelete: %s\n" % e)
+ print("Exception when calling InstanceApi->instanceDeviceSetsDelete: %s\n" % e)
@@ -3705,8 +3804,8 @@ except ApiException as e:
-
-
+
+
instanceDeviceSetsGet
@@ -3722,72 +3821,72 @@ except ApiException as e:
Usage and SDK Samples
-
- curl -X GET "http://localhost:10010/sdrangel/devicesets"
+
+ curl -X GET "http://localhost:8091/sdrangel/devicesets"
-
- import io.swagger.client.*;
-import io.swagger.client.auth.*;
-import io.swagger.client.model.*;
-import io.swagger.client.api.DefaultApi;
+
+ import SWGSDRangel.*;
+import SWGSDRangel.auth.*;
+import SWGSDRangel.model.*;
+import SWGSDRangel.api.InstanceApi;
import java.io.File;
import java.util.*;
-public class DefaultApiExample {
+public class InstanceApiExample {
public static void main(String[] args) {
- DefaultApi apiInstance = new DefaultApi();
+ InstanceApi apiInstance = new InstanceApi();
try {
DeviceSetList result = apiInstance.instanceDeviceSetsGet();
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#instanceDeviceSetsGet");
+ System.err.println("Exception when calling InstanceApi#instanceDeviceSetsGet");
e.printStackTrace();
}
}
}
-
- import io.swagger.client.api.DefaultApi;
+
+ import SWGSDRangel.api.InstanceApi;
-public class DefaultApiExample {
+public class InstanceApiExample {
public static void main(String[] args) {
- DefaultApi apiInstance = new DefaultApi();
+ InstanceApi apiInstance = new InstanceApi();
try {
DeviceSetList result = apiInstance.instanceDeviceSetsGet();
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#instanceDeviceSetsGet");
+ System.err.println("Exception when calling InstanceApi#instanceDeviceSetsGet");
e.printStackTrace();
}
}
}
-
+
-DefaultApi *apiInstance = [[DefaultApi alloc] init];
+InstanceApi *apiInstance = [[InstanceApi alloc] init];
[apiInstance instanceDeviceSetsGetWithCompletionHandler:
^(DeviceSetList output, NSError* error) {
@@ -3801,10 +3900,10 @@ DefaultApi *apiInstance = [[DefaultApi alloc] init];
-
+
var SdRangel = require('sd_rangel');
-var api = new SdRangel.DefaultApi()
+var api = new SdRangel.InstanceApi()
var callback = function(error, data, response) {
if (error) {
@@ -3817,15 +3916,15 @@ api.instanceDeviceSetsGet(callback);
-
-
+
using System;
using System.Diagnostics;
-using IO.Swagger.Api;
-using IO.Swagger.Client;
-using IO.Swagger.Model;
+using SWGSDRangel.Api;
+using SWGSDRangel.Client;
+using SWGSDRangel.Model;
namespace Example
{
@@ -3834,7 +3933,7 @@ namespace Example
public void main()
{
- var apiInstance = new DefaultApi();
+ var apiInstance = new InstanceApi();
try
{
@@ -3843,7 +3942,7 @@ namespace Example
}
catch (Exception e)
{
- Debug.Print("Exception when calling DefaultApi.instanceDeviceSetsGet: " + e.Message );
+ Debug.Print("Exception when calling InstanceApi.instanceDeviceSetsGet: " + e.Message );
}
}
}
@@ -3851,52 +3950,52 @@ namespace Example
-
+
<?php
require_once(__DIR__ . '/vendor/autoload.php');
-$api_instance = new Swagger\Client\Api\DefaultApi();
+$api_instance = new Swagger\Client\Api\InstanceApi();
try {
$result = $api_instance->instanceDeviceSetsGet();
print_r($result);
} catch (Exception $e) {
- echo 'Exception when calling DefaultApi->instanceDeviceSetsGet: ', $e->getMessage(), PHP_EOL;
+ echo 'Exception when calling InstanceApi->instanceDeviceSetsGet: ', $e->getMessage(), PHP_EOL;
}
?>
-
+
use Data::Dumper;
-use WWW::SwaggerClient::Configuration;
-use WWW::SwaggerClient::DefaultApi;
+use SWGSDRangel::Configuration;
+use SWGSDRangel::InstanceApi;
-my $api_instance = WWW::SwaggerClient::DefaultApi->new();
+my $api_instance = SWGSDRangel::InstanceApi->new();
eval {
my $result = $api_instance->instanceDeviceSetsGet();
print Dumper($result);
};
if ($@) {
- warn "Exception when calling DefaultApi->instanceDeviceSetsGet: $@\n";
+ warn "Exception when calling InstanceApi->instanceDeviceSetsGet: $@\n";
}
-
+
from __future__ import print_statement
import time
-import swagger_client
-from swagger_client.rest import ApiException
+import swagger_sdrangel
+from swagger_sdrangel.rest import ApiException
from pprint import pprint
# create an instance of the API class
-api_instance = swagger_client.DefaultApi()
+api_instance = swagger_sdrangel.InstanceApi()
try:
api_response = api_instance.instance_device_sets_get()
pprint(api_response)
except ApiException as e:
- print("Exception when calling DefaultApi->instanceDeviceSetsGet: %s\n" % e)
+ print("Exception when calling InstanceApi->instanceDeviceSetsGet: %s\n" % e)
@@ -4005,8 +4104,8 @@ except ApiException as e:
-
-
+
+
instanceDeviceSetsPost
@@ -4022,75 +4121,75 @@ except ApiException as e:
Usage and SDK Samples
-
- curl -X POST "http://localhost:10010/sdrangel/devicesets?tx="
+
+ curl -X POST "http://localhost:8091/sdrangel/devicesets?tx="
-
- import io.swagger.client.*;
-import io.swagger.client.auth.*;
-import io.swagger.client.model.*;
-import io.swagger.client.api.DefaultApi;
+
+ import SWGSDRangel.*;
+import SWGSDRangel.auth.*;
+import SWGSDRangel.model.*;
+import SWGSDRangel.api.InstanceApi;
import java.io.File;
import java.util.*;
-public class DefaultApiExample {
+public class InstanceApiExample {
public static void main(String[] args) {
- DefaultApi apiInstance = new DefaultApi();
+ InstanceApi apiInstance = new InstanceApi();
Integer tx = 56; // Integer | Set to non zero (true) for a Tx device set (default Rx)
try {
DeviceSet result = apiInstance.instanceDeviceSetsPost(tx);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#instanceDeviceSetsPost");
+ System.err.println("Exception when calling InstanceApi#instanceDeviceSetsPost");
e.printStackTrace();
}
}
}
-
- import io.swagger.client.api.DefaultApi;
+
+ import SWGSDRangel.api.InstanceApi;
-public class DefaultApiExample {
+public class InstanceApiExample {
public static void main(String[] args) {
- DefaultApi apiInstance = new DefaultApi();
+ InstanceApi apiInstance = new InstanceApi();
Integer tx = 56; // Integer | Set to non zero (true) for a Tx device set (default Rx)
try {
DeviceSet result = apiInstance.instanceDeviceSetsPost(tx);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#instanceDeviceSetsPost");
+ System.err.println("Exception when calling InstanceApi#instanceDeviceSetsPost");
e.printStackTrace();
}
}
}
-
+
Integer *tx = 56; // Set to non zero (true) for a Tx device set (default Rx) (optional)
-DefaultApi *apiInstance = [[DefaultApi alloc] init];
+InstanceApi *apiInstance = [[InstanceApi alloc] init];
[apiInstance instanceDeviceSetsPostWith:tx
completionHandler: ^(DeviceSet output, NSError* error) {
@@ -4104,10 +4203,10 @@ DefaultApi *apiInstance = [[DefaultApi alloc] init];
-
+
var SdRangel = require('sd_rangel');
-var api = new SdRangel.DefaultApi()
+var api = new SdRangel.InstanceApi()
var opts = {
'tx': 56 // {Integer} Set to non zero (true) for a Tx device set (default Rx)
@@ -4124,15 +4223,15 @@ api.instanceDeviceSetsPost(opts, callback);
-
-
+
using System;
using System.Diagnostics;
-using IO.Swagger.Api;
-using IO.Swagger.Client;
-using IO.Swagger.Model;
+using SWGSDRangel.Api;
+using SWGSDRangel.Client;
+using SWGSDRangel.Model;
namespace Example
{
@@ -4141,7 +4240,7 @@ namespace Example
public void main()
{
- var apiInstance = new DefaultApi();
+ var apiInstance = new InstanceApi();
var tx = 56; // Integer | Set to non zero (true) for a Tx device set (default Rx) (optional)
try
@@ -4151,7 +4250,7 @@ namespace Example
}
catch (Exception e)
{
- Debug.Print("Exception when calling DefaultApi.instanceDeviceSetsPost: " + e.Message );
+ Debug.Print("Exception when calling InstanceApi.instanceDeviceSetsPost: " + e.Message );
}
}
}
@@ -4159,28 +4258,28 @@ namespace Example
-
+
<?php
require_once(__DIR__ . '/vendor/autoload.php');
-$api_instance = new Swagger\Client\Api\DefaultApi();
+$api_instance = new Swagger\Client\Api\InstanceApi();
$tx = 56; // Integer | Set to non zero (true) for a Tx device set (default Rx)
try {
$result = $api_instance->instanceDeviceSetsPost($tx);
print_r($result);
} catch (Exception $e) {
- echo 'Exception when calling DefaultApi->instanceDeviceSetsPost: ', $e->getMessage(), PHP_EOL;
+ echo 'Exception when calling InstanceApi->instanceDeviceSetsPost: ', $e->getMessage(), PHP_EOL;
}
?>
-
+
use Data::Dumper;
-use WWW::SwaggerClient::Configuration;
-use WWW::SwaggerClient::DefaultApi;
+use SWGSDRangel::Configuration;
+use SWGSDRangel::InstanceApi;
-my $api_instance = WWW::SwaggerClient::DefaultApi->new();
+my $api_instance = SWGSDRangel::InstanceApi->new();
my $tx = 56; # Integer | Set to non zero (true) for a Tx device set (default Rx)
eval {
@@ -4188,26 +4287,26 @@ eval {
print Dumper($result);
};
if ($@) {
- warn "Exception when calling DefaultApi->instanceDeviceSetsPost: $@\n";
+ warn "Exception when calling InstanceApi->instanceDeviceSetsPost: $@\n";
}
-
+
from __future__ import print_statement
import time
-import swagger_client
-from swagger_client.rest import ApiException
+import swagger_sdrangel
+from swagger_sdrangel.rest import ApiException
from pprint import pprint
# create an instance of the API class
-api_instance = swagger_client.DefaultApi()
+api_instance = swagger_sdrangel.InstanceApi()
tx = 56 # Integer | Set to non zero (true) for a Tx device set (default Rx) (optional)
try:
api_response = api_instance.instance_device_sets_post(tx=tx)
pprint(api_response)
except ApiException as e:
- print("Exception when calling DefaultApi->instanceDeviceSetsPost: %s\n" % e)
+ print("Exception when calling InstanceApi->instanceDeviceSetsPost: %s\n" % e)
@@ -4343,8 +4442,8 @@ except ApiException as e:
-
-
+
+
instanceDevices
@@ -4360,75 +4459,75 @@ except ApiException as e:
Usage and SDK Samples
-
- curl -X GET "http://localhost:10010/sdrangel/devices?tx="
+
+ curl -X GET "http://localhost:8091/sdrangel/devices?tx="
-
- import io.swagger.client.*;
-import io.swagger.client.auth.*;
-import io.swagger.client.model.*;
-import io.swagger.client.api.DefaultApi;
+
+ import SWGSDRangel.*;
+import SWGSDRangel.auth.*;
+import SWGSDRangel.model.*;
+import SWGSDRangel.api.InstanceApi;
import java.io.File;
import java.util.*;
-public class DefaultApiExample {
+public class InstanceApiExample {
public static void main(String[] args) {
- DefaultApi apiInstance = new DefaultApi();
+ InstanceApi apiInstance = new InstanceApi();
Integer tx = 56; // Integer | Set to non zero (true) for Tx direction (default Rx)
try {
InstanceDevicesResponse result = apiInstance.instanceDevices(tx);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#instanceDevices");
+ System.err.println("Exception when calling InstanceApi#instanceDevices");
e.printStackTrace();
}
}
}
-
- import io.swagger.client.api.DefaultApi;
+
+ import SWGSDRangel.api.InstanceApi;
-public class DefaultApiExample {
+public class InstanceApiExample {
public static void main(String[] args) {
- DefaultApi apiInstance = new DefaultApi();
+ InstanceApi apiInstance = new InstanceApi();
Integer tx = 56; // Integer | Set to non zero (true) for Tx direction (default Rx)
try {
InstanceDevicesResponse result = apiInstance.instanceDevices(tx);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#instanceDevices");
+ System.err.println("Exception when calling InstanceApi#instanceDevices");
e.printStackTrace();
}
}
}
-
+
Integer *tx = 56; // Set to non zero (true) for Tx direction (default Rx) (optional)
-DefaultApi *apiInstance = [[DefaultApi alloc] init];
+InstanceApi *apiInstance = [[InstanceApi alloc] init];
[apiInstance instanceDevicesWith:tx
completionHandler: ^(InstanceDevicesResponse output, NSError* error) {
@@ -4442,10 +4541,10 @@ DefaultApi *apiInstance = [[DefaultApi alloc] init];
-
+
var SdRangel = require('sd_rangel');
-var api = new SdRangel.DefaultApi()
+var api = new SdRangel.InstanceApi()
var opts = {
'tx': 56 // {Integer} Set to non zero (true) for Tx direction (default Rx)
@@ -4462,15 +4561,15 @@ api.instanceDevices(opts, callback);
-
-
+
using System;
using System.Diagnostics;
-using IO.Swagger.Api;
-using IO.Swagger.Client;
-using IO.Swagger.Model;
+using SWGSDRangel.Api;
+using SWGSDRangel.Client;
+using SWGSDRangel.Model;
namespace Example
{
@@ -4479,7 +4578,7 @@ namespace Example
public void main()
{
- var apiInstance = new DefaultApi();
+ var apiInstance = new InstanceApi();
var tx = 56; // Integer | Set to non zero (true) for Tx direction (default Rx) (optional)
try
@@ -4489,7 +4588,7 @@ namespace Example
}
catch (Exception e)
{
- Debug.Print("Exception when calling DefaultApi.instanceDevices: " + e.Message );
+ Debug.Print("Exception when calling InstanceApi.instanceDevices: " + e.Message );
}
}
}
@@ -4497,28 +4596,28 @@ namespace Example
-
+
<?php
require_once(__DIR__ . '/vendor/autoload.php');
-$api_instance = new Swagger\Client\Api\DefaultApi();
+$api_instance = new Swagger\Client\Api\InstanceApi();
$tx = 56; // Integer | Set to non zero (true) for Tx direction (default Rx)
try {
$result = $api_instance->instanceDevices($tx);
print_r($result);
} catch (Exception $e) {
- echo 'Exception when calling DefaultApi->instanceDevices: ', $e->getMessage(), PHP_EOL;
+ echo 'Exception when calling InstanceApi->instanceDevices: ', $e->getMessage(), PHP_EOL;
}
?>
-
+
use Data::Dumper;
-use WWW::SwaggerClient::Configuration;
-use WWW::SwaggerClient::DefaultApi;
+use SWGSDRangel::Configuration;
+use SWGSDRangel::InstanceApi;
-my $api_instance = WWW::SwaggerClient::DefaultApi->new();
+my $api_instance = SWGSDRangel::InstanceApi->new();
my $tx = 56; # Integer | Set to non zero (true) for Tx direction (default Rx)
eval {
@@ -4526,26 +4625,26 @@ eval {
print Dumper($result);
};
if ($@) {
- warn "Exception when calling DefaultApi->instanceDevices: $@\n";
+ warn "Exception when calling InstanceApi->instanceDevices: $@\n";
}
-
+
from __future__ import print_statement
import time
-import swagger_client
-from swagger_client.rest import ApiException
+import swagger_sdrangel
+from swagger_sdrangel.rest import ApiException
from pprint import pprint
# create an instance of the API class
-api_instance = swagger_client.DefaultApi()
+api_instance = swagger_sdrangel.InstanceApi()
tx = 56 # Integer | Set to non zero (true) for Tx direction (default Rx) (optional)
try:
api_response = api_instance.instance_devices(tx=tx)
pprint(api_response)
except ApiException as e:
- print("Exception when calling DefaultApi->instanceDevices: %s\n" % e)
+ print("Exception when calling InstanceApi->instanceDevices: %s\n" % e)
@@ -4681,8 +4780,8 @@ except ApiException as e:
-
-
+
+
instanceLocationGet
@@ -4698,72 +4797,72 @@ except ApiException as e:
Usage and SDK Samples
-
- curl -X GET "http://localhost:10010/sdrangel/location"
+
+ curl -X GET "http://localhost:8091/sdrangel/location"
-
- import io.swagger.client.*;
-import io.swagger.client.auth.*;
-import io.swagger.client.model.*;
-import io.swagger.client.api.DefaultApi;
+
+ import SWGSDRangel.*;
+import SWGSDRangel.auth.*;
+import SWGSDRangel.model.*;
+import SWGSDRangel.api.InstanceApi;
import java.io.File;
import java.util.*;
-public class DefaultApiExample {
+public class InstanceApiExample {
public static void main(String[] args) {
- DefaultApi apiInstance = new DefaultApi();
+ InstanceApi apiInstance = new InstanceApi();
try {
LocationInformation result = apiInstance.instanceLocationGet();
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#instanceLocationGet");
+ System.err.println("Exception when calling InstanceApi#instanceLocationGet");
e.printStackTrace();
}
}
}
-
- import io.swagger.client.api.DefaultApi;
+
+ import SWGSDRangel.api.InstanceApi;
-public class DefaultApiExample {
+public class InstanceApiExample {
public static void main(String[] args) {
- DefaultApi apiInstance = new DefaultApi();
+ InstanceApi apiInstance = new InstanceApi();
try {
LocationInformation result = apiInstance.instanceLocationGet();
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#instanceLocationGet");
+ System.err.println("Exception when calling InstanceApi#instanceLocationGet");
e.printStackTrace();
}
}
}
-
+
-DefaultApi *apiInstance = [[DefaultApi alloc] init];
+InstanceApi *apiInstance = [[InstanceApi alloc] init];
[apiInstance instanceLocationGetWithCompletionHandler:
^(LocationInformation output, NSError* error) {
@@ -4777,10 +4876,10 @@ DefaultApi *apiInstance = [[DefaultApi alloc] init];
-
+
var SdRangel = require('sd_rangel');
-var api = new SdRangel.DefaultApi()
+var api = new SdRangel.InstanceApi()
var callback = function(error, data, response) {
if (error) {
@@ -4793,15 +4892,15 @@ api.instanceLocationGet(callback);
-
-
+
using System;
using System.Diagnostics;
-using IO.Swagger.Api;
-using IO.Swagger.Client;
-using IO.Swagger.Model;
+using SWGSDRangel.Api;
+using SWGSDRangel.Client;
+using SWGSDRangel.Model;
namespace Example
{
@@ -4810,7 +4909,7 @@ namespace Example
public void main()
{
- var apiInstance = new DefaultApi();
+ var apiInstance = new InstanceApi();
try
{
@@ -4819,7 +4918,7 @@ namespace Example
}
catch (Exception e)
{
- Debug.Print("Exception when calling DefaultApi.instanceLocationGet: " + e.Message );
+ Debug.Print("Exception when calling InstanceApi.instanceLocationGet: " + e.Message );
}
}
}
@@ -4827,52 +4926,52 @@ namespace Example
-
+
<?php
require_once(__DIR__ . '/vendor/autoload.php');
-$api_instance = new Swagger\Client\Api\DefaultApi();
+$api_instance = new Swagger\Client\Api\InstanceApi();
try {
$result = $api_instance->instanceLocationGet();
print_r($result);
} catch (Exception $e) {
- echo 'Exception when calling DefaultApi->instanceLocationGet: ', $e->getMessage(), PHP_EOL;
+ echo 'Exception when calling InstanceApi->instanceLocationGet: ', $e->getMessage(), PHP_EOL;
}
?>
-
+
use Data::Dumper;
-use WWW::SwaggerClient::Configuration;
-use WWW::SwaggerClient::DefaultApi;
+use SWGSDRangel::Configuration;
+use SWGSDRangel::InstanceApi;
-my $api_instance = WWW::SwaggerClient::DefaultApi->new();
+my $api_instance = SWGSDRangel::InstanceApi->new();
eval {
my $result = $api_instance->instanceLocationGet();
print Dumper($result);
};
if ($@) {
- warn "Exception when calling DefaultApi->instanceLocationGet: $@\n";
+ warn "Exception when calling InstanceApi->instanceLocationGet: $@\n";
}
-
+
from __future__ import print_statement
import time
-import swagger_client
-from swagger_client.rest import ApiException
+import swagger_sdrangel
+from swagger_sdrangel.rest import ApiException
from pprint import pprint
# create an instance of the API class
-api_instance = swagger_client.DefaultApi()
+api_instance = swagger_sdrangel.InstanceApi()
try:
api_response = api_instance.instance_location_get()
pprint(api_response)
except ApiException as e:
- print("Exception when calling DefaultApi->instanceLocationGet: %s\n" % e)
+ print("Exception when calling InstanceApi->instanceLocationGet: %s\n" % e)
@@ -4981,8 +5080,8 @@ except ApiException as e:
-
-
+
+
instanceLocationPut
@@ -4998,75 +5097,75 @@ except ApiException as e:
Usage and SDK Samples
-
- curl -X PUT "http://localhost:10010/sdrangel/location"
+
+ curl -X PUT "http://localhost:8091/sdrangel/location"
-
- import io.swagger.client.*;
-import io.swagger.client.auth.*;
-import io.swagger.client.model.*;
-import io.swagger.client.api.DefaultApi;
+
+ import SWGSDRangel.*;
+import SWGSDRangel.auth.*;
+import SWGSDRangel.model.*;
+import SWGSDRangel.api.InstanceApi;
import java.io.File;
import java.util.*;
-public class DefaultApiExample {
+public class InstanceApiExample {
public static void main(String[] args) {
- DefaultApi apiInstance = new DefaultApi();
+ InstanceApi apiInstance = new InstanceApi();
LocationInformation body = ; // LocationInformation | Location of instance in latitude and longitude
try {
LocationInformation result = apiInstance.instanceLocationPut(body);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#instanceLocationPut");
+ System.err.println("Exception when calling InstanceApi#instanceLocationPut");
e.printStackTrace();
}
}
}
-
- import io.swagger.client.api.DefaultApi;
+
+ import SWGSDRangel.api.InstanceApi;
-public class DefaultApiExample {
+public class InstanceApiExample {
public static void main(String[] args) {
- DefaultApi apiInstance = new DefaultApi();
+ InstanceApi apiInstance = new InstanceApi();
LocationInformation body = ; // LocationInformation | Location of instance in latitude and longitude
try {
LocationInformation result = apiInstance.instanceLocationPut(body);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#instanceLocationPut");
+ System.err.println("Exception when calling InstanceApi#instanceLocationPut");
e.printStackTrace();
}
}
}
-
+
LocationInformation *body = ; // Location of instance in latitude and longitude
-DefaultApi *apiInstance = [[DefaultApi alloc] init];
+InstanceApi *apiInstance = [[InstanceApi alloc] init];
[apiInstance instanceLocationPutWith:body
completionHandler: ^(LocationInformation output, NSError* error) {
@@ -5080,10 +5179,10 @@ DefaultApi *apiInstance = [[DefaultApi alloc] init];
-
+
var SdRangel = require('sd_rangel');
-var api = new SdRangel.DefaultApi()
+var api = new SdRangel.InstanceApi()
var body = ; // {LocationInformation} Location of instance in latitude and longitude
@@ -5099,15 +5198,15 @@ api.instanceLocationPut(body, callback);
-
-
+
using System;
using System.Diagnostics;
-using IO.Swagger.Api;
-using IO.Swagger.Client;
-using IO.Swagger.Model;
+using SWGSDRangel.Api;
+using SWGSDRangel.Client;
+using SWGSDRangel.Model;
namespace Example
{
@@ -5116,7 +5215,7 @@ namespace Example
public void main()
{
- var apiInstance = new DefaultApi();
+ var apiInstance = new InstanceApi();
var body = new LocationInformation(); // LocationInformation | Location of instance in latitude and longitude
try
@@ -5126,7 +5225,7 @@ namespace Example
}
catch (Exception e)
{
- Debug.Print("Exception when calling DefaultApi.instanceLocationPut: " + e.Message );
+ Debug.Print("Exception when calling InstanceApi.instanceLocationPut: " + e.Message );
}
}
}
@@ -5134,55 +5233,55 @@ namespace Example
-
+
<?php
require_once(__DIR__ . '/vendor/autoload.php');
-$api_instance = new Swagger\Client\Api\DefaultApi();
+$api_instance = new Swagger\Client\Api\InstanceApi();
$body = ; // LocationInformation | Location of instance in latitude and longitude
try {
$result = $api_instance->instanceLocationPut($body);
print_r($result);
} catch (Exception $e) {
- echo 'Exception when calling DefaultApi->instanceLocationPut: ', $e->getMessage(), PHP_EOL;
+ echo 'Exception when calling InstanceApi->instanceLocationPut: ', $e->getMessage(), PHP_EOL;
}
?>
-
+
use Data::Dumper;
-use WWW::SwaggerClient::Configuration;
-use WWW::SwaggerClient::DefaultApi;
+use SWGSDRangel::Configuration;
+use SWGSDRangel::InstanceApi;
-my $api_instance = WWW::SwaggerClient::DefaultApi->new();
-my $body = WWW::SwaggerClient::Object::LocationInformation->new(); # LocationInformation | Location of instance in latitude and longitude
+my $api_instance = SWGSDRangel::InstanceApi->new();
+my $body = SWGSDRangel::Object::LocationInformation->new(); # LocationInformation | Location of instance in latitude and longitude
eval {
my $result = $api_instance->instanceLocationPut(body => $body);
print Dumper($result);
};
if ($@) {
- warn "Exception when calling DefaultApi->instanceLocationPut: $@\n";
+ warn "Exception when calling InstanceApi->instanceLocationPut: $@\n";
}
-
+
from __future__ import print_statement
import time
-import swagger_client
-from swagger_client.rest import ApiException
+import swagger_sdrangel
+from swagger_sdrangel.rest import ApiException
from pprint import pprint
# create an instance of the API class
-api_instance = swagger_client.DefaultApi()
+api_instance = swagger_sdrangel.InstanceApi()
body = # LocationInformation | Location of instance in latitude and longitude
try:
api_response = api_instance.instance_location_put(body)
pprint(api_response)
except ApiException as e:
- print("Exception when calling DefaultApi->instanceLocationPut: %s\n" % e)
+ print("Exception when calling InstanceApi->instanceLocationPut: %s\n" % e)
@@ -5341,8 +5440,8 @@ $(document).ready(function() {
-
-
+
+
instanceLoggingGet
@@ -5358,72 +5457,72 @@ $(document).ready(function() {
Usage and SDK Samples
-
- curl -X GET "http://localhost:10010/sdrangel/logging"
+
+ curl -X GET "http://localhost:8091/sdrangel/logging"
-
- import io.swagger.client.*;
-import io.swagger.client.auth.*;
-import io.swagger.client.model.*;
-import io.swagger.client.api.DefaultApi;
+
+ import SWGSDRangel.*;
+import SWGSDRangel.auth.*;
+import SWGSDRangel.model.*;
+import SWGSDRangel.api.InstanceApi;
import java.io.File;
import java.util.*;
-public class DefaultApiExample {
+public class InstanceApiExample {
public static void main(String[] args) {
- DefaultApi apiInstance = new DefaultApi();
+ InstanceApi apiInstance = new InstanceApi();
try {
LoggingInfo result = apiInstance.instanceLoggingGet();
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#instanceLoggingGet");
+ System.err.println("Exception when calling InstanceApi#instanceLoggingGet");
e.printStackTrace();
}
}
}
-
- import io.swagger.client.api.DefaultApi;
+
+ import SWGSDRangel.api.InstanceApi;
-public class DefaultApiExample {
+public class InstanceApiExample {
public static void main(String[] args) {
- DefaultApi apiInstance = new DefaultApi();
+ InstanceApi apiInstance = new InstanceApi();
try {
LoggingInfo result = apiInstance.instanceLoggingGet();
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#instanceLoggingGet");
+ System.err.println("Exception when calling InstanceApi#instanceLoggingGet");
e.printStackTrace();
}
}
}
-
+
-DefaultApi *apiInstance = [[DefaultApi alloc] init];
+InstanceApi *apiInstance = [[InstanceApi alloc] init];
[apiInstance instanceLoggingGetWithCompletionHandler:
^(LoggingInfo output, NSError* error) {
@@ -5437,10 +5536,10 @@ DefaultApi *apiInstance = [[DefaultApi alloc] init];
-
+
var SdRangel = require('sd_rangel');
-var api = new SdRangel.DefaultApi()
+var api = new SdRangel.InstanceApi()
var callback = function(error, data, response) {
if (error) {
@@ -5453,15 +5552,15 @@ api.instanceLoggingGet(callback);
-
-
+
using System;
using System.Diagnostics;
-using IO.Swagger.Api;
-using IO.Swagger.Client;
-using IO.Swagger.Model;
+using SWGSDRangel.Api;
+using SWGSDRangel.Client;
+using SWGSDRangel.Model;
namespace Example
{
@@ -5470,7 +5569,7 @@ namespace Example
public void main()
{
- var apiInstance = new DefaultApi();
+ var apiInstance = new InstanceApi();
try
{
@@ -5479,7 +5578,7 @@ namespace Example
}
catch (Exception e)
{
- Debug.Print("Exception when calling DefaultApi.instanceLoggingGet: " + e.Message );
+ Debug.Print("Exception when calling InstanceApi.instanceLoggingGet: " + e.Message );
}
}
}
@@ -5487,52 +5586,52 @@ namespace Example
-
+
<?php
require_once(__DIR__ . '/vendor/autoload.php');
-$api_instance = new Swagger\Client\Api\DefaultApi();
+$api_instance = new Swagger\Client\Api\InstanceApi();
try {
$result = $api_instance->instanceLoggingGet();
print_r($result);
} catch (Exception $e) {
- echo 'Exception when calling DefaultApi->instanceLoggingGet: ', $e->getMessage(), PHP_EOL;
+ echo 'Exception when calling InstanceApi->instanceLoggingGet: ', $e->getMessage(), PHP_EOL;
}
?>
-
+
use Data::Dumper;
-use WWW::SwaggerClient::Configuration;
-use WWW::SwaggerClient::DefaultApi;
+use SWGSDRangel::Configuration;
+use SWGSDRangel::InstanceApi;
-my $api_instance = WWW::SwaggerClient::DefaultApi->new();
+my $api_instance = SWGSDRangel::InstanceApi->new();
eval {
my $result = $api_instance->instanceLoggingGet();
print Dumper($result);
};
if ($@) {
- warn "Exception when calling DefaultApi->instanceLoggingGet: $@\n";
+ warn "Exception when calling InstanceApi->instanceLoggingGet: $@\n";
}
-
+
from __future__ import print_statement
import time
-import swagger_client
-from swagger_client.rest import ApiException
+import swagger_sdrangel
+from swagger_sdrangel.rest import ApiException
from pprint import pprint
# create an instance of the API class
-api_instance = swagger_client.DefaultApi()
+api_instance = swagger_sdrangel.InstanceApi()
try:
api_response = api_instance.instance_logging_get()
pprint(api_response)
except ApiException as e:
- print("Exception when calling DefaultApi->instanceLoggingGet: %s\n" % e)
+ print("Exception when calling InstanceApi->instanceLoggingGet: %s\n" % e)
@@ -5641,8 +5740,8 @@ except ApiException as e:
-
-
+
+
instanceLoggingPut
@@ -5658,75 +5757,75 @@ except ApiException as e:
Usage and SDK Samples
-
- curl -X PUT "http://localhost:10010/sdrangel/logging"
+
+ curl -X PUT "http://localhost:8091/sdrangel/logging"
-
- import io.swagger.client.*;
-import io.swagger.client.auth.*;
-import io.swagger.client.model.*;
-import io.swagger.client.api.DefaultApi;
+
+ import SWGSDRangel.*;
+import SWGSDRangel.auth.*;
+import SWGSDRangel.model.*;
+import SWGSDRangel.api.InstanceApi;
import java.io.File;
import java.util.*;
-public class DefaultApiExample {
+public class InstanceApiExample {
public static void main(String[] args) {
- DefaultApi apiInstance = new DefaultApi();
+ InstanceApi apiInstance = new InstanceApi();
LoggingInfo body = ; // LoggingInfo | Logging information
try {
LoggingInfo result = apiInstance.instanceLoggingPut(body);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#instanceLoggingPut");
+ System.err.println("Exception when calling InstanceApi#instanceLoggingPut");
e.printStackTrace();
}
}
}
-
- import io.swagger.client.api.DefaultApi;
+
+ import SWGSDRangel.api.InstanceApi;
-public class DefaultApiExample {
+public class InstanceApiExample {
public static void main(String[] args) {
- DefaultApi apiInstance = new DefaultApi();
+ InstanceApi apiInstance = new InstanceApi();
LoggingInfo body = ; // LoggingInfo | Logging information
try {
LoggingInfo result = apiInstance.instanceLoggingPut(body);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#instanceLoggingPut");
+ System.err.println("Exception when calling InstanceApi#instanceLoggingPut");
e.printStackTrace();
}
}
}
-
+
LoggingInfo *body = ; // Logging information
-DefaultApi *apiInstance = [[DefaultApi alloc] init];
+InstanceApi *apiInstance = [[InstanceApi alloc] init];
[apiInstance instanceLoggingPutWith:body
completionHandler: ^(LoggingInfo output, NSError* error) {
@@ -5740,10 +5839,10 @@ DefaultApi *apiInstance = [[DefaultApi alloc] init];
-
+
var SdRangel = require('sd_rangel');
-var api = new SdRangel.DefaultApi()
+var api = new SdRangel.InstanceApi()
var body = ; // {LoggingInfo} Logging information
@@ -5759,15 +5858,15 @@ api.instanceLoggingPut(body, callback);
-
-
+
using System;
using System.Diagnostics;
-using IO.Swagger.Api;
-using IO.Swagger.Client;
-using IO.Swagger.Model;
+using SWGSDRangel.Api;
+using SWGSDRangel.Client;
+using SWGSDRangel.Model;
namespace Example
{
@@ -5776,7 +5875,7 @@ namespace Example
public void main()
{
- var apiInstance = new DefaultApi();
+ var apiInstance = new InstanceApi();
var body = new LoggingInfo(); // LoggingInfo | Logging information
try
@@ -5786,7 +5885,7 @@ namespace Example
}
catch (Exception e)
{
- Debug.Print("Exception when calling DefaultApi.instanceLoggingPut: " + e.Message );
+ Debug.Print("Exception when calling InstanceApi.instanceLoggingPut: " + e.Message );
}
}
}
@@ -5794,55 +5893,55 @@ namespace Example
-
+
<?php
require_once(__DIR__ . '/vendor/autoload.php');
-$api_instance = new Swagger\Client\Api\DefaultApi();
+$api_instance = new Swagger\Client\Api\InstanceApi();
$body = ; // LoggingInfo | Logging information
try {
$result = $api_instance->instanceLoggingPut($body);
print_r($result);
} catch (Exception $e) {
- echo 'Exception when calling DefaultApi->instanceLoggingPut: ', $e->getMessage(), PHP_EOL;
+ echo 'Exception when calling InstanceApi->instanceLoggingPut: ', $e->getMessage(), PHP_EOL;
}
?>
-
+
use Data::Dumper;
-use WWW::SwaggerClient::Configuration;
-use WWW::SwaggerClient::DefaultApi;
+use SWGSDRangel::Configuration;
+use SWGSDRangel::InstanceApi;
-my $api_instance = WWW::SwaggerClient::DefaultApi->new();
-my $body = WWW::SwaggerClient::Object::LoggingInfo->new(); # LoggingInfo | Logging information
+my $api_instance = SWGSDRangel::InstanceApi->new();
+my $body = SWGSDRangel::Object::LoggingInfo->new(); # LoggingInfo | Logging information
eval {
my $result = $api_instance->instanceLoggingPut(body => $body);
print Dumper($result);
};
if ($@) {
- warn "Exception when calling DefaultApi->instanceLoggingPut: $@\n";
+ warn "Exception when calling InstanceApi->instanceLoggingPut: $@\n";
}
-
+
from __future__ import print_statement
import time
-import swagger_client
-from swagger_client.rest import ApiException
+import swagger_sdrangel
+from swagger_sdrangel.rest import ApiException
from pprint import pprint
# create an instance of the API class
-api_instance = swagger_client.DefaultApi()
+api_instance = swagger_sdrangel.InstanceApi()
body = # LoggingInfo | Logging information
try:
api_response = api_instance.instance_logging_put(body)
pprint(api_response)
except ApiException as e:
- print("Exception when calling DefaultApi->instanceLoggingPut: %s\n" % e)
+ print("Exception when calling InstanceApi->instanceLoggingPut: %s\n" % e)
@@ -5939,7 +6038,7 @@ $(document).ready(function() {
- Status: 400 - Invallid data
+ Status: 400 - Invalid data
+
+
+
+
Status: 404 - Invalid device set index or device not found
-
-
+
+
devicesetGet
@@ -1668,75 +1764,75 @@ except ApiException as e:
Usage and SDK Samples
-
- curl -X GET "http://localhost:10010/sdrangel/deviceset/{deviceSetIndex}"
+
+ curl -X GET "http://localhost:8091/sdrangel/deviceset/{deviceSetIndex}"
-
- import io.swagger.client.*;
-import io.swagger.client.auth.*;
-import io.swagger.client.model.*;
-import io.swagger.client.api.DefaultApi;
+
+ import SWGSDRangel.*;
+import SWGSDRangel.auth.*;
+import SWGSDRangel.model.*;
+import SWGSDRangel.api.DeviceSetApi;
import java.io.File;
import java.util.*;
-public class DefaultApiExample {
+public class DeviceSetApiExample {
public static void main(String[] args) {
- DefaultApi apiInstance = new DefaultApi();
+ DeviceSetApi apiInstance = new DeviceSetApi();
Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
try {
DeviceSet result = apiInstance.devicesetGet(deviceSetIndex);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#devicesetGet");
+ System.err.println("Exception when calling DeviceSetApi#devicesetGet");
e.printStackTrace();
}
}
}
-
- import io.swagger.client.api.DefaultApi;
+
+ import SWGSDRangel.api.DeviceSetApi;
-public class DefaultApiExample {
+public class DeviceSetApiExample {
public static void main(String[] args) {
- DefaultApi apiInstance = new DefaultApi();
+ DeviceSetApi apiInstance = new DeviceSetApi();
Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
try {
DeviceSet result = apiInstance.devicesetGet(deviceSetIndex);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#devicesetGet");
+ System.err.println("Exception when calling DeviceSetApi#devicesetGet");
e.printStackTrace();
}
}
}
-
+
Integer *deviceSetIndex = 56; // Index of device set in the device set list
-DefaultApi *apiInstance = [[DefaultApi alloc] init];
+DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];
[apiInstance devicesetGetWith:deviceSetIndex
completionHandler: ^(DeviceSet output, NSError* error) {
@@ -1750,10 +1846,10 @@ DefaultApi *apiInstance = [[DefaultApi alloc] init];
-
+
var SdRangel = require('sd_rangel');
-var api = new SdRangel.DefaultApi()
+var api = new SdRangel.DeviceSetApi()
var deviceSetIndex = 56; // {Integer} Index of device set in the device set list
@@ -1769,15 +1865,15 @@ api.devicesetGet(deviceSetIndex, callback);
-
-
+
using System;
using System.Diagnostics;
-using IO.Swagger.Api;
-using IO.Swagger.Client;
-using IO.Swagger.Model;
+using SWGSDRangel.Api;
+using SWGSDRangel.Client;
+using SWGSDRangel.Model;
namespace Example
{
@@ -1786,7 +1882,7 @@ namespace Example
public void main()
{
- var apiInstance = new DefaultApi();
+ var apiInstance = new DeviceSetApi();
var deviceSetIndex = 56; // Integer | Index of device set in the device set list
try
@@ -1796,7 +1892,7 @@ namespace Example
}
catch (Exception e)
{
- Debug.Print("Exception when calling DefaultApi.devicesetGet: " + e.Message );
+ Debug.Print("Exception when calling DeviceSetApi.devicesetGet: " + e.Message );
}
}
}
@@ -1804,28 +1900,28 @@ namespace Example
-
+
<?php
require_once(__DIR__ . '/vendor/autoload.php');
-$api_instance = new Swagger\Client\Api\DefaultApi();
+$api_instance = new Swagger\Client\Api\DeviceSetApi();
$deviceSetIndex = 56; // Integer | Index of device set in the device set list
try {
$result = $api_instance->devicesetGet($deviceSetIndex);
print_r($result);
} catch (Exception $e) {
- echo 'Exception when calling DefaultApi->devicesetGet: ', $e->getMessage(), PHP_EOL;
+ echo 'Exception when calling DeviceSetApi->devicesetGet: ', $e->getMessage(), PHP_EOL;
}
?>
-
+
use Data::Dumper;
-use WWW::SwaggerClient::Configuration;
-use WWW::SwaggerClient::DefaultApi;
+use SWGSDRangel::Configuration;
+use SWGSDRangel::DeviceSetApi;
-my $api_instance = WWW::SwaggerClient::DefaultApi->new();
+my $api_instance = SWGSDRangel::DeviceSetApi->new();
my $deviceSetIndex = 56; # Integer | Index of device set in the device set list
eval {
@@ -1833,26 +1929,26 @@ eval {
print Dumper($result);
};
if ($@) {
- warn "Exception when calling DefaultApi->devicesetGet: $@\n";
+ warn "Exception when calling DeviceSetApi->devicesetGet: $@\n";
}
-
+
from __future__ import print_statement
import time
-import swagger_client
-from swagger_client.rest import ApiException
+import swagger_sdrangel
+from swagger_sdrangel.rest import ApiException
from pprint import pprint
# create an instance of the API class
-api_instance = swagger_client.DefaultApi()
+api_instance = swagger_sdrangel.DeviceSetApi()
deviceSetIndex = 56 # Integer | Index of device set in the device set list
try:
api_response = api_instance.deviceset_get(deviceSetIndex)
pprint(api_response)
except ApiException as e:
- print("Exception when calling DefaultApi->devicesetGet: %s\n" % e)
+ print("Exception when calling DeviceSetApi->devicesetGet: %s\n" % e)
@@ -2034,8 +2130,11 @@ except ApiException as e:
-
-
+
+
+ Instance
+
+