Skip to content

Commit 887dbd0

Browse files
committed
Add ManualRunMailTask, GetMailTaskStatus and GetWorksEmbedList apis.
1 parent b96ff6d commit 887dbd0

11 files changed

+842
-1
lines changed

CHANGELOG

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2024-10-10 Version: 2.1.10
2+
- Add ManualRunMailTask, GetMailTaskStatus and GetWorksEmbedList apis.
3+
14
2024-10-10 Version: 1.0.5
25
- Generated 2022-12-01 for `ResourceCenter`.
36

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
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.quickbi_public.Transform;
26+
using Aliyun.Acs.quickbi_public.Transform.V20220101;
27+
28+
namespace Aliyun.Acs.quickbi_public.Model.V20220101
29+
{
30+
public class GetMailTaskStatusRequest : RpcAcsRequest<GetMailTaskStatusResponse>
31+
{
32+
public GetMailTaskStatusRequest()
33+
: base("quickbi-public", "2022-01-01", "GetMailTaskStatus", "2.2.0", "openAPI")
34+
{
35+
Protocol = ProtocolType.HTTPS;
36+
Method = MethodType.POST;
37+
}
38+
39+
private string mailId;
40+
41+
private long? taskId;
42+
43+
public string MailId
44+
{
45+
get
46+
{
47+
return mailId;
48+
}
49+
set
50+
{
51+
mailId = value;
52+
DictionaryUtil.Add(QueryParameters, "MailId", value);
53+
}
54+
}
55+
56+
public long? TaskId
57+
{
58+
get
59+
{
60+
return taskId;
61+
}
62+
set
63+
{
64+
taskId = value;
65+
DictionaryUtil.Add(QueryParameters, "TaskId", value.ToString());
66+
}
67+
}
68+
69+
public override bool CheckShowJsonItemName()
70+
{
71+
return false;
72+
}
73+
74+
public override GetMailTaskStatusResponse GetResponse(UnmarshallerContext unmarshallerContext)
75+
{
76+
return GetMailTaskStatusResponseUnmarshaller.Unmarshall(unmarshallerContext);
77+
}
78+
}
79+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,130 @@
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.quickbi_public.Model.V20220101
24+
{
25+
public class GetMailTaskStatusResponse : AcsResponse
26+
{
27+
28+
private string requestId;
29+
30+
private bool? success;
31+
32+
private List<GetMailTaskStatus_DATA> result;
33+
34+
public string RequestId
35+
{
36+
get
37+
{
38+
return requestId;
39+
}
40+
set
41+
{
42+
requestId = value;
43+
}
44+
}
45+
46+
public bool? Success
47+
{
48+
get
49+
{
50+
return success;
51+
}
52+
set
53+
{
54+
success = value;
55+
}
56+
}
57+
58+
public List<GetMailTaskStatus_DATA> Result
59+
{
60+
get
61+
{
62+
return result;
63+
}
64+
set
65+
{
66+
result = value;
67+
}
68+
}
69+
70+
public class GetMailTaskStatus_DATA
71+
{
72+
73+
private string execTime;
74+
75+
private string mailId;
76+
77+
private string status;
78+
79+
private long? taskId;
80+
81+
public string ExecTime
82+
{
83+
get
84+
{
85+
return execTime;
86+
}
87+
set
88+
{
89+
execTime = value;
90+
}
91+
}
92+
93+
public string MailId
94+
{
95+
get
96+
{
97+
return mailId;
98+
}
99+
set
100+
{
101+
mailId = value;
102+
}
103+
}
104+
105+
public string Status
106+
{
107+
get
108+
{
109+
return status;
110+
}
111+
set
112+
{
113+
status = value;
114+
}
115+
}
116+
117+
public long? TaskId
118+
{
119+
get
120+
{
121+
return taskId;
122+
}
123+
set
124+
{
125+
taskId = value;
126+
}
127+
}
128+
}
129+
}
130+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,124 @@
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.quickbi_public.Transform;
26+
using Aliyun.Acs.quickbi_public.Transform.V20220101;
27+
28+
namespace Aliyun.Acs.quickbi_public.Model.V20220101
29+
{
30+
public class GetWorksEmbedListRequest : RpcAcsRequest<GetWorksEmbedListResponse>
31+
{
32+
public GetWorksEmbedListRequest()
33+
: base("quickbi-public", "2022-01-01", "GetWorksEmbedList", "2.2.0", "openAPI")
34+
{
35+
Protocol = ProtocolType.HTTPS;
36+
Method = MethodType.POST;
37+
}
38+
39+
private string wsId;
40+
41+
private int? pageSize;
42+
43+
private string keyword;
44+
45+
private string worksType;
46+
47+
private int? pageNo;
48+
49+
public string WsId
50+
{
51+
get
52+
{
53+
return wsId;
54+
}
55+
set
56+
{
57+
wsId = value;
58+
DictionaryUtil.Add(QueryParameters, "WsId", value);
59+
}
60+
}
61+
62+
public int? PageSize
63+
{
64+
get
65+
{
66+
return pageSize;
67+
}
68+
set
69+
{
70+
pageSize = value;
71+
DictionaryUtil.Add(QueryParameters, "PageSize", value.ToString());
72+
}
73+
}
74+
75+
public string Keyword
76+
{
77+
get
78+
{
79+
return keyword;
80+
}
81+
set
82+
{
83+
keyword = value;
84+
DictionaryUtil.Add(QueryParameters, "Keyword", value);
85+
}
86+
}
87+
88+
public string WorksType
89+
{
90+
get
91+
{
92+
return worksType;
93+
}
94+
set
95+
{
96+
worksType = value;
97+
DictionaryUtil.Add(QueryParameters, "WorksType", value);
98+
}
99+
}
100+
101+
public int? PageNo
102+
{
103+
get
104+
{
105+
return pageNo;
106+
}
107+
set
108+
{
109+
pageNo = value;
110+
DictionaryUtil.Add(QueryParameters, "PageNo", value.ToString());
111+
}
112+
}
113+
114+
public override bool CheckShowJsonItemName()
115+
{
116+
return false;
117+
}
118+
119+
public override GetWorksEmbedListResponse GetResponse(UnmarshallerContext unmarshallerContext)
120+
{
121+
return GetWorksEmbedListResponseUnmarshaller.Unmarshall(unmarshallerContext);
122+
}
123+
}
124+
}

0 commit comments

Comments
 (0)