diff --git a/2.3-dev/.doctrees/environment.pickle b/2.3-dev/.doctrees/environment.pickle index d8bc913f67..cda16bb889 100644 Binary files a/2.3-dev/.doctrees/environment.pickle and b/2.3-dev/.doctrees/environment.pickle differ diff --git a/2.3-dev/restapi/index.html b/2.3-dev/restapi/index.html index b9696a3bae..d438b1c347 100644 --- a/2.3-dev/restapi/index.html +++ b/2.3-dev/restapi/index.html @@ -696,6 +696,14 @@ "type" : "string", "description" : "The new action's name." }, + "uses_scratch" : { + "type" : "number", + "description" : "Whether the action uses scratch." + }, + "num_bytes_to_read" : { + "type" : "string", + "description" : "The num of bytes the action's to read." + }, "wrench_api_request_success" : { "type" : "boolean", "description" : "true if success, false if failure" @@ -1027,18 +1035,6 @@ "description" : "human-readable error message (if failure)" } } -}; - defs["simid_addAction_body"] = { - "properties" : { - "name" : { - "type" : "string", - "description" : "Name of the Action" - }, - "prefix" : { - "type" : "string", - "description" : "Prefix to create new name for action if name is not provided" - } - } }; defs["simid_addBareMetalComputeService_body"] = { "properties" : { @@ -1690,9 +1686,6 @@ -
  • - addAction -
  • addBareMetalComputeService
  • @@ -2005,364 +1998,6 @@

    API and SDK Documentation

    WRENCH

    -
    -
    -
    -

    addAction

    -

    Create and start an Action.

    -
    -
    -
    -

    -

    -

    -
    -
    /simulation/{simid}/addAction
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X POST\
    --H "Accept: application/json"\
    --H "Content-Type: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/addAction"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.WRENCHApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        Simid_addAction_body body = ; // Simid_addAction_body | Input to start a new action.
    -        try {
    -            GenericResponse result = apiInstance.addAction(simid, body);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#addAction");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.WRENCHApi;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        Simid_addAction_body body = ; // Simid_addAction_body | Input to start a new action.
    -        try {
    -            GenericResponse result = apiInstance.addAction(simid, body);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#addAction");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    String *simid = simid_example; // ID of the simulation
    -Simid_addAction_body *body = ; // Input to start a new action. (optional)
    -
    -WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
    -
    -// Create and start an Action.
    -[apiInstance addActionWith:simid
    -    body:body
    -              completionHandler: ^(GenericResponse output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var WrenchRestApi = require('wrench_rest_api');
    -
    -var api = new WrenchRestApi.WRENCHApi()
    -var simid = simid_example; // {{String}} ID of the simulation
    -var opts = { 
    -  'body':  // {{Simid_addAction_body}} Input to start a new action.
    -};
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.addAction(simid, opts, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class addActionExample
    -    {
    -        public void main()
    -        {
    -
    -            var apiInstance = new WRENCHApi();
    -            var simid = simid_example;  // String | ID of the simulation
    -            var body = new Simid_addAction_body(); // Simid_addAction_body | Input to start a new action. (optional) 
    -
    -            try
    -            {
    -                // Create and start an Action.
    -                GenericResponse result = apiInstance.addAction(simid, body);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling WRENCHApi.addAction: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -$api_instance = new Swagger\Client\ApiWRENCHApi();
    -$simid = simid_example; // String | ID of the simulation
    -$body = ; // Simid_addAction_body | Input to start a new action.
    -
    -try {
    -    $result = $api_instance->addAction($simid, $body);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->addAction: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::WRENCHApi;
    -
    -my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $simid = simid_example; # String | ID of the simulation
    -my $body = WWW::SwaggerClient::Object::Simid_addAction_body->new(); # Simid_addAction_body | Input to start a new action.
    -
    -eval { 
    -    my $result = $api_instance->addAction(simid => $simid, body => $body);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling WRENCHApi->addAction: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -# create an instance of the API class
    -api_instance = swagger_client.WRENCHApi()
    -simid = simid_example # String | ID of the simulation
    -body =  # Simid_addAction_body | Input to start a new action. (optional)
    -
    -try: 
    -    # Create and start an Action.
    -    api_response = api_instance.add_action(simid, body=body)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling WRENCHApi->addAction: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - -
    NameDescription
    simid* - - -
    -
    -
    - - String - - -
    - ID of the simulation -
    -
    -
    - Required -
    -
    -
    -
    - - -
    Body parameters
    - - - - - - - - -
    NameDescription
    body - - - -
    -
    - - - -

    Responses

    -

    Status: 200 - OK

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 405 - Invalid input

    - - - -
    -
    - -
    -
    -
    @@ -5395,7 +5030,7 @@

    Status: 405 - Invalid input

    addFileRegistryService

    -

    Create and start a file registery service.

    +

    Create and start a file registry service.

    @@ -5484,7 +5119,7 @@

    Usage and SDK Samples

    WRENCHApi *apiInstance = [[WRENCHApi alloc] init]; -// Create and start a file registery service. +// Create and start a file registry service. [apiInstance addFileRegistryServiceWith:body simid:simid completionHandler: ^(ServiceResponse output, NSError* error) { @@ -5539,7 +5174,7 @@

    Usage and SDK Samples

    try { - // Create and start a file registery service. + // Create and start a file registry service. ServiceResponse result = apiInstance.addFileRegistryService(body, simid); Debug.WriteLine(result); } @@ -5601,7 +5236,7 @@

    Usage and SDK Samples

    simid = simid_example # String | ID of the simulation try: - # Create and start a file registery service. + # Create and start a file registry service. api_response = api_instance.add_file_registry_service(body, simid) pprint(api_response) except ApiException as e: @@ -7049,9 +6684,9 @@

    Usage and SDK Samples

    WRENCHApi apiInstance = new WRENCHApi(); Compound_job_name_addParentJob_body body = ; // Compound_job_name_addParentJob_body | Input to add a parent compound job. String simid = simid_example; // String | ID of the simulation - String compoundJob = compoundJob_example; // String | Name of the compound job + String compoundJobName = compoundJobName_example; // String | Name of the compound job try { - GenericResponse result = apiInstance.addParentJob(body, simid, compoundJob); + GenericResponse result = apiInstance.addParentJob(body, simid, compoundJobName); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling WRENCHApi#addParentJob"); @@ -7070,9 +6705,9 @@

    Usage and SDK Samples

    WRENCHApi apiInstance = new WRENCHApi(); Compound_job_name_addParentJob_body body = ; // Compound_job_name_addParentJob_body | Input to add a parent compound job. String simid = simid_example; // String | ID of the simulation - String compoundJob = compoundJob_example; // String | Name of the compound job + String compoundJobName = compoundJobName_example; // String | Name of the compound job try { - GenericResponse result = apiInstance.addParentJob(body, simid, compoundJob); + GenericResponse result = apiInstance.addParentJob(body, simid, compoundJobName); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling WRENCHApi#addParentJob"); @@ -7088,14 +6723,14 @@

    Usage and SDK Samples

    Compound_job_name_addParentJob_body *body = ; // Input to add a parent compound job.
     String *simid = simid_example; // ID of the simulation
    -String *compoundJob = compoundJob_example; // Name of the compound job
    +String *compoundJobName = compoundJobName_example; // Name of the compound job
     
     WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
     
     // Add parent compound job to compound job
     [apiInstance addParentJobWith:body
         simid:simid
    -    compoundJob:compoundJob
    +    compoundJobName:compoundJobName
                   completionHandler: ^(GenericResponse output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
    @@ -7113,7 +6748,7 @@ 

    Usage and SDK Samples

    var api = new WrenchRestApi.WRENCHApi() var body = ; // {{Compound_job_name_addParentJob_body}} Input to add a parent compound job. var simid = simid_example; // {{String}} ID of the simulation -var compoundJob = compoundJob_example; // {{String}} Name of the compound job +var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job var callback = function(error, data, response) { if (error) { @@ -7122,7 +6757,7 @@

    Usage and SDK Samples

    console.log('API called successfully. Returned data: ' + data); } }; -api.addParentJob(bodysimidcompoundJob, callback); +api.addParentJob(bodysimidcompoundJobName, callback);
    @@ -7146,12 +6781,12 @@

    Usage and SDK Samples

    var apiInstance = new WRENCHApi(); var body = new Compound_job_name_addParentJob_body(); // Compound_job_name_addParentJob_body | Input to add a parent compound job. var simid = simid_example; // String | ID of the simulation - var compoundJob = compoundJob_example; // String | Name of the compound job + var compoundJobName = compoundJobName_example; // String | Name of the compound job try { // Add parent compound job to compound job - GenericResponse result = apiInstance.addParentJob(body, simid, compoundJob); + GenericResponse result = apiInstance.addParentJob(body, simid, compoundJobName); Debug.WriteLine(result); } catch (Exception e) @@ -7171,10 +6806,10 @@

    Usage and SDK Samples

    $api_instance = new Swagger\Client\ApiWRENCHApi(); $body = ; // Compound_job_name_addParentJob_body | Input to add a parent compound job. $simid = simid_example; // String | ID of the simulation -$compoundJob = compoundJob_example; // String | Name of the compound job +$compoundJobName = compoundJobName_example; // String | Name of the compound job try { - $result = $api_instance->addParentJob($body, $simid, $compoundJob); + $result = $api_instance->addParentJob($body, $simid, $compoundJobName); print_r($result); } catch (Exception $e) { echo 'Exception when calling WRENCHApi->addParentJob: ', $e->getMessage(), PHP_EOL; @@ -7190,10 +6825,10 @@

    Usage and SDK Samples

    my $api_instance = WWW::SwaggerClient::WRENCHApi->new(); my $body = WWW::SwaggerClient::Object::Compound_job_name_addParentJob_body->new(); # Compound_job_name_addParentJob_body | Input to add a parent compound job. my $simid = simid_example; # String | ID of the simulation -my $compoundJob = compoundJob_example; # String | Name of the compound job +my $compoundJobName = compoundJobName_example; # String | Name of the compound job eval { - my $result = $api_instance->addParentJob(body => $body, simid => $simid, compoundJob => $compoundJob); + my $result = $api_instance->addParentJob(body => $body, simid => $simid, compoundJobName => $compoundJobName); print Dumper($result); }; if ($@) { @@ -7212,11 +6847,11 @@

    Usage and SDK Samples

    api_instance = swagger_client.WRENCHApi() body = # Compound_job_name_addParentJob_body | Input to add a parent compound job. simid = simid_example # String | ID of the simulation -compoundJob = compoundJob_example # String | Name of the compound job +compoundJobName = compoundJobName_example # String | Name of the compound job try: # Add parent compound job to compound job - api_response = api_instance.add_parent_job(body, simid, compoundJob) + api_response = api_instance.add_parent_job(body, simid, compoundJobName) pprint(api_response) except ApiException as e: print("Exception when calling WRENCHApi->addParentJob: %s\n" % e) @@ -7253,11 +6888,11 @@

    Parameters

    - compound_job* + compound_job_name* -
    +
    diff --git a/latest/.doctrees/environment.pickle b/latest/.doctrees/environment.pickle index d8bc913f67..cda16bb889 100644 Binary files a/latest/.doctrees/environment.pickle and b/latest/.doctrees/environment.pickle differ diff --git a/latest/restapi/index.html b/latest/restapi/index.html index b9696a3bae..d438b1c347 100644 --- a/latest/restapi/index.html +++ b/latest/restapi/index.html @@ -696,6 +696,14 @@ "type" : "string", "description" : "The new action's name." }, + "uses_scratch" : { + "type" : "number", + "description" : "Whether the action uses scratch." + }, + "num_bytes_to_read" : { + "type" : "string", + "description" : "The num of bytes the action's to read." + }, "wrench_api_request_success" : { "type" : "boolean", "description" : "true if success, false if failure" @@ -1027,18 +1035,6 @@ "description" : "human-readable error message (if failure)" } } -}; - defs["simid_addAction_body"] = { - "properties" : { - "name" : { - "type" : "string", - "description" : "Name of the Action" - }, - "prefix" : { - "type" : "string", - "description" : "Prefix to create new name for action if name is not provided" - } - } }; defs["simid_addBareMetalComputeService_body"] = { "properties" : { @@ -1690,9 +1686,6 @@ -
  • - addAction -
  • addBareMetalComputeService
  • @@ -2005,364 +1998,6 @@

    API and SDK Documentation

    WRENCH

    -
    -
    -
    -

    addAction

    -

    Create and start an Action.

    -
    -
    -
    -

    -

    -

    -
    -
    /simulation/{simid}/addAction
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X POST\
    --H "Accept: application/json"\
    --H "Content-Type: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/addAction"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.WRENCHApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        Simid_addAction_body body = ; // Simid_addAction_body | Input to start a new action.
    -        try {
    -            GenericResponse result = apiInstance.addAction(simid, body);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#addAction");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.WRENCHApi;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        Simid_addAction_body body = ; // Simid_addAction_body | Input to start a new action.
    -        try {
    -            GenericResponse result = apiInstance.addAction(simid, body);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#addAction");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    String *simid = simid_example; // ID of the simulation
    -Simid_addAction_body *body = ; // Input to start a new action. (optional)
    -
    -WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
    -
    -// Create and start an Action.
    -[apiInstance addActionWith:simid
    -    body:body
    -              completionHandler: ^(GenericResponse output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var WrenchRestApi = require('wrench_rest_api');
    -
    -var api = new WrenchRestApi.WRENCHApi()
    -var simid = simid_example; // {{String}} ID of the simulation
    -var opts = { 
    -  'body':  // {{Simid_addAction_body}} Input to start a new action.
    -};
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.addAction(simid, opts, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class addActionExample
    -    {
    -        public void main()
    -        {
    -
    -            var apiInstance = new WRENCHApi();
    -            var simid = simid_example;  // String | ID of the simulation
    -            var body = new Simid_addAction_body(); // Simid_addAction_body | Input to start a new action. (optional) 
    -
    -            try
    -            {
    -                // Create and start an Action.
    -                GenericResponse result = apiInstance.addAction(simid, body);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling WRENCHApi.addAction: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -$api_instance = new Swagger\Client\ApiWRENCHApi();
    -$simid = simid_example; // String | ID of the simulation
    -$body = ; // Simid_addAction_body | Input to start a new action.
    -
    -try {
    -    $result = $api_instance->addAction($simid, $body);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->addAction: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::WRENCHApi;
    -
    -my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $simid = simid_example; # String | ID of the simulation
    -my $body = WWW::SwaggerClient::Object::Simid_addAction_body->new(); # Simid_addAction_body | Input to start a new action.
    -
    -eval { 
    -    my $result = $api_instance->addAction(simid => $simid, body => $body);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling WRENCHApi->addAction: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -# create an instance of the API class
    -api_instance = swagger_client.WRENCHApi()
    -simid = simid_example # String | ID of the simulation
    -body =  # Simid_addAction_body | Input to start a new action. (optional)
    -
    -try: 
    -    # Create and start an Action.
    -    api_response = api_instance.add_action(simid, body=body)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling WRENCHApi->addAction: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - -
    NameDescription
    simid* - - -
    -
    -
    - - String - - -
    - ID of the simulation -
    -
    -
    - Required -
    -
    -
    -
    - - -
    Body parameters
    - - - - - - - - -
    NameDescription
    body - - - -
    -
    - - - -

    Responses

    -

    Status: 200 - OK

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 405 - Invalid input

    - - - -
    -
    - -
    -
    -
    @@ -5395,7 +5030,7 @@

    Status: 405 - Invalid input

    addFileRegistryService

    -

    Create and start a file registery service.

    +

    Create and start a file registry service.

    @@ -5484,7 +5119,7 @@

    Usage and SDK Samples

    WRENCHApi *apiInstance = [[WRENCHApi alloc] init]; -// Create and start a file registery service. +// Create and start a file registry service. [apiInstance addFileRegistryServiceWith:body simid:simid completionHandler: ^(ServiceResponse output, NSError* error) { @@ -5539,7 +5174,7 @@

    Usage and SDK Samples

    try { - // Create and start a file registery service. + // Create and start a file registry service. ServiceResponse result = apiInstance.addFileRegistryService(body, simid); Debug.WriteLine(result); } @@ -5601,7 +5236,7 @@

    Usage and SDK Samples

    simid = simid_example # String | ID of the simulation try: - # Create and start a file registery service. + # Create and start a file registry service. api_response = api_instance.add_file_registry_service(body, simid) pprint(api_response) except ApiException as e: @@ -7049,9 +6684,9 @@

    Usage and SDK Samples

    WRENCHApi apiInstance = new WRENCHApi(); Compound_job_name_addParentJob_body body = ; // Compound_job_name_addParentJob_body | Input to add a parent compound job. String simid = simid_example; // String | ID of the simulation - String compoundJob = compoundJob_example; // String | Name of the compound job + String compoundJobName = compoundJobName_example; // String | Name of the compound job try { - GenericResponse result = apiInstance.addParentJob(body, simid, compoundJob); + GenericResponse result = apiInstance.addParentJob(body, simid, compoundJobName); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling WRENCHApi#addParentJob"); @@ -7070,9 +6705,9 @@

    Usage and SDK Samples

    WRENCHApi apiInstance = new WRENCHApi(); Compound_job_name_addParentJob_body body = ; // Compound_job_name_addParentJob_body | Input to add a parent compound job. String simid = simid_example; // String | ID of the simulation - String compoundJob = compoundJob_example; // String | Name of the compound job + String compoundJobName = compoundJobName_example; // String | Name of the compound job try { - GenericResponse result = apiInstance.addParentJob(body, simid, compoundJob); + GenericResponse result = apiInstance.addParentJob(body, simid, compoundJobName); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling WRENCHApi#addParentJob"); @@ -7088,14 +6723,14 @@

    Usage and SDK Samples

    Compound_job_name_addParentJob_body *body = ; // Input to add a parent compound job.
     String *simid = simid_example; // ID of the simulation
    -String *compoundJob = compoundJob_example; // Name of the compound job
    +String *compoundJobName = compoundJobName_example; // Name of the compound job
     
     WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
     
     // Add parent compound job to compound job
     [apiInstance addParentJobWith:body
         simid:simid
    -    compoundJob:compoundJob
    +    compoundJobName:compoundJobName
                   completionHandler: ^(GenericResponse output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
    @@ -7113,7 +6748,7 @@ 

    Usage and SDK Samples

    var api = new WrenchRestApi.WRENCHApi() var body = ; // {{Compound_job_name_addParentJob_body}} Input to add a parent compound job. var simid = simid_example; // {{String}} ID of the simulation -var compoundJob = compoundJob_example; // {{String}} Name of the compound job +var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job var callback = function(error, data, response) { if (error) { @@ -7122,7 +6757,7 @@

    Usage and SDK Samples

    console.log('API called successfully. Returned data: ' + data); } }; -api.addParentJob(bodysimidcompoundJob, callback); +api.addParentJob(bodysimidcompoundJobName, callback);
    @@ -7146,12 +6781,12 @@

    Usage and SDK Samples

    var apiInstance = new WRENCHApi(); var body = new Compound_job_name_addParentJob_body(); // Compound_job_name_addParentJob_body | Input to add a parent compound job. var simid = simid_example; // String | ID of the simulation - var compoundJob = compoundJob_example; // String | Name of the compound job + var compoundJobName = compoundJobName_example; // String | Name of the compound job try { // Add parent compound job to compound job - GenericResponse result = apiInstance.addParentJob(body, simid, compoundJob); + GenericResponse result = apiInstance.addParentJob(body, simid, compoundJobName); Debug.WriteLine(result); } catch (Exception e) @@ -7171,10 +6806,10 @@

    Usage and SDK Samples

    $api_instance = new Swagger\Client\ApiWRENCHApi(); $body = ; // Compound_job_name_addParentJob_body | Input to add a parent compound job. $simid = simid_example; // String | ID of the simulation -$compoundJob = compoundJob_example; // String | Name of the compound job +$compoundJobName = compoundJobName_example; // String | Name of the compound job try { - $result = $api_instance->addParentJob($body, $simid, $compoundJob); + $result = $api_instance->addParentJob($body, $simid, $compoundJobName); print_r($result); } catch (Exception $e) { echo 'Exception when calling WRENCHApi->addParentJob: ', $e->getMessage(), PHP_EOL; @@ -7190,10 +6825,10 @@

    Usage and SDK Samples

    my $api_instance = WWW::SwaggerClient::WRENCHApi->new(); my $body = WWW::SwaggerClient::Object::Compound_job_name_addParentJob_body->new(); # Compound_job_name_addParentJob_body | Input to add a parent compound job. my $simid = simid_example; # String | ID of the simulation -my $compoundJob = compoundJob_example; # String | Name of the compound job +my $compoundJobName = compoundJobName_example; # String | Name of the compound job eval { - my $result = $api_instance->addParentJob(body => $body, simid => $simid, compoundJob => $compoundJob); + my $result = $api_instance->addParentJob(body => $body, simid => $simid, compoundJobName => $compoundJobName); print Dumper($result); }; if ($@) { @@ -7212,11 +6847,11 @@

    Usage and SDK Samples

    api_instance = swagger_client.WRENCHApi() body = # Compound_job_name_addParentJob_body | Input to add a parent compound job. simid = simid_example # String | ID of the simulation -compoundJob = compoundJob_example # String | Name of the compound job +compoundJobName = compoundJobName_example # String | Name of the compound job try: # Add parent compound job to compound job - api_response = api_instance.add_parent_job(body, simid, compoundJob) + api_response = api_instance.add_parent_job(body, simid, compoundJobName) pprint(api_response) except ApiException as e: print("Exception when calling WRENCHApi->addParentJob: %s\n" % e) @@ -7253,11 +6888,11 @@

    Parameters

    - compound_job* + compound_job_name* -
    +