Skip to content

Commit 177aa18

Browse files
committed
Add some APIs.
1 parent 97d93b1 commit 177aa18

26 files changed

+1706
-1
lines changed

CHANGELOG

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2025-09-11 Version: 2.1.19
2+
- Add some APIs.
3+
14
2025-09-09 Version: 1.0.6
25
- Add image search api.
36

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
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 AddDataSourceRequest : RpcAcsRequest<AddDataSourceResponse>
31+
{
32+
public AddDataSourceRequest()
33+
: base("quickbi-public", "2022-01-01", "AddDataSource", "2.2.0", "openAPI")
34+
{
35+
Protocol = ProtocolType.HTTPS;
36+
Method = MethodType.POST;
37+
}
38+
39+
private string addModel;
40+
41+
public string AddModel
42+
{
43+
get
44+
{
45+
return addModel;
46+
}
47+
set
48+
{
49+
addModel = value;
50+
DictionaryUtil.Add(QueryParameters, "AddModel", value);
51+
}
52+
}
53+
54+
public override bool CheckShowJsonItemName()
55+
{
56+
return false;
57+
}
58+
59+
public override AddDataSourceResponse GetResponse(UnmarshallerContext unmarshallerContext)
60+
{
61+
return AddDataSourceResponseUnmarshaller.Unmarshall(unmarshallerContext);
62+
}
63+
}
64+
}
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
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 AddDataSourceResponse : AcsResponse
26+
{
27+
28+
private string requestId;
29+
30+
private string result;
31+
32+
private bool? success;
33+
34+
public string RequestId
35+
{
36+
get
37+
{
38+
return requestId;
39+
}
40+
set
41+
{
42+
requestId = value;
43+
}
44+
}
45+
46+
public string Result
47+
{
48+
get
49+
{
50+
return result;
51+
}
52+
set
53+
{
54+
result = value;
55+
}
56+
}
57+
58+
public bool? Success
59+
{
60+
get
61+
{
62+
return success;
63+
}
64+
set
65+
{
66+
success = value;
67+
}
68+
}
69+
}
70+
}
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
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 CheckDatasetExistedRequest : RpcAcsRequest<CheckDatasetExistedResponse>
31+
{
32+
public CheckDatasetExistedRequest()
33+
: base("quickbi-public", "2022-01-01", "CheckDatasetExisted", "2.2.0", "openAPI")
34+
{
35+
Protocol = ProtocolType.HTTPS;
36+
Method = MethodType.POST;
37+
}
38+
39+
private string cubeId;
40+
41+
public string CubeId
42+
{
43+
get
44+
{
45+
return cubeId;
46+
}
47+
set
48+
{
49+
cubeId = value;
50+
DictionaryUtil.Add(QueryParameters, "CubeId", value);
51+
}
52+
}
53+
54+
public override bool CheckShowJsonItemName()
55+
{
56+
return false;
57+
}
58+
59+
public override CheckDatasetExistedResponse GetResponse(UnmarshallerContext unmarshallerContext)
60+
{
61+
return CheckDatasetExistedResponseUnmarshaller.Unmarshall(unmarshallerContext);
62+
}
63+
}
64+
}
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
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 CheckDatasetExistedResponse : AcsResponse
26+
{
27+
28+
private string requestId;
29+
30+
private bool? result;
31+
32+
private bool? success;
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? Result
47+
{
48+
get
49+
{
50+
return result;
51+
}
52+
set
53+
{
54+
result = value;
55+
}
56+
}
57+
58+
public bool? Success
59+
{
60+
get
61+
{
62+
return success;
63+
}
64+
set
65+
{
66+
success = value;
67+
}
68+
}
69+
}
70+
}
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
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 CheckOrganizationMemberRequest : RpcAcsRequest<CheckOrganizationMemberResponse>
31+
{
32+
public CheckOrganizationMemberRequest()
33+
: base("quickbi-public", "2022-01-01", "CheckOrganizationMember", "2.2.0", "openAPI")
34+
{
35+
Protocol = ProtocolType.HTTPS;
36+
Method = MethodType.POST;
37+
}
38+
39+
private string userId;
40+
41+
public string UserId
42+
{
43+
get
44+
{
45+
return userId;
46+
}
47+
set
48+
{
49+
userId = value;
50+
DictionaryUtil.Add(QueryParameters, "UserId", value);
51+
}
52+
}
53+
54+
public override bool CheckShowJsonItemName()
55+
{
56+
return false;
57+
}
58+
59+
public override CheckOrganizationMemberResponse GetResponse(UnmarshallerContext unmarshallerContext)
60+
{
61+
return CheckOrganizationMemberResponseUnmarshaller.Unmarshall(unmarshallerContext);
62+
}
63+
}
64+
}

0 commit comments

Comments
 (0)