Skip to content

Commit b99a7ce

Browse files
committed
Generated 2019-03-27 for dg.
1 parent ae9f0ef commit b99a7ce

File tree

66 files changed

+5473
-0
lines changed

Some content is hidden

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

66 files changed

+5473
-0
lines changed

CHANGELOG

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2021-01-18 Version: 1.0.9
2+
- Generated 2019-03-27 for `dg`.
3+
14
2021-01-18 Version: 7.20.0
25
- Add a set of API to support device distribution management, including CreateProductDistributeJob, CreateDeviceDistributeJob, QueryDeviceDistributeJob, ListDeviceDistributeJob, QueryDeviceDistributeDetail, DeleteDeviceDistributeJob, ListDistributedDevice, ListDistributedProduct etc.
36

aliyun-net-sdk-dg/Dg/Endpoint.cs

+85
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one
3+
* or more contributor license agreements. See the NOTICE file
4+
* distributed with this work for additional information
5+
* regarding copyright ownership. The ASF licenses this file
6+
* to you under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance
8+
* with the License. You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing,
13+
* software distributed under the License is distributed on an
14+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
* KIND, either express or implied. See the License for the
16+
* specific language governing permissions and limitations
17+
* under the License.
18+
*/
19+
20+
using System.Collections.Generic;
21+
22+
namespace Aliyun.Acs.dg
23+
{
24+
public class Endpoint
25+
{
26+
public static Dictionary<string, string> endpointMap = new Dictionary<string, string>()
27+
{
28+
{ "cn-shanghai-internal-test-1", "dg.aliyuncs.com" },
29+
{ "cn-shenzhen-su18-b01", "dg.aliyuncs.com" },
30+
{ "cn-beijing", "dg.aliyuncs.com" },
31+
{ "cn-shanghai-inner", "dg.aliyuncs.com" },
32+
{ "cn-hangzhou-internal-prod-1", "dg.aliyuncs.com" },
33+
{ "cn-north-2-gov-1", "dg.aliyuncs.com" },
34+
{ "cn-yushanfang", "dg.aliyuncs.com" },
35+
{ "cn-qingdao-nebula", "dg.aliyuncs.com" },
36+
{ "cn-beijing-finance-pop", "dg.aliyuncs.com" },
37+
{ "cn-wuhan", "dg.aliyuncs.com" },
38+
{ "cn-zhangjiakou", "dg.aliyuncs.com" },
39+
{ "us-west-1", "dg.aliyuncs.com" },
40+
{ "rus-west-1-pop", "dg.aliyuncs.com" },
41+
{ "cn-shanghai-et15-b01", "dg.aliyuncs.com" },
42+
{ "cn-hangzhou-bj-b01", "dg.aliyuncs.com" },
43+
{ "cn-zhangbei-na61-b01", "dg.aliyuncs.com" },
44+
{ "ap-northeast-1", "dg.aliyuncs.com" },
45+
{ "cn-shanghai-et2-b01", "dg.aliyuncs.com" },
46+
{ "ap-southeast-1", "dg.aliyuncs.com" },
47+
{ "ap-southeast-2", "dg.aliyuncs.com" },
48+
{ "ap-southeast-3", "dg.aliyuncs.com" },
49+
{ "ap-southeast-5", "dg.aliyuncs.com" },
50+
{ "us-east-1", "dg.aliyuncs.com" },
51+
{ "cn-shenzhen-inner", "dg.aliyuncs.com" },
52+
{ "cn-zhangjiakou-na62-a01", "dg.aliyuncs.com" },
53+
{ "cn-beijing-gov-1", "dg.aliyuncs.com" },
54+
{ "ap-south-1", "dg.aliyuncs.com" },
55+
{ "cn-shenzhen-st4-d01", "dg.aliyuncs.com" },
56+
{ "cn-haidian-cm12-c01", "dg.aliyuncs.com" },
57+
{ "cn-qingdao", "dg.aliyuncs.com" },
58+
{ "cn-hongkong-finance-pop", "dg.aliyuncs.com" },
59+
{ "cn-shanghai", "dg.aliyuncs.com" },
60+
{ "cn-shanghai-finance-1", "dg.aliyuncs.com" },
61+
{ "cn-hongkong", "dg.aliyuncs.com" },
62+
{ "eu-central-1", "dg.aliyuncs.com" },
63+
{ "cn-shenzhen", "dg.aliyuncs.com" },
64+
{ "cn-zhengzhou-nebula-1", "dg.aliyuncs.com" },
65+
{ "eu-west-1", "dg.aliyuncs.com" },
66+
{ "cn-hangzhou-internal-test-1", "dg.aliyuncs.com" },
67+
{ "eu-west-1-oxs", "dg.aliyuncs.com" },
68+
{ "cn-beijing-finance-1", "dg.aliyuncs.com" },
69+
{ "cn-hangzhou-internal-test-3", "dg.aliyuncs.com" },
70+
{ "cn-hangzhou-internal-test-2", "dg.aliyuncs.com" },
71+
{ "cn-shenzhen-finance-1", "dg.aliyuncs.com" },
72+
{ "me-east-1", "dg.aliyuncs.com" },
73+
{ "cn-chengdu", "dg.aliyuncs.com" },
74+
{ "cn-hangzhou-test-306", "dg.aliyuncs.com" },
75+
{ "cn-hangzhou-finance", "dg.aliyuncs.com" },
76+
{ "cn-beijing-nu16-b01", "dg.aliyuncs.com" },
77+
{ "cn-edge-1", "dg.aliyuncs.com" },
78+
{ "cn-huhehaote", "dg.aliyuncs.com" },
79+
{ "cn-fujian", "dg.aliyuncs.com" },
80+
{ "ap-northeast-2-pop", "dg.aliyuncs.com" },
81+
};
82+
83+
public static string endpointRegionalType = "regional";
84+
}
85+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one
3+
* or more contributor license agreements. See the NOTICE file
4+
* distributed with this work for additional information
5+
* regarding copyright ownership. The ASF licenses this file
6+
* to you under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance
8+
* with the License. You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing,
13+
* software distributed under the License is distributed on an
14+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
* KIND, either express or implied. See the License for the
16+
* specific language governing permissions and limitations
17+
* under the License.
18+
*/
19+
using System.Collections.Generic;
20+
21+
using Aliyun.Acs.Core;
22+
using Aliyun.Acs.Core.Http;
23+
using Aliyun.Acs.Core.Transform;
24+
using Aliyun.Acs.Core.Utils;
25+
using Aliyun.Acs.dg.Transform;
26+
using Aliyun.Acs.dg.Transform.V20190327;
27+
28+
namespace Aliyun.Acs.dg.Model.V20190327
29+
{
30+
public class AddDatabaseListRequest : RpcAcsRequest<AddDatabaseListResponse>
31+
{
32+
public AddDatabaseListRequest()
33+
: base("dg", "2019-03-27", "AddDatabaseList", "dg", "openAPI")
34+
{
35+
if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null)
36+
{
37+
this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.dg.Endpoint.endpointMap, null);
38+
this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.dg.Endpoint.endpointRegionalType, null);
39+
}
40+
Method = MethodType.POST;
41+
}
42+
43+
private string databaseString;
44+
45+
private string clientToken;
46+
47+
public string DatabaseString
48+
{
49+
get
50+
{
51+
return databaseString;
52+
}
53+
set
54+
{
55+
databaseString = value;
56+
DictionaryUtil.Add(BodyParameters, "DatabaseString", value);
57+
}
58+
}
59+
60+
public string ClientToken
61+
{
62+
get
63+
{
64+
return clientToken;
65+
}
66+
set
67+
{
68+
clientToken = value;
69+
DictionaryUtil.Add(BodyParameters, "ClientToken", value);
70+
}
71+
}
72+
73+
public override bool CheckShowJsonItemName()
74+
{
75+
return false;
76+
}
77+
78+
public override AddDatabaseListResponse GetResponse(UnmarshallerContext unmarshallerContext)
79+
{
80+
return AddDatabaseListResponseUnmarshaller.Unmarshall(unmarshallerContext);
81+
}
82+
}
83+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one
3+
* or more contributor license agreements. See the NOTICE file
4+
* distributed with this work for additional information
5+
* regarding copyright ownership. The ASF licenses this file
6+
* to you under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance
8+
* with the License. You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing,
13+
* software distributed under the License is distributed on an
14+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
* KIND, either express or implied. See the License for the
16+
* specific language governing permissions and limitations
17+
* under the License.
18+
*/
19+
using System.Collections.Generic;
20+
21+
using Aliyun.Acs.Core;
22+
23+
namespace Aliyun.Acs.dg.Model.V20190327
24+
{
25+
public class AddDatabaseListResponse : AcsResponse
26+
{
27+
28+
private string requestId;
29+
30+
private bool? success;
31+
32+
private string code;
33+
34+
private string errorMsg;
35+
36+
private string data;
37+
38+
public string RequestId
39+
{
40+
get
41+
{
42+
return requestId;
43+
}
44+
set
45+
{
46+
requestId = value;
47+
}
48+
}
49+
50+
public bool? Success
51+
{
52+
get
53+
{
54+
return success;
55+
}
56+
set
57+
{
58+
success = value;
59+
}
60+
}
61+
62+
public string Code
63+
{
64+
get
65+
{
66+
return code;
67+
}
68+
set
69+
{
70+
code = value;
71+
}
72+
}
73+
74+
public string ErrorMsg
75+
{
76+
get
77+
{
78+
return errorMsg;
79+
}
80+
set
81+
{
82+
errorMsg = value;
83+
}
84+
}
85+
86+
public string Data
87+
{
88+
get
89+
{
90+
return data;
91+
}
92+
set
93+
{
94+
data = value;
95+
}
96+
}
97+
}
98+
}

0 commit comments

Comments
 (0)