Skip to content

Commit 15f4bab

Browse files
committed
Initialize SDK.
1 parent ff0dfcb commit 15f4bab

14 files changed

+1043
-0
lines changed

CHANGELOG

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2023-08-01 Version: 1.0.0
2+
- Initialize SDK.
3+
14
2023-08-01 Version: 1.1.2
25
- Support resource group id.
36

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
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.grace.Transform;
26+
using Aliyun.Acs.grace.Transform.V20220606;
27+
28+
namespace Aliyun.Acs.grace.Model.V20220606
29+
{
30+
public class AnalyzeFileRequest : RoaAcsRequest<AnalyzeFileResponse>
31+
{
32+
public AnalyzeFileRequest()
33+
: base("grace", "2022-06-06", "AnalyzeFile", "grace", "openAPI")
34+
{
35+
UriPattern = "/AnalyzeFile";
36+
Method = MethodType.POST;
37+
}
38+
39+
private bool? keepUnreachableObjects;
40+
41+
private string token;
42+
43+
private string name;
44+
45+
public bool? KeepUnreachableObjects
46+
{
47+
get
48+
{
49+
return keepUnreachableObjects;
50+
}
51+
set
52+
{
53+
keepUnreachableObjects = value;
54+
DictionaryUtil.Add(QueryParameters, "keepUnreachableObjects", value.ToString());
55+
}
56+
}
57+
58+
public string Token
59+
{
60+
get
61+
{
62+
return token;
63+
}
64+
set
65+
{
66+
token = value;
67+
DictionaryUtil.Add(QueryParameters, "token", value);
68+
}
69+
}
70+
71+
public string Name
72+
{
73+
get
74+
{
75+
return name;
76+
}
77+
set
78+
{
79+
name = value;
80+
DictionaryUtil.Add(QueryParameters, "name", value);
81+
}
82+
}
83+
84+
public override bool CheckShowJsonItemName()
85+
{
86+
return false;
87+
}
88+
89+
public override AnalyzeFileResponse GetResponse(UnmarshallerContext unmarshallerContext)
90+
{
91+
return AnalyzeFileResponseUnmarshaller.Unmarshall(unmarshallerContext);
92+
}
93+
}
94+
}
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.grace.Model.V20220606
24+
{
25+
public class AnalyzeFileResponse : AcsResponse
26+
{
27+
28+
private string requestId;
29+
30+
private string fileName;
31+
32+
public string RequestId
33+
{
34+
get
35+
{
36+
return requestId;
37+
}
38+
set
39+
{
40+
requestId = value;
41+
}
42+
}
43+
44+
public string FileName
45+
{
46+
get
47+
{
48+
return fileName;
49+
}
50+
set
51+
{
52+
fileName = value;
53+
}
54+
}
55+
}
56+
}
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.grace.Transform;
26+
using Aliyun.Acs.grace.Transform.V20220606;
27+
28+
namespace Aliyun.Acs.grace.Model.V20220606
29+
{
30+
public class GetFileRequest : RoaAcsRequest<GetFileResponse>
31+
{
32+
public GetFileRequest()
33+
: base("grace", "2022-06-06", "GetFile", "grace", "openAPI")
34+
{
35+
UriPattern = "/GetFile";
36+
Method = MethodType.GET;
37+
}
38+
39+
private string token;
40+
41+
private string name;
42+
43+
public string Token
44+
{
45+
get
46+
{
47+
return token;
48+
}
49+
set
50+
{
51+
token = value;
52+
DictionaryUtil.Add(QueryParameters, "token", value);
53+
}
54+
}
55+
56+
public string Name
57+
{
58+
get
59+
{
60+
return name;
61+
}
62+
set
63+
{
64+
name = value;
65+
DictionaryUtil.Add(QueryParameters, "name", value);
66+
}
67+
}
68+
69+
public override bool CheckShowJsonItemName()
70+
{
71+
return false;
72+
}
73+
74+
public override GetFileResponse GetResponse(UnmarshallerContext unmarshallerContext)
75+
{
76+
return GetFileResponseUnmarshaller.Unmarshall(unmarshallerContext);
77+
}
78+
}
79+
}

0 commit comments

Comments
 (0)