Skip to content

Commit

Permalink
Support DryRun parameter OpenAPI.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Aug 13, 2024
1 parent fb649e7 commit 009091c
Show file tree
Hide file tree
Showing 15 changed files with 208 additions and 16 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2024-08-13 Version: 2.15.4
- Support DryRun parameter OpenAPI.

2024-08-13 Version: 2.16.25
-DescribeVodCertificateDetail, DescribeVodCertificateList增加返回参数

Expand Down
15 changes: 15 additions & 0 deletions aliyun-net-sdk-kms/Kms/Model/V20160120/AsymmetricDecryptRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ public AsymmetricDecryptRequest()
Method = MethodType.POST;
}

private string dryRun;

private string keyVersionId;

private string keyId;
Expand All @@ -49,6 +51,19 @@ public AsymmetricDecryptRequest()

private string algorithm;

public string DryRun
{
get
{
return dryRun;
}
set
{
dryRun = value;
DictionaryUtil.Add(QueryParameters, "DryRun", value);
}
}

public string KeyVersionId
{
get
Expand Down
15 changes: 15 additions & 0 deletions aliyun-net-sdk-kms/Kms/Model/V20160120/AsymmetricEncryptRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ public AsymmetricEncryptRequest()
Method = MethodType.POST;
}

private string dryRun;

private string keyVersionId;

private string keyId;
Expand All @@ -49,6 +51,19 @@ public AsymmetricEncryptRequest()

private string algorithm;

public string DryRun
{
get
{
return dryRun;
}
set
{
dryRun = value;
DictionaryUtil.Add(QueryParameters, "DryRun", value);
}
}

public string KeyVersionId
{
get
Expand Down
15 changes: 15 additions & 0 deletions aliyun-net-sdk-kms/Kms/Model/V20160120/AsymmetricSignRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ public AsymmetricSignRequest()
Method = MethodType.POST;
}

private string dryRun;

private string keyVersionId;

private string keyId;
Expand All @@ -49,6 +51,19 @@ public AsymmetricSignRequest()

private string algorithm;

public string DryRun
{
get
{
return dryRun;
}
set
{
dryRun = value;
DictionaryUtil.Add(QueryParameters, "DryRun", value);
}
}

public string KeyVersionId
{
get
Expand Down
15 changes: 15 additions & 0 deletions aliyun-net-sdk-kms/Kms/Model/V20160120/AsymmetricVerifyRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ public AsymmetricVerifyRequest()
Method = MethodType.POST;
}

private string dryRun;

private string keyVersionId;

private string keyId;
Expand All @@ -51,6 +53,19 @@ public AsymmetricVerifyRequest()

private string algorithm;

public string DryRun
{
get
{
return dryRun;
}
set
{
dryRun = value;
DictionaryUtil.Add(QueryParameters, "DryRun", value);
}
}

public string KeyVersionId
{
get
Expand Down
16 changes: 16 additions & 0 deletions aliyun-net-sdk-kms/Kms/Model/V20160120/DecryptRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,26 @@ public DecryptRequest()
Method = MethodType.POST;
}

private string dryRun;

private string encryptionContext;

private string ciphertextBlob;

[JsonProperty(PropertyName = "DryRun")]
public string DryRun
{
get
{
return dryRun;
}
set
{
dryRun = value;
DictionaryUtil.Add(QueryParameters, "DryRun", value);
}
}

[JsonProperty(PropertyName = "EncryptionContext")]
public string EncryptionContext
{
Expand Down
16 changes: 16 additions & 0 deletions aliyun-net-sdk-kms/Kms/Model/V20160120/EncryptRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,28 @@ public EncryptRequest()
Method = MethodType.POST;
}

private string dryRun;

private string keyId;

private string plaintext;

private string encryptionContext;

[JsonProperty(PropertyName = "DryRun")]
public string DryRun
{
get
{
return dryRun;
}
set
{
dryRun = value;
DictionaryUtil.Add(QueryParameters, "DryRun", value);
}
}

[JsonProperty(PropertyName = "KeyId")]
public string KeyId
{
Expand Down
21 changes: 16 additions & 5 deletions aliyun-net-sdk-kms/Kms/Model/V20160120/ExportDataKeyRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ public ExportDataKeyRequest()
Method = MethodType.POST;
}

private string dryRun;

private string publicKeyBlob;

private string encryptionContext;
Expand All @@ -52,6 +54,20 @@ public ExportDataKeyRequest()

