# SDRangel

## API and SDK Documentation

Version: 7.0.0

This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube

Limitations and specifcities:

- In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method.
- Preset import and export from/to file is a server only feature.
- Device set focus is a GUI only feature.
- The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator
- The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time
- The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time

# DeviceSet

# devicesetChannelActionsPost

post an action or actions on a channel

    /sdrangel/deviceset/{deviceSetIndex}/channel/{channelIndex}/actions

### Usage and SDK Samples

    curl -X POST "http://localhost/sdrangel/deviceset/{deviceSetIndex}/channel/{channelIndex}/actions"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.DeviceSetApi;

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

    public class DeviceSetApiExample {

        public static void main(String[] args) {

            DeviceSetApi apiInstance = new DeviceSetApi();
            Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
            Integer channelIndex = 56; // Integer | Index of the channel in the channels list for this device set
            ChannelActions body = ; // ChannelActions | Action(s) to apply to the channel
            try {
                SuccessResponse result = apiInstance.devicesetChannelActionsPost(deviceSetIndex, channelIndex, body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DeviceSetApi#devicesetChannelActionsPost");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.DeviceSetApi;

    public class DeviceSetApiExample {

        public static void main(String[] args) {
            DeviceSetApi apiInstance = new DeviceSetApi();
            Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
            Integer channelIndex = 56; // Integer | Index of the channel in the channels list for this device set
            ChannelActions body = ; // ChannelActions | Action(s) to apply to the channel
            try {
                SuccessResponse result = apiInstance.devicesetChannelActionsPost(deviceSetIndex, channelIndex, body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DeviceSetApi#devicesetChannelActionsPost");
                e.printStackTrace();
            }
        }
    }

    Integer *deviceSetIndex = 56; // Index of device set in the device set list
    Integer *channelIndex = 56; // Index of the channel in the channels list for this device set
    ChannelActions *body = ; // Action(s) to apply to the channel

    DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];

    [apiInstance devicesetChannelActionsPostWith:deviceSetIndex
        channelIndex:channelIndex
        body:body
                  completionHandler: ^(SuccessResponse output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.DeviceSetApi()

    var deviceSetIndex = 56; // {Integer} Index of device set in the device set list

    var channelIndex = 56; // {Integer} Index of the channel in the channels list for this device set

    var body = ; // {ChannelActions} Action(s) to apply to the channel

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.devicesetChannelActionsPost(deviceSetIndex, channelIndex, body, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class devicesetChannelActionsPostExample
        {
            public void main()
            {

                var apiInstance = new DeviceSetApi();
                var deviceSetIndex = 56;  // Integer | Index of device set in the device set list
                var channelIndex = 56;  // Integer | Index of the channel in the channels list for this device set
                var body = new ChannelActions(); // ChannelActions | Action(s) to apply to the channel

                try
                {
                    SuccessResponse result = apiInstance.devicesetChannelActionsPost(deviceSetIndex, channelIndex, body);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling DeviceSetApi.devicesetChannelActionsPost: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\DeviceSetApi();
    $deviceSetIndex = 56; // Integer | Index of device set in the device set list
    $channelIndex = 56; // Integer | Index of the channel in the channels list for this device set
    $body = ; // ChannelActions | Action(s) to apply to the channel

    try {
        $result = $api_instance->devicesetChannelActionsPost($deviceSetIndex, $channelIndex, $body);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling DeviceSetApi->devicesetChannelActionsPost: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::DeviceSetApi;

    my $api_instance = SWGSDRangel::DeviceSetApi->new();
    my $deviceSetIndex = 56; # Integer | Index of device set in the device set list
    my $channelIndex = 56; # Integer | Index of the channel in the channels list for this device set
    my $body = SWGSDRangel::Object::ChannelActions->new(); # ChannelActions | Action(s) to apply to the channel

    eval {
        my $result = $api_instance->devicesetChannelActionsPost(deviceSetIndex => $deviceSetIndex, channelIndex => $channelIndex, body => $body);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling DeviceSetApi->devicesetChannelActionsPost: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.DeviceSetApi()
    deviceSetIndex = 56 # Integer | Index of device set in the device set list
    channelIndex = 56 # Integer | Index of the channel in the channels list for this device set
    body =  # ChannelActions | Action(s) to apply to the channel

    try:
        api_response = api_instance.deviceset_channel_actions_post(deviceSetIndex, channelIndex, body)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling DeviceSetApi->devicesetChannelActionsPost: %s\n" % e)

## Parameters

Path parameters

Name | Description
--- | ---
deviceSetIndex* | Integer Index of device set in the device set list Required
channelIndex* | Integer Index of the channel in the channels list for this device set Required

Body parameters

Name | Description
--- | ---
body * |

## Responses

### Status: 202 - Message to perform action was sent successfully

### Status: 400 - Invalid device set or channel index

### Status: 404 - Device or channel not found

### Status: 500 - Error

### Status: 501 - Function not implemented

# devicesetChannelDelete

delete a channel

    /sdrangel/deviceset/{deviceSetIndex}/channel/{channelIndex}

### Usage and SDK Samples

    curl -X DELETE "http://localhost/sdrangel/deviceset/{deviceSetIndex}/channel/{channelIndex}"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.DeviceSetApi;

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

    public class DeviceSetApiExample {

        public static void main(String[] args) {

            DeviceSetApi apiInstance = new DeviceSetApi();
            Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
            Integer channelIndex = 56; // Integer | Index of channel in the channels list
            try {
                ChannelSettings result = apiInstance.devicesetChannelDelete(deviceSetIndex, channelIndex);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DeviceSetApi#devicesetChannelDelete");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.DeviceSetApi;

    public class DeviceSetApiExample {

        public static void main(String[] args) {
            DeviceSetApi apiInstance = new DeviceSetApi();
            Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
            Integer channelIndex = 56; // Integer | Index of channel in the channels list
            try {
                ChannelSettings result = apiInstance.devicesetChannelDelete(deviceSetIndex, channelIndex);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DeviceSetApi#devicesetChannelDelete");
                e.printStackTrace();
            }
        }
    }

    Integer *deviceSetIndex = 56; // Index of device set in the device set list
    Integer *channelIndex = 56; // Index of channel in the channels list

    DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];

    [apiInstance devicesetChannelDeleteWith:deviceSetIndex
        channelIndex:channelIndex
                  completionHandler: ^(ChannelSettings output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.DeviceSetApi()

    var deviceSetIndex = 56; // {Integer} Index of device set in the device set list

    var channelIndex = 56; // {Integer} Index of channel in the channels list

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.devicesetChannelDelete(deviceSetIndex, channelIndex, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class devicesetChannelDeleteExample
        {
            public void main()
            {

                var apiInstance = new DeviceSetApi();
                var deviceSetIndex = 56;  // Integer | Index of device set in the device set list
                var channelIndex = 56;  // Integer | Index of channel in the channels list

                try
                {
                    ChannelSettings result = apiInstance.devicesetChannelDelete(deviceSetIndex, channelIndex);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling DeviceSetApi.devicesetChannelDelete: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\DeviceSetApi();
    $deviceSetIndex = 56; // Integer | Index of device set in the device set list
    $channelIndex = 56; // Integer | Index of channel in the channels list

    try {
        $result = $api_instance->devicesetChannelDelete($deviceSetIndex, $channelIndex);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling DeviceSetApi->devicesetChannelDelete: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::DeviceSetApi;

    my $api_instance = SWGSDRangel::DeviceSetApi->new();
    my $deviceSetIndex = 56; # Integer | Index of device set in the device set list
    my $channelIndex = 56; # Integer | Index of channel in the channels list

    eval {
        my $result = $api_instance->devicesetChannelDelete(deviceSetIndex => $deviceSetIndex, channelIndex => $channelIndex);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling DeviceSetApi->devicesetChannelDelete: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.DeviceSetApi()
    deviceSetIndex = 56 # Integer | Index of device set in the device set list
    channelIndex = 56 # Integer | Index of channel in the channels list

    try:
        api_response = api_instance.deviceset_channel_delete(deviceSetIndex, channelIndex)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling DeviceSetApi->devicesetChannelDelete: %s\n" % e)

## Parameters

Path parameters

Name | Description
--- | ---
deviceSetIndex* | Integer Index of device set in the device set list Required
channelIndex* | Integer Index of channel in the channels list Required

## Responses

### Status: 200 - On success return deleted channel settings

### Status: 400 - Invalid device set or channel index

### Status: 404 - Device set or channel not found

### Status: 500 - Error

### Status: 501 - Function not implemented

# devicesetChannelPost

add a channel

    /sdrangel/deviceset/{deviceSetIndex}/channel

### Usage and SDK Samples

    curl -X POST "http://localhost/sdrangel/deviceset/{deviceSetIndex}/channel"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.DeviceSetApi;

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

    public class DeviceSetApiExample {

        public static void main(String[] args) {

            DeviceSetApi apiInstance = new DeviceSetApi();
            Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
            ChannelSettings body = ; // ChannelSettings | Channel identification (no settings data)
            try {
                SuccessResponse result = apiInstance.devicesetChannelPost(deviceSetIndex, body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DeviceSetApi#devicesetChannelPost");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.DeviceSetApi;

    public class DeviceSetApiExample {

        public static void main(String[] args) {
            DeviceSetApi apiInstance = new DeviceSetApi();
            Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
            ChannelSettings body = ; // ChannelSettings | Channel identification (no settings data)
            try {
                SuccessResponse result = apiInstance.devicesetChannelPost(deviceSetIndex, body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DeviceSetApi#devicesetChannelPost");
                e.printStackTrace();
            }
        }
    }

    Integer *deviceSetIndex = 56; // Index of device set in the device set list
    ChannelSettings *body = ; // Channel identification (no settings data)

    DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];

    [apiInstance devicesetChannelPostWith:deviceSetIndex
        body:body
                  completionHandler: ^(SuccessResponse output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.DeviceSetApi()

    var deviceSetIndex = 56; // {Integer} Index of device set in the device set list

    var body = ; // {ChannelSettings} Channel identification (no settings data)

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.devicesetChannelPost(deviceSetIndex, body, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class devicesetChannelPostExample
        {
            public void main()
            {

                var apiInstance = new DeviceSetApi();
                var deviceSetIndex = 56;  // Integer | Index of device set in the device set list
                var body = new ChannelSettings(); // ChannelSettings | Channel identification (no settings data)

                try
                {
                    SuccessResponse result = apiInstance.devicesetChannelPost(deviceSetIndex, body);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling DeviceSetApi.devicesetChannelPost: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\DeviceSetApi();
    $deviceSetIndex = 56; // Integer | Index of device set in the device set list
    $body = ; // ChannelSettings | Channel identification (no settings data)

    try {
        $result = $api_instance->devicesetChannelPost($deviceSetIndex, $body);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling DeviceSetApi->devicesetChannelPost: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::DeviceSetApi;

    my $api_instance = SWGSDRangel::DeviceSetApi->new();
    my $deviceSetIndex = 56; # Integer | Index of device set in the device set list
    my $body = SWGSDRangel::Object::ChannelSettings->new(); # ChannelSettings | Channel identification (no settings data)

    eval {
        my $result = $api_instance->devicesetChannelPost(deviceSetIndex => $deviceSetIndex, body => $body);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling DeviceSetApi->devicesetChannelPost: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.DeviceSetApi()
    deviceSetIndex = 56 # Integer | Index of device set in the device set list
    body =  # ChannelSettings | Channel identification (no settings data)

    try:
        api_response = api_instance.deviceset_channel_post(deviceSetIndex, body)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling DeviceSetApi->devicesetChannelPost: %s\n" % e)

## Parameters

Path parameters

Name | Description
--- | ---
deviceSetIndex* | Integer Index of device set in the device set list Required

Body parameters

Name | Description
--- | ---
body * |

## Responses

### Status: 202 - Message to add a channel was sent successfully

### Status: 400 - Invalid device set index

### Status: 404 - Device not found

### Status: 500 - Error

### Status: 501 - Function not implemented

# devicesetChannelReportGet

get a channel report

    /sdrangel/deviceset/{deviceSetIndex}/channel/{channelIndex}/report

### Usage and SDK Samples

    curl -X GET "http://localhost/sdrangel/deviceset/{deviceSetIndex}/channel/{channelIndex}/report"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.DeviceSetApi;

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

    public class DeviceSetApiExample {

        public static void main(String[] args) {

            DeviceSetApi apiInstance = new DeviceSetApi();
            Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
            Integer channelIndex = 56; // Integer | Index of the channel in the channels list for this device set
            try {
                ChannelReport result = apiInstance.devicesetChannelReportGet(deviceSetIndex, channelIndex);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DeviceSetApi#devicesetChannelReportGet");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.DeviceSetApi;

    public class DeviceSetApiExample {

        public static void main(String[] args) {
            DeviceSetApi apiInstance = new DeviceSetApi();
            Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
            Integer channelIndex = 56; // Integer | Index of the channel in the channels list for this device set
            try {
                ChannelReport result = apiInstance.devicesetChannelReportGet(deviceSetIndex, channelIndex);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DeviceSetApi#devicesetChannelReportGet");
                e.printStackTrace();
            }
        }
    }

    Integer *deviceSetIndex = 56; // Index of device set in the device set list
    Integer *channelIndex = 56; // Index of the channel in the channels list for this device set

    DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];

    [apiInstance devicesetChannelReportGetWith:deviceSetIndex
        channelIndex:channelIndex
                  completionHandler: ^(ChannelReport output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.DeviceSetApi()

    var deviceSetIndex = 56; // {Integer} Index of device set in the device set list

    var channelIndex = 56; // {Integer} Index of the channel in the channels list for this device set

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.devicesetChannelReportGet(deviceSetIndex, channelIndex, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class devicesetChannelReportGetExample
        {
            public void main()
            {

                var apiInstance = new DeviceSetApi();
                var deviceSetIndex = 56;  // Integer | Index of device set in the device set list
                var channelIndex = 56;  // Integer | Index of the channel in the channels list for this device set

                try
                {
                    ChannelReport result = apiInstance.devicesetChannelReportGet(deviceSetIndex, channelIndex);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling DeviceSetApi.devicesetChannelReportGet: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\DeviceSetApi();
    $deviceSetIndex = 56; // Integer | Index of device set in the device set list
    $channelIndex = 56; // Integer | Index of the channel in the channels list for this device set

    try {
        $result = $api_instance->devicesetChannelReportGet($deviceSetIndex, $channelIndex);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling DeviceSetApi->devicesetChannelReportGet: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::DeviceSetApi;

    my $api_instance = SWGSDRangel::DeviceSetApi->new();
    my $deviceSetIndex = 56; # Integer | Index of device set in the device set list
    my $channelIndex = 56; # Integer | Index of the channel in the channels list for this device set

    eval {
        my $result = $api_instance->devicesetChannelReportGet(deviceSetIndex => $deviceSetIndex, channelIndex => $channelIndex);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling DeviceSetApi->devicesetChannelReportGet: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.DeviceSetApi()
    deviceSetIndex = 56 # Integer | Index of device set in the device set list
    channelIndex = 56 # Integer | Index of the channel in the channels list for this device set

    try:
        api_response = api_instance.deviceset_channel_report_get(deviceSetIndex, channelIndex)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling DeviceSetApi->devicesetChannelReportGet: %s\n" % e)

## Parameters

Path parameters

Name | Description
--- | ---
deviceSetIndex* | Integer Index of device set in the device set list Required
channelIndex* | Integer Index of the channel in the channels list for this device set Required

## Responses

### Status: 200 - On success return channel report

### Status: 400 - Invalid device set or channel index

### Status: 404 - Device set or channel not found

### Status: 500 - Error

### Status: 501 - Function not implemented

# devicesetChannelSettingsGet

get a channel settings

    /sdrangel/deviceset/{deviceSetIndex}/channel/{channelIndex}/settings

### Usage and SDK Samples

    curl -X GET "http://localhost/sdrangel/deviceset/{deviceSetIndex}/channel/{channelIndex}/settings"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.DeviceSetApi;

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

    public class DeviceSetApiExample {

        public static void main(String[] args) {

            DeviceSetApi apiInstance = new DeviceSetApi();
            Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
            Integer channelIndex = 56; // Integer | Index of the channel in the channels list for this device set
            try {
                ChannelSettings result = apiInstance.devicesetChannelSettingsGet(deviceSetIndex, channelIndex);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DeviceSetApi#devicesetChannelSettingsGet");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.DeviceSetApi;

    public class DeviceSetApiExample {

        public static void main(String[] args) {
            DeviceSetApi apiInstance = new DeviceSetApi();
            Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
            Integer channelIndex = 56; // Integer | Index of the channel in the channels list for this device set
            try {
                ChannelSettings result = apiInstance.devicesetChannelSettingsGet(deviceSetIndex, channelIndex);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DeviceSetApi#devicesetChannelSettingsGet");
                e.printStackTrace();
            }
        }
    }

    Integer *deviceSetIndex = 56; // Index of device set in the device set list
    Integer *channelIndex = 56; // Index of the channel in the channels list for this device set

    DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];

    [apiInstance devicesetChannelSettingsGetWith:deviceSetIndex
        channelIndex:channelIndex
                  completionHandler: ^(ChannelSettings output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.DeviceSetApi()

    var deviceSetIndex = 56; // {Integer} Index of device set in the device set list

    var channelIndex = 56; // {Integer} Index of the channel in the channels list for this device set

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.devicesetChannelSettingsGet(deviceSetIndex, channelIndex, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class devicesetChannelSettingsGetExample
        {
            public void main()
            {

                var apiInstance = new DeviceSetApi();
                var deviceSetIndex = 56;  // Integer | Index of device set in the device set list
                var channelIndex = 56;  // Integer | Index of the channel in the channels list for this device set

                try
                {
                    ChannelSettings result = apiInstance.devicesetChannelSettingsGet(deviceSetIndex, channelIndex);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling DeviceSetApi.devicesetChannelSettingsGet: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\DeviceSetApi();
    $deviceSetIndex = 56; // Integer | Index of device set in the device set list
    $channelIndex = 56; // Integer | Index of the channel in the channels list for this device set

    try {
        $result = $api_instance->devicesetChannelSettingsGet($deviceSetIndex, $channelIndex);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling DeviceSetApi->devicesetChannelSettingsGet: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::DeviceSetApi;

    my $api_instance = SWGSDRangel::DeviceSetApi->new();
    my $deviceSetIndex = 56; # Integer | Index of device set in the device set list
    my $channelIndex = 56; # Integer | Index of the channel in the channels list for this device set

    eval {
        my $result = $api_instance->devicesetChannelSettingsGet(deviceSetIndex => $deviceSetIndex, channelIndex => $channelIndex);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling DeviceSetApi->devicesetChannelSettingsGet: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.DeviceSetApi()
    deviceSetIndex = 56 # Integer | Index of device set in the device set list
    channelIndex = 56 # Integer | Index of the channel in the channels list for this device set

    try:
        api_response = api_instance.deviceset_channel_settings_get(deviceSetIndex, channelIndex)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling DeviceSetApi->devicesetChannelSettingsGet: %s\n" % e)

## Parameters

Path parameters

Name | Description
--- | ---
deviceSetIndex* | Integer Index of device set in the device set list Required
channelIndex* | Integer Index of the channel in the channels list for this device set Required

## Responses

### Status: 200 - On success return channel settings

### Status: 400 - Invalid device set or channel index

### Status: 404 - Device set or channel not found

### Status: 500 - Error

### Status: 501 - Function not implemented

# devicesetChannelSettingsPatch

apply settings differentially (no force)

    /sdrangel/deviceset/{deviceSetIndex}/channel/{channelIndex}/settings

### Usage and SDK Samples

    curl -X PATCH "http://localhost/sdrangel/deviceset/{deviceSetIndex}/channel/{channelIndex}/settings"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.DeviceSetApi;

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

    public class DeviceSetApiExample {

        public static void main(String[] args) {

            DeviceSetApi apiInstance = new DeviceSetApi();
            Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
            Integer channelIndex = 56; // Integer | Index of the channel in the channels list for this device set
            ChannelSettings body = ; // ChannelSettings | Channel settings to apply
            try {
                ChannelSettings result = apiInstance.devicesetChannelSettingsPatch(deviceSetIndex, channelIndex, body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DeviceSetApi#devicesetChannelSettingsPatch");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.DeviceSetApi;

    public class DeviceSetApiExample {

        public static void main(String[] args) {
            DeviceSetApi apiInstance = new DeviceSetApi();
            Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
            Integer channelIndex = 56; // Integer | Index of the channel in the channels list for this device set
            ChannelSettings body = ; // ChannelSettings | Channel settings to apply
            try {
                ChannelSettings result = apiInstance.devicesetChannelSettingsPatch(deviceSetIndex, channelIndex, body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DeviceSetApi#devicesetChannelSettingsPatch");
                e.printStackTrace();
            }
        }
    }

    Integer *deviceSetIndex = 56; // Index of device set in the device set list
    Integer *channelIndex = 56; // Index of the channel in the channels list for this device set
    ChannelSettings *body = ; // Channel settings to apply

    DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];

    [apiInstance devicesetChannelSettingsPatchWith:deviceSetIndex
        channelIndex:channelIndex
        body:body
                  completionHandler: ^(ChannelSettings output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.DeviceSetApi()

    var deviceSetIndex = 56; // {Integer} Index of device set in the device set list

    var channelIndex = 56; // {Integer} Index of the channel in the channels list for this device set

    var body = ; // {ChannelSettings} Channel settings to apply

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.devicesetChannelSettingsPatch(deviceSetIndex, channelIndex, body, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class devicesetChannelSettingsPatchExample
        {
            public void main()
            {

                var apiInstance = new DeviceSetApi();
                var deviceSetIndex = 56;  // Integer | Index of device set in the device set list
                var channelIndex = 56;  // Integer | Index of the channel in the channels list for this device set
                var body = new ChannelSettings(); // ChannelSettings | Channel settings to apply

                try
                {
                    ChannelSettings result = apiInstance.devicesetChannelSettingsPatch(deviceSetIndex, channelIndex, body);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling DeviceSetApi.devicesetChannelSettingsPatch: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\DeviceSetApi();
    $deviceSetIndex = 56; // Integer | Index of device set in the device set list
    $channelIndex = 56; // Integer | Index of the channel in the channels list for this device set
    $body = ; // ChannelSettings | Channel settings to apply

    try {
        $result = $api_instance->devicesetChannelSettingsPatch($deviceSetIndex, $channelIndex, $body);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling DeviceSetApi->devicesetChannelSettingsPatch: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::DeviceSetApi;

    my $api_instance = SWGSDRangel::DeviceSetApi->new();
    my $deviceSetIndex = 56; # Integer | Index of device set in the device set list
    my $channelIndex = 56; # Integer | Index of the channel in the channels list for this device set
    my $body = SWGSDRangel::Object::ChannelSettings->new(); # ChannelSettings | Channel settings to apply

    eval {
        my $result = $api_instance->devicesetChannelSettingsPatch(deviceSetIndex => $deviceSetIndex, channelIndex => $channelIndex, body => $body);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling DeviceSetApi->devicesetChannelSettingsPatch: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.DeviceSetApi()
    deviceSetIndex = 56 # Integer | Index of device set in the device set list
    channelIndex = 56 # Integer | Index of the channel in the channels list for this device set
    body =  # ChannelSettings | Channel settings to apply

    try:
        api_response = api_instance.deviceset_channel_settings_patch(deviceSetIndex, channelIndex, body)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling DeviceSetApi->devicesetChannelSettingsPatch: %s\n" % e)

## Parameters

Path parameters

Name | Description
--- | ---
deviceSetIndex* | Integer Index of device set in the device set list Required
channelIndex* | Integer Index of the channel in the channels list for this device set Required

Body parameters

Name | Description
--- | ---
body * |

## Responses

### Status: 200 - On success return channel new settings

### Status: 400 - Invalid device set or channel index

### Status: 404 - Device set or channel not found

### Status: 500 - Error

### Status: 501 - Function not implemented

# devicesetChannelSettingsPut

apply all settings unconditionally (force)

    /sdrangel/deviceset/{deviceSetIndex}/channel/{channelIndex}/settings

### Usage and SDK Samples

    curl -X PUT "http://localhost/sdrangel/deviceset/{deviceSetIndex}/channel/{channelIndex}/settings"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.DeviceSetApi;

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

    public class DeviceSetApiExample {

        public static void main(String[] args) {

            DeviceSetApi apiInstance = new DeviceSetApi();
            Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
            Integer channelIndex = 56; // Integer | Index of the channel in the channels list for this device set
            ChannelSettings body = ; // ChannelSettings | Channel settings to apply
            try {
                ChannelSettings result = apiInstance.devicesetChannelSettingsPut(deviceSetIndex, channelIndex, body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DeviceSetApi#devicesetChannelSettingsPut");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.DeviceSetApi;

    public class DeviceSetApiExample {

        public static void main(String[] args) {
            DeviceSetApi apiInstance = new DeviceSetApi();
            Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
            Integer channelIndex = 56; // Integer | Index of the channel in the channels list for this device set
            ChannelSettings body = ; // ChannelSettings | Channel settings to apply
            try {
                ChannelSettings result = apiInstance.devicesetChannelSettingsPut(deviceSetIndex, channelIndex, body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DeviceSetApi#devicesetChannelSettingsPut");
                e.printStackTrace();
            }
        }
    }

    Integer *deviceSetIndex = 56; // Index of device set in the device set list
    Integer *channelIndex = 56; // Index of the channel in the channels list for this device set
    ChannelSettings *body = ; // Channel settings to apply

    DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];

    [apiInstance devicesetChannelSettingsPutWith:deviceSetIndex
        channelIndex:channelIndex
        body:body
                  completionHandler: ^(ChannelSettings output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.DeviceSetApi()

    var deviceSetIndex = 56; // {Integer} Index of device set in the device set list

    var channelIndex = 56; // {Integer} Index of the channel in the channels list for this device set

    var body = ; // {ChannelSettings} Channel settings to apply

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.devicesetChannelSettingsPut(deviceSetIndex, channelIndex, body, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class devicesetChannelSettingsPutExample
        {
            public void main()
            {

                var apiInstance = new DeviceSetApi();
                var deviceSetIndex = 56;  // Integer | Index of device set in the device set list
                var channelIndex = 56;  // Integer | Index of the channel in the channels list for this device set
                var body = new ChannelSettings(); // ChannelSettings | Channel settings to apply

                try
                {
                    ChannelSettings result = apiInstance.devicesetChannelSettingsPut(deviceSetIndex, channelIndex, body);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling DeviceSetApi.devicesetChannelSettingsPut: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\DeviceSetApi();
    $deviceSetIndex = 56; // Integer | Index of device set in the device set list
    $channelIndex = 56; // Integer | Index of the channel in the channels list for this device set
    $body = ; // ChannelSettings | Channel settings to apply

    try {
        $result = $api_instance->devicesetChannelSettingsPut($deviceSetIndex, $channelIndex, $body);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling DeviceSetApi->devicesetChannelSettingsPut: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::DeviceSetApi;

    my $api_instance = SWGSDRangel::DeviceSetApi->new();
    my $deviceSetIndex = 56; # Integer | Index of device set in the device set list
    my $channelIndex = 56; # Integer | Index of the channel in the channels list for this device set
    my $body = SWGSDRangel::Object::ChannelSettings->new(); # ChannelSettings | Channel settings to apply

    eval {
        my $result = $api_instance->devicesetChannelSettingsPut(deviceSetIndex => $deviceSetIndex, channelIndex => $channelIndex, body => $body);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling DeviceSetApi->devicesetChannelSettingsPut: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.DeviceSetApi()
    deviceSetIndex = 56 # Integer | Index of device set in the device set list
    channelIndex = 56 # Integer | Index of the channel in the channels list for this device set
    body =  # ChannelSettings | Channel settings to apply

    try:
        api_response = api_instance.deviceset_channel_settings_put(deviceSetIndex, channelIndex, body)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling DeviceSetApi->devicesetChannelSettingsPut: %s\n" % e)

## Parameters

Path parameters

Name | Description
--- | ---
deviceSetIndex* | Integer Index of device set in the device set list Required
channelIndex* | Integer Index of the channel in the channels list for this device set Required

Body parameters

Name | Description
--- | ---
body * |

## Responses

### Status: 200 - On success return channel new settings

### Status: 400 - Invalid device set or channel index

### Status: 404 - Device set or channel not found

### Status: 500 - Error

### Status: 501 - Function not implemented

# devicesetChannelWorkspaceGet

get channel UI workspace information (GUI)

    /sdrangel/deviceset/{deviceSetIndex}/channel/{channelIndex}/workspace

### Usage and SDK Samples

    curl -X GET "http://localhost/sdrangel/deviceset/{deviceSetIndex}/channel/{channelIndex}/workspace"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.DeviceSetApi;

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

    public class DeviceSetApiExample {

        public static void main(String[] args) {

            DeviceSetApi apiInstance = new DeviceSetApi();
            Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
            Integer channelIndex = 56; // Integer | Index of the channel in the channels list for this device set
            try {
                WorkspaceInfo result = apiInstance.devicesetChannelWorkspaceGet(deviceSetIndex, channelIndex);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DeviceSetApi#devicesetChannelWorkspaceGet");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.DeviceSetApi;

    public class DeviceSetApiExample {

        public static void main(String[] args) {
            DeviceSetApi apiInstance = new DeviceSetApi();
            Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
            Integer channelIndex = 56; // Integer | Index of the channel in the channels list for this device set
            try {
                WorkspaceInfo result = apiInstance.devicesetChannelWorkspaceGet(deviceSetIndex, channelIndex);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DeviceSetApi#devicesetChannelWorkspaceGet");
                e.printStackTrace();
            }
        }
    }

    Integer *deviceSetIndex = 56; // Index of device set in the device set list
    Integer *channelIndex = 56; // Index of the channel in the channels list for this device set

    DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];

    [apiInstance devicesetChannelWorkspaceGetWith:deviceSetIndex
        channelIndex:channelIndex
                  completionHandler: ^(WorkspaceInfo output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.DeviceSetApi()

    var deviceSetIndex = 56; // {Integer} Index of device set in the device set list

    var channelIndex = 56; // {Integer} Index of the channel in the channels list for this device set

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.devicesetChannelWorkspaceGet(deviceSetIndex, channelIndex, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class devicesetChannelWorkspaceGetExample
        {
            public void main()
            {

                var apiInstance = new DeviceSetApi();
                var deviceSetIndex = 56;  // Integer | Index of device set in the device set list
                var channelIndex = 56;  // Integer | Index of the channel in the channels list for this device set

                try
                {
                    WorkspaceInfo result = apiInstance.devicesetChannelWorkspaceGet(deviceSetIndex, channelIndex);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling DeviceSetApi.devicesetChannelWorkspaceGet: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\DeviceSetApi();
    $deviceSetIndex = 56; // Integer | Index of device set in the device set list
    $channelIndex = 56; // Integer | Index of the channel in the channels list for this device set

    try {
        $result = $api_instance->devicesetChannelWorkspaceGet($deviceSetIndex, $channelIndex);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling DeviceSetApi->devicesetChannelWorkspaceGet: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::DeviceSetApi;

    my $api_instance = SWGSDRangel::DeviceSetApi->new();
    my $deviceSetIndex = 56; # Integer | Index of device set in the device set list
    my $channelIndex = 56; # Integer | Index of the channel in the channels list for this device set

    eval {
        my $result = $api_instance->devicesetChannelWorkspaceGet(deviceSetIndex => $deviceSetIndex, channelIndex => $channelIndex);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling DeviceSetApi->devicesetChannelWorkspaceGet: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.DeviceSetApi()
    deviceSetIndex = 56 # Integer | Index of device set in the device set list
    channelIndex = 56 # Integer | Index of the channel in the channels list for this device set

    try:
        api_response = api_instance.deviceset_channel_workspace_get(deviceSetIndex, channelIndex)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling DeviceSetApi->devicesetChannelWorkspaceGet: %s\n" % e)

## Parameters

Path parameters

Name | Description
--- | ---
deviceSetIndex* | Integer Index of device set in the device set list Required
channelIndex* | Integer Index of the channel in the channels list for this device set Required

## Responses

### Status: 200 - On success return workspace information

### Status: 400 - Invalid device set index

### Status: 500 - Error

### Status: 501 - Function not implemented

# devicesetChannelWorkspacePut

move channel UI to workspace (GUI)

    /sdrangel/deviceset/{deviceSetIndex}/channel/{channelIndex}/workspace

### Usage and SDK Samples

    curl -X PUT "http://localhost/sdrangel/deviceset/{deviceSetIndex}/channel/{channelIndex}/workspace"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.DeviceSetApi;

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

    public class DeviceSetApiExample {

        public static void main(String[] args) {

            DeviceSetApi apiInstance = new DeviceSetApi();
            Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
            Integer channelIndex = 56; // Integer | Index of the channel in the channels list for this device set
            WorkspaceInfo body = ; // WorkspaceInfo | Destination workspace information
            try {
                SuccessResponse result = apiInstance.devicesetChannelWorkspacePut(deviceSetIndex, channelIndex, body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DeviceSetApi#devicesetChannelWorkspacePut");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.DeviceSetApi;

    public class DeviceSetApiExample {

        public static void main(String[] args) {
            DeviceSetApi apiInstance = new DeviceSetApi();
            Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
            Integer channelIndex = 56; // Integer | Index of the channel in the channels list for this device set
            WorkspaceInfo body = ; // WorkspaceInfo | Destination workspace information
            try {
                SuccessResponse result = apiInstance.devicesetChannelWorkspacePut(deviceSetIndex, channelIndex, body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DeviceSetApi#devicesetChannelWorkspacePut");
                e.printStackTrace();
            }
        }
    }

    Integer *deviceSetIndex = 56; // Index of device set in the device set list
    Integer *channelIndex = 56; // Index of the channel in the channels list for this device set
    WorkspaceInfo *body = ; // Destination workspace information

    DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];

    [apiInstance devicesetChannelWorkspacePutWith:deviceSetIndex
        channelIndex:channelIndex
        body:body
                  completionHandler: ^(SuccessResponse output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.DeviceSetApi()

    var deviceSetIndex = 56; // {Integer} Index of device set in the device set list

    var channelIndex = 56; // {Integer} Index of the channel in the channels list for this device set

    var body = ; // {WorkspaceInfo} Destination workspace information

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.devicesetChannelWorkspacePut(deviceSetIndex, channelIndex, body, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class devicesetChannelWorkspacePutExample
        {
            public void main()
            {

                var apiInstance = new DeviceSetApi();
                var deviceSetIndex = 56;  // Integer | Index of device set in the device set list
                var channelIndex = 56;  // Integer | Index of the channel in the channels list for this device set
                var body = new WorkspaceInfo(); // WorkspaceInfo | Destination workspace information

                try
                {
                    SuccessResponse result = apiInstance.devicesetChannelWorkspacePut(deviceSetIndex, channelIndex, body);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling DeviceSetApi.devicesetChannelWorkspacePut: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\DeviceSetApi();
    $deviceSetIndex = 56; // Integer | Index of device set in the device set list
    $channelIndex = 56; // Integer | Index of the channel in the channels list for this device set
    $body = ; // WorkspaceInfo | Destination workspace information

    try {
        $result = $api_instance->devicesetChannelWorkspacePut($deviceSetIndex, $channelIndex, $body);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling DeviceSetApi->devicesetChannelWorkspacePut: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::DeviceSetApi;

    my $api_instance = SWGSDRangel::DeviceSetApi->new();
    my $deviceSetIndex = 56; # Integer | Index of device set in the device set list
    my $channelIndex = 56; # Integer | Index of the channel in the channels list for this device set
    my $body = SWGSDRangel::Object::WorkspaceInfo->new(); # WorkspaceInfo | Destination workspace information

    eval {
        my $result = $api_instance->devicesetChannelWorkspacePut(deviceSetIndex => $deviceSetIndex, channelIndex => $channelIndex, body => $body);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling DeviceSetApi->devicesetChannelWorkspacePut: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.DeviceSetApi()
    deviceSetIndex = 56 # Integer | Index of device set in the device set list
    channelIndex = 56 # Integer | Index of the channel in the channels list for this device set
    body =  # WorkspaceInfo | Destination workspace information

    try:
        api_response = api_instance.deviceset_channel_workspace_put(deviceSetIndex, channelIndex, body)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling DeviceSetApi->devicesetChannelWorkspacePut: %s\n" % e)

## Parameters

Path parameters

Name | Description
--- | ---
deviceSetIndex* | Integer Index of device set in the device set list Required
channelIndex* | Integer Index of the channel in the channels list for this device set Required

Body parameters

Name | Description
--- | ---
body * |

## Responses

### Status: 202 - Message to perform action was sent successfully

### Status: 400 - Invalid device set or workspace index

### Status: 500 - Error

### Status: 501 - Function not implemented

# devicesetChannelsReportGet

get channels report

    /sdrangel/deviceset/{deviceSetIndex}/channels/report

### Usage and SDK Samples

    curl -X GET "http://localhost/sdrangel/deviceset/{deviceSetIndex}/channels/report"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.DeviceSetApi;

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

    public class DeviceSetApiExample {

        public static void main(String[] args) {

            DeviceSetApi apiInstance = new DeviceSetApi();
            Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
            try {
                ChannelsDetail result = apiInstance.devicesetChannelsReportGet(deviceSetIndex);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DeviceSetApi#devicesetChannelsReportGet");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.DeviceSetApi;

    public class DeviceSetApiExample {

        public static void main(String[] args) {
            DeviceSetApi apiInstance = new DeviceSetApi();
            Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
            try {
                ChannelsDetail result = apiInstance.devicesetChannelsReportGet(deviceSetIndex);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DeviceSetApi#devicesetChannelsReportGet");
                e.printStackTrace();
            }
        }
    }

    Integer *deviceSetIndex = 56; // Index of device set in the device set list

    DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];

    [apiInstance devicesetChannelsReportGetWith:deviceSetIndex
                  completionHandler: ^(ChannelsDetail output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.DeviceSetApi()

    var deviceSetIndex = 56; // {Integer} Index of device set in the device set list

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.devicesetChannelsReportGet(deviceSetIndex, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class devicesetChannelsReportGetExample
        {
            public void main()
            {

                var apiInstance = new DeviceSetApi();
                var deviceSetIndex = 56;  // Integer | Index of device set in the device set list

                try
                {
                    ChannelsDetail result = apiInstance.devicesetChannelsReportGet(deviceSetIndex);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling DeviceSetApi.devicesetChannelsReportGet: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\DeviceSetApi();
    $deviceSetIndex = 56; // Integer | Index of device set in the device set list

    try {
        $result = $api_instance->devicesetChannelsReportGet($deviceSetIndex);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling DeviceSetApi->devicesetChannelsReportGet: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::DeviceSetApi;

    my $api_instance = SWGSDRangel::DeviceSetApi->new();
    my $deviceSetIndex = 56; # Integer | Index of device set in the device set list

    eval {
        my $result = $api_instance->devicesetChannelsReportGet(deviceSetIndex => $deviceSetIndex);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling DeviceSetApi->devicesetChannelsReportGet: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.DeviceSetApi()
    deviceSetIndex = 56 # Integer | Index of device set in the device set list

    try:
        api_response = api_instance.deviceset_channels_report_get(deviceSetIndex)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling DeviceSetApi->devicesetChannelsReportGet: %s\n" % e)

## Parameters

Path parameters

Name | Description
--- | ---
deviceSetIndex* | Integer Index of device set in the device set list Required

## Responses

### Status: 200 - On success return channels report information

### Status: 400 - Invalid device set index

### Status: 404 - Device not found

### Status: 500 - Error

### Status: 501 - Function not implemented

# devicesetDeviceActionsPost

post an action on a device

    /sdrangel/deviceset/{deviceSetIndex}/device/actions

### Usage and SDK Samples

    curl -X POST "http://localhost/sdrangel/deviceset/{deviceSetIndex}/device/actions"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.DeviceSetApi;

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

    public class DeviceSetApiExample {

        public static void main(String[] args) {

            DeviceSetApi apiInstance = new DeviceSetApi();
            Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
            DeviceActions body = ; // DeviceActions | Action(s) to apply to the device
            try {
                SuccessResponse result = apiInstance.devicesetDeviceActionsPost(deviceSetIndex, body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DeviceSetApi#devicesetDeviceActionsPost");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.DeviceSetApi;

    public class DeviceSetApiExample {

        public static void main(String[] args) {
            DeviceSetApi apiInstance = new DeviceSetApi();
            Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
            DeviceActions body = ; // DeviceActions | Action(s) to apply to the device
            try {
                SuccessResponse result = apiInstance.devicesetDeviceActionsPost(deviceSetIndex, body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DeviceSetApi#devicesetDeviceActionsPost");
                e.printStackTrace();
            }
        }
    }

    Integer *deviceSetIndex = 56; // Index of device set in the device set list
    DeviceActions *body = ; // Action(s) to apply to the device

    DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];

    [apiInstance devicesetDeviceActionsPostWith:deviceSetIndex
        body:body
                  completionHandler: ^(SuccessResponse output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.DeviceSetApi()

    var deviceSetIndex = 56; // {Integer} Index of device set in the device set list

    var body = ; // {DeviceActions} Action(s) to apply to the device

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.devicesetDeviceActionsPost(deviceSetIndex, body, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class devicesetDeviceActionsPostExample
        {
            public void main()
            {

                var apiInstance = new DeviceSetApi();
                var deviceSetIndex = 56;  // Integer | Index of device set in the device set list
                var body = new DeviceActions(); // DeviceActions | Action(s) to apply to the device

                try
                {
                    SuccessResponse result = apiInstance.devicesetDeviceActionsPost(deviceSetIndex, body);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling DeviceSetApi.devicesetDeviceActionsPost: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\DeviceSetApi();
    $deviceSetIndex = 56; // Integer | Index of device set in the device set list
    $body = ; // DeviceActions | Action(s) to apply to the device

    try {
        $result = $api_instance->devicesetDeviceActionsPost($deviceSetIndex, $body);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling DeviceSetApi->devicesetDeviceActionsPost: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::DeviceSetApi;

    my $api_instance = SWGSDRangel::DeviceSetApi->new();
    my $deviceSetIndex = 56; # Integer | Index of device set in the device set list
    my $body = SWGSDRangel::Object::DeviceActions->new(); # DeviceActions | Action(s) to apply to the device

    eval {
        my $result = $api_instance->devicesetDeviceActionsPost(deviceSetIndex => $deviceSetIndex, body => $body);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling DeviceSetApi->devicesetDeviceActionsPost: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.DeviceSetApi()
    deviceSetIndex = 56 # Integer | Index of device set in the device set list
    body =  # DeviceActions | Action(s) to apply to the device

    try:
        api_response = api_instance.deviceset_device_actions_post(deviceSetIndex, body)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling DeviceSetApi->devicesetDeviceActionsPost: %s\n" % e)

## Parameters

Path parameters

Name | Description
--- | ---
deviceSetIndex* | Integer Index of device set in the device set list Required

Body parameters

Name | Description
--- | ---
body * |

## Responses

### Status: 202 - Message to perform action was sent successfully

### Status: 400 - Invalid device set index

### Status: 404 - Device not found

### Status: 500 - Error

### Status: 501 - Function not implemented

# devicesetDevicePut

Set the device used in the device set

    /sdrangel/deviceset/{deviceSetIndex}/device

### Usage and SDK Samples

    curl -X PUT "http://localhost/sdrangel/deviceset/{deviceSetIndex}/device"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.DeviceSetApi;

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

    public class DeviceSetApiExample {

        public static void main(String[] args) {

            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. Specify only the fields you want to search for. You must at least specify one among displayedName, hwType or serial. index and deviceŃbStreams are ignored. Rx is assumed by default.
            try {
                DeviceListItem result = apiInstance.devicesetDevicePut(deviceSetIndex, body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DeviceSetApi#devicesetDevicePut");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.DeviceSetApi;

    public class DeviceSetApiExample {

        public static void main(String[] args) {
            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. Specify only the fields you want to search for. You must at least specify one among displayedName, hwType or serial. index and deviceŃbStreams are ignored. Rx is assumed by default.
            try {
                DeviceListItem result = apiInstance.devicesetDevicePut(deviceSetIndex, body);
                System.out.println(result);
            } catch (ApiException e) {
                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. Specify only the fields you want to search for. You must at least specify one among displayedName, hwType or serial. index and deviceŃbStreams are ignored. Rx is assumed by default.

    DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];

    [apiInstance devicesetDevicePutWith:deviceSetIndex
        body:body
                  completionHandler: ^(DeviceListItem output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    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. Specify only the fields you want to search for. You must at least specify one among displayedName, hwType or serial. index and deviceŃbStreams are ignored. Rx is assumed by default.

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.devicesetDevicePut(deviceSetIndex, body, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class devicesetDevicePutExample
        {
            public void main()
            {

                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. Specify only the fields you want to search for. You must at least specify one among displayedName, hwType or serial. index and deviceŃbStreams are ignored. Rx is assumed by default.

                try
                {
                    DeviceListItem result = apiInstance.devicesetDevicePut(deviceSetIndex, body);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling DeviceSetApi.devicesetDevicePut: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $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. Specify only the fields you want to search for. You must at least specify one among displayedName, hwType or serial. index and deviceŃbStreams are ignored. Rx is assumed by default.

    try {
        $result = $api_instance->devicesetDevicePut($deviceSetIndex, $body);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling DeviceSetApi->devicesetDevicePut: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::DeviceSetApi;

    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. Specify only the fields you want to search for. You must at least specify one among displayedName, hwType or serial. index and deviceŃbStreams are ignored. Rx is assumed by default.

    eval {
        my $result = $api_instance->devicesetDevicePut(deviceSetIndex => $deviceSetIndex, body => $body);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling DeviceSetApi->devicesetDevicePut: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.DeviceSetApi()
    deviceSetIndex = 56 # Integer | Index of device set in the device set list
    body =  # DeviceListItem | Device item to look for. Specify only the fields you want to search for. You must at least specify one among displayedName, hwType or serial. index and deviceŃbStreams are ignored. Rx is assumed by default.

    try:
        api_response = api_instance.deviceset_device_put(deviceSetIndex, body)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling DeviceSetApi->devicesetDevicePut: %s\n" % e)

## Parameters

Path parameters

Name | Description
--- | ---
deviceSetIndex* | Integer Index of device set in the device set list Required

Body parameters

Name | Description
--- | ---
body * |

## Responses

### Status: 202 - On successful semding of the message it returns the details of the device being set

### Status: 400 - Device set and device type mismatch (Rx vs Tx)

### Status: 404 - Invalid device set index or device not found

### Status: 500 - Error

### Status: 501 - Function not implemented

# devicesetDeviceReportGet

get the device report

    /sdrangel/deviceset/{deviceSetIndex}/device/report

### Usage and SDK Samples

    curl -X GET "http://localhost/sdrangel/deviceset/{deviceSetIndex}/device/report"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.DeviceSetApi;

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

    public class DeviceSetApiExample {

        public static void main(String[] args) {

            DeviceSetApi apiInstance = new DeviceSetApi();
            Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
            try {
                DeviceReport result = apiInstance.devicesetDeviceReportGet(deviceSetIndex);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DeviceSetApi#devicesetDeviceReportGet");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.DeviceSetApi;

    public class DeviceSetApiExample {

        public static void main(String[] args) {
            DeviceSetApi apiInstance = new DeviceSetApi();
            Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
            try {
                DeviceReport result = apiInstance.devicesetDeviceReportGet(deviceSetIndex);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DeviceSetApi#devicesetDeviceReportGet");
                e.printStackTrace();
            }
        }
    }

    Integer *deviceSetIndex = 56; // Index of device set in the device set list

    DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];

    [apiInstance devicesetDeviceReportGetWith:deviceSetIndex
                  completionHandler: ^(DeviceReport output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.DeviceSetApi()

    var deviceSetIndex = 56; // {Integer} Index of device set in the device set list

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.devicesetDeviceReportGet(deviceSetIndex, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class devicesetDeviceReportGetExample
        {
            public void main()
            {

                var apiInstance = new DeviceSetApi();
                var deviceSetIndex = 56;  // Integer | Index of device set in the device set list

                try
                {
                    DeviceReport result = apiInstance.devicesetDeviceReportGet(deviceSetIndex);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling DeviceSetApi.devicesetDeviceReportGet: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\DeviceSetApi();
    $deviceSetIndex = 56; // Integer | Index of device set in the device set list

    try {
        $result = $api_instance->devicesetDeviceReportGet($deviceSetIndex);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling DeviceSetApi->devicesetDeviceReportGet: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::DeviceSetApi;

    my $api_instance = SWGSDRangel::DeviceSetApi->new();
    my $deviceSetIndex = 56; # Integer | Index of device set in the device set list

    eval {
        my $result = $api_instance->devicesetDeviceReportGet(deviceSetIndex => $deviceSetIndex);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling DeviceSetApi->devicesetDeviceReportGet: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.DeviceSetApi()
    deviceSetIndex = 56 # Integer | Index of device set in the device set list

    try:
        api_response = api_instance.deviceset_device_report_get(deviceSetIndex)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling DeviceSetApi->devicesetDeviceReportGet: %s\n" % e)

## Parameters

Path parameters

Name | Description
--- | ---
deviceSetIndex* | Integer Index of device set in the device set list Required

## Responses

### Status: 200 - On success return device report

### Status: 400 - Invalid device set

### Status: 404 - Device not found

### Status: 500 - Error

### Status: 501 - Function not implemented

# devicesetDeviceRunDelete

stop device for a single subsystem device (Rx or Tx)

    /sdrangel/deviceset/{deviceSetIndex}/device/run

### Usage and SDK Samples

    curl -X DELETE "http://localhost/sdrangel/deviceset/{deviceSetIndex}/device/run"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.DeviceSetApi;

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

    public class DeviceSetApiExample {

        public static void main(String[] args) {

            DeviceSetApi apiInstance = new DeviceSetApi();
            Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
            DeviceSettings body = ; // DeviceSettings | Originator information in the reverse API case
            try {
                DeviceState result = apiInstance.devicesetDeviceRunDelete(deviceSetIndex, body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DeviceSetApi#devicesetDeviceRunDelete");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.DeviceSetApi;

    public class DeviceSetApiExample {

        public static void main(String[] args) {
            DeviceSetApi apiInstance = new DeviceSetApi();
            Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
            DeviceSettings body = ; // DeviceSettings | Originator information in the reverse API case
            try {
                DeviceState result = apiInstance.devicesetDeviceRunDelete(deviceSetIndex, body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DeviceSetApi#devicesetDeviceRunDelete");
                e.printStackTrace();
            }
        }
    }

    Integer *deviceSetIndex = 56; // Index of device set in the device set list
    DeviceSettings *body = ; // Originator information in the reverse API case (optional)

    DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];

    [apiInstance devicesetDeviceRunDeleteWith:deviceSetIndex
        body:body
                  completionHandler: ^(DeviceState output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.DeviceSetApi()

    var deviceSetIndex = 56; // {Integer} Index of device set in the device set list

    var opts = {
      'body':  // {DeviceSettings} Originator information in the reverse API case
    };

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.devicesetDeviceRunDelete(deviceSetIndex, opts, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class devicesetDeviceRunDeleteExample
        {
            public void main()
            {

                var apiInstance = new DeviceSetApi();
                var deviceSetIndex = 56;  // Integer | Index of device set in the device set list
                var body = new DeviceSettings(); // DeviceSettings | Originator information in the reverse API case (optional)

                try
                {
                    DeviceState result = apiInstance.devicesetDeviceRunDelete(deviceSetIndex, body);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling DeviceSetApi.devicesetDeviceRunDelete: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\DeviceSetApi();
    $deviceSetIndex = 56; // Integer | Index of device set in the device set list
    $body = ; // DeviceSettings | Originator information in the reverse API case

    try {
        $result = $api_instance->devicesetDeviceRunDelete($deviceSetIndex, $body);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling DeviceSetApi->devicesetDeviceRunDelete: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::DeviceSetApi;

    my $api_instance = SWGSDRangel::DeviceSetApi->new();
    my $deviceSetIndex = 56; # Integer | Index of device set in the device set list
    my $body = SWGSDRangel::Object::DeviceSettings->new(); # DeviceSettings | Originator information in the reverse API case

    eval {
        my $result = $api_instance->devicesetDeviceRunDelete(deviceSetIndex => $deviceSetIndex, body => $body);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling DeviceSetApi->devicesetDeviceRunDelete: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.DeviceSetApi()
    deviceSetIndex = 56 # Integer | Index of device set in the device set list
    body =  # DeviceSettings | Originator information in the reverse API case (optional)

    try:
        api_response = api_instance.deviceset_device_run_delete(deviceSetIndex, body=body)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling DeviceSetApi->devicesetDeviceRunDelete: %s\n" % e)

## Parameters

Path parameters

Name | Description
--- | ---
deviceSetIndex* | Integer Index of device set in the device set list Required

Body parameters

Name | Description
--- | ---
body |

## Responses

### Status: 200 - On success return state before change

### Status: 400 - Invalid device set index

### Status: 404 - Device not found

### Status: 500 - Error

### Status: 501 - Function not implemented

# devicesetDeviceRunGet

get device run status for a single subsystem device (Rx or Tx)

    /sdrangel/deviceset/{deviceSetIndex}/device/run

### Usage and SDK Samples

    curl -X GET "http://localhost/sdrangel/deviceset/{deviceSetIndex}/device/run"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.DeviceSetApi;

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

    public class DeviceSetApiExample {

        public static void main(String[] args) {

            DeviceSetApi apiInstance = new DeviceSetApi();
            Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
            try {
                DeviceState result = apiInstance.devicesetDeviceRunGet(deviceSetIndex);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DeviceSetApi#devicesetDeviceRunGet");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.DeviceSetApi;

    public class DeviceSetApiExample {

        public static void main(String[] args) {
            DeviceSetApi apiInstance = new DeviceSetApi();
            Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
            try {
                DeviceState result = apiInstance.devicesetDeviceRunGet(deviceSetIndex);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DeviceSetApi#devicesetDeviceRunGet");
                e.printStackTrace();
            }
        }
    }

    Integer *deviceSetIndex = 56; // Index of device set in the device set list

    DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];

    [apiInstance devicesetDeviceRunGetWith:deviceSetIndex
                  completionHandler: ^(DeviceState output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.DeviceSetApi()

    var deviceSetIndex = 56; // {Integer} Index of device set in the device set list

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.devicesetDeviceRunGet(deviceSetIndex, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class devicesetDeviceRunGetExample
        {
            public void main()
            {

                var apiInstance = new DeviceSetApi();
                var deviceSetIndex = 56;  // Integer | Index of device set in the device set list

                try
                {
                    DeviceState result = apiInstance.devicesetDeviceRunGet(deviceSetIndex);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling DeviceSetApi.devicesetDeviceRunGet: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\DeviceSetApi();
    $deviceSetIndex = 56; // Integer | Index of device set in the device set list

    try {
        $result = $api_instance->devicesetDeviceRunGet($deviceSetIndex);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling DeviceSetApi->devicesetDeviceRunGet: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::DeviceSetApi;

    my $api_instance = SWGSDRangel::DeviceSetApi->new();
    my $deviceSetIndex = 56; # Integer | Index of device set in the device set list

    eval {
        my $result = $api_instance->devicesetDeviceRunGet(deviceSetIndex => $deviceSetIndex);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling DeviceSetApi->devicesetDeviceRunGet: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.DeviceSetApi()
    deviceSetIndex = 56 # Integer | Index of device set in the device set list

    try:
        api_response = api_instance.deviceset_device_run_get(deviceSetIndex)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling DeviceSetApi->devicesetDeviceRunGet: %s\n" % e)

## Parameters

Path parameters

Name | Description
--- | ---
deviceSetIndex* | Integer Index of device set in the device set list Required

## Responses

### Status: 200 - On success return current state

### Status: 400 - Invalid device set index

### Status: 404 - Device not found

### Status: 500 - Error

### Status: 501 - Function not implemented

# devicesetDeviceRunPost

start device for a single subsystem device (Rx or Tx)

    /sdrangel/deviceset/{deviceSetIndex}/device/run

### Usage and SDK Samples

    curl -X POST "http://localhost/sdrangel/deviceset/{deviceSetIndex}/device/run"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.DeviceSetApi;

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

    public class DeviceSetApiExample {

        public static void main(String[] args) {

            DeviceSetApi apiInstance = new DeviceSetApi();
            Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
            DeviceSettings body = ; // DeviceSettings | Originator information in the reverse API case
            try {
                DeviceState result = apiInstance.devicesetDeviceRunPost(deviceSetIndex, body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DeviceSetApi#devicesetDeviceRunPost");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.DeviceSetApi;

    public class DeviceSetApiExample {

        public static void main(String[] args) {
            DeviceSetApi apiInstance = new DeviceSetApi();
            Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
            DeviceSettings body = ; // DeviceSettings | Originator information in the reverse API case
            try {
                DeviceState result = apiInstance.devicesetDeviceRunPost(deviceSetIndex, body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DeviceSetApi#devicesetDeviceRunPost");
                e.printStackTrace();
            }
        }
    }

    Integer *deviceSetIndex = 56; // Index of device set in the device set list
    DeviceSettings *body = ; // Originator information in the reverse API case (optional)

    DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];

    [apiInstance devicesetDeviceRunPostWith:deviceSetIndex
        body:body
                  completionHandler: ^(DeviceState output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.DeviceSetApi()

    var deviceSetIndex = 56; // {Integer} Index of device set in the device set list

    var opts = {
      'body':  // {DeviceSettings} Originator information in the reverse API case
    };

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.devicesetDeviceRunPost(deviceSetIndex, opts, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class devicesetDeviceRunPostExample
        {
            public void main()
            {

                var apiInstance = new DeviceSetApi();
                var deviceSetIndex = 56;  // Integer | Index of device set in the device set list
                var body = new DeviceSettings(); // DeviceSettings | Originator information in the reverse API case (optional)

                try
                {
                    DeviceState result = apiInstance.devicesetDeviceRunPost(deviceSetIndex, body);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling DeviceSetApi.devicesetDeviceRunPost: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\DeviceSetApi();
    $deviceSetIndex = 56; // Integer | Index of device set in the device set list
    $body = ; // DeviceSettings | Originator information in the reverse API case

    try {
        $result = $api_instance->devicesetDeviceRunPost($deviceSetIndex, $body);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling DeviceSetApi->devicesetDeviceRunPost: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::DeviceSetApi;

    my $api_instance = SWGSDRangel::DeviceSetApi->new();
    my $deviceSetIndex = 56; # Integer | Index of device set in the device set list
    my $body = SWGSDRangel::Object::DeviceSettings->new(); # DeviceSettings | Originator information in the reverse API case

    eval {
        my $result = $api_instance->devicesetDeviceRunPost(deviceSetIndex => $deviceSetIndex, body => $body);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling DeviceSetApi->devicesetDeviceRunPost: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.DeviceSetApi()
    deviceSetIndex = 56 # Integer | Index of device set in the device set list
    body =  # DeviceSettings | Originator information in the reverse API case (optional)

    try:
        api_response = api_instance.deviceset_device_run_post(deviceSetIndex, body=body)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling DeviceSetApi->devicesetDeviceRunPost: %s\n" % e)

## Parameters

Path parameters

Name | Description
--- | ---
deviceSetIndex* | Integer Index of device set in the device set list Required

Body parameters

Name | Description
--- | ---
body |

## Responses

### Status: 200 - On success return state before change

### Status: 400 - Invalid device set index

### Status: 404 - Device not found

### Status: 500 - Error

### Status: 501 - Function not implemented

# devicesetDeviceSettingsGet

Get device settings

    /sdrangel/deviceset/{deviceSetIndex}/device/settings

### Usage and SDK Samples

    curl -X GET "http://localhost/sdrangel/deviceset/{deviceSetIndex}/device/settings"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.DeviceSetApi;

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

    public class DeviceSetApiExample {

        public static void main(String[] args) {

            DeviceSetApi apiInstance = new DeviceSetApi();
            Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
            try {
                DeviceSettings result = apiInstance.devicesetDeviceSettingsGet(deviceSetIndex);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DeviceSetApi#devicesetDeviceSettingsGet");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.DeviceSetApi;

    public class DeviceSetApiExample {

        public static void main(String[] args) {
            DeviceSetApi apiInstance = new DeviceSetApi();
            Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
            try {
                DeviceSettings result = apiInstance.devicesetDeviceSettingsGet(deviceSetIndex);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DeviceSetApi#devicesetDeviceSettingsGet");
                e.printStackTrace();
            }
        }
    }

    Integer *deviceSetIndex = 56; // Index of device set in the device set list

    DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];

    [apiInstance devicesetDeviceSettingsGetWith:deviceSetIndex
                  completionHandler: ^(DeviceSettings output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.DeviceSetApi()

    var deviceSetIndex = 56; // {Integer} Index of device set in the device set list

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.devicesetDeviceSettingsGet(deviceSetIndex, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class devicesetDeviceSettingsGetExample
        {
            public void main()
            {

                var apiInstance = new DeviceSetApi();
                var deviceSetIndex = 56;  // Integer | Index of device set in the device set list

                try
                {
                    DeviceSettings result = apiInstance.devicesetDeviceSettingsGet(deviceSetIndex);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling DeviceSetApi.devicesetDeviceSettingsGet: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\DeviceSetApi();
    $deviceSetIndex = 56; // Integer | Index of device set in the device set list

    try {
        $result = $api_instance->devicesetDeviceSettingsGet($deviceSetIndex);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling DeviceSetApi->devicesetDeviceSettingsGet: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::DeviceSetApi;

    my $api_instance = SWGSDRangel::DeviceSetApi->new();
    my $deviceSetIndex = 56; # Integer | Index of device set in the device set list

    eval {
        my $result = $api_instance->devicesetDeviceSettingsGet(deviceSetIndex => $deviceSetIndex);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling DeviceSetApi->devicesetDeviceSettingsGet: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.DeviceSetApi()
    deviceSetIndex = 56 # Integer | Index of device set in the device set list

    try:
        api_response = api_instance.deviceset_device_settings_get(deviceSetIndex)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling DeviceSetApi->devicesetDeviceSettingsGet: %s\n" % e)

## Parameters

Path parameters

Name | Description
--- | ---
deviceSetIndex* | Integer Index of device set in the device set list Required

## Responses

### Status: 200 - On success returns current settings values

### Status: 404 - Invalid device set index or device not found

### Status: 500 - Error

### Status: 501 - Function not implemented

# devicesetDeviceSettingsPatch

Apply settings differentially (no force)

    /sdrangel/deviceset/{deviceSetIndex}/device/settings

### Usage and SDK Samples

    curl -X PATCH "http://localhost/sdrangel/deviceset/{deviceSetIndex}/device/settings"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.DeviceSetApi;

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

    public class DeviceSetApiExample {

        public static void main(String[] args) {

            DeviceSetApi apiInstance = new DeviceSetApi();
            Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
            DeviceSettings body = ; // DeviceSettings | Device settings to apply
            try {
                DeviceSettings result = apiInstance.devicesetDeviceSettingsPatch(deviceSetIndex, body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DeviceSetApi#devicesetDeviceSettingsPatch");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.DeviceSetApi;

    public class DeviceSetApiExample {

        public static void main(String[] args) {
            DeviceSetApi apiInstance = new DeviceSetApi();
            Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
            DeviceSettings body = ; // DeviceSettings | Device settings to apply
            try {
                DeviceSettings result = apiInstance.devicesetDeviceSettingsPatch(deviceSetIndex, body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DeviceSetApi#devicesetDeviceSettingsPatch");
                e.printStackTrace();
            }
        }
    }

    Integer *deviceSetIndex = 56; // Index of device set in the device set list
    DeviceSettings *body = ; // Device settings to apply

    DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];

    [apiInstance devicesetDeviceSettingsPatchWith:deviceSetIndex
        body:body
                  completionHandler: ^(DeviceSettings output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.DeviceSetApi()

    var deviceSetIndex = 56; // {Integer} Index of device set in the device set list

    var body = ; // {DeviceSettings} Device settings to apply

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.devicesetDeviceSettingsPatch(deviceSetIndex, body, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class devicesetDeviceSettingsPatchExample
        {
            public void main()
            {

                var apiInstance = new DeviceSetApi();
                var deviceSetIndex = 56;  // Integer | Index of device set in the device set list
                var body = new DeviceSettings(); // DeviceSettings | Device settings to apply

                try
                {
                    DeviceSettings result = apiInstance.devicesetDeviceSettingsPatch(deviceSetIndex, body);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling DeviceSetApi.devicesetDeviceSettingsPatch: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\DeviceSetApi();
    $deviceSetIndex = 56; // Integer | Index of device set in the device set list
    $body = ; // DeviceSettings | Device settings to apply

    try {
        $result = $api_instance->devicesetDeviceSettingsPatch($deviceSetIndex, $body);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling DeviceSetApi->devicesetDeviceSettingsPatch: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::DeviceSetApi;

    my $api_instance = SWGSDRangel::DeviceSetApi->new();
    my $deviceSetIndex = 56; # Integer | Index of device set in the device set list
    my $body = SWGSDRangel::Object::DeviceSettings->new(); # DeviceSettings | Device settings to apply

    eval {
        my $result = $api_instance->devicesetDeviceSettingsPatch(deviceSetIndex => $deviceSetIndex, body => $body);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling DeviceSetApi->devicesetDeviceSettingsPatch: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.DeviceSetApi()
    deviceSetIndex = 56 # Integer | Index of device set in the device set list
    body =  # DeviceSettings | Device settings to apply

    try:
        api_response = api_instance.deviceset_device_settings_patch(deviceSetIndex, body)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling DeviceSetApi->devicesetDeviceSettingsPatch: %s\n" % e)

## Parameters

Path parameters

Name | Description
--- | ---
deviceSetIndex* | Integer Index of device set in the device set list Required

Body parameters

Name | Description
--- | ---
body * |

## Responses

### Status: 200 - On success returns new settings values

### Status: 404 - Invalid device set index or device not found

### Status: 500 - Error

### Status: 501 - Function not implemented

# devicesetDeviceSettingsPut

Apply all settings unconditionally (force)

    /sdrangel/deviceset/{deviceSetIndex}/device/settings

### Usage and SDK Samples

    curl -X PUT "http://localhost/sdrangel/deviceset/{deviceSetIndex}/device/settings"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.DeviceSetApi;

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

    public class DeviceSetApiExample {

        public static void main(String[] args) {

            DeviceSetApi apiInstance = new DeviceSetApi();
            Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
            DeviceSettings body = ; // DeviceSettings | Device settings to apply
            try {
                DeviceSettings result = apiInstance.devicesetDeviceSettingsPut(deviceSetIndex, body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DeviceSetApi#devicesetDeviceSettingsPut");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.DeviceSetApi;

    public class DeviceSetApiExample {

        public static void main(String[] args) {
            DeviceSetApi apiInstance = new DeviceSetApi();
            Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
            DeviceSettings body = ; // DeviceSettings | Device settings to apply
            try {
                DeviceSettings result = apiInstance.devicesetDeviceSettingsPut(deviceSetIndex, body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DeviceSetApi#devicesetDeviceSettingsPut");
                e.printStackTrace();
            }
        }
    }

    Integer *deviceSetIndex = 56; // Index of device set in the device set list
    DeviceSettings *body = ; // Device settings to apply

    DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];

    [apiInstance devicesetDeviceSettingsPutWith:deviceSetIndex
        body:body
                  completionHandler: ^(DeviceSettings output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.DeviceSetApi()

    var deviceSetIndex = 56; // {Integer} Index of device set in the device set list

    var body = ; // {DeviceSettings} Device settings to apply

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.devicesetDeviceSettingsPut(deviceSetIndex, body, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class devicesetDeviceSettingsPutExample
        {
            public void main()
            {

                var apiInstance = new DeviceSetApi();
                var deviceSetIndex = 56;  // Integer | Index of device set in the device set list
                var body = new DeviceSettings(); // DeviceSettings | Device settings to apply

                try
                {
                    DeviceSettings result = apiInstance.devicesetDeviceSettingsPut(deviceSetIndex, body);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling DeviceSetApi.devicesetDeviceSettingsPut: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\DeviceSetApi();
    $deviceSetIndex = 56; // Integer | Index of device set in the device set list
    $body = ; // DeviceSettings | Device settings to apply

    try {
        $result = $api_instance->devicesetDeviceSettingsPut($deviceSetIndex, $body);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling DeviceSetApi->devicesetDeviceSettingsPut: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::DeviceSetApi;

    my $api_instance = SWGSDRangel::DeviceSetApi->new();
    my $deviceSetIndex = 56; # Integer | Index of device set in the device set list
    my $body = SWGSDRangel::Object::DeviceSettings->new(); # DeviceSettings | Device settings to apply

    eval {
        my $result = $api_instance->devicesetDeviceSettingsPut(deviceSetIndex => $deviceSetIndex, body => $body);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling DeviceSetApi->devicesetDeviceSettingsPut: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.DeviceSetApi()
    deviceSetIndex = 56 # Integer | Index of device set in the device set list
    body =  # DeviceSettings | Device settings to apply

    try:
        api_response = api_instance.deviceset_device_settings_put(deviceSetIndex, body)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling DeviceSetApi->devicesetDeviceSettingsPut: %s\n" % e)

## Parameters

Path parameters

Name | Description
--- | ---
deviceSetIndex* | Integer Index of device set in the device set list Required

Body parameters

Name | Description
--- | ---
body * |

## Responses

### Status: 200 - On success returns new settings values

### Status: 404 - Invalid device set index or device not found

### Status: 500 - Error

### Status: 501 - Function not implemented

# devicesetDeviceSubsystemRunDelete

stop device for a multi-subsystem device (Rx/Tx combination i.e. MIMO)

    /sdrangel/deviceset/{deviceSetIndex}/subdevice/{subsystemIndex}/run

### Usage and SDK Samples

    curl -X DELETE "http://localhost/sdrangel/deviceset/{deviceSetIndex}/subdevice/{subsystemIndex}/run"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.DeviceSetApi;

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

    public class DeviceSetApiExample {

        public static void main(String[] args) {

            DeviceSetApi apiInstance = new DeviceSetApi();
            Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
            Integer subsystemIndex = 56; // Integer | Index of subsystem (0 for Rx, 1 for Tx)
            DeviceSettings body = ; // DeviceSettings | Originator information in the reverse API case
            try {
                DeviceState result = apiInstance.devicesetDeviceSubsystemRunDelete(deviceSetIndex, subsystemIndex, body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DeviceSetApi#devicesetDeviceSubsystemRunDelete");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.DeviceSetApi;

    public class DeviceSetApiExample {

        public static void main(String[] args) {
            DeviceSetApi apiInstance = new DeviceSetApi();
            Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
            Integer subsystemIndex = 56; // Integer | Index of subsystem (0 for Rx, 1 for Tx)
            DeviceSettings body = ; // DeviceSettings | Originator information in the reverse API case
            try {
                DeviceState result = apiInstance.devicesetDeviceSubsystemRunDelete(deviceSetIndex, subsystemIndex, body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DeviceSetApi#devicesetDeviceSubsystemRunDelete");
                e.printStackTrace();
            }
        }
    }

    Integer *deviceSetIndex = 56; // Index of device set in the device set list
    Integer *subsystemIndex = 56; // Index of subsystem (0 for Rx, 1 for Tx)
    DeviceSettings *body = ; // Originator information in the reverse API case (optional)

    DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];

    [apiInstance devicesetDeviceSubsystemRunDeleteWith:deviceSetIndex
        subsystemIndex:subsystemIndex
        body:body
                  completionHandler: ^(DeviceState output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.DeviceSetApi()

    var deviceSetIndex = 56; // {Integer} Index of device set in the device set list

    var subsystemIndex = 56; // {Integer} Index of subsystem (0 for Rx, 1 for Tx)

    var opts = {
      'body':  // {DeviceSettings} Originator information in the reverse API case
    };

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.devicesetDeviceSubsystemRunDelete(deviceSetIndex, subsystemIndex, opts, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class devicesetDeviceSubsystemRunDeleteExample
        {
            public void main()
            {

                var apiInstance = new DeviceSetApi();
                var deviceSetIndex = 56;  // Integer | Index of device set in the device set list
                var subsystemIndex = 56;  // Integer | Index of subsystem (0 for Rx, 1 for Tx)
                var body = new DeviceSettings(); // DeviceSettings | Originator information in the reverse API case (optional)

                try
                {
                    DeviceState result = apiInstance.devicesetDeviceSubsystemRunDelete(deviceSetIndex, subsystemIndex, body);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling DeviceSetApi.devicesetDeviceSubsystemRunDelete: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\DeviceSetApi();
    $deviceSetIndex = 56; // Integer | Index of device set in the device set list
    $subsystemIndex = 56; // Integer | Index of subsystem (0 for Rx, 1 for Tx)
    $body = ; // DeviceSettings | Originator information in the reverse API case

    try {
        $result = $api_instance->devicesetDeviceSubsystemRunDelete($deviceSetIndex, $subsystemIndex, $body);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling DeviceSetApi->devicesetDeviceSubsystemRunDelete: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::DeviceSetApi;

    my $api_instance = SWGSDRangel::DeviceSetApi->new();
    my $deviceSetIndex = 56; # Integer | Index of device set in the device set list
    my $subsystemIndex = 56; # Integer | Index of subsystem (0 for Rx, 1 for Tx)
    my $body = SWGSDRangel::Object::DeviceSettings->new(); # DeviceSettings | Originator information in the reverse API case

    eval {
        my $result = $api_instance->devicesetDeviceSubsystemRunDelete(deviceSetIndex => $deviceSetIndex, subsystemIndex => $subsystemIndex, body => $body);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling DeviceSetApi->devicesetDeviceSubsystemRunDelete: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.DeviceSetApi()
    deviceSetIndex = 56 # Integer | Index of device set in the device set list
    subsystemIndex = 56 # Integer | Index of subsystem (0 for Rx, 1 for Tx)
    body =  # DeviceSettings | Originator information in the reverse API case (optional)

    try:
        api_response = api_instance.deviceset_device_subsystem_run_delete(deviceSetIndex, subsystemIndex, body=body)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling DeviceSetApi->devicesetDeviceSubsystemRunDelete: %s\n" % e)

## Parameters

Path parameters

Name | Description
--- | ---
deviceSetIndex* | Integer Index of device set in the device set list Required
subsystemIndex* | Integer Index of subsystem (0 for Rx, 1 for Tx) Required

Body parameters

Name | Description
--- | ---
body |

## Responses

### Status: 200 - On success return state before change

### Status: 400 - Invalid device set index

### Status: 404 - Device or subsystem not found

### Status: 500 - Error

### Status: 501 - Function not implemented

# devicesetDeviceSubsystemRunGet

get device run status for a multi-subsystem device (Rx/Tx combination i.e. MIMO)

    /sdrangel/deviceset/{deviceSetIndex}/subdevice/{subsystemIndex}/run

### Usage and SDK Samples

    curl -X GET "http://localhost/sdrangel/deviceset/{deviceSetIndex}/subdevice/{subsystemIndex}/run"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.DeviceSetApi;

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

    public class DeviceSetApiExample {

        public static void main(String[] args) {

            DeviceSetApi apiInstance = new DeviceSetApi();
            Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
            Integer subsystemIndex = 56; // Integer | Index of subsystem (0 for Rx, 1 for Tx)
            try {
                DeviceState result = apiInstance.devicesetDeviceSubsystemRunGet(deviceSetIndex, subsystemIndex);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DeviceSetApi#devicesetDeviceSubsystemRunGet");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.DeviceSetApi;

    public class DeviceSetApiExample {

        public static void main(String[] args) {
            DeviceSetApi apiInstance = new DeviceSetApi();
            Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
            Integer subsystemIndex = 56; // Integer | Index of subsystem (0 for Rx, 1 for Tx)
            try {
                DeviceState result = apiInstance.devicesetDeviceSubsystemRunGet(deviceSetIndex, subsystemIndex);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DeviceSetApi#devicesetDeviceSubsystemRunGet");
                e.printStackTrace();
            }
        }
    }

    Integer *deviceSetIndex = 56; // Index of device set in the device set list
    Integer *subsystemIndex = 56; // Index of subsystem (0 for Rx, 1 for Tx)

    DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];

    [apiInstance devicesetDeviceSubsystemRunGetWith:deviceSetIndex
        subsystemIndex:subsystemIndex
                  completionHandler: ^(DeviceState output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.DeviceSetApi()

    var deviceSetIndex = 56; // {Integer} Index of device set in the device set list

    var subsystemIndex = 56; // {Integer} Index of subsystem (0 for Rx, 1 for Tx)

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.devicesetDeviceSubsystemRunGet(deviceSetIndex, subsystemIndex, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class devicesetDeviceSubsystemRunGetExample
        {
            public void main()
            {

                var apiInstance = new DeviceSetApi();
                var deviceSetIndex = 56;  // Integer | Index of device set in the device set list
                var subsystemIndex = 56;  // Integer | Index of subsystem (0 for Rx, 1 for Tx)

                try
                {
                    DeviceState result = apiInstance.devicesetDeviceSubsystemRunGet(deviceSetIndex, subsystemIndex);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling DeviceSetApi.devicesetDeviceSubsystemRunGet: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\DeviceSetApi();
    $deviceSetIndex = 56; // Integer | Index of device set in the device set list
    $subsystemIndex = 56; // Integer | Index of subsystem (0 for Rx, 1 for Tx)

    try {
        $result = $api_instance->devicesetDeviceSubsystemRunGet($deviceSetIndex, $subsystemIndex);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling DeviceSetApi->devicesetDeviceSubsystemRunGet: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::DeviceSetApi;

    my $api_instance = SWGSDRangel::DeviceSetApi->new();
    my $deviceSetIndex = 56; # Integer | Index of device set in the device set list
    my $subsystemIndex = 56; # Integer | Index of subsystem (0 for Rx, 1 for Tx)

    eval {
        my $result = $api_instance->devicesetDeviceSubsystemRunGet(deviceSetIndex => $deviceSetIndex, subsystemIndex => $subsystemIndex);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling DeviceSetApi->devicesetDeviceSubsystemRunGet: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.DeviceSetApi()
    deviceSetIndex = 56 # Integer | Index of device set in the device set list
    subsystemIndex = 56 # Integer | Index of subsystem (0 for Rx, 1 for Tx)

    try:
        api_response = api_instance.deviceset_device_subsystem_run_get(deviceSetIndex, subsystemIndex)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling DeviceSetApi->devicesetDeviceSubsystemRunGet: %s\n" % e)

## Parameters

Path parameters

Name | Description
--- | ---
deviceSetIndex* | Integer Index of device set in the device set list Required
subsystemIndex* | Integer Index of subsystem (0 for Rx, 1 for Tx) Required

## Responses

### Status: 200 - On success return current state

### Status: 400 - Invalid device set index

### Status: 404 - Device or subsystem not found

### Status: 500 - Error

### Status: 501 - Function not implemented

# devicesetDeviceSubsystemRunPost

start device for a multi-subsystem device (Rx/Tx combination i.e. MIMO)

    /sdrangel/deviceset/{deviceSetIndex}/subdevice/{subsystemIndex}/run

### Usage and SDK Samples

    curl -X POST "http://localhost/sdrangel/deviceset/{deviceSetIndex}/subdevice/{subsystemIndex}/run"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.DeviceSetApi;

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

    public class DeviceSetApiExample {

        public static void main(String[] args) {

            DeviceSetApi apiInstance = new DeviceSetApi();
            Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
            Integer subsystemIndex = 56; // Integer | Index of subsystem (0 for Rx, 1 for Tx)
            DeviceSettings body = ; // DeviceSettings | Originator information in the reverse API case
            try {
                DeviceState result = apiInstance.devicesetDeviceSubsystemRunPost(deviceSetIndex, subsystemIndex, body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DeviceSetApi#devicesetDeviceSubsystemRunPost");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.DeviceSetApi;

    public class DeviceSetApiExample {

        public static void main(String[] args) {
            DeviceSetApi apiInstance = new DeviceSetApi();
            Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
            Integer subsystemIndex = 56; // Integer | Index of subsystem (0 for Rx, 1 for Tx)
            DeviceSettings body = ; // DeviceSettings | Originator information in the reverse API case
            try {
                DeviceState result = apiInstance.devicesetDeviceSubsystemRunPost(deviceSetIndex, subsystemIndex, body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DeviceSetApi#devicesetDeviceSubsystemRunPost");
                e.printStackTrace();
            }
        }
    }

    Integer *deviceSetIndex = 56; // Index of device set in the device set list
    Integer *subsystemIndex = 56; // Index of subsystem (0 for Rx, 1 for Tx)
    DeviceSettings *body = ; // Originator information in the reverse API case (optional)

    DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];

    [apiInstance devicesetDeviceSubsystemRunPostWith:deviceSetIndex
        subsystemIndex:subsystemIndex
        body:body
                  completionHandler: ^(DeviceState output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.DeviceSetApi()

    var deviceSetIndex = 56; // {Integer} Index of device set in the device set list

    var subsystemIndex = 56; // {Integer} Index of subsystem (0 for Rx, 1 for Tx)

    var opts = {
      'body':  // {DeviceSettings} Originator information in the reverse API case
    };

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.devicesetDeviceSubsystemRunPost(deviceSetIndex, subsystemIndex, opts, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class devicesetDeviceSubsystemRunPostExample
        {
            public void main()
            {

                var apiInstance = new DeviceSetApi();
                var deviceSetIndex = 56;  // Integer | Index of device set in the device set list
                var subsystemIndex = 56;  // Integer | Index of subsystem (0 for Rx, 1 for Tx)
                var body = new DeviceSettings(); // DeviceSettings | Originator information in the reverse API case (optional)

                try
                {
                    DeviceState result = apiInstance.devicesetDeviceSubsystemRunPost(deviceSetIndex, subsystemIndex, body);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling DeviceSetApi.devicesetDeviceSubsystemRunPost: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\DeviceSetApi();
    $deviceSetIndex = 56; // Integer | Index of device set in the device set list
    $subsystemIndex = 56; // Integer | Index of subsystem (0 for Rx, 1 for Tx)
    $body = ; // DeviceSettings | Originator information in the reverse API case

    try {
        $result = $api_instance->devicesetDeviceSubsystemRunPost($deviceSetIndex, $subsystemIndex, $body);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling DeviceSetApi->devicesetDeviceSubsystemRunPost: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::DeviceSetApi;

    my $api_instance = SWGSDRangel::DeviceSetApi->new();
    my $deviceSetIndex = 56; # Integer | Index of device set in the device set list
    my $subsystemIndex = 56; # Integer | Index of subsystem (0 for Rx, 1 for Tx)
    my $body = SWGSDRangel::Object::DeviceSettings->new(); # DeviceSettings | Originator information in the reverse API case

    eval {
        my $result = $api_instance->devicesetDeviceSubsystemRunPost(deviceSetIndex => $deviceSetIndex, subsystemIndex => $subsystemIndex, body => $body);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling DeviceSetApi->devicesetDeviceSubsystemRunPost: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.DeviceSetApi()
    deviceSetIndex = 56 # Integer | Index of device set in the device set list
    subsystemIndex = 56 # Integer | Index of subsystem (0 for Rx, 1 for Tx)
    body =  # DeviceSettings | Originator information in the reverse API case (optional)

    try:
        api_response = api_instance.deviceset_device_subsystem_run_post(deviceSetIndex, subsystemIndex, body=body)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling DeviceSetApi->devicesetDeviceSubsystemRunPost: %s\n" % e)

## Parameters

Path parameters

Name | Description
--- | ---
deviceSetIndex* | Integer Index of device set in the device set list Required
subsystemIndex* | Integer Index of subsystem (0 for Rx, 1 for Tx) Required

Body parameters

Name | Description
--- | ---
body |

## Responses

### Status: 200 - On success return state before change

### Status: 400 - Invalid device set index

### Status: 404 - Device or subsystem not found

### Status: 500 - Error

### Status: 501 - Function not implemented

# devicesetDeviceWorkspaceGet

get device UI workspace information (GUI)

    /sdrangel/deviceset/{deviceSetIndex}/device/workspace

### Usage and SDK Samples

    curl -X GET "http://localhost/sdrangel/deviceset/{deviceSetIndex}/device/workspace"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.DeviceSetApi;

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

    public class DeviceSetApiExample {

        public static void main(String[] args) {

            DeviceSetApi apiInstance = new DeviceSetApi();
            Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
            try {
                WorkspaceInfo result = apiInstance.devicesetDeviceWorkspaceGet(deviceSetIndex);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DeviceSetApi#devicesetDeviceWorkspaceGet");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.DeviceSetApi;

    public class DeviceSetApiExample {

        public static void main(String[] args) {
            DeviceSetApi apiInstance = new DeviceSetApi();
            Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
            try {
                WorkspaceInfo result = apiInstance.devicesetDeviceWorkspaceGet(deviceSetIndex);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DeviceSetApi#devicesetDeviceWorkspaceGet");
                e.printStackTrace();
            }
        }
    }

    Integer *deviceSetIndex = 56; // Index of device set in the device set list

    DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];

    [apiInstance devicesetDeviceWorkspaceGetWith:deviceSetIndex
                  completionHandler: ^(WorkspaceInfo output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.DeviceSetApi()

    var deviceSetIndex = 56; // {Integer} Index of device set in the device set list

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.devicesetDeviceWorkspaceGet(deviceSetIndex, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class devicesetDeviceWorkspaceGetExample
        {
            public void main()
            {

                var apiInstance = new DeviceSetApi();
                var deviceSetIndex = 56;  // Integer | Index of device set in the device set list

                try
                {
                    WorkspaceInfo result = apiInstance.devicesetDeviceWorkspaceGet(deviceSetIndex);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling DeviceSetApi.devicesetDeviceWorkspaceGet: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\DeviceSetApi();
    $deviceSetIndex = 56; // Integer | Index of device set in the device set list

    try {
        $result = $api_instance->devicesetDeviceWorkspaceGet($deviceSetIndex);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling DeviceSetApi->devicesetDeviceWorkspaceGet: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::DeviceSetApi;

    my $api_instance = SWGSDRangel::DeviceSetApi->new();
    my $deviceSetIndex = 56; # Integer | Index of device set in the device set list

    eval {
        my $result = $api_instance->devicesetDeviceWorkspaceGet(deviceSetIndex => $deviceSetIndex);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling DeviceSetApi->devicesetDeviceWorkspaceGet: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.DeviceSetApi()
    deviceSetIndex = 56 # Integer | Index of device set in the device set list

    try:
        api_response = api_instance.deviceset_device_workspace_get(deviceSetIndex)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling DeviceSetApi->devicesetDeviceWorkspaceGet: %s\n" % e)

## Parameters

Path parameters

Name | Description
--- | ---
deviceSetIndex* | Integer Index of device set in the device set list Required

## Responses

### Status: 200 - On success return workspace information

### Status: 400 - Invalid device set index

### Status: 500 - Error

### Status: 501 - Function not implemented

# devicesetDeviceWorkspacePut

move device UI to workspace (GUI)

    /sdrangel/deviceset/{deviceSetIndex}/device/workspace

### Usage and SDK Samples

    curl -X PUT "http://localhost/sdrangel/deviceset/{deviceSetIndex}/device/workspace"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.DeviceSetApi;

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

    public class DeviceSetApiExample {

        public static void main(String[] args) {

            DeviceSetApi apiInstance = new DeviceSetApi();
            Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
            WorkspaceInfo body = ; // WorkspaceInfo | Destination workspace information
            try {
                SuccessResponse result = apiInstance.devicesetDeviceWorkspacePut(deviceSetIndex, body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DeviceSetApi#devicesetDeviceWorkspacePut");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.DeviceSetApi;

    public class DeviceSetApiExample {

        public static void main(String[] args) {
            DeviceSetApi apiInstance = new DeviceSetApi();
            Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
            WorkspaceInfo body = ; // WorkspaceInfo | Destination workspace information
            try {
                SuccessResponse result = apiInstance.devicesetDeviceWorkspacePut(deviceSetIndex, body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DeviceSetApi#devicesetDeviceWorkspacePut");
                e.printStackTrace();
            }
        }
    }

    Integer *deviceSetIndex = 56; // Index of device set in the device set list
    WorkspaceInfo *body = ; // Destination workspace information

    DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];

    [apiInstance devicesetDeviceWorkspacePutWith:deviceSetIndex
        body:body
                  completionHandler: ^(SuccessResponse output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.DeviceSetApi()

    var deviceSetIndex = 56; // {Integer} Index of device set in the device set list

    var body = ; // {WorkspaceInfo} Destination workspace information

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.devicesetDeviceWorkspacePut(deviceSetIndex, body, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class devicesetDeviceWorkspacePutExample
        {
            public void main()
            {

                var apiInstance = new DeviceSetApi();
                var deviceSetIndex = 56;  // Integer | Index of device set in the device set list
                var body = new WorkspaceInfo(); // WorkspaceInfo | Destination workspace information

                try
                {
                    SuccessResponse result = apiInstance.devicesetDeviceWorkspacePut(deviceSetIndex, body);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling DeviceSetApi.devicesetDeviceWorkspacePut: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\DeviceSetApi();
    $deviceSetIndex = 56; // Integer | Index of device set in the device set list
    $body = ; // WorkspaceInfo | Destination workspace information

    try {
        $result = $api_instance->devicesetDeviceWorkspacePut($deviceSetIndex, $body);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling DeviceSetApi->devicesetDeviceWorkspacePut: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::DeviceSetApi;

    my $api_instance = SWGSDRangel::DeviceSetApi->new();
    my $deviceSetIndex = 56; # Integer | Index of device set in the device set list
    my $body = SWGSDRangel::Object::WorkspaceInfo->new(); # WorkspaceInfo | Destination workspace information

    eval {
        my $result = $api_instance->devicesetDeviceWorkspacePut(deviceSetIndex => $deviceSetIndex, body => $body);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling DeviceSetApi->devicesetDeviceWorkspacePut: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.DeviceSetApi()
    deviceSetIndex = 56 # Integer | Index of device set in the device set list
    body =  # WorkspaceInfo | Destination workspace information

    try:
        api_response = api_instance.deviceset_device_workspace_put(deviceSetIndex, body)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling DeviceSetApi->devicesetDeviceWorkspacePut: %s\n" % e)

## Parameters

Path parameters

Name | Description
--- | ---
deviceSetIndex* | Integer Index of device set in the device set list Required

Body parameters

Name | Description
--- | ---
body * |

## Responses

### Status: 202 - Message to perform action was sent successfully

### Status: 400 - Invalid device set or workspace index

### Status: 500 - Error

### Status: 501 - Function not implemented

# devicesetGet

Get device set information

    /sdrangel/deviceset/{deviceSetIndex}

### Usage and SDK Samples

    curl -X GET "http://localhost/sdrangel/deviceset/{deviceSetIndex}"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.DeviceSetApi;

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

    public class DeviceSetApiExample {

        public static void main(String[] args) {

            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 DeviceSetApi#devicesetGet");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.DeviceSetApi;

    public class DeviceSetApiExample {

        public static void main(String[] args) {
            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 DeviceSetApi#devicesetGet");
                e.printStackTrace();
            }
        }
    }

    Integer *deviceSetIndex = 56; // Index of device set in the device set list

    DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];

    [apiInstance devicesetGetWith:deviceSetIndex
                  completionHandler: ^(DeviceSet output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.DeviceSetApi()

    var deviceSetIndex = 56; // {Integer} Index of device set in the device set list

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.devicesetGet(deviceSetIndex, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class devicesetGetExample
        {
            public void main()
            {

                var apiInstance = new DeviceSetApi();
                var deviceSetIndex = 56;  // Integer | Index of device set in the device set list

                try
                {
                    DeviceSet result = apiInstance.devicesetGet(deviceSetIndex);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling DeviceSetApi.devicesetGet: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $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 DeviceSetApi->devicesetGet: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::DeviceSetApi;

    my $api_instance = SWGSDRangel::DeviceSetApi->new();
    my $deviceSetIndex = 56; # Integer | Index of device set in the device set list

    eval {
        my $result = $api_instance->devicesetGet(deviceSetIndex => $deviceSetIndex);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling DeviceSetApi->devicesetGet: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    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 DeviceSetApi->devicesetGet: %s\n" % e)

## Parameters

Path parameters

Name | Description
--- | ---
deviceSetIndex* | Integer Index of device set in the device set list Required

## Responses

### Status: 200 - On success return details on the device set

### Status: 404 - Invalid index

### Status: 500 - Error

### Status: 501 - Function not implemented

# devicesetSpectrumServerDelete

Stop main spectrum websocket server

    /sdrangel/deviceset/{deviceSetIndex}/spectrum/server

### Usage and SDK Samples

    curl -X DELETE "http://localhost/sdrangel/deviceset/{deviceSetIndex}/spectrum/server"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.DeviceSetApi;

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

    public class DeviceSetApiExample {

        public static void main(String[] args) {

            DeviceSetApi apiInstance = new DeviceSetApi();
            Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
            try {
                SuccessResponse result = apiInstance.devicesetSpectrumServerDelete(deviceSetIndex);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DeviceSetApi#devicesetSpectrumServerDelete");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.DeviceSetApi;

    public class DeviceSetApiExample {

        public static void main(String[] args) {
            DeviceSetApi apiInstance = new DeviceSetApi();
            Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
            try {
                SuccessResponse result = apiInstance.devicesetSpectrumServerDelete(deviceSetIndex);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DeviceSetApi#devicesetSpectrumServerDelete");
                e.printStackTrace();
            }
        }
    }

    Integer *deviceSetIndex = 56; // Index of device set in the device set list

    DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];

    [apiInstance devicesetSpectrumServerDeleteWith:deviceSetIndex
                  completionHandler: ^(SuccessResponse output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.DeviceSetApi()

    var deviceSetIndex = 56; // {Integer} Index of device set in the device set list

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.devicesetSpectrumServerDelete(deviceSetIndex, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class devicesetSpectrumServerDeleteExample
        {
            public void main()
            {

                var apiInstance = new DeviceSetApi();
                var deviceSetIndex = 56;  // Integer | Index of device set in the device set list

                try
                {
                    SuccessResponse result = apiInstance.devicesetSpectrumServerDelete(deviceSetIndex);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling DeviceSetApi.devicesetSpectrumServerDelete: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\DeviceSetApi();
    $deviceSetIndex = 56; // Integer | Index of device set in the device set list

    try {
        $result = $api_instance->devicesetSpectrumServerDelete($deviceSetIndex);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling DeviceSetApi->devicesetSpectrumServerDelete: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::DeviceSetApi;

    my $api_instance = SWGSDRangel::DeviceSetApi->new();
    my $deviceSetIndex = 56; # Integer | Index of device set in the device set list

    eval {
        my $result = $api_instance->devicesetSpectrumServerDelete(deviceSetIndex => $deviceSetIndex);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling DeviceSetApi->devicesetSpectrumServerDelete: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.DeviceSetApi()
    deviceSetIndex = 56 # Integer | Index of device set in the device set list

    try:
        api_response = api_instance.deviceset_spectrum_server_delete(deviceSetIndex)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling DeviceSetApi->devicesetSpectrumServerDelete: %s\n" % e)

## Parameters

Path parameters

Name | Description
--- | ---
deviceSetIndex* | Integer Index of device set in the device set list Required

## Responses

### Status: 200 - Server successfully stopped

### Status: 400 - Invalid device set index

### Status: 404 - Device not found

### Status: 500 - Error

### Status: 501 - Function not implemented

# devicesetSpectrumServerGet

Get main spectrum websocket server status

    /sdrangel/deviceset/{deviceSetIndex}/spectrum/server

### Usage and SDK Samples

    curl -X GET "http://localhost/sdrangel/deviceset/{deviceSetIndex}/spectrum/server"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.DeviceSetApi;

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

    public class DeviceSetApiExample {

        public static void main(String[] args) {

            DeviceSetApi apiInstance = new DeviceSetApi();
            Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
            try {
                SpectrumServer result = apiInstance.devicesetSpectrumServerGet(deviceSetIndex);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DeviceSetApi#devicesetSpectrumServerGet");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.DeviceSetApi;

    public class DeviceSetApiExample {

        public static void main(String[] args) {
            DeviceSetApi apiInstance = new DeviceSetApi();
            Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
            try {
                SpectrumServer result = apiInstance.devicesetSpectrumServerGet(deviceSetIndex);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DeviceSetApi#devicesetSpectrumServerGet");
                e.printStackTrace();
            }
        }
    }

    Integer *deviceSetIndex = 56; // Index of device set in the device set list

    DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];

    [apiInstance devicesetSpectrumServerGetWith:deviceSetIndex
                  completionHandler: ^(SpectrumServer output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.DeviceSetApi()

    var deviceSetIndex = 56; // {Integer} Index of device set in the device set list

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.devicesetSpectrumServerGet(deviceSetIndex, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class devicesetSpectrumServerGetExample
        {
            public void main()
            {

                var apiInstance = new DeviceSetApi();
                var deviceSetIndex = 56;  // Integer | Index of device set in the device set list

                try
                {
                    SpectrumServer result = apiInstance.devicesetSpectrumServerGet(deviceSetIndex);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling DeviceSetApi.devicesetSpectrumServerGet: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\DeviceSetApi();
    $deviceSetIndex = 56; // Integer | Index of device set in the device set list

    try {
        $result = $api_instance->devicesetSpectrumServerGet($deviceSetIndex);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling DeviceSetApi->devicesetSpectrumServerGet: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::DeviceSetApi;

    my $api_instance = SWGSDRangel::DeviceSetApi->new();
    my $deviceSetIndex = 56; # Integer | Index of device set in the device set list

    eval {
        my $result = $api_instance->devicesetSpectrumServerGet(deviceSetIndex => $deviceSetIndex);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling DeviceSetApi->devicesetSpectrumServerGet: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.DeviceSetApi()
    deviceSetIndex = 56 # Integer | Index of device set in the device set list

    try:
        api_response = api_instance.deviceset_spectrum_server_get(deviceSetIndex)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling DeviceSetApi->devicesetSpectrumServerGet: %s\n" % e)

## Parameters

Path parameters

Name | Description
--- | ---
deviceSetIndex* | Integer Index of device set in the device set list Required

## Responses

### Status: 200 - On success return main spectrum server status

### Status: 404 - Invalid index

### Status: 500 - Error

### Status: 501 - Function not implemented

# devicesetSpectrumServerPost

Start main spectrum websocket server

    /sdrangel/deviceset/{deviceSetIndex}/spectrum/server

### Usage and SDK Samples

    curl -X POST "http://localhost/sdrangel/deviceset/{deviceSetIndex}/spectrum/server"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.DeviceSetApi;

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

    public class DeviceSetApiExample {

        public static void main(String[] args) {

            DeviceSetApi apiInstance = new DeviceSetApi();
            Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
            try {
                SuccessResponse result = apiInstance.devicesetSpectrumServerPost(deviceSetIndex);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DeviceSetApi#devicesetSpectrumServerPost");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.DeviceSetApi;

    public class DeviceSetApiExample {

        public static void main(String[] args) {
            DeviceSetApi apiInstance = new DeviceSetApi();
            Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
            try {
                SuccessResponse result = apiInstance.devicesetSpectrumServerPost(deviceSetIndex);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DeviceSetApi#devicesetSpectrumServerPost");
                e.printStackTrace();
            }
        }
    }

    Integer *deviceSetIndex = 56; // Index of device set in the device set list

    DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];

    [apiInstance devicesetSpectrumServerPostWith:deviceSetIndex
                  completionHandler: ^(SuccessResponse output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.DeviceSetApi()

    var deviceSetIndex = 56; // {Integer} Index of device set in the device set list

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.devicesetSpectrumServerPost(deviceSetIndex, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class devicesetSpectrumServerPostExample
        {
            public void main()
            {

                var apiInstance = new DeviceSetApi();
                var deviceSetIndex = 56;  // Integer | Index of device set in the device set list

                try
                {
                    SuccessResponse result = apiInstance.devicesetSpectrumServerPost(deviceSetIndex);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling DeviceSetApi.devicesetSpectrumServerPost: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\DeviceSetApi();
    $deviceSetIndex = 56; // Integer | Index of device set in the device set list

    try {
        $result = $api_instance->devicesetSpectrumServerPost($deviceSetIndex);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling DeviceSetApi->devicesetSpectrumServerPost: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::DeviceSetApi;

    my $api_instance = SWGSDRangel::DeviceSetApi->new();
    my $deviceSetIndex = 56; # Integer | Index of device set in the device set list

    eval {
        my $result = $api_instance->devicesetSpectrumServerPost(deviceSetIndex => $deviceSetIndex);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling DeviceSetApi->devicesetSpectrumServerPost: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.DeviceSetApi()
    deviceSetIndex = 56 # Integer | Index of device set in the device set list

    try:
        api_response = api_instance.deviceset_spectrum_server_post(deviceSetIndex)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling DeviceSetApi->devicesetSpectrumServerPost: %s\n" % e)

## Parameters

Path parameters

Name | Description
--- | ---
deviceSetIndex* | Integer Index of device set in the device set list Required

## Responses

### Status: 200 - Server successfully started

### Status: 400 - Invalid device set index

### Status: 404 - Device not found

### Status: 500 - Error

### Status: 501 - Function not implemented

# devicesetSpectrumSettingsGet

Get main spectrum settings

    /sdrangel/deviceset/{deviceSetIndex}/spectrum/settings

### Usage and SDK Samples

    curl -X GET "http://localhost/sdrangel/deviceset/{deviceSetIndex}/spectrum/settings"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.DeviceSetApi;

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

    public class DeviceSetApiExample {

        public static void main(String[] args) {

            DeviceSetApi apiInstance = new DeviceSetApi();
            Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
            try {
                GLSpectrum result = apiInstance.devicesetSpectrumSettingsGet(deviceSetIndex);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DeviceSetApi#devicesetSpectrumSettingsGet");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.DeviceSetApi;

    public class DeviceSetApiExample {

        public static void main(String[] args) {
            DeviceSetApi apiInstance = new DeviceSetApi();
            Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
            try {
                GLSpectrum result = apiInstance.devicesetSpectrumSettingsGet(deviceSetIndex);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DeviceSetApi#devicesetSpectrumSettingsGet");
                e.printStackTrace();
            }
        }
    }

    Integer *deviceSetIndex = 56; // Index of device set in the device set list

    DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];

    [apiInstance devicesetSpectrumSettingsGetWith:deviceSetIndex
                  completionHandler: ^(GLSpectrum output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.DeviceSetApi()

    var deviceSetIndex = 56; // {Integer} Index of device set in the device set list

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.devicesetSpectrumSettingsGet(deviceSetIndex, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class devicesetSpectrumSettingsGetExample
        {
            public void main()
            {

                var apiInstance = new DeviceSetApi();
                var deviceSetIndex = 56;  // Integer | Index of device set in the device set list

                try
                {
                    GLSpectrum result = apiInstance.devicesetSpectrumSettingsGet(deviceSetIndex);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling DeviceSetApi.devicesetSpectrumSettingsGet: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\DeviceSetApi();
    $deviceSetIndex = 56; // Integer | Index of device set in the device set list

    try {
        $result = $api_instance->devicesetSpectrumSettingsGet($deviceSetIndex);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling DeviceSetApi->devicesetSpectrumSettingsGet: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::DeviceSetApi;

    my $api_instance = SWGSDRangel::DeviceSetApi->new();
    my $deviceSetIndex = 56; # Integer | Index of device set in the device set list

    eval {
        my $result = $api_instance->devicesetSpectrumSettingsGet(deviceSetIndex => $deviceSetIndex);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling DeviceSetApi->devicesetSpectrumSettingsGet: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.DeviceSetApi()
    deviceSetIndex = 56 # Integer | Index of device set in the device set list

    try:
        api_response = api_instance.deviceset_spectrum_settings_get(deviceSetIndex)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling DeviceSetApi->devicesetSpectrumSettingsGet: %s\n" % e)

## Parameters

Path parameters

Name | Description
--- | ---
deviceSetIndex* | Integer Index of device set in the device set list Required

## Responses

### Status: 200 - On success return details on the main spectrum

### Status: 404 - Invalid index

### Status: 500 - Error

### Status: 501 - Function not implemented

# devicesetSpectrumSettingsPatch

Apply main spectrun settings differentially (no force)

    /sdrangel/deviceset/{deviceSetIndex}/spectrum/settings

### Usage and SDK Samples

    curl -X PATCH "http://localhost/sdrangel/deviceset/{deviceSetIndex}/spectrum/settings"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.DeviceSetApi;

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

    public class DeviceSetApiExample {

        public static void main(String[] args) {

            DeviceSetApi apiInstance = new DeviceSetApi();
            Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
            GLSpectrum body = ; // GLSpectrum | Spectrum settings to apply
            try {
                GLSpectrum result = apiInstance.devicesetSpectrumSettingsPatch(deviceSetIndex, body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DeviceSetApi#devicesetSpectrumSettingsPatch");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.DeviceSetApi;

    public class DeviceSetApiExample {

        public static void main(String[] args) {
            DeviceSetApi apiInstance = new DeviceSetApi();
            Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
            GLSpectrum body = ; // GLSpectrum | Spectrum settings to apply
            try {
                GLSpectrum result = apiInstance.devicesetSpectrumSettingsPatch(deviceSetIndex, body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DeviceSetApi#devicesetSpectrumSettingsPatch");
                e.printStackTrace();
            }
        }
    }

    Integer *deviceSetIndex = 56; // Index of device set in the device set list
    GLSpectrum *body = ; // Spectrum settings to apply

    DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];

    [apiInstance devicesetSpectrumSettingsPatchWith:deviceSetIndex
        body:body
                  completionHandler: ^(GLSpectrum output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.DeviceSetApi()

    var deviceSetIndex = 56; // {Integer} Index of device set in the device set list

    var body = ; // {GLSpectrum} Spectrum settings to apply

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.devicesetSpectrumSettingsPatch(deviceSetIndex, body, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class devicesetSpectrumSettingsPatchExample
        {
            public void main()
            {

                var apiInstance = new DeviceSetApi();
                var deviceSetIndex = 56;  // Integer | Index of device set in the device set list
                var body = new GLSpectrum(); // GLSpectrum | Spectrum settings to apply

                try
                {
                    GLSpectrum result = apiInstance.devicesetSpectrumSettingsPatch(deviceSetIndex, body);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling DeviceSetApi.devicesetSpectrumSettingsPatch: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\DeviceSetApi();
    $deviceSetIndex = 56; // Integer | Index of device set in the device set list
    $body = ; // GLSpectrum | Spectrum settings to apply

    try {
        $result = $api_instance->devicesetSpectrumSettingsPatch($deviceSetIndex, $body);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling DeviceSetApi->devicesetSpectrumSettingsPatch: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::DeviceSetApi;

    my $api_instance = SWGSDRangel::DeviceSetApi->new();
    my $deviceSetIndex = 56; # Integer | Index of device set in the device set list
    my $body = SWGSDRangel::Object::GLSpectrum->new(); # GLSpectrum | Spectrum settings to apply

    eval {
        my $result = $api_instance->devicesetSpectrumSettingsPatch(deviceSetIndex => $deviceSetIndex, body => $body);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling DeviceSetApi->devicesetSpectrumSettingsPatch: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.DeviceSetApi()
    deviceSetIndex = 56 # Integer | Index of device set in the device set list
    body =  # GLSpectrum | Spectrum settings to apply

    try:
        api_response = api_instance.deviceset_spectrum_settings_patch(deviceSetIndex, body)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling DeviceSetApi->devicesetSpectrumSettingsPatch: %s\n" % e)

## Parameters

Path parameters

Name | Description
--- | ---
deviceSetIndex* | Integer Index of device set in the device set list Required

Body parameters

Name | Description
--- | ---
body * |

## Responses

### Status: 200 - On success returns new settings values

### Status: 404 - Invalid device set index or device not found

### Status: 500 - Error

### Status: 501 - Function not implemented

# devicesetSpectrumSettingsPut

Apply main spectrun settings unconditionnaly (force)

    /sdrangel/deviceset/{deviceSetIndex}/spectrum/settings

### Usage and SDK Samples

    curl -X PUT "http://localhost/sdrangel/deviceset/{deviceSetIndex}/spectrum/settings"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.DeviceSetApi;

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

    public class DeviceSetApiExample {

        public static void main(String[] args) {

            DeviceSetApi apiInstance = new DeviceSetApi();
            Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
            GLSpectrum body = ; // GLSpectrum | Spectrum settings to apply
            try {
                GLSpectrum result = apiInstance.devicesetSpectrumSettingsPut(deviceSetIndex, body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DeviceSetApi#devicesetSpectrumSettingsPut");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.DeviceSetApi;

    public class DeviceSetApiExample {

        public static void main(String[] args) {
            DeviceSetApi apiInstance = new DeviceSetApi();
            Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
            GLSpectrum body = ; // GLSpectrum | Spectrum settings to apply
            try {
                GLSpectrum result = apiInstance.devicesetSpectrumSettingsPut(deviceSetIndex, body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DeviceSetApi#devicesetSpectrumSettingsPut");
                e.printStackTrace();
            }
        }
    }

    Integer *deviceSetIndex = 56; // Index of device set in the device set list
    GLSpectrum *body = ; // Spectrum settings to apply

    DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];

    [apiInstance devicesetSpectrumSettingsPutWith:deviceSetIndex
        body:body
                  completionHandler: ^(GLSpectrum output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.DeviceSetApi()

    var deviceSetIndex = 56; // {Integer} Index of device set in the device set list

    var body = ; // {GLSpectrum} Spectrum settings to apply

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.devicesetSpectrumSettingsPut(deviceSetIndex, body, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class devicesetSpectrumSettingsPutExample
        {
            public void main()
            {

                var apiInstance = new DeviceSetApi();
                var deviceSetIndex = 56;  // Integer | Index of device set in the device set list
                var body = new GLSpectrum(); // GLSpectrum | Spectrum settings to apply

                try
                {
                    GLSpectrum result = apiInstance.devicesetSpectrumSettingsPut(deviceSetIndex, body);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling DeviceSetApi.devicesetSpectrumSettingsPut: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\DeviceSetApi();
    $deviceSetIndex = 56; // Integer | Index of device set in the device set list
    $body = ; // GLSpectrum | Spectrum settings to apply

    try {
        $result = $api_instance->devicesetSpectrumSettingsPut($deviceSetIndex, $body);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling DeviceSetApi->devicesetSpectrumSettingsPut: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::DeviceSetApi;

    my $api_instance = SWGSDRangel::DeviceSetApi->new();
    my $deviceSetIndex = 56; # Integer | Index of device set in the device set list
    my $body = SWGSDRangel::Object::GLSpectrum->new(); # GLSpectrum | Spectrum settings to apply

    eval {
        my $result = $api_instance->devicesetSpectrumSettingsPut(deviceSetIndex => $deviceSetIndex, body => $body);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling DeviceSetApi->devicesetSpectrumSettingsPut: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.DeviceSetApi()
    deviceSetIndex = 56 # Integer | Index of device set in the device set list
    body =  # GLSpectrum | Spectrum settings to apply

    try:
        api_response = api_instance.deviceset_spectrum_settings_put(deviceSetIndex, body)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling DeviceSetApi->devicesetSpectrumSettingsPut: %s\n" % e)

## Parameters

Path parameters

Name | Description
--- | ---
deviceSetIndex* | Integer Index of device set in the device set list Required

Body parameters

Name | Description
--- | ---
body * |

## Responses

### Status: 200 - On success returns new settings values

### Status: 404 - Invalid device set index or device not found

### Status: 500 - Error

### Status: 501 - Function not implemented

# devicesetSpectrumWorkspaceGet

Get main spectrum UI workspace information (GUI)

    /sdrangel/deviceset/{deviceSetIndex}/spectrum/workspace

### Usage and SDK Samples

    curl -X GET "http://localhost/sdrangel/deviceset/{deviceSetIndex}/spectrum/workspace"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.DeviceSetApi;

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

    public class DeviceSetApiExample {

        public static void main(String[] args) {

            DeviceSetApi apiInstance = new DeviceSetApi();
            Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
            try {
                WorkspaceInfo result = apiInstance.devicesetSpectrumWorkspaceGet(deviceSetIndex);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DeviceSetApi#devicesetSpectrumWorkspaceGet");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.DeviceSetApi;

    public class DeviceSetApiExample {

        public static void main(String[] args) {
            DeviceSetApi apiInstance = new DeviceSetApi();
            Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
            try {
                WorkspaceInfo result = apiInstance.devicesetSpectrumWorkspaceGet(deviceSetIndex);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DeviceSetApi#devicesetSpectrumWorkspaceGet");
                e.printStackTrace();
            }
        }
    }

    Integer *deviceSetIndex = 56; // Index of device set in the device set list

    DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];

    [apiInstance devicesetSpectrumWorkspaceGetWith:deviceSetIndex
                  completionHandler: ^(WorkspaceInfo output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.DeviceSetApi()

    var deviceSetIndex = 56; // {Integer} Index of device set in the device set list

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.devicesetSpectrumWorkspaceGet(deviceSetIndex, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class devicesetSpectrumWorkspaceGetExample
        {
            public void main()
            {

                var apiInstance = new DeviceSetApi();
                var deviceSetIndex = 56;  // Integer | Index of device set in the device set list

                try
                {
                    WorkspaceInfo result = apiInstance.devicesetSpectrumWorkspaceGet(deviceSetIndex);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling DeviceSetApi.devicesetSpectrumWorkspaceGet: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\DeviceSetApi();
    $deviceSetIndex = 56; // Integer | Index of device set in the device set list

    try {
        $result = $api_instance->devicesetSpectrumWorkspaceGet($deviceSetIndex);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling DeviceSetApi->devicesetSpectrumWorkspaceGet: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::DeviceSetApi;

    my $api_instance = SWGSDRangel::DeviceSetApi->new();
    my $deviceSetIndex = 56; # Integer | Index of device set in the device set list

    eval {
        my $result = $api_instance->devicesetSpectrumWorkspaceGet(deviceSetIndex => $deviceSetIndex);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling DeviceSetApi->devicesetSpectrumWorkspaceGet: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.DeviceSetApi()
    deviceSetIndex = 56 # Integer | Index of device set in the device set list

    try:
        api_response = api_instance.deviceset_spectrum_workspace_get(deviceSetIndex)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling DeviceSetApi->devicesetSpectrumWorkspaceGet: %s\n" % e)

## Parameters

Path parameters

Name | Description
--- | ---
deviceSetIndex* | Integer Index of device set in the device set list Required

## Responses

### Status: 200 - On success return main spectrum UI workspace index

### Status: 404 - Invalid index

### Status: 500 - Error

### Status: 501 - Function not implemented

# devicesetSpectrumWorkspacePut

move main spectrum UI to workspace (GUI)

    /sdrangel/deviceset/{deviceSetIndex}/spectrum/workspace

### Usage and SDK Samples

    curl -X PUT "http://localhost/sdrangel/deviceset/{deviceSetIndex}/spectrum/workspace"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.DeviceSetApi;

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

    public class DeviceSetApiExample {

        public static void main(String[] args) {

            DeviceSetApi apiInstance = new DeviceSetApi();
            Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
            WorkspaceInfo body = ; // WorkspaceInfo | Destination workspace information
            try {
                SuccessResponse result = apiInstance.devicesetSpectrumWorkspacePut(deviceSetIndex, body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DeviceSetApi#devicesetSpectrumWorkspacePut");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.DeviceSetApi;

    public class DeviceSetApiExample {

        public static void main(String[] args) {
            DeviceSetApi apiInstance = new DeviceSetApi();
            Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
            WorkspaceInfo body = ; // WorkspaceInfo | Destination workspace information
            try {
                SuccessResponse result = apiInstance.devicesetSpectrumWorkspacePut(deviceSetIndex, body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DeviceSetApi#devicesetSpectrumWorkspacePut");
                e.printStackTrace();
            }
        }
    }

    Integer *deviceSetIndex = 56; // Index of device set in the device set list
    WorkspaceInfo *body = ; // Destination workspace information

    DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];

    [apiInstance devicesetSpectrumWorkspacePutWith:deviceSetIndex
        body:body
                  completionHandler: ^(SuccessResponse output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.DeviceSetApi()

    var deviceSetIndex = 56; // {Integer} Index of device set in the device set list

    var body = ; // {WorkspaceInfo} Destination workspace information

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.devicesetSpectrumWorkspacePut(deviceSetIndex, body, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class devicesetSpectrumWorkspacePutExample
        {
            public void main()
            {

                var apiInstance = new DeviceSetApi();
                var deviceSetIndex = 56;  // Integer | Index of device set in the device set list
                var body = new WorkspaceInfo(); // WorkspaceInfo | Destination workspace information

                try
                {
                    SuccessResponse result = apiInstance.devicesetSpectrumWorkspacePut(deviceSetIndex, body);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling DeviceSetApi.devicesetSpectrumWorkspacePut: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\DeviceSetApi();
    $deviceSetIndex = 56; // Integer | Index of device set in the device set list
    $body = ; // WorkspaceInfo | Destination workspace information

    try {
        $result = $api_instance->devicesetSpectrumWorkspacePut($deviceSetIndex, $body);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling DeviceSetApi->devicesetSpectrumWorkspacePut: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::DeviceSetApi;

    my $api_instance = SWGSDRangel::DeviceSetApi->new();
    my $deviceSetIndex = 56; # Integer | Index of device set in the device set list
    my $body = SWGSDRangel::Object::WorkspaceInfo->new(); # WorkspaceInfo | Destination workspace information

    eval {
        my $result = $api_instance->devicesetSpectrumWorkspacePut(deviceSetIndex => $deviceSetIndex, body => $body);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling DeviceSetApi->devicesetSpectrumWorkspacePut: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.DeviceSetApi()
    deviceSetIndex = 56 # Integer | Index of device set in the device set list
    body =  # WorkspaceInfo | Destination workspace information

    try:
        api_response = api_instance.deviceset_spectrum_workspace_put(deviceSetIndex, body)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling DeviceSetApi->devicesetSpectrumWorkspacePut: %s\n" % e)

## Parameters

Path parameters

Name | Description
--- | ---
deviceSetIndex* | Integer Index of device set in the device set list Required

Body parameters

Name | Description
--- | ---
body * |

## Responses

### Status: 202 - Message to perform action was sent successfully

### Status: 400 - Invalid device set or workspace index

### Status: 500 - Error

### Status: 501 - Function not implemented

# instanceDeviceSetDelete

Remove last device set. The GUI version does not remove the first device.

    /sdrangel/deviceset

### Usage and SDK Samples

    curl -X DELETE "http://localhost/sdrangel/deviceset"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.DeviceSetApi;

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

    public class DeviceSetApiExample {

        public static void main(String[] args) {

            DeviceSetApi apiInstance = new DeviceSetApi();
            try {
                SuccessResponse result = apiInstance.instanceDeviceSetDelete();
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DeviceSetApi#instanceDeviceSetDelete");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.DeviceSetApi;

    public class DeviceSetApiExample {

        public static void main(String[] args) {
            DeviceSetApi apiInstance = new DeviceSetApi();
            try {
                SuccessResponse result = apiInstance.instanceDeviceSetDelete();
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DeviceSetApi#instanceDeviceSetDelete");
                e.printStackTrace();
            }
        }
    }

    DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];

    [apiInstance instanceDeviceSetDeleteWithCompletionHandler:
                  ^(SuccessResponse output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.DeviceSetApi()

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.instanceDeviceSetDelete(callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class instanceDeviceSetDeleteExample
        {
            public void main()
            {

                var apiInstance = new DeviceSetApi();

                try
                {
                    SuccessResponse result = apiInstance.instanceDeviceSetDelete();
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling DeviceSetApi.instanceDeviceSetDelete: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\DeviceSetApi();

    try {
        $result = $api_instance->instanceDeviceSetDelete();
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling DeviceSetApi->instanceDeviceSetDelete: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::DeviceSetApi;

    my $api_instance = SWGSDRangel::DeviceSetApi->new();

    eval {
        my $result = $api_instance->instanceDeviceSetDelete();
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling DeviceSetApi->instanceDeviceSetDelete: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.DeviceSetApi()

    try:
        api_response = api_instance.instance_device_set_delete()
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling DeviceSetApi->instanceDeviceSetDelete: %s\n" % e)

## Parameters

## Responses

### Status: 202 - Message to remove last device set was sent successfully

### Status: 404 - No more device sets to be deleted

### Status: 500 - Error

### Status: 501 - Function not implemented

# instanceDeviceSetPost

Add (append) a new device set with default values

    /sdrangel/deviceset

### Usage and SDK Samples

    curl -X POST "http://localhost/sdrangel/deviceset?direction="

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.DeviceSetApi;

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

    public class DeviceSetApiExample {

        public static void main(String[] args) {

            DeviceSetApi apiInstance = new DeviceSetApi();
            Integer direction = 56; // Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
            try {
                SuccessResponse result = apiInstance.instanceDeviceSetPost(direction);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DeviceSetApi#instanceDeviceSetPost");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.DeviceSetApi;

    public class DeviceSetApiExample {

        public static void main(String[] args) {
            DeviceSetApi apiInstance = new DeviceSetApi();
            Integer direction = 56; // Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
            try {
                SuccessResponse result = apiInstance.instanceDeviceSetPost(direction);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling DeviceSetApi#instanceDeviceSetPost");
                e.printStackTrace();
            }
        }
    }

    Integer *direction = 56; // 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0) (optional)

    DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];

    [apiInstance instanceDeviceSetPostWith:direction
                  completionHandler: ^(SuccessResponse output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.DeviceSetApi()

    var opts = {
      'direction': 56 // {Integer} 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
    };

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.instanceDeviceSetPost(opts, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class instanceDeviceSetPostExample
        {
            public void main()
            {

                var apiInstance = new DeviceSetApi();
                var direction = 56;  // Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0) (optional)

                try
                {
                    SuccessResponse result = apiInstance.instanceDeviceSetPost(direction);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling DeviceSetApi.instanceDeviceSetPost: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\DeviceSetApi();
    $direction = 56; // Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)

    try {
        $result = $api_instance->instanceDeviceSetPost($direction);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling DeviceSetApi->instanceDeviceSetPost: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::DeviceSetApi;

    my $api_instance = SWGSDRangel::DeviceSetApi->new();
    my $direction = 56; # Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)

    eval {
        my $result = $api_instance->instanceDeviceSetPost(direction => $direction);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling DeviceSetApi->instanceDeviceSetPost: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.DeviceSetApi()
    direction = 56 # Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0) (optional)

    try:
        api_response = api_instance.instance_device_set_post(direction=direction)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling DeviceSetApi->instanceDeviceSetPost: %s\n" % e)

## Parameters

Query parameters

Name | Description
--- | ---
direction | Integer 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)

## Responses

### Status: 202 - Message to add a new device set was sent successfully

### Status: 500 - Error

### Status: 501 - Function not implemented

# FeatureSet

# featuresetFEatureSettingsPut

apply all settings unconditionally (force)

    /sdrangel/featureset/feature/{featureIndex}/settings

### Usage and SDK Samples

    curl -X PUT "http://localhost/sdrangel/featureset/feature/{featureIndex}/settings"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.FeatureSetApi;

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

    public class FeatureSetApiExample {

        public static void main(String[] args) {

            FeatureSetApi apiInstance = new FeatureSetApi();
            Integer featureIndex = 56; // Integer | Index of the feature in the features list
            FeatureSettings body = ; // FeatureSettings | Feature settings to apply
            try {
                FeatureSettings result = apiInstance.featuresetFEatureSettingsPut(featureIndex, body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling FeatureSetApi#featuresetFEatureSettingsPut");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.FeatureSetApi;

    public class FeatureSetApiExample {

        public static void main(String[] args) {
            FeatureSetApi apiInstance = new FeatureSetApi();
            Integer featureIndex = 56; // Integer | Index of the feature in the features list
            FeatureSettings body = ; // FeatureSettings | Feature settings to apply
            try {
                FeatureSettings result = apiInstance.featuresetFEatureSettingsPut(featureIndex, body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling FeatureSetApi#featuresetFEatureSettingsPut");
                e.printStackTrace();
            }
        }
    }

    Integer *featureIndex = 56; // Index of the feature in the features list
    FeatureSettings *body = ; // Feature settings to apply

    FeatureSetApi *apiInstance = [[FeatureSetApi alloc] init];

    [apiInstance featuresetFEatureSettingsPutWith:featureIndex
        body:body
                  completionHandler: ^(FeatureSettings output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.FeatureSetApi()

    var featureIndex = 56; // {Integer} Index of the feature in the features list

    var body = ; // {FeatureSettings} Feature settings to apply

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.featuresetFEatureSettingsPut(featureIndex, body, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class featuresetFEatureSettingsPutExample
        {
            public void main()
            {

                var apiInstance = new FeatureSetApi();
                var featureIndex = 56;  // Integer | Index of the feature in the features list
                var body = new FeatureSettings(); // FeatureSettings | Feature settings to apply

                try
                {
                    FeatureSettings result = apiInstance.featuresetFEatureSettingsPut(featureIndex, body);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling FeatureSetApi.featuresetFEatureSettingsPut: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\FeatureSetApi();
    $featureIndex = 56; // Integer | Index of the feature in the features list
    $body = ; // FeatureSettings | Feature settings to apply

    try {
        $result = $api_instance->featuresetFEatureSettingsPut($featureIndex, $body);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling FeatureSetApi->featuresetFEatureSettingsPut: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::FeatureSetApi;

    my $api_instance = SWGSDRangel::FeatureSetApi->new();
    my $featureIndex = 56; # Integer | Index of the feature in the features list
    my $body = SWGSDRangel::Object::FeatureSettings->new(); # FeatureSettings | Feature settings to apply

    eval {
        my $result = $api_instance->featuresetFEatureSettingsPut(featureIndex => $featureIndex, body => $body);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling FeatureSetApi->featuresetFEatureSettingsPut: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.FeatureSetApi()
    featureIndex = 56 # Integer | Index of the feature in the features list
    body =  # FeatureSettings | Feature settings to apply

    try:
        api_response = api_instance.featureset_f_eature_settings_put(featureIndex, body)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling FeatureSetApi->featuresetFEatureSettingsPut: %s\n" % e)

## Parameters

Path parameters

Name | Description
--- | ---
featureIndex* | Integer Index of the feature in the features list Required

Body parameters

Name | Description
--- | ---
body * |

## Responses

### Status: 200 - On success return feature new settings

### Status: 400 - Invalid feature index

### Status: 404 - Feature set or feature not found

### Status: 500 - Error

### Status: 501 - Function not implemented

# featuresetFeatureActionsPost

post an action or actions on a channel

    /sdrangel/featureset/feature/{featureIndex}/actions

### Usage and SDK Samples

    curl -X POST "http://localhost/sdrangel/featureset/feature/{featureIndex}/actions"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.FeatureSetApi;

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

    public class FeatureSetApiExample {

        public static void main(String[] args) {

            FeatureSetApi apiInstance = new FeatureSetApi();
            Integer featureIndex = 56; // Integer | Index of the feature in the features list
            FeatureActions body = ; // FeatureActions | Action(s) to apply to the feature
            try {
                SuccessResponse result = apiInstance.featuresetFeatureActionsPost(featureIndex, body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling FeatureSetApi#featuresetFeatureActionsPost");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.FeatureSetApi;

    public class FeatureSetApiExample {

        public static void main(String[] args) {
            FeatureSetApi apiInstance = new FeatureSetApi();
            Integer featureIndex = 56; // Integer | Index of the feature in the features list
            FeatureActions body = ; // FeatureActions | Action(s) to apply to the feature
            try {
                SuccessResponse result = apiInstance.featuresetFeatureActionsPost(featureIndex, body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling FeatureSetApi#featuresetFeatureActionsPost");
                e.printStackTrace();
            }
        }
    }

    Integer *featureIndex = 56; // Index of the feature in the features list
    FeatureActions *body = ; // Action(s) to apply to the feature

    FeatureSetApi *apiInstance = [[FeatureSetApi alloc] init];

    [apiInstance featuresetFeatureActionsPostWith:featureIndex
        body:body
                  completionHandler: ^(SuccessResponse output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.FeatureSetApi()

    var featureIndex = 56; // {Integer} Index of the feature in the features list

    var body = ; // {FeatureActions} Action(s) to apply to the feature

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.featuresetFeatureActionsPost(featureIndex, body, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class featuresetFeatureActionsPostExample
        {
            public void main()
            {

                var apiInstance = new FeatureSetApi();
                var featureIndex = 56;  // Integer | Index of the feature in the features list
                var body = new FeatureActions(); // FeatureActions | Action(s) to apply to the feature

                try
                {
                    SuccessResponse result = apiInstance.featuresetFeatureActionsPost(featureIndex, body);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling FeatureSetApi.featuresetFeatureActionsPost: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\FeatureSetApi();
    $featureIndex = 56; // Integer | Index of the feature in the features list
    $body = ; // FeatureActions | Action(s) to apply to the feature

    try {
        $result = $api_instance->featuresetFeatureActionsPost($featureIndex, $body);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling FeatureSetApi->featuresetFeatureActionsPost: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::FeatureSetApi;

    my $api_instance = SWGSDRangel::FeatureSetApi->new();
    my $featureIndex = 56; # Integer | Index of the feature in the features list
    my $body = SWGSDRangel::Object::FeatureActions->new(); # FeatureActions | Action(s) to apply to the feature

    eval {
        my $result = $api_instance->featuresetFeatureActionsPost(featureIndex => $featureIndex, body => $body);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling FeatureSetApi->featuresetFeatureActionsPost: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.FeatureSetApi()
    featureIndex = 56 # Integer | Index of the feature in the features list
    body =  # FeatureActions | Action(s) to apply to the feature

    try:
        api_response = api_instance.featureset_feature_actions_post(featureIndex, body)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling FeatureSetApi->featuresetFeatureActionsPost: %s\n" % e)

## Parameters

Path parameters

Name | Description
--- | ---
featureIndex* | Integer Index of the feature in the features list Required

Body parameters

Name | Description
--- | ---
body * |

## Responses

### Status: 202 - Message to perform action was sent successfully

### Status: 400 - Invalid feature index

### Status: 404 - Feature set or feature not found

### Status: 500 - Error

### Status: 501 - Function not implemented

# featuresetFeatureDelete

delete a feature

    /sdrangel/featureset/feature/{featureIndex}

### Usage and SDK Samples

    curl -X DELETE "http://localhost/sdrangel/featureset/feature/{featureIndex}"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.FeatureSetApi;

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

    public class FeatureSetApiExample {

        public static void main(String[] args) {

            FeatureSetApi apiInstance = new FeatureSetApi();
            Integer featureIndex = 56; // Integer | Index of feature in the features list
            try {
                FeatureSettings result = apiInstance.featuresetFeatureDelete(featureIndex);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling FeatureSetApi#featuresetFeatureDelete");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.FeatureSetApi;

    public class FeatureSetApiExample {

        public static void main(String[] args) {
            FeatureSetApi apiInstance = new FeatureSetApi();
            Integer featureIndex = 56; // Integer | Index of feature in the features list
            try {
                FeatureSettings result = apiInstance.featuresetFeatureDelete(featureIndex);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling FeatureSetApi#featuresetFeatureDelete");
                e.printStackTrace();
            }
        }
    }

    Integer *featureIndex = 56; // Index of feature in the features list

    FeatureSetApi *apiInstance = [[FeatureSetApi alloc] init];

    [apiInstance featuresetFeatureDeleteWith:featureIndex
                  completionHandler: ^(FeatureSettings output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.FeatureSetApi()

    var featureIndex = 56; // {Integer} Index of feature in the features list

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.featuresetFeatureDelete(featureIndex, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class featuresetFeatureDeleteExample
        {
            public void main()
            {

                var apiInstance = new FeatureSetApi();
                var featureIndex = 56;  // Integer | Index of feature in the features list

                try
                {
                    FeatureSettings result = apiInstance.featuresetFeatureDelete(featureIndex);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling FeatureSetApi.featuresetFeatureDelete: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\FeatureSetApi();
    $featureIndex = 56; // Integer | Index of feature in the features list

    try {
        $result = $api_instance->featuresetFeatureDelete($featureIndex);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling FeatureSetApi->featuresetFeatureDelete: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::FeatureSetApi;

    my $api_instance = SWGSDRangel::FeatureSetApi->new();
    my $featureIndex = 56; # Integer | Index of feature in the features list

    eval {
        my $result = $api_instance->featuresetFeatureDelete(featureIndex => $featureIndex);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling FeatureSetApi->featuresetFeatureDelete: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.FeatureSetApi()
    featureIndex = 56 # Integer | Index of feature in the features list

    try:
        api_response = api_instance.featureset_feature_delete(featureIndex)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling FeatureSetApi->featuresetFeatureDelete: %s\n" % e)

## Parameters

Path parameters

Name | Description
--- | ---
featureIndex* | Integer Index of feature in the features list Required

## Responses

### Status: 200 - On success return deleted feature settings

### Status: 400 - Invalid feature index

### Status: 404 - Feature set or feature not found

### Status: 500 - Error

### Status: 501 - Function not implemented

# featuresetFeaturePost

add a feature

    /sdrangel/featureset/feature

### Usage and SDK Samples

    curl -X POST "http://localhost/sdrangel/featureset/feature"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.FeatureSetApi;

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

    public class FeatureSetApiExample {

        public static void main(String[] args) {

            FeatureSetApi apiInstance = new FeatureSetApi();
            FeatureSettings body = ; // FeatureSettings | Feature identification (no settings data)
            try {
                SuccessResponse result = apiInstance.featuresetFeaturePost(body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling FeatureSetApi#featuresetFeaturePost");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.FeatureSetApi;

    public class FeatureSetApiExample {

        public static void main(String[] args) {
            FeatureSetApi apiInstance = new FeatureSetApi();
            FeatureSettings body = ; // FeatureSettings | Feature identification (no settings data)
            try {
                SuccessResponse result = apiInstance.featuresetFeaturePost(body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling FeatureSetApi#featuresetFeaturePost");
                e.printStackTrace();
            }
        }
    }

    FeatureSettings *body = ; // Feature identification (no settings data)

    FeatureSetApi *apiInstance = [[FeatureSetApi alloc] init];

    [apiInstance featuresetFeaturePostWith:body
                  completionHandler: ^(SuccessResponse output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.FeatureSetApi()

    var body = ; // {FeatureSettings} Feature identification (no settings data)

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.featuresetFeaturePost(body, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class featuresetFeaturePostExample
        {
            public void main()
            {

                var apiInstance = new FeatureSetApi();
                var body = new FeatureSettings(); // FeatureSettings | Feature identification (no settings data)

                try
                {
                    SuccessResponse result = apiInstance.featuresetFeaturePost(body);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling FeatureSetApi.featuresetFeaturePost: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\FeatureSetApi();
    $body = ; // FeatureSettings | Feature identification (no settings data)

    try {
        $result = $api_instance->featuresetFeaturePost($body);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling FeatureSetApi->featuresetFeaturePost: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::FeatureSetApi;

    my $api_instance = SWGSDRangel::FeatureSetApi->new();
    my $body = SWGSDRangel::Object::FeatureSettings->new(); # FeatureSettings | Feature identification (no settings data)

    eval {
        my $result = $api_instance->featuresetFeaturePost(body => $body);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling FeatureSetApi->featuresetFeaturePost: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.FeatureSetApi()
    body =  # FeatureSettings | Feature identification (no settings data)

    try:
        api_response = api_instance.featureset_feature_post(body)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling FeatureSetApi->featuresetFeaturePost: %s\n" % e)

## Parameters

Body parameters

Name | Description
--- | ---
body * |

## Responses

### Status: 202 - Message to add a feature was sent successfully

### Status: 404 - Feature not found

### Status: 500 - Error

### Status: 501 - Function not implemented

# featuresetFeatureReportGet

get a feature report

    /sdrangel/featureset/feature/{featureIndex}/report

### Usage and SDK Samples

    curl -X GET "http://localhost/sdrangel/featureset/feature/{featureIndex}/report"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.FeatureSetApi;

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

    public class FeatureSetApiExample {

        public static void main(String[] args) {

            FeatureSetApi apiInstance = new FeatureSetApi();
            Integer featureIndex = 56; // Integer | Index of the feature in the features list
            try {
                FeatureReport result = apiInstance.featuresetFeatureReportGet(featureIndex);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling FeatureSetApi#featuresetFeatureReportGet");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.FeatureSetApi;

    public class FeatureSetApiExample {

        public static void main(String[] args) {
            FeatureSetApi apiInstance = new FeatureSetApi();
            Integer featureIndex = 56; // Integer | Index of the feature in the features list
            try {
                FeatureReport result = apiInstance.featuresetFeatureReportGet(featureIndex);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling FeatureSetApi#featuresetFeatureReportGet");
                e.printStackTrace();
            }
        }
    }

    Integer *featureIndex = 56; // Index of the feature in the features list

    FeatureSetApi *apiInstance = [[FeatureSetApi alloc] init];

    [apiInstance featuresetFeatureReportGetWith:featureIndex
                  completionHandler: ^(FeatureReport output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.FeatureSetApi()

    var featureIndex = 56; // {Integer} Index of the feature in the features list

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.featuresetFeatureReportGet(featureIndex, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class featuresetFeatureReportGetExample
        {
            public void main()
            {

                var apiInstance = new FeatureSetApi();
                var featureIndex = 56;  // Integer | Index of the feature in the features list

                try
                {
                    FeatureReport result = apiInstance.featuresetFeatureReportGet(featureIndex);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling FeatureSetApi.featuresetFeatureReportGet: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\FeatureSetApi();
    $featureIndex = 56; // Integer | Index of the feature in the features list

    try {
        $result = $api_instance->featuresetFeatureReportGet($featureIndex);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling FeatureSetApi->featuresetFeatureReportGet: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::FeatureSetApi;

    my $api_instance = SWGSDRangel::FeatureSetApi->new();
    my $featureIndex = 56; # Integer | Index of the feature in the features list

    eval {
        my $result = $api_instance->featuresetFeatureReportGet(featureIndex => $featureIndex);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling FeatureSetApi->featuresetFeatureReportGet: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.FeatureSetApi()
    featureIndex = 56 # Integer | Index of the feature in the features list

    try:
        api_response = api_instance.featureset_feature_report_get(featureIndex)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling FeatureSetApi->featuresetFeatureReportGet: %s\n" % e)

## Parameters

Path parameters

Name | Description
--- | ---
featureIndex* | Integer Index of the feature in the features list Required

## Responses

### Status: 200 - On success return feature report

### Status: 400 - Invalid feature index

### Status: 404 - Feature set or feature not found

### Status: 500 - Error

### Status: 501 - Function not implemented

# featuresetFeatureRunDelete

stop feature

    /sdrangel/featureset/feature/{featureIndex}/run

### Usage and SDK Samples

    curl -X DELETE "http://localhost/sdrangel/featureset/feature/{featureIndex}/run"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.FeatureSetApi;

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

    public class FeatureSetApiExample {

        public static void main(String[] args) {

            FeatureSetApi apiInstance = new FeatureSetApi();
            Integer featureIndex = 56; // Integer | Index of feature in the features list
            try {
                DeviceState result = apiInstance.featuresetFeatureRunDelete(featureIndex);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling FeatureSetApi#featuresetFeatureRunDelete");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.FeatureSetApi;

    public class FeatureSetApiExample {

        public static void main(String[] args) {
            FeatureSetApi apiInstance = new FeatureSetApi();
            Integer featureIndex = 56; // Integer | Index of feature in the features list
            try {
                DeviceState result = apiInstance.featuresetFeatureRunDelete(featureIndex);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling FeatureSetApi#featuresetFeatureRunDelete");
                e.printStackTrace();
            }
        }
    }

    Integer *featureIndex = 56; // Index of feature in the features list

    FeatureSetApi *apiInstance = [[FeatureSetApi alloc] init];

    [apiInstance featuresetFeatureRunDeleteWith:featureIndex
                  completionHandler: ^(DeviceState output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.FeatureSetApi()

    var featureIndex = 56; // {Integer} Index of feature in the features list

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.featuresetFeatureRunDelete(featureIndex, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class featuresetFeatureRunDeleteExample
        {
            public void main()
            {

                var apiInstance = new FeatureSetApi();
                var featureIndex = 56;  // Integer | Index of feature in the features list

                try
                {
                    DeviceState result = apiInstance.featuresetFeatureRunDelete(featureIndex);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling FeatureSetApi.featuresetFeatureRunDelete: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\FeatureSetApi();
    $featureIndex = 56; // Integer | Index of feature in the features list

    try {
        $result = $api_instance->featuresetFeatureRunDelete($featureIndex);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling FeatureSetApi->featuresetFeatureRunDelete: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::FeatureSetApi;

    my $api_instance = SWGSDRangel::FeatureSetApi->new();
    my $featureIndex = 56; # Integer | Index of feature in the features list

    eval {
        my $result = $api_instance->featuresetFeatureRunDelete(featureIndex => $featureIndex);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling FeatureSetApi->featuresetFeatureRunDelete: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.FeatureSetApi()
    featureIndex = 56 # Integer | Index of feature in the features list

    try:
        api_response = api_instance.featureset_feature_run_delete(featureIndex)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling FeatureSetApi->featuresetFeatureRunDelete: %s\n" % e)

## Parameters

Path parameters

Name | Description
--- | ---
featureIndex* | Integer Index of feature in the features list Required

## Responses

### Status: 200 - On success return state before change

### Status: 400 - Invalid device set index

### Status: 404 - Device not found

### Status: 500 - Error

### Status: 501 - Function not implemented

# featuresetFeatureRunGet

get feature run status

    /sdrangel/featureset/feature/{featureIndex}/run

### Usage and SDK Samples

    curl -X GET "http://localhost/sdrangel/featureset/feature/{featureIndex}/run"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.FeatureSetApi;

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

    public class FeatureSetApiExample {

        public static void main(String[] args) {

            FeatureSetApi apiInstance = new FeatureSetApi();
            Integer featureIndex = 56; // Integer | Index of feature in the features list
            try {
                DeviceState result = apiInstance.featuresetFeatureRunGet(featureIndex);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling FeatureSetApi#featuresetFeatureRunGet");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.FeatureSetApi;

    public class FeatureSetApiExample {

        public static void main(String[] args) {
            FeatureSetApi apiInstance = new FeatureSetApi();
            Integer featureIndex = 56; // Integer | Index of feature in the features list
            try {
                DeviceState result = apiInstance.featuresetFeatureRunGet(featureIndex);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling FeatureSetApi#featuresetFeatureRunGet");
                e.printStackTrace();
            }
        }
    }

    Integer *featureIndex = 56; // Index of feature in the features list

    FeatureSetApi *apiInstance = [[FeatureSetApi alloc] init];

    [apiInstance featuresetFeatureRunGetWith:featureIndex
                  completionHandler: ^(DeviceState output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.FeatureSetApi()

    var featureIndex = 56; // {Integer} Index of feature in the features list

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.featuresetFeatureRunGet(featureIndex, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class featuresetFeatureRunGetExample
        {
            public void main()
            {

                var apiInstance = new FeatureSetApi();
                var featureIndex = 56;  // Integer | Index of feature in the features list

                try
                {
                    DeviceState result = apiInstance.featuresetFeatureRunGet(featureIndex);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling FeatureSetApi.featuresetFeatureRunGet: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\FeatureSetApi();
    $featureIndex = 56; // Integer | Index of feature in the features list

    try {
        $result = $api_instance->featuresetFeatureRunGet($featureIndex);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling FeatureSetApi->featuresetFeatureRunGet: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::FeatureSetApi;

    my $api_instance = SWGSDRangel::FeatureSetApi->new();
    my $featureIndex = 56; # Integer | Index of feature in the features list

    eval {
        my $result = $api_instance->featuresetFeatureRunGet(featureIndex => $featureIndex);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling FeatureSetApi->featuresetFeatureRunGet: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.FeatureSetApi()
    featureIndex = 56 # Integer | Index of feature in the features list

    try:
        api_response = api_instance.featureset_feature_run_get(featureIndex)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling FeatureSetApi->featuresetFeatureRunGet: %s\n" % e)

## Parameters

Path parameters

Name | Description
--- | ---
featureIndex* | Integer Index of feature in the features list Required

## Responses

### Status: 200 - On success return current feature run state

### Status: 404 - Feature not found

### Status: 500 - Error

### Status: 501 - Function not implemented

# featuresetFeatureRunPost

start feature

    /sdrangel/featureset/feature/{featureIndex}/run

### Usage and SDK Samples

    curl -X POST "http://localhost/sdrangel/featureset/feature/{featureIndex}/run"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.FeatureSetApi;

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

    public class FeatureSetApiExample {

        public static void main(String[] args) {

            FeatureSetApi apiInstance = new FeatureSetApi();
            Integer featureIndex = 56; // Integer | Index of feature in the features list
            try {
                DeviceState result = apiInstance.featuresetFeatureRunPost(featureIndex);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling FeatureSetApi#featuresetFeatureRunPost");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.FeatureSetApi;

    public class FeatureSetApiExample {

        public static void main(String[] args) {
            FeatureSetApi apiInstance = new FeatureSetApi();
            Integer featureIndex = 56; // Integer | Index of feature in the features list
            try {
                DeviceState result = apiInstance.featuresetFeatureRunPost(featureIndex);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling FeatureSetApi#featuresetFeatureRunPost");
                e.printStackTrace();
            }
        }
    }

    Integer *featureIndex = 56; // Index of feature in the features list

    FeatureSetApi *apiInstance = [[FeatureSetApi alloc] init];

    [apiInstance featuresetFeatureRunPostWith:featureIndex
                  completionHandler: ^(DeviceState output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.FeatureSetApi()

    var featureIndex = 56; // {Integer} Index of feature in the features list

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.featuresetFeatureRunPost(featureIndex, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class featuresetFeatureRunPostExample
        {
            public void main()
            {

                var apiInstance = new FeatureSetApi();
                var featureIndex = 56;  // Integer | Index of feature in the features list

                try
                {
                    DeviceState result = apiInstance.featuresetFeatureRunPost(featureIndex);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling FeatureSetApi.featuresetFeatureRunPost: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\FeatureSetApi();
    $featureIndex = 56; // Integer | Index of feature in the features list

    try {
        $result = $api_instance->featuresetFeatureRunPost($featureIndex);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling FeatureSetApi->featuresetFeatureRunPost: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::FeatureSetApi;

    my $api_instance = SWGSDRangel::FeatureSetApi->new();
    my $featureIndex = 56; # Integer | Index of feature in the features list

    eval {
        my $result = $api_instance->featuresetFeatureRunPost(featureIndex => $featureIndex);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling FeatureSetApi->featuresetFeatureRunPost: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.FeatureSetApi()
    featureIndex = 56 # Integer | Index of feature in the features list

    try:
        api_response = api_instance.featureset_feature_run_post(featureIndex)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling FeatureSetApi->featuresetFeatureRunPost: %s\n" % e)

## Parameters

Path parameters

Name | Description
--- | ---
featureIndex* | Integer Index of feature in the features list Required

## Responses

### Status: 200 - On success return state before change

### Status: 404 - Feature not found

### Status: 500 - Error

### Status: 501 - Function not implemented

# featuresetFeatureSettingsGet

get a feature settings

    /sdrangel/featureset/feature/{featureIndex}/settings

### Usage and SDK Samples

    curl -X GET "http://localhost/sdrangel/featureset/feature/{featureIndex}/settings"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.FeatureSetApi;

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

    public class FeatureSetApiExample {

        public static void main(String[] args) {

            FeatureSetApi apiInstance = new FeatureSetApi();
            Integer featureIndex = 56; // Integer | Index of the feature in the features list
            try {
                FeatureSettings result = apiInstance.featuresetFeatureSettingsGet(featureIndex);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling FeatureSetApi#featuresetFeatureSettingsGet");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.FeatureSetApi;

    public class FeatureSetApiExample {

        public static void main(String[] args) {
            FeatureSetApi apiInstance = new FeatureSetApi();
            Integer featureIndex = 56; // Integer | Index of the feature in the features list
            try {
                FeatureSettings result = apiInstance.featuresetFeatureSettingsGet(featureIndex);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling FeatureSetApi#featuresetFeatureSettingsGet");
                e.printStackTrace();
            }
        }
    }

    Integer *featureIndex = 56; // Index of the feature in the features list

    FeatureSetApi *apiInstance = [[FeatureSetApi alloc] init];

    [apiInstance featuresetFeatureSettingsGetWith:featureIndex
                  completionHandler: ^(FeatureSettings output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.FeatureSetApi()

    var featureIndex = 56; // {Integer} Index of the feature in the features list

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.featuresetFeatureSettingsGet(featureIndex, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class featuresetFeatureSettingsGetExample
        {
            public void main()
            {

                var apiInstance = new FeatureSetApi();
                var featureIndex = 56;  // Integer | Index of the feature in the features list

                try
                {
                    FeatureSettings result = apiInstance.featuresetFeatureSettingsGet(featureIndex);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling FeatureSetApi.featuresetFeatureSettingsGet: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\FeatureSetApi();
    $featureIndex = 56; // Integer | Index of the feature in the features list

    try {
        $result = $api_instance->featuresetFeatureSettingsGet($featureIndex);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling FeatureSetApi->featuresetFeatureSettingsGet: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::FeatureSetApi;

    my $api_instance = SWGSDRangel::FeatureSetApi->new();
    my $featureIndex = 56; # Integer | Index of the feature in the features list

    eval {
        my $result = $api_instance->featuresetFeatureSettingsGet(featureIndex => $featureIndex);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling FeatureSetApi->featuresetFeatureSettingsGet: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.FeatureSetApi()
    featureIndex = 56 # Integer | Index of the feature in the features list

    try:
        api_response = api_instance.featureset_feature_settings_get(featureIndex)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling FeatureSetApi->featuresetFeatureSettingsGet: %s\n" % e)

## Parameters

Path parameters

Name | Description
--- | ---
featureIndex* | Integer Index of the feature in the features list Required

## Responses

### Status: 200 - On success return feature settings

### Status: 400 - Invalid feature index

### Status: 404 - Feature set or feature not found

### Status: 500 - Error

### Status: 501 - Function not implemented

# featuresetFeatureSettingsPatch

apply settings differentially (no force)

    /sdrangel/featureset/feature/{featureIndex}/settings

### Usage and SDK Samples

    curl -X PATCH "http://localhost/sdrangel/featureset/feature/{featureIndex}/settings"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.FeatureSetApi;

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

    public class FeatureSetApiExample {

        public static void main(String[] args) {

            FeatureSetApi apiInstance = new FeatureSetApi();
            Integer featureIndex = 56; // Integer | Index of the feature in the features list
            FeatureSettings body = ; // FeatureSettings | Feature settings to apply
            try {
                FeatureSettings result = apiInstance.featuresetFeatureSettingsPatch(featureIndex, body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling FeatureSetApi#featuresetFeatureSettingsPatch");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.FeatureSetApi;

    public class FeatureSetApiExample {

        public static void main(String[] args) {
            FeatureSetApi apiInstance = new FeatureSetApi();
            Integer featureIndex = 56; // Integer | Index of the feature in the features list
            FeatureSettings body = ; // FeatureSettings | Feature settings to apply
            try {
                FeatureSettings result = apiInstance.featuresetFeatureSettingsPatch(featureIndex, body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling FeatureSetApi#featuresetFeatureSettingsPatch");
                e.printStackTrace();
            }
        }
    }

    Integer *featureIndex = 56; // Index of the feature in the features list
    FeatureSettings *body = ; // Feature settings to apply

    FeatureSetApi *apiInstance = [[FeatureSetApi alloc] init];

    [apiInstance featuresetFeatureSettingsPatchWith:featureIndex
        body:body
                  completionHandler: ^(FeatureSettings output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.FeatureSetApi()

    var featureIndex = 56; // {Integer} Index of the feature in the features list

    var body = ; // {FeatureSettings} Feature settings to apply

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.featuresetFeatureSettingsPatch(featureIndex, body, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class featuresetFeatureSettingsPatchExample
        {
            public void main()
            {

                var apiInstance = new FeatureSetApi();
                var featureIndex = 56;  // Integer | Index of the feature in the features list
                var body = new FeatureSettings(); // FeatureSettings | Feature settings to apply

                try
                {
                    FeatureSettings result = apiInstance.featuresetFeatureSettingsPatch(featureIndex, body);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling FeatureSetApi.featuresetFeatureSettingsPatch: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\FeatureSetApi();
    $featureIndex = 56; // Integer | Index of the feature in the features list
    $body = ; // FeatureSettings | Feature settings to apply

    try {
        $result = $api_instance->featuresetFeatureSettingsPatch($featureIndex, $body);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling FeatureSetApi->featuresetFeatureSettingsPatch: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::FeatureSetApi;

    my $api_instance = SWGSDRangel::FeatureSetApi->new();
    my $featureIndex = 56; # Integer | Index of the feature in the features list
    my $body = SWGSDRangel::Object::FeatureSettings->new(); # FeatureSettings | Feature settings to apply

    eval {
        my $result = $api_instance->featuresetFeatureSettingsPatch(featureIndex => $featureIndex, body => $body);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling FeatureSetApi->featuresetFeatureSettingsPatch: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.FeatureSetApi()
    featureIndex = 56 # Integer | Index of the feature in the features list
    body =  # FeatureSettings | Feature settings to apply

    try:
        api_response = api_instance.featureset_feature_settings_patch(featureIndex, body)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling FeatureSetApi->featuresetFeatureSettingsPatch: %s\n" % e)

## Parameters

Path parameters

Name | Description
--- | ---
featureIndex* | Integer Index of the feature in the features list Required

Body parameters

Name | Description
--- | ---
body * |

## Responses

### Status: 200 - On success return feature new settings

### Status: 400 - Invalid feature index

### Status: 404 - Feature set or feature not found

### Status: 500 - Error

### Status: 501 - Function not implemented

# featuresetFeatureWorkspaceGet

get feature UI workspace information (GUI)

    /sdrangel/featureset/feature/{featureIndex}/workspace

### Usage and SDK Samples

    curl -X GET "http://localhost/sdrangel/featureset/feature/{featureIndex}/workspace"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.FeatureSetApi;

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

    public class FeatureSetApiExample {

        public static void main(String[] args) {

            FeatureSetApi apiInstance = new FeatureSetApi();
            Integer featureIndex = 56; // Integer | Index of feature in the feature set
            try {
                WorkspaceInfo result = apiInstance.featuresetFeatureWorkspaceGet(featureIndex);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling FeatureSetApi#featuresetFeatureWorkspaceGet");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.FeatureSetApi;

    public class FeatureSetApiExample {

        public static void main(String[] args) {
            FeatureSetApi apiInstance = new FeatureSetApi();
            Integer featureIndex = 56; // Integer | Index of feature in the feature set
            try {
                WorkspaceInfo result = apiInstance.featuresetFeatureWorkspaceGet(featureIndex);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling FeatureSetApi#featuresetFeatureWorkspaceGet");
                e.printStackTrace();
            }
        }
    }

    Integer *featureIndex = 56; // Index of feature in the feature set

    FeatureSetApi *apiInstance = [[FeatureSetApi alloc] init];

    [apiInstance featuresetFeatureWorkspaceGetWith:featureIndex
                  completionHandler: ^(WorkspaceInfo output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.FeatureSetApi()

    var featureIndex = 56; // {Integer} Index of feature in the feature set

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.featuresetFeatureWorkspaceGet(featureIndex, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class featuresetFeatureWorkspaceGetExample
        {
            public void main()
            {

                var apiInstance = new FeatureSetApi();
                var featureIndex = 56;  // Integer | Index of feature in the feature set

                try
                {
                    WorkspaceInfo result = apiInstance.featuresetFeatureWorkspaceGet(featureIndex);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling FeatureSetApi.featuresetFeatureWorkspaceGet: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\FeatureSetApi();
    $featureIndex = 56; // Integer | Index of feature in the feature set

    try {
        $result = $api_instance->featuresetFeatureWorkspaceGet($featureIndex);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling FeatureSetApi->featuresetFeatureWorkspaceGet: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::FeatureSetApi;

    my $api_instance = SWGSDRangel::FeatureSetApi->new();
    my $featureIndex = 56; # Integer | Index of feature in the feature set

    eval {
        my $result = $api_instance->featuresetFeatureWorkspaceGet(featureIndex => $featureIndex);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling FeatureSetApi->featuresetFeatureWorkspaceGet: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.FeatureSetApi()
    featureIndex = 56 # Integer | Index of feature in the feature set

    try:
        api_response = api_instance.featureset_feature_workspace_get(featureIndex)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling FeatureSetApi->featuresetFeatureWorkspaceGet: %s\n" % e)

## Parameters

Path parameters

Name | Description
--- | ---
featureIndex* | Integer Index of feature in the feature set Required

## Responses

### Status: 200 - On success return workspace information

### Status: 400 - Invalid feature set index

### Status: 500 - Error

### Status: 501 - Function not implemented

# featuresetFeatureWorkspacePut

move feature UI to workspace (GUI)

    /sdrangel/featureset/feature/{featureIndex}/workspace

### Usage and SDK Samples

    curl -X PUT "http://localhost/sdrangel/featureset/feature/{featureIndex}/workspace"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.FeatureSetApi;

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

    public class FeatureSetApiExample {

        public static void main(String[] args) {

            FeatureSetApi apiInstance = new FeatureSetApi();
            Integer featureIndex = 56; // Integer | Index of feature in the feature set
            WorkspaceInfo body = ; // WorkspaceInfo | Destination workspace information
            try {
                SuccessResponse result = apiInstance.featuresetFeatureWorkspacePut(featureIndex, body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling FeatureSetApi#featuresetFeatureWorkspacePut");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.FeatureSetApi;

    public class FeatureSetApiExample {

        public static void main(String[] args) {
            FeatureSetApi apiInstance = new FeatureSetApi();
            Integer featureIndex = 56; // Integer | Index of feature in the feature set
            WorkspaceInfo body = ; // WorkspaceInfo | Destination workspace information
            try {
                SuccessResponse result = apiInstance.featuresetFeatureWorkspacePut(featureIndex, body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling FeatureSetApi#featuresetFeatureWorkspacePut");
                e.printStackTrace();
            }
        }
    }

    Integer *featureIndex = 56; // Index of feature in the feature set
    WorkspaceInfo *body = ; // Destination workspace information

    FeatureSetApi *apiInstance = [[FeatureSetApi alloc] init];

    [apiInstance featuresetFeatureWorkspacePutWith:featureIndex
        body:body
                  completionHandler: ^(SuccessResponse output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.FeatureSetApi()

    var featureIndex = 56; // {Integer} Index of feature in the feature set

    var body = ; // {WorkspaceInfo} Destination workspace information

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.featuresetFeatureWorkspacePut(featureIndex, body, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class featuresetFeatureWorkspacePutExample
        {
            public void main()
            {

                var apiInstance = new FeatureSetApi();
                var featureIndex = 56;  // Integer | Index of feature in the feature set
                var body = new WorkspaceInfo(); // WorkspaceInfo | Destination workspace information

                try
                {
                    SuccessResponse result = apiInstance.featuresetFeatureWorkspacePut(featureIndex, body);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling FeatureSetApi.featuresetFeatureWorkspacePut: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\FeatureSetApi();
    $featureIndex = 56; // Integer | Index of feature in the feature set
    $body = ; // WorkspaceInfo | Destination workspace information

    try {
        $result = $api_instance->featuresetFeatureWorkspacePut($featureIndex, $body);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling FeatureSetApi->featuresetFeatureWorkspacePut: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::FeatureSetApi;

    my $api_instance = SWGSDRangel::FeatureSetApi->new();
    my $featureIndex = 56; # Integer | Index of feature in the feature set
    my $body = SWGSDRangel::Object::WorkspaceInfo->new(); # WorkspaceInfo | Destination workspace information

    eval {
        my $result = $api_instance->featuresetFeatureWorkspacePut(featureIndex => $featureIndex, body => $body);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling FeatureSetApi->featuresetFeatureWorkspacePut: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.FeatureSetApi()
    featureIndex = 56 # Integer | Index of feature in the feature set
    body =  # WorkspaceInfo | Destination workspace information

    try:
        api_response = api_instance.featureset_feature_workspace_put(featureIndex, body)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling FeatureSetApi->featuresetFeatureWorkspacePut: %s\n" % e)

## Parameters

Path parameters

Name | Description
--- | ---
featureIndex* | Integer Index of feature in the feature set Required

Body parameters

Name | Description
--- | ---
body * |

## Responses

### Status: 202 - Message to perform action was sent successfully

### Status: 400 - Invalid device set or workspace index

### Status: 500 - Error

### Status: 501 - Function not implemented

# featuresetGet

Get features information

    /sdrangel/featureset

### Usage and SDK Samples

    curl -X GET "http://localhost/sdrangel/featureset"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.FeatureSetApi;

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

    public class FeatureSetApiExample {

        public static void main(String[] args) {

            FeatureSetApi apiInstance = new FeatureSetApi();
            try {
                FeatureSet result = apiInstance.featuresetGet();
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling FeatureSetApi#featuresetGet");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.FeatureSetApi;

    public class FeatureSetApiExample {

        public static void main(String[] args) {
            FeatureSetApi apiInstance = new FeatureSetApi();
            try {
                FeatureSet result = apiInstance.featuresetGet();
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling FeatureSetApi#featuresetGet");
                e.printStackTrace();
            }
        }
    }

    FeatureSetApi *apiInstance = [[FeatureSetApi alloc] init];

    [apiInstance featuresetGetWithCompletionHandler:
                  ^(FeatureSet output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.FeatureSetApi()

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.featuresetGet(callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class featuresetGetExample
        {
            public void main()
            {

                var apiInstance = new FeatureSetApi();

                try
                {
                    FeatureSet result = apiInstance.featuresetGet();
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling FeatureSetApi.featuresetGet: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\FeatureSetApi();

    try {
        $result = $api_instance->featuresetGet();
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling FeatureSetApi->featuresetGet: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::FeatureSetApi;

    my $api_instance = SWGSDRangel::FeatureSetApi->new();

    eval {
        my $result = $api_instance->featuresetGet();
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling FeatureSetApi->featuresetGet: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.FeatureSetApi()

    try:
        api_response = api_instance.featureset_get()
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling FeatureSetApi->featuresetGet: %s\n" % e)

## Parameters

## Responses

### Status: 200 - On success return details on the features present in the system

### Status: 500 - Error

### Status: 501 - Function not implemented

# featuresetPresetPatch

Load a preset in features

    /sdrangel/featureset/preset

### Usage and SDK Samples

    curl -X PATCH "http://localhost/sdrangel/featureset/preset"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.FeatureSetApi;

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

    public class FeatureSetApiExample {

        public static void main(String[] args) {

            FeatureSetApi apiInstance = new FeatureSetApi();
            FeaturePresetIdentifier body = ; // FeaturePresetIdentifier | Load preset settings to the features
            try {
                FeaturePresetIdentifier result = apiInstance.featuresetPresetPatch(body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling FeatureSetApi#featuresetPresetPatch");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.FeatureSetApi;

    public class FeatureSetApiExample {

        public static void main(String[] args) {
            FeatureSetApi apiInstance = new FeatureSetApi();
            FeaturePresetIdentifier body = ; // FeaturePresetIdentifier | Load preset settings to the features
            try {
                FeaturePresetIdentifier result = apiInstance.featuresetPresetPatch(body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling FeatureSetApi#featuresetPresetPatch");
                e.printStackTrace();
            }
        }
    }

    FeaturePresetIdentifier *body = ; // Load preset settings to the features

    FeatureSetApi *apiInstance = [[FeatureSetApi alloc] init];

    [apiInstance featuresetPresetPatchWith:body
                  completionHandler: ^(FeaturePresetIdentifier output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.FeatureSetApi()

    var body = ; // {FeaturePresetIdentifier} Load preset settings to the features

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.featuresetPresetPatch(body, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class featuresetPresetPatchExample
        {
            public void main()
            {

                var apiInstance = new FeatureSetApi();
                var body = new FeaturePresetIdentifier(); // FeaturePresetIdentifier | Load preset settings to the features

                try
                {
                    FeaturePresetIdentifier result = apiInstance.featuresetPresetPatch(body);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling FeatureSetApi.featuresetPresetPatch: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\FeatureSetApi();
    $body = ; // FeaturePresetIdentifier | Load preset settings to the features

    try {
        $result = $api_instance->featuresetPresetPatch($body);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling FeatureSetApi->featuresetPresetPatch: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::FeatureSetApi;

    my $api_instance = SWGSDRangel::FeatureSetApi->new();
    my $body = SWGSDRangel::Object::FeaturePresetIdentifier->new(); # FeaturePresetIdentifier | Load preset settings to the features

    eval {
        my $result = $api_instance->featuresetPresetPatch(body => $body);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling FeatureSetApi->featuresetPresetPatch: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.FeatureSetApi()
    body =  # FeaturePresetIdentifier | Load preset settings to the features

    try:
        api_response = api_instance.featureset_preset_patch(body)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling FeatureSetApi->featuresetPresetPatch: %s\n" % e)

## Parameters

Body parameters

Name | Description
--- | ---
body * |

## Responses

### Status: 202 - On successful sending of the message the selected preset identification is returned

### Status: 400 - Invalid JSON request

### Status: 404 - No preset found

### Status: 500 - Error

### Status: 501 - Function not implemented

# featuresetPresetPost

Create a new preset from features settings.

    /sdrangel/featureset/preset

### Usage and SDK Samples

    curl -X POST "http://localhost/sdrangel/featureset/preset"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.FeatureSetApi;

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

    public class FeatureSetApiExample {

        public static void main(String[] args) {

            FeatureSetApi apiInstance = new FeatureSetApi();
            FeaturePresetIdentifier body = ; // FeaturePresetIdentifier | save features settings on a new preset
            try {
                PresetIdentifier result = apiInstance.featuresetPresetPost(body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling FeatureSetApi#featuresetPresetPost");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.FeatureSetApi;

    public class FeatureSetApiExample {

        public static void main(String[] args) {
            FeatureSetApi apiInstance = new FeatureSetApi();
            FeaturePresetIdentifier body = ; // FeaturePresetIdentifier | save features settings on a new preset
            try {
                PresetIdentifier result = apiInstance.featuresetPresetPost(body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling FeatureSetApi#featuresetPresetPost");
                e.printStackTrace();
            }
        }
    }

    FeaturePresetIdentifier *body = ; // save features settings on a new preset

    FeatureSetApi *apiInstance = [[FeatureSetApi alloc] init];

    [apiInstance featuresetPresetPostWith:body
                  completionHandler: ^(PresetIdentifier output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.FeatureSetApi()

    var body = ; // {FeaturePresetIdentifier} save features settings on a new preset

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.featuresetPresetPost(body, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class featuresetPresetPostExample
        {
            public void main()
            {

                var apiInstance = new FeatureSetApi();
                var body = new FeaturePresetIdentifier(); // FeaturePresetIdentifier | save features settings on a new preset

                try
                {
                    PresetIdentifier result = apiInstance.featuresetPresetPost(body);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling FeatureSetApi.featuresetPresetPost: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\FeatureSetApi();
    $body = ; // FeaturePresetIdentifier | save features settings on a new preset

    try {
        $result = $api_instance->featuresetPresetPost($body);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling FeatureSetApi->featuresetPresetPost: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::FeatureSetApi;

    my $api_instance = SWGSDRangel::FeatureSetApi->new();
    my $body = SWGSDRangel::Object::FeaturePresetIdentifier->new(); # FeaturePresetIdentifier | save features settings on a new preset

    eval {
        my $result = $api_instance->featuresetPresetPost(body => $body);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling FeatureSetApi->featuresetPresetPost: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.FeatureSetApi()
    body =  # FeaturePresetIdentifier | save features settings on a new preset

    try:
        api_response = api_instance.featureset_preset_post(body)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling FeatureSetApi->featuresetPresetPost: %s\n" % e)

## Parameters

Body parameters

Name | Description
--- | ---
body * |

## Responses

### Status: 202 - On successful sending of the message the created preset identification is returned

### Status: 400 - Invalid JSON request

### Status: 404 - Feature set not found

### Status: 409 - Preset already exists

### Status: 500 - Error

### Status: 501 - Function not implemented

# featuresetPresetPut

Update an existing preset with features settings.

    /sdrangel/featureset/preset

### Usage and SDK Samples

    curl -X PUT "http://localhost/sdrangel/featureset/preset"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.FeatureSetApi;

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

    public class FeatureSetApiExample {

        public static void main(String[] args) {

            FeatureSetApi apiInstance = new FeatureSetApi();
            FeaturePresetIdentifier body = ; // FeaturePresetIdentifier | save features settings to the preset
            try {
                FeaturePresetIdentifier result = apiInstance.featuresetPresetPut(body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling FeatureSetApi#featuresetPresetPut");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.FeatureSetApi;

    public class FeatureSetApiExample {

        public static void main(String[] args) {
            FeatureSetApi apiInstance = new FeatureSetApi();
            FeaturePresetIdentifier body = ; // FeaturePresetIdentifier | save features settings to the preset
            try {
                FeaturePresetIdentifier result = apiInstance.featuresetPresetPut(body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling FeatureSetApi#featuresetPresetPut");
                e.printStackTrace();
            }
        }
    }

    FeaturePresetIdentifier *body = ; // save features settings to the preset

    FeatureSetApi *apiInstance = [[FeatureSetApi alloc] init];

    [apiInstance featuresetPresetPutWith:body
                  completionHandler: ^(FeaturePresetIdentifier output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.FeatureSetApi()

    var body = ; // {FeaturePresetIdentifier} save features settings to the preset

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.featuresetPresetPut(body, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class featuresetPresetPutExample
        {
            public void main()
            {

                var apiInstance = new FeatureSetApi();
                var body = new FeaturePresetIdentifier(); // FeaturePresetIdentifier | save features settings to the preset

                try
                {
                    FeaturePresetIdentifier result = apiInstance.featuresetPresetPut(body);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling FeatureSetApi.featuresetPresetPut: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\FeatureSetApi();
    $body = ; // FeaturePresetIdentifier | save features settings to the preset

    try {
        $result = $api_instance->featuresetPresetPut($body);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling FeatureSetApi->featuresetPresetPut: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::FeatureSetApi;

    my $api_instance = SWGSDRangel::FeatureSetApi->new();
    my $body = SWGSDRangel::Object::FeaturePresetIdentifier->new(); # FeaturePresetIdentifier | save features settings to the preset

    eval {
        my $result = $api_instance->featuresetPresetPut(body => $body);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling FeatureSetApi->featuresetPresetPut: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.FeatureSetApi()
    body =  # FeaturePresetIdentifier | save features settings to the preset

    try:
        api_response = api_instance.featureset_preset_put(body)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling FeatureSetApi->featuresetPresetPut: %s\n" % e)

## Parameters

Body parameters

Name | Description
--- | ---
body * |

## Responses

### Status: 202 - On successful sending of the message the selected preset identification is returned

### Status: 400 - Invalid JSON request

### Status: 404 - No preset found

### Status: 500 - Error

### Status: 501 - Function not implemented

# Instance

# instanceAudioGet

Get audio devices list available to this instance

    /sdrangel/audio

### Usage and SDK Samples

    curl -X GET "http://localhost/sdrangel/audio"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.InstanceApi;

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

    public class InstanceApiExample {

        public static void main(String[] args) {

            InstanceApi apiInstance = new InstanceApi();
            try {
                AudioDevices result = apiInstance.instanceAudioGet();
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instanceAudioGet");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.InstanceApi;

    public class InstanceApiExample {

        public static void main(String[] args) {
            InstanceApi apiInstance = new InstanceApi();
            try {
                AudioDevices result = apiInstance.instanceAudioGet();
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instanceAudioGet");
                e.printStackTrace();
            }
        }
    }

    InstanceApi *apiInstance = [[InstanceApi alloc] init];

    [apiInstance instanceAudioGetWithCompletionHandler:
                  ^(AudioDevices output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.InstanceApi()

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.instanceAudioGet(callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class instanceAudioGetExample
        {
            public void main()
            {

                var apiInstance = new InstanceApi();

                try
                {
                    AudioDevices result = apiInstance.instanceAudioGet();
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling InstanceApi.instanceAudioGet: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\InstanceApi();

    try {
        $result = $api_instance->instanceAudioGet();
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling InstanceApi->instanceAudioGet: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::InstanceApi;

    my $api_instance = SWGSDRangel::InstanceApi->new();

    eval {
        my $result = $api_instance->instanceAudioGet();
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling InstanceApi->instanceAudioGet: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.InstanceApi()

    try:
        api_response = api_instance.instance_audio_get()
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling InstanceApi->instanceAudioGet: %s\n" % e)

## Parameters

## Responses

### Status: 200 - Success

### Status: 500 - Error

### Status: 501 - Function not implemented

# instanceAudioInputCleanupPatch

Remove registered parameters for devices not in list of available input devices for this instance

    /sdrangel/audio/input/cleanup

### Usage and SDK Samples

    curl -X PATCH "http://localhost/sdrangel/audio/input/cleanup"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.InstanceApi;

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

    public class InstanceApiExample {

        public static void main(String[] args) {

            InstanceApi apiInstance = new InstanceApi();
            try {
                SuccessResponse result = apiInstance.instanceAudioInputCleanupPatch();
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instanceAudioInputCleanupPatch");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.InstanceApi;

    public class InstanceApiExample {

        public static void main(String[] args) {
            InstanceApi apiInstance = new InstanceApi();
            try {
                SuccessResponse result = apiInstance.instanceAudioInputCleanupPatch();
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instanceAudioInputCleanupPatch");
                e.printStackTrace();
            }
        }
    }

    InstanceApi *apiInstance = [[InstanceApi alloc] init];

    [apiInstance instanceAudioInputCleanupPatchWithCompletionHandler:
                  ^(SuccessResponse output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.InstanceApi()

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.instanceAudioInputCleanupPatch(callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class instanceAudioInputCleanupPatchExample
        {
            public void main()
            {

                var apiInstance = new InstanceApi();

                try
                {
                    SuccessResponse result = apiInstance.instanceAudioInputCleanupPatch();
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling InstanceApi.instanceAudioInputCleanupPatch: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\InstanceApi();

    try {
        $result = $api_instance->instanceAudioInputCleanupPatch();
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling InstanceApi->instanceAudioInputCleanupPatch: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::InstanceApi;

    my $api_instance = SWGSDRangel::InstanceApi->new();

    eval {
        my $result = $api_instance->instanceAudioInputCleanupPatch();
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling InstanceApi->instanceAudioInputCleanupPatch: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.InstanceApi()

    try:
        api_response = api_instance.instance_audio_input_cleanup_patch()
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling InstanceApi->instanceAudioInputCleanupPatch: %s\n" % e)

## Parameters

## Responses

### Status: 200 - Success.

### Status: 500 - Error

### Status: 501 - Function not implemented

# instanceAudioInputDelete

Delete audio input device paramaters and return to defaults

    /sdrangel/audio/input/parameters

### Usage and SDK Samples

    curl -X DELETE "http://localhost/sdrangel/audio/input/parameters"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.InstanceApi;

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

    public class InstanceApiExample {

        public static void main(String[] args) {

            InstanceApi apiInstance = new InstanceApi();
            AudioInputDevice body = ; // AudioInputDevice | Audio input parameters. Index is used to identify the device.
            try {
                AudioInputDevice result = apiInstance.instanceAudioInputDelete(body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instanceAudioInputDelete");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.InstanceApi;

    public class InstanceApiExample {

        public static void main(String[] args) {
            InstanceApi apiInstance = new InstanceApi();
            AudioInputDevice body = ; // AudioInputDevice | Audio input parameters. Index is used to identify the device.
            try {
                AudioInputDevice result = apiInstance.instanceAudioInputDelete(body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instanceAudioInputDelete");
                e.printStackTrace();
            }
        }
    }

    AudioInputDevice *body = ; // Audio input parameters. Index is used to identify the device.

    InstanceApi *apiInstance = [[InstanceApi alloc] init];

    [apiInstance instanceAudioInputDeleteWith:body
                  completionHandler: ^(AudioInputDevice output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.InstanceApi()

    var body = ; // {AudioInputDevice} Audio input parameters. Index is used to identify the device.

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.instanceAudioInputDelete(body, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class instanceAudioInputDeleteExample
        {
            public void main()
            {

                var apiInstance = new InstanceApi();
                var body = new AudioInputDevice(); // AudioInputDevice | Audio input parameters. Index is used to identify the device.

                try
                {
                    AudioInputDevice result = apiInstance.instanceAudioInputDelete(body);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling InstanceApi.instanceAudioInputDelete: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\InstanceApi();
    $body = ; // AudioInputDevice | Audio input parameters. Index is used to identify the device.

    try {
        $result = $api_instance->instanceAudioInputDelete($body);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling InstanceApi->instanceAudioInputDelete: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::InstanceApi;

    my $api_instance = SWGSDRangel::InstanceApi->new();
    my $body = SWGSDRangel::Object::AudioInputDevice->new(); # AudioInputDevice | Audio input parameters. Index is used to identify the device.

    eval {
        my $result = $api_instance->instanceAudioInputDelete(body => $body);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling InstanceApi->instanceAudioInputDelete: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.InstanceApi()
    body =  # AudioInputDevice | Audio input parameters. Index is used to identify the device.

    try:
        api_response = api_instance.instance_audio_input_delete(body)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling InstanceApi->instanceAudioInputDelete: %s\n" % e)

## Parameters

Body parameters

Name | Description
--- | ---
body * |

## Responses

### Status: 200 - Success. Returns default parameters.

### Status: 404 - Audio input device not found

### Status: 500 - Error

### Status: 501 - Function not implemented

# instanceAudioInputPatch

Set audio input device paramaters

    /sdrangel/audio/input/parameters

### Usage and SDK Samples

    curl -X PATCH "http://localhost/sdrangel/audio/input/parameters"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.InstanceApi;

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

    public class InstanceApiExample {

        public static void main(String[] args) {

            InstanceApi apiInstance = new InstanceApi();
            AudioInputDevice body = ; // AudioInputDevice | Audio input parameters. Index is used to identify the device. Only settable fields are considered.
            try {
                AudioInputDevice result = apiInstance.instanceAudioInputPatch(body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instanceAudioInputPatch");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.InstanceApi;

    public class InstanceApiExample {

        public static void main(String[] args) {
            InstanceApi apiInstance = new InstanceApi();
            AudioInputDevice body = ; // AudioInputDevice | Audio input parameters. Index is used to identify the device. Only settable fields are considered.
            try {
                AudioInputDevice result = apiInstance.instanceAudioInputPatch(body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instanceAudioInputPatch");
                e.printStackTrace();
            }
        }
    }

    AudioInputDevice *body = ; // Audio input parameters. Index is used to identify the device. Only settable fields are considered.

    InstanceApi *apiInstance = [[InstanceApi alloc] init];

    [apiInstance instanceAudioInputPatchWith:body
                  completionHandler: ^(AudioInputDevice output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.InstanceApi()

    var body = ; // {AudioInputDevice} Audio input parameters. Index is used to identify the device. Only settable fields are considered.

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.instanceAudioInputPatch(body, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class instanceAudioInputPatchExample
        {
            public void main()
            {

                var apiInstance = new InstanceApi();
                var body = new AudioInputDevice(); // AudioInputDevice | Audio input parameters. Index is used to identify the device. Only settable fields are considered.

                try
                {
                    AudioInputDevice result = apiInstance.instanceAudioInputPatch(body);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling InstanceApi.instanceAudioInputPatch: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\InstanceApi();
    $body = ; // AudioInputDevice | Audio input parameters. Index is used to identify the device. Only settable fields are considered.

    try {
        $result = $api_instance->instanceAudioInputPatch($body);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling InstanceApi->instanceAudioInputPatch: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::InstanceApi;

    my $api_instance = SWGSDRangel::InstanceApi->new();
    my $body = SWGSDRangel::Object::AudioInputDevice->new(); # AudioInputDevice | Audio input parameters. Index is used to identify the device. Only settable fields are considered.

    eval {
        my $result = $api_instance->instanceAudioInputPatch(body => $body);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling InstanceApi->instanceAudioInputPatch: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.InstanceApi()
    body =  # AudioInputDevice | Audio input parameters. Index is used to identify the device. Only settable fields are considered.

    try:
        api_response = api_instance.instance_audio_input_patch(body)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling InstanceApi->instanceAudioInputPatch: %s\n" % e)

## Parameters

Body parameters

Name | Description
--- | ---
body * |

## Responses

### Status: 200 - Success. Returns actual data in particular the actual sample rate.

### Status: 404 - Audio input device not found

### Status: 500 - Error

### Status: 501 - Function not implemented

# instanceAudioOutputCleanupPatch

Remove registered parameters for devices not in list of available output devices for this instance

    /sdrangel/audio/output/cleanup

### Usage and SDK Samples

    curl -X PATCH "http://localhost/sdrangel/audio/output/cleanup"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.InstanceApi;

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

    public class InstanceApiExample {

        public static void main(String[] args) {

            InstanceApi apiInstance = new InstanceApi();
            try {
                SuccessResponse result = apiInstance.instanceAudioOutputCleanupPatch();
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instanceAudioOutputCleanupPatch");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.InstanceApi;

    public class InstanceApiExample {

        public static void main(String[] args) {
            InstanceApi apiInstance = new InstanceApi();
            try {
                SuccessResponse result = apiInstance.instanceAudioOutputCleanupPatch();
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instanceAudioOutputCleanupPatch");
                e.printStackTrace();
            }
        }
    }

    InstanceApi *apiInstance = [[InstanceApi alloc] init];

    [apiInstance instanceAudioOutputCleanupPatchWithCompletionHandler:
                  ^(SuccessResponse output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.InstanceApi()

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.instanceAudioOutputCleanupPatch(callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class instanceAudioOutputCleanupPatchExample
        {
            public void main()
            {

                var apiInstance = new InstanceApi();

                try
                {
                    SuccessResponse result = apiInstance.instanceAudioOutputCleanupPatch();
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling InstanceApi.instanceAudioOutputCleanupPatch: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\InstanceApi();

    try {
        $result = $api_instance->instanceAudioOutputCleanupPatch();
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling InstanceApi->instanceAudioOutputCleanupPatch: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::InstanceApi;

    my $api_instance = SWGSDRangel::InstanceApi->new();

    eval {
        my $result = $api_instance->instanceAudioOutputCleanupPatch();
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling InstanceApi->instanceAudioOutputCleanupPatch: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.InstanceApi()

    try:
        api_response = api_instance.instance_audio_output_cleanup_patch()
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling InstanceApi->instanceAudioOutputCleanupPatch: %s\n" % e)

## Parameters

## Responses

### Status: 200 - Success.

### Status: 500 - Error

### Status: 501 - Function not implemented

# instanceAudioOutputDelete

Delete audio output device paramaters and return to defaults

    /sdrangel/audio/output/parameters

### Usage and SDK Samples

    curl -X DELETE "http://localhost/sdrangel/audio/output/parameters"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.InstanceApi;

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

    public class InstanceApiExample {

        public static void main(String[] args) {

            InstanceApi apiInstance = new InstanceApi();
            AudioOutputDevice body = ; // AudioOutputDevice | Audio output parameters. Index is used to identify the device.
            try {
                AudioOutputDevice result = apiInstance.instanceAudioOutputDelete(body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instanceAudioOutputDelete");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.InstanceApi;

    public class InstanceApiExample {

        public static void main(String[] args) {
            InstanceApi apiInstance = new InstanceApi();
            AudioOutputDevice body = ; // AudioOutputDevice | Audio output parameters. Index is used to identify the device.
            try {
                AudioOutputDevice result = apiInstance.instanceAudioOutputDelete(body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instanceAudioOutputDelete");
                e.printStackTrace();
            }
        }
    }

    AudioOutputDevice *body = ; // Audio output parameters. Index is used to identify the device.

    InstanceApi *apiInstance = [[InstanceApi alloc] init];

    [apiInstance instanceAudioOutputDeleteWith:body
                  completionHandler: ^(AudioOutputDevice output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.InstanceApi()

    var body = ; // {AudioOutputDevice} Audio output parameters. Index is used to identify the device.

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.instanceAudioOutputDelete(body, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class instanceAudioOutputDeleteExample
        {
            public void main()
            {

                var apiInstance = new InstanceApi();
                var body = new AudioOutputDevice(); // AudioOutputDevice | Audio output parameters. Index is used to identify the device.

                try
                {
                    AudioOutputDevice result = apiInstance.instanceAudioOutputDelete(body);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling InstanceApi.instanceAudioOutputDelete: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\InstanceApi();
    $body = ; // AudioOutputDevice | Audio output parameters. Index is used to identify the device.

    try {
        $result = $api_instance->instanceAudioOutputDelete($body);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling InstanceApi->instanceAudioOutputDelete: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::InstanceApi;

    my $api_instance = SWGSDRangel::InstanceApi->new();
    my $body = SWGSDRangel::Object::AudioOutputDevice->new(); # AudioOutputDevice | Audio output parameters. Index is used to identify the device.

    eval {
        my $result = $api_instance->instanceAudioOutputDelete(body => $body);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling InstanceApi->instanceAudioOutputDelete: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.InstanceApi()
    body =  # AudioOutputDevice | Audio output parameters. Index is used to identify the device.

    try:
        api_response = api_instance.instance_audio_output_delete(body)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling InstanceApi->instanceAudioOutputDelete: %s\n" % e)

## Parameters

Body parameters

Name | Description
--- | ---
body * |

## Responses

### Status: 200 - Success. Returns actual data in particular the actual sample rate.

### Status: 404 - Audio output device not found

### Status: 500 - Error

### Status: 501 - Function not implemented

# instanceAudioOutputPatch

Set audio output device parameters

    /sdrangel/audio/output/parameters

### Usage and SDK Samples

    curl -X PATCH "http://localhost/sdrangel/audio/output/parameters"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.InstanceApi;

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

    public class InstanceApiExample {

        public static void main(String[] args) {

            InstanceApi apiInstance = new InstanceApi();
            AudioOutputDevice body = ; // AudioOutputDevice | Audio output parameters. Index is used to identify the device. Only settable fields are considered.
            try {
                AudioOutputDevice result = apiInstance.instanceAudioOutputPatch(body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instanceAudioOutputPatch");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.InstanceApi;

    public class InstanceApiExample {

        public static void main(String[] args) {
            InstanceApi apiInstance = new InstanceApi();
            AudioOutputDevice body = ; // AudioOutputDevice | Audio output parameters. Index is used to identify the device. Only settable fields are considered.
            try {
                AudioOutputDevice result = apiInstance.instanceAudioOutputPatch(body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instanceAudioOutputPatch");
                e.printStackTrace();
            }
        }
    }

    AudioOutputDevice *body = ; // Audio output parameters. Index is used to identify the device. Only settable fields are considered.

    InstanceApi *apiInstance = [[InstanceApi alloc] init];

    [apiInstance instanceAudioOutputPatchWith:body
                  completionHandler: ^(AudioOutputDevice output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.InstanceApi()

    var body = ; // {AudioOutputDevice} Audio output parameters. Index is used to identify the device. Only settable fields are considered.

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.instanceAudioOutputPatch(body, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class instanceAudioOutputPatchExample
        {
            public void main()
            {

                var apiInstance = new InstanceApi();
                var body = new AudioOutputDevice(); // AudioOutputDevice | Audio output parameters. Index is used to identify the device. Only settable fields are considered.

                try
                {
                    AudioOutputDevice result = apiInstance.instanceAudioOutputPatch(body);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling InstanceApi.instanceAudioOutputPatch: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\InstanceApi();
    $body = ; // AudioOutputDevice | Audio output parameters. Index is used to identify the device. Only settable fields are considered.

    try {
        $result = $api_instance->instanceAudioOutputPatch($body);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling InstanceApi->instanceAudioOutputPatch: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::InstanceApi;

    my $api_instance = SWGSDRangel::InstanceApi->new();
    my $body = SWGSDRangel::Object::AudioOutputDevice->new(); # AudioOutputDevice | Audio output parameters. Index is used to identify the device. Only settable fields are considered.

    eval {
        my $result = $api_instance->instanceAudioOutputPatch(body => $body);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling InstanceApi->instanceAudioOutputPatch: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.InstanceApi()
    body =  # AudioOutputDevice | Audio output parameters. Index is used to identify the device. Only settable fields are considered.

    try:
        api_response = api_instance.instance_audio_output_patch(body)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling InstanceApi->instanceAudioOutputPatch: %s\n" % e)

## Parameters

Body parameters

Name | Description
--- | ---
body * |

## Responses

### Status: 200 - Success. Returns actual data in particular the actual sample rate.

### Status: 404 - Audio output device not found

### Status: 500 - Error

### Status: 501 - Function not implemented

# instanceChannels

Get a list of channel plugins available in this instance

    /sdrangel/channels

### Usage and SDK Samples

    curl -X GET "http://localhost/sdrangel/channels?direction="

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.InstanceApi;

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

    public class InstanceApiExample {

        public static void main(String[] args) {

            InstanceApi apiInstance = new InstanceApi();
            Integer direction = 56; // Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
            try {
                InstanceChannelsResponse result = apiInstance.instanceChannels(direction);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instanceChannels");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.InstanceApi;

    public class InstanceApiExample {

        public static void main(String[] args) {
            InstanceApi apiInstance = new InstanceApi();
            Integer direction = 56; // Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
            try {
                InstanceChannelsResponse result = apiInstance.instanceChannels(direction);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instanceChannels");
                e.printStackTrace();
            }
        }
    }

    Integer *direction = 56; // 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0) (optional)

    InstanceApi *apiInstance = [[InstanceApi alloc] init];

    [apiInstance instanceChannelsWith:direction
                  completionHandler: ^(InstanceChannelsResponse output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.InstanceApi()

    var opts = {
      'direction': 56 // {Integer} 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
    };

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.instanceChannels(opts, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class instanceChannelsExample
        {
            public void main()
            {

                var apiInstance = new InstanceApi();
                var direction = 56;  // Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0) (optional)

                try
                {
                    InstanceChannelsResponse result = apiInstance.instanceChannels(direction);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling InstanceApi.instanceChannels: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\InstanceApi();
    $direction = 56; // Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)

    try {
        $result = $api_instance->instanceChannels($direction);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling InstanceApi->instanceChannels: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::InstanceApi;

    my $api_instance = SWGSDRangel::InstanceApi->new();
    my $direction = 56; # Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)

    eval {
        my $result = $api_instance->instanceChannels(direction => $direction);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling InstanceApi->instanceChannels: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.InstanceApi()
    direction = 56 # Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0) (optional)

    try:
        api_response = api_instance.instance_channels(direction=direction)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling InstanceApi->instanceChannels: %s\n" % e)

## Parameters

Query parameters

Name | Description
--- | ---
direction | Integer 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)

## Responses

### Status: 200 - Success

### Status: 500 - Error

### Status: 501 - Function not implemented

# instanceConfigGet

Get the Preferences, Presets and Commands of the MainSettings saved by Qt. Supports config backup.

    /sdrangel/config

### Usage and SDK Samples

    curl -X GET "http://localhost/sdrangel/config"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.InstanceApi;

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

    public class InstanceApiExample {

        public static void main(String[] args) {

            InstanceApi apiInstance = new InstanceApi();
            try {
                InstanceConfigResponse result = apiInstance.instanceConfigGet();
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instanceConfigGet");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.InstanceApi;

    public class InstanceApiExample {

        public static void main(String[] args) {
            InstanceApi apiInstance = new InstanceApi();
            try {
                InstanceConfigResponse result = apiInstance.instanceConfigGet();
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instanceConfigGet");
                e.printStackTrace();
            }
        }
    }

    InstanceApi *apiInstance = [[InstanceApi alloc] init];

    [apiInstance instanceConfigGetWithCompletionHandler:
                  ^(InstanceConfigResponse output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.InstanceApi()

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.instanceConfigGet(callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class instanceConfigGetExample
        {
            public void main()
            {

                var apiInstance = new InstanceApi();

                try
                {
                    InstanceConfigResponse result = apiInstance.instanceConfigGet();
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling InstanceApi.instanceConfigGet: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\InstanceApi();

    try {
        $result = $api_instance->instanceConfigGet();
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling InstanceApi->instanceConfigGet: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::InstanceApi;

    my $api_instance = SWGSDRangel::InstanceApi->new();

    eval {
        my $result = $api_instance->instanceConfigGet();
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling InstanceApi->instanceConfigGet: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.InstanceApi()

    try:
        api_response = api_instance.instance_config_get()
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling InstanceApi->instanceConfigGet: %s\n" % e)

## Parameters

## Responses

### Status: 200 - Success

### Status: 500 - Error

### Status: 501 - Function not implemented

# instanceConfigPatch

Replace the Preferences, Working preset, Presets and Commands of the MainSettings object with the contents of the payload. Presets and Commands if available in the payload are added. Channels in the working preset are added. Devices in the working preset are patched or added (upsert).

    /sdrangel/config

### Usage and SDK Samples

    curl -X PATCH "http://localhost/sdrangel/config"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.InstanceApi;

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

    public class InstanceApiExample {

        public static void main(String[] args) {

            InstanceApi apiInstance = new InstanceApi();
            InstanceConfigResponse body = ; // InstanceConfigResponse | Config information
            try {
                SuccessResponse result = apiInstance.instanceConfigPatch(body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instanceConfigPatch");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.InstanceApi;

    public class InstanceApiExample {

        public static void main(String[] args) {
            InstanceApi apiInstance = new InstanceApi();
            InstanceConfigResponse body = ; // InstanceConfigResponse | Config information
            try {
                SuccessResponse result = apiInstance.instanceConfigPatch(body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instanceConfigPatch");
                e.printStackTrace();
            }
        }
    }

    InstanceConfigResponse *body = ; // Config information

    InstanceApi *apiInstance = [[InstanceApi alloc] init];

    [apiInstance instanceConfigPatchWith:body
                  completionHandler: ^(SuccessResponse output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.InstanceApi()

    var body = ; // {InstanceConfigResponse} Config information

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.instanceConfigPatch(body, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class instanceConfigPatchExample
        {
            public void main()
            {

                var apiInstance = new InstanceApi();
                var body = new InstanceConfigResponse(); // InstanceConfigResponse | Config information

                try
                {
                    SuccessResponse result = apiInstance.instanceConfigPatch(body);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling InstanceApi.instanceConfigPatch: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\InstanceApi();
    $body = ; // InstanceConfigResponse | Config information

    try {
        $result = $api_instance->instanceConfigPatch($body);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling InstanceApi->instanceConfigPatch: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::InstanceApi;

    my $api_instance = SWGSDRangel::InstanceApi->new();
    my $body = SWGSDRangel::Object::InstanceConfigResponse->new(); # InstanceConfigResponse | Config information

    eval {
        my $result = $api_instance->instanceConfigPatch(body => $body);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling InstanceApi->instanceConfigPatch: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.InstanceApi()
    body =  # InstanceConfigResponse | Config information

    try:
        api_response = api_instance.instance_config_patch(body)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling InstanceApi->instanceConfigPatch: %s\n" % e)

## Parameters

Body parameters

Name | Description
--- | ---
body * |

## Responses

### Status: 200 - Success

### Status: 500 - Error

### Status: 501 - Function not implemented

# instanceConfigPut

Replace the Preferences, Working preset, Presets and Commands of the MainSettings object with the contents of the payload. Supports config restore.

    /sdrangel/config

### Usage and SDK Samples

    curl -X PUT "http://localhost/sdrangel/config"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.InstanceApi;

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

    public class InstanceApiExample {

        public static void main(String[] args) {

            InstanceApi apiInstance = new InstanceApi();
            InstanceConfigResponse body = ; // InstanceConfigResponse | Config information
            try {
                SuccessResponse result = apiInstance.instanceConfigPut(body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instanceConfigPut");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.InstanceApi;

    public class InstanceApiExample {

        public static void main(String[] args) {
            InstanceApi apiInstance = new InstanceApi();
            InstanceConfigResponse body = ; // InstanceConfigResponse | Config information
            try {
                SuccessResponse result = apiInstance.instanceConfigPut(body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instanceConfigPut");
                e.printStackTrace();
            }
        }
    }

    InstanceConfigResponse *body = ; // Config information

    InstanceApi *apiInstance = [[InstanceApi alloc] init];

    [apiInstance instanceConfigPutWith:body
                  completionHandler: ^(SuccessResponse output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.InstanceApi()

    var body = ; // {InstanceConfigResponse} Config information

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.instanceConfigPut(body, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class instanceConfigPutExample
        {
            public void main()
            {

                var apiInstance = new InstanceApi();
                var body = new InstanceConfigResponse(); // InstanceConfigResponse | Config information

                try
                {
                    SuccessResponse result = apiInstance.instanceConfigPut(body);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling InstanceApi.instanceConfigPut: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\InstanceApi();
    $body = ; // InstanceConfigResponse | Config information

    try {
        $result = $api_instance->instanceConfigPut($body);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling InstanceApi->instanceConfigPut: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::InstanceApi;

    my $api_instance = SWGSDRangel::InstanceApi->new();
    my $body = SWGSDRangel::Object::InstanceConfigResponse->new(); # InstanceConfigResponse | Config information

    eval {
        my $result = $api_instance->instanceConfigPut(body => $body);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling InstanceApi->instanceConfigPut: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.InstanceApi()
    body =  # InstanceConfigResponse | Config information

    try:
        api_response = api_instance.instance_config_put(body)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling InstanceApi->instanceConfigPut: %s\n" % e)

## Parameters

Body parameters

Name | Description
--- | ---
body * |

## Responses

### Status: 200 - Success

### Status: 500 - Error

### Status: 501 - Function not implemented

# instanceConfigurationBlobPost

serialize a configuration to a base64 blob.

    /sdrangel/configuration/blob

### Usage and SDK Samples

    curl -X POST "http://localhost/sdrangel/configuration/blob"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.InstanceApi;

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

    public class InstanceApiExample {

        public static void main(String[] args) {

            InstanceApi apiInstance = new InstanceApi();
            ConfigurationIdentifier body = ; // ConfigurationIdentifier | configuration identification
            try {
                Base64Blob result = apiInstance.instanceConfigurationBlobPost(body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instanceConfigurationBlobPost");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.InstanceApi;

    public class InstanceApiExample {

        public static void main(String[] args) {
            InstanceApi apiInstance = new InstanceApi();
            ConfigurationIdentifier body = ; // ConfigurationIdentifier | configuration identification
            try {
                Base64Blob result = apiInstance.instanceConfigurationBlobPost(body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instanceConfigurationBlobPost");
                e.printStackTrace();
            }
        }
    }

    ConfigurationIdentifier *body = ; // configuration identification

    InstanceApi *apiInstance = [[InstanceApi alloc] init];

    [apiInstance instanceConfigurationBlobPostWith:body
                  completionHandler: ^(Base64Blob output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.InstanceApi()

    var body = ; // {ConfigurationIdentifier} configuration identification

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.instanceConfigurationBlobPost(body, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class instanceConfigurationBlobPostExample
        {
            public void main()
            {

                var apiInstance = new InstanceApi();
                var body = new ConfigurationIdentifier(); // ConfigurationIdentifier | configuration identification

                try
                {
                    Base64Blob result = apiInstance.instanceConfigurationBlobPost(body);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling InstanceApi.instanceConfigurationBlobPost: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\InstanceApi();
    $body = ; // ConfigurationIdentifier | configuration identification

    try {
        $result = $api_instance->instanceConfigurationBlobPost($body);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling InstanceApi->instanceConfigurationBlobPost: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::InstanceApi;

    my $api_instance = SWGSDRangel::InstanceApi->new();
    my $body = SWGSDRangel::Object::ConfigurationIdentifier->new(); # ConfigurationIdentifier | configuration identification

    eval {
        my $result = $api_instance->instanceConfigurationBlobPost(body => $body);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling InstanceApi->instanceConfigurationBlobPost: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.InstanceApi()
    body =  # ConfigurationIdentifier | configuration identification

    try:
        api_response = api_instance.instance_configuration_blob_post(body)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling InstanceApi->instanceConfigurationBlobPost: %s\n" % e)

## Parameters

Body parameters

Name | Description
--- | ---
body * |

## Responses

### Status: 200 - On success return blob

### Status: 400 - Invalid JSON request

### Status: 404 - Preset not found

### Status: 500 - Error

### Status: 501 - Function not implemented

# instanceConfigurationBlobPut

deserialize base64 blob to a new configuration.

    /sdrangel/configuration/blob

### Usage and SDK Samples

    curl -X PUT "http://localhost/sdrangel/configuration/blob"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.InstanceApi;

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

    public class InstanceApiExample {

        public static void main(String[] args) {

            InstanceApi apiInstance = new InstanceApi();
            Base64Blob body = ; // Base64Blob | Blob in base64 format
            try {
                ConfigurationIdentifier result = apiInstance.instanceConfigurationBlobPut(body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instanceConfigurationBlobPut");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.InstanceApi;

    public class InstanceApiExample {

        public static void main(String[] args) {
            InstanceApi apiInstance = new InstanceApi();
            Base64Blob body = ; // Base64Blob | Blob in base64 format
            try {
                ConfigurationIdentifier result = apiInstance.instanceConfigurationBlobPut(body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instanceConfigurationBlobPut");
                e.printStackTrace();
            }
        }
    }

    Base64Blob *body = ; // Blob in base64 format

    InstanceApi *apiInstance = [[InstanceApi alloc] init];

    [apiInstance instanceConfigurationBlobPutWith:body
                  completionHandler: ^(ConfigurationIdentifier output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.InstanceApi()

    var body = ; // {Base64Blob} Blob in base64 format

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.instanceConfigurationBlobPut(body, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class instanceConfigurationBlobPutExample
        {
            public void main()
            {

                var apiInstance = new InstanceApi();
                var body = new Base64Blob(); // Base64Blob | Blob in base64 format

                try
                {
                    ConfigurationIdentifier result = apiInstance.instanceConfigurationBlobPut(body);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling InstanceApi.instanceConfigurationBlobPut: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\InstanceApi();
    $body = ; // Base64Blob | Blob in base64 format

    try {
        $result = $api_instance->instanceConfigurationBlobPut($body);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling InstanceApi->instanceConfigurationBlobPut: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::InstanceApi;

    my $api_instance = SWGSDRangel::InstanceApi->new();
    my $body = SWGSDRangel::Object::Base64Blob->new(); # Base64Blob | Blob in base64 format

    eval {
        my $result = $api_instance->instanceConfigurationBlobPut(body => $body);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling InstanceApi->instanceConfigurationBlobPut: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.InstanceApi()
    body =  # Base64Blob | Blob in base64 format

    try:
        api_response = api_instance.instance_configuration_blob_put(body)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling InstanceApi->instanceConfigurationBlobPut: %s\n" % e)

## Parameters

Body parameters

Name | Description
--- | ---
body * |

## Responses

### Status: 200 - On success return configuration identification

### Status: 400 - Invalid JSON request

### Status: 500 - Error

### Status: 501 - Function not implemented

# instanceConfigurationDelete

Deletes a configuration

    /sdrangel/configuration

### Usage and SDK Samples

    curl -X DELETE "http://localhost/sdrangel/configuration"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.InstanceApi;

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

    public class InstanceApiExample {

        public static void main(String[] args) {

            InstanceApi apiInstance = new InstanceApi();
            ConfigurationIdentifier body = ; // ConfigurationIdentifier | delete this configuration
            try {
                ConfigurationIdentifier result = apiInstance.instanceConfigurationDelete(body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instanceConfigurationDelete");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.InstanceApi;

    public class InstanceApiExample {

        public static void main(String[] args) {
            InstanceApi apiInstance = new InstanceApi();
            ConfigurationIdentifier body = ; // ConfigurationIdentifier | delete this configuration
            try {
                ConfigurationIdentifier result = apiInstance.instanceConfigurationDelete(body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instanceConfigurationDelete");
                e.printStackTrace();
            }
        }
    }

    ConfigurationIdentifier *body = ; // delete this configuration

    InstanceApi *apiInstance = [[InstanceApi alloc] init];

    [apiInstance instanceConfigurationDeleteWith:body
                  completionHandler: ^(ConfigurationIdentifier output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.InstanceApi()

    var body = ; // {ConfigurationIdentifier} delete this configuration

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.instanceConfigurationDelete(body, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class instanceConfigurationDeleteExample
        {
            public void main()
            {

                var apiInstance = new InstanceApi();
                var body = new ConfigurationIdentifier(); // ConfigurationIdentifier | delete this configuration

                try
                {
                    ConfigurationIdentifier result = apiInstance.instanceConfigurationDelete(body);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling InstanceApi.instanceConfigurationDelete: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\InstanceApi();
    $body = ; // ConfigurationIdentifier | delete this configuration

    try {
        $result = $api_instance->instanceConfigurationDelete($body);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling InstanceApi->instanceConfigurationDelete: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::InstanceApi;

    my $api_instance = SWGSDRangel::InstanceApi->new();
    my $body = SWGSDRangel::Object::ConfigurationIdentifier->new(); # ConfigurationIdentifier | delete this configuration

    eval {
        my $result = $api_instance->instanceConfigurationDelete(body => $body);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling InstanceApi->instanceConfigurationDelete: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.InstanceApi()
    body =  # ConfigurationIdentifier | delete this configuration

    try:
        api_response = api_instance.instance_configuration_delete(body)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling InstanceApi->instanceConfigurationDelete: %s\n" % e)

## Parameters

Body parameters

Name | Description
--- | ---
body * |

## Responses

### Status: 202 - On successful sending of the message the selected configuration identification is returned

### Status: 400 - Invalid JSON request

### Status: 404 - Configuration not found

### Status: 500 - Error

### Status: 501 - Function not implemented

# instanceConfigurationFilePost

export a configuration to file.

    /sdrangel/configuration/file

### Usage and SDK Samples

    curl -X POST "http://localhost/sdrangel/configuration/file"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.InstanceApi;

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

    public class InstanceApiExample {

        public static void main(String[] args) {

            InstanceApi apiInstance = new InstanceApi();
            ConfigurationImportExport body = ; // ConfigurationImportExport | export details
            try {
                ConfigurationIdentifier result = apiInstance.instanceConfigurationFilePost(body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instanceConfigurationFilePost");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.InstanceApi;

    public class InstanceApiExample {

        public static void main(String[] args) {
            InstanceApi apiInstance = new InstanceApi();
            ConfigurationImportExport body = ; // ConfigurationImportExport | export details
            try {
                ConfigurationIdentifier result = apiInstance.instanceConfigurationFilePost(body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instanceConfigurationFilePost");
                e.printStackTrace();
            }
        }
    }

    ConfigurationImportExport *body = ; // export details

    InstanceApi *apiInstance = [[InstanceApi alloc] init];

    [apiInstance instanceConfigurationFilePostWith:body
                  completionHandler: ^(ConfigurationIdentifier output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.InstanceApi()

    var body = ; // {ConfigurationImportExport} export details

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.instanceConfigurationFilePost(body, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class instanceConfigurationFilePostExample
        {
            public void main()
            {

                var apiInstance = new InstanceApi();
                var body = new ConfigurationImportExport(); // ConfigurationImportExport | export details

                try
                {
                    ConfigurationIdentifier result = apiInstance.instanceConfigurationFilePost(body);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling InstanceApi.instanceConfigurationFilePost: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\InstanceApi();
    $body = ; // ConfigurationImportExport | export details

    try {
        $result = $api_instance->instanceConfigurationFilePost($body);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling InstanceApi->instanceConfigurationFilePost: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::InstanceApi;

    my $api_instance = SWGSDRangel::InstanceApi->new();
    my $body = SWGSDRangel::Object::ConfigurationImportExport->new(); # ConfigurationImportExport | export details

    eval {
        my $result = $api_instance->instanceConfigurationFilePost(body => $body);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling InstanceApi->instanceConfigurationFilePost: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.InstanceApi()
    body =  # ConfigurationImportExport | export details

    try:
        api_response = api_instance.instance_configuration_file_post(body)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling InstanceApi->instanceConfigurationFilePost: %s\n" % e)

## Parameters

Body parameters

Name | Description
--- | ---
body * |

## Responses

### Status: 200 - On success return configuration identification

### Status: 400 - Invalid JSON request

### Status: 404 - Configuration or file path not found

### Status: 500 - Error

### Status: 501 - Function not implemented

# instanceConfigurationFilePut

import a configuration from file as a new configuration.

    /sdrangel/configuration/file

### Usage and SDK Samples

    curl -X PUT "http://localhost/sdrangel/configuration/file"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.InstanceApi;

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

    public class InstanceApiExample {

        public static void main(String[] args) {

            InstanceApi apiInstance = new InstanceApi();
            FilePath body = ; // FilePath | File path
            try {
                ConfigurationIdentifier result = apiInstance.instanceConfigurationFilePut(body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instanceConfigurationFilePut");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.InstanceApi;

    public class InstanceApiExample {

        public static void main(String[] args) {
            InstanceApi apiInstance = new InstanceApi();
            FilePath body = ; // FilePath | File path
            try {
                ConfigurationIdentifier result = apiInstance.instanceConfigurationFilePut(body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instanceConfigurationFilePut");
                e.printStackTrace();
            }
        }
    }

    FilePath *body = ; // File path

    InstanceApi *apiInstance = [[InstanceApi alloc] init];

    [apiInstance instanceConfigurationFilePutWith:body
                  completionHandler: ^(ConfigurationIdentifier output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.InstanceApi()

    var body = ; // {FilePath} File path

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.instanceConfigurationFilePut(body, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class instanceConfigurationFilePutExample
        {
            public void main()
            {

                var apiInstance = new InstanceApi();
                var body = new FilePath(); // FilePath | File path

                try
                {
                    ConfigurationIdentifier result = apiInstance.instanceConfigurationFilePut(body);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling InstanceApi.instanceConfigurationFilePut: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\InstanceApi();
    $body = ; // FilePath | File path

    try {
        $result = $api_instance->instanceConfigurationFilePut($body);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling InstanceApi->instanceConfigurationFilePut: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::InstanceApi;

    my $api_instance = SWGSDRangel::InstanceApi->new();
    my $body = SWGSDRangel::Object::FilePath->new(); # FilePath | File path

    eval {
        my $result = $api_instance->instanceConfigurationFilePut(body => $body);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling InstanceApi->instanceConfigurationFilePut: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.InstanceApi()
    body =  # FilePath | File path

    try:
        api_response = api_instance.instance_configuration_file_put(body)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling InstanceApi->instanceConfigurationFilePut: %s\n" % e)

## Parameters

Body parameters

Name | Description
--- | ---
body * |

## Responses

### Status: 200 - On success return configuration identification

### Status: 400 - Invalid JSON request

### Status: 404 - File not found

### Status: 500 - Error

### Status: 501 - Function not implemented

# instanceConfigurationPatch

Load a configuration

    /sdrangel/configuration

### Usage and SDK Samples

    curl -X PATCH "http://localhost/sdrangel/configuration"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.InstanceApi;

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

    public class InstanceApiExample {

        public static void main(String[] args) {

            InstanceApi apiInstance = new InstanceApi();
            ConfigurationIdentifier body = ; // ConfigurationIdentifier | Load configuration settings
            try {
                ConfigurationIdentifier result = apiInstance.instanceConfigurationPatch(body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instanceConfigurationPatch");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.InstanceApi;

    public class InstanceApiExample {

        public static void main(String[] args) {
            InstanceApi apiInstance = new InstanceApi();
            ConfigurationIdentifier body = ; // ConfigurationIdentifier | Load configuration settings
            try {
                ConfigurationIdentifier result = apiInstance.instanceConfigurationPatch(body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instanceConfigurationPatch");
                e.printStackTrace();
            }
        }
    }

    ConfigurationIdentifier *body = ; // Load configuration settings

    InstanceApi *apiInstance = [[InstanceApi alloc] init];

    [apiInstance instanceConfigurationPatchWith:body
                  completionHandler: ^(ConfigurationIdentifier output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.InstanceApi()

    var body = ; // {ConfigurationIdentifier} Load configuration settings

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.instanceConfigurationPatch(body, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class instanceConfigurationPatchExample
        {
            public void main()
            {

                var apiInstance = new InstanceApi();
                var body = new ConfigurationIdentifier(); // ConfigurationIdentifier | Load configuration settings

                try
                {
                    ConfigurationIdentifier result = apiInstance.instanceConfigurationPatch(body);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling InstanceApi.instanceConfigurationPatch: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\InstanceApi();
    $body = ; // ConfigurationIdentifier | Load configuration settings

    try {
        $result = $api_instance->instanceConfigurationPatch($body);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling InstanceApi->instanceConfigurationPatch: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::InstanceApi;

    my $api_instance = SWGSDRangel::InstanceApi->new();
    my $body = SWGSDRangel::Object::ConfigurationIdentifier->new(); # ConfigurationIdentifier | Load configuration settings

    eval {
        my $result = $api_instance->instanceConfigurationPatch(body => $body);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling InstanceApi->instanceConfigurationPatch: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.InstanceApi()
    body =  # ConfigurationIdentifier | Load configuration settings

    try:
        api_response = api_instance.instance_configuration_patch(body)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling InstanceApi->instanceConfigurationPatch: %s\n" % e)

## Parameters

Body parameters

Name | Description
--- | ---
body * |

## Responses

### Status: 202 - On successful sending of the message the selected configuration identification is returned

### Status: 400 - Invalid JSON request

### Status: 404 - No configuration found

### Status: 500 - Error

### Status: 501 - Function not implemented

# instanceConfigurationPost

Create a new configuration from the current setup.

    /sdrangel/configuration

### Usage and SDK Samples

    curl -X POST "http://localhost/sdrangel/configuration"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.InstanceApi;

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

    public class InstanceApiExample {

        public static void main(String[] args) {

            InstanceApi apiInstance = new InstanceApi();
            ConfigurationIdentifier body = ; // ConfigurationIdentifier | save setup in a new configuration
            try {
                ConfigurationIdentifier result = apiInstance.instanceConfigurationPost(body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instanceConfigurationPost");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.InstanceApi;

    public class InstanceApiExample {

        public static void main(String[] args) {
            InstanceApi apiInstance = new InstanceApi();
            ConfigurationIdentifier body = ; // ConfigurationIdentifier | save setup in a new configuration
            try {
                ConfigurationIdentifier result = apiInstance.instanceConfigurationPost(body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instanceConfigurationPost");
                e.printStackTrace();
            }
        }
    }

    ConfigurationIdentifier *body = ; // save setup in a new configuration

    InstanceApi *apiInstance = [[InstanceApi alloc] init];

    [apiInstance instanceConfigurationPostWith:body
                  completionHandler: ^(ConfigurationIdentifier output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.InstanceApi()

    var body = ; // {ConfigurationIdentifier} save setup in a new configuration

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.instanceConfigurationPost(body, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class instanceConfigurationPostExample
        {
            public void main()
            {

                var apiInstance = new InstanceApi();
                var body = new ConfigurationIdentifier(); // ConfigurationIdentifier | save setup in a new configuration

                try
                {
                    ConfigurationIdentifier result = apiInstance.instanceConfigurationPost(body);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling InstanceApi.instanceConfigurationPost: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\InstanceApi();
    $body = ; // ConfigurationIdentifier | save setup in a new configuration

    try {
        $result = $api_instance->instanceConfigurationPost($body);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling InstanceApi->instanceConfigurationPost: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::InstanceApi;

    my $api_instance = SWGSDRangel::InstanceApi->new();
    my $body = SWGSDRangel::Object::ConfigurationIdentifier->new(); # ConfigurationIdentifier | save setup in a new configuration

    eval {
        my $result = $api_instance->instanceConfigurationPost(body => $body);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling InstanceApi->instanceConfigurationPost: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.InstanceApi()
    body =  # ConfigurationIdentifier | save setup in a new configuration

    try:
        api_response = api_instance.instance_configuration_post(body)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling InstanceApi->instanceConfigurationPost: %s\n" % e)

## Parameters

Body parameters

Name | Description
--- | ---
body * |

## Responses

### Status: 202 - On successful sending of the message the created configuration identification is returned

### Status: 400 - Invalid JSON request

### Status: 409 - Configuration already exists

### Status: 500 - Error

### Status: 501 - Function not implemented

# instanceConfigurationPut

Update an existing configuration with current setup.

    /sdrangel/configuration

### Usage and SDK Samples

    curl -X PUT "http://localhost/sdrangel/configuration"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.InstanceApi;

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

    public class InstanceApiExample {

        public static void main(String[] args) {

            InstanceApi apiInstance = new InstanceApi();
            ConfigurationIdentifier body = ; // ConfigurationIdentifier | save setup to the configuration
            try {
                ConfigurationIdentifier result = apiInstance.instanceConfigurationPut(body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instanceConfigurationPut");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.InstanceApi;

    public class InstanceApiExample {

        public static void main(String[] args) {
            InstanceApi apiInstance = new InstanceApi();
            ConfigurationIdentifier body = ; // ConfigurationIdentifier | save setup to the configuration
            try {
                ConfigurationIdentifier result = apiInstance.instanceConfigurationPut(body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instanceConfigurationPut");
                e.printStackTrace();
            }
        }
    }

    ConfigurationIdentifier *body = ; // save setup to the configuration

    InstanceApi *apiInstance = [[InstanceApi alloc] init];

    [apiInstance instanceConfigurationPutWith:body
                  completionHandler: ^(ConfigurationIdentifier output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.InstanceApi()

    var body = ; // {ConfigurationIdentifier} save setup to the configuration

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.instanceConfigurationPut(body, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class instanceConfigurationPutExample
        {
            public void main()
            {

                var apiInstance = new InstanceApi();
                var body = new ConfigurationIdentifier(); // ConfigurationIdentifier | save setup to the configuration

                try
                {
                    ConfigurationIdentifier result = apiInstance.instanceConfigurationPut(body);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling InstanceApi.instanceConfigurationPut: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\InstanceApi();
    $body = ; // ConfigurationIdentifier | save setup to the configuration

    try {
        $result = $api_instance->instanceConfigurationPut($body);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling InstanceApi->instanceConfigurationPut: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::InstanceApi;

    my $api_instance = SWGSDRangel::InstanceApi->new();
    my $body = SWGSDRangel::Object::ConfigurationIdentifier->new(); # ConfigurationIdentifier | save setup to the configuration

    eval {
        my $result = $api_instance->instanceConfigurationPut(body => $body);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling InstanceApi->instanceConfigurationPut: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.InstanceApi()
    body =  # ConfigurationIdentifier | save setup to the configuration

    try:
        api_response = api_instance.instance_configuration_put(body)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling InstanceApi->instanceConfigurationPut: %s\n" % e)

## Parameters

Body parameters

Name | Description
--- | ---
body * |

## Responses

### Status: 202 - On successful sending of the message the selected configuration identification is returned

### Status: 400 - Invalid JSON request

### Status: 404 - No configuration found

### Status: 500 - Error

### Status: 501 - Function not implemented

# instanceConfigurationsGet

List all configurations in the instance

    /sdrangel/configurations

### Usage and SDK Samples

    curl -X GET "http://localhost/sdrangel/configurations"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.InstanceApi;

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

    public class InstanceApiExample {

        public static void main(String[] args) {

            InstanceApi apiInstance = new InstanceApi();
            try {
                Configurations result = apiInstance.instanceConfigurationsGet();
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instanceConfigurationsGet");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.InstanceApi;

    public class InstanceApiExample {

        public static void main(String[] args) {
            InstanceApi apiInstance = new InstanceApi();
            try {
                Configurations result = apiInstance.instanceConfigurationsGet();
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instanceConfigurationsGet");
                e.printStackTrace();
            }
        }
    }

    InstanceApi *apiInstance = [[InstanceApi alloc] init];

    [apiInstance instanceConfigurationsGetWithCompletionHandler:
                  ^(Configurations output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.InstanceApi()

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.instanceConfigurationsGet(callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class instanceConfigurationsGetExample
        {
            public void main()
            {

                var apiInstance = new InstanceApi();

                try
                {
                    Configurations result = apiInstance.instanceConfigurationsGet();
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling InstanceApi.instanceConfigurationsGet: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\InstanceApi();

    try {
        $result = $api_instance->instanceConfigurationsGet();
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling InstanceApi->instanceConfigurationsGet: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::InstanceApi;

    my $api_instance = SWGSDRangel::InstanceApi->new();

    eval {
        my $result = $api_instance->instanceConfigurationsGet();
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling InstanceApi->instanceConfigurationsGet: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.InstanceApi()

    try:
        api_response = api_instance.instance_configurations_get()
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling InstanceApi->instanceConfigurationsGet: %s\n" % e)

## Parameters

## Responses

### Status: 200 - On success return configurations list

### Status: 500 - Error

### Status: 501 - Function not implemented

# instanceDelete

Stop SDRangel instance (server only)

    /sdrangel

### Usage and SDK Samples

    curl -X DELETE "http://localhost/sdrangel"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.InstanceApi;

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

    public class InstanceApiExample {

        public static void main(String[] args) {

            InstanceApi apiInstance = new InstanceApi();
            try {
                InstanceSummaryResponse result = apiInstance.instanceDelete();
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instanceDelete");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.InstanceApi;

    public class InstanceApiExample {

        public static void main(String[] args) {
            InstanceApi apiInstance = new InstanceApi();
            try {
                InstanceSummaryResponse result = apiInstance.instanceDelete();
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instanceDelete");
                e.printStackTrace();
            }
        }
    }

    InstanceApi *apiInstance = [[InstanceApi alloc] init];

    [apiInstance instanceDeleteWithCompletionHandler:
                  ^(InstanceSummaryResponse output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.InstanceApi()

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.instanceDelete(callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class instanceDeleteExample
        {
            public void main()
            {

                var apiInstance = new InstanceApi();

                try
                {
                    InstanceSummaryResponse result = apiInstance.instanceDelete();
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling InstanceApi.instanceDelete: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\InstanceApi();

    try {
        $result = $api_instance->instanceDelete();
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling InstanceApi->instanceDelete: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::InstanceApi;

    my $api_instance = SWGSDRangel::InstanceApi->new();

    eval {
        my $result = $api_instance->instanceDelete();
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling InstanceApi->instanceDelete: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.InstanceApi()

    try:
        api_response = api_instance.instance_delete()
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling InstanceApi->instanceDelete: %s\n" % e)

## Parameters

## Responses

### Status: 202 - Message to stop the SDRangel instance was sent successfully

### Status: 400 - Unsupported (GUI instance)

### Status: 500 - Error

### Status: 501 - Function not implemented

# instanceDeviceSetsGet

Get summary information about device sets opened in the instance

    /sdrangel/devicesets

### Usage and SDK Samples

    curl -X GET "http://localhost/sdrangel/devicesets"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.InstanceApi;

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

    public class InstanceApiExample {

        public static void main(String[] args) {

            InstanceApi apiInstance = new InstanceApi();
            try {
                DeviceSetList result = apiInstance.instanceDeviceSetsGet();
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instanceDeviceSetsGet");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.InstanceApi;

    public class InstanceApiExample {

        public static void main(String[] args) {
            InstanceApi apiInstance = new InstanceApi();
            try {
                DeviceSetList result = apiInstance.instanceDeviceSetsGet();
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instanceDeviceSetsGet");
                e.printStackTrace();
            }
        }
    }

    InstanceApi *apiInstance = [[InstanceApi alloc] init];

    [apiInstance instanceDeviceSetsGetWithCompletionHandler:
                  ^(DeviceSetList output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.InstanceApi()

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.instanceDeviceSetsGet(callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class instanceDeviceSetsGetExample
        {
            public void main()
            {

                var apiInstance = new InstanceApi();

                try
                {
                    DeviceSetList result = apiInstance.instanceDeviceSetsGet();
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling InstanceApi.instanceDeviceSetsGet: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\InstanceApi();

    try {
        $result = $api_instance->instanceDeviceSetsGet();
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling InstanceApi->instanceDeviceSetsGet: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::InstanceApi;

    my $api_instance = SWGSDRangel::InstanceApi->new();

    eval {
        my $result = $api_instance->instanceDeviceSetsGet();
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling InstanceApi->instanceDeviceSetsGet: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    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 InstanceApi->instanceDeviceSetsGet: %s\n" % e)

## Parameters

## Responses

### Status: 200 - On success return device set list

### Status: 500 - Error

### Status: 501 - Function not implemented

# instanceDevices

Get a list of sampling devices that can be used to take part in a device set

    /sdrangel/devices

### Usage and SDK Samples

    curl -X GET "http://localhost/sdrangel/devices?direction="

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.InstanceApi;

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

    public class InstanceApiExample {

        public static void main(String[] args) {

            InstanceApi apiInstance = new InstanceApi();
            Integer direction = 56; // Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
            try {
                InstanceDevicesResponse result = apiInstance.instanceDevices(direction);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instanceDevices");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.InstanceApi;

    public class InstanceApiExample {

        public static void main(String[] args) {
            InstanceApi apiInstance = new InstanceApi();
            Integer direction = 56; // Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
            try {
                InstanceDevicesResponse result = apiInstance.instanceDevices(direction);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instanceDevices");
                e.printStackTrace();
            }
        }
    }

    Integer *direction = 56; // 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0) (optional)

    InstanceApi *apiInstance = [[InstanceApi alloc] init];

    [apiInstance instanceDevicesWith:direction
                  completionHandler: ^(InstanceDevicesResponse output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.InstanceApi()

    var opts = {
      'direction': 56 // {Integer} 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
    };

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.instanceDevices(opts, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class instanceDevicesExample
        {
            public void main()
            {

                var apiInstance = new InstanceApi();
                var direction = 56;  // Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0) (optional)

                try
                {
                    InstanceDevicesResponse result = apiInstance.instanceDevices(direction);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling InstanceApi.instanceDevices: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\InstanceApi();
    $direction = 56; // Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)

    try {
        $result = $api_instance->instanceDevices($direction);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling InstanceApi->instanceDevices: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::InstanceApi;

    my $api_instance = SWGSDRangel::InstanceApi->new();
    my $direction = 56; # Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)

    eval {
        my $result = $api_instance->instanceDevices(direction => $direction);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling InstanceApi->instanceDevices: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.InstanceApi()
    direction = 56 # Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0) (optional)

    try:
        api_response = api_instance.instance_devices(direction=direction)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling InstanceApi->instanceDevices: %s\n" % e)

## Parameters

Query parameters

Name | Description
--- | ---
direction | Integer 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)

## Responses

### Status: 200 - Success

### Status: 500 - Error

### Status: 501 - Function not implemented

# instanceFeaturePresetDelete

Deletes a feature preset

    /sdrangel/featurepreset

### Usage and SDK Samples

    curl -X DELETE "http://localhost/sdrangel/featurepreset"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.InstanceApi;

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

    public class InstanceApiExample {

        public static void main(String[] args) {

            InstanceApi apiInstance = new InstanceApi();
            FeaturePresetIdentifier body = ; // FeaturePresetIdentifier | delete this feature preset
            try {
                FeaturePresetIdentifier result = apiInstance.instanceFeaturePresetDelete(body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instanceFeaturePresetDelete");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.InstanceApi;

    public class InstanceApiExample {

        public static void main(String[] args) {
            InstanceApi apiInstance = new InstanceApi();
            FeaturePresetIdentifier body = ; // FeaturePresetIdentifier | delete this feature preset
            try {
                FeaturePresetIdentifier result = apiInstance.instanceFeaturePresetDelete(body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instanceFeaturePresetDelete");
                e.printStackTrace();
            }
        }
    }

    FeaturePresetIdentifier *body = ; // delete this feature preset

    InstanceApi *apiInstance = [[InstanceApi alloc] init];

    [apiInstance instanceFeaturePresetDeleteWith:body
                  completionHandler: ^(FeaturePresetIdentifier output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.InstanceApi()

    var body = ; // {FeaturePresetIdentifier} delete this feature preset

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.instanceFeaturePresetDelete(body, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class instanceFeaturePresetDeleteExample
        {
            public void main()
            {

                var apiInstance = new InstanceApi();
                var body = new FeaturePresetIdentifier(); // FeaturePresetIdentifier | delete this feature preset

                try
                {
                    FeaturePresetIdentifier result = apiInstance.instanceFeaturePresetDelete(body);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling InstanceApi.instanceFeaturePresetDelete: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\InstanceApi();
    $body = ; // FeaturePresetIdentifier | delete this feature preset

    try {
        $result = $api_instance->instanceFeaturePresetDelete($body);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling InstanceApi->instanceFeaturePresetDelete: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::InstanceApi;

    my $api_instance = SWGSDRangel::InstanceApi->new();
    my $body = SWGSDRangel::Object::FeaturePresetIdentifier->new(); # FeaturePresetIdentifier | delete this feature preset

    eval {
        my $result = $api_instance->instanceFeaturePresetDelete(body => $body);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling InstanceApi->instanceFeaturePresetDelete: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.InstanceApi()
    body =  # FeaturePresetIdentifier | delete this feature preset

    try:
        api_response = api_instance.instance_feature_preset_delete(body)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling InstanceApi->instanceFeaturePresetDelete: %s\n" % e)

## Parameters

Body parameters

Name | Description
--- | ---
body * |

## Responses

### Status: 202 - On successful sending of the message the selected feature preset identification is returned

### Status: 400 - Invalid JSON request

### Status: 404 - Preset not found

### Status: 500 - Error

### Status: 501 - Function not implemented

# instanceFeaturePresetGet

List all feature presets in the instance

    /sdrangel/featurepresets

### Usage and SDK Samples

    curl -X GET "http://localhost/sdrangel/featurepresets"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.InstanceApi;

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

    public class InstanceApiExample {

        public static void main(String[] args) {

            InstanceApi apiInstance = new InstanceApi();
            try {
                FeaturePresets result = apiInstance.instanceFeaturePresetGet();
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instanceFeaturePresetGet");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.InstanceApi;

    public class InstanceApiExample {

        public static void main(String[] args) {
            InstanceApi apiInstance = new InstanceApi();
            try {
                FeaturePresets result = apiInstance.instanceFeaturePresetGet();
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instanceFeaturePresetGet");
                e.printStackTrace();
            }
        }
    }

    InstanceApi *apiInstance = [[InstanceApi alloc] init];

    [apiInstance instanceFeaturePresetGetWithCompletionHandler:
                  ^(FeaturePresets output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.InstanceApi()

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.instanceFeaturePresetGet(callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class instanceFeaturePresetGetExample
        {
            public void main()
            {

                var apiInstance = new InstanceApi();

                try
                {
                    FeaturePresets result = apiInstance.instanceFeaturePresetGet();
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling InstanceApi.instanceFeaturePresetGet: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\InstanceApi();

    try {
        $result = $api_instance->instanceFeaturePresetGet();
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling InstanceApi->instanceFeaturePresetGet: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::InstanceApi;

    my $api_instance = SWGSDRangel::InstanceApi->new();

    eval {
        my $result = $api_instance->instanceFeaturePresetGet();
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling InstanceApi->instanceFeaturePresetGet: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.InstanceApi()

    try:
        api_response = api_instance.instance_feature_preset_get()
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling InstanceApi->instanceFeaturePresetGet: %s\n" % e)

## Parameters

## Responses

### Status: 200 - On success return feature preset list

### Status: 500 - Error

### Status: 501 - Function not implemented

# instanceFeatures

Get a list of feature plugins available in this instance

    /sdrangel/features

### Usage and SDK Samples

    curl -X GET "http://localhost/sdrangel/features"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.InstanceApi;

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

    public class InstanceApiExample {

        public static void main(String[] args) {

            InstanceApi apiInstance = new InstanceApi();
            try {
                InstanceFeaturesResponse result = apiInstance.instanceFeatures();
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instanceFeatures");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.InstanceApi;

    public class InstanceApiExample {

        public static void main(String[] args) {
            InstanceApi apiInstance = new InstanceApi();
            try {
                InstanceFeaturesResponse result = apiInstance.instanceFeatures();
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instanceFeatures");
                e.printStackTrace();
            }
        }
    }

    InstanceApi *apiInstance = [[InstanceApi alloc] init];

    [apiInstance instanceFeaturesWithCompletionHandler:
                  ^(InstanceFeaturesResponse output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.InstanceApi()

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.instanceFeatures(callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class instanceFeaturesExample
        {
            public void main()
            {

                var apiInstance = new InstanceApi();

                try
                {
                    InstanceFeaturesResponse result = apiInstance.instanceFeatures();
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling InstanceApi.instanceFeatures: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\InstanceApi();

    try {
        $result = $api_instance->instanceFeatures();
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling InstanceApi->instanceFeatures: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::InstanceApi;

    my $api_instance = SWGSDRangel::InstanceApi->new();

    eval {
        my $result = $api_instance->instanceFeatures();
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling InstanceApi->instanceFeatures: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.InstanceApi()

    try:
        api_response = api_instance.instance_features()
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling InstanceApi->instanceFeatures: %s\n" % e)

## Parameters

## Responses

### Status: 200 - Success

### Status: 500 - Error

### Status: 501 - Function not implemented

# instanceLocationGet

Get instance geolocation information

    /sdrangel/location

### Usage and SDK Samples

    curl -X GET "http://localhost/sdrangel/location"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.InstanceApi;

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

    public class InstanceApiExample {

        public static void main(String[] args) {

            InstanceApi apiInstance = new InstanceApi();
            try {
                LocationInformation result = apiInstance.instanceLocationGet();
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instanceLocationGet");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.InstanceApi;

    public class InstanceApiExample {

        public static void main(String[] args) {
            InstanceApi apiInstance = new InstanceApi();
            try {
                LocationInformation result = apiInstance.instanceLocationGet();
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instanceLocationGet");
                e.printStackTrace();
            }
        }
    }

    InstanceApi *apiInstance = [[InstanceApi alloc] init];

    [apiInstance instanceLocationGetWithCompletionHandler:
                  ^(LocationInformation output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.InstanceApi()

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.instanceLocationGet(callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class instanceLocationGetExample
        {
            public void main()
            {

                var apiInstance = new InstanceApi();

                try
                {
                    LocationInformation result = apiInstance.instanceLocationGet();
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling InstanceApi.instanceLocationGet: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\InstanceApi();

    try {
        $result = $api_instance->instanceLocationGet();
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling InstanceApi->instanceLocationGet: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::InstanceApi;

    my $api_instance = SWGSDRangel::InstanceApi->new();

    eval {
        my $result = $api_instance->instanceLocationGet();
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling InstanceApi->instanceLocationGet: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.InstanceApi()

    try:
        api_response = api_instance.instance_location_get()
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling InstanceApi->instanceLocationGet: %s\n" % e)

## Parameters

## Responses

### Status: 200 - On success return location

### Status: 500 - Error

### Status: 501 - Function not implemented

# instanceLocationPut

Set instance geolocation information

    /sdrangel/location

### Usage and SDK Samples

    curl -X PUT "http://localhost/sdrangel/location"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.InstanceApi;

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

    public class InstanceApiExample {

        public static void main(String[] args) {

            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 InstanceApi#instanceLocationPut");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.InstanceApi;

    public class InstanceApiExample {

        public static void main(String[] args) {
            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 InstanceApi#instanceLocationPut");
                e.printStackTrace();
            }
        }
    }

    LocationInformation *body = ; // Location of instance in latitude and longitude

    InstanceApi *apiInstance = [[InstanceApi alloc] init];

    [apiInstance instanceLocationPutWith:body
                  completionHandler: ^(LocationInformation output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.InstanceApi()

    var body = ; // {LocationInformation} Location of instance in latitude and longitude

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.instanceLocationPut(body, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class instanceLocationPutExample
        {
            public void main()
            {

                var apiInstance = new InstanceApi();
                var body = new LocationInformation(); // LocationInformation | Location of instance in latitude and longitude

                try
                {
                    LocationInformation result = apiInstance.instanceLocationPut(body);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling InstanceApi.instanceLocationPut: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $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 InstanceApi->instanceLocationPut: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::InstanceApi;

    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 InstanceApi->instanceLocationPut: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    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 InstanceApi->instanceLocationPut: %s\n" % e)

## Parameters

Body parameters

Name | Description
--- | ---
body * |

## Responses

### Status: 200 - On success return location

### Status: 400 - Location invalid

### Status: 500 - Error

### Status: 501 - Function not implemented

# instanceLoggingGet

Get logging information for this instance

    /sdrangel/logging

### Usage and SDK Samples

    curl -X GET "http://localhost/sdrangel/logging"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.InstanceApi;

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

    public class InstanceApiExample {

        public static void main(String[] args) {

            InstanceApi apiInstance = new InstanceApi();
            try {
                LoggingInfo result = apiInstance.instanceLoggingGet();
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instanceLoggingGet");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.InstanceApi;

    public class InstanceApiExample {

        public static void main(String[] args) {
            InstanceApi apiInstance = new InstanceApi();
            try {
                LoggingInfo result = apiInstance.instanceLoggingGet();
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instanceLoggingGet");
                e.printStackTrace();
            }
        }
    }

    InstanceApi *apiInstance = [[InstanceApi alloc] init];

    [apiInstance instanceLoggingGetWithCompletionHandler:
                  ^(LoggingInfo output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.InstanceApi()

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.instanceLoggingGet(callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class instanceLoggingGetExample
        {
            public void main()
            {

                var apiInstance = new InstanceApi();

                try
                {
                    LoggingInfo result = apiInstance.instanceLoggingGet();
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling InstanceApi.instanceLoggingGet: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\InstanceApi();

    try {
        $result = $api_instance->instanceLoggingGet();
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling InstanceApi->instanceLoggingGet: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::InstanceApi;

    my $api_instance = SWGSDRangel::InstanceApi->new();

    eval {
        my $result = $api_instance->instanceLoggingGet();
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling InstanceApi->instanceLoggingGet: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.InstanceApi()

    try:
        api_response = api_instance.instance_logging_get()
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling InstanceApi->instanceLoggingGet: %s\n" % e)

## Parameters

## Responses

### Status: 200 - Success

### Status: 500 - Error

### Status: 501 - Function not implemented

# instanceLoggingPut

Change logging parmeters for this instance

    /sdrangel/logging

### Usage and SDK Samples

    curl -X PUT "http://localhost/sdrangel/logging"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.InstanceApi;

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

    public class InstanceApiExample {

        public static void main(String[] args) {

            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 InstanceApi#instanceLoggingPut");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.InstanceApi;

    public class InstanceApiExample {

        public static void main(String[] args) {
            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 InstanceApi#instanceLoggingPut");
                e.printStackTrace();
            }
        }
    }

    LoggingInfo *body = ; // Logging information

    InstanceApi *apiInstance = [[InstanceApi alloc] init];

    [apiInstance instanceLoggingPutWith:body
                  completionHandler: ^(LoggingInfo output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.InstanceApi()

    var body = ; // {LoggingInfo} Logging information

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.instanceLoggingPut(body, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class instanceLoggingPutExample
        {
            public void main()
            {

                var apiInstance = new InstanceApi();
                var body = new LoggingInfo(); // LoggingInfo | Logging information

                try
                {
                    LoggingInfo result = apiInstance.instanceLoggingPut(body);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling InstanceApi.instanceLoggingPut: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $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 InstanceApi->instanceLoggingPut: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::InstanceApi;

    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 InstanceApi->instanceLoggingPut: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    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 InstanceApi->instanceLoggingPut: %s\n" % e)

## Parameters

Body parameters

Name | Description
--- | ---
body * |

## Responses

### Status: 200 - Return new data on success

### Status: 400 - Invalid data

### Status: 500 - Error

### Status: 501 - Function not implemented

# instancePresetBlobPost

serialize a preset to a base64 blob.

    /sdrangel/preset/blob

### Usage and SDK Samples

    curl -X POST "http://localhost/sdrangel/preset/blob"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.InstanceApi;

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

    public class InstanceApiExample {

        public static void main(String[] args) {

            InstanceApi apiInstance = new InstanceApi();
            PresetIdentifier body = ; // PresetIdentifier | Preset identification
            try {
                Base64Blob result = apiInstance.instancePresetBlobPost(body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instancePresetBlobPost");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.InstanceApi;

    public class InstanceApiExample {

        public static void main(String[] args) {
            InstanceApi apiInstance = new InstanceApi();
            PresetIdentifier body = ; // PresetIdentifier | Preset identification
            try {
                Base64Blob result = apiInstance.instancePresetBlobPost(body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instancePresetBlobPost");
                e.printStackTrace();
            }
        }
    }

    PresetIdentifier *body = ; // Preset identification

    InstanceApi *apiInstance = [[InstanceApi alloc] init];

    [apiInstance instancePresetBlobPostWith:body
                  completionHandler: ^(Base64Blob output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.InstanceApi()

    var body = ; // {PresetIdentifier} Preset identification

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.instancePresetBlobPost(body, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class instancePresetBlobPostExample
        {
            public void main()
            {

                var apiInstance = new InstanceApi();
                var body = new PresetIdentifier(); // PresetIdentifier | Preset identification

                try
                {
                    Base64Blob result = apiInstance.instancePresetBlobPost(body);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling InstanceApi.instancePresetBlobPost: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\InstanceApi();
    $body = ; // PresetIdentifier | Preset identification

    try {
        $result = $api_instance->instancePresetBlobPost($body);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling InstanceApi->instancePresetBlobPost: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::InstanceApi;

    my $api_instance = SWGSDRangel::InstanceApi->new();
    my $body = SWGSDRangel::Object::PresetIdentifier->new(); # PresetIdentifier | Preset identification

    eval {
        my $result = $api_instance->instancePresetBlobPost(body => $body);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling InstanceApi->instancePresetBlobPost: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.InstanceApi()
    body =  # PresetIdentifier | Preset identification

    try:
        api_response = api_instance.instance_preset_blob_post(body)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling InstanceApi->instancePresetBlobPost: %s\n" % e)

## Parameters

Body parameters

Name | Description
--- | ---
body * |

## Responses

### Status: 200 - On success return blob

### Status: 400 - Invalid JSON request

### Status: 404 - Preset not found

### Status: 500 - Error

### Status: 501 - Function not implemented

# instancePresetBlobPut

deserialize base64 blob to a new preset.

    /sdrangel/preset/blob

### Usage and SDK Samples

    curl -X PUT "http://localhost/sdrangel/preset/blob"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.InstanceApi;

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

    public class InstanceApiExample {

        public static void main(String[] args) {

            InstanceApi apiInstance = new InstanceApi();
            Base64Blob body = ; // Base64Blob | Blob in base64 format
            try {
                PresetIdentifier result = apiInstance.instancePresetBlobPut(body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instancePresetBlobPut");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.InstanceApi;

    public class InstanceApiExample {

        public static void main(String[] args) {
            InstanceApi apiInstance = new InstanceApi();
            Base64Blob body = ; // Base64Blob | Blob in base64 format
            try {
                PresetIdentifier result = apiInstance.instancePresetBlobPut(body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instancePresetBlobPut");
                e.printStackTrace();
            }
        }
    }

    Base64Blob *body = ; // Blob in base64 format

    InstanceApi *apiInstance = [[InstanceApi alloc] init];

    [apiInstance instancePresetBlobPutWith:body
                  completionHandler: ^(PresetIdentifier output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.InstanceApi()

    var body = ; // {Base64Blob} Blob in base64 format

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.instancePresetBlobPut(body, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class instancePresetBlobPutExample
        {
            public void main()
            {

                var apiInstance = new InstanceApi();
                var body = new Base64Blob(); // Base64Blob | Blob in base64 format

                try
                {
                    PresetIdentifier result = apiInstance.instancePresetBlobPut(body);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling InstanceApi.instancePresetBlobPut: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\InstanceApi();
    $body = ; // Base64Blob | Blob in base64 format

    try {
        $result = $api_instance->instancePresetBlobPut($body);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling InstanceApi->instancePresetBlobPut: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::InstanceApi;

    my $api_instance = SWGSDRangel::InstanceApi->new();
    my $body = SWGSDRangel::Object::Base64Blob->new(); # Base64Blob | Blob in base64 format

    eval {
        my $result = $api_instance->instancePresetBlobPut(body => $body);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling InstanceApi->instancePresetBlobPut: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.InstanceApi()
    body =  # Base64Blob | Blob in base64 format

    try:
        api_response = api_instance.instance_preset_blob_put(body)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling InstanceApi->instancePresetBlobPut: %s\n" % e)

## Parameters

Body parameters

Name | Description
--- | ---
body * |

## Responses

### Status: 200 - On success return preset identification

### Status: 400 - Invalid JSON request

### Status: 500 - Error

### Status: 501 - Function not implemented

# instancePresetDelete

Deletes a preset

    /sdrangel/preset

### Usage and SDK Samples

    curl -X DELETE "http://localhost/sdrangel/preset"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.InstanceApi;

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

    public class InstanceApiExample {

        public static void main(String[] args) {

            InstanceApi apiInstance = new InstanceApi();
            PresetIdentifier body = ; // PresetIdentifier | delete this preset
            try {
                PresetIdentifier result = apiInstance.instancePresetDelete(body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instancePresetDelete");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.InstanceApi;

    public class InstanceApiExample {

        public static void main(String[] args) {
            InstanceApi apiInstance = new InstanceApi();
            PresetIdentifier body = ; // PresetIdentifier | delete this preset
            try {
                PresetIdentifier result = apiInstance.instancePresetDelete(body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instancePresetDelete");
                e.printStackTrace();
            }
        }
    }

    PresetIdentifier *body = ; // delete this preset

    InstanceApi *apiInstance = [[InstanceApi alloc] init];

    [apiInstance instancePresetDeleteWith:body
                  completionHandler: ^(PresetIdentifier output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.InstanceApi()

    var body = ; // {PresetIdentifier} delete this preset

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.instancePresetDelete(body, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class instancePresetDeleteExample
        {
            public void main()
            {

                var apiInstance = new InstanceApi();
                var body = new PresetIdentifier(); // PresetIdentifier | delete this preset

                try
                {
                    PresetIdentifier result = apiInstance.instancePresetDelete(body);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling InstanceApi.instancePresetDelete: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\InstanceApi();
    $body = ; // PresetIdentifier | delete this preset

    try {
        $result = $api_instance->instancePresetDelete($body);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling InstanceApi->instancePresetDelete: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::InstanceApi;

    my $api_instance = SWGSDRangel::InstanceApi->new();
    my $body = SWGSDRangel::Object::PresetIdentifier->new(); # PresetIdentifier | delete this preset

    eval {
        my $result = $api_instance->instancePresetDelete(body => $body);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling InstanceApi->instancePresetDelete: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.InstanceApi()
    body =  # PresetIdentifier | delete this preset

    try:
        api_response = api_instance.instance_preset_delete(body)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling InstanceApi->instancePresetDelete: %s\n" % e)

## Parameters

Body parameters

Name | Description
--- | ---
body * |

## Responses

### Status: 202 - On successful sending of the message the selected preset identification is returned

### Status: 400 - Invalid JSON request

### Status: 404 - Preset not found

### Status: 500 - Error

### Status: 501 - Function not implemented

# instancePresetFilePost

export a preset to file (server only).

    /sdrangel/preset/file

### Usage and SDK Samples

    curl -X POST "http://localhost/sdrangel/preset/file"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.InstanceApi;

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

    public class InstanceApiExample {

        public static void main(String[] args) {

            InstanceApi apiInstance = new InstanceApi();
            PresetExport body = ; // PresetExport | export details
            try {
                PresetIdentifier result = apiInstance.instancePresetFilePost(body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instancePresetFilePost");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.InstanceApi;

    public class InstanceApiExample {

        public static void main(String[] args) {
            InstanceApi apiInstance = new InstanceApi();
            PresetExport body = ; // PresetExport | export details
            try {
                PresetIdentifier result = apiInstance.instancePresetFilePost(body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instancePresetFilePost");
                e.printStackTrace();
            }
        }
    }

    PresetExport *body = ; // export details

    InstanceApi *apiInstance = [[InstanceApi alloc] init];

    [apiInstance instancePresetFilePostWith:body
                  completionHandler: ^(PresetIdentifier output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.InstanceApi()

    var body = ; // {PresetExport} export details

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.instancePresetFilePost(body, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class instancePresetFilePostExample
        {
            public void main()
            {

                var apiInstance = new InstanceApi();
                var body = new PresetExport(); // PresetExport | export details

                try
                {
                    PresetIdentifier result = apiInstance.instancePresetFilePost(body);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling InstanceApi.instancePresetFilePost: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\InstanceApi();
    $body = ; // PresetExport | export details

    try {
        $result = $api_instance->instancePresetFilePost($body);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling InstanceApi->instancePresetFilePost: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::InstanceApi;

    my $api_instance = SWGSDRangel::InstanceApi->new();
    my $body = SWGSDRangel::Object::PresetExport->new(); # PresetExport | export details

    eval {
        my $result = $api_instance->instancePresetFilePost(body => $body);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling InstanceApi->instancePresetFilePost: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.InstanceApi()
    body =  # PresetExport | export details

    try:
        api_response = api_instance.instance_preset_file_post(body)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling InstanceApi->instancePresetFilePost: %s\n" % e)

## Parameters

Body parameters

Name | Description
--- | ---
body * |

## Responses

### Status: 200 - On success return preset identification

### Status: 400 - Invalid JSON request

### Status: 404 - Preset or file path not found

### Status: 500 - Error

### Status: 501 - Function not implemented

# instancePresetFilePut

import a preset from file as a new preset.

    /sdrangel/preset/file

### Usage and SDK Samples

    curl -X PUT "http://localhost/sdrangel/preset/file"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.InstanceApi;

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

    public class InstanceApiExample {

        public static void main(String[] args) {

            InstanceApi apiInstance = new InstanceApi();
            FilePath body = ; // FilePath | File path
            try {
                PresetIdentifier result = apiInstance.instancePresetFilePut(body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instancePresetFilePut");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.InstanceApi;

    public class InstanceApiExample {

        public static void main(String[] args) {
            InstanceApi apiInstance = new InstanceApi();
            FilePath body = ; // FilePath | File path
            try {
                PresetIdentifier result = apiInstance.instancePresetFilePut(body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instancePresetFilePut");
                e.printStackTrace();
            }
        }
    }

    FilePath *body = ; // File path

    InstanceApi *apiInstance = [[InstanceApi alloc] init];

    [apiInstance instancePresetFilePutWith:body
                  completionHandler: ^(PresetIdentifier output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.InstanceApi()

    var body = ; // {FilePath} File path

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.instancePresetFilePut(body, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class instancePresetFilePutExample
        {
            public void main()
            {

                var apiInstance = new InstanceApi();
                var body = new FilePath(); // FilePath | File path

                try
                {
                    PresetIdentifier result = apiInstance.instancePresetFilePut(body);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling InstanceApi.instancePresetFilePut: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\InstanceApi();
    $body = ; // FilePath | File path

    try {
        $result = $api_instance->instancePresetFilePut($body);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling InstanceApi->instancePresetFilePut: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::InstanceApi;

    my $api_instance = SWGSDRangel::InstanceApi->new();
    my $body = SWGSDRangel::Object::FilePath->new(); # FilePath | File path

    eval {
        my $result = $api_instance->instancePresetFilePut(body => $body);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling InstanceApi->instancePresetFilePut: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.InstanceApi()
    body =  # FilePath | File path

    try:
        api_response = api_instance.instance_preset_file_put(body)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling InstanceApi->instancePresetFilePut: %s\n" % e)

## Parameters

Body parameters

Name | Description
--- | ---
body * |

## Responses

### Status: 200 - On success return preset identification

### Status: 400 - Invalid JSON request

### Status: 404 - File not found

### Status: 500 - Error

### Status: 501 - Function not implemented

# instancePresetGet

List all presets in the instance

    /sdrangel/presets

### Usage and SDK Samples

    curl -X GET "http://localhost/sdrangel/presets"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.InstanceApi;

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

    public class InstanceApiExample {

        public static void main(String[] args) {

            InstanceApi apiInstance = new InstanceApi();
            try {
                Presets result = apiInstance.instancePresetGet();
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instancePresetGet");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.InstanceApi;

    public class InstanceApiExample {

        public static void main(String[] args) {
            InstanceApi apiInstance = new InstanceApi();
            try {
                Presets result = apiInstance.instancePresetGet();
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instancePresetGet");
                e.printStackTrace();
            }
        }
    }

    InstanceApi *apiInstance = [[InstanceApi alloc] init];

    [apiInstance instancePresetGetWithCompletionHandler:
                  ^(Presets output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.InstanceApi()

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.instancePresetGet(callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class instancePresetGetExample
        {
            public void main()
            {

                var apiInstance = new InstanceApi();

                try
                {
                    Presets result = apiInstance.instancePresetGet();
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling InstanceApi.instancePresetGet: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\InstanceApi();

    try {
        $result = $api_instance->instancePresetGet();
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling InstanceApi->instancePresetGet: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::InstanceApi;

    my $api_instance = SWGSDRangel::InstanceApi->new();

    eval {
        my $result = $api_instance->instancePresetGet();
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling InstanceApi->instancePresetGet: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.InstanceApi()

    try:
        api_response = api_instance.instance_preset_get()
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling InstanceApi->instancePresetGet: %s\n" % e)

## Parameters

## Responses

### Status: 200 - On success return preset list

### Status: 500 - Error

### Status: 501 - Function not implemented

# instancePresetPatch

Load a preset in a device set

    /sdrangel/preset

### Usage and SDK Samples

    curl -X PATCH "http://localhost/sdrangel/preset"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.InstanceApi;

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

    public class InstanceApiExample {

        public static void main(String[] args) {

            InstanceApi apiInstance = new InstanceApi();
            PresetTransfer body = ; // PresetTransfer | Load preset settings to the device set
            try {
                PresetIdentifier result = apiInstance.instancePresetPatch(body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instancePresetPatch");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.InstanceApi;

    public class InstanceApiExample {

        public static void main(String[] args) {
            InstanceApi apiInstance = new InstanceApi();
            PresetTransfer body = ; // PresetTransfer | Load preset settings to the device set
            try {
                PresetIdentifier result = apiInstance.instancePresetPatch(body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instancePresetPatch");
                e.printStackTrace();
            }
        }
    }

    PresetTransfer *body = ; // Load preset settings to the device set

    InstanceApi *apiInstance = [[InstanceApi alloc] init];

    [apiInstance instancePresetPatchWith:body
                  completionHandler: ^(PresetIdentifier output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.InstanceApi()

    var body = ; // {PresetTransfer} Load preset settings to the device set

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.instancePresetPatch(body, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class instancePresetPatchExample
        {
            public void main()
            {

                var apiInstance = new InstanceApi();
                var body = new PresetTransfer(); // PresetTransfer | Load preset settings to the device set

                try
                {
                    PresetIdentifier result = apiInstance.instancePresetPatch(body);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling InstanceApi.instancePresetPatch: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\InstanceApi();
    $body = ; // PresetTransfer | Load preset settings to the device set

    try {
        $result = $api_instance->instancePresetPatch($body);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling InstanceApi->instancePresetPatch: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::InstanceApi;

    my $api_instance = SWGSDRangel::InstanceApi->new();
    my $body = SWGSDRangel::Object::PresetTransfer->new(); # PresetTransfer | Load preset settings to the device set

    eval {
        my $result = $api_instance->instancePresetPatch(body => $body);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling InstanceApi->instancePresetPatch: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.InstanceApi()
    body =  # PresetTransfer | Load preset settings to the device set

    try:
        api_response = api_instance.instance_preset_patch(body)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling InstanceApi->instancePresetPatch: %s\n" % e)

## Parameters

Body parameters

Name | Description
--- | ---
body * |

## Responses

### Status: 202 - On successful sending of the message the selected preset identification is returned

### Status: 400 - Invalid JSON request or preset type and device set type mismatch

### Status: 404 - No preset or device set found

### Status: 500 - Error

### Status: 501 - Function not implemented

# instancePresetPost

Create a new preset from a device set settings. Frequency and type is ignored and taken from the the device set values.

    /sdrangel/preset

### Usage and SDK Samples

    curl -X POST "http://localhost/sdrangel/preset"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.InstanceApi;

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

    public class InstanceApiExample {

        public static void main(String[] args) {

            InstanceApi apiInstance = new InstanceApi();
            PresetTransfer body = ; // PresetTransfer | save device set settings on a new preset
            try {
                PresetIdentifier result = apiInstance.instancePresetPost(body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instancePresetPost");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.InstanceApi;

    public class InstanceApiExample {

        public static void main(String[] args) {
            InstanceApi apiInstance = new InstanceApi();
            PresetTransfer body = ; // PresetTransfer | save device set settings on a new preset
            try {
                PresetIdentifier result = apiInstance.instancePresetPost(body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instancePresetPost");
                e.printStackTrace();
            }
        }
    }

    PresetTransfer *body = ; // save device set settings on a new preset

    InstanceApi *apiInstance = [[InstanceApi alloc] init];

    [apiInstance instancePresetPostWith:body
                  completionHandler: ^(PresetIdentifier output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.InstanceApi()

    var body = ; // {PresetTransfer} save device set settings on a new preset

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.instancePresetPost(body, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class instancePresetPostExample
        {
            public void main()
            {

                var apiInstance = new InstanceApi();
                var body = new PresetTransfer(); // PresetTransfer | save device set settings on a new preset

                try
                {
                    PresetIdentifier result = apiInstance.instancePresetPost(body);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling InstanceApi.instancePresetPost: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\InstanceApi();
    $body = ; // PresetTransfer | save device set settings on a new preset

    try {
        $result = $api_instance->instancePresetPost($body);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling InstanceApi->instancePresetPost: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::InstanceApi;

    my $api_instance = SWGSDRangel::InstanceApi->new();
    my $body = SWGSDRangel::Object::PresetTransfer->new(); # PresetTransfer | save device set settings on a new preset

    eval {
        my $result = $api_instance->instancePresetPost(body => $body);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling InstanceApi->instancePresetPost: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.InstanceApi()
    body =  # PresetTransfer | save device set settings on a new preset

    try:
        api_response = api_instance.instance_preset_post(body)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling InstanceApi->instancePresetPost: %s\n" % e)

## Parameters

Body parameters

Name | Description
--- | ---
body * |

## Responses

### Status: 202 - On successful sending of the message the created preset identification is returned

### Status: 400 - Invalid JSON request

### Status: 404 - Device set not found

### Status: 409 - Preset already exists

### Status: 500 - Error

### Status: 501 - Function not implemented

# instancePresetPut

Update an existing preset with device set settings.

    /sdrangel/preset

### Usage and SDK Samples

    curl -X PUT "http://localhost/sdrangel/preset"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.InstanceApi;

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

    public class InstanceApiExample {

        public static void main(String[] args) {

            InstanceApi apiInstance = new InstanceApi();
            PresetTransfer body = ; // PresetTransfer | save device set settings to the preset
            try {
                PresetIdentifier result = apiInstance.instancePresetPut(body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instancePresetPut");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.InstanceApi;

    public class InstanceApiExample {

        public static void main(String[] args) {
            InstanceApi apiInstance = new InstanceApi();
            PresetTransfer body = ; // PresetTransfer | save device set settings to the preset
            try {
                PresetIdentifier result = apiInstance.instancePresetPut(body);
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instancePresetPut");
                e.printStackTrace();
            }
        }
    }

    PresetTransfer *body = ; // save device set settings to the preset

    InstanceApi *apiInstance = [[InstanceApi alloc] init];

    [apiInstance instancePresetPutWith:body
                  completionHandler: ^(PresetIdentifier output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.InstanceApi()

    var body = ; // {PresetTransfer} save device set settings to the preset

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.instancePresetPut(body, callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class instancePresetPutExample
        {
            public void main()
            {

                var apiInstance = new InstanceApi();
                var body = new PresetTransfer(); // PresetTransfer | save device set settings to the preset

                try
                {
                    PresetIdentifier result = apiInstance.instancePresetPut(body);
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling InstanceApi.instancePresetPut: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\InstanceApi();
    $body = ; // PresetTransfer | save device set settings to the preset

    try {
        $result = $api_instance->instancePresetPut($body);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling InstanceApi->instancePresetPut: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::InstanceApi;

    my $api_instance = SWGSDRangel::InstanceApi->new();
    my $body = SWGSDRangel::Object::PresetTransfer->new(); # PresetTransfer | save device set settings to the preset

    eval {
        my $result = $api_instance->instancePresetPut(body => $body);
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling InstanceApi->instancePresetPut: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.InstanceApi()
    body =  # PresetTransfer | save device set settings to the preset

    try:
        api_response = api_instance.instance_preset_put(body)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling InstanceApi->instancePresetPut: %s\n" % e)

## Parameters

Body parameters

Name | Description
--- | ---
body * |

## Responses

### Status: 202 - On successful sending of the message the selected preset identification is returned

### Status: 400 - Invalid JSON request

### Status: 404 - No preset or device set found

### Status: 500 - Error

### Status: 501 - Function not implemented

# instanceSummary

SDRangel instance summary

    /sdrangel

### Usage and SDK Samples

    curl -X GET "http://localhost/sdrangel"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.InstanceApi;

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

    public class InstanceApiExample {

        public static void main(String[] args) {

            InstanceApi apiInstance = new InstanceApi();
            try {
                InstanceSummaryResponse result = apiInstance.instanceSummary();
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instanceSummary");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.InstanceApi;

    public class InstanceApiExample {

        public static void main(String[] args) {
            InstanceApi apiInstance = new InstanceApi();
            try {
                InstanceSummaryResponse result = apiInstance.instanceSummary();
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling InstanceApi#instanceSummary");
                e.printStackTrace();
            }
        }
    }

    InstanceApi *apiInstance = [[InstanceApi alloc] init];

    [apiInstance instanceSummaryWithCompletionHandler:
                  ^(InstanceSummaryResponse output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.InstanceApi()

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.instanceSummary(callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class instanceSummaryExample
        {
            public void main()
            {

                var apiInstance = new InstanceApi();

                try
                {
                    InstanceSummaryResponse result = apiInstance.instanceSummary();
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling InstanceApi.instanceSummary: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\InstanceApi();

    try {
        $result = $api_instance->instanceSummary();
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling InstanceApi->instanceSummary: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::InstanceApi;

    my $api_instance = SWGSDRangel::InstanceApi->new();

    eval {
        my $result = $api_instance->instanceSummary();
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling InstanceApi->instanceSummary: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.InstanceApi()

    try:
        api_response = api_instance.instance_summary()
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling InstanceApi->instanceSummary: %s\n" % e)

## Parameters

## Responses

### Status: 200 - Success

### Status: 500 - Error

### Status: 501 - Function not implemented

# Workspace

# instanceWorkspaceAdd

Add new workspace

    /sdrangel/workspace

### Usage and SDK Samples

    curl -X POST "http://localhost/sdrangel/workspace"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.WorkspaceApi;

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

    public class WorkspaceApiExample {

        public static void main(String[] args) {

            WorkspaceApi apiInstance = new WorkspaceApi();
            try {
                SuccessResponse result = apiInstance.instanceWorkspaceAdd();
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling WorkspaceApi#instanceWorkspaceAdd");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.WorkspaceApi;

    public class WorkspaceApiExample {

        public static void main(String[] args) {
            WorkspaceApi apiInstance = new WorkspaceApi();
            try {
                SuccessResponse result = apiInstance.instanceWorkspaceAdd();
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling WorkspaceApi#instanceWorkspaceAdd");
                e.printStackTrace();
            }
        }
    }

    WorkspaceApi *apiInstance = [[WorkspaceApi alloc] init];

    [apiInstance instanceWorkspaceAddWithCompletionHandler:
                  ^(SuccessResponse output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.WorkspaceApi()

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.instanceWorkspaceAdd(callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class instanceWorkspaceAddExample
        {
            public void main()
            {

                var apiInstance = new WorkspaceApi();

                try
                {
                    SuccessResponse result = apiInstance.instanceWorkspaceAdd();
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling WorkspaceApi.instanceWorkspaceAdd: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\WorkspaceApi();

    try {
        $result = $api_instance->instanceWorkspaceAdd();
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling WorkspaceApi->instanceWorkspaceAdd: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::WorkspaceApi;

    my $api_instance = SWGSDRangel::WorkspaceApi->new();

    eval {
        my $result = $api_instance->instanceWorkspaceAdd();
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling WorkspaceApi->instanceWorkspaceAdd: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.WorkspaceApi()

    try:
        api_response = api_instance.instance_workspace_add()
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling WorkspaceApi->instanceWorkspaceAdd: %s\n" % e)

## Parameters

## Responses

### Status: 202 -

### Status: 500 - Error

### Status: 501 - Function not implemented

# instanceWorkspacesDeleteEmpty

Delete empty workspaces

    /sdrangel/workspace

### Usage and SDK Samples

    curl -X DELETE "http://localhost/sdrangel/workspace"

    import SWGSDRangel.*;
    import SWGSDRangel.auth.*;
    import SWGSDRangel.model.*;
    import SWGSDRangel.api.WorkspaceApi;

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

    public class WorkspaceApiExample {

        public static void main(String[] args) {

            WorkspaceApi apiInstance = new WorkspaceApi();
            try {
                SuccessResponse result = apiInstance.instanceWorkspacesDeleteEmpty();
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling WorkspaceApi#instanceWorkspacesDeleteEmpty");
                e.printStackTrace();
            }
        }
    }

    import SWGSDRangel.api.WorkspaceApi;

    public class WorkspaceApiExample {

        public static void main(String[] args) {
            WorkspaceApi apiInstance = new WorkspaceApi();
            try {
                SuccessResponse result = apiInstance.instanceWorkspacesDeleteEmpty();
                System.out.println(result);
            } catch (ApiException e) {
                System.err.println("Exception when calling WorkspaceApi#instanceWorkspacesDeleteEmpty");
                e.printStackTrace();
            }
        }
    }

    WorkspaceApi *apiInstance = [[WorkspaceApi alloc] init];

    [apiInstance instanceWorkspacesDeleteEmptyWithCompletionHandler:
                  ^(SuccessResponse output, NSError* error) {
                                if (output) {
                                    NSLog(@"%@", output);
                                }
                                if (error) {
                                    NSLog(@"Error: %@", error);
                                }
                            }];

    var SdRangel = require('sd_rangel');

    var api = new SdRangel.WorkspaceApi()

    var callback = function(error, data, response) {
      if (error) {
        console.error(error);
      } else {
        console.log('API called successfully. Returned data: ' + data);
      }
    };
    api.instanceWorkspacesDeleteEmpty(callback);

    using System;
    using System.Diagnostics;
    using SWGSDRangel.Api;
    using SWGSDRangel.Client;
    using SWGSDRangel.Model;

    namespace Example
    {
        public class instanceWorkspacesDeleteEmptyExample
        {
            public void main()
            {

                var apiInstance = new WorkspaceApi();

                try
                {
                    SuccessResponse result = apiInstance.instanceWorkspacesDeleteEmpty();
                    Debug.WriteLine(result);
                }
                catch (Exception e)
                {
                    Debug.Print("Exception when calling WorkspaceApi.instanceWorkspacesDeleteEmpty: " + e.Message );
                }
            }
        }
    }

    <?php
    require_once(__DIR__ . '/vendor/autoload.php');

    $api_instance = new Swagger\Client\Api\WorkspaceApi();

    try {
        $result = $api_instance->instanceWorkspacesDeleteEmpty();
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling WorkspaceApi->instanceWorkspacesDeleteEmpty: ', $e->getMessage(), PHP_EOL;
    }
    ?>

    use Data::Dumper;
    use SWGSDRangel::Configuration;
    use SWGSDRangel::WorkspaceApi;

    my $api_instance = SWGSDRangel::WorkspaceApi->new();

    eval {
        my $result = $api_instance->instanceWorkspacesDeleteEmpty();
        print Dumper($result);
    };
    if ($@) {
        warn "Exception when calling WorkspaceApi->instanceWorkspacesDeleteEmpty: $@\n";
    }

    from __future__ import print_statement
    import time
    import swagger_sdrangel
    from swagger_sdrangel.rest import ApiException
    from pprint import pprint

    # create an instance of the API class
    api_instance = swagger_sdrangel.WorkspaceApi()

    try:
        api_response = api_instance.instance_workspaces_delete_empty()
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling WorkspaceApi->instanceWorkspacesDeleteEmpty: %s\n" % e)

## Parameters

## Responses

### Status: 202 -

### Status: 500 - Error

### Status: 501 - Function not implemented

Generated 2022-05-31T23:33:55.570+02:00