Skip to content

Commit 1370c36

Browse files
committed
Update to support new apis.
1 parent 4a5a06e commit 1370c36

23 files changed

+1484
-21
lines changed

CHANGELOG

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2024-06-14 Version: 3.9.54
2+
- Update to support new apis.
3+
14
2024-06-06 Version: 1.0.1
25
- ListOrderConsumeStatisticRecords add applicationExternalId serviceCode.
36

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
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+
using Newtonsoft.Json;
21+
22+
using Aliyun.Acs.Core;
23+
using Aliyun.Acs.Core.Http;
24+
using Aliyun.Acs.Core.Transform;
25+
using Aliyun.Acs.Core.Utils;
26+
using Aliyun.Acs.live.Transform;
27+
using Aliyun.Acs.live.Transform.V20161101;
28+
29+
namespace Aliyun.Acs.live.Model.V20161101
30+
{
31+
public class CreateRtcMPUEventSubRequest : RpcAcsRequest<CreateRtcMPUEventSubResponse>
32+
{
33+
public CreateRtcMPUEventSubRequest()
34+
: base("live", "2016-11-01", "CreateRtcMPUEventSub", "live", "openAPI")
35+
{
36+
if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null)
37+
{
38+
this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.live.Endpoint.endpointMap, null);
39+
this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.live.Endpoint.endpointRegionalType, null);
40+
}
41+
Method = MethodType.POST;
42+
}
43+
44+
private string appId;
45+
46+
private string callbackUrl;
47+
48+
private string channelIds;
49+
50+
[JsonProperty(PropertyName = "AppId")]
51+
public string AppId
52+
{
53+
get
54+
{
55+
return appId;
56+
}
57+
set
58+
{
59+
appId = value;
60+
DictionaryUtil.Add(QueryParameters, "AppId", value);
61+
}
62+
}
63+
64+
[JsonProperty(PropertyName = "CallbackUrl")]
65+
public string CallbackUrl
66+
{
67+
get
68+
{
69+
return callbackUrl;
70+
}
71+
set
72+
{
73+
callbackUrl = value;
74+
DictionaryUtil.Add(QueryParameters, "CallbackUrl", value);
75+
}
76+
}
77+
78+
[JsonProperty(PropertyName = "ChannelIds")]
79+
public string ChannelIds
80+
{
81+
get
82+
{
83+
return channelIds;
84+
}
85+
set
86+
{
87+
channelIds = value;
88+
DictionaryUtil.Add(QueryParameters, "ChannelIds", value);
89+
}
90+
}
91+
92+
public override CreateRtcMPUEventSubResponse GetResponse(UnmarshallerContext unmarshallerContext)
93+
{
94+
return CreateRtcMPUEventSubResponseUnmarshaller.Unmarshall(unmarshallerContext);
95+
}
96+
}
97+
}
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
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+
using Newtonsoft.Json;
21+
using Aliyun.Acs.Core;
22+
23+
namespace Aliyun.Acs.live.Model.V20161101
24+
{
25+
public class CreateRtcMPUEventSubResponse : AcsResponse
26+
{
27+
28+
private string requestId;
29+
30+
private string subId;
31+
32+
[JsonProperty(PropertyName = "RequestId")]
33+
public string RequestId
34+
{
35+
get
36+
{
37+
return requestId;
38+
}
39+
set
40+
{
41+
requestId = value;
42+
}
43+
}
44+
45+
[JsonProperty(PropertyName = "SubId")]
46+
public string SubId
47+
{
48+
get
49+
{
50+
return subId;
51+
}
52+
set
53+
{
54+
subId = value;
55+
}
56+
}
57+
}
58+
}
Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
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+
using Newtonsoft.Json;
21+
22+
using Aliyun.Acs.Core;
23+
using Aliyun.Acs.Core.Http;
24+
using Aliyun.Acs.Core.Transform;
25+
using Aliyun.Acs.Core.Utils;
26+
using Aliyun.Acs.live.Transform;
27+
using Aliyun.Acs.live.Transform.V20161101;
28+
29+
namespace Aliyun.Acs.live.Model.V20161101
30+
{
31+
public class DeleteRtcAsrTaskRequest : RpcAcsRequest<DeleteRtcAsrTaskResponse>
32+
{
33+
public DeleteRtcAsrTaskRequest()
34+
: base("live", "2016-11-01", "DeleteRtcAsrTask", "live", "openAPI")
35+
{
36+
if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null)
37+
{
38+
this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.live.Endpoint.endpointMap, null);
39+
this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.live.Endpoint.endpointRegionalType, null);
40+
}
41+
Method = MethodType.POST;
42+
}
43+
44+
private string taskId;
45+
46+
private long? ownerId;
47+
48+
[JsonProperty(PropertyName = "TaskId")]
49+
public string TaskId
50+
{
51+
get
52+
{
53+
return taskId;
54+
}
55+
set
56+
{
57+
taskId = value;
58+
DictionaryUtil.Add(QueryParameters, "TaskId", value);
59+
}
60+
}
61+
62+
[JsonProperty(PropertyName = "OwnerId")]
63+
public long? OwnerId
64+
{
65+
get
66+
{
67+
return ownerId;
68+
}
69+
set
70+
{
71+
ownerId = value;
72+
DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString());
73+
}
74+
}
75+
76+
public override DeleteRtcAsrTaskResponse GetResponse(UnmarshallerContext unmarshallerContext)
77+
{
78+
return DeleteRtcAsrTaskResponseUnmarshaller.Unmarshall(unmarshallerContext);
79+
}
80+
}
81+
}
Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
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+
using Newtonsoft.Json;
21+
using Aliyun.Acs.Core;
22+
23+
namespace Aliyun.Acs.live.Model.V20161101
24+
{
25+
public class DeleteRtcAsrTaskResponse : AcsResponse
26+
{
27+
28+
private string description;
29+
30+
private string requestId;
31+
32+
private long? retCode;
33+
34+
[JsonProperty(PropertyName = "Description")]
35+
public string Description
36+
{
37+
get
38+
{
39+
return description;
40+
}
41+
set
42+
{
43+
description = value;
44+
}
45+
}
46+
47+
[JsonProperty(PropertyName = "RequestId")]
48+
public string RequestId
49+
{
50+
get
51+
{
52+
return requestId;
53+
}
54+
set
55+
{
56+
requestId = value;
57+
}
58+
}
59+
60+
[JsonProperty(PropertyName = "RetCode")]
61+
public long? RetCode
62+
{
63+
get
64+
{
65+
return retCode;
66+
}
67+
set
68+
{
69+
retCode = value;
70+
}
71+
}
72+
}
73+
}
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
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+
using Newtonsoft.Json;
21+
22+
using Aliyun.Acs.Core;
23+
using Aliyun.Acs.Core.Http;
24+
using Aliyun.Acs.Core.Transform;
25+
using Aliyun.Acs.Core.Utils;
26+
using Aliyun.Acs.live.Transform;
27+
using Aliyun.Acs.live.Transform.V20161101;
28+
29+
namespace Aliyun.Acs.live.Model.V20161101
30+
{
31+
public class DeleteRtcMPUEventSubRequest : RpcAcsRequest<DeleteRtcMPUEventSubResponse>
32+
{
33+
public DeleteRtcMPUEventSubRequest()
34+
: base("live", "2016-11-01", "DeleteRtcMPUEventSub", "live", "openAPI")
35+
{
36+
if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null)
37+
{
38+
this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.live.Endpoint.endpointMap, null);
39+
this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.live.Endpoint.endpointRegionalType, null);
40+
}
41+
Method = MethodType.POST;
42+
}
43+
44+
private string appId;
45+
46+
[JsonProperty(PropertyName = "AppId")]
47+
public string AppId
48+
{
49+
get
50+
{
51+
return appId;
52+
}
53+
set
54+
{
55+
appId = value;
56+
DictionaryUtil.Add(QueryParameters, "AppId", value);
57+
}
58+
}
59+
60+
public override DeleteRtcMPUEventSubResponse GetResponse(UnmarshallerContext unmarshallerContext)
61+
{
62+
return DeleteRtcMPUEventSubResponseUnmarshaller.Unmarshall(unmarshallerContext);
63+
}
64+
}
65+
}

0 commit comments

Comments
 (0)