aliyun-net-sdk-polardb/Polardb/Model/V20170801/DescribeHistoryTasksRequest.cs (240 lines of code) (raw):

/* * 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.polardb.Transform; using Aliyun.Acs.polardb.Transform.V20170801; namespace Aliyun.Acs.polardb.Model.V20170801 { public class DescribeHistoryTasksRequest : RpcAcsRequest<DescribeHistoryTasksResponse> { public DescribeHistoryTasksRequest() : base("polardb", "2017-08-01", "DescribeHistoryTasks", "polardb", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.polardb.Endpoint.endpointMap, null); this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.polardb.Endpoint.endpointRegionalType, null); } Protocol = ProtocolType.HTTPS; Method = MethodType.POST; } private long? resourceOwnerId; private string toStartTime; private int? pageNumber; private string resourceGroupId; private string securityToken; private int? pageSize; private string instanceType; private string taskId; private int? toExecTime; private string taskType; private long? resourceOwnerAccount; private string fromStartTime; private int? fromExecTime; private long? ownerId; private string instanceId; private string status; public long? ResourceOwnerId { get { return resourceOwnerId; } set { resourceOwnerId = value; DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); } } public string ToStartTime { get { return toStartTime; } set { toStartTime = value; DictionaryUtil.Add(QueryParameters, "ToStartTime", value); } } public int? PageNumber { get { return pageNumber; } set { pageNumber = value; DictionaryUtil.Add(QueryParameters, "PageNumber", value.ToString()); } } public string ResourceGroupId { get { return resourceGroupId; } set { resourceGroupId = value; DictionaryUtil.Add(QueryParameters, "ResourceGroupId", value); } } public string SecurityToken { get { return securityToken; } set { securityToken = value; DictionaryUtil.Add(QueryParameters, "SecurityToken", value); } } public int? PageSize { get { return pageSize; } set { pageSize = value; DictionaryUtil.Add(QueryParameters, "PageSize", value.ToString()); } } public string InstanceType { get { return instanceType; } set { instanceType = value; DictionaryUtil.Add(QueryParameters, "InstanceType", value); } } public string TaskId { get { return taskId; } set { taskId = value; DictionaryUtil.Add(QueryParameters, "TaskId", value); } } public int? ToExecTime { get { return toExecTime; } set { toExecTime = value; DictionaryUtil.Add(QueryParameters, "ToExecTime", value.ToString()); } } public string TaskType { get { return taskType; } set { taskType = value; DictionaryUtil.Add(QueryParameters, "TaskType", value); } } public long? ResourceOwnerAccount { get { return resourceOwnerAccount; } set { resourceOwnerAccount = value; DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value.ToString()); } } public string FromStartTime { get { return fromStartTime; } set { fromStartTime = value; DictionaryUtil.Add(QueryParameters, "FromStartTime", value); } } public int? FromExecTime { get { return fromExecTime; } set { fromExecTime = value; DictionaryUtil.Add(QueryParameters, "FromExecTime", value.ToString()); } } public long? OwnerId { get { return ownerId; } set { ownerId = value; DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); } } public string InstanceId { get { return instanceId; } set { instanceId = value; DictionaryUtil.Add(QueryParameters, "InstanceId", value); } } public string Status { get { return status; } set { status = value; DictionaryUtil.Add(QueryParameters, "Status", value); } } public override bool CheckShowJsonItemName() { return false; } public override DescribeHistoryTasksResponse GetResponse(UnmarshallerContext unmarshallerContext) { return DescribeHistoryTasksResponseUnmarshaller.Unmarshall(unmarshallerContext); } } }