|
| 1 | +/* |
| 2 | + * Licensed to the Apache Software Foundation (ASF) under one |
| 3 | + * or more contributor license agreements. See the NOTICE file |
| 4 | + * distributed with this work for additional information |
| 5 | + * regarding copyright ownership. The ASF licenses this file |
| 6 | + * to you under the Apache License, Version 2.0 (the |
| 7 | + * "License"); you may not use this file except in compliance |
| 8 | + * with the License. You may obtain a copy of the License at |
| 9 | + * |
| 10 | + * http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | + * |
| 12 | + * Unless required by applicable law or agreed to in writing, |
| 13 | + * software distributed under the License is distributed on an |
| 14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 15 | + * KIND, either express or implied. See the License for the |
| 16 | + * specific language governing permissions and limitations |
| 17 | + * under the License. |
| 18 | + */ |
| 19 | +using System.Collections.Generic; |
| 20 | + |
| 21 | +using Aliyun.Acs.Core; |
| 22 | +using Aliyun.Acs.Core.Http; |
| 23 | +using Aliyun.Acs.Core.Transform; |
| 24 | +using Aliyun.Acs.Core.Utils; |
| 25 | +using Aliyun.Acs.Dds.Transform; |
| 26 | +using Aliyun.Acs.Dds.Transform.V20151201; |
| 27 | + |
| 28 | +namespace Aliyun.Acs.Dds.Model.V20151201 |
| 29 | +{ |
| 30 | + public class DescribeRestoreDBInstanceListRequest : RpcAcsRequest<DescribeRestoreDBInstanceListResponse> |
| 31 | + { |
| 32 | + public DescribeRestoreDBInstanceListRequest() |
| 33 | + : base("Dds", "2015-12-01", "DescribeRestoreDBInstanceList", "dds", "openAPI") |
| 34 | + { |
| 35 | + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) |
| 36 | + { |
| 37 | + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Dds.Endpoint.endpointMap, null); |
| 38 | + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Dds.Endpoint.endpointRegionalType, null); |
| 39 | + } |
| 40 | + Protocol = ProtocolType.HTTPS; |
| 41 | + Method = MethodType.POST; |
| 42 | + } |
| 43 | + |
| 44 | + private long? resourceOwnerId; |
| 45 | + |
| 46 | + private string creationTimeAfter; |
| 47 | + |
| 48 | + private int? pageNumber; |
| 49 | + |
| 50 | + private int? pageSize; |
| 51 | + |
| 52 | + private string dBInstanceId; |
| 53 | + |
| 54 | + private string resourceOwnerAccount; |
| 55 | + |
| 56 | + private string ownerAccount; |
| 57 | + |
| 58 | + private long? ownerId; |
| 59 | + |
| 60 | + public long? ResourceOwnerId |
| 61 | + { |
| 62 | + get |
| 63 | + { |
| 64 | + return resourceOwnerId; |
| 65 | + } |
| 66 | + set |
| 67 | + { |
| 68 | + resourceOwnerId = value; |
| 69 | + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); |
| 70 | + } |
| 71 | + } |
| 72 | + |
| 73 | + public string CreationTimeAfter |
| 74 | + { |
| 75 | + get |
| 76 | + { |
| 77 | + return creationTimeAfter; |
| 78 | + } |
| 79 | + set |
| 80 | + { |
| 81 | + creationTimeAfter = value; |
| 82 | + DictionaryUtil.Add(QueryParameters, "CreationTimeAfter", value); |
| 83 | + } |
| 84 | + } |
| 85 | + |
| 86 | + public int? PageNumber |
| 87 | + { |
| 88 | + get |
| 89 | + { |
| 90 | + return pageNumber; |
| 91 | + } |
| 92 | + set |
| 93 | + { |
| 94 | + pageNumber = value; |
| 95 | + DictionaryUtil.Add(QueryParameters, "PageNumber", value.ToString()); |
| 96 | + } |
| 97 | + } |
| 98 | + |
| 99 | + public int? PageSize |
| 100 | + { |
| 101 | + get |
| 102 | + { |
| 103 | + return pageSize; |
| 104 | + } |
| 105 | + set |
| 106 | + { |
| 107 | + pageSize = value; |
| 108 | + DictionaryUtil.Add(QueryParameters, "PageSize", value.ToString()); |
| 109 | + } |
| 110 | + } |
| 111 | + |
| 112 | + public string DBInstanceId |
| 113 | + { |
| 114 | + get |
| 115 | + { |
| 116 | + return dBInstanceId; |
| 117 | + } |
| 118 | + set |
| 119 | + { |
| 120 | + dBInstanceId = value; |
| 121 | + DictionaryUtil.Add(QueryParameters, "DBInstanceId", value); |
| 122 | + } |
| 123 | + } |
| 124 | + |
| 125 | + public string ResourceOwnerAccount |
| 126 | + { |
| 127 | + get |
| 128 | + { |
| 129 | + return resourceOwnerAccount; |
| 130 | + } |
| 131 | + set |
| 132 | + { |
| 133 | + resourceOwnerAccount = value; |
| 134 | + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); |
| 135 | + } |
| 136 | + } |
| 137 | + |
| 138 | + public string OwnerAccount |
| 139 | + { |
| 140 | + get |
| 141 | + { |
| 142 | + return ownerAccount; |
| 143 | + } |
| 144 | + set |
| 145 | + { |
| 146 | + ownerAccount = value; |
| 147 | + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); |
| 148 | + } |
| 149 | + } |
| 150 | + |
| 151 | + public long? OwnerId |
| 152 | + { |
| 153 | + get |
| 154 | + { |
| 155 | + return ownerId; |
| 156 | + } |
| 157 | + set |
| 158 | + { |
| 159 | + ownerId = value; |
| 160 | + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); |
| 161 | + } |
| 162 | + } |
| 163 | + |
| 164 | + public override DescribeRestoreDBInstanceListResponse GetResponse(UnmarshallerContext unmarshallerContext) |
| 165 | + { |
| 166 | + return DescribeRestoreDBInstanceListResponseUnmarshaller.Unmarshall(unmarshallerContext); |
| 167 | + } |
| 168 | + } |
| 169 | +} |
0 commit comments