private string wrappingKeySpec;

[JsonProperty(PropertyName = "DryRun")]
public string DryRun
{
get
{
return dryRun;
}
set
{
dryRun = value;
DictionaryUtil.Add(QueryParameters, "DryRun", value);
}
}

[JsonProperty(PropertyName = "PublicKeyBlob")]
public string PublicKeyBlob
{
Expand Down Expand Up @@ -120,11 +136,6 @@ public string WrappingKeySpec
wrappingKeySpec = value;
DictionaryUtil.Add(QueryParameters, "WrappingKeySpec", value);
}
}

public override bool CheckShowJsonItemName()
{
return false;
}

public override ExportDataKeyResponse GetResponse(UnmarshallerContext unmarshallerContext)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ public GenerateAndExportDataKeyRequest()
Method = MethodType.POST;
}

private string dryRun;

private string keyId;

private string keySpec;
Expand All @@ -56,6 +58,20 @@ public GenerateAndExportDataKeyRequest()

private string wrappingKeySpec;

[JsonProperty(PropertyName = "DryRun")]
public string DryRun
{
get
{
return dryRun;
}
set
{
dryRun = value;
DictionaryUtil.Add(QueryParameters, "DryRun", value);
}
}

[JsonProperty(PropertyName = "KeyId")]
public string KeyId
{
Expand Down Expand Up @@ -152,11 +168,6 @@ public string WrappingKeySpec
wrappingKeySpec = value;
DictionaryUtil.Add(QueryParameters, "WrappingKeySpec", value);
}
}

public override bool CheckShowJsonItemName()
{
return false;
}

public override GenerateAndExportDataKeyResponse GetResponse(UnmarshallerContext unmarshallerContext)
Expand Down
16 changes: 16 additions & 0 deletions aliyun-net-sdk-kms/Kms/Model/V20160120/GenerateDataKeyRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ public GenerateDataKeyRequest()
Method = MethodType.POST;
}

private string dryRun;

private string keyId;

private string keySpec;
Expand All @@ -50,6 +52,20 @@ public GenerateDataKeyRequest()

private string encryptionContext;

[JsonProperty(PropertyName = "DryRun")]
public string DryRun
{
get
{
return dryRun;
}
set
{
dryRun = value;
DictionaryUtil.Add(QueryParameters, "DryRun", value);
}
}

[JsonProperty(PropertyName = "KeyId")]
public string KeyId
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ public GenerateDataKeyWithoutPlaintextRequest()
Method = MethodType.POST;
}

private string dryRun;

private string keyId;

private string keySpec;
Expand All @@ -50,6 +52,20 @@ public GenerateDataKeyWithoutPlaintextRequest()

private string encryptionContext;

[JsonProperty(PropertyName = "DryRun")]
public string DryRun
{
get
{
return dryRun;
}
set
{
dryRun = value;
DictionaryUtil.Add(QueryParameters, "DryRun", value);
}
}

[JsonProperty(PropertyName = "KeyId")]
public string KeyId
{
Expand Down
16 changes: 16 additions & 0 deletions aliyun-net-sdk-kms/Kms/Model/V20160120/GetPublicKeyRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,26 @@ public GetPublicKeyRequest()
Method = MethodType.POST;
}

private string dryRun;

private string keyVersionId;

private string keyId;

[JsonProperty(PropertyName = "DryRun")]
public string DryRun
{
get
{
return dryRun;
}
set
{
dryRun = value;
DictionaryUtil.Add(QueryParameters, "DryRun", value);
}
}

[JsonProperty(PropertyName = "KeyVersionId")]
public string KeyVersionId
{
Expand Down
16 changes: 16 additions & 0 deletions aliyun-net-sdk-kms/Kms/Model/V20160120/GetSecretValueRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ public GetSecretValueRequest()
Method = MethodType.POST;
}

private string dryRun;

private string versionId;

private string versionStage;
Expand All @@ -50,6 +52,20 @@ public GetSecretValueRequest()

private bool? fetchExtendedConfig;

[JsonProperty(PropertyName = "DryRun")]
public string DryRun
{
get
{
return dryRun;
}
set
{
dryRun = value;
DictionaryUtil.Add(QueryParameters, "DryRun", value);
}
}

[JsonProperty(PropertyName = "VersionId")]
public string VersionId
{
Expand Down
Loading

0 comments on commit 009091c

Please sign in to comment.