Skip to content

Commit 4290aa5

Browse files
committed
Generated 2017-08-01 for polardb.
1 parent ff747ef commit 4290aa5

File tree

78 files changed

+4476
-320
lines changed

Some content is hidden

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

78 files changed

+4476
-320
lines changed

CHANGELOG

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2024-11-18 Version: 1.8.21
2+
- Generated 2017-08-01 for `polardb`.
3+
14
2024-11-13 Version: 3.13.19
25
- Supported AndroidMessageOppoCategory, AndroidMessageOppoNotifyLevel for Push and MassPush.
36

aliyun-net-sdk-polardb/Polardb/Endpoint.cs

+1-3
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ public class Endpoint
4444
{ "cn-hongkong", "polardb.aliyuncs.com" },
4545
{ "cn-beijing-finance-pop", "polardb.aliyuncs.com" },
4646
{ "cn-wuhan", "polardb.aliyuncs.com" },
47-
{ "us-west-1", "polardb.aliyuncs.com" },
4847
{ "cn-zhangbei", "polardb.aliyuncs.com" },
4948
{ "cn-shenzhen", "polardb.aliyuncs.com" },
5049
{ "cn-zhengzhou-nebula-1", "polardb.aliyuncs.com" },
@@ -61,11 +60,10 @@ public class Endpoint
6160
{ "cn-hangzhou-test-306", "polardb.aliyuncs.com" },
6261
{ "cn-huhehaote-nebula-1", "polardb.aliyuncs.com" },
6362
{ "cn-shanghai-et2-b01", "polardb.aliyuncs.com" },
63+
{ "cn-guangzhou", "polardb.aliyuncs.com" },
6464
{ "cn-hangzhou-finance", "polardb.aliyuncs.com" },
65-
{ "ap-southeast-1", "polardb.aliyuncs.com" },
6665
{ "cn-beijing-nu16-b01", "polardb.aliyuncs.com" },
6766
{ "cn-edge-1", "polardb.aliyuncs.com" },
68-
{ "us-east-1", "polardb.aliyuncs.com" },
6967
{ "cn-fujian", "polardb.aliyuncs.com" },
7068
{ "ap-northeast-2-pop", "polardb.aliyuncs.com" },
7169
{ "cn-shenzhen-inner", "polardb.aliyuncs.com" },
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,189 @@
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.polardb.Transform;
26+
using Aliyun.Acs.polardb.Transform.V20170801;
27+
28+
namespace Aliyun.Acs.polardb.Model.V20170801
29+
{
30+
public class CreateActivationCodeRequest : RpcAcsRequest<CreateActivationCodeResponse>
31+
{
32+
public CreateActivationCodeRequest()
33+
: base("polardb", "2017-08-01", "CreateActivationCode", "polardb", "openAPI")
34+
{
35+
if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null)
36+
{
37+
this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.polardb.Endpoint.endpointMap, null);
38+
this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.polardb.Endpoint.endpointRegionalType, null);
39+
}
40+
Protocol = ProtocolType.HTTPS;
41+
Method = MethodType.POST;
42+
}
43+
44+
private long? resourceOwnerId;
45+
46+
private string description;
47+
48+
private string aliyunOrderId;
49+
50+
private string macAddress;
51+
52+
private string systemIdentifier;
53+
54+
private string resourceOwnerAccount;
55+
56+
private string ownerAccount;
57+
58+
private long? ownerId;
59+
60+
private string name;
61+
62+
public long? ResourceOwnerId
63+
{
64+
get
65+
{
66+
return resourceOwnerId;
67+
}
68+
set
69+
{
70+
resourceOwnerId = value;
71+
DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString());
72+
}
73+
}
74+
75+
public string Description
76+
{
77+
get
78+
{
79+
return description;
80+
}
81+
set
82+
{
83+
description = value;
84+
DictionaryUtil.Add(QueryParameters, "Description", value);
85+
}
86+
}
87+
88+
public string AliyunOrderId
89+
{
90+
get
91+
{
92+
return aliyunOrderId;
93+
}
94+
set
95+
{
96+
aliyunOrderId = value;
97+
DictionaryUtil.Add(QueryParameters, "AliyunOrderId", value);
98+
}
99+
}
100+
101+
public string MacAddress
102+
{
103+
get
104+
{
105+
return macAddress;
106+
}
107+
set
108+
{
109+
macAddress = value;
110+
DictionaryUtil.Add(QueryParameters, "MacAddress", value);
111+
}
112+
}
113+
114+
public string SystemIdentifier
115+
{
116+
get
117+
{
118+
return systemIdentifier;
119+
}
120+
set
121+
{
122+
systemIdentifier = value;
123+
DictionaryUtil.Add(QueryParameters, "SystemIdentifier", value);
124+
}
125+
}
126+
127+
public string ResourceOwnerAccount
128+
{
129+
get
130+
{
131+
return resourceOwnerAccount;
132+
}
133+
set
134+
{
135+
resourceOwnerAccount = value;
136+
DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value);
137+
}
138+
}
139+
140+
public string OwnerAccount
141+
{
142+
get
143+
{
144+
return ownerAccount;
145+
}
146+
set
147+
{
148+
ownerAccount = value;
149+
DictionaryUtil.Add(QueryParameters, "OwnerAccount", value);
150+
}
151+
}
152+
153+
public long? OwnerId
154+
{
155+
get
156+
{
157+
return ownerId;
158+
}
159+
set
160+
{
161+
ownerId = value;
162+
DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString());
163+
}
164+
}
165+
166+
public string Name
167+
{
168+
get
169+
{
170+
return name;
171+
}
172+
set
173+
{
174+
name = value;
175+
DictionaryUtil.Add(QueryParameters, "Name", value);
176+
}
177+
}
178+
179+
public override bool CheckShowJsonItemName()
180+
{
181+
return false;
182+
}
183+
184+
public override CreateActivationCodeResponse GetResponse(UnmarshallerContext unmarshallerContext)
185+
{
186+
return CreateActivationCodeResponseUnmarshaller.Unmarshall(unmarshallerContext);
187+
}
188+
}
189+
}

0 commit comments

Comments
 (0)