mirror of
				https://github.com/f4exb/sdrangel.git
				synced 2025-10-31 04:50:29 -04:00 
			
		
		
		
	Web API: change all boolean parameters to integer
This commit is contained in:
		
							parent
							
								
									7a2f60fe5d
								
							
						
					
					
						commit
						6c31320812
					
				| @ -1925,7 +1925,7 @@ public class DefaultApiExample { | |||||||
|     public static void main(String[] args) { |     public static void main(String[] args) { | ||||||
|          |          | ||||||
|         DefaultApi apiInstance = new DefaultApi(); |         DefaultApi apiInstance = new DefaultApi(); | ||||||
|         Boolean tx = true; // Boolean | Set to true for Tx channels |         Integer tx = 56; // Integer | Set to non zero (true) for Tx channels (default Rx) | ||||||
|         try { |         try { | ||||||
|             InstanceChannelsResponse result = apiInstance.instanceChannels(tx); |             InstanceChannelsResponse result = apiInstance.instanceChannels(tx); | ||||||
|             System.out.println(result); |             System.out.println(result); | ||||||
| @ -1944,7 +1944,7 @@ public class DefaultApiExample { | |||||||
| 
 | 
 | ||||||
|     public static void main(String[] args) { |     public static void main(String[] args) { | ||||||
|         DefaultApi apiInstance = new DefaultApi(); |         DefaultApi apiInstance = new DefaultApi(); | ||||||
|         Boolean tx = true; // Boolean | Set to true for Tx channels |         Integer tx = 56; // Integer | Set to non zero (true) for Tx channels (default Rx) | ||||||
|         try { |         try { | ||||||
|             InstanceChannelsResponse result = apiInstance.instanceChannels(tx); |             InstanceChannelsResponse result = apiInstance.instanceChannels(tx); | ||||||
|             System.out.println(result); |             System.out.println(result); | ||||||
| @ -1960,7 +1960,7 @@ public class DefaultApiExample { | |||||||
|   <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> |   <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> | ||||||
|   </div> --> |   </div> --> | ||||||
|                             <div class="tab-pane" id="examples-Default-instanceChannels-0-objc"> |                             <div class="tab-pane" id="examples-Default-instanceChannels-0-objc"> | ||||||
|                               <pre class="prettyprint"><code class="language-cpp">Boolean *tx = true; // Set to true for Tx channels (optional) |                               <pre class="prettyprint"><code class="language-cpp">Integer *tx = 56; // Set to non zero (true) for Tx channels (default Rx) (optional) | ||||||
| 
 | 
 | ||||||
| DefaultApi *apiInstance = [[DefaultApi alloc] init]; | DefaultApi *apiInstance = [[DefaultApi alloc] init]; | ||||||
| 
 | 
 | ||||||
| @ -1982,7 +1982,7 @@ DefaultApi *apiInstance = [[DefaultApi alloc] init]; | |||||||
| var api = new SdRangel.DefaultApi() | var api = new SdRangel.DefaultApi() | ||||||
| 
 | 
 | ||||||
| var opts = {  | var opts = {  | ||||||
|   'tx': true // {Boolean} Set to true for Tx channels |   'tx': 56 // {Integer} Set to non zero (true) for Tx channels (default Rx) | ||||||
| }; | }; | ||||||
| 
 | 
 | ||||||
| var callback = function(error, data, response) { | var callback = function(error, data, response) { | ||||||
| @ -2014,7 +2014,7 @@ namespace Example | |||||||
|         { |         { | ||||||
|              |              | ||||||
|             var apiInstance = new DefaultApi(); |             var apiInstance = new DefaultApi(); | ||||||
|             var tx = true;  // Boolean | Set to true for Tx channels (optional)  |             var tx = 56;  // Integer | Set to non zero (true) for Tx channels (default Rx) (optional)  | ||||||
| 
 | 
 | ||||||
|             try |             try | ||||||
|             { |             { | ||||||
| @ -2036,7 +2036,7 @@ namespace Example | |||||||
| require_once(__DIR__ . '/vendor/autoload.php'); | require_once(__DIR__ . '/vendor/autoload.php'); | ||||||
| 
 | 
 | ||||||
| $api_instance = new Swagger\Client\Api\DefaultApi(); | $api_instance = new Swagger\Client\Api\DefaultApi(); | ||||||
| $tx = true; // Boolean | Set to true for Tx channels | $tx = 56; // Integer | Set to non zero (true) for Tx channels (default Rx) | ||||||
| 
 | 
 | ||||||
| try { | try { | ||||||
|     $result = $api_instance->instanceChannels($tx); |     $result = $api_instance->instanceChannels($tx); | ||||||
| @ -2053,7 +2053,7 @@ use WWW::SwaggerClient::Configuration; | |||||||
| use WWW::SwaggerClient::DefaultApi; | use WWW::SwaggerClient::DefaultApi; | ||||||
| 
 | 
 | ||||||
| my $api_instance = WWW::SwaggerClient::DefaultApi->new(); | my $api_instance = WWW::SwaggerClient::DefaultApi->new(); | ||||||
| my $tx = true; # Boolean | Set to true for Tx channels | my $tx = 56; # Integer | Set to non zero (true) for Tx channels (default Rx) | ||||||
| 
 | 
 | ||||||
| eval {  | eval {  | ||||||
|     my $result = $api_instance->instanceChannels(tx => $tx); |     my $result = $api_instance->instanceChannels(tx => $tx); | ||||||
| @ -2073,7 +2073,7 @@ from pprint import pprint | |||||||
| 
 | 
 | ||||||
| # create an instance of the API class | # create an instance of the API class | ||||||
| api_instance = swagger_client.DefaultApi() | api_instance = swagger_client.DefaultApi() | ||||||
| tx = true # Boolean | Set to true for Tx channels (optional) | tx = 56 # Integer | Set to non zero (true) for Tx channels (default Rx) (optional) | ||||||
| 
 | 
 | ||||||
| try:  | try:  | ||||||
|     api_response = api_instance.instance_channels(tx=tx) |     api_response = api_instance.instance_channels(tx=tx) | ||||||
| @ -2103,11 +2103,11 @@ except ApiException as e: | |||||||
|         <div class="json-schema-view"> |         <div class="json-schema-view"> | ||||||
|             <div class="primitive"> |             <div class="primitive"> | ||||||
|                 <span class="type"> |                 <span class="type"> | ||||||
|                     Boolean |                     Integer | ||||||
|                 </span> |                 </span> | ||||||
| 
 | 
 | ||||||
|                     <div class="inner description"> |                     <div class="inner description"> | ||||||
|                         Set to true for Tx channels |                         Set to non zero (true) for Tx channels (default Rx) | ||||||
|                     </div> |                     </div> | ||||||
|             </div> |             </div> | ||||||
|         </div> |         </div> | ||||||
| @ -2263,7 +2263,7 @@ public class DefaultApiExample { | |||||||
|     public static void main(String[] args) { |     public static void main(String[] args) { | ||||||
|          |          | ||||||
|         DefaultApi apiInstance = new DefaultApi(); |         DefaultApi apiInstance = new DefaultApi(); | ||||||
|         Boolean dvserial = true; // Boolean | Set to true to set DV serial processing |         Integer dvserial = 56; // Integer | Set to non zero (true) to set DV serial processing | ||||||
|         try { |         try { | ||||||
|             DVSeralDevices result = apiInstance.instanceDVSerialPatch(dvserial); |             DVSeralDevices result = apiInstance.instanceDVSerialPatch(dvserial); | ||||||
|             System.out.println(result); |             System.out.println(result); | ||||||
| @ -2282,7 +2282,7 @@ public class DefaultApiExample { | |||||||
| 
 | 
 | ||||||
|     public static void main(String[] args) { |     public static void main(String[] args) { | ||||||
|         DefaultApi apiInstance = new DefaultApi(); |         DefaultApi apiInstance = new DefaultApi(); | ||||||
|         Boolean dvserial = true; // Boolean | Set to true to set DV serial processing |         Integer dvserial = 56; // Integer | Set to non zero (true) to set DV serial processing | ||||||
|         try { |         try { | ||||||
|             DVSeralDevices result = apiInstance.instanceDVSerialPatch(dvserial); |             DVSeralDevices result = apiInstance.instanceDVSerialPatch(dvserial); | ||||||
|             System.out.println(result); |             System.out.println(result); | ||||||
| @ -2298,7 +2298,7 @@ public class DefaultApiExample { | |||||||
|   <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> |   <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> | ||||||
|   </div> --> |   </div> --> | ||||||
|                             <div class="tab-pane" id="examples-Default-instanceDVSerialPatch-0-objc"> |                             <div class="tab-pane" id="examples-Default-instanceDVSerialPatch-0-objc"> | ||||||
|                               <pre class="prettyprint"><code class="language-cpp">Boolean *dvserial = true; // Set to true to set DV serial processing (optional) |                               <pre class="prettyprint"><code class="language-cpp">Integer *dvserial = 56; // Set to non zero (true) to set DV serial processing (optional) | ||||||
| 
 | 
 | ||||||
| DefaultApi *apiInstance = [[DefaultApi alloc] init]; | DefaultApi *apiInstance = [[DefaultApi alloc] init]; | ||||||
| 
 | 
 | ||||||
| @ -2320,7 +2320,7 @@ DefaultApi *apiInstance = [[DefaultApi alloc] init]; | |||||||
| var api = new SdRangel.DefaultApi() | var api = new SdRangel.DefaultApi() | ||||||
| 
 | 
 | ||||||
| var opts = {  | var opts = {  | ||||||
|   'dvserial': true // {Boolean} Set to true to set DV serial processing |   'dvserial': 56 // {Integer} Set to non zero (true) to set DV serial processing | ||||||
| }; | }; | ||||||
| 
 | 
 | ||||||
| var callback = function(error, data, response) { | var callback = function(error, data, response) { | ||||||
| @ -2352,7 +2352,7 @@ namespace Example | |||||||
|         { |         { | ||||||
|              |              | ||||||
|             var apiInstance = new DefaultApi(); |             var apiInstance = new DefaultApi(); | ||||||
|             var dvserial = true;  // Boolean | Set to true to set DV serial processing (optional)  |             var dvserial = 56;  // Integer | Set to non zero (true) to set DV serial processing (optional)  | ||||||
| 
 | 
 | ||||||
|             try |             try | ||||||
|             { |             { | ||||||
| @ -2374,7 +2374,7 @@ namespace Example | |||||||
| require_once(__DIR__ . '/vendor/autoload.php'); | require_once(__DIR__ . '/vendor/autoload.php'); | ||||||
| 
 | 
 | ||||||
| $api_instance = new Swagger\Client\Api\DefaultApi(); | $api_instance = new Swagger\Client\Api\DefaultApi(); | ||||||
| $dvserial = true; // Boolean | Set to true to set DV serial processing | $dvserial = 56; // Integer | Set to non zero (true) to set DV serial processing | ||||||
| 
 | 
 | ||||||
| try { | try { | ||||||
|     $result = $api_instance->instanceDVSerialPatch($dvserial); |     $result = $api_instance->instanceDVSerialPatch($dvserial); | ||||||
| @ -2391,7 +2391,7 @@ use WWW::SwaggerClient::Configuration; | |||||||
| use WWW::SwaggerClient::DefaultApi; | use WWW::SwaggerClient::DefaultApi; | ||||||
| 
 | 
 | ||||||
| my $api_instance = WWW::SwaggerClient::DefaultApi->new(); | my $api_instance = WWW::SwaggerClient::DefaultApi->new(); | ||||||
| my $dvserial = true; # Boolean | Set to true to set DV serial processing | my $dvserial = 56; # Integer | Set to non zero (true) to set DV serial processing | ||||||
| 
 | 
 | ||||||
| eval {  | eval {  | ||||||
|     my $result = $api_instance->instanceDVSerialPatch(dvserial => $dvserial); |     my $result = $api_instance->instanceDVSerialPatch(dvserial => $dvserial); | ||||||
| @ -2411,7 +2411,7 @@ from pprint import pprint | |||||||
| 
 | 
 | ||||||
| # create an instance of the API class | # create an instance of the API class | ||||||
| api_instance = swagger_client.DefaultApi() | api_instance = swagger_client.DefaultApi() | ||||||
| dvserial = true # Boolean | Set to true to set DV serial processing (optional) | dvserial = 56 # Integer | Set to non zero (true) to set DV serial processing (optional) | ||||||
| 
 | 
 | ||||||
| try:  | try:  | ||||||
|     api_response = api_instance.instance_dv_serial_patch(dvserial=dvserial) |     api_response = api_instance.instance_dv_serial_patch(dvserial=dvserial) | ||||||
| @ -2441,11 +2441,11 @@ except ApiException as e: | |||||||
|         <div class="json-schema-view"> |         <div class="json-schema-view"> | ||||||
|             <div class="primitive"> |             <div class="primitive"> | ||||||
|                 <span class="type"> |                 <span class="type"> | ||||||
|                     Boolean |                     Integer | ||||||
|                 </span> |                 </span> | ||||||
| 
 | 
 | ||||||
|                     <div class="inner description"> |                     <div class="inner description"> | ||||||
|                         Set to true to set DV serial processing |                         Set to non zero (true) to set DV serial processing | ||||||
|                     </div> |                     </div> | ||||||
|             </div> |             </div> | ||||||
|         </div> |         </div> | ||||||
| @ -3209,7 +3209,7 @@ public class DefaultApiExample { | |||||||
|     public static void main(String[] args) { |     public static void main(String[] args) { | ||||||
|          |          | ||||||
|         DefaultApi apiInstance = new DefaultApi(); |         DefaultApi apiInstance = new DefaultApi(); | ||||||
|         Boolean tx = true; // Boolean | Set to true for a Tx device set |         Integer tx = 56; // Integer | Set to non zero (true) for a Tx device set (default Rx) | ||||||
|         try { |         try { | ||||||
|             DeviceSet result = apiInstance.instanceDeviceSetsPost(tx); |             DeviceSet result = apiInstance.instanceDeviceSetsPost(tx); | ||||||
|             System.out.println(result); |             System.out.println(result); | ||||||
| @ -3228,7 +3228,7 @@ public class DefaultApiExample { | |||||||
| 
 | 
 | ||||||
|     public static void main(String[] args) { |     public static void main(String[] args) { | ||||||
|         DefaultApi apiInstance = new DefaultApi(); |         DefaultApi apiInstance = new DefaultApi(); | ||||||
|         Boolean tx = true; // Boolean | Set to true for a Tx device set |         Integer tx = 56; // Integer | Set to non zero (true) for a Tx device set (default Rx) | ||||||
|         try { |         try { | ||||||
|             DeviceSet result = apiInstance.instanceDeviceSetsPost(tx); |             DeviceSet result = apiInstance.instanceDeviceSetsPost(tx); | ||||||
|             System.out.println(result); |             System.out.println(result); | ||||||
| @ -3244,7 +3244,7 @@ public class DefaultApiExample { | |||||||
|   <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> |   <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> | ||||||
|   </div> --> |   </div> --> | ||||||
|                             <div class="tab-pane" id="examples-Default-instanceDeviceSetsPost-0-objc"> |                             <div class="tab-pane" id="examples-Default-instanceDeviceSetsPost-0-objc"> | ||||||
|                               <pre class="prettyprint"><code class="language-cpp">Boolean *tx = true; // Set to true for a Tx device set (optional) |                               <pre class="prettyprint"><code class="language-cpp">Integer *tx = 56; // Set to non zero (true) for a Tx device set (default Rx) (optional) | ||||||
| 
 | 
 | ||||||
| DefaultApi *apiInstance = [[DefaultApi alloc] init]; | DefaultApi *apiInstance = [[DefaultApi alloc] init]; | ||||||
| 
 | 
 | ||||||
| @ -3266,7 +3266,7 @@ DefaultApi *apiInstance = [[DefaultApi alloc] init]; | |||||||
| var api = new SdRangel.DefaultApi() | var api = new SdRangel.DefaultApi() | ||||||
| 
 | 
 | ||||||
| var opts = {  | var opts = {  | ||||||
|   'tx': true // {Boolean} Set to true for a Tx device set |   'tx': 56 // {Integer} Set to non zero (true) for a Tx device set (default Rx) | ||||||
| }; | }; | ||||||
| 
 | 
 | ||||||
| var callback = function(error, data, response) { | var callback = function(error, data, response) { | ||||||
| @ -3298,7 +3298,7 @@ namespace Example | |||||||
|         { |         { | ||||||
|              |              | ||||||
|             var apiInstance = new DefaultApi(); |             var apiInstance = new DefaultApi(); | ||||||
|             var tx = true;  // Boolean | Set to true for a Tx device set (optional)  |             var tx = 56;  // Integer | Set to non zero (true) for a Tx device set (default Rx) (optional)  | ||||||
| 
 | 
 | ||||||
|             try |             try | ||||||
|             { |             { | ||||||
| @ -3320,7 +3320,7 @@ namespace Example | |||||||
| require_once(__DIR__ . '/vendor/autoload.php'); | require_once(__DIR__ . '/vendor/autoload.php'); | ||||||
| 
 | 
 | ||||||
| $api_instance = new Swagger\Client\Api\DefaultApi(); | $api_instance = new Swagger\Client\Api\DefaultApi(); | ||||||
| $tx = true; // Boolean | Set to true for a Tx device set | $tx = 56; // Integer | Set to non zero (true) for a Tx device set (default Rx) | ||||||
| 
 | 
 | ||||||
| try { | try { | ||||||
|     $result = $api_instance->instanceDeviceSetsPost($tx); |     $result = $api_instance->instanceDeviceSetsPost($tx); | ||||||
| @ -3337,7 +3337,7 @@ use WWW::SwaggerClient::Configuration; | |||||||
| use WWW::SwaggerClient::DefaultApi; | use WWW::SwaggerClient::DefaultApi; | ||||||
| 
 | 
 | ||||||
| my $api_instance = WWW::SwaggerClient::DefaultApi->new(); | my $api_instance = WWW::SwaggerClient::DefaultApi->new(); | ||||||
| my $tx = true; # Boolean | Set to true for a Tx device set | my $tx = 56; # Integer | Set to non zero (true) for a Tx device set (default Rx) | ||||||
| 
 | 
 | ||||||
| eval {  | eval {  | ||||||
|     my $result = $api_instance->instanceDeviceSetsPost(tx => $tx); |     my $result = $api_instance->instanceDeviceSetsPost(tx => $tx); | ||||||
| @ -3357,7 +3357,7 @@ from pprint import pprint | |||||||
| 
 | 
 | ||||||
| # create an instance of the API class | # create an instance of the API class | ||||||
| api_instance = swagger_client.DefaultApi() | api_instance = swagger_client.DefaultApi() | ||||||
| tx = true # Boolean | Set to true for a Tx device set (optional) | tx = 56 # Integer | Set to non zero (true) for a Tx device set (default Rx) (optional) | ||||||
| 
 | 
 | ||||||
| try:  | try:  | ||||||
|     api_response = api_instance.instance_device_sets_post(tx=tx) |     api_response = api_instance.instance_device_sets_post(tx=tx) | ||||||
| @ -3387,11 +3387,11 @@ except ApiException as e: | |||||||
|         <div class="json-schema-view"> |         <div class="json-schema-view"> | ||||||
|             <div class="primitive"> |             <div class="primitive"> | ||||||
|                 <span class="type"> |                 <span class="type"> | ||||||
|                     Boolean |                     Integer | ||||||
|                 </span> |                 </span> | ||||||
| 
 | 
 | ||||||
|                     <div class="inner description"> |                     <div class="inner description"> | ||||||
|                         Set to true for a Tx device set |                         Set to non zero (true) for a Tx device set (default Rx) | ||||||
|                     </div> |                     </div> | ||||||
|             </div> |             </div> | ||||||
|         </div> |         </div> | ||||||
| @ -3547,7 +3547,7 @@ public class DefaultApiExample { | |||||||
|     public static void main(String[] args) { |     public static void main(String[] args) { | ||||||
|          |          | ||||||
|         DefaultApi apiInstance = new DefaultApi(); |         DefaultApi apiInstance = new DefaultApi(); | ||||||
|         Boolean tx = true; // Boolean | Set to true for Tx direction |         Integer tx = 56; // Integer | Set to non zero (true) for Tx direction (default Rx) | ||||||
|         try { |         try { | ||||||
|             InstanceDevicesResponse result = apiInstance.instanceDevices(tx); |             InstanceDevicesResponse result = apiInstance.instanceDevices(tx); | ||||||
|             System.out.println(result); |             System.out.println(result); | ||||||
| @ -3566,7 +3566,7 @@ public class DefaultApiExample { | |||||||
| 
 | 
 | ||||||
|     public static void main(String[] args) { |     public static void main(String[] args) { | ||||||
|         DefaultApi apiInstance = new DefaultApi(); |         DefaultApi apiInstance = new DefaultApi(); | ||||||
|         Boolean tx = true; // Boolean | Set to true for Tx direction |         Integer tx = 56; // Integer | Set to non zero (true) for Tx direction (default Rx) | ||||||
|         try { |         try { | ||||||
|             InstanceDevicesResponse result = apiInstance.instanceDevices(tx); |             InstanceDevicesResponse result = apiInstance.instanceDevices(tx); | ||||||
|             System.out.println(result); |             System.out.println(result); | ||||||
| @ -3582,7 +3582,7 @@ public class DefaultApiExample { | |||||||
|   <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> |   <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> | ||||||
|   </div> --> |   </div> --> | ||||||
|                             <div class="tab-pane" id="examples-Default-instanceDevices-0-objc"> |                             <div class="tab-pane" id="examples-Default-instanceDevices-0-objc"> | ||||||
|                               <pre class="prettyprint"><code class="language-cpp">Boolean *tx = true; // Set to true for Tx direction (optional) |                               <pre class="prettyprint"><code class="language-cpp">Integer *tx = 56; // Set to non zero (true) for Tx direction (default Rx) (optional) | ||||||
| 
 | 
 | ||||||
| DefaultApi *apiInstance = [[DefaultApi alloc] init]; | DefaultApi *apiInstance = [[DefaultApi alloc] init]; | ||||||
| 
 | 
 | ||||||
| @ -3604,7 +3604,7 @@ DefaultApi *apiInstance = [[DefaultApi alloc] init]; | |||||||
| var api = new SdRangel.DefaultApi() | var api = new SdRangel.DefaultApi() | ||||||
| 
 | 
 | ||||||
| var opts = {  | var opts = {  | ||||||
|   'tx': true // {Boolean} Set to true for Tx direction |   'tx': 56 // {Integer} Set to non zero (true) for Tx direction (default Rx) | ||||||
| }; | }; | ||||||
| 
 | 
 | ||||||
| var callback = function(error, data, response) { | var callback = function(error, data, response) { | ||||||
| @ -3636,7 +3636,7 @@ namespace Example | |||||||
|         { |         { | ||||||
|              |              | ||||||
|             var apiInstance = new DefaultApi(); |             var apiInstance = new DefaultApi(); | ||||||
|             var tx = true;  // Boolean | Set to true for Tx direction (optional)  |             var tx = 56;  // Integer | Set to non zero (true) for Tx direction (default Rx) (optional)  | ||||||
| 
 | 
 | ||||||
|             try |             try | ||||||
|             { |             { | ||||||
| @ -3658,7 +3658,7 @@ namespace Example | |||||||
| require_once(__DIR__ . '/vendor/autoload.php'); | require_once(__DIR__ . '/vendor/autoload.php'); | ||||||
| 
 | 
 | ||||||
| $api_instance = new Swagger\Client\Api\DefaultApi(); | $api_instance = new Swagger\Client\Api\DefaultApi(); | ||||||
| $tx = true; // Boolean | Set to true for Tx direction | $tx = 56; // Integer | Set to non zero (true) for Tx direction (default Rx) | ||||||
| 
 | 
 | ||||||
| try { | try { | ||||||
|     $result = $api_instance->instanceDevices($tx); |     $result = $api_instance->instanceDevices($tx); | ||||||
| @ -3675,7 +3675,7 @@ use WWW::SwaggerClient::Configuration; | |||||||
| use WWW::SwaggerClient::DefaultApi; | use WWW::SwaggerClient::DefaultApi; | ||||||
| 
 | 
 | ||||||
| my $api_instance = WWW::SwaggerClient::DefaultApi->new(); | my $api_instance = WWW::SwaggerClient::DefaultApi->new(); | ||||||
| my $tx = true; # Boolean | Set to true for Tx direction | my $tx = 56; # Integer | Set to non zero (true) for Tx direction (default Rx) | ||||||
| 
 | 
 | ||||||
| eval {  | eval {  | ||||||
|     my $result = $api_instance->instanceDevices(tx => $tx); |     my $result = $api_instance->instanceDevices(tx => $tx); | ||||||
| @ -3695,7 +3695,7 @@ from pprint import pprint | |||||||
| 
 | 
 | ||||||
| # create an instance of the API class | # create an instance of the API class | ||||||
| api_instance = swagger_client.DefaultApi() | api_instance = swagger_client.DefaultApi() | ||||||
| tx = true # Boolean | Set to true for Tx direction (optional) | tx = 56 # Integer | Set to non zero (true) for Tx direction (default Rx) (optional) | ||||||
| 
 | 
 | ||||||
| try:  | try:  | ||||||
|     api_response = api_instance.instance_devices(tx=tx) |     api_response = api_instance.instance_devices(tx=tx) | ||||||
| @ -3725,11 +3725,11 @@ except ApiException as e: | |||||||
|         <div class="json-schema-view"> |         <div class="json-schema-view"> | ||||||
|             <div class="primitive"> |             <div class="primitive"> | ||||||
|                 <span class="type"> |                 <span class="type"> | ||||||
|                     Boolean |                     Integer | ||||||
|                 </span> |                 </span> | ||||||
| 
 | 
 | ||||||
|                     <div class="inner description"> |                     <div class="inner description"> | ||||||
|                         Set to true for Tx direction |                         Set to non zero (true) for Tx direction (default Rx) | ||||||
|                     </div> |                     </div> | ||||||
|             </div> |             </div> | ||||||
|         </div> |         </div> | ||||||
| @ -7356,7 +7356,7 @@ except ApiException as e: | |||||||
|           </div> |           </div> | ||||||
|           <div id="generator"> |           <div id="generator"> | ||||||
|             <div class="content"> |             <div class="content"> | ||||||
|               Generated 2017-11-24T00:44:01.796+01:00 |               Generated 2017-11-24T00:55:01.257+01:00 | ||||||
|             </div> |             </div> | ||||||
|           </div> |           </div> | ||||||
|       </div> |       </div> | ||||||
|  | |||||||
| @ -82,7 +82,7 @@ void WebAPIRequestMapper::service(qtwebapp::HttpRequest& request, qtwebapp::Http | |||||||
|             if (request.getMethod() == "GET") |             if (request.getMethod() == "GET") | ||||||
|             { |             { | ||||||
|                 QByteArray txStr = request.getParameter("tx"); |                 QByteArray txStr = request.getParameter("tx"); | ||||||
|                 bool tx = (txStr == "true"); |                 bool tx = (txStr == "1"); | ||||||
| 
 | 
 | ||||||
|                 int status = m_adapter->instanceDevices(tx, normalResponse, errorResponse); |                 int status = m_adapter->instanceDevices(tx, normalResponse, errorResponse); | ||||||
|                 response.setStatus(status); |                 response.setStatus(status); | ||||||
| @ -107,7 +107,7 @@ void WebAPIRequestMapper::service(qtwebapp::HttpRequest& request, qtwebapp::Http | |||||||
|             if (request.getMethod() == "GET") |             if (request.getMethod() == "GET") | ||||||
|             { |             { | ||||||
|                 QByteArray txStr = request.getParameter("tx"); |                 QByteArray txStr = request.getParameter("tx"); | ||||||
|                 bool tx = (txStr == "true"); |                 bool tx = (txStr == "1"); | ||||||
| 
 | 
 | ||||||
|                 int status = m_adapter->instanceChannels(tx, normalResponse, errorResponse); |                 int status = m_adapter->instanceChannels(tx, normalResponse, errorResponse); | ||||||
|                 response.setStatus(status); |                 response.setStatus(status); | ||||||
|  | |||||||
| @ -50,9 +50,9 @@ paths: | |||||||
|       parameters: |       parameters: | ||||||
|         - name: tx |         - name: tx | ||||||
|           in: query |           in: query | ||||||
|           description: Set to true for Tx direction |           description: Set to non zero (true) for Tx direction (default Rx) | ||||||
|           required: false |           required: false | ||||||
|           type: boolean |           type: integer | ||||||
|       responses: |       responses: | ||||||
|         "200": |         "200": | ||||||
|           description: Success |           description: Success | ||||||
| @ -72,9 +72,9 @@ paths: | |||||||
|       parameters: |       parameters: | ||||||
|         - name: tx |         - name: tx | ||||||
|           in: query |           in: query | ||||||
|           description: Set to true for Tx channels |           description: Set to non zero (true) for Tx channels (default Rx) | ||||||
|           required: false |           required: false | ||||||
|           type: boolean |           type: integer | ||||||
|       responses: |       responses: | ||||||
|         "200": |         "200": | ||||||
|           description: Success |           description: Success | ||||||
| @ -217,9 +217,9 @@ paths: | |||||||
|       parameters: |       parameters: | ||||||
|         - name: dvserial |         - name: dvserial | ||||||
|           in: query |           in: query | ||||||
|           description: Set to true to set DV serial processing |           description: Set to non zero (true) to set DV serial processing | ||||||
|           required: false |           required: false | ||||||
|           type: boolean |           type: integer | ||||||
|       responses: |       responses: | ||||||
|         "200": |         "200": | ||||||
|           description: On success return list of devices or empty list if unset |           description: On success return list of devices or empty list if unset | ||||||
| @ -383,9 +383,9 @@ paths: | |||||||
|       parameters: |       parameters: | ||||||
|         - name: tx |         - name: tx | ||||||
|           in: query |           in: query | ||||||
|           description: Set to true for a Tx device set |           description: Set to non zero (true) for a Tx device set (default Rx) | ||||||
|           required: false |           required: false | ||||||
|           type: boolean |           type: integer | ||||||
|       responses: |       responses: | ||||||
|         "200": |         "200": | ||||||
|           description: On success return new device set |           description: On success return new device set | ||||||
|  | |||||||
| @ -1925,7 +1925,7 @@ public class DefaultApiExample { | |||||||
|     public static void main(String[] args) { |     public static void main(String[] args) { | ||||||
|          |          | ||||||
|         DefaultApi apiInstance = new DefaultApi(); |         DefaultApi apiInstance = new DefaultApi(); | ||||||
|         Boolean tx = true; // Boolean | Set to true for Tx channels |         Integer tx = 56; // Integer | Set to non zero (true) for Tx channels (default Rx) | ||||||
|         try { |         try { | ||||||
|             InstanceChannelsResponse result = apiInstance.instanceChannels(tx); |             InstanceChannelsResponse result = apiInstance.instanceChannels(tx); | ||||||
|             System.out.println(result); |             System.out.println(result); | ||||||
| @ -1944,7 +1944,7 @@ public class DefaultApiExample { | |||||||
| 
 | 
 | ||||||
|     public static void main(String[] args) { |     public static void main(String[] args) { | ||||||
|         DefaultApi apiInstance = new DefaultApi(); |         DefaultApi apiInstance = new DefaultApi(); | ||||||
|         Boolean tx = true; // Boolean | Set to true for Tx channels |         Integer tx = 56; // Integer | Set to non zero (true) for Tx channels (default Rx) | ||||||
|         try { |         try { | ||||||
|             InstanceChannelsResponse result = apiInstance.instanceChannels(tx); |             InstanceChannelsResponse result = apiInstance.instanceChannels(tx); | ||||||
|             System.out.println(result); |             System.out.println(result); | ||||||
| @ -1960,7 +1960,7 @@ public class DefaultApiExample { | |||||||
|   <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> |   <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> | ||||||
|   </div> --> |   </div> --> | ||||||
|                             <div class="tab-pane" id="examples-Default-instanceChannels-0-objc"> |                             <div class="tab-pane" id="examples-Default-instanceChannels-0-objc"> | ||||||
|                               <pre class="prettyprint"><code class="language-cpp">Boolean *tx = true; // Set to true for Tx channels (optional) |                               <pre class="prettyprint"><code class="language-cpp">Integer *tx = 56; // Set to non zero (true) for Tx channels (default Rx) (optional) | ||||||
| 
 | 
 | ||||||
| DefaultApi *apiInstance = [[DefaultApi alloc] init]; | DefaultApi *apiInstance = [[DefaultApi alloc] init]; | ||||||
| 
 | 
 | ||||||
| @ -1982,7 +1982,7 @@ DefaultApi *apiInstance = [[DefaultApi alloc] init]; | |||||||
| var api = new SdRangel.DefaultApi() | var api = new SdRangel.DefaultApi() | ||||||
| 
 | 
 | ||||||
| var opts = {  | var opts = {  | ||||||
|   'tx': true // {Boolean} Set to true for Tx channels |   'tx': 56 // {Integer} Set to non zero (true) for Tx channels (default Rx) | ||||||
| }; | }; | ||||||
| 
 | 
 | ||||||
| var callback = function(error, data, response) { | var callback = function(error, data, response) { | ||||||
| @ -2014,7 +2014,7 @@ namespace Example | |||||||
|         { |         { | ||||||
|              |              | ||||||
|             var apiInstance = new DefaultApi(); |             var apiInstance = new DefaultApi(); | ||||||
|             var tx = true;  // Boolean | Set to true for Tx channels (optional)  |             var tx = 56;  // Integer | Set to non zero (true) for Tx channels (default Rx) (optional)  | ||||||
| 
 | 
 | ||||||
|             try |             try | ||||||
|             { |             { | ||||||
| @ -2036,7 +2036,7 @@ namespace Example | |||||||
| require_once(__DIR__ . '/vendor/autoload.php'); | require_once(__DIR__ . '/vendor/autoload.php'); | ||||||
| 
 | 
 | ||||||
| $api_instance = new Swagger\Client\Api\DefaultApi(); | $api_instance = new Swagger\Client\Api\DefaultApi(); | ||||||
| $tx = true; // Boolean | Set to true for Tx channels | $tx = 56; // Integer | Set to non zero (true) for Tx channels (default Rx) | ||||||
| 
 | 
 | ||||||
| try { | try { | ||||||
|     $result = $api_instance->instanceChannels($tx); |     $result = $api_instance->instanceChannels($tx); | ||||||
| @ -2053,7 +2053,7 @@ use WWW::SwaggerClient::Configuration; | |||||||
| use WWW::SwaggerClient::DefaultApi; | use WWW::SwaggerClient::DefaultApi; | ||||||
| 
 | 
 | ||||||
| my $api_instance = WWW::SwaggerClient::DefaultApi->new(); | my $api_instance = WWW::SwaggerClient::DefaultApi->new(); | ||||||
| my $tx = true; # Boolean | Set to true for Tx channels | my $tx = 56; # Integer | Set to non zero (true) for Tx channels (default Rx) | ||||||
| 
 | 
 | ||||||
| eval {  | eval {  | ||||||
|     my $result = $api_instance->instanceChannels(tx => $tx); |     my $result = $api_instance->instanceChannels(tx => $tx); | ||||||
| @ -2073,7 +2073,7 @@ from pprint import pprint | |||||||
| 
 | 
 | ||||||
| # create an instance of the API class | # create an instance of the API class | ||||||
| api_instance = swagger_client.DefaultApi() | api_instance = swagger_client.DefaultApi() | ||||||
| tx = true # Boolean | Set to true for Tx channels (optional) | tx = 56 # Integer | Set to non zero (true) for Tx channels (default Rx) (optional) | ||||||
| 
 | 
 | ||||||
| try:  | try:  | ||||||
|     api_response = api_instance.instance_channels(tx=tx) |     api_response = api_instance.instance_channels(tx=tx) | ||||||
| @ -2103,11 +2103,11 @@ except ApiException as e: | |||||||
|         <div class="json-schema-view"> |         <div class="json-schema-view"> | ||||||
|             <div class="primitive"> |             <div class="primitive"> | ||||||
|                 <span class="type"> |                 <span class="type"> | ||||||
|                     Boolean |                     Integer | ||||||
|                 </span> |                 </span> | ||||||
| 
 | 
 | ||||||
|                     <div class="inner description"> |                     <div class="inner description"> | ||||||
|                         Set to true for Tx channels |                         Set to non zero (true) for Tx channels (default Rx) | ||||||
|                     </div> |                     </div> | ||||||
|             </div> |             </div> | ||||||
|         </div> |         </div> | ||||||
| @ -2263,7 +2263,7 @@ public class DefaultApiExample { | |||||||
|     public static void main(String[] args) { |     public static void main(String[] args) { | ||||||
|          |          | ||||||
|         DefaultApi apiInstance = new DefaultApi(); |         DefaultApi apiInstance = new DefaultApi(); | ||||||
|         Boolean dvserial = true; // Boolean | Set to true to set DV serial processing |         Integer dvserial = 56; // Integer | Set to non zero (true) to set DV serial processing | ||||||
|         try { |         try { | ||||||
|             DVSeralDevices result = apiInstance.instanceDVSerialPatch(dvserial); |             DVSeralDevices result = apiInstance.instanceDVSerialPatch(dvserial); | ||||||
|             System.out.println(result); |             System.out.println(result); | ||||||
| @ -2282,7 +2282,7 @@ public class DefaultApiExample { | |||||||
| 
 | 
 | ||||||
|     public static void main(String[] args) { |     public static void main(String[] args) { | ||||||
|         DefaultApi apiInstance = new DefaultApi(); |         DefaultApi apiInstance = new DefaultApi(); | ||||||
|         Boolean dvserial = true; // Boolean | Set to true to set DV serial processing |         Integer dvserial = 56; // Integer | Set to non zero (true) to set DV serial processing | ||||||
|         try { |         try { | ||||||
|             DVSeralDevices result = apiInstance.instanceDVSerialPatch(dvserial); |             DVSeralDevices result = apiInstance.instanceDVSerialPatch(dvserial); | ||||||
|             System.out.println(result); |             System.out.println(result); | ||||||
| @ -2298,7 +2298,7 @@ public class DefaultApiExample { | |||||||
|   <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> |   <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> | ||||||
|   </div> --> |   </div> --> | ||||||
|                             <div class="tab-pane" id="examples-Default-instanceDVSerialPatch-0-objc"> |                             <div class="tab-pane" id="examples-Default-instanceDVSerialPatch-0-objc"> | ||||||
|                               <pre class="prettyprint"><code class="language-cpp">Boolean *dvserial = true; // Set to true to set DV serial processing (optional) |                               <pre class="prettyprint"><code class="language-cpp">Integer *dvserial = 56; // Set to non zero (true) to set DV serial processing (optional) | ||||||
| 
 | 
 | ||||||
| DefaultApi *apiInstance = [[DefaultApi alloc] init]; | DefaultApi *apiInstance = [[DefaultApi alloc] init]; | ||||||
| 
 | 
 | ||||||
| @ -2320,7 +2320,7 @@ DefaultApi *apiInstance = [[DefaultApi alloc] init]; | |||||||
| var api = new SdRangel.DefaultApi() | var api = new SdRangel.DefaultApi() | ||||||
| 
 | 
 | ||||||
| var opts = {  | var opts = {  | ||||||
|   'dvserial': true // {Boolean} Set to true to set DV serial processing |   'dvserial': 56 // {Integer} Set to non zero (true) to set DV serial processing | ||||||
| }; | }; | ||||||
| 
 | 
 | ||||||
| var callback = function(error, data, response) { | var callback = function(error, data, response) { | ||||||
| @ -2352,7 +2352,7 @@ namespace Example | |||||||
|         { |         { | ||||||
|              |              | ||||||
|             var apiInstance = new DefaultApi(); |             var apiInstance = new DefaultApi(); | ||||||
|             var dvserial = true;  // Boolean | Set to true to set DV serial processing (optional)  |             var dvserial = 56;  // Integer | Set to non zero (true) to set DV serial processing (optional)  | ||||||
| 
 | 
 | ||||||
|             try |             try | ||||||
|             { |             { | ||||||
| @ -2374,7 +2374,7 @@ namespace Example | |||||||
| require_once(__DIR__ . '/vendor/autoload.php'); | require_once(__DIR__ . '/vendor/autoload.php'); | ||||||
| 
 | 
 | ||||||
| $api_instance = new Swagger\Client\Api\DefaultApi(); | $api_instance = new Swagger\Client\Api\DefaultApi(); | ||||||
| $dvserial = true; // Boolean | Set to true to set DV serial processing | $dvserial = 56; // Integer | Set to non zero (true) to set DV serial processing | ||||||
| 
 | 
 | ||||||
| try { | try { | ||||||
|     $result = $api_instance->instanceDVSerialPatch($dvserial); |     $result = $api_instance->instanceDVSerialPatch($dvserial); | ||||||
| @ -2391,7 +2391,7 @@ use WWW::SwaggerClient::Configuration; | |||||||
| use WWW::SwaggerClient::DefaultApi; | use WWW::SwaggerClient::DefaultApi; | ||||||
| 
 | 
 | ||||||
| my $api_instance = WWW::SwaggerClient::DefaultApi->new(); | my $api_instance = WWW::SwaggerClient::DefaultApi->new(); | ||||||
| my $dvserial = true; # Boolean | Set to true to set DV serial processing | my $dvserial = 56; # Integer | Set to non zero (true) to set DV serial processing | ||||||
| 
 | 
 | ||||||
| eval {  | eval {  | ||||||
|     my $result = $api_instance->instanceDVSerialPatch(dvserial => $dvserial); |     my $result = $api_instance->instanceDVSerialPatch(dvserial => $dvserial); | ||||||
| @ -2411,7 +2411,7 @@ from pprint import pprint | |||||||
| 
 | 
 | ||||||
| # create an instance of the API class | # create an instance of the API class | ||||||
| api_instance = swagger_client.DefaultApi() | api_instance = swagger_client.DefaultApi() | ||||||
| dvserial = true # Boolean | Set to true to set DV serial processing (optional) | dvserial = 56 # Integer | Set to non zero (true) to set DV serial processing (optional) | ||||||
| 
 | 
 | ||||||
| try:  | try:  | ||||||
|     api_response = api_instance.instance_dv_serial_patch(dvserial=dvserial) |     api_response = api_instance.instance_dv_serial_patch(dvserial=dvserial) | ||||||
| @ -2441,11 +2441,11 @@ except ApiException as e: | |||||||
|         <div class="json-schema-view"> |         <div class="json-schema-view"> | ||||||
|             <div class="primitive"> |             <div class="primitive"> | ||||||
|                 <span class="type"> |                 <span class="type"> | ||||||
|                     Boolean |                     Integer | ||||||
|                 </span> |                 </span> | ||||||
| 
 | 
 | ||||||
|                     <div class="inner description"> |                     <div class="inner description"> | ||||||
|                         Set to true to set DV serial processing |                         Set to non zero (true) to set DV serial processing | ||||||
|                     </div> |                     </div> | ||||||
|             </div> |             </div> | ||||||
|         </div> |         </div> | ||||||
| @ -3209,7 +3209,7 @@ public class DefaultApiExample { | |||||||
|     public static void main(String[] args) { |     public static void main(String[] args) { | ||||||
|          |          | ||||||
|         DefaultApi apiInstance = new DefaultApi(); |         DefaultApi apiInstance = new DefaultApi(); | ||||||
|         Boolean tx = true; // Boolean | Set to true for a Tx device set |         Integer tx = 56; // Integer | Set to non zero (true) for a Tx device set (default Rx) | ||||||
|         try { |         try { | ||||||
|             DeviceSet result = apiInstance.instanceDeviceSetsPost(tx); |             DeviceSet result = apiInstance.instanceDeviceSetsPost(tx); | ||||||
|             System.out.println(result); |             System.out.println(result); | ||||||
| @ -3228,7 +3228,7 @@ public class DefaultApiExample { | |||||||
| 
 | 
 | ||||||
|     public static void main(String[] args) { |     public static void main(String[] args) { | ||||||
|         DefaultApi apiInstance = new DefaultApi(); |         DefaultApi apiInstance = new DefaultApi(); | ||||||
|         Boolean tx = true; // Boolean | Set to true for a Tx device set |         Integer tx = 56; // Integer | Set to non zero (true) for a Tx device set (default Rx) | ||||||
|         try { |         try { | ||||||
|             DeviceSet result = apiInstance.instanceDeviceSetsPost(tx); |             DeviceSet result = apiInstance.instanceDeviceSetsPost(tx); | ||||||
|             System.out.println(result); |             System.out.println(result); | ||||||
| @ -3244,7 +3244,7 @@ public class DefaultApiExample { | |||||||
|   <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> |   <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> | ||||||
|   </div> --> |   </div> --> | ||||||
|                             <div class="tab-pane" id="examples-Default-instanceDeviceSetsPost-0-objc"> |                             <div class="tab-pane" id="examples-Default-instanceDeviceSetsPost-0-objc"> | ||||||
|                               <pre class="prettyprint"><code class="language-cpp">Boolean *tx = true; // Set to true for a Tx device set (optional) |                               <pre class="prettyprint"><code class="language-cpp">Integer *tx = 56; // Set to non zero (true) for a Tx device set (default Rx) (optional) | ||||||
| 
 | 
 | ||||||
| DefaultApi *apiInstance = [[DefaultApi alloc] init]; | DefaultApi *apiInstance = [[DefaultApi alloc] init]; | ||||||
| 
 | 
 | ||||||
| @ -3266,7 +3266,7 @@ DefaultApi *apiInstance = [[DefaultApi alloc] init]; | |||||||
| var api = new SdRangel.DefaultApi() | var api = new SdRangel.DefaultApi() | ||||||
| 
 | 
 | ||||||
| var opts = {  | var opts = {  | ||||||
|   'tx': true // {Boolean} Set to true for a Tx device set |   'tx': 56 // {Integer} Set to non zero (true) for a Tx device set (default Rx) | ||||||
| }; | }; | ||||||
| 
 | 
 | ||||||
| var callback = function(error, data, response) { | var callback = function(error, data, response) { | ||||||
| @ -3298,7 +3298,7 @@ namespace Example | |||||||
|         { |         { | ||||||
|              |              | ||||||
|             var apiInstance = new DefaultApi(); |             var apiInstance = new DefaultApi(); | ||||||
|             var tx = true;  // Boolean | Set to true for a Tx device set (optional)  |             var tx = 56;  // Integer | Set to non zero (true) for a Tx device set (default Rx) (optional)  | ||||||
| 
 | 
 | ||||||
|             try |             try | ||||||
|             { |             { | ||||||
| @ -3320,7 +3320,7 @@ namespace Example | |||||||
| require_once(__DIR__ . '/vendor/autoload.php'); | require_once(__DIR__ . '/vendor/autoload.php'); | ||||||
| 
 | 
 | ||||||
| $api_instance = new Swagger\Client\Api\DefaultApi(); | $api_instance = new Swagger\Client\Api\DefaultApi(); | ||||||
| $tx = true; // Boolean | Set to true for a Tx device set | $tx = 56; // Integer | Set to non zero (true) for a Tx device set (default Rx) | ||||||
| 
 | 
 | ||||||
| try { | try { | ||||||
|     $result = $api_instance->instanceDeviceSetsPost($tx); |     $result = $api_instance->instanceDeviceSetsPost($tx); | ||||||
| @ -3337,7 +3337,7 @@ use WWW::SwaggerClient::Configuration; | |||||||
| use WWW::SwaggerClient::DefaultApi; | use WWW::SwaggerClient::DefaultApi; | ||||||
| 
 | 
 | ||||||
| my $api_instance = WWW::SwaggerClient::DefaultApi->new(); | my $api_instance = WWW::SwaggerClient::DefaultApi->new(); | ||||||
| my $tx = true; # Boolean | Set to true for a Tx device set | my $tx = 56; # Integer | Set to non zero (true) for a Tx device set (default Rx) | ||||||
| 
 | 
 | ||||||
| eval {  | eval {  | ||||||
|     my $result = $api_instance->instanceDeviceSetsPost(tx => $tx); |     my $result = $api_instance->instanceDeviceSetsPost(tx => $tx); | ||||||
| @ -3357,7 +3357,7 @@ from pprint import pprint | |||||||
| 
 | 
 | ||||||
| # create an instance of the API class | # create an instance of the API class | ||||||
| api_instance = swagger_client.DefaultApi() | api_instance = swagger_client.DefaultApi() | ||||||
| tx = true # Boolean | Set to true for a Tx device set (optional) | tx = 56 # Integer | Set to non zero (true) for a Tx device set (default Rx) (optional) | ||||||
| 
 | 
 | ||||||
| try:  | try:  | ||||||
|     api_response = api_instance.instance_device_sets_post(tx=tx) |     api_response = api_instance.instance_device_sets_post(tx=tx) | ||||||
| @ -3387,11 +3387,11 @@ except ApiException as e: | |||||||
|         <div class="json-schema-view"> |         <div class="json-schema-view"> | ||||||
|             <div class="primitive"> |             <div class="primitive"> | ||||||
|                 <span class="type"> |                 <span class="type"> | ||||||
|                     Boolean |                     Integer | ||||||
|                 </span> |                 </span> | ||||||
| 
 | 
 | ||||||
|                     <div class="inner description"> |                     <div class="inner description"> | ||||||
|                         Set to true for a Tx device set |                         Set to non zero (true) for a Tx device set (default Rx) | ||||||
|                     </div> |                     </div> | ||||||
|             </div> |             </div> | ||||||
|         </div> |         </div> | ||||||
| @ -3547,7 +3547,7 @@ public class DefaultApiExample { | |||||||
|     public static void main(String[] args) { |     public static void main(String[] args) { | ||||||
|          |          | ||||||
|         DefaultApi apiInstance = new DefaultApi(); |         DefaultApi apiInstance = new DefaultApi(); | ||||||
|         Boolean tx = true; // Boolean | Set to true for Tx direction |         Integer tx = 56; // Integer | Set to non zero (true) for Tx direction (default Rx) | ||||||
|         try { |         try { | ||||||
|             InstanceDevicesResponse result = apiInstance.instanceDevices(tx); |             InstanceDevicesResponse result = apiInstance.instanceDevices(tx); | ||||||
|             System.out.println(result); |             System.out.println(result); | ||||||
| @ -3566,7 +3566,7 @@ public class DefaultApiExample { | |||||||
| 
 | 
 | ||||||
|     public static void main(String[] args) { |     public static void main(String[] args) { | ||||||
|         DefaultApi apiInstance = new DefaultApi(); |         DefaultApi apiInstance = new DefaultApi(); | ||||||
|         Boolean tx = true; // Boolean | Set to true for Tx direction |         Integer tx = 56; // Integer | Set to non zero (true) for Tx direction (default Rx) | ||||||
|         try { |         try { | ||||||
|             InstanceDevicesResponse result = apiInstance.instanceDevices(tx); |             InstanceDevicesResponse result = apiInstance.instanceDevices(tx); | ||||||
|             System.out.println(result); |             System.out.println(result); | ||||||
| @ -3582,7 +3582,7 @@ public class DefaultApiExample { | |||||||
|   <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> |   <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> | ||||||
|   </div> --> |   </div> --> | ||||||
|                             <div class="tab-pane" id="examples-Default-instanceDevices-0-objc"> |                             <div class="tab-pane" id="examples-Default-instanceDevices-0-objc"> | ||||||
|                               <pre class="prettyprint"><code class="language-cpp">Boolean *tx = true; // Set to true for Tx direction (optional) |                               <pre class="prettyprint"><code class="language-cpp">Integer *tx = 56; // Set to non zero (true) for Tx direction (default Rx) (optional) | ||||||
| 
 | 
 | ||||||
| DefaultApi *apiInstance = [[DefaultApi alloc] init]; | DefaultApi *apiInstance = [[DefaultApi alloc] init]; | ||||||
| 
 | 
 | ||||||
| @ -3604,7 +3604,7 @@ DefaultApi *apiInstance = [[DefaultApi alloc] init]; | |||||||
| var api = new SdRangel.DefaultApi() | var api = new SdRangel.DefaultApi() | ||||||
| 
 | 
 | ||||||
| var opts = {  | var opts = {  | ||||||
|   'tx': true // {Boolean} Set to true for Tx direction |   'tx': 56 // {Integer} Set to non zero (true) for Tx direction (default Rx) | ||||||
| }; | }; | ||||||
| 
 | 
 | ||||||
| var callback = function(error, data, response) { | var callback = function(error, data, response) { | ||||||
| @ -3636,7 +3636,7 @@ namespace Example | |||||||
|         { |         { | ||||||
|              |              | ||||||
|             var apiInstance = new DefaultApi(); |             var apiInstance = new DefaultApi(); | ||||||
|             var tx = true;  // Boolean | Set to true for Tx direction (optional)  |             var tx = 56;  // Integer | Set to non zero (true) for Tx direction (default Rx) (optional)  | ||||||
| 
 | 
 | ||||||
|             try |             try | ||||||
|             { |             { | ||||||
| @ -3658,7 +3658,7 @@ namespace Example | |||||||
| require_once(__DIR__ . '/vendor/autoload.php'); | require_once(__DIR__ . '/vendor/autoload.php'); | ||||||
| 
 | 
 | ||||||
| $api_instance = new Swagger\Client\Api\DefaultApi(); | $api_instance = new Swagger\Client\Api\DefaultApi(); | ||||||
| $tx = true; // Boolean | Set to true for Tx direction | $tx = 56; // Integer | Set to non zero (true) for Tx direction (default Rx) | ||||||
| 
 | 
 | ||||||
| try { | try { | ||||||
|     $result = $api_instance->instanceDevices($tx); |     $result = $api_instance->instanceDevices($tx); | ||||||
| @ -3675,7 +3675,7 @@ use WWW::SwaggerClient::Configuration; | |||||||
| use WWW::SwaggerClient::DefaultApi; | use WWW::SwaggerClient::DefaultApi; | ||||||
| 
 | 
 | ||||||
| my $api_instance = WWW::SwaggerClient::DefaultApi->new(); | my $api_instance = WWW::SwaggerClient::DefaultApi->new(); | ||||||
| my $tx = true; # Boolean | Set to true for Tx direction | my $tx = 56; # Integer | Set to non zero (true) for Tx direction (default Rx) | ||||||
| 
 | 
 | ||||||
| eval {  | eval {  | ||||||
|     my $result = $api_instance->instanceDevices(tx => $tx); |     my $result = $api_instance->instanceDevices(tx => $tx); | ||||||
| @ -3695,7 +3695,7 @@ from pprint import pprint | |||||||
| 
 | 
 | ||||||
| # create an instance of the API class | # create an instance of the API class | ||||||
| api_instance = swagger_client.DefaultApi() | api_instance = swagger_client.DefaultApi() | ||||||
| tx = true # Boolean | Set to true for Tx direction (optional) | tx = 56 # Integer | Set to non zero (true) for Tx direction (default Rx) (optional) | ||||||
| 
 | 
 | ||||||
| try:  | try:  | ||||||
|     api_response = api_instance.instance_devices(tx=tx) |     api_response = api_instance.instance_devices(tx=tx) | ||||||
| @ -3725,11 +3725,11 @@ except ApiException as e: | |||||||
|         <div class="json-schema-view"> |         <div class="json-schema-view"> | ||||||
|             <div class="primitive"> |             <div class="primitive"> | ||||||
|                 <span class="type"> |                 <span class="type"> | ||||||
|                     Boolean |                     Integer | ||||||
|                 </span> |                 </span> | ||||||
| 
 | 
 | ||||||
|                     <div class="inner description"> |                     <div class="inner description"> | ||||||
|                         Set to true for Tx direction |                         Set to non zero (true) for Tx direction (default Rx) | ||||||
|                     </div> |                     </div> | ||||||
|             </div> |             </div> | ||||||
|         </div> |         </div> | ||||||
| @ -7356,7 +7356,7 @@ except ApiException as e: | |||||||
|           </div> |           </div> | ||||||
|           <div id="generator"> |           <div id="generator"> | ||||||
|             <div class="content"> |             <div class="content"> | ||||||
|               Generated 2017-11-24T00:44:01.796+01:00 |               Generated 2017-11-24T00:55:01.257+01:00 | ||||||
|             </div> |             </div> | ||||||
|           </div> |           </div> | ||||||
|       </div> |       </div> | ||||||
|  | |||||||
| @ -127,7 +127,7 @@ SWGDefaultApi::instanceAudioPatchCallback(HttpRequestWorker * worker) { | |||||||
| } | } | ||||||
| 
 | 
 | ||||||
| void | void | ||||||
| SWGDefaultApi::instanceChannels(bool tx) { | SWGDefaultApi::instanceChannels(qint32 tx) { | ||||||
|     QString fullPath; |     QString fullPath; | ||||||
|     fullPath.append(this->host).append(this->basePath).append("/sdrangel/channels"); |     fullPath.append(this->host).append(this->basePath).append("/sdrangel/channels"); | ||||||
| 
 | 
 | ||||||
| @ -183,7 +183,7 @@ SWGDefaultApi::instanceChannelsCallback(HttpRequestWorker * worker) { | |||||||
| } | } | ||||||
| 
 | 
 | ||||||
| void | void | ||||||
| SWGDefaultApi::instanceDVSerialPatch(bool dvserial) { | SWGDefaultApi::instanceDVSerialPatch(qint32 dvserial) { | ||||||
|     QString fullPath; |     QString fullPath; | ||||||
|     fullPath.append(this->host).append(this->basePath).append("/sdrangel/dvserial"); |     fullPath.append(this->host).append(this->basePath).append("/sdrangel/dvserial"); | ||||||
| 
 | 
 | ||||||
| @ -335,7 +335,7 @@ SWGDefaultApi::instanceDeviceSetsGetCallback(HttpRequestWorker * worker) { | |||||||
| } | } | ||||||
| 
 | 
 | ||||||
| void | void | ||||||
| SWGDefaultApi::instanceDeviceSetsPost(bool tx) { | SWGDefaultApi::instanceDeviceSetsPost(qint32 tx) { | ||||||
|     QString fullPath; |     QString fullPath; | ||||||
|     fullPath.append(this->host).append(this->basePath).append("/sdrangel/devicesets"); |     fullPath.append(this->host).append(this->basePath).append("/sdrangel/devicesets"); | ||||||
| 
 | 
 | ||||||
| @ -391,7 +391,7 @@ SWGDefaultApi::instanceDeviceSetsPostCallback(HttpRequestWorker * worker) { | |||||||
| } | } | ||||||
| 
 | 
 | ||||||
| void | void | ||||||
| SWGDefaultApi::instanceDevices(bool tx) { | SWGDefaultApi::instanceDevices(qint32 tx) { | ||||||
|     QString fullPath; |     QString fullPath; | ||||||
|     fullPath.append(this->host).append(this->basePath).append("/sdrangel/devices"); |     fullPath.append(this->host).append(this->basePath).append("/sdrangel/devices"); | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -48,12 +48,12 @@ public: | |||||||
| 
 | 
 | ||||||
|     void instanceAudioGet(); |     void instanceAudioGet(); | ||||||
|     void instanceAudioPatch(SWGAudioDevicesSelect body); |     void instanceAudioPatch(SWGAudioDevicesSelect body); | ||||||
|     void instanceChannels(bool tx); |     void instanceChannels(qint32 tx); | ||||||
|     void instanceDVSerialPatch(bool dvserial); |     void instanceDVSerialPatch(qint32 dvserial); | ||||||
|     void instanceDeviceSetsDelete(); |     void instanceDeviceSetsDelete(); | ||||||
|     void instanceDeviceSetsGet(); |     void instanceDeviceSetsGet(); | ||||||
|     void instanceDeviceSetsPost(bool tx); |     void instanceDeviceSetsPost(qint32 tx); | ||||||
|     void instanceDevices(bool tx); |     void instanceDevices(qint32 tx); | ||||||
|     void instanceLocationGet(); |     void instanceLocationGet(); | ||||||
|     void instanceLocationPut(SWGLocationInformation body); |     void instanceLocationPut(SWGLocationInformation body); | ||||||
|     void instanceLoggingGet(); |     void instanceLoggingGet(); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user