Skip to content

Commit 74bbd79

Browse files
committed
Support for deploy.
1 parent cab35bb commit 74bbd79

11 files changed

+996
-0
lines changed

CHANGELOG

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2023-02-17 Version: 1.0.0
2+
- Support for deploy.
3+
14
2023-02-17 Version: 0.0.12
25
- Release GenerateSuperResolutionImage.
36

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
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.viapi.Transform;
26+
using Aliyun.Acs.viapi.Transform.V20230117;
27+
28+
namespace Aliyun.Acs.viapi.Model.V20230117
29+
{
30+
public class CancelWaitingAsyncJobRequest : RpcAcsRequest<CancelWaitingAsyncJobResponse>
31+
{
32+
public CancelWaitingAsyncJobRequest()
33+
: base("viapi", "2023-01-17", "CancelWaitingAsyncJob", "viapi", "openAPI")
34+
{
35+
Method = MethodType.POST;
36+
}
37+
38+
private string jobId;
39+
40+
public string JobId
41+
{
42+
get
43+
{
44+
return jobId;
45+
}
46+
set
47+
{
48+
jobId = value;
49+
DictionaryUtil.Add(BodyParameters, "JobId", value);
50+
}
51+
}
52+
53+
public override bool CheckShowJsonItemName()
54+
{
55+
return false;
56+
}
57+
58+
public override CancelWaitingAsyncJobResponse GetResponse(UnmarshallerContext unmarshallerContext)
59+
{
60+
return CancelWaitingAsyncJobResponseUnmarshaller.Unmarshall(unmarshallerContext);
61+
}
62+
}
63+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
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.viapi.Model.V20230117
24+
{
25+
public class CancelWaitingAsyncJobResponse : AcsResponse
26+
{
27+
28+
private string requestId;
29+
30+
private string message;
31+
32+
private bool? success;
33+
34+
private string httpCode;
35+
36+
public string RequestId
37+
{
38+
get
39+
{
40+
return requestId;
41+
}
42+
set
43+
{
44+
requestId = value;
45+
}
46+
}
47+
48+
public string Message
49+
{
50+
get
51+
{
52+
return message;
53+
}
54+
set
55+
{
56+
message = value;
57+
}
58+
}
59+
60+
public bool? Success
61+
{
62+
get
63+
{
64+
return success;
65+
}
66+
set
67+
{
68+
success = value;
69+
}
70+
}
71+
72+
public string HttpCode
73+
{
74+
get
75+
{
76+
return httpCode;
77+
}
78+
set
79+
{
80+
httpCode = value;
81+
}
82+
}
83+
}
84+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
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.viapi.Transform;
26+
using Aliyun.Acs.viapi.Transform.V20230117;
27+
28+
namespace Aliyun.Acs.viapi.Model.V20230117
29+
{
30+
public class GetAsyncJobResultRequest : RpcAcsRequest<GetAsyncJobResultResponse>
31+
{
32+
public GetAsyncJobResultRequest()
33+
: base("viapi", "2023-01-17", "GetAsyncJobResult", "viapi", "openAPI")
34+
{
35+
Method = MethodType.POST;
36+
}
37+
38+
private string jobId;
39+
40+
public string JobId
41+
{
42+
get
43+
{
44+
return jobId;
45+
}
46+
set
47+
{
48+
jobId = value;
49+
DictionaryUtil.Add(BodyParameters, "JobId", value);
50+
}
51+
}
52+
53+
public override bool CheckShowJsonItemName()
54+
{
55+
return false;
56+
}
57+
58+
public override GetAsyncJobResultResponse GetResponse(UnmarshallerContext unmarshallerContext)
59+
{
60+
return GetAsyncJobResultResponseUnmarshaller.Unmarshall(unmarshallerContext);
61+
}
62+
}
63+
}
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.viapi.Model.V20230117
24+
{
25+
public class GetAsyncJobResultResponse : AcsResponse
26+
{
27+
28+
private string requestId;
29+
30+
private GetAsyncJobResult_Data data;
31+
32+
public string RequestId
33+
{
34+
get
35+
{
36+
return requestId;
37+
}
38+
set
39+
{
40+
requestId = value;
41+
}
42+
}
43+
44+
public GetAsyncJobResult_Data Data
45+
{
46+
get
47+
{
48+
return data;
49+
}
50+
set
51+
{
52+
data = value;
53+
}
54+
}
55+
56+
public class GetAsyncJobResult_Data
57+
{
58+
59+
private string status;
60+
61+
private string errorMessage;
62+
63+
private string result;
64+
65+
private string errorCode;
66+
67+
private string jobId;
68+
69+
public string Status
70+
{
71+
get
72+
{
73+
return status;
74+
}
75+
set
76+
{
77+
status = value;
78+
}
79+
}
80+
81+
public string ErrorMessage
82+
{
83+
get
84+
{
85+
return errorMessage;
86+
}
87+
set
88+
{
89+
errorMessage = value;
90+
}
91+
}
92+
93+
public string Result
94+
{
95+
get
96+
{
97+
return result;
98+
}
99+
set
100+
{
101+
result = value;
102+
}
103+
}
104+
105+
public string ErrorCode
106+
{
107+
get
108+
{
109+
return errorCode;
110+
}
111+
set
112+
{
113+
errorCode = value;
114+
}
115+
}
116+
117+
public string JobId
118+
{
119+
get
120+
{
121+
return jobId;
122+
}
123+
set
124+
{
125+
jobId = value;
126+
}
127+
}
128+
}
129+
}
130+
}

0 commit comments

Comments
 (0)