Skip to content

Commit c653e04

Browse files
committed
SMARTAG SDK Auto Released By jijun.jj,Version:1.2.0
发布日志: 1, Add cross domain support. 2, Add parameter SerialNumber to interface RebootSmartAccessGateway.
1 parent 143598e commit c653e04

File tree

66 files changed

+6402
-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

+6402
-0
lines changed

aliyun-net-sdk-smartag/ChangeLog.txt

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
2018-08-13 Version: 1.2.0
2+
1, Add cross domain support.
3+
2, Add parameter SerialNumber to interface RebootSmartAccessGateway.
4+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,146 @@
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 Aliyun.Acs.Core;
20+
using Aliyun.Acs.Core.Http;
21+
using Aliyun.Acs.Core.Transform;
22+
using Aliyun.Acs.Core.Utils;
23+
using Aliyun.Acs.Smartag.Transform;
24+
using Aliyun.Acs.Smartag.Transform.V20180313;
25+
using System.Collections.Generic;
26+
27+
namespace Aliyun.Acs.Smartag.Model.V20180313
28+
{
29+
public class ActivateSmartAccessGatewayRequest : RpcAcsRequest<ActivateSmartAccessGatewayResponse>
30+
{
31+
public ActivateSmartAccessGatewayRequest()
32+
: base("Smartag", "2018-03-13", "ActivateSmartAccessGateway", "smartag", "openAPI")
33+
{
34+
}
35+
36+
private long? resourceOwnerId;
37+
38+
private string resourceOwnerAccount;
39+
40+
private string regionId;
41+
42+
private string ownerAccount;
43+
44+
private string action;
45+
46+
private string smartAGId;
47+
48+
private long? ownerId;
49+
50+
public long? ResourceOwnerId
51+
{
52+
get
53+
{
54+
return resourceOwnerId;
55+
}
56+
set
57+
{
58+
resourceOwnerId = value;
59+
DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString());
60+
}
61+
}
62+
63+
public string ResourceOwnerAccount
64+
{
65+
get
66+
{
67+
return resourceOwnerAccount;
68+
}
69+
set
70+
{
71+
resourceOwnerAccount = value;
72+
DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value);
73+
}
74+
}
75+
76+
public string RegionId
77+
{
78+
get
79+
{
80+
return regionId;
81+
}
82+
set
83+
{
84+
regionId = value;
85+
DictionaryUtil.Add(QueryParameters, "RegionId", value);
86+
}
87+
}
88+
89+
public string OwnerAccount
90+
{
91+
get
92+
{
93+
return ownerAccount;
94+
}
95+
set
96+
{
97+
ownerAccount = value;
98+
DictionaryUtil.Add(QueryParameters, "OwnerAccount", value);
99+
}
100+
}
101+
102+
public string Action
103+
{
104+
get
105+
{
106+
return action;
107+
}
108+
set
109+
{
110+
action = value;
111+
DictionaryUtil.Add(QueryParameters, "Action", value);
112+
}
113+
}
114+
115+
public string SmartAGId
116+
{
117+
get
118+
{
119+
return smartAGId;
120+
}
121+
set
122+
{
123+
smartAGId = value;
124+
DictionaryUtil.Add(QueryParameters, "SmartAGId", value);
125+
}
126+
}
127+
128+
public long? OwnerId
129+
{
130+
get
131+
{
132+
return ownerId;
133+
}
134+
set
135+
{
136+
ownerId = value;
137+
DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString());
138+
}
139+
}
140+
141+
public override ActivateSmartAccessGatewayResponse GetResponse(Core.Transform.UnmarshallerContext unmarshallerContext)
142+
{
143+
return ActivateSmartAccessGatewayResponseUnmarshaller.Unmarshall(unmarshallerContext);
144+
}
145+
}
146+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
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 Aliyun.Acs.Core;
20+
using System.Collections.Generic;
21+
22+
namespace Aliyun.Acs.Smartag.Model.V20180313
23+
{
24+
public class ActivateSmartAccessGatewayResponse : AcsResponse
25+
{
26+
27+
private string requestId;
28+
29+
public string RequestId
30+
{
31+
get
32+
{
33+
return requestId;
34+
}
35+
set
36+
{
37+
requestId = value;
38+
}
39+
}
40+
}
41+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,161 @@
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 Aliyun.Acs.Core;
20+
using Aliyun.Acs.Core.Http;
21+
using Aliyun.Acs.Core.Transform;
22+
using Aliyun.Acs.Core.Utils;
23+
using Aliyun.Acs.Smartag.Transform;
24+
using Aliyun.Acs.Smartag.Transform.V20180313;
25+
using System.Collections.Generic;
26+
27+
namespace Aliyun.Acs.Smartag.Model.V20180313
28+
{
29+
public class BindSmartAccessGatewayRequest : RpcAcsRequest<BindSmartAccessGatewayResponse>
30+
{
31+
public BindSmartAccessGatewayRequest()
32+
: base("Smartag", "2018-03-13", "BindSmartAccessGateway", "smartag", "openAPI")
33+
{
34+
}
35+
36+
private long? resourceOwnerId;
37+
38+
private string resourceOwnerAccount;
39+
40+
private string regionId;
41+
42+
private string ownerAccount;
43+
44+
private string ccnId;
45+
46+
private string smartAGId;
47+
48+
private string action;
49+
50+
private long? ownerId;
51+
52+
public long? ResourceOwnerId
53+
{
54+
get
55+
{
56+
return resourceOwnerId;
57+
}
58+
set
59+
{
60+
resourceOwnerId = value;
61+
DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString());
62+
}
63+
}
64+
65+
public string ResourceOwnerAccount
66+
{
67+
get
68+
{
69+
return resourceOwnerAccount;
70+
}
71+
set
72+
{
73+
resourceOwnerAccount = value;
74+
DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value);
75+
}
76+
}
77+
78+
public string RegionId
79+
{
80+
get
81+
{
82+
return regionId;
83+
}
84+
set
85+
{
86+
regionId = value;
87+
DictionaryUtil.Add(QueryParameters, "RegionId", value);
88+
}
89+
}
90+
91+
public string OwnerAccount
92+
{
93+
get
94+
{
95+
return ownerAccount;
96+
}
97+
set
98+
{
99+
ownerAccount = value;
100+
DictionaryUtil.Add(QueryParameters, "OwnerAccount", value);
101+
}
102+
}
103+
104+
public string CcnId
105+
{
106+
get
107+
{
108+
return ccnId;
109+
}
110+
set
111+
{
112+
ccnId = value;
113+
DictionaryUtil.Add(QueryParameters, "CcnId", value);
114+
}
115+
}
116+
117+
public string SmartAGId
118+
{
119+
get
120+
{
121+
return smartAGId;
122+
}
123+
set
124+
{
125+
smartAGId = value;
126+
DictionaryUtil.Add(QueryParameters, "SmartAGId", value);
127+
}
128+
}
129+
130+
public string Action
131+
{
132+
get
133+
{
134+
return action;
135+
}
136+
set
137+
{
138+
action = value;
139+
DictionaryUtil.Add(QueryParameters, "Action", value);
140+
}
141+
}
142+
143+
public long? OwnerId
144+
{
145+
get
146+
{
147+
return ownerId;
148+
}
149+
set
150+
{
151+
ownerId = value;
152+
DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString());
153+
}
154+
}
155+
156+
public override BindSmartAccessGatewayResponse GetResponse(Core.Transform.UnmarshallerContext unmarshallerContext)
157+
{
158+
return BindSmartAccessGatewayResponseUnmarshaller.Unmarshall(unmarshallerContext);
159+
}
160+
}
161+
}

0 commit comments

Comments
 (0)