Skip to content

Commit 4094fbe

Browse files
committed
april-22 changes
1 parent d198936 commit 4094fbe

File tree

7 files changed

+59
-59
lines changed

7 files changed

+59
-59
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ public void CreateV2SharedSecretKeysVerifiTest()
8484
{
8585
// TODO uncomment below to test the method and replace null with proper value
8686
//string vIcDomain = null;
87-
//CreateSharedSecretKeysRequest1 createSharedSecretKeysRequest = null;
88-
//var response = instance.CreateV2SharedSecretKeysVerifi(vIcDomain, createSharedSecretKeysRequest);
87+
//CreateSharedSecretKeysVerifiRequest createSharedSecretKeysVerifiRequest = null;
88+
//var response = instance.CreateV2SharedSecretKeysVerifi(vIcDomain, createSharedSecretKeysVerifiRequest);
8989
//Assert.IsInstanceOf<KmsV2KeysSymPost201Response> (response, "response is KmsV2KeysSymPost201Response");
9090
}
9191

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,26 +23,26 @@
2323
namespace CyberSource.Test
2424
{
2525
/// <summary>
26-
/// Class for testing CreateSharedSecretKeysRequest1
26+
/// Class for testing CreateSharedSecretKeysVerifiRequest
2727
/// </summary>
2828
/// <remarks>
2929
/// This file is automatically generated by Swagger Codegen.
3030
/// Please update the test case below to test the model.
3131
/// </remarks>
3232
[TestFixture]
33-
public class CreateSharedSecretKeysRequest1Tests
33+
public class CreateSharedSecretKeysVerifiRequestTests
3434
{
35-
// TODO uncomment below to declare an instance variable for CreateSharedSecretKeysRequest1
36-
//private CreateSharedSecretKeysRequest1 instance;
35+
// TODO uncomment below to declare an instance variable for CreateSharedSecretKeysVerifiRequest
36+
//private CreateSharedSecretKeysVerifiRequest instance;
3737

3838
/// <summary>
3939
/// Setup before each test
4040
/// </summary>
4141
[SetUp]
4242
public void Init()
4343
{
44-
// TODO uncomment below to create an instance of CreateSharedSecretKeysRequest1
45-
//instance = new CreateSharedSecretKeysRequest1();
44+
// TODO uncomment below to create an instance of CreateSharedSecretKeysVerifiRequest
45+
//instance = new CreateSharedSecretKeysVerifiRequest();
4646
}
4747

4848
/// <summary>
@@ -55,13 +55,13 @@ public void Cleanup()
5555
}
5656

5757
/// <summary>
58-
/// Test an instance of CreateSharedSecretKeysRequest1
58+
/// Test an instance of CreateSharedSecretKeysVerifiRequest
5959
/// </summary>
6060
[Test]
61-
public void CreateSharedSecretKeysRequest1InstanceTest()
61+
public void CreateSharedSecretKeysVerifiRequestInstanceTest()
6262
{
63-
// TODO uncomment below to test "IsInstanceOfType" CreateSharedSecretKeysRequest1
64-
//Assert.IsInstanceOfType<CreateSharedSecretKeysRequest1> (instance, "variable 'instance' is a CreateSharedSecretKeysRequest1");
63+
// TODO uncomment below to test "IsInstanceOfType" CreateSharedSecretKeysVerifiRequest
64+
//Assert.IsInstanceOfType<CreateSharedSecretKeysVerifiRequest> (instance, "variable 'instance' is a CreateSharedSecretKeysVerifiRequest");
6565
}
6666

6767
/// <summary>

cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Api/SymmetricKeyManagementApi.cs

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ public interface ISymmetricKeyManagementApi : IApiAccessor
5555
/// </remarks>
5656
/// <exception cref="CyberSource.Client.ApiException">Thrown when fails to make API call</exception>
5757
/// <param name="vIcDomain">domain</param>
58-
/// <param name="createSharedSecretKeysRequest"></param>
58+
/// <param name="createSharedSecretKeysVerifiRequest"></param>
5959
/// <returns>KmsV2KeysSymPost201Response</returns>
60-
KmsV2KeysSymPost201Response CreateV2SharedSecretKeysVerifi (string vIcDomain, CreateSharedSecretKeysRequest1 createSharedSecretKeysRequest);
60+
KmsV2KeysSymPost201Response CreateV2SharedSecretKeysVerifi (string vIcDomain, CreateSharedSecretKeysVerifiRequest createSharedSecretKeysVerifiRequest);
6161

6262
/// <summary>
6363
/// Create Shared-Secret Keys as per verifi spec
@@ -67,9 +67,9 @@ public interface ISymmetricKeyManagementApi : IApiAccessor
6767
/// </remarks>
6868
/// <exception cref="CyberSource.Client.ApiException">Thrown when fails to make API call</exception>
6969
/// <param name="vIcDomain">domain</param>
70-
/// <param name="createSharedSecretKeysRequest"></param>
70+
/// <param name="createSharedSecretKeysVerifiRequest"></param>
7171
/// <returns>ApiResponse of KmsV2KeysSymPost201Response</returns>
72-
ApiResponse<KmsV2KeysSymPost201Response> CreateV2SharedSecretKeysVerifiWithHttpInfo (string vIcDomain, CreateSharedSecretKeysRequest1 createSharedSecretKeysRequest);
72+
ApiResponse<KmsV2KeysSymPost201Response> CreateV2SharedSecretKeysVerifiWithHttpInfo (string vIcDomain, CreateSharedSecretKeysVerifiRequest createSharedSecretKeysVerifiRequest);
7373
/// <summary>
7474
/// Delete one or more Symmetric keys
7575
/// </summary>
@@ -143,9 +143,9 @@ public interface ISymmetricKeyManagementApi : IApiAccessor
143143
/// </remarks>
144144
/// <exception cref="CyberSource.Client.ApiException">Thrown when fails to make API call</exception>
145145
/// <param name="vIcDomain">domain</param>
146-
/// <param name="createSharedSecretKeysRequest"></param>
146+
/// <param name="createSharedSecretKeysVerifiRequest"></param>
147147
/// <returns>Task of KmsV2KeysSymPost201Response</returns>
148-
System.Threading.Tasks.Task<KmsV2KeysSymPost201Response> CreateV2SharedSecretKeysVerifiAsync (string vIcDomain, CreateSharedSecretKeysRequest1 createSharedSecretKeysRequest);
148+
System.Threading.Tasks.Task<KmsV2KeysSymPost201Response> CreateV2SharedSecretKeysVerifiAsync (string vIcDomain, CreateSharedSecretKeysVerifiRequest createSharedSecretKeysVerifiRequest);
149149

150150
/// <summary>
151151
/// Create Shared-Secret Keys as per verifi spec
@@ -155,9 +155,9 @@ public interface ISymmetricKeyManagementApi : IApiAccessor
155155
/// </remarks>
156156
/// <exception cref="CyberSource.Client.ApiException">Thrown when fails to make API call</exception>
157157
/// <param name="vIcDomain">domain</param>
158-
/// <param name="createSharedSecretKeysRequest"></param>
158+
/// <param name="createSharedSecretKeysVerifiRequest"></param>
159159
/// <returns>Task of ApiResponse (KmsV2KeysSymPost201Response)</returns>
160-
System.Threading.Tasks.Task<ApiResponse<KmsV2KeysSymPost201Response>> CreateV2SharedSecretKeysVerifiAsyncWithHttpInfo (string vIcDomain, CreateSharedSecretKeysRequest1 createSharedSecretKeysRequest);
160+
System.Threading.Tasks.Task<ApiResponse<KmsV2KeysSymPost201Response>> CreateV2SharedSecretKeysVerifiAsyncWithHttpInfo (string vIcDomain, CreateSharedSecretKeysVerifiRequest createSharedSecretKeysVerifiRequest);
161161
/// <summary>
162162
/// Delete one or more Symmetric keys
163163
/// </summary>
@@ -517,12 +517,12 @@ public async System.Threading.Tasks.Task<ApiResponse<KmsV2KeysSymPost201Response
517517
/// </summary>
518518
/// <exception cref="CyberSource.Client.ApiException">Thrown when fails to make API call</exception>
519519
/// <param name="vIcDomain">domain</param>
520-
/// <param name="createSharedSecretKeysRequest"></param>
520+
/// <param name="createSharedSecretKeysVerifiRequest"></param>
521521
/// <returns>KmsV2KeysSymPost201Response</returns>
522-
public KmsV2KeysSymPost201Response CreateV2SharedSecretKeysVerifi (string vIcDomain, CreateSharedSecretKeysRequest1 createSharedSecretKeysRequest)
522+
public KmsV2KeysSymPost201Response CreateV2SharedSecretKeysVerifi (string vIcDomain, CreateSharedSecretKeysVerifiRequest createSharedSecretKeysVerifiRequest)
523523
{
524524
logger.Debug("CALLING API \"CreateV2SharedSecretKeysVerifi\" STARTED");
525-
ApiResponse<KmsV2KeysSymPost201Response> localVarResponse = CreateV2SharedSecretKeysVerifiWithHttpInfo(vIcDomain, createSharedSecretKeysRequest);
525+
ApiResponse<KmsV2KeysSymPost201Response> localVarResponse = CreateV2SharedSecretKeysVerifiWithHttpInfo(vIcDomain, createSharedSecretKeysVerifiRequest);
526526
logger.Debug("CALLING API \"CreateV2SharedSecretKeysVerifi\" ENDED");
527527
return localVarResponse.Data;
528528
}
@@ -532,9 +532,9 @@ public KmsV2KeysSymPost201Response CreateV2SharedSecretKeysVerifi (string vIcDom
532532
/// </summary>
533533
/// <exception cref="CyberSource.Client.ApiException">Thrown when fails to make API call</exception>
534534
/// <param name="vIcDomain">domain</param>
535-
/// <param name="createSharedSecretKeysRequest"></param>
535+
/// <param name="createSharedSecretKeysVerifiRequest"></param>
536536
/// <returns>ApiResponse of KmsV2KeysSymPost201Response</returns>
537-
public ApiResponse< KmsV2KeysSymPost201Response > CreateV2SharedSecretKeysVerifiWithHttpInfo (string vIcDomain, CreateSharedSecretKeysRequest1 createSharedSecretKeysRequest)
537+
public ApiResponse< KmsV2KeysSymPost201Response > CreateV2SharedSecretKeysVerifiWithHttpInfo (string vIcDomain, CreateSharedSecretKeysVerifiRequest createSharedSecretKeysVerifiRequest)
538538
{
539539
LogUtility logUtility = new LogUtility();
540540

@@ -544,11 +544,11 @@ public ApiResponse< KmsV2KeysSymPost201Response > CreateV2SharedSecretKeysVerifi
544544
logger.Error("ApiException : Missing required parameter 'vIcDomain' when calling SymmetricKeyManagementApi->CreateV2SharedSecretKeysVerifi");
545545
throw new ApiException(400, "Missing required parameter 'vIcDomain' when calling SymmetricKeyManagementApi->CreateV2SharedSecretKeysVerifi");
546546
}
547-
// verify the required parameter 'createSharedSecretKeysRequest' is set
548-
if (createSharedSecretKeysRequest == null)
547+
// verify the required parameter 'createSharedSecretKeysVerifiRequest' is set
548+
if (createSharedSecretKeysVerifiRequest == null)
549549
{
550-
logger.Error("ApiException : Missing required parameter 'createSharedSecretKeysRequest' when calling SymmetricKeyManagementApi->CreateV2SharedSecretKeysVerifi");
551-
throw new ApiException(400, "Missing required parameter 'createSharedSecretKeysRequest' when calling SymmetricKeyManagementApi->CreateV2SharedSecretKeysVerifi");
550+
logger.Error("ApiException : Missing required parameter 'createSharedSecretKeysVerifiRequest' when calling SymmetricKeyManagementApi->CreateV2SharedSecretKeysVerifi");
551+
throw new ApiException(400, "Missing required parameter 'createSharedSecretKeysVerifiRequest' when calling SymmetricKeyManagementApi->CreateV2SharedSecretKeysVerifi");
552552
}
553553

554554
var localVarPath = $"/kms/v2/keys-sym/verifi";
@@ -579,13 +579,13 @@ public ApiResponse< KmsV2KeysSymPost201Response > CreateV2SharedSecretKeysVerifi
579579
{
580580
localVarHeaderParams.Add("v-ic-domain", Configuration.ApiClient.ParameterToString(vIcDomain)); // header parameter
581581
}
582-
if (createSharedSecretKeysRequest != null && createSharedSecretKeysRequest.GetType() != typeof(byte[]))
582+
if (createSharedSecretKeysVerifiRequest != null && createSharedSecretKeysVerifiRequest.GetType() != typeof(byte[]))
583583
{
584-
localVarPostBody = Configuration.ApiClient.Serialize(createSharedSecretKeysRequest); // http body (model) parameter
584+
localVarPostBody = Configuration.ApiClient.Serialize(createSharedSecretKeysVerifiRequest); // http body (model) parameter
585585
}
586586
else
587587
{
588-
localVarPostBody = createSharedSecretKeysRequest; // byte array
588+
localVarPostBody = createSharedSecretKeysVerifiRequest; // byte array
589589
}
590590

591591
if (logUtility.IsMaskingEnabled(logger))
@@ -625,12 +625,12 @@ public ApiResponse< KmsV2KeysSymPost201Response > CreateV2SharedSecretKeysVerifi
625625
/// </summary>
626626
/// <exception cref="CyberSource.Client.ApiException">Thrown when fails to make API call</exception>
627627
/// <param name="vIcDomain">domain</param>
628-
/// <param name="createSharedSecretKeysRequest"></param>
628+
/// <param name="createSharedSecretKeysVerifiRequest"></param>
629629
/// <returns>Task of KmsV2KeysSymPost201Response</returns>
630-
public async System.Threading.Tasks.Task<KmsV2KeysSymPost201Response> CreateV2SharedSecretKeysVerifiAsync (string vIcDomain, CreateSharedSecretKeysRequest1 createSharedSecretKeysRequest)
630+
public async System.Threading.Tasks.Task<KmsV2KeysSymPost201Response> CreateV2SharedSecretKeysVerifiAsync (string vIcDomain, CreateSharedSecretKeysVerifiRequest createSharedSecretKeysVerifiRequest)
631631
{
632632
logger.Debug("CALLING API \"CreateV2SharedSecretKeysVerifiAsync\" STARTED");
633-
ApiResponse<KmsV2KeysSymPost201Response> localVarResponse = await CreateV2SharedSecretKeysVerifiAsyncWithHttpInfo(vIcDomain, createSharedSecretKeysRequest);
633+
ApiResponse<KmsV2KeysSymPost201Response> localVarResponse = await CreateV2SharedSecretKeysVerifiAsyncWithHttpInfo(vIcDomain, createSharedSecretKeysVerifiRequest);
634634
logger.Debug("CALLING API \"CreateV2SharedSecretKeysVerifiAsync\" STARTED");
635635
return localVarResponse.Data;
636636

@@ -641,9 +641,9 @@ public async System.Threading.Tasks.Task<KmsV2KeysSymPost201Response> CreateV2Sh
641641
/// </summary>
642642
/// <exception cref="CyberSource.Client.ApiException">Thrown when fails to make API call</exception>
643643
/// <param name="vIcDomain">domain</param>
644-
/// <param name="createSharedSecretKeysRequest"></param>
644+
/// <param name="createSharedSecretKeysVerifiRequest"></param>
645645
/// <returns>Task of ApiResponse (KmsV2KeysSymPost201Response)</returns>
646-
public async System.Threading.Tasks.Task<ApiResponse<KmsV2KeysSymPost201Response>> CreateV2SharedSecretKeysVerifiAsyncWithHttpInfo (string vIcDomain, CreateSharedSecretKeysRequest1 createSharedSecretKeysRequest)
646+
public async System.Threading.Tasks.Task<ApiResponse<KmsV2KeysSymPost201Response>> CreateV2SharedSecretKeysVerifiAsyncWithHttpInfo (string vIcDomain, CreateSharedSecretKeysVerifiRequest createSharedSecretKeysVerifiRequest)
647647
{
648648
LogUtility logUtility = new LogUtility();
649649

@@ -653,11 +653,11 @@ public async System.Threading.Tasks.Task<ApiResponse<KmsV2KeysSymPost201Response
653653
logger.Error("ApiException : Missing required parameter 'vIcDomain' when calling SymmetricKeyManagementApi->CreateV2SharedSecretKeysVerifi");
654654
throw new ApiException(400, "Missing required parameter 'vIcDomain' when calling SymmetricKeyManagementApi->CreateV2SharedSecretKeysVerifi");
655655
}
656-
// verify the required parameter 'createSharedSecretKeysRequest' is set
657-
if (createSharedSecretKeysRequest == null)
656+
// verify the required parameter 'createSharedSecretKeysVerifiRequest' is set
657+
if (createSharedSecretKeysVerifiRequest == null)
658658
{
659-
logger.Error("ApiException : Missing required parameter 'createSharedSecretKeysRequest' when calling SymmetricKeyManagementApi->CreateV2SharedSecretKeysVerifi");
660-
throw new ApiException(400, "Missing required parameter 'createSharedSecretKeysRequest' when calling SymmetricKeyManagementApi->CreateV2SharedSecretKeysVerifi");
659+
logger.Error("ApiException : Missing required parameter 'createSharedSecretKeysVerifiRequest' when calling SymmetricKeyManagementApi->CreateV2SharedSecretKeysVerifi");
660+
throw new ApiException(400, "Missing required parameter 'createSharedSecretKeysVerifiRequest' when calling SymmetricKeyManagementApi->CreateV2SharedSecretKeysVerifi");
661661
}
662662

663663
var localVarPath = $"/kms/v2/keys-sym/verifi";
@@ -688,13 +688,13 @@ public async System.Threading.Tasks.Task<ApiResponse<KmsV2KeysSymPost201Response
688688
{
689689
localVarHeaderParams.Add("v-ic-domain", Configuration.ApiClient.ParameterToString(vIcDomain)); // header parameter
690690
}
691-
if (createSharedSecretKeysRequest != null && createSharedSecretKeysRequest.GetType() != typeof(byte[]))
691+
if (createSharedSecretKeysVerifiRequest != null && createSharedSecretKeysVerifiRequest.GetType() != typeof(byte[]))
692692
{
693-
localVarPostBody = Configuration.ApiClient.Serialize(createSharedSecretKeysRequest); // http body (model) parameter
693+
localVarPostBody = Configuration.ApiClient.Serialize(createSharedSecretKeysVerifiRequest); // http body (model) parameter
694694
}
695695
else
696696
{
697-
localVarPostBody = createSharedSecretKeysRequest; // byte array
697+
localVarPostBody = createSharedSecretKeysVerifiRequest; // byte array
698698
}
699699

700700
if (logUtility.IsMaskingEnabled(logger))
Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,17 @@
2525
namespace CyberSource.Model
2626
{
2727
/// <summary>
28-
/// CreateSharedSecretKeysRequest1
28+
/// CreateSharedSecretKeysVerifiRequest
2929
/// </summary>
3030
[DataContract]
31-
public partial class CreateSharedSecretKeysRequest1 : IEquatable<CreateSharedSecretKeysRequest1>, IValidatableObject
31+
public partial class CreateSharedSecretKeysVerifiRequest : IEquatable<CreateSharedSecretKeysVerifiRequest>, IValidatableObject
3232
{
3333
/// <summary>
34-
/// Initializes a new instance of the <see cref="CreateSharedSecretKeysRequest1" /> class.
34+
/// Initializes a new instance of the <see cref="CreateSharedSecretKeysVerifiRequest" /> class.
3535
/// </summary>
3636
/// <param name="ClientReferenceInformation">ClientReferenceInformation.</param>
3737
/// <param name="KeyInformation">KeyInformation.</param>
38-
public CreateSharedSecretKeysRequest1(Kmsv2keyssymClientReferenceInformation ClientReferenceInformation = default(Kmsv2keyssymClientReferenceInformation), List<Kmsv2keyssymverifiKeyInformation> KeyInformation = default(List<Kmsv2keyssymverifiKeyInformation>))
38+
public CreateSharedSecretKeysVerifiRequest(Kmsv2keyssymClientReferenceInformation ClientReferenceInformation = default(Kmsv2keyssymClientReferenceInformation), List<Kmsv2keyssymverifiKeyInformation> KeyInformation = default(List<Kmsv2keyssymverifiKeyInformation>))
3939
{
4040
this.ClientReferenceInformation = ClientReferenceInformation;
4141
this.KeyInformation = KeyInformation;
@@ -60,7 +60,7 @@ public partial class CreateSharedSecretKeysRequest1 : IEquatable<CreateSharedSe
6060
public override string ToString()
6161
{
6262
var sb = new StringBuilder();
63-
sb.Append("class CreateSharedSecretKeysRequest1 {\n");
63+
sb.Append("class CreateSharedSecretKeysVerifiRequest {\n");
6464
sb.Append(" ClientReferenceInformation: ").Append(ClientReferenceInformation).Append("\n");
6565
sb.Append(" KeyInformation: ").Append(KeyInformation).Append("\n");
6666
sb.Append("}\n");
@@ -84,15 +84,15 @@ public string ToJson()
8484
public override bool Equals(object obj)
8585
{
8686
// credit: http://stackoverflow.com/a/10454552/677735
87-
return this.Equals(obj as CreateSharedSecretKeysRequest1);
87+
return this.Equals(obj as CreateSharedSecretKeysVerifiRequest);
8888
}
8989

9090
/// <summary>
91-
/// Returns true if CreateSharedSecretKeysRequest1 instances are equal
91+
/// Returns true if CreateSharedSecretKeysVerifiRequest instances are equal
9292
/// </summary>
93-
/// <param name="other">Instance of CreateSharedSecretKeysRequest1 to be compared</param>
93+
/// <param name="other">Instance of CreateSharedSecretKeysVerifiRequest to be compared</param>
9494
/// <returns>Boolean</returns>
95-
public bool Equals(CreateSharedSecretKeysRequest1 other)
95+
public bool Equals(CreateSharedSecretKeysVerifiRequest other)
9696
{
9797
// credit: http://stackoverflow.com/a/10454552/677735
9898
if (other == null)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# CyberSource.Model.CreateSharedSecretKeysRequest1
1+
# CyberSource.Model.CreateSharedSecretKeysVerifiRequest
22
## Properties
33

44
Name | Type | Description | Notes

0 commit comments

Comments
 (0)