|
| 1 | +/* |
| 2 | + * Licensed under the Apache License, Version 2.0 (the "License"); |
| 3 | + * you may not use this file except in compliance with the License. |
| 4 | + * You may obtain a copy of the License at |
| 5 | + * |
| 6 | + * http://www.apache.org/licenses/LICENSE-2.0 |
| 7 | + * |
| 8 | + * Unless required by applicable law or agreed to in writing, software |
| 9 | + * distributed under the License is distributed on an "AS IS" BASIS, |
| 10 | + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 11 | + * See the License for the specific language governing permissions and |
| 12 | + * limitations under the License. |
| 13 | + */ |
| 14 | + |
| 15 | +package com.aliyuncs.vpc.model.v20160428; |
| 16 | + |
| 17 | +import com.aliyuncs.RpcAcsRequest; |
| 18 | +import java.util.List; |
| 19 | + |
| 20 | +/** |
| 21 | + * @author auto create |
| 22 | + * @version |
| 23 | + */ |
| 24 | +public class ApplyPhysicalConnectionLOARequest extends RpcAcsRequest<ApplyPhysicalConnectionLOAResponse> { |
| 25 | + |
| 26 | + public ApplyPhysicalConnectionLOARequest() { |
| 27 | + super("Vpc", "2016-04-28", "ApplyPhysicalConnectionLOA", "vpc"); |
| 28 | + } |
| 29 | + |
| 30 | + private Long resourceOwnerId; |
| 31 | + |
| 32 | + private String peerLocation; |
| 33 | + |
| 34 | + private String clientToken; |
| 35 | + |
| 36 | + private String resourceOwnerAccount; |
| 37 | + |
| 38 | + private Integer bandwidth; |
| 39 | + |
| 40 | + private String lineType; |
| 41 | + |
| 42 | + private String ownerAccount; |
| 43 | + |
| 44 | + private String constructionTime; |
| 45 | + |
| 46 | + private Long ownerId; |
| 47 | + |
| 48 | + private String instanceId; |
| 49 | + |
| 50 | + private String companyName; |
| 51 | + |
| 52 | + private String si; |
| 53 | + |
| 54 | + private List<PMInfo> pMInfos; |
| 55 | + |
| 56 | + public Long getResourceOwnerId() { |
| 57 | + return this.resourceOwnerId; |
| 58 | + } |
| 59 | + |
| 60 | + public void setResourceOwnerId(Long resourceOwnerId) { |
| 61 | + this.resourceOwnerId = resourceOwnerId; |
| 62 | + if(resourceOwnerId != null){ |
| 63 | + putQueryParameter("ResourceOwnerId", resourceOwnerId.toString()); |
| 64 | + } |
| 65 | + } |
| 66 | + |
| 67 | + public String getPeerLocation() { |
| 68 | + return this.peerLocation; |
| 69 | + } |
| 70 | + |
| 71 | + public void setPeerLocation(String peerLocation) { |
| 72 | + this.peerLocation = peerLocation; |
| 73 | + if(peerLocation != null){ |
| 74 | + putQueryParameter("PeerLocation", peerLocation); |
| 75 | + } |
| 76 | + } |
| 77 | + |
| 78 | + public String getClientToken() { |
| 79 | + return this.clientToken; |
| 80 | + } |
| 81 | + |
| 82 | + public void setClientToken(String clientToken) { |
| 83 | + this.clientToken = clientToken; |
| 84 | + if(clientToken != null){ |
| 85 | + putQueryParameter("ClientToken", clientToken); |
| 86 | + } |
| 87 | + } |
| 88 | + |
| 89 | + public String getResourceOwnerAccount() { |
| 90 | + return this.resourceOwnerAccount; |
| 91 | + } |
| 92 | + |
| 93 | + public void setResourceOwnerAccount(String resourceOwnerAccount) { |
| 94 | + this.resourceOwnerAccount = resourceOwnerAccount; |
| 95 | + if(resourceOwnerAccount != null){ |
| 96 | + putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount); |
| 97 | + } |
| 98 | + } |
| 99 | + |
| 100 | + public Integer getBandwidth() { |
| 101 | + return this.bandwidth; |
| 102 | + } |
| 103 | + |
| 104 | + public void setBandwidth(Integer bandwidth) { |
| 105 | + this.bandwidth = bandwidth; |
| 106 | + if(bandwidth != null){ |
| 107 | + putQueryParameter("Bandwidth", bandwidth.toString()); |
| 108 | + } |
| 109 | + } |
| 110 | + |
| 111 | + public String getLineType() { |
| 112 | + return this.lineType; |
| 113 | + } |
| 114 | + |
| 115 | + public void setLineType(String lineType) { |
| 116 | + this.lineType = lineType; |
| 117 | + if(lineType != null){ |
| 118 | + putQueryParameter("LineType", lineType); |
| 119 | + } |
| 120 | + } |
| 121 | + |
| 122 | + public String getOwnerAccount() { |
| 123 | + return this.ownerAccount; |
| 124 | + } |
| 125 | + |
| 126 | + public void setOwnerAccount(String ownerAccount) { |
| 127 | + this.ownerAccount = ownerAccount; |
| 128 | + if(ownerAccount != null){ |
| 129 | + putQueryParameter("OwnerAccount", ownerAccount); |
| 130 | + } |
| 131 | + } |
| 132 | + |
| 133 | + public String getConstructionTime() { |
| 134 | + return this.constructionTime; |
| 135 | + } |
| 136 | + |
| 137 | + public void setConstructionTime(String constructionTime) { |
| 138 | + this.constructionTime = constructionTime; |
| 139 | + if(constructionTime != null){ |
| 140 | + putQueryParameter("ConstructionTime", constructionTime); |
| 141 | + } |
| 142 | + } |
| 143 | + |
| 144 | + public Long getOwnerId() { |
| 145 | + return this.ownerId; |
| 146 | + } |
| 147 | + |
| 148 | + public void setOwnerId(Long ownerId) { |
| 149 | + this.ownerId = ownerId; |
| 150 | + if(ownerId != null){ |
| 151 | + putQueryParameter("OwnerId", ownerId.toString()); |
| 152 | + } |
| 153 | + } |
| 154 | + |
| 155 | + public String getInstanceId() { |
| 156 | + return this.instanceId; |
| 157 | + } |
| 158 | + |
| 159 | + public void setInstanceId(String instanceId) { |
| 160 | + this.instanceId = instanceId; |
| 161 | + if(instanceId != null){ |
| 162 | + putQueryParameter("InstanceId", instanceId); |
| 163 | + } |
| 164 | + } |
| 165 | + |
| 166 | + public String getCompanyName() { |
| 167 | + return this.companyName; |
| 168 | + } |
| 169 | + |
| 170 | + public void setCompanyName(String companyName) { |
| 171 | + this.companyName = companyName; |
| 172 | + if(companyName != null){ |
| 173 | + putQueryParameter("CompanyName", companyName); |
| 174 | + } |
| 175 | + } |
| 176 | + |
| 177 | + public String getSi() { |
| 178 | + return this.si; |
| 179 | + } |
| 180 | + |
| 181 | + public void setSi(String si) { |
| 182 | + this.si = si; |
| 183 | + if(si != null){ |
| 184 | + putQueryParameter("Si", si); |
| 185 | + } |
| 186 | + } |
| 187 | + |
| 188 | + public List<PMInfo> getPMInfos() { |
| 189 | + return this.pMInfos; |
| 190 | + } |
| 191 | + |
| 192 | + public void setPMInfos(List<PMInfo> pMInfos) { |
| 193 | + this.pMInfos = pMInfos; |
| 194 | + if (pMInfos != null) { |
| 195 | + for (int depth1 = 0; depth1 < pMInfos.size(); depth1++) { |
| 196 | + putQueryParameter("PMInfo." + (depth1 + 1) + ".PMCertificateNo" , pMInfos.get(depth1).getPMCertificateNo()); |
| 197 | + putQueryParameter("PMInfo." + (depth1 + 1) + ".PMName" , pMInfos.get(depth1).getPMName()); |
| 198 | + putQueryParameter("PMInfo." + (depth1 + 1) + ".PMCertificateType" , pMInfos.get(depth1).getPMCertificateType()); |
| 199 | + putQueryParameter("PMInfo." + (depth1 + 1) + ".PMContactInfo" , pMInfos.get(depth1).getPMContactInfo()); |
| 200 | + putQueryParameter("PMInfo." + (depth1 + 1) + ".PMGender" , pMInfos.get(depth1).getPMGender()); |
| 201 | + } |
| 202 | + } |
| 203 | + } |
| 204 | + |
| 205 | + public static class PMInfo { |
| 206 | + |
| 207 | + private String pMCertificateNo; |
| 208 | + |
| 209 | + private String pMName; |
| 210 | + |
| 211 | + private String pMCertificateType; |
| 212 | + |
| 213 | + private String pMContactInfo; |
| 214 | + |
| 215 | + private String pMGender; |
| 216 | + |
| 217 | + public String getPMCertificateNo() { |
| 218 | + return this.pMCertificateNo; |
| 219 | + } |
| 220 | + |
| 221 | + public void setPMCertificateNo(String pMCertificateNo) { |
| 222 | + this.pMCertificateNo = pMCertificateNo; |
| 223 | + } |
| 224 | + |
| 225 | + public String getPMName() { |
| 226 | + return this.pMName; |
| 227 | + } |
| 228 | + |
| 229 | + public void setPMName(String pMName) { |
| 230 | + this.pMName = pMName; |
| 231 | + } |
| 232 | + |
| 233 | + public String getPMCertificateType() { |
| 234 | + return this.pMCertificateType; |
| 235 | + } |
| 236 | + |
| 237 | + public void setPMCertificateType(String pMCertificateType) { |
| 238 | + this.pMCertificateType = pMCertificateType; |
| 239 | + } |
| 240 | + |
| 241 | + public String getPMContactInfo() { |
| 242 | + return this.pMContactInfo; |
| 243 | + } |
| 244 | + |
| 245 | + public void setPMContactInfo(String pMContactInfo) { |
| 246 | + this.pMContactInfo = pMContactInfo; |
| 247 | + } |
| 248 | + |
| 249 | + public String getPMGender() { |
| 250 | + return this.pMGender; |
| 251 | + } |
| 252 | + |
| 253 | + public void setPMGender(String pMGender) { |
| 254 | + this.pMGender = pMGender; |
| 255 | + } |
| 256 | + } |
| 257 | + |
| 258 | + @Override |
| 259 | + public Class<ApplyPhysicalConnectionLOAResponse> getResponseClass() { |
| 260 | + return ApplyPhysicalConnectionLOAResponse.class; |
| 261 | + } |
| 262 | + |
| 263 | +} |
0 commit comments