curl -X GET "https://localhost/5ginfireportal/services/api/repo/vfimages/image/{uuid}/{vfimagefile}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
DefaultApi apiInstance = new DefaultApi();
String uuid = uuid_example; // String |
String vfimagefile = vfimagefile_example; // String |
try {
apiInstance.downloadVxFPackage_0(uuid, vfimagefile);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#downloadVxFPackage_0");
e.printStackTrace();
}
}
}
import io.swagger.client.api.DefaultApi;
public class DefaultApiExample {
public static void main(String[] args) {
DefaultApi apiInstance = new DefaultApi();
String uuid = uuid_example; // String |
String vfimagefile = vfimagefile_example; // String |
try {
apiInstance.downloadVxFPackage_0(uuid, vfimagefile);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#downloadVxFPackage_0");
e.printStackTrace();
}
}
}
String *uuid = uuid_example; //
String *vfimagefile = vfimagefile_example; //
DefaultApi *apiInstance = [[DefaultApi alloc] init];
[apiInstance downloadVxFPackage_1With:uuid
vfimagefile:vfimagefile
completionHandler: ^(NSError* error) {
if (error) {
NSLog(@"Error: %@", error);
}
}];
var 5GinFirePortalApi = require('5_gin_fire_portal_api');
var api = new 5GinFirePortalApi.DefaultApi()
var uuid = uuid_example; // {String}
var vfimagefile = vfimagefile_example; // {String}
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
};
api.downloadVxFPackage_0(uuid, vfimagefile, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class downloadVxFPackage_0Example
{
public void main()
{
var apiInstance = new DefaultApi();
var uuid = uuid_example; // String |
var vfimagefile = vfimagefile_example; // String |
try
{
apiInstance.downloadVxFPackage_0(uuid, vfimagefile);
}
catch (Exception e)
{
Debug.Print("Exception when calling DefaultApi.downloadVxFPackage_0: " + e.Message );
}
}
}
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\Api\DefaultApi();
$uuid = uuid_example; // String |
$vfimagefile = vfimagefile_example; // String |
try {
$api_instance->downloadVxFPackage_0($uuid, $vfimagefile);
} catch (Exception $e) {
echo 'Exception when calling DefaultApi->downloadVxFPackage_0: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;
my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $uuid = uuid_example; # String |
my $vfimagefile = vfimagefile_example; # String |
eval {
$api_instance->downloadVxFPackage_0(uuid => $uuid, vfimagefile => $vfimagefile);
};
if ($@) {
warn "Exception when calling DefaultApi->downloadVxFPackage_0: $@\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.DefaultApi()
uuid = uuid_example # String |
vfimagefile = vfimagefile_example # String |
try:
api_instance.download_vx_f_package_0(uuid, vfimagefile)
except ApiException as e:
print("Exception when calling DefaultApi->downloadVxFPackage_0: %s\n" % e)