From 46a5d59f998b483b53aada7667272aede635fb1c Mon Sep 17 00:00:00 2001 From: TIP Automation User Date: Tue, 20 Feb 2024 21:27:48 +0000 Subject: [PATCH] Update OpenAPI docs for GitHub pages --- docs/index.html | 100 ++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 84 insertions(+), 16 deletions(-) diff --git a/docs/index.html b/docs/index.html index 0fb48cd3..e99ddbd9 100644 --- a/docs/index.html +++ b/docs/index.html @@ -20170,7 +20170,7 @@

Usage and SDK Samples

-H "X-API-KEY: [[apiKey]]" \ -H "Authorization: Bearer [[accessToken]]" \ -H "Content-Type: application/json" \ - "https://localhost:16001/api/v1/default_configuration/{name}" \ + "https://localhost:16001/api/v1/default_configuration/{name}?deviceType=deviceType_example" \ -d '{ "configuration" : "configuration", "modelIds" : [ "modelIds", "modelIds" ], @@ -20207,10 +20207,11 @@

Usage and SDK Samples

// Create an instance of the API class ConfigurationsApi apiInstance = new ConfigurationsApi(); String name = name_example; // String | + String deviceType = deviceType_example; // String | DefaultConfiguration defaultConfiguration = ; // DefaultConfiguration | try { - apiInstance.createDefaultConfiguration(name, defaultConfiguration); + apiInstance.createDefaultConfiguration(name, deviceType, defaultConfiguration); } catch (ApiException e) { System.err.println("Exception when calling ConfigurationsApi#createDefaultConfiguration"); e.printStackTrace(); @@ -20227,10 +20228,11 @@

Usage and SDK Samples

