Skip to content

Commit

Permalink
Generated 2015-12-01 for Dds.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Aug 1, 2024
1 parent 79a7d80 commit 792cca8
Show file tree
Hide file tree
Showing 7 changed files with 76 additions and 28 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2024-08-01 Version: 3.7.18
- Generated 2015-12-01 for `Dds`.

2024-08-01 Version: 3.9.57
- Update to support new apis.

Expand Down
2 changes: 1 addition & 1 deletion aliyun-net-sdk-dds/Dds/Endpoint.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public class Endpoint
{ "ap-northeast-1", "mongodb.ap-northeast-1.aliyuncs.com" },
{ "cn-huhehaote-nebula-1", "mongodb.aliyuncs.com" },
{ "cn-shanghai-et2-b01", "mongodb.aliyuncs.com" },
{ "ap-southeast-1", "mongodb.aliyuncs.com" },
{ "ap-southeast-1", "mongodb.ap-southeast-1.aliyuncs.com" },
{ "ap-southeast-2", "mongodb.ap-southeast-2.aliyuncs.com" },
{ "ap-southeast-3", "mongodb.ap-southeast-3.aliyuncs.com" },
{ "ap-southeast-5", "mongodb.ap-southeast-5.aliyuncs.com" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,12 @@ public MigrateAvailableZoneRequest()

private long? resourceOwnerId;

private string secondaryZoneId;

private string effectiveTime;

private string hiddenZoneId;

private string dBInstanceId;

private string resourceOwnerAccount;
Expand All @@ -69,6 +73,19 @@ public long? ResourceOwnerId
}
}

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

public string EffectiveTime
{
get
Expand All @@ -82,6 +99,19 @@ public string EffectiveTime
}
}

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

public string DBInstanceId
{
get
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@

namespace Aliyun.Acs.Dds.Model.V20151201
{
public class RestoreDBInstanceRequest : RpcAcsRequest<RestoreDBInstanceResponse>
public class RestartNodeRequest : RpcAcsRequest<RestartNodeResponse>
{
public RestoreDBInstanceRequest()
: base("Dds", "2015-12-01", "RestoreDBInstance", "dds", "openAPI")
public RestartNodeRequest()
: base("Dds", "2015-12-01", "RestartNode", "dds", "openAPI")
{
if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null)
{
Expand All @@ -42,14 +42,16 @@ public RestoreDBInstanceRequest()

private long? resourceOwnerId;

private string roleId;

private string dBInstanceId;

private string nodeId;

private string resourceOwnerAccount;

private string ownerAccount;

private int? backupId;

private long? ownerId;

public long? ResourceOwnerId
Expand All @@ -65,6 +67,19 @@ public long? ResourceOwnerId
}
}

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

public string DBInstanceId
{
get
Expand All @@ -78,42 +93,42 @@ public string DBInstanceId
}
}

public string ResourceOwnerAccount
public string NodeId
{
get
{
return resourceOwnerAccount;
return nodeId;
}
set
{
resourceOwnerAccount = value;
DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value);
nodeId = value;
DictionaryUtil.Add(QueryParameters, "NodeId", value);
}
}

public string OwnerAccount
public string ResourceOwnerAccount
{
get
{
return ownerAccount;
return resourceOwnerAccount;
}
set
{
ownerAccount = value;
DictionaryUtil.Add(QueryParameters, "OwnerAccount", value);
resourceOwnerAccount = value;
DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value);
}
}

public int? BackupId
public string OwnerAccount
{
get
{
return backupId;
return ownerAccount;
}
set
{
backupId = value;
DictionaryUtil.Add(QueryParameters, "BackupId", value.ToString());
ownerAccount = value;
DictionaryUtil.Add(QueryParameters, "OwnerAccount", value);
}
}

Expand All @@ -130,9 +145,9 @@ public long? OwnerId
}
}

public override RestoreDBInstanceResponse GetResponse(UnmarshallerContext unmarshallerContext)
public override RestartNodeResponse GetResponse(UnmarshallerContext unmarshallerContext)
{
return RestoreDBInstanceResponseUnmarshaller.Unmarshall(unmarshallerContext);
return RestartNodeResponseUnmarshaller.Unmarshall(unmarshallerContext);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

namespace Aliyun.Acs.Dds.Model.V20151201
{
public class RestoreDBInstanceResponse : AcsResponse
public class RestartNodeResponse : AcsResponse
{

private string requestId;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,16 @@

namespace Aliyun.Acs.Dds.Transform.V20151201
{
public class RestoreDBInstanceResponseUnmarshaller
public class RestartNodeResponseUnmarshaller
{
public static RestoreDBInstanceResponse Unmarshall(UnmarshallerContext _ctx)
public static RestartNodeResponse Unmarshall(UnmarshallerContext _ctx)
{
RestoreDBInstanceResponse restoreDBInstanceResponse = new RestoreDBInstanceResponse();
RestartNodeResponse restartNodeResponse = new RestartNodeResponse();

restoreDBInstanceResponse.HttpResponse = _ctx.HttpResponse;
restoreDBInstanceResponse.RequestId = _ctx.StringValue("RestoreDBInstance.RequestId");
restartNodeResponse.HttpResponse = _ctx.HttpResponse;
restartNodeResponse.RequestId = _ctx.StringValue("RestartNode.RequestId");

return restoreDBInstanceResponse;
return restartNodeResponse;
}
}
}
2 changes: 1 addition & 1 deletion aliyun-net-sdk-dds/aliyun-net-sdk-dds.vs2017.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFrameworks>netstandard2.0;net45</TargetFrameworks>
<RootNamespace>Aliyun.Acs.Dds</RootNamespace>
<Version>3.7.17</Version>
<Version>3.7.18</Version>
<Authors>Alibaba Cloud</Authors>
<Copyright>©2009-2019 Alibaba Cloud</Copyright>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
Expand Down

0 comments on commit 792cca8

Please sign in to comment.