Skip to content

Commit 2367ac9

Browse files
authored
Merge pull request #49 from CyberSource/nov-release
nov release update
2 parents 31a9e16 + 2db5996 commit 2367ac9

File tree

71 files changed

+6628
-486
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+6628
-486
lines changed

cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/AsymmetricKeyManagementApiTests.cs

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,19 @@ public void GetP12KeyDetailsTest()
100100
//Assert.IsInstanceOf<KmsV2KeysAsymGet200Response> (response, "response is KmsV2KeysAsymGet200Response");
101101
}
102102

103+
/// <summary>
104+
/// Test UpdateAsymKey
105+
/// </summary>
106+
[Test]
107+
public void UpdateAsymKeyTest()
108+
{
109+
// TODO uncomment below to test the method and replace null with proper value
110+
//string keyId = null;
111+
//UpdateAsymKeysRequest updateAsymKeysRequest = null;
112+
//var response = instance.UpdateAsymKey(keyId, updateAsymKeysRequest);
113+
//Assert.IsInstanceOf<Object> (response, "response is Object");
114+
}
115+
103116
}
104117

105118
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
/*
2+
* CyberSource Merged Spec
3+
*
4+
* All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
5+
*
6+
* OpenAPI spec version: 0.0.1
7+
*
8+
* Generated by: https://github.com/swagger-api/swagger-codegen.git
9+
*/
10+
11+
using System;
12+
using System.IO;
13+
using System.Collections.Generic;
14+
using System.Collections.ObjectModel;
15+
using System.Linq;
16+
using System.Reflection;
17+
using RestSharp;
18+
using NUnit.Framework;
19+
20+
using CyberSource.Client;
21+
using CyberSource.Api;
22+
using CyberSource.Model;
23+
24+
namespace CyberSource.Test
25+
{
26+
/// <summary>
27+
/// Class for testing KeymanagementApi
28+
/// </summary>
29+
/// <remarks>
30+
/// This file is automatically generated by Swagger Codegen.
31+
/// Please update the test case below to test the API endpoint.
32+
/// </remarks>
33+
[TestFixture]
34+
public class KeymanagementApiTests
35+
{
36+
private KeymanagementApi instance;
37+
38+
/// <summary>
39+
/// Setup before each unit test
40+
/// </summary>
41+
[SetUp]
42+
public void Init()
43+
{
44+
instance = new KeymanagementApi();
45+
}
46+
47+
/// <summary>
48+
/// Clean up after each unit test
49+
/// </summary>
50+
[TearDown]
51+
public void Cleanup()
52+
{
53+
54+
}
55+
56+
/// <summary>
57+
/// Test an instance of KeymanagementApi
58+
/// </summary>
59+
[Test]
60+
public void InstanceTest()
61+
{
62+
// TODO uncomment below to test 'IsInstanceOfType' KeymanagementApi
63+
//Assert.IsInstanceOfType(typeof(KeymanagementApi), instance, "instance is a KeymanagementApi");
64+
}
65+
66+
67+
/// <summary>
68+
/// Test SearchKeys
69+
/// </summary>
70+
[Test]
71+
public void SearchKeysTest()
72+
{
73+
// TODO uncomment below to test the method and replace null with proper value
74+
//int? offset = null;
75+
//int? limit = null;
76+
//string sort = null;
77+
//List<string> organizationIds = null;
78+
//List<string> keyIds = null;
79+
//List<string> keyTypes = null;
80+
//DateTime? expirationStartDate = null;
81+
//DateTime? expirationEndDate = null;
82+
//var response = instance.SearchKeys(offset, limit, sort, organizationIds, keyIds, keyTypes, expirationStartDate, expirationEndDate);
83+
//Assert.IsInstanceOf<InlineResponse200> (response, "response is InlineResponse200");
84+
}
85+
86+
}
87+
88+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
/*
2+
* CyberSource Merged Spec
3+
*
4+
* All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
5+
*
6+
* OpenAPI spec version: 0.0.1
7+
*
8+
* Generated by: https://github.com/swagger-api/swagger-codegen.git
9+
*/
10+
11+
using System;
12+
using System.IO;
13+
using System.Collections.Generic;
14+
using System.Collections.ObjectModel;
15+
using System.Linq;
16+
using System.Reflection;
17+
using RestSharp;
18+
using NUnit.Framework;
19+
20+
using CyberSource.Client;
21+
using CyberSource.Api;
22+
using CyberSource.Model;
23+
24+
namespace CyberSource.Test
25+
{
26+
/// <summary>
27+
/// Class for testing KeymanagementpasswordApi
28+
/// </summary>
29+
/// <remarks>
30+
/// This file is automatically generated by Swagger Codegen.
31+
/// Please update the test case below to test the API endpoint.
32+
/// </remarks>
33+
[TestFixture]
34+
public class KeymanagementpasswordApiTests
35+
{
36+
private KeymanagementpasswordApi instance;
37+
38+
/// <summary>
39+
/// Setup before each unit test
40+
/// </summary>
41+
[SetUp]
42+
public void Init()
43+
{
44+
instance = new KeymanagementpasswordApi();
45+
}
46+
47+
/// <summary>
48+
/// Clean up after each unit test
49+
/// </summary>
50+
[TearDown]
51+
public void Cleanup()
52+
{
53+
54+
}
55+
56+
/// <summary>
57+
/// Test an instance of KeymanagementpasswordApi
58+
/// </summary>
59+
[Test]
60+
public void InstanceTest()
61+
{
62+
// TODO uncomment below to test 'IsInstanceOfType' KeymanagementpasswordApi
63+
//Assert.IsInstanceOfType(typeof(KeymanagementpasswordApi), instance, "instance is a KeymanagementpasswordApi");
64+
}
65+
66+
67+
/// <summary>
68+
/// Test UpdatePassword
69+
/// </summary>
70+
[Test]
71+
public void UpdatePasswordTest()
72+
{
73+
// TODO uncomment below to test the method and replace null with proper value
74+
//string keyId = null;
75+
//UpdatePasswordKeysRequest updatePasswordKeysRequest = null;
76+
//var response = instance.UpdatePassword(keyId, updatePasswordKeysRequest);
77+
//Assert.IsInstanceOf<Object> (response, "response is Object");
78+
}
79+
80+
}
81+
82+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
/*
2+
* CyberSource Merged Spec
3+
*
4+
* All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
5+
*
6+
* OpenAPI spec version: 0.0.1
7+
*
8+
* Generated by: https://github.com/swagger-api/swagger-codegen.git
9+
*/
10+
11+
using System;
12+
using System.IO;
13+
using System.Collections.Generic;
14+
using System.Collections.ObjectModel;
15+
using System.Linq;
16+
using System.Reflection;
17+
using RestSharp;
18+
using NUnit.Framework;
19+
20+
using CyberSource.Client;
21+
using CyberSource.Api;
22+
using CyberSource.Model;
23+
24+
namespace CyberSource.Test
25+
{
26+
/// <summary>
27+
/// Class for testing KeymanagementpgpApi
28+
/// </summary>
29+
/// <remarks>
30+
/// This file is automatically generated by Swagger Codegen.
31+
/// Please update the test case below to test the API endpoint.
32+
/// </remarks>
33+
[TestFixture]
34+
public class KeymanagementpgpApiTests
35+
{
36+
private KeymanagementpgpApi instance;
37+
38+
/// <summary>
39+
/// Setup before each unit test
40+
/// </summary>
41+
[SetUp]
42+
public void Init()
43+
{
44+
instance = new KeymanagementpgpApi();
45+
}
46+
47+
/// <summary>
48+
/// Clean up after each unit test
49+
/// </summary>
50+
[TearDown]
51+
public void Cleanup()
52+
{
53+
54+
}
55+
56+
/// <summary>
57+
/// Test an instance of KeymanagementpgpApi
58+
/// </summary>
59+
[Test]
60+
public void InstanceTest()
61+
{
62+
// TODO uncomment below to test 'IsInstanceOfType' KeymanagementpgpApi
63+
//Assert.IsInstanceOfType(typeof(KeymanagementpgpApi), instance, "instance is a KeymanagementpgpApi");
64+
}
65+
66+
67+
/// <summary>
68+
/// Test UpdatePGP
69+
/// </summary>
70+
[Test]
71+
public void UpdatePGPTest()
72+
{
73+
// TODO uncomment below to test the method and replace null with proper value
74+
//string keyId = null;
75+
//UpdatePGPKeysRequest updatePGPKeysRequest = null;
76+
//var response = instance.UpdatePGP(keyId, updatePGPKeysRequest);
77+
//Assert.IsInstanceOf<Object> (response, "response is Object");
78+
}
79+
80+
}
81+
82+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
/*
2+
* CyberSource Merged Spec
3+
*
4+
* All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
5+
*
6+
* OpenAPI spec version: 0.0.1
7+
*
8+
* Generated by: https://github.com/swagger-api/swagger-codegen.git
9+
*/
10+
11+
using System;
12+
using System.IO;
13+
using System.Collections.Generic;
14+
using System.Collections.ObjectModel;
15+
using System.Linq;
16+
using System.Reflection;
17+
using RestSharp;
18+
using NUnit.Framework;
19+
20+
using CyberSource.Client;
21+
using CyberSource.Api;
22+
using CyberSource.Model;
23+
24+
namespace CyberSource.Test
25+
{
26+
/// <summary>
27+
/// Class for testing KeymanagementscmpApi
28+
/// </summary>
29+
/// <remarks>
30+
/// This file is automatically generated by Swagger Codegen.
31+
/// Please update the test case below to test the API endpoint.
32+
/// </remarks>
33+
[TestFixture]
34+
public class KeymanagementscmpApiTests
35+
{
36+
private KeymanagementscmpApi instance;
37+
38+
/// <summary>
39+
/// Setup before each unit test
40+
/// </summary>
41+
[SetUp]
42+
public void Init()
43+
{
44+
instance = new KeymanagementscmpApi();
45+
}
46+
47+
/// <summary>
48+
/// Clean up after each unit test
49+
/// </summary>
50+
[TearDown]
51+
public void Cleanup()
52+
{
53+
54+
}
55+
56+
/// <summary>
57+
/// Test an instance of KeymanagementscmpApi
58+
/// </summary>
59+
[Test]
60+
public void InstanceTest()
61+
{
62+
// TODO uncomment below to test 'IsInstanceOfType' KeymanagementscmpApi
63+
//Assert.IsInstanceOfType(typeof(KeymanagementscmpApi), instance, "instance is a KeymanagementscmpApi");
64+
}
65+
66+
67+
/// <summary>
68+
/// Test UpdateSCMP
69+
/// </summary>
70+
[Test]
71+
public void UpdateSCMPTest()
72+
{
73+
// TODO uncomment below to test the method and replace null with proper value
74+
//string keyId = null;
75+
//UpdatePGPKeysRequest1 updatePGPKeysRequest = null;
76+
//var response = instance.UpdateSCMP(keyId, updatePGPKeysRequest);
77+
//Assert.IsInstanceOf<Object> (response, "response is Object");
78+
}
79+
80+
}
81+
82+
}

0 commit comments

Comments
 (0)