Skip to content

Commit aab2400

Browse files
committed
april-22 changes
1 parent 1228aa3 commit aab2400

10 files changed

+66
-66
lines changed

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))

Model/CreateSharedSecretKeysRequest1.cs renamed to Model/CreateSharedSecretKeysVerifiRequest.cs

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)

cybersource-rest-client-dotnet.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ OpenAPI spec version: 0.0.1
1212

1313
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
1414
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
15-
<ProjectGuid>{BFBBDA15-4C78-4924-AA89-8057C77BA052}</ProjectGuid>
15+
<ProjectGuid>{BE688374-90A6-4DA2-8C3F-9A685CDC9F89}</ProjectGuid>
1616
<OutputType>Library</OutputType>
1717
<AppDesignerFolder>Properties</AppDesignerFolder>
1818
<RootNamespace>CyberSource</RootNamespace>

cybersource-rest-client-dotnet.sln

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
22
# Visual Studio 14
33
VisualStudioVersion = 14.0.25420.1
44
MinimumVisualStudioVersion = 10.0.40219.1
5-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "cybersource-rest-client-dotnet", "cybersource-rest-client-dotnet.csproj", "{BFBBDA15-4C78-4924-AA89-8057C77BA052}"
5+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "cybersource-rest-client-dotnet", "cybersource-rest-client-dotnet.csproj", "{BE688374-90A6-4DA2-8C3F-9A685CDC9F89}"
66
EndProject
77
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "cybersource-rest-client-dotnet.Test", "test\cybersource-rest-client-dotnet.Test.csproj", "{19F1DEBC-DE5E-4517-8062-F000CD499087}"
88
EndProject
@@ -12,10 +12,10 @@ Global
1212
Release|Any CPU = Release|Any CPU
1313
EndGlobalSection
1414
GlobalSection(ProjectConfigurationPlatforms) = postSolution
15-
{BFBBDA15-4C78-4924-AA89-8057C77BA052}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
16-
{BFBBDA15-4C78-4924-AA89-8057C77BA052}.Debug|Any CPU.Build.0 = Debug|Any CPU
17-
{BFBBDA15-4C78-4924-AA89-8057C77BA052}.Release|Any CPU.ActiveCfg = Release|Any CPU
18-
{BFBBDA15-4C78-4924-AA89-8057C77BA052}.Release|Any CPU.Build.0 = Release|Any CPU
15+
{BE688374-90A6-4DA2-8C3F-9A685CDC9F89}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
16+
{BE688374-90A6-4DA2-8C3F-9A685CDC9F89}.Debug|Any CPU.Build.0 = Debug|Any CPU
17+
{BE688374-90A6-4DA2-8C3F-9A685CDC9F89}.Release|Any CPU.ActiveCfg = Release|Any CPU
18+
{BE688374-90A6-4DA2-8C3F-9A685CDC9F89}.Release|Any CPU.Build.0 = Release|Any CPU
1919
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
2020
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.Build.0 = Debug|Any CPU
2121
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.ActiveCfg = Release|Any CPU

docs/CreateSharedSecretKeysRequest1.md renamed to docs/CreateSharedSecretKeysVerifiRequest.md

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)