Skip to content

Commit

Permalink
Add QueryData, ModifyCopilotEmbedConfig, QueryCopilotEmbedConfig and …
Browse files Browse the repository at this point in the history
…QueryDataRange APIs.
  • Loading branch information
sdk-team committed Aug 7, 2024
1 parent 01d5729 commit 4de3608
Show file tree
Hide file tree
Showing 14 changed files with 1,398 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2024-08-07 Version: 2.1.8
- Add QueryData, ModifyCopilotEmbedConfig, QueryCopilotEmbedConfig and QueryDataRange APIs.

2024-08-01 Version: 1.0.1
- add openapi for Personalized Text to Image ablity init version.

Expand Down
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);
}
}
}
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;
}
}
}
}
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);
}
}
}
Loading

0 comments on commit 4de3608

Please sign in to comment.