Skip to content

Commit 3b78c3c

Browse files
committed
Add API ReadSchedulerxDesignateInfo.
1 parent 225e7b2 commit 3b78c3c

File tree

5 files changed

+768
-1
lines changed

5 files changed

+768
-1
lines changed

CHANGELOG

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2025-06-10 Version: 1.1.14
2+
- Add API ReadSchedulerxDesignateInfo.
3+
14
2025-06-05 Version: 1.0.0
25
- init sdk
36

Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
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.schedulerx2.Transform;
26+
using Aliyun.Acs.schedulerx2.Transform.V20190430;
27+
28+
namespace Aliyun.Acs.schedulerx2.Model.V20190430
29+
{
30+
public class ReadSchedulerxDesignateInfoRequest : RpcAcsRequest<ReadSchedulerxDesignateInfoResponse>
31+
{
32+
public ReadSchedulerxDesignateInfoRequest()
33+
: base("schedulerx2", "2019-04-30", "ReadSchedulerxDesignateInfo", "schedulerx2", "openAPI")
34+
{
35+
if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null)
36+
{
37+
this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.schedulerx2.Endpoint.endpointMap, null);
38+
this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.schedulerx2.Endpoint.endpointRegionalType, null);
39+
}
40+
Protocol = ProtocolType.HTTPS;
41+
Method = MethodType.POST;
42+
}
43+
44+
private string namespaceSource;
45+
46+
private string groupId;
47+
48+
private long? jobId;
49+
50+
private string _namespace;
51+
52+
public string NamespaceSource
53+
{
54+
get
55+
{
56+
return namespaceSource;
57+
}
58+
set
59+
{
60+
namespaceSource = value;
61+
DictionaryUtil.Add(QueryParameters, "NamespaceSource", value);
62+
}
63+
}
64+
65+
public string GroupId
66+
{
67+
get
68+
{
69+
return groupId;
70+
}
71+
set
72+
{
73+
groupId = value;
74+
DictionaryUtil.Add(QueryParameters, "GroupId", value);
75+
}
76+
}
77+
78+
public long? JobId
79+
{
80+
get
81+
{
82+
return jobId;
83+
}
84+
set
85+
{
86+
jobId = value;
87+
DictionaryUtil.Add(QueryParameters, "JobId", value.ToString());
88+
}
89+
}
90+
91+
public string _Namespace
92+
{
93+
get
94+
{
95+
return _namespace;
96+
}
97+
set
98+
{
99+
_namespace = value;
100+
DictionaryUtil.Add(QueryParameters, "Namespace", value);
101+
}
102+
}
103+
104+
public override bool CheckShowJsonItemName()
105+
{
106+
return false;
107+
}
108+
109+
public override ReadSchedulerxDesignateInfoResponse GetResponse(UnmarshallerContext unmarshallerContext)
110+
{
111+
return ReadSchedulerxDesignateInfoResponseUnmarshaller.Unmarshall(unmarshallerContext);
112+
}
113+
}
114+
}

0 commit comments

Comments
 (0)