Skip to content

Commit

Permalink
Add ManualRunMailTask, GetMailTaskStatus and GetWorksEmbedList apis.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Oct 10, 2024
1 parent b96ff6d commit 887dbd0
Show file tree
Hide file tree
Showing 11 changed files with 842 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-10-10 Version: 2.1.10
- Add ManualRunMailTask, GetMailTaskStatus and GetWorksEmbedList apis.

2024-10-10 Version: 1.0.5
- Generated 2022-12-01 for `ResourceCenter`.

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
/*
* 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 GetMailTaskStatusRequest : RpcAcsRequest<GetMailTaskStatusResponse>
{
public GetMailTaskStatusRequest()
: base("quickbi-public", "2022-01-01", "GetMailTaskStatus", "2.2.0", "openAPI")
{
Protocol = ProtocolType.HTTPS;
Method = MethodType.POST;
}

private string mailId;

private long? taskId;

public string MailId
{
get
{
return mailId;
}
set
{
mailId = value;
DictionaryUtil.Add(QueryParameters, "MailId", value);
}
}

public long? TaskId
{
get
{
return taskId;
}
set
{
taskId = value;
DictionaryUtil.Add(QueryParameters, "TaskId", value.ToString());
}
}

public override bool CheckShowJsonItemName()
{
return false;
}

public override GetMailTaskStatusResponse GetResponse(UnmarshallerContext unmarshallerContext)
{
return GetMailTaskStatusResponseUnmarshaller.Unmarshall(unmarshallerContext);
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
/*
* 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 GetMailTaskStatusResponse : AcsResponse
{

private string requestId;

private bool? success;

private List<GetMailTaskStatus_DATA> result;

public string RequestId
{
get
{
return requestId;
}
set
{
requestId = value;
}
}

public bool? Success
{
get
{
return success;
}
set
{
success = value;
}
}

public List<GetMailTaskStatus_DATA> Result
{
get
{
return result;
}
set
{
result = value;
}
}

public class GetMailTaskStatus_DATA
{

private string execTime;

private string mailId;

private string status;

private long? taskId;

public string ExecTime
{
get
{
return execTime;
}
set
{
execTime = value;
}
}

public string MailId
{
get
{
return mailId;
}
set
{
mailId = value;
}
}

public string Status
{
get
{
return status;
}
set
{
status = value;
}
}

public long? TaskId
{
get
{
return taskId;
}
set
{
taskId = value;
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
/*
* 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 GetWorksEmbedListRequest : RpcAcsRequest<GetWorksEmbedListResponse>
{
public GetWorksEmbedListRequest()
: base("quickbi-public", "2022-01-01", "GetWorksEmbedList", "2.2.0", "openAPI")
{
Protocol = ProtocolType.HTTPS;
Method = MethodType.POST;
}

private string wsId;

private int? pageSize;

private string keyword;

private string worksType;

private int? pageNo;

public string WsId
{
get
{
return wsId;
}
set
{
wsId = value;
DictionaryUtil.Add(QueryParameters, "WsId", value);
}
}

public int? PageSize
{
get
{
return pageSize;
}
set
{
pageSize = value;
DictionaryUtil.Add(QueryParameters, "PageSize", value.ToString());
}
}

public string Keyword
{
get
{
return keyword;
}
set
{
keyword = value;
DictionaryUtil.Add(QueryParameters, "Keyword", value);
}
}

public string WorksType
{
get
{
return worksType;
}
set
{
worksType = value;
DictionaryUtil.Add(QueryParameters, "WorksType", value);
}
}

public int? PageNo
{
get
{
return pageNo;
}
set
{
pageNo = value;
DictionaryUtil.Add(QueryParameters, "PageNo", value.ToString());
}
}

public override bool CheckShowJsonItemName()
{
return false;
}

public override GetWorksEmbedListResponse GetResponse(UnmarshallerContext unmarshallerContext)
{
return GetWorksEmbedListResponseUnmarshaller.Unmarshall(unmarshallerContext);
}
}
}
Loading

0 comments on commit 887dbd0

Please sign in to comment.