Skip to content

Commit 59e295a

Browse files
committed
Fix ListPIpelineTemplates.
1 parent 4346f82 commit 59e295a

File tree

143 files changed

+3981
-3097
lines changed

Some content is hidden

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

143 files changed

+3981
-3097
lines changed

CHANGELOG

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2021-07-09 Version: 2.0.2
2+
- Fix ListPIpelineTemplates.
3+
14
2021-07-08 Version: 2.0.15
25
- Support app group.
36

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
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.devops_rdc;
26+
using Aliyun.Acs.devops_rdc.Transform;
27+
using Aliyun.Acs.devops_rdc.Transform.V20200303;
28+
29+
namespace Aliyun.Acs.devops_rdc.Model.V20200303
30+
{
31+
public class AddCodeupSourceToPipelineRequest : RpcAcsRequest<AddCodeupSourceToPipelineResponse>
32+
{
33+
public AddCodeupSourceToPipelineRequest()
34+
: base("devops-rdc", "2020-03-03", "AddCodeupSourceToPipeline")
35+
{
36+
Method = MethodType.POST;
37+
}
38+
39+
private string codePath;
40+
41+
private string codeBranch;
42+
43+
private string orgId;
44+
45+
private long? pipelineId;
46+
47+
public string CodePath
48+
{
49+
get
50+
{
51+
return codePath;
52+
}
53+
set
54+
{
55+
codePath = value;
56+
DictionaryUtil.Add(QueryParameters, "CodePath", value);
57+
}
58+
}
59+
60+
public string CodeBranch
61+
{
62+
get
63+
{
64+
return codeBranch;
65+
}
66+
set
67+
{
68+
codeBranch = value;
69+
DictionaryUtil.Add(QueryParameters, "CodeBranch", value);
70+
}
71+
}
72+
73+
public string OrgId
74+
{
75+
get
76+
{
77+
return orgId;
78+
}
79+
set
80+
{
81+
orgId = value;
82+
DictionaryUtil.Add(QueryParameters, "OrgId", value);
83+
}
84+
}
85+
86+
public long? PipelineId
87+
{
88+
get
89+
{
90+
return pipelineId;
91+
}
92+
set
93+
{
94+
pipelineId = value;
95+
DictionaryUtil.Add(QueryParameters, "PipelineId", value.ToString());
96+
}
97+
}
98+
99+
public override bool CheckShowJsonItemName()
100+
{
101+
return false;
102+
}
103+
104+
public override AddCodeupSourceToPipelineResponse GetResponse(UnmarshallerContext unmarshallerContext)
105+
{
106+
return AddCodeupSourceToPipelineResponseUnmarshaller.Unmarshall(unmarshallerContext);
107+
}
108+
}
109+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
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.devops_rdc.Model.V20200303
24+
{
25+
public class AddCodeupSourceToPipelineResponse : AcsResponse
26+
{
27+
28+
private string requestId;
29+
30+
private long? pipelineId;
31+
32+
public string RequestId
33+
{
34+
get
35+
{
36+
return requestId;
37+
}
38+
set
39+
{
40+
requestId = value;
41+
}
42+
}
43+
44+
public long? PipelineId
45+
{
46+
get
47+
{
48+
return pipelineId;
49+
}
50+
set
51+
{
52+
pipelineId = value;
53+
}
54+
}
55+
}
56+
}

aliyun-net-sdk-devops-rdc/Devops_rdc/Model/V20200303/BatchInsertMembersResponse.cs

+17-17
Original file line numberDiff line numberDiff line change
@@ -17,57 +17,57 @@
1717
* under the License.
1818
*/
1919
using System.Collections.Generic;
20-
20+
using Newtonsoft.Json;
2121
using Aliyun.Acs.Core;
2222

2323
namespace Aliyun.Acs.devops_rdc.Model.V20200303
2424
{
2525
public class BatchInsertMembersResponse : AcsResponse
2626
{
2727

28-
private string requestId;
28+
private string errorMessage;
2929

30-
private string errorCode;
30+
private string requestId;
3131

32-
private string errorMessage;
32+
private bool? _object;
3333

3434
private bool? success;
3535

36-
private bool? _object;
36+
private string errorCode;
3737

38-
public string RequestId
38+
public string ErrorMessage
3939
{
4040
get
4141
{
42-
return requestId;
42+
return errorMessage;
4343
}
4444
set
4545
{
46-
requestId = value;
46+
errorMessage = value;
4747
}
4848
}
4949

50-
public string ErrorCode
50+
public string RequestId
5151
{
5252
get
5353
{
54-
return errorCode;
54+
return requestId;
5555
}
5656
set
5757
{
58-
errorCode = value;
58+
requestId = value;
5959
}
6060
}
6161

62-
public string ErrorMessage
62+
public bool? _Object
6363
{
6464
get
6565
{
66-
return errorMessage;
66+
return _object;
6767
}
6868
set
6969
{
70-
errorMessage = value;
70+
_object = value;
7171
}
7272
}
7373

@@ -83,15 +83,15 @@ public bool? Success
8383
}
8484
}
8585

86-
public bool? _Object
86+
public string ErrorCode
8787
{
8888
get
8989
{
90-
return _object;
90+
return errorCode;
9191
}
9292
set
9393
{
94-
_object = value;
94+
errorCode = value;
9595
}
9696
}
9797
}

aliyun-net-sdk-devops-rdc/Devops_rdc/Model/V20200303/CancelPipelineResponse.cs

+20-20
Original file line numberDiff line numberDiff line change
@@ -17,81 +17,81 @@
1717
* under the License.
1818
*/
1919
using System.Collections.Generic;
20-
20+
using Newtonsoft.Json;
2121
using Aliyun.Acs.Core;
2222

2323
namespace Aliyun.Acs.devops_rdc.Model.V20200303
2424
{
2525
public class CancelPipelineResponse : AcsResponse
2626
{
2727

28-
private bool? success;
29-
30-
private string errorCode;
28+
private string requestId;
3129

3230
private string errorMessage;
3331

3432
private bool? _object;
3533

36-
private string requestId;
34+
private string errorCode;
3735

38-
public bool? Success
36+
private bool? success;
37+
38+
public string RequestId
3939
{
4040
get
4141
{
42-
return success;
42+
return requestId;
4343
}
4444
set
4545
{
46-
success = value;
46+
requestId = value;
4747
}
4848
}
4949

50-
public string ErrorCode
50+
public string ErrorMessage
5151
{
5252
get
5353
{
54-
return errorCode;
54+
return errorMessage;
5555
}
5656
set
5757
{
58-
errorCode = value;
58+
errorMessage = value;
5959
}
6060
}
6161

62-
public string ErrorMessage
62+
public bool? _Object
6363
{
6464
get
6565
{
66-
return errorMessage;
66+
return _object;
6767
}
6868
set
6969
{
70-
errorMessage = value;
70+
_object = value;
7171
}
7272
}
7373

74-
public bool? _Object
74+
public string ErrorCode
7575
{
7676
get
7777
{
78-
return _object;
78+
return errorCode;
7979
}
8080
set
8181
{
82-
_object = value;
82+
errorCode = value;
8383
}
8484
}
8585

86-
public string RequestId
86+
public bool? Success
8787
{
8888
get
8989
{
90-
return requestId;
90+
return success;
9191
}
9292
set
9393
{
94-
requestId = value;
94+
success = value;
9595
}
9696
}
9797
}

0 commit comments

Comments
 (0)