-
Notifications
You must be signed in to change notification settings - Fork 624
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add QueryData, ModifyCopilotEmbedConfig, QueryCopilotEmbedConfig and …
…QueryDataRange APIs.
- Loading branch information
Showing
14 changed files
with
1,398 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
108 changes: 108 additions & 0 deletions
108
...-net-sdk-quickbi-public/Quickbi_public/Model/V20220101/ModifyCopilotEmbedConfigRequest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,108 @@ | ||
/* | ||
* Licensed to the Apache Software Foundation (ASF) under one | ||
* or more contributor license agreements. See the NOTICE file | ||
* distributed with this work for additional information | ||
* regarding copyright ownership. The ASF licenses this file | ||
* to you under the Apache License, Version 2.0 (the | ||
* "License"); you may not use this file except in compliance | ||
* with the License. You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, | ||
* software distributed under the License is distributed on an | ||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
* KIND, either express or implied. See the License for the | ||
* specific language governing permissions and limitations | ||
* under the License. | ||
*/ | ||
using System.Collections.Generic; | ||
|
||
using Aliyun.Acs.Core; | ||
using Aliyun.Acs.Core.Http; | ||
using Aliyun.Acs.Core.Transform; | ||
using Aliyun.Acs.Core.Utils; | ||
using Aliyun.Acs.quickbi_public.Transform; | ||
using Aliyun.Acs.quickbi_public.Transform.V20220101; | ||
|
||
namespace Aliyun.Acs.quickbi_public.Model.V20220101 | ||
{ | ||
public class ModifyCopilotEmbedConfigRequest : RpcAcsRequest<ModifyCopilotEmbedConfigResponse> | ||
{ | ||
public ModifyCopilotEmbedConfigRequest() | ||
: base("quickbi-public", "2022-01-01", "ModifyCopilotEmbedConfig", "2.2.0", "openAPI") | ||
{ | ||
Method = MethodType.POST; | ||
} | ||
|
||
private string copilotId; | ||
|
||
private string agentName; | ||
|
||
private string dataRange; | ||
|
||
private string moduleName; | ||
|
||
public string CopilotId | ||
{ | ||
get | ||
{ | ||
return copilotId; | ||
} | ||
set | ||
{ | ||
copilotId = value; | ||
DictionaryUtil.Add(QueryParameters, "CopilotId", value); | ||
} | ||
} | ||
|
||
public string AgentName | ||
{ | ||
get | ||
{ | ||
return agentName; | ||
} | ||
set | ||
{ | ||
agentName = value; | ||
DictionaryUtil.Add(QueryParameters, "AgentName", value); | ||
} | ||
} | ||
|
||
public string DataRange | ||
{ | ||
get | ||
{ | ||
return dataRange; | ||
} | ||
set | ||
{ | ||
dataRange = value; | ||
DictionaryUtil.Add(QueryParameters, "DataRange", value); | ||
} | ||
} | ||
|
||
public string ModuleName | ||
{ | ||
get | ||
{ | ||
return moduleName; | ||
} | ||
set | ||
{ | ||
moduleName = value; | ||
DictionaryUtil.Add(QueryParameters, "ModuleName", value); | ||
} | ||
} | ||
|
||
public override bool CheckShowJsonItemName() | ||
{ | ||
return false; | ||
} | ||
|
||
public override ModifyCopilotEmbedConfigResponse GetResponse(UnmarshallerContext unmarshallerContext) | ||
{ | ||
return ModifyCopilotEmbedConfigResponseUnmarshaller.Unmarshall(unmarshallerContext); | ||
} | ||
} | ||
} |
70 changes: 70 additions & 0 deletions
70
...net-sdk-quickbi-public/Quickbi_public/Model/V20220101/ModifyCopilotEmbedConfigResponse.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
/* | ||
* Licensed to the Apache Software Foundation (ASF) under one | ||
* or more contributor license agreements. See the NOTICE file | ||
* distributed with this work for additional information | ||
* regarding copyright ownership. The ASF licenses this file | ||
* to you under the Apache License, Version 2.0 (the | ||
* "License"); you may not use this file except in compliance | ||
* with the License. You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, | ||
* software distributed under the License is distributed on an | ||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
* KIND, either express or implied. See the License for the | ||
* specific language governing permissions and limitations | ||
* under the License. | ||
*/ | ||
using System.Collections.Generic; | ||
using Newtonsoft.Json; | ||
using Aliyun.Acs.Core; | ||
|
||
namespace Aliyun.Acs.quickbi_public.Model.V20220101 | ||
{ | ||
public class ModifyCopilotEmbedConfigResponse : AcsResponse | ||
{ | ||
|
||
private string requestId; | ||
|
||
private bool? success; | ||
|
||
private bool? result; | ||
|
||
public string RequestId | ||
{ | ||
get | ||
{ | ||
return requestId; | ||
} | ||
set | ||
{ | ||
requestId = value; | ||
} | ||
} | ||
|
||
public bool? Success | ||
{ | ||
get | ||
{ | ||
return success; | ||
} | ||
set | ||
{ | ||
success = value; | ||
} | ||
} | ||
|
||
public bool? Result | ||
{ | ||
get | ||
{ | ||
return result; | ||
} | ||
set | ||
{ | ||
result = value; | ||
} | ||
} | ||
} | ||
} |
63 changes: 63 additions & 0 deletions
63
...n-net-sdk-quickbi-public/Quickbi_public/Model/V20220101/QueryCopilotEmbedConfigRequest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
/* | ||
* Licensed to the Apache Software Foundation (ASF) under one | ||
* or more contributor license agreements. See the NOTICE file | ||
* distributed with this work for additional information | ||
* regarding copyright ownership. The ASF licenses this file | ||
* to you under the Apache License, Version 2.0 (the | ||
* "License"); you may not use this file except in compliance | ||
* with the License. You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, | ||
* software distributed under the License is distributed on an | ||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
* KIND, either express or implied. See the License for the | ||
* specific language governing permissions and limitations | ||
* under the License. | ||
*/ | ||
using System.Collections.Generic; | ||
|
||
using Aliyun.Acs.Core; | ||
using Aliyun.Acs.Core.Http; | ||
using Aliyun.Acs.Core.Transform; | ||
using Aliyun.Acs.Core.Utils; | ||
using Aliyun.Acs.quickbi_public.Transform; | ||
using Aliyun.Acs.quickbi_public.Transform.V20220101; | ||
|
||
namespace Aliyun.Acs.quickbi_public.Model.V20220101 | ||
{ | ||
public class QueryCopilotEmbedConfigRequest : RpcAcsRequest<QueryCopilotEmbedConfigResponse> | ||
{ | ||
public QueryCopilotEmbedConfigRequest() | ||
: base("quickbi-public", "2022-01-01", "QueryCopilotEmbedConfig", "2.2.0", "openAPI") | ||
{ | ||
Method = MethodType.POST; | ||
} | ||
|
||
private string keyword; | ||
|
||
public string Keyword | ||
{ | ||
get | ||
{ | ||
return keyword; | ||
} | ||
set | ||
{ | ||
keyword = value; | ||
DictionaryUtil.Add(QueryParameters, "Keyword", value); | ||
} | ||
} | ||
|
||
public override bool CheckShowJsonItemName() | ||
{ | ||
return false; | ||
} | ||
|
||
public override QueryCopilotEmbedConfigResponse GetResponse(UnmarshallerContext unmarshallerContext) | ||
{ | ||
return QueryCopilotEmbedConfigResponseUnmarshaller.Unmarshall(unmarshallerContext); | ||
} | ||
} | ||
} |
Oops, something went wrong.