aliyun-net-sdk-rds/Rds/Model/V20140815/DescribeDBInstancesRequest.cs (476 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 Newtonsoft.Json;
using Aliyun.Acs.Core;
using Aliyun.Acs.Core.Http;
using Aliyun.Acs.Core.Transform;
using Aliyun.Acs.Core.Utils;
using Aliyun.Acs.Rds.Transform;
using Aliyun.Acs.Rds.Transform.V20140815;
namespace Aliyun.Acs.Rds.Model.V20140815
{
public class DescribeDBInstancesRequest : RpcAcsRequest<DescribeDBInstancesResponse>
{
public DescribeDBInstancesRequest()
: base("Rds", "2014-08-15", "DescribeDBInstances", "rds", "openAPI")
{
if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null)
{
this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Rds.Endpoint.endpointMap, null);
this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Rds.Endpoint.endpointRegionalType, null);
}
Method = MethodType.POST;
}
private long? resourceOwnerId;
private string connectionString;
private string engineVersion;
private string resourceGroupId;
private string proxyId;
private long? ownerId;
private string dBInstanceType;
private string dBInstanceClass;
private string tags;
private string vSwitchId;
private string zoneId;
private int? maxResults;
private string instanceNetworkType;
private string connectionMode;
private string clientToken;
private int? instanceLevel;
private string searchKey;
private int? pageNumber;
private string expired;
private string engine;
private string nextToken;
private int? pageSize;
private string dBInstanceStatus;
private string dBInstanceId;
private string dedicatedHostGroupId;
private string resourceOwnerAccount;
private string ownerAccount;
private string dedicatedHostId;
private string filter;
private string vpcId;
private string category;
private string payType;
[JsonProperty(PropertyName = "ResourceOwnerId")]
public long? ResourceOwnerId
{
get
{
return resourceOwnerId;
}
set
{
resourceOwnerId = value;
DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString());
}
}
[JsonProperty(PropertyName = "ConnectionString")]
public string ConnectionString
{
get
{
return connectionString;
}
set
{
connectionString = value;
DictionaryUtil.Add(QueryParameters, "ConnectionString", value);
}
}
[JsonProperty(PropertyName = "EngineVersion")]
public string EngineVersion
{
get
{
return engineVersion;
}
set
{
engineVersion = value;
DictionaryUtil.Add(QueryParameters, "EngineVersion", value);
}
}
[JsonProperty(PropertyName = "ResourceGroupId")]
public string ResourceGroupId
{
get
{
return resourceGroupId;
}
set
{
resourceGroupId = value;
DictionaryUtil.Add(QueryParameters, "ResourceGroupId", value);
}
}
[JsonProperty(PropertyName = "proxyId")]
public string ProxyId
{
get
{
return proxyId;
}
set
{
proxyId = value;
DictionaryUtil.Add(QueryParameters, "proxyId", value);
}
}
[JsonProperty(PropertyName = "OwnerId")]
public long? OwnerId
{
get
{
return ownerId;
}
set
{
ownerId = value;
DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString());
}
}
[JsonProperty(PropertyName = "DBInstanceType")]
public string DBInstanceType
{
get
{
return dBInstanceType;
}
set
{
dBInstanceType = value;
DictionaryUtil.Add(QueryParameters, "DBInstanceType", value);
}
}
[JsonProperty(PropertyName = "DBInstanceClass")]
public string DBInstanceClass
{
get
{
return dBInstanceClass;
}
set
{
dBInstanceClass = value;
DictionaryUtil.Add(QueryParameters, "DBInstanceClass", value);
}
}
[JsonProperty(PropertyName = "Tags")]
public string Tags
{
get
{
return tags;
}
set
{
tags = value;
DictionaryUtil.Add(QueryParameters, "Tags", value);
}
}
[JsonProperty(PropertyName = "VSwitchId")]
public string VSwitchId
{
get
{
return vSwitchId;
}
set
{
vSwitchId = value;
DictionaryUtil.Add(QueryParameters, "VSwitchId", value);
}
}
[JsonProperty(PropertyName = "ZoneId")]
public string ZoneId
{
get
{
return zoneId;
}
set
{
zoneId = value;
DictionaryUtil.Add(QueryParameters, "ZoneId", value);
}
}
[JsonProperty(PropertyName = "MaxResults")]
public int? MaxResults
{
get
{
return maxResults;
}
set
{
maxResults = value;
DictionaryUtil.Add(QueryParameters, "MaxResults", value.ToString());
}
}
[JsonProperty(PropertyName = "InstanceNetworkType")]
public string InstanceNetworkType
{
get
{
return instanceNetworkType;
}
set
{
instanceNetworkType = value;
DictionaryUtil.Add(QueryParameters, "InstanceNetworkType", value);
}
}
[JsonProperty(PropertyName = "ConnectionMode")]
public string ConnectionMode
{
get
{
return connectionMode;
}
set
{
connectionMode = value;
DictionaryUtil.Add(QueryParameters, "ConnectionMode", value);
}
}
[JsonProperty(PropertyName = "ClientToken")]
public string ClientToken
{
get
{
return clientToken;
}
set
{
clientToken = value;
DictionaryUtil.Add(QueryParameters, "ClientToken", value);
}
}
[JsonProperty(PropertyName = "InstanceLevel")]
public int? InstanceLevel
{
get
{
return instanceLevel;
}
set
{
instanceLevel = value;
DictionaryUtil.Add(QueryParameters, "InstanceLevel", value.ToString());
}
}
[JsonProperty(PropertyName = "SearchKey")]
public string SearchKey
{
get
{
return searchKey;
}
set
{
searchKey = value;
DictionaryUtil.Add(QueryParameters, "SearchKey", value);
}
}
[JsonProperty(PropertyName = "PageNumber")]
public int? PageNumber
{
get
{
return pageNumber;
}
set
{
pageNumber = value;
DictionaryUtil.Add(QueryParameters, "PageNumber", value.ToString());
}
}
[JsonProperty(PropertyName = "Expired")]
public string Expired
{
get
{
return expired;
}
set
{
expired = value;
DictionaryUtil.Add(QueryParameters, "Expired", value);
}
}
[JsonProperty(PropertyName = "Engine")]
public string Engine
{
get
{
return engine;
}
set
{
engine = value;
DictionaryUtil.Add(QueryParameters, "Engine", value);
}
}
[JsonProperty(PropertyName = "NextToken")]
public string NextToken
{
get
{
return nextToken;
}
set
{
nextToken = value;
DictionaryUtil.Add(QueryParameters, "NextToken", value);
}
}
[JsonProperty(PropertyName = "PageSize")]
public int? PageSize
{
get
{
return pageSize;
}
set
{
pageSize = value;
DictionaryUtil.Add(QueryParameters, "PageSize", value.ToString());
}
}
[JsonProperty(PropertyName = "DBInstanceStatus")]
public string DBInstanceStatus
{
get
{
return dBInstanceStatus;
}
set
{
dBInstanceStatus = value;
DictionaryUtil.Add(QueryParameters, "DBInstanceStatus", value);
}
}
[JsonProperty(PropertyName = "DBInstanceId")]
public string DBInstanceId
{
get
{
return dBInstanceId;
}
set
{
dBInstanceId = value;
DictionaryUtil.Add(QueryParameters, "DBInstanceId", value);
}
}
[JsonProperty(PropertyName = "DedicatedHostGroupId")]
public string DedicatedHostGroupId
{
get
{
return dedicatedHostGroupId;
}
set
{
dedicatedHostGroupId = value;
DictionaryUtil.Add(QueryParameters, "DedicatedHostGroupId", value);
}
}
[JsonProperty(PropertyName = "ResourceOwnerAccount")]
public string ResourceOwnerAccount
{
get
{
return resourceOwnerAccount;
}
set
{
resourceOwnerAccount = value;
DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value);
}
}
[JsonProperty(PropertyName = "OwnerAccount")]
public string OwnerAccount
{
get
{
return ownerAccount;
}
set
{
ownerAccount = value;
DictionaryUtil.Add(QueryParameters, "OwnerAccount", value);
}
}
[JsonProperty(PropertyName = "DedicatedHostId")]
public string DedicatedHostId
{
get
{
return dedicatedHostId;
}
set
{
dedicatedHostId = value;
DictionaryUtil.Add(QueryParameters, "DedicatedHostId", value);
}
}
[JsonProperty(PropertyName = "Filter")]
public string Filter
{
get
{
return filter;
}
set
{
filter = value;
DictionaryUtil.Add(QueryParameters, "Filter", value);
}
}
[JsonProperty(PropertyName = "VpcId")]
public string VpcId
{
get
{
return vpcId;
}
set
{
vpcId = value;
DictionaryUtil.Add(QueryParameters, "VpcId", value);
}
}
[JsonProperty(PropertyName = "Category")]
public string Category
{
get
{
return category;
}
set
{
category = value;
DictionaryUtil.Add(QueryParameters, "Category", value);
}
}
[JsonProperty(PropertyName = "PayType")]
public string PayType
{
get
{
return payType;
}
set
{
payType = value;
DictionaryUtil.Add(QueryParameters, "PayType", value);
}
}
public override DescribeDBInstancesResponse GetResponse(UnmarshallerContext unmarshallerContext)
{
return DescribeDBInstancesResponseUnmarshaller.Unmarshall(unmarshallerContext);
}
}
}