public static void main(String[] args) { ConfigurationsApi apiInstance = new ConfigurationsApi(); String name = name_example; // String | + String deviceType = deviceType_example; // String | DefaultConfiguration defaultConfiguration = ; // DefaultConfiguration | try { - apiInstance.createDefaultConfiguration(name, defaultConfiguration); + apiInstance.createDefaultConfiguration(name, deviceType, defaultConfiguration); } catch (ApiException e) { System.err.println("Exception when calling ConfigurationsApi#createDefaultConfiguration"); e.printStackTrace(); @@ -20256,10 +20258,12 @@

Usage and SDK Samples

// Create an instance of the API class ConfigurationsApi *apiInstance = [[ConfigurationsApi alloc] init]; String *name = name_example; // (default to null) +String *deviceType = deviceType_example; // (optional) (default to null) DefaultConfiguration *defaultConfiguration = ; // (optional) // Create a default configuration. [apiInstance createDefaultConfigurationWith:name + deviceType:deviceType defaultConfiguration:defaultConfiguration completionHandler: ^(NSError* error) { if (error) { @@ -20287,6 +20291,7 @@

Usage and SDK Samples

var api = new UCentralGatewayApi.ConfigurationsApi() var name = name_example; // {String} var opts = { + 'deviceType': deviceType_example, // {String} 'defaultConfiguration': // {DefaultConfiguration} }; @@ -20327,11 +20332,12 @@

Usage and SDK Samples

// Create an instance of the API class var apiInstance = new ConfigurationsApi(); var name = name_example; // String | (default to null) + var deviceType = deviceType_example; // String | (optional) (default to null) var defaultConfiguration = new DefaultConfiguration(); // DefaultConfiguration | (optional) try { // Create a default configuration. - apiInstance.createDefaultConfiguration(name, defaultConfiguration); + apiInstance.createDefaultConfiguration(name, deviceType, defaultConfiguration); } catch (Exception e) { Debug.Print("Exception when calling ConfigurationsApi.createDefaultConfiguration: " + e.Message ); } @@ -20356,10 +20362,11 @@

Usage and SDK Samples

// Create an instance of the API class $api_instance = new OpenAPITools\Client\Api\ConfigurationsApi(); $name = name_example; // String | +$deviceType = deviceType_example; // String | $defaultConfiguration = ; // DefaultConfiguration | try { - $api_instance->createDefaultConfiguration($name, $defaultConfiguration); + $api_instance->createDefaultConfiguration($name, $deviceType, $defaultConfiguration); } catch (Exception $e) { echo 'Exception when calling ConfigurationsApi->createDefaultConfiguration: ', $e->getMessage(), PHP_EOL; } @@ -20382,10 +20389,11 @@

Usage and SDK Samples

# Create an instance of the API class my $api_instance = WWW::OPenAPIClient::ConfigurationsApi->new(); my $name = name_example; # String | +my $deviceType = deviceType_example; # String | my $defaultConfiguration = WWW::OPenAPIClient::Object::DefaultConfiguration->new(); # DefaultConfiguration | eval { - $api_instance->createDefaultConfiguration(name => $name, defaultConfiguration => $defaultConfiguration); + $api_instance->createDefaultConfiguration(name => $name, deviceType => $deviceType, defaultConfiguration => $defaultConfiguration); }; if ($@) { warn "Exception when calling ConfigurationsApi->createDefaultConfiguration: $@\n"; @@ -20410,11 +20418,12 @@

Usage and SDK Samples

# Create an instance of the API class api_instance = openapi_client.ConfigurationsApi() name = name_example # String | (default to null) +deviceType = deviceType_example # String | (optional) (default to null) defaultConfiguration = # DefaultConfiguration | (optional) try: # Create a default configuration. - api_instance.create_default_configuration(name, defaultConfiguration=defaultConfiguration) + api_instance.create_default_configuration(name, deviceType=deviceType, defaultConfiguration=defaultConfiguration) except ApiException as e: print("Exception when calling ConfigurationsApi->createDefaultConfiguration: %s\n" % e) @@ -20424,10 +20433,11 @@

Usage and SDK Samples

pub fn main() { let name = name_example; // String + let deviceType = deviceType_example; // String let defaultConfiguration = ; // DefaultConfiguration let mut context = ConfigurationsApi::Context::default(); - let result = client.createDefaultConfiguration(name, defaultConfiguration, &context).wait(); + let result = client.createDefaultConfiguration(name, deviceType, defaultConfiguration, &context).wait(); println!("{:?}", result); } @@ -20519,6 +20529,30 @@

Parameters

+
Query parameters
+ + + + + + + + + +
NameDescription
deviceType + + +
+
+
+ + String + + +
+
+
+

Responses

@@ -21860,7 +21894,7 @@

Usage and SDK Samples

-H "X-API-KEY: [[apiKey]]" \ -H "Authorization: Bearer [[accessToken]]" \ -H "Content-Type: application/json" \ - "https://localhost:16001/api/v1/default_configuration/{name}" \ + "https://localhost:16001/api/v1/default_configuration/{name}?deviceType=deviceType_example" \ -d '{ "configuration" : "configuration", "modelIds" : [ "modelIds", "modelIds" ], @@ -21897,10 +21931,11 @@

Usage and SDK Samples

// Create an instance of the API class ConfigurationsApi apiInstance = new ConfigurationsApi(); String name = name_example; // String | + String deviceType = deviceType_example; // String | DefaultConfiguration defaultConfiguration = ; // DefaultConfiguration | try { - apiInstance.updateDefaultConfiguration(name, defaultConfiguration); + apiInstance.updateDefaultConfiguration(name, deviceType, defaultConfiguration); } catch (ApiException e) { System.err.println("Exception when calling ConfigurationsApi#updateDefaultConfiguration"); e.printStackTrace(); @@ -21917,10 +21952,11 @@

Usage and SDK Samples

public static void main(String[] args) { ConfigurationsApi apiInstance = new ConfigurationsApi(); String name = name_example; // String | + String deviceType = deviceType_example; // String | DefaultConfiguration defaultConfiguration = ; // DefaultConfiguration | try { - apiInstance.updateDefaultConfiguration(name, defaultConfiguration); + apiInstance.updateDefaultConfiguration(name, deviceType, defaultConfiguration); } catch (ApiException e) { System.err.println("Exception when calling ConfigurationsApi#updateDefaultConfiguration"); e.printStackTrace(); @@ -21946,10 +21982,12 @@

Usage and SDK Samples

// Create an instance of the API class ConfigurationsApi *apiInstance = [[ConfigurationsApi alloc] init]; String *name = name_example; // (default to null) +String *deviceType = deviceType_example; // (optional) (default to null) DefaultConfiguration *defaultConfiguration = ; // (optional) // Update a default configuration [apiInstance updateDefaultConfigurationWith:name + deviceType:deviceType defaultConfiguration:defaultConfiguration completionHandler: ^(NSError* error) { if (error) { @@ -21977,6 +22015,7 @@

Usage and SDK Samples

var api = new UCentralGatewayApi.ConfigurationsApi() var name = name_example; // {String} var opts = { + 'deviceType': deviceType_example, // {String} 'defaultConfiguration': // {DefaultConfiguration} }; @@ -22017,11 +22056,12 @@

Usage and SDK Samples

// Create an instance of the API class var apiInstance = new ConfigurationsApi(); var name = name_example; // String | (default to null) + var deviceType = deviceType_example; // String | (optional) (default to null) var defaultConfiguration = new DefaultConfiguration(); // DefaultConfiguration | (optional) try { // Update a default configuration - apiInstance.updateDefaultConfiguration(name, defaultConfiguration); + apiInstance.updateDefaultConfiguration(name, deviceType, defaultConfiguration); } catch (Exception e) { Debug.Print("Exception when calling ConfigurationsApi.updateDefaultConfiguration: " + e.Message ); } @@ -22046,10 +22086,11 @@

Usage and SDK Samples

// Create an instance of the API class $api_instance = new OpenAPITools\Client\Api\ConfigurationsApi(); $name = name_example; // String | +$deviceType = deviceType_example; // String | $defaultConfiguration = ; // DefaultConfiguration | try { - $api_instance->updateDefaultConfiguration($name, $defaultConfiguration); + $api_instance->updateDefaultConfiguration($name, $deviceType, $defaultConfiguration); } catch (Exception $e) { echo 'Exception when calling ConfigurationsApi->updateDefaultConfiguration: ', $e->getMessage(), PHP_EOL; } @@ -22072,10 +22113,11 @@

Usage and SDK Samples

# Create an instance of the API class my $api_instance = WWW::OPenAPIClient::ConfigurationsApi->new(); my $name = name_example; # String | +my $deviceType = deviceType_example; # String | my $defaultConfiguration = WWW::OPenAPIClient::Object::DefaultConfiguration->new(); # DefaultConfiguration | eval { - $api_instance->updateDefaultConfiguration(name => $name, defaultConfiguration => $defaultConfiguration); + $api_instance->updateDefaultConfiguration(name => $name, deviceType => $deviceType, defaultConfiguration => $defaultConfiguration); }; if ($@) { warn "Exception when calling ConfigurationsApi->updateDefaultConfiguration: $@\n"; @@ -22100,11 +22142,12 @@

Usage and SDK Samples

# Create an instance of the API class api_instance = openapi_client.ConfigurationsApi() name = name_example # String | (default to null) +deviceType = deviceType_example # String | (optional) (default to null) defaultConfiguration = # DefaultConfiguration | (optional) try: # Update a default configuration - api_instance.update_default_configuration(name, defaultConfiguration=defaultConfiguration) + api_instance.update_default_configuration(name, deviceType=deviceType, defaultConfiguration=defaultConfiguration) except ApiException as e: print("Exception when calling ConfigurationsApi->updateDefaultConfiguration: %s\n" % e) @@ -22114,10 +22157,11 @@

Usage and SDK Samples

pub fn main() { let name = name_example; // String + let deviceType = deviceType_example; // String let defaultConfiguration = ; // DefaultConfiguration let mut context = ConfigurationsApi::Context::default(); - let result = client.updateDefaultConfiguration(name, defaultConfiguration, &context).wait(); + let result = client.updateDefaultConfiguration(name, deviceType, defaultConfiguration, &context).wait(); println!("{:?}", result); } @@ -22209,6 +22253,30 @@

Parameters

+
Query parameters
+ + + + + + + + + +
NameDescription
deviceType + + +
+
+
+ + String + + +
+
+
+

Responses